From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3017 invoked by alias); 5 Jan 2015 02:23:33 -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 1886 invoked by uid 48); 5 Jan 2015 02:23:24 -0000 From: "su at cs dot ucdavis.edu" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/64494] New: ICE at -Os and above on x86_64-linux-gnu in duplicate_ssa_name_range_info, at tree-ssanames.c:499 Date: Mon, 05 Jan 2015 02: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/msg00190.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D64494 Bug ID: 64494 Summary: ICE at -Os and above on x86_64-linux-gnu in duplicate_ssa_name_range_info, at tree-ssanames.c:499 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. $ 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 -O1 small.c; a.out $ gcc-4.9 -Os small.c; a.out $=20 $ gcc-trunk -Os small.c small.c: In function =E2=80=98main=E2=80=99: small.c:5:1: internal compiler error: in duplicate_ssa_name_range_info, at tree-ssanames.c:499 main () ^ 0xc90af5 duplicate_ssa_name_range_info(tree_node*, value_range_type, range_info_def*) ../../gcc-trunk/gcc/tree-ssanames.c:499 0xba9f24 fini_copy_prop ../../gcc-trunk/gcc/tree-ssa-copy.c:572 0xba9f24 execute_copy_prop ../../gcc-trunk/gcc/tree-ssa-copy.c:628 0xba9f24 execute ../../gcc-trunk/gcc/tree-ssa-copy.c:658 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; char c; int main () { int d =3D 0; a =3D 0; for (; d < 2; d++) { a &=3D (b >=3D 1); c =3D (204 > (255 >> a)) ? 0 : 204 << a; b =3D 0; } return 0; } >>From gcc-bugs-return-472197-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jan 05 03:00:31 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 22413 invoked by alias); 5 Jan 2015 03:00:25 -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 22309 invoked by uid 48); 5 Jan 2015 03:00:14 -0000 From: "su at cs dot ucdavis.edu" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/64495] New: ICE at -O3 for trunk and wrong code for 4.8/4.9 on x86_64-linux-gnu Date: Mon, 05 Jan 2015 03:00: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/msg00191.txt.bz2 Content-length: 2488 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D64495 Bug ID: 64495 Summary: ICE at -O3 for trunk and wrong code for 4.8/4.9 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 This is an almost identical test as the one for PR 64493:=20 (1) Like PR 64493, the 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; and=20 (2) it is also miscompiled at -O3 by 4.8.x and 4.9.x (thus a regression from 4.7.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 20150104 (experimental) [trunk revision 219172] (GCC)=20 $=20 $ gcc-trunk -O3 small.c small.c: In function =E2=80=98main=E2=80=99: small.c:7:1: error: definition in block 33 does not dominate use in block 31 main () ^ for SSA_NAME: vect_d.30_19 in statement: vect__32.36_66 =3D vect_d.30_19 | vect__32.36_39; small.c:7: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 $ gcc-4.7 -O3 small.c; a.out $ gcc-4.8 -O2 small.c; a.out $ gcc-4.9 -O2 small.c; a.out $=20 $ gcc-4.8 -O3 small.c; a.out Aborted (core dumped) $ gcc-4.9 -O3 small.c; a.out Aborted (core dumped) $=20 -------------------------------- #include int a, b, c, d, e, f, g, i, j; static int *h =3D &e; int main () { for (; a;) for (; g; g++) for (; f; f++) if (j) { assert(b);=20 assert(0); } for (i =3D 24; i; i--) { for (c =3D 0; c < 6; c++) d |=3D 1; *h |=3D d; } if (e !=3D 1)=20 __builtin_abort ();=20 return 0; } >>From gcc-bugs-return-472198-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jan 05 05:34:39 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 4924 invoked by alias); 5 Jan 2015 05:34:38 -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 4887 invoked by uid 48); 5 Jan 2015 05:34:31 -0000 From: "laguest at archeia dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug ada/64492] Disabling libada prevents building gnattools-cross Date: Mon, 05 Jan 2015 05:34:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ada X-Bugzilla-Version: 4.9.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: laguest at archeia 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: 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/msg00192.txt.bz2 Content-length: 1056 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64492 Luke A. Guest changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |laguest at archeia dot com --- Comment #2 from Luke A. Guest --- I haven't sent in my copyright assignment yet. But, I noticed this in the gnat makefile a while back and was going to investigate, but haven't got around to it yet: # *-elf, *-eabi, or *-eabispe ifeq ($(strip $(filter-out elf eabi eabispe,$(target_os))),) TOOLS_TARGET_PAIRS=\ mlib-tgt-specific.adb