c/7657: gcc.2.95.2 -O2 (for alpha) loops endless in java/parse.c

wharms@bfs.de wharms@bfs.de
Tue Aug 20 09:06:00 GMT 2002


>Number:         7657
>Category:       c
>Synopsis:       gcc.2.95.2 -O2 (for alpha)  loops endless in java/parse.c
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Aug 20 09:06:05 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     wharms@bfs.de
>Release:        unknown-1.0
>Organization:
>Environment:
linux.2.2.12
gcc version 2.95.2 
compiling gcc-3.2
>Description:
gcc2.95 has a problem with java/parse.c
compiling with option -O2 causes cc1 to loop.
removing -O2 solved the problem (for me)
/* original */
gcc -c -DIN_GCC    -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing
-prototypes   -DHAVE_CONFIG_H    -I. -Ijava -I. -I./java -I./config -I./../inclu
de java/parse.c -o java/parse.o
>How-To-Repeat:

>Fix:
remove the -O2 for parse.o in the makefile
maybe somebody can patch 2.95 because the version is often
used.
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the Gcc-bugs mailing list