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

           Summary: [4.6 Regression] ICE: tree check: expected tree that
                    contains 'decl minimal' structure, have 'mem_ref' in
                    take_address_of, at tree-parloops.c:336 with
                    -ftree-parallelize-loops -g
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: zso...@seznam.cz


Created attachment 22103
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22103
reduced testcase

Compiler output:
$ gcc -O -ftree-parallelize-loops=2 -g pr46111.C
pr46111.C: In function 'void foo(int)':
pr46111.C:25:1: internal compiler error: tree check: expected tree that
contains 'decl minimal' structure, have 'mem_ref' in take_address_of, at
tree-parloops.c:336
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

Tested revisions:
r165740 - crash
r161659 - crash
r159696 - OK
4.5 r163761 - OK

Reply via email to