public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/41961]  New: Internal error with -O3 and -ftree-parallelize-loops
@ 2009-11-06  4:34 alexey dot salmin at gmail dot com
  2009-11-06  4:38 ` [Bug c++/41961] " alexey dot salmin at gmail dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: alexey dot salmin at gmail dot com @ 2009-11-06  4:34 UTC (permalink / raw)
  To: gcc-bugs

Hello! I've encountered internal compiler error which affects the whole 4.3
branch (source from vlc):
It fails with 4.3.3, 4.3.4 and 4.3-branch taken from svn (i didn't try 4.3.2).
It works ok with 4.4 branch and latest trunk.

salmin@salmin:~/gccbug$ ../systemroot/bin/g++4.3-branch -v -save-temps -O3
-ftree-parallelize-loops=2 AtmoZoneDefinition_cpped.cpp
Using built-in specs.
Target: x86_64-unknown-linux-gnu
Configured with: ./configure : (reconfigured) ./configure
--prefix=/home/salmin/systemroot --program-suffix=4.3-branch
--enable-languages=c,c++
Thread model: posix
gcc version 4.3.5 20091105 (prerelease) (GCC)
COLLECT_GCC_OPTIONS='-v' '-save-temps' '-O3' '-ftree-parallelize-loops=2'
'-shared-libgcc' '-mtune=generic' '-pthread'
 /home/salmin/systemroot/libexec/gcc/x86_64-unknown-linux-gnu/4.3.5/cc1plus -E
-quiet -v -D_GNU_SOURCE -D_REENTRANT AtmoZoneDefinition_cpped.cpp
-mtune=generic -ftree-parallelize-loops=2 -O3 -fpch-preprocess -o
AtmoZoneDefinition_cpped.ii
ignoring nonexistent directory
"/home/salmin/systemroot/lib/gcc/x86_64-unknown-linux-gnu/4.3.5/../../../../x86_64-unknown-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:

/home/salmin/systemroot/lib/gcc/x86_64-unknown-linux-gnu/4.3.5/../../../../include/c++/4.3.5

/home/salmin/systemroot/lib/gcc/x86_64-unknown-linux-gnu/4.3.5/../../../../include/c++/4.3.5/x86_64-unknown-linux-gnu

/home/salmin/systemroot/lib/gcc/x86_64-unknown-linux-gnu/4.3.5/../../../../include/c++/4.3.5/backward
 /usr/local/include
 /home/salmin/systemroot/include
 /home/salmin/systemroot/lib/gcc/x86_64-unknown-linux-gnu/4.3.5/include
 /home/salmin/systemroot/lib/gcc/x86_64-unknown-linux-gnu/4.3.5/include-fixed
 /usr/include
End of search list.
COLLECT_GCC_OPTIONS='-v' '-save-temps' '-O3' '-ftree-parallelize-loops=2'
'-shared-libgcc' '-mtune=generic' '-pthread'
 /home/salmin/systemroot/libexec/gcc/x86_64-unknown-linux-gnu/4.3.5/cc1plus
-fpreprocessed AtmoZoneDefinition_cpped.ii -quiet -dumpbase
AtmoZoneDefinition_cpped.cpp -mtune=generic -auxbase AtmoZoneDefinition_cpped
-O3 -version -ftree-parallelize-loops=2 -o AtmoZoneDefinition_cpped.s
GNU C++ (GCC) version 4.3.5 20091105 (prerelease) (x86_64-unknown-linux-gnu)
        compiled by GNU C version 4.3.5 20091105 (prerelease), GMP version
4.3.1, MPFR version 2.4.1-p2.
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: 75c935b73fe74f5f276e5cfd3e1d84c4
AtmoZoneDefinition.cpp: In member function 'void
CAtmoZoneDefinition::Fill(unsigned char)':
AtmoZoneDefinition.cpp:22: internal compiler error: in get_smt_for, at
tree-ssa-alias.c:3310
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.


Removing either -O3 or -ftree-parallelize-loops avoids the crash.
You can find the preprocessed source file here:
http://crocodile.iis.nsk.su/~salmin/AtmoZoneDefinition_cpped.cpp
I can try to reduce it if necessary.


-- 
           Summary: Internal error with -O3 and -ftree-parallelize-loops
           Product: gcc
           Version: 4.3.5
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: alexey dot salmin at gmail dot com
 GCC build triplet: Debian, x86_64
  GCC host triplet: Debian, x86_64
GCC target triplet: Debian, x86_64


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41961


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-12-11 23:39 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-06  4:34 [Bug c++/41961] New: Internal error with -O3 and -ftree-parallelize-loops alexey dot salmin at gmail dot com
2009-11-06  4:38 ` [Bug c++/41961] " alexey dot salmin at gmail dot com
2009-11-06 10:08 ` rguenth at gcc dot gnu dot org
2009-11-29 23:04 ` reichelt at gcc dot gnu dot org
2009-11-30  1:12 ` hjl at gcc dot gnu dot org
2009-12-11 23:41 ` hjl at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).