This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Problems with loop unroller and gcse in 3.3?


Are there any known issues with the loop unroller and gcse in 3.3 from
g++-3.3 (GCC) 3.3.2 20030908 (prerelease)?

I have a POOMA C++ testcase that segfaults with -O2 -funroll-loops, but
doesnt with -O2 -funroll-loops -fno-gcse (also removing -funroll-loops
fixes the testcase). The segfault looks like

Program received signal SIGSEGV, Segmentation fault.
0x40182cb3 in chunk_free () from /lib/
(gdb) bt
#0  0x40182cb3 in chunk_free () from /lib/
#1  0x40182c53 in free () from /lib/
#2  0x4006a353 in operator delete(void*) (ptr=0xc0560000)
    at /home/rguenth/src/gcc/gcc3.3/libstdc++-v3/libsupc++/
#3  0x0804f397 in ~Engine (this=0xbfffeb94)
    at /home/rguenth/src/pooma-bugfixes/r2/src/Engine/BrickEngine.cpp:145
#4  0x0804af13 in main (argc=1, argv=0xbfffec94)
    at /home/rguenth/src/pooma-bugfixes/r2/src/Domain/DomainBase.h:185
#5  0x4012b9ed in __libc_start_main () from /lib/

exceptions are disabled.

Any ideas? (I'm trying to produce a standalone testcase and check more
recent 3.3 CVS)


Richard Guenther <richard dot guenther at uni-tuebingen dot de>

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]