From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11716 invoked by alias); 12 Nov 2014 17:28:42 -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 11690 invoked by uid 48); 12 Nov 2014 17:28:38 -0000 From: "su at cs dot ucdavis.edu" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/63835] New: ICE on valid code at -Os and above on x86_64-linux-gnu Date: Wed, 12 Nov 2014 17:28:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: su at cs dot ucdavis.edu 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 Message-ID: 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: 2014-11/txt/msg01014.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D63835 Bug ID: 63835 Summary: ICE on valid code at -Os and above on x86_64-linux-gnu Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: su at cs dot ucdavis.edu The following code causes an ICE when compiled with the current gcc trunk at -Os and above on x86_64-linux-gnu in both 32-bit and 64-bit modes.=20 It is a regression from 4.9.x.=20 $ gcc-trunk -v Using built-in specs. COLLECT_GCC=3Dgcc-trunk COLLECT_LTO_WRAPPER=3D/usr/local/gcc-trunk/libexec/gcc/x86_64-unknown-linux= -gnu/5.0.0/lto-wrapper Target: x86_64-unknown-linux-gnu Configured with: ../gcc-trunk/configure --prefix=3D/usr/local/gcc-trunk --enable-languages=3Dc,c++ --disable-werror --enable-multilib Thread model: posix gcc version 5.0.0 20141111 (experimental) [trunk revision 217365] (GCC)=20 $=20 $ gcc-trunk -O1 -c small.c $ gcc-4.9 -Os -c small.c $=20 $ gcc-trunk -Os -c small.c small.c: In function =E2=80=98fn2=E2=80=99: small.c:13:1: error: non-trivial conversion at assignment } ^ int unsigned int _6 =3D a.1_3; small.c:13:1: error: non-trivial conversion at assignment int unsigned int _7 =3D a.1_3; small.c:13:1: internal compiler error: verify_gimple failed 0xa87644 verify_gimple_in_cfg(function*, bool) ../../gcc-trunk/gcc/tree-cfg.c:5039 0x98fa56 execute_function_todo ../../gcc-trunk/gcc/passes.c:1868 0x9904c3 execute_todo ../../gcc-trunk/gcc/passes.c:1925 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. $=20 ------------------ int a; int fn1 (int p) { return -p; } void fn2 () { fn1 (-(unsigned int) a); } >>From gcc-bugs-return-466543-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 12 17:53:53 2014 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 6031 invoked by alias); 12 Nov 2014 17:53:53 -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 5656 invoked by uid 48); 12 Nov 2014 17:53:48 -0000 From: "hjl.tools at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/63836] New: [5 Regression] r217349 caused segfault building 178.galgel from cpu2000 Date: Wed, 12 Nov 2014 17:53:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail dot com 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 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: 2014-11/txt/msg01015.txt.bz2 Content-length: 894 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63836 Bug ID: 63836 Summary: [5 Regression] r217349 caused segfault building 178.galgel from cpu2000 Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: hjl.tools at gmail dot com CC: rguenther at suse dot de On Linux/x86, r217349 caused: gfortran -c -o lapak.o -ffixed-form -ffixed-line-length-132 -DSPEC_CPU2000_LP64 -O3 -funroll-loops -ffast-math lapak.f90 ... lapak.f90:10714:0: internal compiler error: verify_gimple failed Please submit a full bug report, with preprocessed source if appropriate. See for instructions. specmake: *** [lapak.o] Error 1