public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "izamyatin at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
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	[thread overview]
Message-ID: <bug-64316-4@http.gcc.gnu.org/bugzilla/> (raw)

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 <http://gcc.gnu.org/bugs.html> for instructions.


This actually leads to miscompilation of spec2006/403.gcc with -march=core-avx2


             reply	other threads:[~2014-12-15 14:42 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-15 14:42 izamyatin at gmail dot com [this message]
2014-12-15 15:07 ` [Bug rtl-optimization/64316] " rguenth at gcc dot gnu.org
2014-12-15 15:29 ` jakub at gcc dot gnu.org
2014-12-15 15:51 ` jakub at gcc dot gnu.org
2014-12-15 20:11 ` jakub at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-64316-4@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).