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



             Bug #: 54824

           Summary: [4.8 Regression] ICE in verify_loop_structure with LTO

    Classification: Unclassified

           Product: gcc

           Version: 4.8.0

            Status: UNCONFIRMED

          Severity: normal

          Priority: P3

         Component: lto

        AssignedTo: unassig...@gcc.gnu.org

        ReportedBy: d.g.gorbac...@gmail.com





Created attachment 28361

  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28361

Backtrace



GCC 4.8.0 20120930 (experimental).



Compile the attached files with "gcc -O -flto foo.c bar.c".



In file included from foo.c:1:0,

                 from :1:

bar.c: In function 'bar':

bar.c:25:1: error: loop 1's latch does not belong directly to it

 }

 ^

bar.c:25:1: internal compiler error: in verify_loop_structure, at

cfgloop.c:1582

Please submit a full bug report,

with preprocessed source if appropriate.

See <http://gcc.gnu.org/bugs.html> for instructions.



No ICE with "gcc -O -flto -fwhole-program foo.c bar.c".

Reply via email to