Command line:
$ g++ -O2 -fprofile-generate testcase.C

Compiler output:
$ g++ -O2 -fprofile-generate testcase.C
testcase.C: In function 'B bar(B)':
testcase.C:16:1: internal compiler error: in tree_nrv, at tree-nrv.c:155
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

Tested revisions:
r161428 - crash
r161383 - crash
r161170 - OK


-- 
           Summary: [4.6 Regression] ICE: in tree_nrv, at tree-nrv.c:155
                    with -fprofile-generate
           Product: gcc
           Version: 4.6.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=44687

Reply via email to