Propable optimizator bug in gcc2952

Mikko Lehtonen scorpion@sgic.fi
Thu Feb 24 09:43:00 GMT 2000


    Hello,

I noticed, coding some of my code, when I typoed one line, it gave me
internal error.

I use the djgpp version of gcc2952

I compiled the code with this
gcc -O3 buggy.c -o buggy.exe
I traced that the bug doesn't occure in -O2, or anything lower, so only
-O3 and 
higher should be considered the bug risk. (I generally use -O9)
the error was:
--snipp--
gcc -O3 -c bug.c
bug.c: In function `main':
bug.c:28: parse error before `;'
bug.c: In function `trash':
bug.c:31: Internal compiler error in `find_pool_constant', at
varasm.c:3571
Please submit a full bug report.
See <URL: http://www.gnu.org/software/gcc/faq.html#bugreport > for
instructions.
make.exe: *** [bug.o] Error 1
--snipp--

the pkzipped file includes the 'bug.c' the 'makefile' and the files
produced by 
gcc -v --save-temps -O3 bug.c
the standard output of this command is in file 'output'
the typo was one bracket '(' ')' too much or too less, how ever you want
it..

 I hope I was any help,
Mikko Lehtonen



-------------- next part --------------
A non-text attachment was scrubbed...
Name: bug.zip
Type: application/zip
Size: 5138 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/20000224/7edb55f5/attachment.zip>


More information about the Gcc-bugs mailing list