public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/33074]  New: [4.3 regression] ICE in copy_insn_1, at emit-rtl.c:4925
@ 2007-08-14 22:34 fxcoudert at gcc dot gnu dot org
  2007-08-14 22:34 ` [Bug fortran/33074] " fxcoudert at gcc dot gnu dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2007-08-14 22:34 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 2305 bytes --]

The following testcase ICEs on x64_64-linux with -m32 -O:

$ cat u.f90
subroutine scaleg(a, w)
  real a(1), w(1)
  a(1) = 2.0**int(w(1))
end
$ gfortran -m32 -c u.f90 -O1
u.f90: In function ‘scaleg’:
u.f90:3: internal compiler error: in copy_insn_1, at emit-rtl.c:4925

The regression happened somewhere between revisions 127363 and 127489. It
doesn't feel like it is a front-end issue, but I haven't got a C testcase for
it :)

Backtrace:

#0  fancy_abort (file=0xb2ec10 "../../../trunk3/gcc/emit-rtl.c", line=4925, 
    function=0xb2f5cb "copy_insn_1") at ../../../trunk3/gcc/diagnostic.c:654
#1  0x0000000000545dec in copy_insn_1 (orig=0x2ab9aad71c30)
    at ../../../trunk3/gcc/emit-rtl.c:4925
#2  0x0000000000545e6e in copy_insn_1 (orig=0x2ab9aae68a20)
    at ../../../trunk3/gcc/emit-rtl.c:4897
#3  0x0000000000545e6e in copy_insn_1 (orig=0x2ab9aae68c80)
    at ../../../trunk3/gcc/emit-rtl.c:4897
#4  0x000000000067960f in eliminate_regs_in_insn (insn=0x2ab9aad71dc0, 
    replace=0) at ../../../trunk3/gcc/reload1.c:3363
#5  0x00000000006813ed in reload (first=0x2ab9aad767c0, global=1)
    at ../../../trunk3/gcc/reload1.c:1565
#6  0x0000000000a1f136 in rest_of_handle_global_alloc ()
    at ../../../trunk3/gcc/global.c:683
#7  0x00000000006391d9 in execute_one_pass (pass=0xde3b40)
    at ../../../trunk3/gcc/passes.c:1119
#8  0x00000000006393c0 in execute_pass_list (pass=0xde3b40)
    at ../../../trunk3/gcc/passes.c:1172
#9  0x00000000006393d5 in execute_pass_list (pass=0xddf3c0)
    at ../../../trunk3/gcc/passes.c:1173
#10 0x000000000070f99a in tree_rest_of_compilation (fndecl=0x2ab9aae61300)
    at ../../../trunk3/gcc/tree-optimize.c:405
#11 0x0000000000869940 in cgraph_expand_function (node=0x2ab9aae61500)
    at ../../../trunk3/gcc/cgraphunit.c:1077
#12 0x000000000086be2a in cgraph_optimize ()
    at ../../../trunk3/gcc/cgraphunit.c:1146


-- 
           Summary: [4.3 regression] ICE in copy_insn_1, at emit-rtl.c:4925
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: fxcoudert at gcc dot gnu dot org


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


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

* [Bug fortran/33074] [4.3 regression] ICE in copy_insn_1, at emit-rtl.c:4925
  2007-08-14 22:34 [Bug fortran/33074] New: [4.3 regression] ICE in copy_insn_1, at emit-rtl.c:4925 fxcoudert at gcc dot gnu dot org
@ 2007-08-14 22:34 ` fxcoudert at gcc dot gnu dot org
  2007-08-14 22:36 ` [Bug middle-end/33074] " pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2007-08-14 22:34 UTC (permalink / raw)
  To: gcc-bugs



-- 

fxcoudert 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         |2007-08-14 22:34:02
               date|                            |


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


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

* [Bug middle-end/33074] [4.3 regression] ICE in copy_insn_1, at emit-rtl.c:4925
  2007-08-14 22:34 [Bug fortran/33074] New: [4.3 regression] ICE in copy_insn_1, at emit-rtl.c:4925 fxcoudert at gcc dot gnu dot org
  2007-08-14 22:34 ` [Bug fortran/33074] " fxcoudert at gcc dot gnu dot org
@ 2007-08-14 22:36 ` pinskia at gcc dot gnu dot org
  2007-08-15 11:43 ` jakub at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-08-14 22:36 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
          Component|fortran                     |middle-end
   Target Milestone|---                         |4.3.0


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


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

* [Bug middle-end/33074] [4.3 regression] ICE in copy_insn_1, at emit-rtl.c:4925
  2007-08-14 22:34 [Bug fortran/33074] New: [4.3 regression] ICE in copy_insn_1, at emit-rtl.c:4925 fxcoudert at gcc dot gnu dot org
  2007-08-14 22:34 ` [Bug fortran/33074] " fxcoudert at gcc dot gnu dot org
  2007-08-14 22:36 ` [Bug middle-end/33074] " pinskia at gcc dot gnu dot org
@ 2007-08-15 11:43 ` jakub at gcc dot gnu dot org
  2007-08-15 12:11 ` jakub at gcc dot gnu dot org
  2007-08-15 12:18 ` jakub at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: jakub at gcc dot gnu dot org @ 2007-08-15 11:43 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from jakub at gcc dot gnu dot org  2007-08-15 11:43 -------
Caused by http://gcc.gnu.org/ml/gcc-patches/2007-08/msg00571.html
Testing a fix.


-- 

jakub at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |jakub at gcc dot gnu dot org
                   |dot org                     |
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2007-08-14 22:34:02         |2007-08-15 11:43:01
               date|                            |


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


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

* [Bug middle-end/33074] [4.3 regression] ICE in copy_insn_1, at emit-rtl.c:4925
  2007-08-14 22:34 [Bug fortran/33074] New: [4.3 regression] ICE in copy_insn_1, at emit-rtl.c:4925 fxcoudert at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2007-08-15 11:43 ` jakub at gcc dot gnu dot org
@ 2007-08-15 12:11 ` jakub at gcc dot gnu dot org
  2007-08-15 12:18 ` jakub at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: jakub at gcc dot gnu dot org @ 2007-08-15 12:11 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from jakub at gcc dot gnu dot org  2007-08-15 12:11 -------
Subject: Bug 33074

Author: jakub
Date: Wed Aug 15 12:11:38 2007
New Revision: 127511

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=127511
Log:
        PR middle-end/33074
        * emit-rtl.c (try_split): Use INSN_LIST instead of EXPR_LIST for
        REG_LIBCALL note.

        * gfortran.dg/pr33074.f90: New test.

Added:
    trunk/gcc/testsuite/gfortran.dg/pr33074.f90
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/emit-rtl.c
    trunk/gcc/testsuite/ChangeLog


-- 


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


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

* [Bug middle-end/33074] [4.3 regression] ICE in copy_insn_1, at emit-rtl.c:4925
  2007-08-14 22:34 [Bug fortran/33074] New: [4.3 regression] ICE in copy_insn_1, at emit-rtl.c:4925 fxcoudert at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2007-08-15 12:11 ` jakub at gcc dot gnu dot org
@ 2007-08-15 12:18 ` jakub at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: jakub at gcc dot gnu dot org @ 2007-08-15 12:18 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from jakub at gcc dot gnu dot org  2007-08-15 12:17 -------
Fixed.


-- 

jakub at gcc dot gnu dot org changed:

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


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


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

end of thread, other threads:[~2007-08-15 12:18 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-08-14 22:34 [Bug fortran/33074] New: [4.3 regression] ICE in copy_insn_1, at emit-rtl.c:4925 fxcoudert at gcc dot gnu dot org
2007-08-14 22:34 ` [Bug fortran/33074] " fxcoudert at gcc dot gnu dot org
2007-08-14 22:36 ` [Bug middle-end/33074] " pinskia at gcc dot gnu dot org
2007-08-15 11:43 ` jakub at gcc dot gnu dot org
2007-08-15 12:11 ` jakub at gcc dot gnu dot org
2007-08-15 12:18 ` jakub 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).