Issue Details (XML | Word | Printable)

Key: PCC-8
Type: Improvement Improvement
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: Anders Magnusson
Reporter: Gregory McGarry
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
pcc

pcc won't compile without PCC_DEBUG defined

Created: 01/Dec/08 08:15 AM   Updated: 03/May/14 11:58 AM
Component/s: pcc backend
Affects Version/s: None
Fix Version/s: None

File Attachments: 1. File PCC_DEBUG.diff (3 kB)



 Description  « Hide
>cl /Feccom.exe -DWIN32 -DMSLINKER -DTARGO
S=win32 -Dos_win32 -Dmach_i386 -DLIBEXECDIR="" /MD /I..\..\cc\ccom /I..\..\os\wi
n32 /I..\..\arch\i386 /I..\..\mip ..\..\cc\ccom\main.c ..\..\mip\compat.c scan.c
 cgram.c external.c ..\..\cc\ccom\optim.c ..\..\cc\ccom\pftn.c ..\..\cc\ccom\tre
es.c ..\..\cc\ccom\inline.c ..\..\cc\ccom\symtabs.c ..\..\cc\ccom\gcc_compat.c .
.\..\cc\ccom\init.c ..\..\arch\i386\local.c ..\..\arch\i386\code.c ..\..\cc\ccom
\stabs.c ..\..\mip\match.c ..\..\mip\reader.c ..\..\mip\optim2.c ..\..\mip\regs.
c ..\..\arch\i386\local2.c ..\..\arch\i386\order.c ..\..\arch\i386\table.c ..\..
\mip\common.c "C:\Program Files\UnxUtils\lib\libfl.lib"
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 14.00.50727.762 for 80x86

Copyright (C) Microsoft Corporation. All rights reserved.

main.c
compat.c
scan.c
cgram.c
cgram.c(1386) : warning C4047: '=' : 'NODE *' differs in levels of indirection f
rom 'int'
cgram.c(1389) : warning C4047: '=' : 'NODE *' differs in levels of indirection f
rom 'int'
external.c
optim.c
pftn.c
trees.c
inline.c
symtabs.c
gcc_compat.c
init.c
local.c
..\..\arch\i386\local.c(1427) : warning C4113: 'void (__cdecl *)(NODE *)' differ
s in parameter lists from 'void (__cdecl *)(NODE *,void *)'
..\..\arch\i386\local.c(1427) : error C2198: 'walkf' : too few arguments for cal
l
code.c
stabs.c
match.c
reader.c
optim2.c
..\..\mip\optim2.c(812) : warning C4116: unnamed type definition in parentheses
regs.c
..\..\mip\regs.c(830) : error C2039: 'nodnum' : is not a member of 'regw'
        ..\..\mip\regs.c(121) : see declaration of 'regw'
..\..\mip\regs.c(831) : error C2039: 'nodnum' : is not a member of 'regw'
        ..\..\mip\regs.c(121) : see declaration of 'regw'
..\..\mip\regs.c(831) : error C2039: 'nodnum' : is not a member of 'regw'
        ..\..\mip\regs.c(121) : see declaration of 'regw'
..\..\mip\regs.c(838) : error C2039: 'nodnum' : is not a member of 'regw'
        ..\..\mip\regs.c(121) : see declaration of 'regw'
..\..\mip\regs.c(839) : error C2039: 'nodnum' : is not a member of 'regw'
        ..\..\mip\regs.c(121) : see declaration of 'regw'
..\..\mip\regs.c(839) : error C2039: 'nodnum' : is not a member of 'regw'
        ..\..\mip\regs.c(121) : see declaration of 'regw'
..\..\mip\regs.c(869) : error C2039: 'nodnum' : is not a member of 'regw'
        ..\..\mip\regs.c(121) : see declaration of 'regw'
..\..\mip\regs.c(870) : error C2039: 'nodnum' : is not a member of 'regw'
        ..\..\mip\regs.c(121) : see declaration of 'regw'
..\..\mip\regs.c(870) : error C2039: 'nodnum' : is not a member of 'regw'
        ..\..\mip\regs.c(121) : see declaration of 'regw'
local2.c
Generating Code...
Compiling...
order.c
table.c
common.c
Generating Code...


 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Anders Magnusson added a comment - 01/Dec/08 03:35 PM
This is because nodnum is used in the register allocator. Parts of the allocator must be rewritten to speed things up and this will be fixed at the same time.

Iain Hibbert added a comment - 22/Apr/10 10:23 AM
the attached PCC_DEBUG.diff file provides some #ifdefs that enable ccom to compile without PCC_DEBUG

Anders Magnusson added a comment - 03/May/14 11:58 AM
Fixed (at last! :-)