From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3894 invoked by alias); 4 Jan 2015 23:23: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 3876 invoked by uid 48); 4 Jan 2015 23:23:17 -0000 From: "su at cs dot ucdavis.edu" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/64493] New: ICE at -O3 on x86_64-linux-gnu Date: Sun, 04 Jan 2015 23:23: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: 2015-01/txt/msg00187.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D64493 Bug ID: 64493 Summary: ICE at -O3 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 -O3 on x86_64-linux-gnu in both 32-bit and 64-bit modes.=20 It is a regression from 4.9.x. $ 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 20150104 (experimental) [trunk revision 219172] (GCC)=20 $=20 $ gcc-trunk -O2 small.c; a.out $ gcc-4.9 -O3 small.c; a.out $=20 $ gcc-trunk -O3 small.c small.c: In function =E2=80=98main=E2=80=99: small.c:6:1: error: definition in block 13 does not dominate use in block 12 main () ^ for SSA_NAME: vect_c.29_53 in statement: vect_e.35_1 =3D vect_c.29_53 | vect_e.35_18; small.c:6:1: internal compiler error: verify_ssa failed 0xc8c6b1 verify_ssa(bool, bool) ../../gcc-trunk/gcc/tree-ssa.c:1062 0x9daae5 execute_function_todo ../../gcc-trunk/gcc/passes.c:1947 0x9db523 execute_todo ../../gcc-trunk/gcc/passes.c:1997 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. $=20 ------------------------------ #include int a, b, c, d, e, f, g, h; int main () { for (; a; a--) for (d =3D 1; d <=3D 0; d++) for (; d;) if (h) { assert (g); assert (0); } for (f =3D 4; f; f--) { for (b =3D 0; b < 2; b++) c |=3D 1; e |=3D c; } return 0; } >>From gcc-bugs-return-472194-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Jan 04 23:40:08 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 10654 invoked by alias); 4 Jan 2015 23:40: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 10584 invoked by uid 48); 4 Jan 2015 23:40:03 -0000 From: "bernd.edlinger at hotmail dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/63251] tsan: corrupted shadow stack Date: Sun, 04 Jan 2015 23:40:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: sanitizer X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: bernd.edlinger at hotmail dot de 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: cc 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-01/txt/msg00188.txt.bz2 Content-length: 496 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63251 Bernd Edlinger changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bernd.edlinger at hotmail dot de --- Comment #1 from Bernd Edlinger --- Dmitry, we fixed that one, but the latest LLVM tree needs still to be merged to GCC. Bernd.