public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/27736]  New: unwind-dw2-fde.c:833: fatal error: internal consistency failure
@ 2006-05-22 23:24 danglin at gcc dot gnu dot org
  2006-05-23  1:54 ` [Bug middle-end/27736] " danglin at gcc dot gnu dot org
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: danglin at gcc dot gnu dot org @ 2006-05-22 23:24 UTC (permalink / raw)
  To: gcc-bugs

In stage1:

/home/dave/gcc-4.2/objdir/./gcc/xgcc -B/home/dave/gcc-4.2/objdir/./gcc/
-B/home/
dave/opt/gnu/gcc/gcc-4.2.0/hppa-linux/bin/
-B/home/dave/opt/gnu/gcc/gcc-4.2.0/hp
pa-linux/lib/ -isystem /home/dave/opt/gnu/gcc/gcc-4.2.0/hppa-linux/include
-isys
tem /home/dave/opt/gnu/gcc/gcc-4.2.0/hppa-linux/sys-include -O2  -O2 -g -O2 
-DI
N_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-Wold
-style-definition  -isystem ./include  -fPIC -DELF=1 -DLINUX=1 -g
-DHAVE_GTHR_DE
FAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  -I. -I. -I../../gcc/gcc
-I../../gcc
/gcc/. -I../../gcc/gcc/../include -I../../gcc/gcc/../libcpp/include 
-I../../gcc
/gcc/../libdecnumber -I../libdecnumber -fexceptions -fvisibility=hidden
-DHIDE_E
XPORTS -c ../../gcc/gcc/unwind-dw2-fde-glibc.c -o
libgcc/./unwind-dw2-fde-glibc.
o
../../gcc/gcc/unwind-dw2-fde.c: In function 'linear_search_fdes':
../../gcc/gcc/unwind-dw2-fde.c:833: fatal error: internal consistency failure
compilation terminated.
make[4]: *** [libgcc/./unwind-dw2-fde-glibc.o] Error 1


-- 
           Summary: unwind-dw2-fde.c:833: fatal error: internal consistency
                    failure
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: danglin at gcc dot gnu dot org
 GCC build triplet: hppa-unknown-linux-gnu
  GCC host triplet: hppa-unknown-linux-gnu
GCC target triplet: hppa-unknown-linux-gnu


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


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

* [Bug middle-end/27736] unwind-dw2-fde.c:833: fatal error: internal consistency failure
  2006-05-22 23:24 [Bug middle-end/27736] New: unwind-dw2-fde.c:833: fatal error: internal consistency failure danglin at gcc dot gnu dot org
@ 2006-05-23  1:54 ` danglin at gcc dot gnu dot org
  2006-05-23  1:55 ` danglin at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: danglin at gcc dot gnu dot org @ 2006-05-23  1:54 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from danglin at gcc dot gnu dot org  2006-05-23 01:54 -------
Created an attachment (id=11497)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11497&action=view)
Preprocessed source


-- 


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


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

* [Bug middle-end/27736] unwind-dw2-fde.c:833: fatal error: internal consistency failure
  2006-05-22 23:24 [Bug middle-end/27736] New: unwind-dw2-fde.c:833: fatal error: internal consistency failure danglin at gcc dot gnu dot org
  2006-05-23  1:54 ` [Bug middle-end/27736] " danglin at gcc dot gnu dot org
@ 2006-05-23  1:55 ` danglin at gcc dot gnu dot org
  2006-05-23  2:16 ` [Bug middle-end/27736] [4.2 Regression] " pinskia at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: danglin at gcc dot gnu dot org @ 2006-05-23  1:55 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from danglin at gcc dot gnu dot org  2006-05-23 01:55 -------
The following change introduced the bug:

2006-05-22  Richard Sandiford  <richard@codesourcery.com>

        PR rtl-optimization/25514
        * combine.c (replaced_rhs_insn): New variable.
        (combine_instructions): Set replaced_rhs_insn when trying to replace
        a SET_SRC with a REG_EQUAL note.
        (distribute_notes): Use replaced_rhs_insn when determining the live
        range of a REG_DEAD register.


-- 

danglin at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |richard at codesourcery dot
                   |                            |com


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


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

* [Bug middle-end/27736] [4.2 Regression] unwind-dw2-fde.c:833: fatal error: internal consistency failure
  2006-05-22 23:24 [Bug middle-end/27736] New: unwind-dw2-fde.c:833: fatal error: internal consistency failure danglin at gcc dot gnu dot org
  2006-05-23  1:54 ` [Bug middle-end/27736] " danglin at gcc dot gnu dot org
  2006-05-23  1:55 ` danglin at gcc dot gnu dot org
@ 2006-05-23  2:16 ` pinskia at gcc dot gnu dot org
  2006-05-23  5:48 ` rsandifo at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-05-23  2:16 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pinskia at gcc dot gnu dot
                   |                            |org
           Severity|normal                      |blocker
           Keywords|                            |build, ice-on-valid-code
            Summary|unwind-dw2-fde.c:833: fatal |[4.2 Regression] unwind-dw2-
                   |error: internal consistency |fde.c:833: fatal error:
                   |failure                     |internal consistency failure
   Target Milestone|---                         |4.2.0


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


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

* [Bug middle-end/27736] [4.2 Regression] unwind-dw2-fde.c:833: fatal error: internal consistency failure
  2006-05-22 23:24 [Bug middle-end/27736] New: unwind-dw2-fde.c:833: fatal error: internal consistency failure danglin at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2006-05-23  2:16 ` [Bug middle-end/27736] [4.2 Regression] " pinskia at gcc dot gnu dot org
@ 2006-05-23  5:48 ` rsandifo at gcc dot gnu dot org
  2006-05-23  6:17 ` rsandifo at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: rsandifo at gcc dot gnu dot org @ 2006-05-23  5:48 UTC (permalink / raw)
  To: gcc-bugs



-- 

rsandifo at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |rsandifo at gcc dot gnu dot
                   |dot org                     |org
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2006-05-23 05:48:26
               date|                            |


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


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

* [Bug middle-end/27736] [4.2 Regression] unwind-dw2-fde.c:833: fatal error: internal consistency failure
  2006-05-22 23:24 [Bug middle-end/27736] New: unwind-dw2-fde.c:833: fatal error: internal consistency failure danglin at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2006-05-23  5:48 ` rsandifo at gcc dot gnu dot org
@ 2006-05-23  6:17 ` rsandifo at gcc dot gnu dot org
  2006-05-23 13:06 ` rsandifo at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: rsandifo at gcc dot gnu dot org @ 2006-05-23  6:17 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from rsandifo at gcc dot gnu dot org  2006-05-23 06:17 -------
Created an attachment (id=11498)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11498&action=view)
Possible patch

I'm very sorry for the breakage.  Here's a patch that appears
to fix the bug.  I'll continue testing.


-- 


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


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

* [Bug middle-end/27736] [4.2 Regression] unwind-dw2-fde.c:833: fatal error: internal consistency failure
  2006-05-22 23:24 [Bug middle-end/27736] New: unwind-dw2-fde.c:833: fatal error: internal consistency failure danglin at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2006-05-23  6:17 ` rsandifo at gcc dot gnu dot org
@ 2006-05-23 13:06 ` rsandifo at gcc dot gnu dot org
  2006-05-23 13:51 ` dave at hiauly1 dot hia dot nrc dot ca
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: rsandifo at gcc dot gnu dot org @ 2006-05-23 13:06 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from rsandifo at gcc dot gnu dot org  2006-05-23 13:06 -------
Patch posted:
http://gcc.gnu.org/ml/gcc-patches/2006-05/msg01169.html


-- 


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


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

* [Bug middle-end/27736] [4.2 Regression] unwind-dw2-fde.c:833: fatal error: internal consistency failure
  2006-05-22 23:24 [Bug middle-end/27736] New: unwind-dw2-fde.c:833: fatal error: internal consistency failure danglin at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2006-05-23 13:06 ` rsandifo at gcc dot gnu dot org
@ 2006-05-23 13:51 ` dave at hiauly1 dot hia dot nrc dot ca
  2006-05-23 15:07 ` rsandifo at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: dave at hiauly1 dot hia dot nrc dot ca @ 2006-05-23 13:51 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from dave at hiauly1 dot hia dot nrc dot ca  2006-05-23 13:51 -------
Subject: Re:  [4.2 Regression] unwind-dw2-fde.c:833: fatal error: internal
consistency failure

> Patch posted:
> http://gcc.gnu.org/ml/gcc-patches/2006-05/msg01169.html

So far, this fix is looking good.

Dave


-- 


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


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

* [Bug middle-end/27736] [4.2 Regression] unwind-dw2-fde.c:833: fatal error: internal consistency failure
  2006-05-22 23:24 [Bug middle-end/27736] New: unwind-dw2-fde.c:833: fatal error: internal consistency failure danglin at gcc dot gnu dot org
                   ` (6 preceding siblings ...)
  2006-05-23 13:51 ` dave at hiauly1 dot hia dot nrc dot ca
@ 2006-05-23 15:07 ` rsandifo at gcc dot gnu dot org
  2006-05-23 15:08 ` rsandifo at gcc dot gnu dot org
  2007-01-06 14:27 ` rsandifo at gcc dot gnu dot org
  9 siblings, 0 replies; 11+ messages in thread
From: rsandifo at gcc dot gnu dot org @ 2006-05-23 15:07 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from rsandifo at gcc dot gnu dot org  2006-05-23 15:07 -------
Subject: Bug 27736

Author: rsandifo
Date: Tue May 23 15:07:00 2006
New Revision: 114019

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=114019
Log:
        PR rtl-optimization/27736
        * combine.c (replaced_rhs_value): New variable.
        (combine_instructions): Set it.
        (distribute_notes): When distributing a note in replaced_rhs_insn,
        check whether the value was used in replaced_rhs_value.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/combine.c


-- 


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


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

* [Bug middle-end/27736] [4.2 Regression] unwind-dw2-fde.c:833: fatal error: internal consistency failure
  2006-05-22 23:24 [Bug middle-end/27736] New: unwind-dw2-fde.c:833: fatal error: internal consistency failure danglin at gcc dot gnu dot org
                   ` (7 preceding siblings ...)
  2006-05-23 15:07 ` rsandifo at gcc dot gnu dot org
@ 2006-05-23 15:08 ` rsandifo at gcc dot gnu dot org
  2007-01-06 14:27 ` rsandifo at gcc dot gnu dot org
  9 siblings, 0 replies; 11+ messages in thread
From: rsandifo at gcc dot gnu dot org @ 2006-05-23 15:08 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from rsandifo at gcc dot gnu dot org  2006-05-23 15:08 -------
Patch applied.  (Thanks to Roger for the quick review.)


-- 

rsandifo at gcc dot gnu dot org changed:

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


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


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

* [Bug middle-end/27736] [4.2 Regression] unwind-dw2-fde.c:833: fatal error: internal consistency failure
  2006-05-22 23:24 [Bug middle-end/27736] New: unwind-dw2-fde.c:833: fatal error: internal consistency failure danglin at gcc dot gnu dot org
                   ` (8 preceding siblings ...)
  2006-05-23 15:08 ` rsandifo at gcc dot gnu dot org
@ 2007-01-06 14:27 ` rsandifo at gcc dot gnu dot org
  9 siblings, 0 replies; 11+ messages in thread
From: rsandifo at gcc dot gnu dot org @ 2007-01-06 14:27 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from rsandifo at gcc dot gnu dot org  2007-01-06 14:27 -------
Subject: Bug 27736

Author: rsandifo
Date: Sat Jan  6 14:26:58 2007
New Revision: 120526

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=120526
Log:
gcc/
        Backport:

        2006-05-23  Richard Sandiford  <richard@codesourcery.com>

        PR rtl-optimization/27736
        * combine.c (replaced_rhs_value): New variable.
        (combine_instructions): Set it.
        (distribute_notes): When distributing a note in replaced_rhs_insn,
        check whether the value was used in replaced_rhs_value.

        2006-05-22  Richard Sandiford  <richard@codesourcery.com>

        PR rtl-optimization/25514
        * combine.c (replaced_rhs_insn): New variable.
        (combine_instructions): Set replaced_rhs_insn when trying to replace
        a SET_SRC with a REG_EQUAL note.
        (distribute_notes): Use replaced_rhs_insn when determining the live
        range of a REG_DEAD register.

gcc/testsuite/
        2006-05-22  Richard Sandiford  <richard@codesourcery.com>

        PR rtl-optimization/25514
        * gcc.c-torture/compile/pr25514.c: New test.

Added:
    branches/gcc-4_1-branch/gcc/testsuite/gcc.c-torture/compile/pr25514.c
Modified:
    branches/gcc-4_1-branch/gcc/ChangeLog
    branches/gcc-4_1-branch/gcc/combine.c
    branches/gcc-4_1-branch/gcc/testsuite/ChangeLog


-- 


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


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

end of thread, other threads:[~2007-01-06 14:27 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-05-22 23:24 [Bug middle-end/27736] New: unwind-dw2-fde.c:833: fatal error: internal consistency failure danglin at gcc dot gnu dot org
2006-05-23  1:54 ` [Bug middle-end/27736] " danglin at gcc dot gnu dot org
2006-05-23  1:55 ` danglin at gcc dot gnu dot org
2006-05-23  2:16 ` [Bug middle-end/27736] [4.2 Regression] " pinskia at gcc dot gnu dot org
2006-05-23  5:48 ` rsandifo at gcc dot gnu dot org
2006-05-23  6:17 ` rsandifo at gcc dot gnu dot org
2006-05-23 13:06 ` rsandifo at gcc dot gnu dot org
2006-05-23 13:51 ` dave at hiauly1 dot hia dot nrc dot ca
2006-05-23 15:07 ` rsandifo at gcc dot gnu dot org
2006-05-23 15:08 ` rsandifo at gcc dot gnu dot org
2007-01-06 14:27 ` rsandifo 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).