public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/36929]  New: [4.3/4.4 Regression] internal compiler error: Segmentation fault
@ 2008-07-25  9:58 bunk at stusta dot de
  2008-07-25  9:59 ` [Bug c/36929] " bunk at stusta dot de
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: bunk at stusta dot de @ 2008-07-25  9:58 UTC (permalink / raw)
  To: gcc-bugs

$ m68k-linux-gcc -O2 -m5200 route.i
/home/bunk/linux/kernel-2.6/git/linux-2.6/net/ipv4/route.c: In function
'ipv4_sysctl_rtcache_flush':
/home/bunk/linux/kernel-2.6/git/linux-2.6/net/ipv4/route.c:2896: internal
compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
$


-- 
           Summary: [4.3/4.4 Regression] internal compiler error:
                    Segmentation fault
           Product: gcc
           Version: 4.3.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: bunk at stusta dot de
GCC target triplet: m68k-unknown-linux-gnu


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


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

* [Bug c/36929] [4.3/4.4 Regression] internal compiler error: Segmentation fault
  2008-07-25  9:58 [Bug c/36929] New: [4.3/4.4 Regression] internal compiler error: Segmentation fault bunk at stusta dot de
@ 2008-07-25  9:59 ` bunk at stusta dot de
  2008-07-25 11:37 ` rguenth at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bunk at stusta dot de @ 2008-07-25  9:59 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from bunk at stusta dot de  2008-07-25 09:58 -------
Created an attachment (id=15959)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15959&action=view)
route.i


-- 


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


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

* [Bug c/36929] [4.3/4.4 Regression] internal compiler error: Segmentation fault
  2008-07-25  9:58 [Bug c/36929] New: [4.3/4.4 Regression] internal compiler error: Segmentation fault bunk at stusta dot de
  2008-07-25  9:59 ` [Bug c/36929] " bunk at stusta dot de
@ 2008-07-25 11:37 ` rguenth at gcc dot gnu dot org
  2008-07-25 21:35 ` [Bug rtl-optimization/36929] " schwab at suse dot de
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-07-25 11:37 UTC (permalink / raw)
  To: gcc-bugs



-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.3.2


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


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

* [Bug rtl-optimization/36929] [4.3/4.4 Regression] internal compiler error: Segmentation fault
  2008-07-25  9:58 [Bug c/36929] New: [4.3/4.4 Regression] internal compiler error: Segmentation fault bunk at stusta dot de
  2008-07-25  9:59 ` [Bug c/36929] " bunk at stusta dot de
  2008-07-25 11:37 ` rguenth at gcc dot gnu dot org
@ 2008-07-25 21:35 ` schwab at suse dot de
  2008-07-26  1:04 ` pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: schwab at suse dot de @ 2008-07-25 21:35 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from schwab at suse dot de  2008-07-25 21:33 -------
The bug is in dse.c:replace_inc_dec:

        add_insn_before (data->insn, 
                         gen_rtx_SET (Pmode, r1, 
                                      gen_rtx_PLUS (Pmode, r1, c)),
                         NULL);

This does not make any sense: the rtx to be added must satisfy INSN_P, LABEL_P,
BARRIER_P or NOTE_P, and the first two arguments are swapped.


-- 

schwab at suse dot de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |zadeck at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |NEW
          Component|target                      |rtl-optimization
     Ever Confirmed|0                           |1
 GCC target triplet|m68k-unknown-linux-gnu      |m68k-*-*
   Last reconfirmed|0000-00-00 00:00:00         |2008-07-25 21:33:41
               date|                            |


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


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

* [Bug rtl-optimization/36929] [4.3/4.4 Regression] internal compiler error: Segmentation fault
  2008-07-25  9:58 [Bug c/36929] New: [4.3/4.4 Regression] internal compiler error: Segmentation fault bunk at stusta dot de
                   ` (2 preceding siblings ...)
  2008-07-25 21:35 ` [Bug rtl-optimization/36929] " schwab at suse dot de
@ 2008-07-26  1:04 ` pinskia at gcc dot gnu dot org
  2008-07-26  1:06 ` pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-07-26  1:04 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from pinskia at gcc dot gnu dot org  2008-07-26 01:03 -------
I think s/add_insn_before/emit_insn_before_noloc will work.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code


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


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

* [Bug rtl-optimization/36929] [4.3/4.4 Regression] internal compiler error: Segmentation fault
  2008-07-25  9:58 [Bug c/36929] New: [4.3/4.4 Regression] internal compiler error: Segmentation fault bunk at stusta dot de
                   ` (3 preceding siblings ...)
  2008-07-26  1:04 ` pinskia at gcc dot gnu dot org
@ 2008-07-26  1:06 ` pinskia at gcc dot gnu dot org
  2008-07-30 18:25 ` schwab at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-07-26  1:06 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from pinskia at gcc dot gnu dot org  2008-07-26 01:05 -------
emit_insn_before might work too, I don't know if the location marker here is
important or not ...


-- 


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


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

* [Bug rtl-optimization/36929] [4.3/4.4 Regression] internal compiler error: Segmentation fault
  2008-07-25  9:58 [Bug c/36929] New: [4.3/4.4 Regression] internal compiler error: Segmentation fault bunk at stusta dot de
                   ` (6 preceding siblings ...)
  2008-07-30 18:25 ` schwab at suse dot de
@ 2008-07-30 18:25 ` schwab at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: schwab at gcc dot gnu dot org @ 2008-07-30 18:25 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from schwab at gcc dot gnu dot org  2008-07-30 18:24 -------
Subject: Bug 36929

Author: schwab
Date: Wed Jul 30 18:23:14 2008
New Revision: 138334

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=138334
Log:
PR rtl-optimization/36929
* dse.c (replace_inc_dec): Use emit_insn_before instead of
add_insn_before and fix argument order.
(replace_inc_dec_mem): Handle NULL rtx.

Modified:
    branches/gcc-4_3-branch/gcc/ChangeLog
    branches/gcc-4_3-branch/gcc/dse.c


-- 


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


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

* [Bug rtl-optimization/36929] [4.3/4.4 Regression] internal compiler error: Segmentation fault
  2008-07-25  9:58 [Bug c/36929] New: [4.3/4.4 Regression] internal compiler error: Segmentation fault bunk at stusta dot de
                   ` (4 preceding siblings ...)
  2008-07-26  1:06 ` pinskia at gcc dot gnu dot org
@ 2008-07-30 18:25 ` schwab at gcc dot gnu dot org
  2008-07-30 18:25 ` schwab at suse dot de
  2008-07-30 18:25 ` schwab at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: schwab at gcc dot gnu dot org @ 2008-07-30 18:25 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from schwab at gcc dot gnu dot org  2008-07-30 18:24 -------
Subject: Bug 36929

Author: schwab
Date: Wed Jul 30 18:22:50 2008
New Revision: 138333

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=138333
Log:
PR rtl-optimization/36929
* dse.c (replace_inc_dec): Use emit_insn_before instead of
add_insn_before and fix argument order.
(replace_inc_dec_mem): Handle NULL rtx.

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


-- 


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


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

* [Bug rtl-optimization/36929] [4.3/4.4 Regression] internal compiler error: Segmentation fault
  2008-07-25  9:58 [Bug c/36929] New: [4.3/4.4 Regression] internal compiler error: Segmentation fault bunk at stusta dot de
                   ` (5 preceding siblings ...)
  2008-07-30 18:25 ` schwab at gcc dot gnu dot org
@ 2008-07-30 18:25 ` schwab at suse dot de
  2008-07-30 18:25 ` schwab at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: schwab at suse dot de @ 2008-07-30 18:25 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from schwab at suse dot de  2008-07-30 18:24 -------
Fixed in 4.3 branch and trunk.


-- 

schwab at suse dot de changed:

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


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


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

end of thread, other threads:[~2008-07-30 18:25 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-07-25  9:58 [Bug c/36929] New: [4.3/4.4 Regression] internal compiler error: Segmentation fault bunk at stusta dot de
2008-07-25  9:59 ` [Bug c/36929] " bunk at stusta dot de
2008-07-25 11:37 ` rguenth at gcc dot gnu dot org
2008-07-25 21:35 ` [Bug rtl-optimization/36929] " schwab at suse dot de
2008-07-26  1:04 ` pinskia at gcc dot gnu dot org
2008-07-26  1:06 ` pinskia at gcc dot gnu dot org
2008-07-30 18:25 ` schwab at gcc dot gnu dot org
2008-07-30 18:25 ` schwab at suse dot de
2008-07-30 18:25 ` schwab 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).