From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 54829 invoked by alias); 20 Jul 2015 19:31:23 -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 54809 invoked by uid 48); 20 Jul 2015 19:31:19 -0000 From: "su at cs dot ucdavis.edu" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/66949] New: ICE at -O2 and -O3 on x86_64-linux-gnu in tree_ssa_phiopt_worker, at tree-ssa-phiopt.c:335 Date: Mon, 20 Jul 2015 19:31: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: su at cs dot ucdavis.edu X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: 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 target_milestone 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: 2015-07/txt/msg01748.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D66949 Bug ID: 66949 Summary: ICE at -O2 and -O3 on x86_64-linux-gnu in tree_ssa_phiopt_worker, at tree-ssa-phiopt.c:335 Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: su at cs dot ucdavis.edu Target Milestone: --- The following code causes an ICE when compiled with the current gcc trunk at -O2 and -O3 on x86_64-linux-gnu in both 32-bit and 64-bit modes.=20 It is a regression from 5.1.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/6.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 6.0.0 20150719 (experimental) [trunk revision 225987] (GCC)=20 $=20 $ gcc-trunk -Os small.c; ./a.out $ gcc-5.1 -O2 small.c; ./a.out $=20 $ gcc-trunk -O2 small.c small.c: In function =E2=80=98fn2=E2=80=99: small.c:10:1: internal compiler error: in tree_ssa_phiopt_worker, at tree-ssa-phiopt.c:335 fn2 () ^ 0xcf3dfd tree_ssa_phiopt_worker ../../gcc-trunk/gcc/tree-ssa-phiopt.c:335 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, *b =3D &a, c; unsigned short fn1 (unsigned short p1, unsigned int p2) { return p2 > 1 || p1 >> p2 ? p1 : p1 << p2; } void fn2 () { int *d =3D &a; for (a =3D 0; a < -1; a =3D 1) ; if (a < 0) c =3D 0;=20 *b =3D fn1 (*d || c, *d); } int main () { fn2 ();=20 return 0; } >>From gcc-bugs-return-492859-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jul 20 19:40:20 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 94510 invoked by alias); 20 Jul 2015 19:40:20 -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 94472 invoked by uid 48); 20 Jul 2015 19:40:16 -0000 From: "hjl.tools at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug libgomp/66950] New: FAIL: libgomp.fortran/examples-4/simd-7.f90 -O0 execution test Date: Mon, 20 Jul 2015 19:40:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libgomp X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: 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 target_milestone 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-07/txt/msg01749.txt.bz2 Content-length: 674 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66950 Bug ID: 66950 Summary: FAIL: libgomp.fortran/examples-4/simd-7.f90 -O0 execution test Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libgomp Assignee: unassigned at gcc dot gnu.org Reporter: hjl.tools at gmail dot com CC: jakub at gcc dot gnu.org Target Milestone: --- libgomp.fortran/examples-4/simd-7.f90 takes a very long time to run on Linux/ia32. I get random: FAIL: libgomp.fortran/examples-4/simd-7.f90 -O0 execution test