------- Comment #8 from ami_stuff at o2 dot pl 2009-08-17 19:33 ------- (In reply to comment #7) > The problem is not with "-funswitch-loops" optimization. > > I get no ICE with these options (-O2 -fipa-cp-clone -finline-functions > -fgcse-after-reload -ftree-vectorize -fpredictive-commoning): > > OPTFLAGS= -mnobitfield -m68060 -std=c99 -Wdeclaration-after-statement > -Wdisabled-optimization -fno-math-errno -D_ISOC99_SOURCE > -D_POSIX_C_SOURCE=200112 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE > -fno-common > -fomit-frame-pointer -Wall -Wno-switch -Wpointer-arith -Wredundant-decls > -Wcast-qual -Wwrite-strings -Wundef -O2 -fipa-cp-clone -finline-functions > -fgcse-after-reload -ftree-vectorize -fpredictive-commoning > > I get ICE with -O3: > > OPTFLAGS= -mnobitfield -m68060 -std=c99 -Wdeclaration-after-statement > -Wdisabled-optimization -fno-math-errno -D_ISOC99_SOURCE > -D_POSIX_C_SOURCE=200112 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE > -fno-common > -fomit-frame-pointer -Wall -Wno-switch -Wpointer-arith -Wredundant-decls > -Wcast-qual -Wwrite-strings -Wundef -O3 > > Also, ICE happens ONLY with -m68060 flag! When I use "-m68020 -m6881" or > -m68040 there is no ICE! >
Sorry, I forgot to add "-funswitch-loops" option, so again: The problem is not with "-funswitch-loops" optimization. I get no ICE with these options (-O2 -fipa-cp-clone -finline-functions -fgcse-after-reload -ftree-vectorize -fpredictive-commoning -funswitch-loops): OPTFLAGS= -mnobitfield -m68060 -std=c99 -Wdeclaration-after-statement -Wdisabled-optimization -fno-math-errno -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fno-common -fomit-frame-pointer -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -Wcast-qual -Wwrite-strings -Wundef -O2 -fipa-cp-clone -finline-functions -fgcse-after-reload -ftree-vectorize -fpredictive-commoning -funswitch-loops I get ICE with -O3: OPTFLAGS= -mnobitfield -m68060 -std=c99 -Wdeclaration-after-statement -Wdisabled-optimization -fno-math-errno -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fno-common -fomit-frame-pointer -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -Wcast-qual -Wwrite-strings -Wundef -O3 Also, ICE happens ONLY with -m68060 flag! When I use "-m68020 -m6881" or -m68040 there is no ICE! -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40414