public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [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
@ 2010-10-21  7:35 zsojka at seznam dot cz
  2010-10-21  9:35 ` [Bug tree-optimization/46111] " rguenth at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: zsojka at seznam dot cz @ 2010-10-21  7:35 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug tree-optimization/46111] [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
  2010-10-21  7:35 [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 zsojka at seznam dot cz
@ 2010-10-21  9:35 ` rguenth at gcc dot gnu.org
  2010-10-21 10:39 ` rguenth at gcc dot gnu.org
  2010-10-21 10:40 ` rguenth at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: rguenth at gcc dot gnu.org @ 2010-10-21  9:35 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2010.10.21 09:35:45
         AssignedTo|unassigned at gcc dot       |rguenth at gcc dot gnu.org
                   |gnu.org                     |
   Target Milestone|---                         |4.6.0
     Ever Confirmed|0                           |1

--- Comment #1 from Richard Guenther <rguenth at gcc dot gnu.org> 2010-10-21 09:35:45 UTC ---
Mine.  It's also a -g vs. -g0 problem btw, but that's a different story.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug tree-optimization/46111] [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
  2010-10-21  7:35 [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 zsojka at seznam dot cz
  2010-10-21  9:35 ` [Bug tree-optimization/46111] " rguenth at gcc dot gnu.org
@ 2010-10-21 10:39 ` rguenth at gcc dot gnu.org
  2010-10-21 10:40 ` rguenth at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: rguenth at gcc dot gnu.org @ 2010-10-21 10:39 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Richard Guenther <rguenth at gcc dot gnu.org> 2010-10-21 10:38:55 UTC ---
Author: rguenth
Date: Thu Oct 21 10:38:51 2010
New Revision: 165765

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=165765
Log:
2010-10-21  Richard Guenther  <rguenther@suse.de>

    PR tree-optimization/46111
    * tree-parloops.c (take_address_of): Re-organize for MEM_REF.

    * g++.dg/torture/pr46111.C: New testcase.

Added:
    trunk/gcc/testsuite/g++.dg/torture/pr46111.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-parloops.c


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug tree-optimization/46111] [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
  2010-10-21  7:35 [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 zsojka at seznam dot cz
  2010-10-21  9:35 ` [Bug tree-optimization/46111] " rguenth at gcc dot gnu.org
  2010-10-21 10:39 ` rguenth at gcc dot gnu.org
@ 2010-10-21 10:40 ` rguenth at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: rguenth at gcc dot gnu.org @ 2010-10-21 10:40 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED

--- Comment #3 from Richard Guenther <rguenth at gcc dot gnu.org> 2010-10-21 10:39:52 UTC ---
Fixed.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-10-21 10:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-21  7:35 [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 zsojka at seznam dot cz
2010-10-21  9:35 ` [Bug tree-optimization/46111] " rguenth at gcc dot gnu.org
2010-10-21 10:39 ` rguenth at gcc dot gnu.org
2010-10-21 10:40 ` rguenth at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).