From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5416 invoked by alias); 4 Jun 2014 11:07: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 5390 invoked by uid 48); 4 Jun 2014 11:07:28 -0000 From: "it at psika dot cz" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/47626] internal compiler error: in print_reg (only for i686, and i486, not x86_64) Date: Wed, 04 Jun 2014 11:07:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 4.4.6 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: it at psika dot cz 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: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-06/txt/msg00278.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D47626 Tomas Psika changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |it at psika dot cz --- Comment #3 from Tomas Psika --- Another minimal code using GCC 4.6.3 (gcc47626.cpp) on Gentoo: #include int main() { int size =3D atoi("4"); return 1; double array[size]; } Does trigger ICE using GCC 4.6.3 without optimization (-O0), no errors using optimization (-O[1-3]). Newer GCC 4.8.2 does not trigger ICE at all. # g++-4.6.3 -O0 gcc47626.cpp -o /dev/null && echo "OK" gcc47626.cpp: In function =E2=80=98int main()=E2=80=99: gcc47626.cpp:7:1: internal compiler error: in print_reg, at config/i386/i386.c:13694 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. # g++-4.6.3 -O1 gcc47626.cpp -o /dev/null && echo "OK" OK # g++-4.8.2 -O0 gcc47626.cpp -o /dev/null && echo "OK" OK # g++-4.8.2 -O0 gcc47626.cpp -o /dev/null && echo "OK" OK >>From gcc-bugs-return-453197-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jun 04 11:08:18 2014 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 7438 invoked by alias); 4 Jun 2014 11:08:17 -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 7383 invoked by uid 48); 4 Jun 2014 11:08:13 -0000 From: "cbaylis at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/61411] New: [NEON] ICE in reload_cse_simplify_operands, at postreload.c:411 Date: Wed, 04 Jun 2014 11:08:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cbaylis 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cf_gcctarget attachments.created 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-06/txt/msg00279.txt.bz2 Content-length: 2301 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D61411 Bug ID: 61411 Summary: [NEON] ICE in reload_cse_simplify_operands, at postreload.c:411 Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: cbaylis at gcc dot gnu.org Target: aarch64-oe-linux Created attachment 32890 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D32890&action=3Dedit Reduced test case The attached test case results in an ICE when compiled with gcc 4.9 $ aarch64-oe-linux-gcc -O3 -c test.c test.c: In function =E2=80=98vp9_idct16x16_256_add_neon_pass2=E2=80=99: test.c:126:1: error: insn does not satisfy its constraints: } ^ (insn 198 110 159 2 (set (reg:V8QI 37 v5 [orig:118 D.16400 ] [118]) (mem:V8QI (plus:DI (reg/v/f:DI 20 x20 [orig:202 dest ] [202]) (reg:DI 8 x8 [340])) [2 MEM[(const int64_t *)dest_44]+0 S8 A64])) /home/cbaylis/tools/tools-aarch64-oe-linux-4.9/lib/gcc/aarch64-oe-linux/4.9= .1/include/arm_neon.h:3646 735 {*aarch64_simd_movv8qi} (nil)) test.c:126:1: internal compiler error: in reload_cse_simplify_operands, at postreload.c:411 0x7fc47a _fatal_insn(char const*, rtx_def const*, char const*, int, char const*) /home/cbaylis/srcarea/gcc/gcc-4_9-branch/gcc/rtl-error.c:109 0x7fc49f _fatal_insn_not_found(rtx_def const*, char const*, int, char const= *) /home/cbaylis/srcarea/gcc/gcc-4_9-branch/gcc/rtl-error.c:120 0x7bdbd9 reload_cse_simplify_operands /home/cbaylis/srcarea/gcc/gcc-4_9-branch/gcc/postreload.c:411 0x7bf69c reload_cse_simplify /home/cbaylis/srcarea/gcc/gcc-4_9-branch/gcc/postreload.c:181 0x7bf69c reload_cse_regs_1 /home/cbaylis/srcarea/gcc/gcc-4_9-branch/gcc/postreload.c:220 0x7bfa8b reload_cse_regs /home/cbaylis/srcarea/gcc/gcc-4_9-branch/gcc/postreload.c:68 0x7bfa8b rest_of_handle_postreload /home/cbaylis/srcarea/gcc/gcc-4_9-branch/gcc/postreload.c:2332 0x7bfa8b execute /home/cbaylis/srcarea/gcc/gcc-4_9-branch/gcc/postreload.c:2368 There is a patch which appears to fix this problem at https://gcc.gnu.org/ml/gcc-patches/2014-05/msg02397.html >>From gcc-bugs-return-453198-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jun 04 11:57:13 2014 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 4191 invoked by alias); 4 Jun 2014 11:57:12 -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 3796 invoked by uid 55); 4 Jun 2014 11:57:07 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/60098] DSE fails to DSE errno settings Date: Wed, 04 Jun 2014 11:57:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth 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: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-06/txt/msg00280.txt.bz2 Content-length: 698 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60098 --- Comment #2 from Richard Biener --- Author: rguenth Date: Wed Jun 4 11:56:34 2014 New Revision: 211224 URL: http://gcc.gnu.org/viewcvs?rev=211224&root=gcc&view=rev Log: 2014-06-04 Richard Biener PR tree-optimization/60098 * tree-ssa-dse.c (dse_possible_dead_store_p): Walk until we hit a kill. (dse_optimize_stmt): Simplify, now that we found a kill earlier. * gcc.dg/tree-ssa/ssa-dse-15.c: New testcase. Added: trunk/gcc/testsuite/gcc.dg/tree-ssa/ssa-dse-15.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-ssa-dse.c