public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/27875]  New: [4.2 Regression] ICE on gcc testsuite.
@ 2006-06-02 15:39 edmar at freescale dot com
  2006-06-02 15:41 ` [Bug c/27875] " edmar at freescale dot com
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: edmar at freescale dot com @ 2006-06-02 15:39 UTC (permalink / raw)
  To: gcc-bugs

Note: This problems happens only on trunk compiler configured with
--target=powerpc-unknown-linux-gnuspe --enable-e500_double

I have lots of dejagnu failures that looks just like this one:

 /temp/gnu_toolchain/build_area/obj_gcc-trunk_e500v2/gcc/xgcc
-B/temp/gnu_toolchain/build_area/obj_gcc-trunk_e500v2/gcc/   -O2  -c -o
20040219-1.o
/local/gnu_toolchain/build_area/gcc-trunk/gcc/testsuite/gcc.c-torture/compile/20040219-1.c
--save-temps -v
Reading specs from
/temp/gnu_toolchain/build_area/obj_gcc-trunk_e500v2/gcc/specs
Target: powerpc-unknown-linux-gnuspe
Configured with: ../gcc-trunk/configure
--prefix=/local/gnu_toolchain/install_area/gcc-trunk-20060531-e500v2
--with-local-prefix=/local/gnu_toolchain/install_area/gcc-trunk-20060531-e500v2
--enable-languages=c,c++ --enable-threads --target=powerpc-unknown-linux-gnuspe
--disable-shared --disable-multilib --disable-linux-futex --enable-e500_double
Thread model: posix
gcc version 4.2.0 20060531 (experimental)
 /temp/gnu_toolchain/build_area/obj_gcc-trunk_e500v2/gcc/cc1 -E -quiet -v
-iprefix
/temp/gnu_toolchain/build_area/obj_gcc-trunk_e500v2/gcc/../lib/gcc/powerpc-unknown-linux-gnuspe/4.2.0/
-isystem /temp/gnu_toolchain/build_area/obj_gcc-trunk_e500v2/gcc/include
-D__unix__ -D__gnu_linux__ -D__linux__ -Dunix -D__unix -Dlinux -D__linux
-Asystem=linux -Asystem=unix -Asystem=posix
/local/gnu_toolchain/build_area/gcc-trunk/gcc/testsuite/gcc.c-torture/compile/20040219-1.c
-O2 -fpch-preprocess -o 20040219-1.i
ignoring nonexistent directory
"/temp/gnu_toolchain/build_area/obj_gcc-trunk_e500v2/gcc/../lib/gcc/powerpc-unknown-linux-gnuspe/4.2.0/include"
ignoring nonexistent directory
"/temp/gnu_toolchain/build_area/obj_gcc-trunk_e500v2/gcc/../lib/gcc/powerpc-unknown-linux-gnuspe/4.2.0/../../../../powerpc-unknown-linux-gnuspe/sys-include"
ignoring nonexistent directory
"/temp/gnu_toolchain/build_area/obj_gcc-trunk_e500v2/gcc/../lib/gcc/powerpc-unknown-linux-gnuspe/4.2.0/../../../../powerpc-unknown-linux-gnuspe/include"
ignoring nonexistent directory
"/local/gnu_toolchain/install_area/gcc-trunk-20060531-e500v2/lib/gcc/powerpc-unknown-linux-gnuspe/4.2.0/../../../../powerpc-unknown-linux-gnuspe/include"
#include "..." search starts here:
#include <...> search starts here:
 /temp/gnu_toolchain/build_area/obj_gcc-trunk_e500v2/gcc/include

/local/gnu_toolchain/install_area/gcc-trunk-20060531-e500v2/lib/gcc/powerpc-unknown-linux-gnuspe/4.2.0/include

/local/gnu_toolchain/install_area/gcc-trunk-20060531-e500v2/lib/gcc/powerpc-unknown-linux-gnuspe/4.2.0/../../../../powerpc-unknown-linux-gnuspe/sys-include
End of search list.
 /temp/gnu_toolchain/build_area/obj_gcc-trunk_e500v2/gcc/cc1 -fpreprocessed
20040219-1.i -quiet -dumpbase 20040219-1.c -auxbase-strip 20040219-1.o -O2
-version -o 20040219-1.s
GNU C version 4.2.0 20060531 (experimental) (powerpc-unknown-linux-gnuspe)
        compiled by GNU C version 3.4.3.
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
Compiler executable checksum: 4118f9e203b0571767cd04dca35b7482
/local/gnu_toolchain/build_area/gcc-trunk/gcc/testsuite/gcc.c-torture/compile/20040219-1.c:
In function 'foo':
/local/gnu_toolchain/build_area/gcc-trunk/gcc/testsuite/gcc.c-torture/compile/20040219-1.c:1:
error: unrecognizable insn:
(insn 11 10 12 3 (set (subreg:DF (reg:DI 121) 0)
        (mem/u/c/i:DF (reg/f:SI 122) [2 S8 A64])) -1 (nil)
    (nil))
/local/gnu_toolchain/build_area/gcc-trunk/gcc/testsuite/gcc.c-torture/compile/20040219-1.c:1:
internal compiler error: in extract_insn, at recog.c:2077
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.


-- 
           Summary: [4.2 Regression] ICE on gcc testsuite.
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: edmar at freescale dot com
  GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: powerpc-unknown-linux-gnuspe


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


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

* [Bug c/27875] [4.2 Regression] ICE on gcc testsuite.
  2006-06-02 15:39 [Bug c/27875] New: [4.2 Regression] ICE on gcc testsuite edmar at freescale dot com
@ 2006-06-02 15:41 ` edmar at freescale dot com
  2006-06-04 19:36 ` [Bug target/27875] " jsm28 at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: edmar at freescale dot com @ 2006-06-02 15:41 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from edmar at freescale dot com  2006-06-02 15:41 -------
Created an attachment (id=11579)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11579&action=view)
file generated with --save-temps


-- 


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


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

* [Bug target/27875] [4.2 Regression] ICE on gcc testsuite.
  2006-06-02 15:39 [Bug c/27875] New: [4.2 Regression] ICE on gcc testsuite edmar at freescale dot com
  2006-06-02 15:41 ` [Bug c/27875] " edmar at freescale dot com
@ 2006-06-04 19:36 ` jsm28 at gcc dot gnu dot org
  2006-06-04 20:02 ` mmitchel at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2006-06-04 19:36 UTC (permalink / raw)
  To: gcc-bugs



-- 

jsm28 at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.2.0


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


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

* [Bug target/27875] [4.2 Regression] ICE on gcc testsuite.
  2006-06-02 15:39 [Bug c/27875] New: [4.2 Regression] ICE on gcc testsuite edmar at freescale dot com
  2006-06-02 15:41 ` [Bug c/27875] " edmar at freescale dot com
  2006-06-04 19:36 ` [Bug target/27875] " jsm28 at gcc dot gnu dot org
@ 2006-06-04 20:02 ` mmitchel at gcc dot gnu dot org
  2006-06-07  2:52 ` dje at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2006-06-04 20:02 UTC (permalink / raw)
  To: gcc-bugs



-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P1


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


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

* [Bug target/27875] [4.2 Regression] ICE on gcc testsuite.
  2006-06-02 15:39 [Bug c/27875] New: [4.2 Regression] ICE on gcc testsuite edmar at freescale dot com
                   ` (2 preceding siblings ...)
  2006-06-04 20:02 ` mmitchel at gcc dot gnu dot org
@ 2006-06-07  2:52 ` dje at gcc dot gnu dot org
  2006-06-30  5:38 ` pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: dje at gcc dot gnu dot org @ 2006-06-07  2:52 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from dje at gcc dot gnu dot org  2006-06-07 02:31 -------
Can you provide any information about what initially produces the
(subreg:DF (reg:DI)) ?


-- 

dje at gcc dot gnu dot org changed:

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


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


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

* [Bug target/27875] [4.2 Regression] ICE on gcc testsuite.
  2006-06-02 15:39 [Bug c/27875] New: [4.2 Regression] ICE on gcc testsuite edmar at freescale dot com
                   ` (3 preceding siblings ...)
  2006-06-07  2:52 ` dje at gcc dot gnu dot org
@ 2006-06-30  5:38 ` pinskia at gcc dot gnu dot org
  2006-06-30  5:46 ` pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-06-30  5:38 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from pinskia at gcc dot gnu dot org  2006-06-30 05:36 -------
Confirmed, it is produced by expand:
;; return 0.0
(insn 9 8 10 (set (reg:SI 123)
        (high:SI (symbol_ref:SI ("*.LANCHOR0") [flags 0x182]))) -1 (nil)
    (nil))

(insn 10 9 11 (set (reg/f:SI 122)
        (lo_sum:SI (reg:SI 123)
            (symbol_ref:SI ("*.LANCHOR0") [flags 0x182]))) -1 (nil)
    (expr_list:REG_EQUAL (symbol_ref:SI ("*.LANCHOR0") [flags 0x182])
        (nil)))

(insn 11 10 12 (set (subreg:DF (reg:DI 121) 0)
        (mem/u/c/i:DF (reg/f:SI 122) [0 S8 A64])) -1 (nil)
    (nil))

(insn 12 11 13 (set (reg:DI 124)
        (reg:DI 121)) -1 (nil)
    (nil))

(insn 13 12 14 (set (reg:DI 119 [ <result> ])
        (reg:DI 124)) -1 (nil)
    (nil))


-- 

pinskia 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-30 05:36:07
               date|                            |


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


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

* [Bug target/27875] [4.2 Regression] ICE on gcc testsuite.
  2006-06-02 15:39 [Bug c/27875] New: [4.2 Regression] ICE on gcc testsuite edmar at freescale dot com
                   ` (4 preceding siblings ...)
  2006-06-30  5:38 ` pinskia at gcc dot gnu dot org
@ 2006-06-30  5:46 ` pinskia at gcc dot gnu dot org
  2006-06-30  5:48 ` pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-06-30  5:46 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from pinskia at gcc dot gnu dot org  2006-06-30 05:37 -------
It has to do with the return only.
The reduced code ICEs at -O1 and above only:
double foo() { return 0.0;}
because otherwise we get a temporary variable.


-- 


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


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

* [Bug target/27875] [4.2 Regression] ICE on gcc testsuite.
  2006-06-02 15:39 [Bug c/27875] New: [4.2 Regression] ICE on gcc testsuite edmar at freescale dot com
                   ` (5 preceding siblings ...)
  2006-06-30  5:46 ` pinskia at gcc dot gnu dot org
@ 2006-06-30  5:48 ` pinskia at gcc dot gnu dot org
  2006-06-30 14:26 ` dje at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-06-30  5:48 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from pinskia at gcc dot gnu dot org  2006-06-30 05:46 -------
The problem comes from:
1537          if (GET_CODE (return_reg) == PARALLEL)
1538            emit_group_load (return_reg, val, type, int_size_in_bytes
(type));
1539          else
1540            emit_move_insn (return_reg, val);


return_reg is:
(parallel:DF [
        (expr_list:REG_DEP_TRUE (reg:DI 119 [ <result> ])
            (const_int 0 [0x0]))
    ])
But I don't understand why it is DImode.  Because the return type is double,
shouldn't this also be DI.  

To me the mode should be DF and there should be a move without access to memory
to change the mode.


-- 


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


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

* [Bug target/27875] [4.2 Regression] ICE on gcc testsuite.
  2006-06-02 15:39 [Bug c/27875] New: [4.2 Regression] ICE on gcc testsuite edmar at freescale dot com
                   ` (6 preceding siblings ...)
  2006-06-30  5:48 ` pinskia at gcc dot gnu dot org
@ 2006-06-30 14:26 ` dje at gcc dot gnu dot org
  2006-07-08  2:26 ` pinskia at gcc dot gnu dot org
  2006-07-08  2:29 ` pinskia at gcc dot gnu dot org
  9 siblings, 0 replies; 11+ messages in thread
From: dje at gcc dot gnu dot org @ 2006-06-30 14:26 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from dje at gcc dot gnu dot org  2006-06-30 13:39 -------
This may be due to spe_build_register_parallel() called from
rs6000_function_value().


-- 

dje at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |amodra at bigpond dot net
                   |                            |dot au


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


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

* [Bug target/27875] [4.2 Regression] ICE on gcc testsuite.
  2006-06-02 15:39 [Bug c/27875] New: [4.2 Regression] ICE on gcc testsuite edmar at freescale dot com
                   ` (7 preceding siblings ...)
  2006-06-30 14:26 ` dje at gcc dot gnu dot org
@ 2006-07-08  2:26 ` pinskia at gcc dot gnu dot org
  2006-07-08  2:29 ` pinskia at gcc dot gnu dot org
  9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-07-08  2:26 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from pinskia at gcc dot gnu dot org  2006-07-08 02:26 -------
http://gcc.gnu.org/ml/gcc/2006-04/msg00463.html


-- 


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


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

* [Bug target/27875] [4.2 Regression] ICE on gcc testsuite.
  2006-06-02 15:39 [Bug c/27875] New: [4.2 Regression] ICE on gcc testsuite edmar at freescale dot com
                   ` (8 preceding siblings ...)
  2006-07-08  2:26 ` pinskia at gcc dot gnu dot org
@ 2006-07-08  2:29 ` pinskia at gcc dot gnu dot org
  9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-07-08  2:29 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from pinskia at gcc dot gnu dot org  2006-07-08 02:29 -------
This is really a dup of bug 27287 which is also affects 4.1.

*** This bug has been marked as a duplicate of 27287 ***


-- 

pinskia at gcc dot gnu dot org changed:

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


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


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

end of thread, other threads:[~2006-07-08  2:29 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-06-02 15:39 [Bug c/27875] New: [4.2 Regression] ICE on gcc testsuite edmar at freescale dot com
2006-06-02 15:41 ` [Bug c/27875] " edmar at freescale dot com
2006-06-04 19:36 ` [Bug target/27875] " jsm28 at gcc dot gnu dot org
2006-06-04 20:02 ` mmitchel at gcc dot gnu dot org
2006-06-07  2:52 ` dje at gcc dot gnu dot org
2006-06-30  5:38 ` pinskia at gcc dot gnu dot org
2006-06-30  5:46 ` pinskia at gcc dot gnu dot org
2006-06-30  5:48 ` pinskia at gcc dot gnu dot org
2006-06-30 14:26 ` dje at gcc dot gnu dot org
2006-07-08  2:26 ` pinskia at gcc dot gnu dot org
2006-07-08  2:29 ` pinskia 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).