This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/46111] New: [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
- From: "zsojka at seznam dot cz" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 21 Oct 2010 07:34:56 +0000
- Subject: [Bug tree-optimization/46111] New: [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
- Auto-submitted: auto-generated
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: unassigned@gcc.gnu.org
ReportedBy: zsojka@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