public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/58269] New: [4.9 Regression] ICE when building libobjc on x86_64-apple-darwin10 after revision 201915
@ 2013-08-29  8:37 dominiq at lps dot ens.fr
  2013-08-29 11:18 ` [Bug c/58269] [4.9 Regression] ICE when building libobjc on x86_64-apple-darwin* " iains at gcc dot gnu.org
                   ` (23 more replies)
  0 siblings, 24 replies; 25+ messages in thread
From: dominiq at lps dot ens.fr @ 2013-08-29  8:37 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 58269
           Summary: [4.9 Regression] ICE when building libobjc on
                    x86_64-apple-darwin10 after revision 201915
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dominiq at lps dot ens.fr
                CC: iains at gcc dot gnu.org, kyukhin at gcc dot gnu.org
              Host: x86_64-apple-darwin10
            Target: x86_64-apple-darwin10
             Build: x86_64-apple-darwin10

Created attachment 30715
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30715&action=edit
Preprocessed file

On x86_64-apple-darwin10 building libobjc gives the following ICE after
revision 201915

...
libtool: compile:  /opt/gcc/build_w/./gcc/xgcc -B/opt/gcc/build_w/./gcc/
-B/opt/gcc/gcc4.9w/x86_64-apple-darwin10.8.0/bin/
-B/opt/gcc/gcc4.9w/x86_64-apple-darwin10.8.0/lib/ -isystem
/opt/gcc/gcc4.9w/x86_64-apple-darwin10.8.0/include -isystem
/opt/gcc/gcc4.9w/x86_64-apple-darwin10.8.0/sys-include
/opt/gcc/work/libobjc/sendmsg.c -c -I. -I/opt/gcc/work/libobjc -g -O2 -W -Wall
-Wwrite-strings -Wstrict-prototypes -DIN_GCC -DIN_TARGET_LIBS
-fno-strict-aliasing -fexceptions -I/opt/gcc/work/libobjc/../gcc
-I/opt/gcc/work/libobjc/../gcc/config -I../.././gcc
-I/opt/gcc/work/libobjc/../libgcc -I../libgcc
-I/opt/gcc/work/libobjc/../include  -fno-common -DPIC -o .libs/sendmsg.o
/opt/gcc/work/libobjc/sendmsg.c: In function '__objc_word_forward':
/opt/gcc/work/libobjc/sendmsg.c:848:1: internal compiler error: in check_rtl,
at lra.c:2034
 }
 ^

/opt/gcc/work/libobjc/sendmsg.c:848:1: internal compiler error: Abort trap
xgcc: internal compiler error: Abort trap (program cc1)
./libtool: line 1147: 70450 Abort trap              /opt/gcc/build_w/./gcc/xgcc
-B/opt/gcc/build_w/./gcc/ -B/opt/gcc/gcc4.9w/x86_64-apple-darwin10.8.0/bin/
-B/opt/gcc/gcc4.9w/x86_64-apple-darwin10.8.0/lib/ -isystem
/opt/gcc/gcc4.9w/x86_64-apple-darwin10.8.0/include -isystem
/opt/gcc/gcc4.9w/x86_64-apple-darwin10.8.0/sys-include
/opt/gcc/work/libobjc/sendmsg.c -c -I. -I/opt/gcc/work/libobjc -g -O2 -W -Wall
-Wwrite-strings -Wstrict-prototypes -DIN_GCC -DIN_TARGET_LIBS
-fno-strict-aliasing -fexceptions -I/opt/gcc/work/libobjc/../gcc
-I/opt/gcc/work/libobjc/../gcc/config -I../.././gcc
-I/opt/gcc/work/libobjc/../libgcc -I../libgcc
-I/opt/gcc/work/libobjc/../include -fno-common -DPIC -o .libs/sendmsg.o
make[2]: *** [sendmsg.lo] Error 1
make[1]: *** [all-target-libobjc] Error 2
...

This can be reproduced with the attached preprocessed file without option:

[macbook] f90/bug% gcc49 -c sendmsg.i
/opt/gcc/work/libobjc/sendmsg.c: In function '__objc_word_forward':
/opt/gcc/work/libobjc/sendmsg.c:848:1: internal compiler error: in check_rtl,
at lra.c:2034
 }
 ^

/opt/gcc/work/libobjc/sendmsg.c:848:1: internal compiler error: Abort trap
gcc49: internal compiler error: Abort trap (program cc1)
Abort

If gcc is configured with --enable-checking=release, the ICE is

[macbook] f90/bug% /opt/gcc/gcc4.9p-201916/bin/gcc -c sendmsg.i
/opt/gcc/work/libobjc/sendmsg.c: In function '__objc_word_forward':
/opt/gcc/work/libobjc/sendmsg.c:848:1: error: insn does not satisfy its
constraints:
 }
 ^
(insn 112 44 45 2 (set (reg:TI 45 xmm8 [89])
        (reg:TI 53 )) /opt/gcc/work/libobjc/sendmsg.c:842 84 {*movti_internal}
     (expr_list:REG_DEAD (reg:TI 53 )
        (nil)))
/opt/gcc/work/libobjc/sendmsg.c:848:1: internal compiler error: in
extract_constrain_insn_cached, at recog.c:2073

/opt/gcc/work/libobjc/sendmsg.c:848:1: internal compiler error: Abort trap
gcc: internal compiler error: Abort trap (program cc1)
Abort

The file compiles at r201908.


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

end of thread, other threads:[~2013-09-15 18:24 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-08-29  8:37 [Bug c/58269] New: [4.9 Regression] ICE when building libobjc on x86_64-apple-darwin10 after revision 201915 dominiq at lps dot ens.fr
2013-08-29 11:18 ` [Bug c/58269] [4.9 Regression] ICE when building libobjc on x86_64-apple-darwin* " iains at gcc dot gnu.org
2013-08-31 19:03 ` [Bug target/58269] " iains at gcc dot gnu.org
2013-08-31 19:36 ` iains at gcc dot gnu.org
2013-09-01  9:06 ` iains at gcc dot gnu.org
2013-09-01 16:13 ` dominiq at lps dot ens.fr
2013-09-05 15:14 ` tocarip.intel at gmail dot com
2013-09-05 15:29 ` iains at gcc dot gnu.org
2013-09-06 10:36 ` kyukhin at gcc dot gnu.org
2013-09-06 10:47 ` iains at gcc dot gnu.org
2013-09-06 11:18 ` paolo.carlini at oracle dot com
2013-09-06 11:22 ` iains at gcc dot gnu.org
2013-09-06 11:26 ` rguenth at gcc dot gnu.org
2013-09-06 11:34 ` paolo.carlini at oracle dot com
2013-09-06 12:03 ` dominiq at lps dot ens.fr
2013-09-06 12:38 ` iains at gcc dot gnu.org
2013-09-06 15:43 ` howarth at nitro dot med.uc.edu
2013-09-06 15:52 ` iains at gcc dot gnu.org
2013-09-06 18:35 ` mikestump at comcast dot net
2013-09-06 18:52 ` iains at gcc dot gnu.org
2013-09-06 19:04 ` howarth at nitro dot med.uc.edu
2013-09-06 19:25 ` mikestump at comcast dot net
2013-09-14 11:10 ` iains at gcc dot gnu.org
2013-09-15 18:23 ` mrs at gcc dot gnu.org
2013-09-15 18:24 ` mrs at gcc dot gnu.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).