From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31557 invoked by alias); 14 Jan 2015 19:47:36 -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 31495 invoked by uid 48); 14 Jan 2015 19:47:27 -0000 From: "howarth at bromo dot med.uc.edu" To: gcc-bugs@gcc.gnu.org Subject: [Bug libffi/64572] r219477 breaks bootstrap on x86_64 darwin Date: Wed, 14 Jan 2015 19:47:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libffi X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: howarth at bromo dot med.uc.edu X-Bugzilla-Status: ASSIGNED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rth at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-01/txt/msg01227.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D64572 --- Comment #13 from howarth at bromo dot med.uc.edu --- (In reply to Dominique d'Humieres from comment #8) >=20 > =3D=3D=3D libffi Summary for unix/-m32 =3D=3D=3D >=20 > # of expected passes 1870 > # of unexpected failures 20 > # of unsupported tests 30 >=20 > Running target unix/-m64 >=20 > =3D=3D=3D libffi Summary for unix/-m64 =3D=3D=3D >=20 > # of expected passes 1904 > # of unsupported tests 30 >=20 > =3D=3D=3D libffi Summary =3D=3D=3D >=20 > # of expected passes 3774 > # of unexpected failures 20 > # of unsupported tests 60 >=20 > i.e., 20 failures with -m32. These 32-bit failures appear to be darwin specific as a build of current gcc trunk on x86_64 Fedora 15 and manually running there test suite in build/x86_64-unknown-linux-gnu/32/libffi with 'make -k check RUNTESTFLAGS=3D"--target_board=3Dunix'{-m32}'"' shows... =3D=3D=3D libffi Summary =3D=3D=3D # of expected passes 2204 >>From gcc-bugs-return-473234-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 14 19:56:14 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 7246 invoked by alias); 14 Jan 2015 19:56:11 -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 Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 6376 invoked by uid 48); 14 Jan 2015 19:55:54 -0000 From: "joel at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/64599] New: arm-rtems ICE on valid code (-mcpu=xscale) Date: Wed, 14 Jan 2015 19:56:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: joel at gcc dot gnu.org 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 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: 2015-01/txt/msg01228.txt.bz2 Content-length: 3521 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64599 Bug ID: 64599 Summary: arm-rtems ICE on valid code (-mcpu=xscale) Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: joel at gcc dot gnu.org Created attachment 34449 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34449&action=edit Preprocessed RTEMS source which produces the error $ arm-rtems4.11-gcc --version arm-rtems4.11-gcc (GCC) 5.0.0 20150114 (experimental) Last hash per git: commit d4cbe45aae70e38c12f3cd7430427c98289d7882 The fix for 64460 is in place. Attached test case compiles at -Os but not -O1 or -O2. -O2 without -mcpu=xscale also works. arm-rtems4.11-gcc --pipe -DHAVE_CONFIG_H -I.. -I../../cpukit/../../../gumstix/lib/include -mcpu=xscale -O2 -g -Wall -Wmissing-prototypes -Wimplicit-function-declaration -Wstrict-prototypes -Wnested-externs -MT src/libcsupport_a-cfgetospeed.o -MD -MP -MF src/.deps/libcsupport_a-cfgetospeed.Tpo -c -o src/libcsupport_a-cfgetospeed.o `test -f 'src/cfgetospeed.c' || echo '../../../../../../rtems/c/src/../../cpukit/libcsupport/'`src/cfgetospeed.c ../../../../../../rtems/c/src/../../cpukit/libcsupport/src/cfgetospeed.c: In function 'cfgetospeed': ../../../../../../rtems/c/src/../../cpukit/libcsupport/src/cfgetospeed.c:37:1: internal compiler error: in decompose, at rtl.h:2005 } ^ 0x41c918 wi::int_traits >::decompose(long*, unsigned int, std::pair const&) ../../gcc/gcc/rtl.h:2005 0x91eae0 wi::int_traits >::decompose(long*, unsigned int, std::pair const&) ../../gcc/gcc/rtl.h:2005 0x91eae0 wide_int_ref_storage::wide_int_ref_storage >(std::pair const&, unsigned int) ../../gcc/gcc/wide-int.h:957 0x91eae0 generic_wide_int >::generic_wide_int >(std::pair const&, unsigned int) ../../gcc/gcc/wide-int.h:733 0x91eae0 wi::binary_traits, std::pair, wi::int_traits >::precision_type, wi::int_traits >::precision_type>::result_type wi::sub, std::pair >(std::pair const&, std::pair const&) ../../gcc/gcc/wide-int.h:2357 0x91eae0 simplify_const_binary_operation(rtx_code, machine_mode, rtx_def*, rtx_def*) ../../gcc/gcc/simplify-rtx.c:3867 0x91bf3f simplify_binary_operation(rtx_code, machine_mode, rtx_def*, rtx_def*) ../../gcc/gcc/simplify-rtx.c:1972 0x91fc77 simplify_associative_operation ../../gcc/gcc/simplify-rtx.c:1929 0x9188cc simplify_binary_operation_1 ../../gcc/gcc/simplify-rtx.c:2967 0xdd4f21 combine_simplify_rtx ../../gcc/gcc/combine.c:5541 0xdd743b subst ../../gcc/gcc/combine.c:5374 0xdd70c8 subst ../../gcc/gcc/combine.c:5319 0xdd97ce try_combine ../../gcc/gcc/combine.c:3266 0xddef81 combine_instructions ../../gcc/gcc/combine.c:1312 0xddef81 rest_of_handle_combine ../../gcc/gcc/combine.c:14094 0xddef81 execute ../../gcc/gcc/combine.c:14137 Please submit a full bug report, with preprocessed source if appropriate.