From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18082 invoked by alias); 15 Dec 2014 14:42:02 -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 17425 invoked by uid 48); 15 Dec 2014 14:41:55 -0000 From: "izamyatin at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/64316] New: [5 Regression] ICE in simplify_const_unary_operation after r218503 Date: Mon, 15 Dec 2014 14:42:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: izamyatin 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 cf_gcctarget attachments.created 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-12/txt/msg01750.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64316 Bug ID: 64316 Summary: [5 Regression] ICE in simplify_const_unary_operation after r218503 Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: izamyatin at gmail dot com Target: x86 Created attachment 34284 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34284&action=edit Reproducer For the attached reproducer compiled with -O3 -march=core-avx2 there is: internal compiler error: in simplify_const_unary_operation, at simplify-rtx.c:1676 } ^ 0xbd8b9b simplify_const_unary_operation(rtx_code, machine_mode, rtx_def*, machine_mode) ../../gcc/simplify-rtx.c:1676 0xbd6045 simplify_unary_operation(rtx_code, machine_mode, rtx_def*, machine_mode) ../../gcc/simplify-rtx.c:822 0xbd4f75 simplify_gen_unary(rtx_code, machine_mode, rtx_def*, machine_mode) ../../gcc/simplify-rtx.c:395 0x136761f if_then_else_cond ../../gcc/combine.c:8748 0x135e155 combine_simplify_rtx ../../gcc/combine.c:5394 0x135dea3 subst ../../gcc/combine.c:5331 0x135dca2 subst ../../gcc/combine.c:5276 0x135dca2 subst ../../gcc/combine.c:5276 0x1357a53 try_combine ../../gcc/combine.c:3250 0x1352ba8 combine_instructions ../../gcc/combine.c:1301 0x13740c3 rest_of_handle_combine ../../gcc/combine.c:14052 0x137416a execute ../../gcc/combine.c:14095 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. This actually leads to miscompilation of spec2006/403.gcc with -march=core-avx2