public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "joel at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/47540] ARM THUMB crash with complex numbers
Date: Sun, 30 Jan 2011 17:50:00 -0000	[thread overview]
Message-ID: <bug-47540-4-bbfWAhLwk7@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-47540-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #3 from Joel Sherrill <joel at gcc dot gnu.org> 2011-01-30 16:39:05 UTC ---
Test case also fails on arm-rtems4.11 4.5.2 and arm-rtems4.10 4.4.5.  It works
on arm-rtems4.9 which is 4.3.2

========================= 4.5.2

$ sh -x j
+ /opt/rtems-4.11/bin/arm-rtems4.11-gcc --version
arm-rtems4.11-gcc (GCC) 4.5.2 20101216 (RTEMS
gcc-4.5.2-3.fc14/newlib-1.19.0-1.fc14)
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

+ /opt/rtems-4.11/bin/arm-rtems4.11-gcc -c -O2 -mthumb t1.c
t1.c: In function 'f':
t1.c:3:1: internal compiler error: in find_valid_class, at reload.c:704
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
+ /opt/rtems-4.11/bin/arm-rtems4.11-gcc -c -O1 -mthumb t1.c
t1.c: In function 'f':
t1.c:3:1: internal compiler error: in find_valid_class, at reload.c:704
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
+ /opt/rtems-4.11/bin/arm-rtems4.11-gcc -c -O0 -mthumb t1.c
t1.c: In function 'f':
t1.c:3:1: error: unable to find a register to spill in class 'GENERAL_REGS'
t1.c:3:1: error: this is the insn:
(insn 36 35 37 4 t1.c:3 (set (subreg:DF (reg:DC 147) 0)
        (reg:DF 0 r0)) 184 {*thumb_movdf_insn} (nil))
t1.c:3: confused by earlier errors, bailing out
+ /opt/rtems-4.11/bin/arm-rtems4.11-gcc -c -Os -mthumb t1.c

========================= 4.4.5
$ sh -x j
+ /opt/rtems-4.10/bin/arm-rtems4.10-gcc --version
arm-rtems4.10-gcc (GCC) 4.4.5 20101001 (RTEMS
gcc-4.4.5-4.fc13/newlib-1.18.0-19.fc13)
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

+ /opt/rtems-4.10/bin/arm-rtems4.10-gcc -c -O2 -mthumb t1.c
t1.c: In function 'f':
t1.c:3: internal compiler error: in find_valid_class, at reload.c:700
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
+ /opt/rtems-4.10/bin/arm-rtems4.10-gcc -c -O1 -mthumb t1.c
t1.c: In function 'f':
t1.c:3: internal compiler error: in find_valid_class, at reload.c:700
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
+ /opt/rtems-4.10/bin/arm-rtems4.10-gcc -c -O0 -mthumb t1.c
+ /opt/rtems-4.10/bin/arm-rtems4.10-gcc -c -Os -mthumb t1.c

=========================== 4.3.2
$ sh -x j
+ /opt/rtems-4.9/bin/arm-rtems4.9-gcc --version
arm-rtems4.9-gcc (GCC) 4.3.2 20080827 (RTEMS
gcc-4.3.2-24.el5/newlib-1.16.0-24.el5)
Copyright (C) 2008 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

+ /opt/rtems-4.9/bin/arm-rtems4.9-gcc -c -O2 -mthumb t1.c
+ /opt/rtems-4.9/bin/arm-rtems4.9-gcc -c -O1 -mthumb t1.c
+ /opt/rtems-4.9/bin/arm-rtems4.9-gcc -c -O0 -mthumb t1.c
+ /opt/rtems-4.9/bin/arm-rtems4.9-gcc -c -Os -mthumb t1.c


  parent reply	other threads:[~2011-01-30 16:39 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-30  9:44 [Bug target/47540] New: " ian at airs dot com
2011-01-30 10:24 ` [Bug target/47540] " ian at airs dot com
2011-01-30 13:34 ` mikpe at it dot uu.se
2011-01-30 17:50 ` joel at gcc dot gnu.org [this message]
2011-01-31 10:50 ` mikpe at it dot uu.se
2011-01-31 19:04 ` ian at airs dot com
2011-02-01 10:12 ` mikpe at it dot uu.se
2011-02-01 10:25 ` rearnsha at gcc dot gnu.org
2011-02-28  4:17 ` ramana at gcc dot gnu.org
2011-03-25 20:10 ` jakub at gcc dot gnu.org
2011-04-28 16:51 ` rguenth at gcc dot gnu.org
2013-07-10 10:59 ` sebastian.huber@embedded-brains.de
2015-01-02 20:53 ` joel at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-47540-4-bbfWAhLwk7@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).