public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/45109]  New: ICE: in get_constraint_for_component_ref, at tree-ssa-structalias.c:2932
@ 2010-07-28 17:08 jipeng at broadcom dot com
  2010-07-28 17:10 ` [Bug tree-optimization/45109] " jipeng at broadcom dot com
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: jipeng at broadcom dot com @ 2010-07-28 17:08 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1100 bytes --]

This is similar to PR44946 that was fixed in gcc-4.6pre

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

Command line:

mipsel-linux-gcc test.c -c -o test.o -O2

Output:

test.c: In function ‘o_plist_deserialize_xml’:
test.c:34: internal compiler error: tree check: expected class ‘expression’,
have ‘declaration’ (function_decl) in get_constraint_for_component_ref, at
tree-ssa-structalias.c:2932
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

Tested revision:

4.4.* - fail
4.5.0 - OK


-- 
           Summary: ICE: in get_constraint_for_component_ref, at tree-ssa-
                    structalias.c:2932
           Product: gcc
           Version: 4.4.5
            Status: UNCONFIRMED
          Severity: major
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jipeng at broadcom dot com
  GCC host triplet: x86_64-pc-linux-gnu
GCC target triplet: mipsel-linux-uclibc


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


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

* [Bug tree-optimization/45109] ICE: in get_constraint_for_component_ref, at tree-ssa-structalias.c:2932
  2010-07-28 17:08 [Bug tree-optimization/45109] New: ICE: in get_constraint_for_component_ref, at tree-ssa-structalias.c:2932 jipeng at broadcom dot com
@ 2010-07-28 17:10 ` jipeng at broadcom dot com
  2010-07-28 19:05 ` mikpe at it dot uu dot se
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: jipeng at broadcom dot com @ 2010-07-28 17:10 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from jipeng at broadcom dot com  2010-07-28 17:09 -------
Created an attachment (id=21340)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21340&action=view)
testing case


-- 


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


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

* [Bug tree-optimization/45109] ICE: in get_constraint_for_component_ref, at tree-ssa-structalias.c:2932
  2010-07-28 17:08 [Bug tree-optimization/45109] New: ICE: in get_constraint_for_component_ref, at tree-ssa-structalias.c:2932 jipeng at broadcom dot com
  2010-07-28 17:10 ` [Bug tree-optimization/45109] " jipeng at broadcom dot com
@ 2010-07-28 19:05 ` mikpe at it dot uu dot se
  2010-07-28 19:36 ` [Bug tree-optimization/45109] [4.4 Regression] " rguenth at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: mikpe at it dot uu dot se @ 2010-07-28 19:05 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from mikpe at it dot uu dot se  2010-07-28 19:05 -------
Not just MIPS, I get this ICE with gcc-4.4 on arm, powerpc64, and sparc64.  On
i686 a native gcc-4.4 doesn't ICE but a cross to arm does.  gcc-4.5 doesn't
ICE.


-- 

mikpe at it dot uu dot se changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mikpe at it dot uu dot se


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


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

* [Bug tree-optimization/45109] [4.4 Regression] ICE: in get_constraint_for_component_ref, at tree-ssa-structalias.c:2932
  2010-07-28 17:08 [Bug tree-optimization/45109] New: ICE: in get_constraint_for_component_ref, at tree-ssa-structalias.c:2932 jipeng at broadcom dot com
  2010-07-28 17:10 ` [Bug tree-optimization/45109] " jipeng at broadcom dot com
  2010-07-28 19:05 ` mikpe at it dot uu dot se
@ 2010-07-28 19:36 ` rguenth at gcc dot gnu dot org
  2010-08-08 15:45 ` rguenth at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-07-28 19:36 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from rguenth at gcc dot gnu dot org  2010-07-28 19:36 -------
Confirmed on x86_64-linux.  Not similar to PR44946, but I fixed a similar bug
on the mem-ref branch.

Thus, mine.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |rguenth at gcc dot gnu dot
                   |dot org                     |org
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|0                           |1
 GCC target triplet|mipsel-linux-uclibc         |mipsel-linux-uclibc, x86_64-
                   |                            |*-*
      Known to work|                            |4.3.4
   Last reconfirmed|0000-00-00 00:00:00         |2010-07-28 19:36:29
               date|                            |
            Summary|ICE: in                     |[4.4 Regression] ICE: in
                   |get_constraint_for_component|get_constraint_for_component
                   |_ref, at tree-ssa-          |_ref, at tree-ssa-
                   |structalias.c:2932          |structalias.c:2932
   Target Milestone|---                         |4.4.5


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


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

* [Bug tree-optimization/45109] [4.4 Regression] ICE: in get_constraint_for_component_ref, at tree-ssa-structalias.c:2932
  2010-07-28 17:08 [Bug tree-optimization/45109] New: ICE: in get_constraint_for_component_ref, at tree-ssa-structalias.c:2932 jipeng at broadcom dot com
                   ` (2 preceding siblings ...)
  2010-07-28 19:36 ` [Bug tree-optimization/45109] [4.4 Regression] " rguenth at gcc dot gnu dot org
@ 2010-08-08 15:45 ` rguenth at gcc dot gnu dot org
  2010-08-08 15:48 ` rguenth at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-08-08 15:45 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from rguenth at gcc dot gnu dot org  2010-08-08 15:45 -------
Subject: Bug 45109

Author: rguenth
Date: Sun Aug  8 15:45:22 2010
New Revision: 163007

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

        PR tree-optimization/45109
        * gcc.c-torture/compile/pr45109.c: New testcase.

Added:
    trunk/gcc/testsuite/gcc.c-torture/compile/pr45109.c
Modified:
    trunk/gcc/testsuite/ChangeLog


-- 


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


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

* [Bug tree-optimization/45109] [4.4 Regression] ICE: in get_constraint_for_component_ref, at tree-ssa-structalias.c:2932
  2010-07-28 17:08 [Bug tree-optimization/45109] New: ICE: in get_constraint_for_component_ref, at tree-ssa-structalias.c:2932 jipeng at broadcom dot com
                   ` (3 preceding siblings ...)
  2010-08-08 15:45 ` rguenth at gcc dot gnu dot org
@ 2010-08-08 15:48 ` rguenth at gcc dot gnu dot org
  2010-08-08 15:51 ` rguenth at gcc dot gnu dot org
  2010-08-08 15:52 ` rguenth at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-08-08 15:48 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from rguenth at gcc dot gnu dot org  2010-08-08 15:48 -------
Subject: Bug 45109

Author: rguenth
Date: Sun Aug  8 15:48:25 2010
New Revision: 163008

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

        PR tree-optimization/45109
        * tree-ssa-structalias.c (get_constraint_for_component_ref):
        Explicitly strip handled components and indirect references.

        * gcc.c-torture/compile/pr45109.c: New testcase.

Added:
    branches/gcc-4_5-branch/gcc/testsuite/gcc.c-torture/compile/pr45109.c
Modified:
    branches/gcc-4_5-branch/gcc/ChangeLog
    branches/gcc-4_5-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_5-branch/gcc/tree-ssa-structalias.c


-- 


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


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

* [Bug tree-optimization/45109] [4.4 Regression] ICE: in get_constraint_for_component_ref, at tree-ssa-structalias.c:2932
  2010-07-28 17:08 [Bug tree-optimization/45109] New: ICE: in get_constraint_for_component_ref, at tree-ssa-structalias.c:2932 jipeng at broadcom dot com
                   ` (4 preceding siblings ...)
  2010-08-08 15:48 ` rguenth at gcc dot gnu dot org
@ 2010-08-08 15:51 ` rguenth at gcc dot gnu dot org
  2010-08-08 15:52 ` rguenth at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-08-08 15:51 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from rguenth at gcc dot gnu dot org  2010-08-08 15:51 -------
Subject: Bug 45109

Author: rguenth
Date: Sun Aug  8 15:51:14 2010
New Revision: 163010

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

        PR tree-optimization/45109
        * tree-ssa-structalias.c (get_constraint_for_component_ref):
        Explicitly strip handled components and indirect references.

        * gcc.c-torture/compile/pr45109.c: New testcase.

Added:
    branches/gcc-4_4-branch/gcc/testsuite/gcc.c-torture/compile/pr45109.c
Modified:
    branches/gcc-4_4-branch/gcc/ChangeLog
    branches/gcc-4_4-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_4-branch/gcc/tree-ssa-structalias.c


-- 


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


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

* [Bug tree-optimization/45109] [4.4 Regression] ICE: in get_constraint_for_component_ref, at tree-ssa-structalias.c:2932
  2010-07-28 17:08 [Bug tree-optimization/45109] New: ICE: in get_constraint_for_component_ref, at tree-ssa-structalias.c:2932 jipeng at broadcom dot com
                   ` (5 preceding siblings ...)
  2010-08-08 15:51 ` rguenth at gcc dot gnu dot org
@ 2010-08-08 15:52 ` rguenth at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-08-08 15:52 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from rguenth at gcc dot gnu dot org  2010-08-08 15:52 -------
Fixed.


-- 

rguenth at gcc dot gnu dot org changed:

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


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


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

end of thread, other threads:[~2010-08-08 15:52 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-07-28 17:08 [Bug tree-optimization/45109] New: ICE: in get_constraint_for_component_ref, at tree-ssa-structalias.c:2932 jipeng at broadcom dot com
2010-07-28 17:10 ` [Bug tree-optimization/45109] " jipeng at broadcom dot com
2010-07-28 19:05 ` mikpe at it dot uu dot se
2010-07-28 19:36 ` [Bug tree-optimization/45109] [4.4 Regression] " rguenth at gcc dot gnu dot org
2010-08-08 15:45 ` rguenth at gcc dot gnu dot org
2010-08-08 15:48 ` rguenth at gcc dot gnu dot org
2010-08-08 15:51 ` rguenth at gcc dot gnu dot org
2010-08-08 15:52 ` rguenth at gcc dot gnu dot 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).