From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32222 invoked by alias); 29 Aug 2013 08:37:41 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 32171 invoked by uid 48); 29 Aug 2013 08:37:37 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/58269] New: [4.9 Regression] ICE when building libobjc on x86_64-apple-darwin10 after revision 201915 Date: Thu, 29 Aug 2013 08:37:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc cf_gcchost cf_gcctarget cf_gccbuild attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2013-08/txt/msg01517.txt.bz2 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.