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 c/50928] m32c ICE building RTEMS
Date: Sat, 03 Nov 2012 17:22:00 -0000	[thread overview]
Message-ID: <bug-50928-4-3pNzVbu1yV@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-50928-4@http.gcc.gnu.org/bugzilla/>


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

--- Comment #2 from Joel Sherrill <joel at gcc dot gnu.org> 2012-11-03 17:22:30 UTC ---
xgcc (GCC) 4.8.0 20121103 (experimental) [trunk revision 193124]

Now fails just building libgcc with what appears to be the same error.

Short command line for preprocessed source I will attach

 /home/joel/v850/tools/b-gcc-svn/./gcc/xgcc
-B/home/joel/v850/tools/b-gcc-svn/./gcc/ -c m32c_bug.c -O2 -mcpu=m32cm

At -O0, it compiles

Full command line:

/home/joel/v850/tools/b-gcc-svn/./gcc/xgcc
-B/home/joel/v850/tools/b-gcc-svn/./gcc/ -nostdinc
-B/home/joel/v850/tools/b-gcc-svn/m32c-rtems4.11/newlib/ -isystem
/home/joel/v850/tools/b-gcc-svn/m32c-rtems4.11/newlib/targ-include -isystem
/home/joel/v850/tools/gcc-svn/newlib/libc/include
-B/home/joel/v850/install/m32c-rtems4.11/bin/
-B/home/joel/v850/install/m32c-rtems4.11/lib/ -isystem
/home/joel/v850/install/m32c-rtems4.11/include -isystem
/home/joel/v850/install/m32c-rtems4.11/sys-include    -g -O2 -mcpu=m32cm -O2
-I../../../../gcc-svn/libgcc/../newlib/libc/sys/rtems/include -g -O2 -DIN_GCC
-DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wwrite-strings -Wcast-qual
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem
./include   -g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector
-Dinhibit_libc  -I. -I. -I../../.././gcc -I../../../../gcc-svn/libgcc
-I../../../../gcc-svn/libgcc/. -I../../../../gcc-svn/libgcc/../gcc
-I../../../../gcc-svn/libgcc/../include  -DHAVE_CC_TLS -DUSE_EMUTLS -o
_ffssi2.o -MT _ffssi2.o -MD -MP -MF _ffssi2.dep -DL_ffssi2 -c
../../../../gcc-svn/libgcc/libgcc2.c -fvisibility=hidden -DHIDE_EXPORTS
../../../../gcc-svn/libgcc/libgcc2.c: In function '__ffssi2':
../../../../gcc-svn/libgcc/libgcc2.c:524:1: error: unable to find a register to
spill in class 'A_REGS'
 }
 ^
../../../../gcc-svn/libgcc/libgcc2.c:524:1: error: this is the insn:
(insn 58 56 59 10 (set (reg:HI 0 r0 [orig:26 D.2772 ] [26])
        (zero_extend:HI (mem/u/j:QI (plus:PSI (subreg:PSI (reg:SI 68 [ D.2773
]) 0)
                    (symbol_ref:PSI ("__clz_tab") [flags 0x40] <var_decl
0xb77dc5c0 __clz_tab>)) [0 __clz_tab S1 A8])))
../../../../gcc-svn/libgcc/libgcc2.c:522 115 {zero_extendqihi2}
     (expr_list:REG_DEAD (reg:SI 68 [ D.2773 ])
        (nil)))
../../../../gcc-svn/libgcc/libgcc2.c:524:1: internal compiler error: in
spill_failure, at reload1.c:2124
0x849f565 _fatal_insn(char const*, rtx_def const*, char const*, int, char
const*)
    ../../gcc-svn/gcc/rtl-error.c:110
0x849f2c3 spill_failure
    ../../gcc-svn/gcc/reload1.c:2124
0x849f2c3 find_reload_regs
    ../../gcc-svn/gcc/reload1.c:2050
0x849f2c3 select_reload_regs
    ../../gcc-svn/gcc/reload1.c:2070
0x849f2c3 reload(rtx_def*, int)
    ../../gcc-svn/gcc/reload1.c:991
0x83cb8ea do_reload
    ../../gcc-svn/gcc/ira.c:4636
0x83cb8ea rest_of_handle_reload
    ../../gcc-svn/gcc/ira.c:4737


  parent reply	other threads:[~2012-11-03 17:22 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-30 21:08 [Bug c/50928] New: " joel at gcc dot gnu.org
2011-10-30 21:10 ` [Bug c/50928] " joel at gcc dot gnu.org
2012-11-03 17:22 ` joel at gcc dot gnu.org [this message]
2012-11-03 17:23 ` [Bug c/50928] m32c " joel at gcc dot gnu.org
2013-03-26  8:30 ` corsepiu at gcc dot gnu.org
2015-01-15 18:14 ` [Bug target/50928] " joel at gcc dot gnu.org
2015-01-20  0:54 ` dj at redhat dot com
2015-01-20 18:41 ` joel at gcc dot gnu.org
2015-01-20 20:01 ` bernd.edlinger at hotmail dot de
2015-01-20 20:08 ` dj at redhat dot com
2015-01-20 21:36 ` dj at redhat dot com
2015-01-21  3:34 ` bernd.edlinger at hotmail dot de
2015-01-23 16:34 ` edlinger at gcc dot gnu.org
2015-01-24  2:39 ` dj at redhat dot com

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-50928-4-3pNzVbu1yV@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).