public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/28132]  New: [4.1 Regression] ICE instantiate_virtual_regs_in_insn when -fforce-addr -O1 used
@ 2006-06-22  0:08 vapier at gentoo dot org
  2006-06-22  0:19 ` [Bug target/28132] " vapier at gentoo dot org
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: vapier at gentoo dot org @ 2006-06-22  0:08 UTC (permalink / raw)
  To: gcc-bugs

building spidermonkey-1.5 with -O1 -fforce-addr with gcc-4.1.1 and gcc ICEs:
jsmath.c: In function 'math_round':
jsmath.c:394: error: unrecognizable insn:
(insn 61 93 62 4 (parallel [
            (set (mem/i:DF (reg/f:SI 95) [0 S8 A32])
                (neg:DF (mem/i:DF (reg/f:SI 96) [0 S8 A32])))
            (use (const_int 0 [0x0]))
            (clobber (reg:CC 17 flags))
        ]) -1 (nil)
    (nil))
jsmath.c:394: internal compiler error: in instantiate_virtual_regs_in_insn, at
function.c:1555

this sort of looks like PR23196, but that is fixed in my 4.1.1

verified on Gentoo and Debian


-- 
           Summary: [4.1 Regression] ICE instantiate_virtual_regs_in_insn
                    when -fforce-addr -O1 used
           Product: gcc
           Version: 4.1.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: vapier at gentoo dot org
  GCC host triplet: i686-linux-gnu
GCC target triplet: i686-linux-gnu


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


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

* [Bug target/28132] [4.1 Regression] ICE instantiate_virtual_regs_in_insn when -fforce-addr -O1 used
  2006-06-22  0:08 [Bug target/28132] New: [4.1 Regression] ICE instantiate_virtual_regs_in_insn when -fforce-addr -O1 used vapier at gentoo dot org
@ 2006-06-22  0:19 ` vapier at gentoo dot org
  2006-06-22  9:28 ` rguenth at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: vapier at gentoo dot org @ 2006-06-22  0:19 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from vapier at gentoo dot org  2006-06-22 00:08 -------
Created an attachment (id=11725)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11725&action=view)
jsmath.i


-- 


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


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

* [Bug target/28132] [4.1 Regression] ICE instantiate_virtual_regs_in_insn when -fforce-addr -O1 used
  2006-06-22  0:08 [Bug target/28132] New: [4.1 Regression] ICE instantiate_virtual_regs_in_insn when -fforce-addr -O1 used vapier at gentoo dot org
  2006-06-22  0:19 ` [Bug target/28132] " vapier at gentoo dot org
@ 2006-06-22  9:28 ` rguenth at gcc dot gnu dot org
  2006-08-09 18:15 ` pinskia at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2006-06-22  9:28 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from rguenth at gcc dot gnu dot org  2006-06-22 09:26 -------
Confirmed.  Requires -O -fforce-addr -march=i686.

void math_round()
{
        double x;
        foo(x, __builtin_copysign(bar(), x));
}

works on the mainline.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2006-06-22 09:26:22
               date|                            |


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


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

* [Bug target/28132] [4.1 Regression] ICE instantiate_virtual_regs_in_insn when -fforce-addr -O1 used
  2006-06-22  0:08 [Bug target/28132] New: [4.1 Regression] ICE instantiate_virtual_regs_in_insn when -fforce-addr -O1 used vapier at gentoo dot org
  2006-06-22  0:19 ` [Bug target/28132] " vapier at gentoo dot org
  2006-06-22  9:28 ` rguenth at gcc dot gnu dot org
@ 2006-08-09 18:15 ` pinskia at gcc dot gnu dot org
  2006-08-09 18:16 ` pinskia 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-08-09 18:15 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.1.2


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


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

* [Bug target/28132] [4.1 Regression] ICE instantiate_virtual_regs_in_insn when -fforce-addr -O1 used
  2006-06-22  0:08 [Bug target/28132] New: [4.1 Regression] ICE instantiate_virtual_regs_in_insn when -fforce-addr -O1 used vapier at gentoo dot org
                   ` (2 preceding siblings ...)
  2006-08-09 18:15 ` pinskia at gcc dot gnu dot org
@ 2006-08-09 18:16 ` pinskia at gcc dot gnu dot org
  2006-10-18  9:49 ` rguenth at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-08-09 18:16 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from pinskia at gcc dot gnu dot org  2006-08-09 18:16 -------
*** Bug 28667 has been marked as a duplicate of this bug. ***


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu dot org


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


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

* [Bug target/28132] [4.1 Regression] ICE instantiate_virtual_regs_in_insn when -fforce-addr -O1 used
  2006-06-22  0:08 [Bug target/28132] New: [4.1 Regression] ICE instantiate_virtual_regs_in_insn when -fforce-addr -O1 used vapier at gentoo dot org
                   ` (3 preceding siblings ...)
  2006-08-09 18:16 ` pinskia at gcc dot gnu dot org
@ 2006-10-18  9:49 ` rguenth at gcc dot gnu dot org
  2006-10-18 21:20 ` janis at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2006-10-18  9:49 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from rguenth at gcc dot gnu dot org  2006-10-18 09:49 -------
I wonder what fixed this on the mainline - janis?


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |janis at gcc dot gnu dot org
      Known to fail|4.1.1                       |4.1.0 4.1.1
   Last reconfirmed|2006-06-22 09:26:22         |2006-10-18 09:49:17
               date|                            |


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


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

* [Bug target/28132] [4.1 Regression] ICE instantiate_virtual_regs_in_insn when -fforce-addr -O1 used
  2006-06-22  0:08 [Bug target/28132] New: [4.1 Regression] ICE instantiate_virtual_regs_in_insn when -fforce-addr -O1 used vapier at gentoo dot org
                   ` (4 preceding siblings ...)
  2006-10-18  9:49 ` rguenth at gcc dot gnu dot org
@ 2006-10-18 21:20 ` janis at gcc dot gnu dot org
  2006-11-01 18:11 ` mmitchel at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: janis at gcc dot gnu dot org @ 2006-10-18 21:20 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from janis at gcc dot gnu dot org  2006-10-18 21:20 -------
A regression hunt using the testcase and options from comment #2 with an
i686-linux cross compiler identified the following patch which fixed the bug on
mainline:

    http://gcc.gnu.org/viewcvs?view=rev&rev=114293

    r114293 | sayle | 2006-06-01 01:37:17 +0000 (Thu, 01 Jun 2006)


-- 


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


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

* [Bug target/28132] [4.1 Regression] ICE instantiate_virtual_regs_in_insn when -fforce-addr -O1 used
  2006-06-22  0:08 [Bug target/28132] New: [4.1 Regression] ICE instantiate_virtual_regs_in_insn when -fforce-addr -O1 used vapier at gentoo dot org
                   ` (5 preceding siblings ...)
  2006-10-18 21:20 ` janis at gcc dot gnu dot org
@ 2006-11-01 18:11 ` mmitchel at gcc dot gnu dot org
  2007-02-14  9:20 ` mmitchel at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2006-11-01 18:11 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from mmitchel at gcc dot gnu dot org  2006-11-01 18:11 -------
P2, rather than P1, due to use of relatively obscure command-line option. 


-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P2


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


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

* [Bug target/28132] [4.1 Regression] ICE instantiate_virtual_regs_in_insn when -fforce-addr -O1 used
  2006-06-22  0:08 [Bug target/28132] New: [4.1 Regression] ICE instantiate_virtual_regs_in_insn when -fforce-addr -O1 used vapier at gentoo dot org
                   ` (6 preceding siblings ...)
  2006-11-01 18:11 ` mmitchel at gcc dot gnu dot org
@ 2007-02-14  9:20 ` mmitchel at gcc dot gnu dot org
  2007-12-03  2:49 ` mark at halcy0n dot com
  2008-07-04 15:38 ` jsm28 at gcc dot gnu dot org
  9 siblings, 0 replies; 11+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2007-02-14  9:20 UTC (permalink / raw)
  To: gcc-bugs



-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.1.2                       |4.1.3


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


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

* [Bug target/28132] [4.1 Regression] ICE instantiate_virtual_regs_in_insn when -fforce-addr -O1 used
  2006-06-22  0:08 [Bug target/28132] New: [4.1 Regression] ICE instantiate_virtual_regs_in_insn when -fforce-addr -O1 used vapier at gentoo dot org
                   ` (7 preceding siblings ...)
  2007-02-14  9:20 ` mmitchel at gcc dot gnu dot org
@ 2007-12-03  2:49 ` mark at halcy0n dot com
  2008-07-04 15:38 ` jsm28 at gcc dot gnu dot org
  9 siblings, 0 replies; 11+ messages in thread
From: mark at halcy0n dot com @ 2007-12-03  2:49 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from mark at halcy0n dot com  2007-12-03 02:49 -------
r125879 | jakub | 2007-06-20 02:50:23 -0400 (Wed, 20 Jun 2007) | 6 lines

        PR middle-end/32285
        * calls.c (precompute_arguments): Also precompute CALL_EXPR arguments
        if ACCUMULATE_OUTGOING_ARGS.

        * gcc.c-torture/execute/20070614-1.c: New test.

on the gcc-4.1 branch made this go away.  unsure if it is a real fix, or not
though.


-- 

mark at halcy0n dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mark at halcy0n dot com


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


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

* [Bug target/28132] [4.1 Regression] ICE instantiate_virtual_regs_in_insn when -fforce-addr -O1 used
  2006-06-22  0:08 [Bug target/28132] New: [4.1 Regression] ICE instantiate_virtual_regs_in_insn when -fforce-addr -O1 used vapier at gentoo dot org
                   ` (8 preceding siblings ...)
  2007-12-03  2:49 ` mark at halcy0n dot com
@ 2008-07-04 15:38 ` jsm28 at gcc dot gnu dot org
  9 siblings, 0 replies; 11+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2008-07-04 15:38 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from jsm28 at gcc dot gnu dot org  2008-07-04 15:38 -------
Closing 4.1 branch.  Not updating known-to-fail since logs suggest it might in
fact be fixed there.


-- 

jsm28 at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|4.1.3                       |4.2.0


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


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

end of thread, other threads:[~2008-07-04 15:38 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-06-22  0:08 [Bug target/28132] New: [4.1 Regression] ICE instantiate_virtual_regs_in_insn when -fforce-addr -O1 used vapier at gentoo dot org
2006-06-22  0:19 ` [Bug target/28132] " vapier at gentoo dot org
2006-06-22  9:28 ` rguenth at gcc dot gnu dot org
2006-08-09 18:15 ` pinskia at gcc dot gnu dot org
2006-08-09 18:16 ` pinskia at gcc dot gnu dot org
2006-10-18  9:49 ` rguenth at gcc dot gnu dot org
2006-10-18 21:20 ` janis at gcc dot gnu dot org
2006-11-01 18:11 ` mmitchel at gcc dot gnu dot org
2007-02-14  9:20 ` mmitchel at gcc dot gnu dot org
2007-12-03  2:49 ` mark at halcy0n dot com
2008-07-04 15:38 ` jsm28 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).