[Bug regression/24709] New: 4.1.0 HEAD crashes with enable-checking on huge switch statement

rschiele at uni-mannheim dot de gcc-bugzilla@gcc.gnu.org
Mon Nov 7 14:21:00 GMT 2005


When running "g++ -O1 -c t3.cc" on the attached preprocessed C++ source file
with 4.1.0 HEAD as of 2005-11-07 with enable-checking I get the error message
as attached.

The problem does neither happen with diable-checking nor with -O0. It does
happen with enable-checking and all optimization levels greater or equal -O1.

Switching all optimizations manually on that are mentioned within the info page
as -O1 optimizations doesn't trigger the problem as well but running with -O1
and then switching all optimizations off that are mentioned for -O1 in the info
page does still trigger the problem thus the cause of the problem must be
something that -O1 switches on but not the things mentioned in the info page.


-- 
           Summary: 4.1.0 HEAD crashes with enable-checking on huge switch
                    statement
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: regression
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: rschiele at uni-mannheim dot de
 GCC build triplet: i586-suse-linux
  GCC host triplet: i586-suse-linux
GCC target triplet: i586-suse-linux


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



More information about the Gcc-bugs mailing list