From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 123378 invoked by alias); 10 Mar 2015 19:12:45 -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 123276 invoked by uid 48); 10 Mar 2015 19:12:41 -0000 From: "vmakarov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/63491] Ice in LRA with simple vector test case on power Date: Tue, 10 Mar 2015 19:12:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: vmakarov 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: 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-03/txt/msg01158.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D63491 --- Comment #7 from Vladimir Makarov --- (In reply to Peter Bergner from comment #6) > (In reply to Vladimir Makarov from comment #5) > > Sorry, I can not reproduce the bug on the today trunk. Probably it was > > fixed by numerous changes in LRA since Oct. >=20 > This still fails for me today on my big endian system using revision 2207= 92. > Did you use the exact same compiler options I used? >=20 >=20 > [bergner@makalu-lp1 LRA]$ cat pr63491.i=20 > typedef __int128_t __attribute__((__vector_size__(16))) vector_128_t; > typedef unsigned long long scalar_64_t; >=20 > vector_128_t > foo (void) > { > union { > scalar_64_t i64[2]; > vector_128_t v128; > } u; > u.i64[0] =3D 1; > u.i64[1] =3D 2; > return u.v128; > } > [bergner@makalu-lp1 LRA]$ > /home/bergner/gcc/build/gcc-fsf-mainline-pr63491/gcc/xgcc > -B/home/bergner/gcc/build/gcc-fsf-mainline-pr63491/gcc -O1 -m64 -mcpu=3Dp= ower8 > -mlra -S pr63491.i=20 > pr63491.i: In function =E2=80=98foo=E2=80=99: > pr63491.i:14:1: internal compiler error: in check_and_process_move, at > lra-constraints.c:1170 > } > ^ > 0x10994a7b check_and_process_move > /home/bergner/gcc/gcc-fsf-mainline-pr63491/gcc/lra-constraints.c:1167 > 0x1099d45b curr_insn_transform > /home/bergner/gcc/gcc-fsf-mainline-pr63491/gcc/lra-constraints.c:3463 > 0x109a1cdb lra_constraints(bool) > /home/bergner/gcc/gcc-fsf-mainline-pr63491/gcc/lra-constraints.c:4451 > 0x1098221b lra(_IO_FILE*) > /home/bergner/gcc/gcc-fsf-mainline-pr63491/gcc/lra.c:2292 > 0x109050d7 do_reload > /home/bergner/gcc/gcc-fsf-mainline-pr63491/gcc/ira.c:5418 > 0x1090576f execute > /home/bergner/gcc/gcc-fsf-mainline-pr63491/gcc/ira.c:5589 > Please submit a full bug report, > with preprocessed source if appropriate. I tried again the test on gcc rev. 221324 (Mar 10) with the mentioned optio= ns and I've failed to reproduce the crash. >>From gcc-bugs-return-480015-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 10 19:21:08 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 6405 invoked by alias); 10 Mar 2015 19:21:07 -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 6335 invoked by uid 55); 10 Mar 2015 19:21:03 -0000 From: "yroux at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/64896] [4.9/5 Regression] ICE in get_address_mode, at rtlanal.c:5442 Date: Tue, 10 Mar 2015 19:21:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: yroux at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: hubicka at gcc dot gnu.org X-Bugzilla-Target-Milestone: 5.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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-03/txt/msg01159.txt.bz2 Content-length: 1025 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64896 --- Comment #11 from Yvan Roux --- Author: yroux Date: Tue Mar 10 19:20:30 2015 New Revision: 221333 URL: https://gcc.gnu.org/viewcvs?rev=221333&root=gcc&view=rev Log: gcc/ 2015-03-10 Yvan Roux Backport from trunk r220489. 2015-02-06 Jakub Jelinek PR ipa/64896 * cgraphunit.c (cgraph_node::expand_thunk): If restype is not is_gimple_reg_type nor the thunk_fndecl returns aggregate_value_p, set restmp to a temporary variable instead of resdecl. gcc/testsuite/ 2015-03-10 Yvan Roux Backport from trunk r220489. 2015-02-06 Jakub Jelinek PR ipa/64896 * g++.dg/ipa/pr64896.C: New test. Added: branches/gcc-4_9-branch/gcc/testsuite/g++.dg/ipa/pr64896.C Modified: branches/gcc-4_9-branch/gcc/ChangeLog branches/gcc-4_9-branch/gcc/cgraphunit.c branches/gcc-4_9-branch/gcc/testsuite/ChangeLog