public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/46286] New: ICE in do_complex_constraint, at tree-ssa-structalias.c:1882
@ 2010-11-03  1:52 howarth at nitro dot med.uc.edu
  2010-11-03  6:47 ` [Bug c/46286] " dominiq at lps dot ens.fr
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: howarth at nitro dot med.uc.edu @ 2010-11-03  1:52 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: ICE in do_complex_constraint, at
                    tree-ssa-structalias.c:1882
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: howarth@nitro.med.uc.edu


The bootstrap on x86_64-apple-darwin10 is currently failing due to an ICE in
the stage2 bubble of the form...

/sw/src/fink.build/gcc46-4.6.0-1000/darwin_objdir/./prev-gcc/xgcc
-B/sw/src/fink.build/gcc46-4.6.0-1000/darwin_objdir/./prev-gcc/
-B/sw/lib/gcc4.6/x86_64-apple-darwin10.5.0/bin/
-B/sw/lib/gcc4.6/x86_64-apple-darwin10.5.0/bin/
-B/sw/lib/gcc4.6/x86_64-apple-darwin10.5.0/lib/ -isystem
/sw/lib/gcc4.6/x86_64-apple-darwin10.5.0/include -isystem
/sw/lib/gcc4.6/x86_64-apple-darwin10.5.0/sys-include    -c   -g -O2 -gtoggle
-DIN_GCC   -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes
-Wmissing-prototypes -Wmissing-format-attribute -pedantic -Wno-long-long
-Wno-variadic-macros -Wno-overlength-strings -Werror -Wold-style-definition
-Wc++-compat -fno-common  -DHAVE_CONFIG_H -I. -I. -I../../gcc-4.6-20101102/gcc
-I../../gcc-4.6-20101102/gcc/. -I../../gcc-4.6-20101102/gcc/../include
-I../../gcc-4.6-20101102/gcc/../libcpp/include -I/sw/include -I/sw/include 
-I../../gcc-4.6-20101102/gcc/../libdecnumber
-I../../gcc-4.6-20101102/gcc/../libdecnumber/dpd -I../libdecnumber
-I/sw/include  -I/sw/include -DCLOOG_PPL_BACKEND  -I/sw/include
../../gcc-4.6-20101102/gcc/sel-sched-ir.c -o sel-sched-ir.o
../../gcc-4.6-20101102/gcc/sched-rgn.c: In function 'rgn_setup_sched_infos':
../../gcc-4.6-20101102/gcc/sched-rgn.c:3589:1: internal compiler error: in
do_complex_constraint, at tree-ssa-structalias.c:1882

This occurs at r166227 configured with...

../gcc-4.6-20101102/configure --prefix=/sw --prefix=/sw/lib/gcc4.6
--mandir=/sw/share/man --infodir=/sw/lib/gcc4.6/info
--enable-languages=c,c++,fortran,objc,obj-c++,java --with-gmp=/sw
--with-libiconv-prefix=/sw --with-ppl=/sw --with-cloog=/sw --with-mpc=/sw
--with-system-zlib --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib
--program-suffix=-fsf-4.6 --enable-checking=yes


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

* [Bug c/46286] ICE in do_complex_constraint, at tree-ssa-structalias.c:1882
  2010-11-03  1:52 [Bug c/46286] New: ICE in do_complex_constraint, at tree-ssa-structalias.c:1882 howarth at nitro dot med.uc.edu
@ 2010-11-03  6:47 ` dominiq at lps dot ens.fr
  2010-11-03  6:50 ` dominiq at lps dot ens.fr
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: dominiq at lps dot ens.fr @ 2010-11-03  6:47 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2010-11-03 06:46:57 UTC ---
Created attachment 22244
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22244
preprocessed file sched-rgn.i


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

* [Bug c/46286] ICE in do_complex_constraint, at tree-ssa-structalias.c:1882
  2010-11-03  1:52 [Bug c/46286] New: ICE in do_complex_constraint, at tree-ssa-structalias.c:1882 howarth at nitro dot med.uc.edu
  2010-11-03  6:47 ` [Bug c/46286] " dominiq at lps dot ens.fr
@ 2010-11-03  6:50 ` dominiq at lps dot ens.fr
  2010-11-03  6:59 ` [Bug tree-optimization/46286] " dominiq at lps dot ens.fr
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: dominiq at lps dot ens.fr @ 2010-11-03  6:50 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2010-11-03 06:50:38 UTC ---
Confirmed (attached preprocessed file). This is due to revision 166204
(bootstrap is restored if this revision is reverted).


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

* [Bug tree-optimization/46286] ICE in do_complex_constraint, at tree-ssa-structalias.c:1882
  2010-11-03  1:52 [Bug c/46286] New: ICE in do_complex_constraint, at tree-ssa-structalias.c:1882 howarth at nitro dot med.uc.edu
  2010-11-03  6:47 ` [Bug c/46286] " dominiq at lps dot ens.fr
  2010-11-03  6:50 ` dominiq at lps dot ens.fr
@ 2010-11-03  6:59 ` dominiq at lps dot ens.fr
  2010-11-03  7:05 ` [Bug tree-optimization/46286] [4.6 Regression] " burnus at gcc dot gnu.org
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: dominiq at lps dot ens.fr @ 2010-11-03  6:59 UTC (permalink / raw)
  To: gcc-bugs

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

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rguenther at suse dot de

--- Comment #3 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2010-11-03 06:59:27 UTC ---
Revision 166204

Jump to revision:         
Author:    rguenth
Date:    Tue Nov 2 17:00:09 2010 UTC (13 hours, 52 minutes ago)
Changed paths:    4
Log Message:    
2010-11-02  Richard Guenther  <rguenther@suse.de>

    PR tree-optimization/46149
    * tree-ssa-structalias.c (get_constraint_for_1): Properly handle
    non-indirect MEM_REF variants.

    * g++.dg/torture/pr46149.C: New testcase.
Changed paths:

Path    Details
trunk/gcc/ChangeLog    modified , text changed
trunk/gcc/testsuite/ChangeLog    modified , text changed
trunk/gcc/testsuite/g++.dg/torture/pr46149.C    added
trunk/gcc/tree-ssa-structalias.c    modified , text changed


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

* [Bug tree-optimization/46286] [4.6 Regression] ICE in do_complex_constraint, at tree-ssa-structalias.c:1882
  2010-11-03  1:52 [Bug c/46286] New: ICE in do_complex_constraint, at tree-ssa-structalias.c:1882 howarth at nitro dot med.uc.edu
                   ` (2 preceding siblings ...)
  2010-11-03  6:59 ` [Bug tree-optimization/46286] " dominiq at lps dot ens.fr
@ 2010-11-03  7:05 ` burnus at gcc dot gnu.org
  2010-11-03  7:38 ` burnus at gcc dot gnu.org
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: burnus at gcc dot gnu.org @ 2010-11-03  7:05 UTC (permalink / raw)
  To: gcc-bugs

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

Tobias Burnus <burnus at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |burnus at gcc dot gnu.org
   Target Milestone|---                         |4.6.0
            Summary|ICE in                      |[4.6 Regression] ICE in
                   |do_complex_constraint, at   |do_complex_constraint, at
                   |tree-ssa-structalias.c:1882 |tree-ssa-structalias.c:1882


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

* [Bug tree-optimization/46286] [4.6 Regression] ICE in do_complex_constraint, at tree-ssa-structalias.c:1882
  2010-11-03  1:52 [Bug c/46286] New: ICE in do_complex_constraint, at tree-ssa-structalias.c:1882 howarth at nitro dot med.uc.edu
                   ` (3 preceding siblings ...)
  2010-11-03  7:05 ` [Bug tree-optimization/46286] [4.6 Regression] " burnus at gcc dot gnu.org
@ 2010-11-03  7:38 ` burnus at gcc dot gnu.org
  2010-11-03 11:12 ` rguenth at gcc dot gnu.org
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: burnus at gcc dot gnu.org @ 2010-11-03  7:38 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from Tobias Burnus <burnus at gcc dot gnu.org> 2010-11-03 07:37:54 UTC ---
I did some debugging and found out that I only see the ICE on x86-64-linux if I
use:
  export MALLOC_PERTURB_=$(($RANDOM % 255 + 1))
(current value: 191)

If I do not set that variable, xgcc compiles gcc/sched-rgn.c without an ICE. I
tried valgrind, but it shows no error.


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

* [Bug tree-optimization/46286] [4.6 Regression] ICE in do_complex_constraint, at tree-ssa-structalias.c:1882
  2010-11-03  1:52 [Bug c/46286] New: ICE in do_complex_constraint, at tree-ssa-structalias.c:1882 howarth at nitro dot med.uc.edu
                   ` (4 preceding siblings ...)
  2010-11-03  7:38 ` burnus at gcc dot gnu.org
@ 2010-11-03 11:12 ` rguenth at gcc dot gnu.org
  2010-11-03 11:14 ` rguenth at gcc dot gnu.org
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: rguenth at gcc dot gnu.org @ 2010-11-03 11:12 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2010.11.03 11:11:51
         AssignedTo|unassigned at gcc dot       |rguenth at gcc dot gnu.org
                   |gnu.org                     |
     Ever Confirmed|0                           |1

--- Comment #5 from Richard Guenther <rguenth at gcc dot gnu.org> 2010-11-03 11:11:51 UTC ---
Testing a fix.


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

* [Bug tree-optimization/46286] [4.6 Regression] ICE in do_complex_constraint, at tree-ssa-structalias.c:1882
  2010-11-03  1:52 [Bug c/46286] New: ICE in do_complex_constraint, at tree-ssa-structalias.c:1882 howarth at nitro dot med.uc.edu
                   ` (5 preceding siblings ...)
  2010-11-03 11:12 ` rguenth at gcc dot gnu.org
@ 2010-11-03 11:14 ` rguenth at gcc dot gnu.org
  2010-11-03 12:20 ` rguenth at gcc dot gnu.org
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: rguenth at gcc dot gnu.org @ 2010-11-03 11:14 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #6 from Richard Guenther <rguenth at gcc dot gnu.org> 2010-11-03 11:14:24 UTC ---
Created attachment 22246
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22246
patch

FYI


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

* [Bug tree-optimization/46286] [4.6 Regression] ICE in do_complex_constraint, at tree-ssa-structalias.c:1882
  2010-11-03  1:52 [Bug c/46286] New: ICE in do_complex_constraint, at tree-ssa-structalias.c:1882 howarth at nitro dot med.uc.edu
                   ` (6 preceding siblings ...)
  2010-11-03 11:14 ` rguenth at gcc dot gnu.org
@ 2010-11-03 12:20 ` rguenth at gcc dot gnu.org
  2010-11-03 12:21 ` rguenth at gcc dot gnu.org
  2010-11-03 12:56 ` ro at gcc dot gnu.org
  9 siblings, 0 replies; 11+ messages in thread
From: rguenth at gcc dot gnu.org @ 2010-11-03 12:20 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #7 from Richard Guenther <rguenth at gcc dot gnu.org> 2010-11-03 12:20:32 UTC ---
Author: rguenth
Date: Wed Nov  3 12:20:28 2010
New Revision: 166241

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

    PR tree-optimization/46286
    * tree-ssa-structalias.c (get_constraint_for_1): Avoid referencing
    re-allocated vector data.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/tree-ssa-structalias.c


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

* [Bug tree-optimization/46286] [4.6 Regression] ICE in do_complex_constraint, at tree-ssa-structalias.c:1882
  2010-11-03  1:52 [Bug c/46286] New: ICE in do_complex_constraint, at tree-ssa-structalias.c:1882 howarth at nitro dot med.uc.edu
                   ` (7 preceding siblings ...)
  2010-11-03 12:20 ` rguenth at gcc dot gnu.org
@ 2010-11-03 12:21 ` rguenth at gcc dot gnu.org
  2010-11-03 12:56 ` ro at gcc dot gnu.org
  9 siblings, 0 replies; 11+ messages in thread
From: rguenth at gcc dot gnu.org @ 2010-11-03 12:21 UTC (permalink / raw)
  To: gcc-bugs

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

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

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

--- Comment #8 from Richard Guenther <rguenth at gcc dot gnu.org> 2010-11-03 12:20:53 UTC ---
Fixed.


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

* [Bug tree-optimization/46286] [4.6 Regression] ICE in do_complex_constraint, at tree-ssa-structalias.c:1882
  2010-11-03  1:52 [Bug c/46286] New: ICE in do_complex_constraint, at tree-ssa-structalias.c:1882 howarth at nitro dot med.uc.edu
                   ` (8 preceding siblings ...)
  2010-11-03 12:21 ` rguenth at gcc dot gnu.org
@ 2010-11-03 12:56 ` ro at gcc dot gnu.org
  9 siblings, 0 replies; 11+ messages in thread
From: ro at gcc dot gnu.org @ 2010-11-03 12:56 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #9 from Rainer Orth <ro at gcc dot gnu.org> 2010-11-03 12:55:41 UTC ---
Also affects i386-pc-solaris2.10, sparc-sun-solaris2.10, mips-sgi-irix6.5.

Proposed patch allows bootstrap to continue on Solaris 10/x86, but later rans
into
another ICE:

/vol/gcc/src/hg/trunk/local/gcc/config/i386/i386.md: In function 'split_insns':
/vol/gcc/src/hg/trunk/local/gcc/config/i386/i386.md:11856:1: internal compiler
error: in dwarf2out_frame_debug_adjust_cfa, at dwarf2out.c:1881

(maybe related to PR bootstrap/46018).


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

end of thread, other threads:[~2010-11-03 12:56 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-03  1:52 [Bug c/46286] New: ICE in do_complex_constraint, at tree-ssa-structalias.c:1882 howarth at nitro dot med.uc.edu
2010-11-03  6:47 ` [Bug c/46286] " dominiq at lps dot ens.fr
2010-11-03  6:50 ` dominiq at lps dot ens.fr
2010-11-03  6:59 ` [Bug tree-optimization/46286] " dominiq at lps dot ens.fr
2010-11-03  7:05 ` [Bug tree-optimization/46286] [4.6 Regression] " burnus at gcc dot gnu.org
2010-11-03  7:38 ` burnus at gcc dot gnu.org
2010-11-03 11:12 ` rguenth at gcc dot gnu.org
2010-11-03 11:14 ` rguenth at gcc dot gnu.org
2010-11-03 12:20 ` rguenth at gcc dot gnu.org
2010-11-03 12:21 ` rguenth at gcc dot gnu.org
2010-11-03 12:56 ` ro 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).