public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/38694]  New: gcc.c-torture/compile/pr11832.c ICE on arm-linux-gnueabi on 4.3.2 and trunk
@ 2009-01-02 13:15 laurent at guerby dot net
  2009-01-02 13:18 ` [Bug c/38694] " laurent at guerby dot net
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: laurent at guerby dot net @ 2009-01-02 13:15 UTC (permalink / raw)
  To: gcc-bugs

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

On 4.3.2-1 debian gnueabi:

guerby@gcc50:~$ gcc
/home/guerby/trunk/gcc/testsuite/gcc.c-torture/compile/pr11832.c   -O0 
-frtl-abstract-sequences
/home/guerby/trunk/gcc/testsuite/gcc.c-torture/compile/pr11832.c: In function
‘foo’:
/home/guerby/trunk/gcc/testsuite/gcc.c-torture/compile/pr11832.c:35: error:
unrecognizable insn:
(jump_insn 222 0 0 (jump_insn 221 0 0 (set (pc)
            (reg:SI 0 r0)) -1 (nil)) -1 (nil))


With trunk rev 142984

/home/guerby/trunk/gcc/testsuite/gcc.c-torture/compile/pr11832.c: In function
'foo':
/home/guerby/trunk/gcc/testsuite/gcc.c-torture/compile/pr11832.c:35: error:
unrecognizable insn:
(jump_insn
217/home/guerby/trunk/gcc/testsuite/gcc.c-torture/compile/pr11832.c:35:
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.


(gdb) bt
#0  _fatal_insn_not_found (insn=0x40245960, file=0x7ba0b0
"../../trunk/gcc/config/arm/arm.md", line=158, function=0x7b9ff4
"insn_default_length") at ../../trunk/gcc/rtl-error.c:118
#1  0x005262bc in insn_default_length (insn=0x40245960) at
../../trunk/gcc/config/arm/arm.md:158
#2  0x00182f4c in get_attr_length (insn=0x40245960) at
../../trunk/gcc/final.c:415
#3  0x002bfd78 in compute_rtx_cost (insn=0x40245960) at
../../trunk/gcc/rtl-factoring.c:343
#4  0x002c05d8 in rest_of_rtl_seqabstr () at
../../trunk/gcc/rtl-factoring.c:1382
#5  0x0026ebc8 in execute_one_pass (pass=0x91ac54) at
../../trunk/gcc/passes.c:1279
#6  0x0026ee34 in execute_pass_list (pass=0x91ac54) at
../../trunk/gcc/passes.c:1328
#7  0x0026ee4c in execute_pass_list (pass=0x91a3c4) at
../../trunk/gcc/passes.c:1329
#8  0x0026ee4c in execute_pass_list (pass=0x91a390) at
../../trunk/gcc/passes.c:1329
#9  0x003726f4 in tree_rest_of_compilation (fndecl=0x40232700) at
../../trunk/gcc/tree-optimize.c:419
#10 0x004e92d4 in cgraph_expand_function (node=0x401b0900) at
../../trunk/gcc/cgraphunit.c:1047
#11 0x004e9550 in cgraph_output_in_order () at
../../trunk/gcc/cgraphunit.c:1195
#12 0x004eb3a4 in cgraph_optimize () at ../../trunk/gcc/cgraphunit.c:1306
#13 0x0001cabc in c_write_global_declarations () at
../../trunk/gcc/c-decl.c:8074
#14 0x0031e58c in toplev_main (argc=<value optimized out>, argv=<value
optimized out>) at ../../trunk/gcc/toplev.c:981
#15 0x40095dfc in __libc_start_main () from /lib/libc.so.6
#16 0x0000aa7c in _start ()
(gdb)


-- 
           Summary: gcc.c-torture/compile/pr11832.c ICE on arm-linux-gnueabi
                    on 4.3.2 and trunk
           Product: gcc
           Version: 4.3.2
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: laurent at guerby dot net
 GCC build triplet: arm-linux-gnueabi
  GCC host triplet: arm-linux-gnueabi
GCC target triplet: arm-linux-gnueabi


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


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

* [Bug c/38694] gcc.c-torture/compile/pr11832.c ICE on arm-linux-gnueabi on 4.3.2 and trunk
  2009-01-02 13:15 [Bug c/38694] New: gcc.c-torture/compile/pr11832.c ICE on arm-linux-gnueabi on 4.3.2 and trunk laurent at guerby dot net
@ 2009-01-02 13:18 ` laurent at guerby dot net
  2009-01-02 20:26 ` [Bug middle-end/38694] " pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: laurent at guerby dot net @ 2009-01-02 13:18 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from laurent at guerby dot net  2009-01-02 13:17 -------
Similar failure for another test: 

Executing on host: /home/guerby/build-142984/gcc/xgcc
-B/home/guerby/build-142984/gcc/
/home/guerby/trunk/gcc/testsuite/gcc.c-torture/compile/pr33009.c   -Os 
-frtl-abstract-sequences -S  -o pr33009.s    (t\
imeout = 300)
/home/guerby/trunk/gcc/testsuite/gcc.c-torture/compile/pr33009.c: In function
'foo':^M
/home/guerby/trunk/gcc/testsuite/gcc.c-torture/compile/pr33009.c:41: error:
unrecognizable insn:^M
(jump_insn 132 0 0 (jump_insn 131 0 0 (set (pc)^M
            (reg:SI 0 r0)) -1 (nil)) -1 (nil))^M
/home/guerby/trunk/gcc/testsuite/gcc.c-torture/compile/pr33009.c:41: internal
compiler error: in insn_default_length, at config/arm/arm.md:158^M


-- 


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


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

* [Bug middle-end/38694] gcc.c-torture/compile/pr11832.c ICE on arm-linux-gnueabi on 4.3.2 and trunk
  2009-01-02 13:15 [Bug c/38694] New: gcc.c-torture/compile/pr11832.c ICE on arm-linux-gnueabi on 4.3.2 and trunk laurent at guerby dot net
  2009-01-02 13:18 ` [Bug c/38694] " laurent at guerby dot net
@ 2009-01-02 20:26 ` pinskia at gcc dot gnu dot org
  2009-01-10 13:08 ` [Bug middle-end/38694] gcc.c-torture/compile/pr11832.c and pr33009.c -frtl-abstract-sequences " laurent at guerby dot net
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2009-01-02 20:26 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from pinskia at gcc dot gnu dot org  2009-01-02 20:20 -------
-frtl-abstract-sequences is known to be very broken.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|c                           |middle-end


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


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

* [Bug middle-end/38694] gcc.c-torture/compile/pr11832.c and pr33009.c -frtl-abstract-sequences ICE on arm-linux-gnueabi on 4.3.2 and trunk
  2009-01-02 13:15 [Bug c/38694] New: gcc.c-torture/compile/pr11832.c ICE on arm-linux-gnueabi on 4.3.2 and trunk laurent at guerby dot net
  2009-01-02 13:18 ` [Bug c/38694] " laurent at guerby dot net
  2009-01-02 20:26 ` [Bug middle-end/38694] " pinskia at gcc dot gnu dot org
@ 2009-01-10 13:08 ` laurent at guerby dot net
  2009-02-19 14:58 ` danglin at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: laurent at guerby dot net @ 2009-01-10 13:08 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from laurent at guerby dot net  2009-01-10 13:08 -------
http://gcc.gnu.org/ml/gcc-testresults/2009-01/msg00868.html

Might be related to:

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

Looks like the solution has been to disable those tests on a long list of
platforms. May be it's better to just remove -frtl-abstract-sequences from GCC
if it works nearly nowhere?


-- 

laurent at guerby dot net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|gcc.c-                      |gcc.c-
                   |torture/compile/pr11832.c   |torture/compile/pr11832.c
                   |ICE on arm-linux-gnueabi on |and pr33009.c -frtl-
                   |4.3.2 and trunk             |abstract-sequences ICE on
                   |                            |arm-linux-gnueabi on 4.3.2
                   |                            |and trunk


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


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

* [Bug middle-end/38694] gcc.c-torture/compile/pr11832.c and pr33009.c -frtl-abstract-sequences ICE on arm-linux-gnueabi on 4.3.2 and trunk
  2009-01-02 13:15 [Bug c/38694] New: gcc.c-torture/compile/pr11832.c ICE on arm-linux-gnueabi on 4.3.2 and trunk laurent at guerby dot net
                   ` (2 preceding siblings ...)
  2009-01-10 13:08 ` [Bug middle-end/38694] gcc.c-torture/compile/pr11832.c and pr33009.c -frtl-abstract-sequences " laurent at guerby dot net
@ 2009-02-19 14:58 ` danglin at gcc dot gnu dot org
  2009-04-14 22:36 ` jingyu at google dot com
  2009-04-14 22:41 ` pinskia at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: danglin at gcc dot gnu dot org @ 2009-02-19 14:58 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from danglin at gcc dot gnu dot org  2009-02-19 14:58 -------
Confirmed with:

-bash-3.2$ ../../xgcc -B../../ -v
Reading specs from ../../specs
Target: arm-none-linux-gnueabi
Configured with: ../gcc/configure --host=arm-none-linux-gnueabi
--target=arm-none-linux-gnueabi --build=arm-none-linux-gnueabi
--disable-stage1-checking --enable-languages=c,c++,fortran --enable-shared
--enable-threads --disable-multilib --disable-libmudflap --disable-libssp
--enable-symvers=gnu --enable-__cxa_atexit --disable-libstdcxx-pch
--disable-checking --prefix=/home/dave/opt/gnu/gcc/gcc-4.4.0
--with-gmp=/home/dave/opt/gnu
Thread model: posix
gcc version 4.4.0 20090218 (experimental) [trunk revision 144268] (GCC)


-- 

danglin at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |danglin at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2009-02-19 14:58:42
               date|                            |


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


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

* [Bug middle-end/38694] gcc.c-torture/compile/pr11832.c and pr33009.c -frtl-abstract-sequences ICE on arm-linux-gnueabi on 4.3.2 and trunk
  2009-01-02 13:15 [Bug c/38694] New: gcc.c-torture/compile/pr11832.c ICE on arm-linux-gnueabi on 4.3.2 and trunk laurent at guerby dot net
                   ` (3 preceding siblings ...)
  2009-02-19 14:58 ` danglin at gcc dot gnu dot org
@ 2009-04-14 22:36 ` jingyu at google dot com
  2009-04-14 22:41 ` pinskia at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: jingyu at google dot com @ 2009-04-14 22:36 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from jingyu at google dot com  2009-04-14 22:35 -------
I found that gcc.c-torture/compile/pr11832.c and pr33009.c were deleted from
gcc trunk on 2009-03-31.
2009-03-31  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
        * gcc.c-torture/compile/pr33009.c: Delete.
        * gcc.c-torture/compile/pr11832.c: Likewise.

However, these two files are still in gcc-4.4 branch (gcc version 4.4.0
20090414 (prerelease)).

Could someone delete these two files from gcc-4.4 branch?

Thanks!


-- 

jingyu at google dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jingyu at google dot com


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


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

* [Bug middle-end/38694] gcc.c-torture/compile/pr11832.c and pr33009.c -frtl-abstract-sequences ICE on arm-linux-gnueabi on 4.3.2 and trunk
  2009-01-02 13:15 [Bug c/38694] New: gcc.c-torture/compile/pr11832.c ICE on arm-linux-gnueabi on 4.3.2 and trunk laurent at guerby dot net
                   ` (4 preceding siblings ...)
  2009-04-14 22:36 ` jingyu at google dot com
@ 2009-04-14 22:41 ` pinskia at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2009-04-14 22:41 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from pinskia at gcc dot gnu dot org  2009-04-14 22:41 -------
-frtl-abstract-sequences was removed from the trunk so closing as won't fix.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX
   Target Milestone|---                         |4.5.0


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


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

end of thread, other threads:[~2009-04-14 22:41 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-01-02 13:15 [Bug c/38694] New: gcc.c-torture/compile/pr11832.c ICE on arm-linux-gnueabi on 4.3.2 and trunk laurent at guerby dot net
2009-01-02 13:18 ` [Bug c/38694] " laurent at guerby dot net
2009-01-02 20:26 ` [Bug middle-end/38694] " pinskia at gcc dot gnu dot org
2009-01-10 13:08 ` [Bug middle-end/38694] gcc.c-torture/compile/pr11832.c and pr33009.c -frtl-abstract-sequences " laurent at guerby dot net
2009-02-19 14:58 ` danglin at gcc dot gnu dot org
2009-04-14 22:36 ` jingyu at google dot com
2009-04-14 22:41 ` 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).