[Bug c++/17431] [3.4/4.0 regression] Internal error: Segmentation fault (program cc1plus)

reichelt at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sun Sep 12 10:16:00 GMT 2004


------- Additional Comments From reichelt at gcc dot gnu dot org  2004-09-12 10:16 -------
The code compiles fine with gcc 3.3.4 using about 50 MB without
optimization and 100 MB with -O3.
After adding a missing typename the code also compiles with gcc 3.4.0,
using about 100 MB with -O3.
It crashes however with gcc 3.4.1, 3.4.2 and mainline -
consuming more than 1.5 GB even with -O0 before the crash.
Given the speed of the memory allocation this looks like
an infinite loop in the compiler.

It's a regression on the 3.4 branch.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mark at codesourcery dot
                   |                            |com, reichelt at gcc dot gnu
                   |                            |dot org
           Severity|normal                      |critical
           Keywords|                            |ice-on-valid-code
      Known to fail|                            |3.4.1 3.4.2
      Known to work|                            |3.3.4 3.4.0
           Priority|P2                          |P1
            Summary|Internal error: Segmentation|[3.4/4.0 regression]
                   |fault (program cc1plus)     |Internal error: Segmentation
                   |                            |fault (program cc1plus)
   Target Milestone|---                         |3.4.4


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



More information about the Gcc-bugs mailing list