public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ada/48988] New: powerpc-rtems ICE pred_chain_length_cmp at tree-ssa-uninit.c:1624
@ 2011-05-13 16:05 joel at gcc dot gnu.org
  2011-05-13 20:59 ` [Bug tree-optimization/48988] [4.7 regression] ICE at " ebotcazou at gcc dot gnu.org
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: joel at gcc dot gnu.org @ 2011-05-13 16:05 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: powerpc-rtems ICE pred_chain_length_cmp at
                    tree-ssa-uninit.c:1624
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ada
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: joel@gcc.gnu.org


This is a regression from 4.6.

What can I provide to help get this resolved?

/home2/joel/build/b-powerpc-ada/./gcc/xgcc
-B/home2/joel/build/b-powerpc-ada/./gcc/
-B/users/joel/test-gcc/install-svn/powerpc-rtems4.11/bin/
-B/users/joel/test-gcc/install-svn/powerpc-rtems4.11/lib/ -isystem
/users/joel/test-gcc/install-svn/powerpc-rtems4.11/include -isystem
/users/joel/test-gcc/install-svn/powerpc-rtems4.11/sys-include    -c -g -O2  
-W -Wall -gnatpg   g-catiio.adb -o g-catiio.o
+===========================GNAT BUG DETECTED==============================+
| 4.7.0 20110512 (experimental) (powerpc-unknown-rtems4.11) GCC error:     |
| vector VEC(use_pred_info_t,base) index domain error, in                  |
|     pred_chain_length_cmp at tree-ssa-uninit.c:1624                      |
| Error detected around g-catiio.adb:198:4                                 |
| Please submit a bug report; see http://gcc.gnu.org/bugs.html.            |
| Use a subject line meaningful to you and us to track the bug.            |
| Include the entire contents of this bug box in the report.               |
| Include the exact gcc or gnatmake command that you entered.              |
| Also include sources listed below in gnatchop format                     |
| (concatenated together with no headers between files).                   |
+==========================================================================+


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

* [Bug tree-optimization/48988] [4.7 regression] ICE at pred_chain_length_cmp at tree-ssa-uninit.c:1624
  2011-05-13 16:05 [Bug ada/48988] New: powerpc-rtems ICE pred_chain_length_cmp at tree-ssa-uninit.c:1624 joel at gcc dot gnu.org
@ 2011-05-13 20:59 ` ebotcazou at gcc dot gnu.org
  2011-05-21  9:52 ` ebotcazou at gcc dot gnu.org
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2011-05-13 20:59 UTC (permalink / raw)
  To: gcc-bugs

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

Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
           Keywords|                            |ice-on-valid-code
   Last reconfirmed|                            |2011.05.13 20:51:30
          Component|ada                         |tree-optimization
                 CC|                            |davidxl at gcc dot gnu.org,
                   |                            |ebotcazou at gcc dot
                   |                            |gnu.org
     Ever Confirmed|0                           |1
            Summary|powerpc-rtems ICE           |[4.7 regression] ICE at
                   |pred_chain_length_cmp at    |pred_chain_length_cmp at
                   |tree-ssa-uninit.c:1624      |tree-ssa-uninit.c:1624
   Target Milestone|---                         |4.7.0

--- Comment #1 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2011-05-13 20:51:30 UTC ---
> What can I provide to help get this resolved?

As always, a reduced testcase.  Introduced by:

2011-03-15  Xinliang David Li  <davidxl@google.com>

    PR c/47837
    * tree-ssa-uninit.c (pred_chain_length_cmp): New function.
    (normalize_preds): New function.
    (is_use_properly_guarded): Normalize def predicates.

I also saw it during an LTO bootstrap with Ada enabled at some point.


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

* [Bug tree-optimization/48988] [4.7 regression] ICE at pred_chain_length_cmp at tree-ssa-uninit.c:1624
  2011-05-13 16:05 [Bug ada/48988] New: powerpc-rtems ICE pred_chain_length_cmp at tree-ssa-uninit.c:1624 joel at gcc dot gnu.org
  2011-05-13 20:59 ` [Bug tree-optimization/48988] [4.7 regression] ICE at " ebotcazou at gcc dot gnu.org
@ 2011-05-21  9:52 ` ebotcazou at gcc dot gnu.org
  2011-05-21 10:09 ` doko at ubuntu dot com
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2011-05-21  9:52 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2011-05-21 09:27:39 UTC ---
To reproduce on Linux, in the build dir:

  cp gcc/ada/rts/system.ads .
  chmod a+w system.ads
  edit system.ads and change ZCX_By_Default to False
  gcc/gnat1 gcc/ada/rts/g-catiio.adb -Igcc/ada/rts -Wall -O

This breaks the compiler on all SJLJ platforms, e.g. arm-linux.


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

* [Bug tree-optimization/48988] [4.7 regression] ICE at pred_chain_length_cmp at tree-ssa-uninit.c:1624
  2011-05-13 16:05 [Bug ada/48988] New: powerpc-rtems ICE pred_chain_length_cmp at tree-ssa-uninit.c:1624 joel at gcc dot gnu.org
  2011-05-13 20:59 ` [Bug tree-optimization/48988] [4.7 regression] ICE at " ebotcazou at gcc dot gnu.org
  2011-05-21  9:52 ` ebotcazou at gcc dot gnu.org
@ 2011-05-21 10:09 ` doko at ubuntu dot com
  2011-05-21 17:46 ` xinliangli at gmail dot com
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: doko at ubuntu dot com @ 2011-05-21 10:09 UTC (permalink / raw)
  To: gcc-bugs

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

Matthias Klose <doko at ubuntu dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |doko at ubuntu dot com

--- Comment #2 from Matthias Klose <doko at ubuntu dot com> 2011-05-21 09:21:55 UTC ---
PR48799 shows an ICE in the same location


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

* [Bug tree-optimization/48988] [4.7 regression] ICE at pred_chain_length_cmp at tree-ssa-uninit.c:1624
  2011-05-13 16:05 [Bug ada/48988] New: powerpc-rtems ICE pred_chain_length_cmp at tree-ssa-uninit.c:1624 joel at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2011-05-21 10:09 ` doko at ubuntu dot com
@ 2011-05-21 17:46 ` xinliangli at gmail dot com
  2011-05-21 19:26 ` ebotcazou at gcc dot gnu.org
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: xinliangli at gmail dot com @ 2011-05-21 17:46 UTC (permalink / raw)
  To: gcc-bugs

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

davidxl <xinliangli at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |xinliangli at gmail dot com

--- Comment #4 from davidxl <xinliangli at gmail dot com> 2011-05-21 17:13:22 UTC ---
(In reply to comment #3)
> To reproduce on Linux, in the build dir:
> 
>   cp gcc/ada/rts/system.ads .
>   chmod a+w system.ads
>   edit system.ads and change ZCX_By_Default to False
>   gcc/gnat1 gcc/ada/rts/g-catiio.adb -Igcc/ada/rts -Wall -O
> 
> This breaks the compiler on all SJLJ platforms, e.g. arm-linux.


On x86_linux, I can not reproduce the problem:

Using the test case, got the following:

GNAT.CALENDAR.TIME_IO.AM_PM GNAT.CALENDAR.TIME_IO.HOUR_12
GNAT.CALENDAR.TIME_IO.IMAGE GNAT.CALENDAR.TIME_IO.IMAGE
GNAT.CALENDAR.TIME_IO.IMAGE GNAT.CALENDAR.TIME_IO.IMAGE.PAD_CHAR
GNAT.CALENDAR.TIME_IO.IMAGE GNAT.CALENDAR.TIME_IO.IMAGE
GNAT.CALENDAR.TIME_IO.IMAGE.L_1.B96B GNAT.CALENDAR.TIME_IO.IMAGE.L_1.B107B
GNAT.CALENDAR.TIME_IO.IMAGE.L_1.B118B GNAT.CALENDAR.TIME_IO.IMAGE.L_1.B129B
GNAT.CALENDAR.TIME_IO.IMAGE.L_1.B140B GNAT.CALENDAR.TIME_IO.IMAGE.L_1.B151B
GNAT.CALENDAR.TIME_IO.IMAGE.L_1.B162B GNAT.CALENDAR.TIME_IO.IMAGE.L_1.B173B
GNAT.CALENDAR.TIME_IO.IMAGE.L_1.B184B GNAT.CALENDAR.TIME_IO.IMAGE.L_1.B195B
GNAT.CALENDAR.TIME_IO.IMAGE.B_2.B224B GNAT.CALENDAR.TIME_IO.IMAGE.B_2.B239B
GNAT.CALENDAR.TIME_IO.IMAGE.L_1.B250B GNAT.CALENDAR.TIME_IO.IMAGE.B_3.B282B
GNAT.CALENDAR.TIME_IO.IMAGE.B_3.B295B GNAT.CALENDAR.TIME_IO.IMAGE.B_3.B308B
GNAT.CALENDAR.TIME_IO.IMAGE.L_1.B319B GNAT.CALENDAR.TIME_IO.IMAGE.L_1.B342B
GNAT.CALENDAR.TIME_IO.IMAGE.L_1.B359B GNAT.CALENDAR.TIME_IO.IMAGE.L_1.B376B
GNAT.CALENDAR.TIME_IO.IMAGE.L_1.B392B GNAT.CALENDAR.TIME_IO.IMAGE.L_1.B408B
GNAT.CALENDAR.TIME_IO.IMAGE.L_1.B420B GNAT.CALENDAR.TIME_IO.IMAGE.L_1.B432B
GNAT.CALENDAR.TIME_IO.IMAGE.L_1.B444B GNAT.CALENDAR.TIME_IO.IMAGE.L_1.B455B
GNAT.CALENDAR.TIME_IO.IMAGE.L_1.B478B GNAT.CALENDAR.TIME_IO.IMAGE.L_1.B489B
GNAT.CALENDAR.TIME_IO.IMAGE.B_4.B500B GNAT.CALENDAR.TIME_IO.IMAGE.B_5.B511B
GNAT.CALENDAR.TIME_IO.IMAGE.L_1.B522B GNAT.CALENDAR.TIME_IO.IMAGE.B_6.B534B
GNAT.CALENDAR.TIME_IO.IMAGE.L_1.B545B GNAT.CALENDAR.TIME_IO.IMAGE.L_1.B558B
GNAT.CALENDAR.TIME_IO.MONTH_NAME_TO_NUMBER GNAT.CALENDAR.TIME_IO.VALUE
GNAT.CALENDAR.TIME_IO.VALUE.EXTRACT_DATE
GNAT.CALENDAR.TIME_IO.VALUE.EXTRACT_TIME GNAT.CALENDAR.TIME_IO.PUT_TIME
GNAT.CALENDAR.TIME_IO.PUT_TIME GNAT.CALENDAR.TIME_IO
Analyzing compilation unit
Performing interprocedural optimizations
 <*free_lang_data> <visibility> <early_local_cleanups> <whole-program>
<ipa-profile> <inline> <pure-const> <static-var>Assembling functions:
 GNAT.CALENDAR.TIME_IO.PUT_TIME GNAT.CALENDAR.TIME_IO.HOUR_12
GNAT.CALENDAR.TIME_IO.MONTH_NAME_TO_NUMBER
GNAT.CALENDAR.TIME_IO.VALUE.EXTRACT_TIME GNAT.CALENDAR.TIME_IO.IMAGE.L_1.B96B
GNAT.CALENDAR.TIME_IO.IMAGE.L_1.B107B GNAT.CALENDAR.TIME_IO.IMAGE.L_1.B118B
GNAT.CALENDAR.TIME_IO.IMAGE.L_1.B129B GNAT.CALENDAR.TIME_IO.IMAGE.L_1.B140B
GNAT.CALENDAR.TIME_IO.IMAGE.L_1.B151B GNAT.CALENDAR.TIME_IO.IMAGE.L_1.B162B
GNAT.CALENDAR.TIME_IO.IMAGE.L_1.B173B GNAT.CALENDAR.TIME_IO.IMAGE.L_1.B184B
GNAT.CALENDAR.TIME_IO.IMAGE.L_1.B195B GNAT.CALENDAR.TIME_IO.IMAGE.B_2.B224B
GNAT.CALENDAR.TIME_IO.IMAGE.B_2.B239B GNAT.CALENDAR.TIME_IO.IMAGE.L_1.B250B
GNAT.CALENDAR.TIME_IO.IMAGE.B_3.B282B GNAT.CALENDAR.TIME_IO.IMAGE.B_3.B295B
GNAT.CALENDAR.TIME_IO.IMAGE.B_3.B308B GNAT.CALENDAR.TIME_IO.IMAGE.L_1.B319B
GNAT.CALENDAR.TIME_IO.IMAGE.L_1.B342B GNAT.CALENDAR.TIME_IO.IMAGE.L_1.B359B
GNAT.CALENDAR.TIME_IO.IMAGE.L_1.B376B GNAT.CALENDAR.TIME_IO.IMAGE.L_1.B392B
GNAT.CALENDAR.TIME_IO.IMAGE.L_1.B408B GNAT.CALENDAR.TIME_IO.IMAGE.L_1.B420B
GNAT.CALENDAR.TIME_IO.IMAGE.L_1.B432B GNAT.CALENDAR.TIME_IO.IMAGE.L_1.B444B
GNAT.CALENDAR.TIME_IO.IMAGE.L_1.B455B GNAT.CALENDAR.TIME_IO.IMAGE.L_1.B478B
GNAT.CALENDAR.TIME_IO.IMAGE.L_1.B489B GNAT.CALENDAR.TIME_IO.IMAGE.B_4.B500B
GNAT.CALENDAR.TIME_IO.IMAGE.B_5.B511B GNAT.CALENDAR.TIME_IO.IMAGE.L_1.B522B
GNAT.CALENDAR.TIME_IO.IMAGE.B_6.B534B GNAT.CALENDAR.TIME_IO.IMAGE.L_1.B545B
GNAT.CALENDAR.TIME_IO.IMAGE.L_1.B558B GNAT.CALENDAR.TIME_IO.IMAGE
GNAT.CALENDAR.TIME_IO.AM_PM GNAT.CALENDAR.TIME_IO.IMAGE
GNAT.CALENDAR.TIME_IO.IMAGE GNAT.CALENDAR.TIME_IO.IMAGE
GNAT.CALENDAR.TIME_IO.IMAGE
raised STORAGE_ERROR : stack overflow (or erroneous memory access)


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

* [Bug tree-optimization/48988] [4.7 regression] ICE at pred_chain_length_cmp at tree-ssa-uninit.c:1624
  2011-05-13 16:05 [Bug ada/48988] New: powerpc-rtems ICE pred_chain_length_cmp at tree-ssa-uninit.c:1624 joel at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2011-05-21 17:46 ` xinliangli at gmail dot com
@ 2011-05-21 19:26 ` ebotcazou at gcc dot gnu.org
  2011-05-21 23:44 ` xinliangli at gmail dot com
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2011-05-21 19:26 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2011-05-21 19:05:36 UTC ---
> On x86_linux, I can not reproduce the problem:

Try to increase your ulimit settings.


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

* [Bug tree-optimization/48988] [4.7 regression] ICE at pred_chain_length_cmp at tree-ssa-uninit.c:1624
  2011-05-13 16:05 [Bug ada/48988] New: powerpc-rtems ICE pred_chain_length_cmp at tree-ssa-uninit.c:1624 joel at gcc dot gnu.org
                   ` (4 preceding siblings ...)
  2011-05-21 19:26 ` ebotcazou at gcc dot gnu.org
@ 2011-05-21 23:44 ` xinliangli at gmail dot com
  2011-05-22  0:16 ` xinliangli at gmail dot com
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: xinliangli at gmail dot com @ 2011-05-21 23:44 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #6 from davidxl <xinliangli at gmail dot com> 2011-05-21 23:30:34 UTC ---
Created attachment 24323
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24323
fix


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

* [Bug tree-optimization/48988] [4.7 regression] ICE at pred_chain_length_cmp at tree-ssa-uninit.c:1624
  2011-05-13 16:05 [Bug ada/48988] New: powerpc-rtems ICE pred_chain_length_cmp at tree-ssa-uninit.c:1624 joel at gcc dot gnu.org
                   ` (5 preceding siblings ...)
  2011-05-21 23:44 ` xinliangli at gmail dot com
@ 2011-05-22  0:16 ` xinliangli at gmail dot com
  2011-05-22  8:00 ` ebotcazou at gcc dot gnu.org
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: xinliangli at gmail dot com @ 2011-05-22  0:16 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #7 from davidxl <xinliangli at gmail dot com> 2011-05-22 00:01:13 UTC ---
(In reply to comment #6)
> Created attachment 24323 [details]
> fix

Please verify.

Davdi


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

* [Bug tree-optimization/48988] [4.7 regression] ICE at pred_chain_length_cmp at tree-ssa-uninit.c:1624
  2011-05-13 16:05 [Bug ada/48988] New: powerpc-rtems ICE pred_chain_length_cmp at tree-ssa-uninit.c:1624 joel at gcc dot gnu.org
                   ` (6 preceding siblings ...)
  2011-05-22  0:16 ` xinliangli at gmail dot com
@ 2011-05-22  8:00 ` ebotcazou at gcc dot gnu.org
  2011-06-06 10:21 ` mikpe at it dot uu.se
  2011-06-06 10:27 ` ebotcazou at gcc dot gnu.org
  9 siblings, 0 replies; 11+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2011-05-22  8:00 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #8 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2011-05-22 07:09:01 UTC ---
> Please verify.

Works for me, thanks!


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

* [Bug tree-optimization/48988] [4.7 regression] ICE at pred_chain_length_cmp at tree-ssa-uninit.c:1624
  2011-05-13 16:05 [Bug ada/48988] New: powerpc-rtems ICE pred_chain_length_cmp at tree-ssa-uninit.c:1624 joel at gcc dot gnu.org
                   ` (7 preceding siblings ...)
  2011-05-22  8:00 ` ebotcazou at gcc dot gnu.org
@ 2011-06-06 10:21 ` mikpe at it dot uu.se
  2011-06-06 10:27 ` ebotcazou at gcc dot gnu.org
  9 siblings, 0 replies; 11+ messages in thread
From: mikpe at it dot uu.se @ 2011-06-06 10:21 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #9 from Mikael Pettersson <mikpe at it dot uu.se> 2011-06-06 10:21:19 UTC ---
Wasn't this fixed in r174077?  If so, can this be closed now?


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

* [Bug tree-optimization/48988] [4.7 regression] ICE at pred_chain_length_cmp at tree-ssa-uninit.c:1624
  2011-05-13 16:05 [Bug ada/48988] New: powerpc-rtems ICE pred_chain_length_cmp at tree-ssa-uninit.c:1624 joel at gcc dot gnu.org
                   ` (8 preceding siblings ...)
  2011-06-06 10:21 ` mikpe at it dot uu.se
@ 2011-06-06 10:27 ` ebotcazou at gcc dot gnu.org
  9 siblings, 0 replies; 11+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2011-06-06 10:27 UTC (permalink / raw)
  To: gcc-bugs

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

Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:

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

--- Comment #10 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2011-06-06 10:26:49 UTC ---
Yep.


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

end of thread, other threads:[~2011-06-06 10:27 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-13 16:05 [Bug ada/48988] New: powerpc-rtems ICE pred_chain_length_cmp at tree-ssa-uninit.c:1624 joel at gcc dot gnu.org
2011-05-13 20:59 ` [Bug tree-optimization/48988] [4.7 regression] ICE at " ebotcazou at gcc dot gnu.org
2011-05-21  9:52 ` ebotcazou at gcc dot gnu.org
2011-05-21 10:09 ` doko at ubuntu dot com
2011-05-21 17:46 ` xinliangli at gmail dot com
2011-05-21 19:26 ` ebotcazou at gcc dot gnu.org
2011-05-21 23:44 ` xinliangli at gmail dot com
2011-05-22  0:16 ` xinliangli at gmail dot com
2011-05-22  8:00 ` ebotcazou at gcc dot gnu.org
2011-06-06 10:21 ` mikpe at it dot uu.se
2011-06-06 10:27 ` ebotcazou 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).