[Bug tree-optimization/43070] New: [4.5 Regression] g++.dg/ext/label2.C fails to compile at -O1

zsojka at seznam dot cz gcc-bugzilla@gcc.gnu.org
Mon Feb 15 01:11:00 GMT 2010


Command line:
g++ -O1 label2.C

Tested revisions:
r156745 - crash
r155966 - crash
r153685 - crash
4.4 r156256 - OK

Output with checking:
$ /mnt/svn/gcc-trunk/binary-156745-lto/bin/g++ -O1
/mnt/svn/gcc-trunk/gcc/testsuite/g++.dg/ext/label2.C
/mnt/svn/gcc-trunk/gcc/testsuite/g++.dg/ext/label2.C: In function ‘void
f() [with T = int]’:
/mnt/svn/gcc-trunk/gcc/testsuite/g++.dg/ext/label2.C:11:23: error: address
taken, but ADDRESSABLE bit not set
p
cc1plus: note: in statement
goto &p;

/mnt/svn/gcc-trunk/gcc/testsuite/g++.dg/ext/label2.C:11:23: internal compiler
error: verify_stmts failed
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

Output with release checking:
$ /mnt/svn/gcc-trunk/binary-155966-lto-checking-release/bin/g++ -O1
/mnt/svn/gcc-trunk/gcc/testsuite/g++.dg/ext/label2.C
/mnt/svn/gcc-trunk/gcc/testsuite/g++.dg/ext/label2.C: In function ‘void
f() [with T = int]’:
/mnt/svn/gcc-trunk/gcc/testsuite/g++.dg/ext/label2.C:4:6: internal compiler
error: in expand_expr_addr_expr_1, at expr.c:6895
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.


-- 
           Summary: [4.5 Regression] g++.dg/ext/label2.C fails to compile at
                    -O1
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: zsojka at seznam dot cz
  GCC host triplet: x86_64-pc-linux-gnu
GCC target triplet: x86_64-pc-linux-gnu


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



More information about the Gcc-bugs mailing list