This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Problems with loop unroller and gcse in 3.3?
- From: Richard Guenther <rguenth at tat dot physik dot uni-tuebingen dot de>
- To: gcc at gcc dot gnu dot org
- Date: Fri, 19 Sep 2003 15:19:13 +0200 (CEST)
- Subject: Problems with loop unroller and gcse in 3.3?
Hi!
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/libc.so.6
(gdb) bt
#0 0x40182cb3 in chunk_free () from /lib/libc.so.6
#1 0x40182c53 in free () from /lib/libc.so.6
#2 0x4006a353 in operator delete(void*) (ptr=0xc0560000)
at /home/rguenth/src/gcc/gcc3.3/libstdc++-v3/libsupc++/del_op.cc:39
#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/libc.so.6
exceptions are disabled.
Any ideas? (I'm trying to produce a standalone testcase and check more
recent 3.3 CVS)
Richard.
--
Richard Guenther <richard dot guenther at uni-tuebingen dot de>
WWW: http://www.tat.physik.uni-tuebingen.de/~rguenth/