public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/63569] [5.0 Regression] Wrong code with volatile and ICF
Date: Fri, 17 Oct 2014 06:51:00 -0000	[thread overview]
Message-ID: <bug-63569-4-2jSD5qvq9d@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-63569-4@http.gcc.gnu.org/bugzilla/>

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63569

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Created attachment 33743
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33743&action=edit
A Testcase which ICEs instead of just wrong code

Compile with -O2.
The ICE you get:
t3.c: In function ‘register_netdevice’:
t3.c:66:1: internal compiler error: in verify_ssa, at tree-ssa.c:936
 }
 ^
0xbebecf verify_ssa(bool, bool)
    /home/pinskia/src/toolchain/scripts/../src/gcc/tree-ssa.c:936
0x95292d execute_function_todo
    /home/pinskia/src/toolchain/scripts/../src/gcc/passes.c:1762
0x95310d do_per_function
    /home/pinskia/src/toolchain/scripts/../src/gcc/passes.c:1489
0x95310d do_per_function
    /home/pinskia/src/toolchain/scripts/../src/gcc/passes.c:1479
0x95321b execute_todo
    /home/pinskia/src/toolchain/scripts/../src/gcc/passes.c:1812
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.
>From gcc-bugs-return-464313-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 17 06:54:14 2014
Return-Path: <gcc-bugs-return-464313-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 1007 invoked by alias); 17 Oct 2014 06:54:14 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 988 invoked by uid 48); 17 Oct 2014 06:54:10 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/63569] [5.0 Regression] Wrong code with volatile and ICF
Date: Fri, 17 Oct 2014 06:54: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: 5.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pinskia 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: 5.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-63569-4-bco6d3LagQ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-63569-4@http.gcc.gnu.org/bugzilla/>
References: <bug-63569-4@http.gcc.gnu.org/bugzilla/>
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-10/txt/msg01334.txt.bz2
Content-length: 551

https://gcc.gnu.org/bugzilla/show_bug.cgi?idc569

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |5.0

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #1)
> Created attachment 33743 [details]
> A Testcase which ICEs instead of just wrong code

This testcase is reduced from the linux kernel on aarch64.


  reply	other threads:[~2014-10-17  6:51 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-17  6:49 [Bug tree-optimization/63569] New: " pinskia at gcc dot gnu.org
2014-10-17  6:51 ` pinskia at gcc dot gnu.org [this message]
2014-10-17 22:28 ` [Bug tree-optimization/63569] " pinskia at gcc dot gnu.org
2014-11-11  6:42 ` trippels at gcc dot gnu.org
2014-11-21  8:01 ` trippels at gcc dot gnu.org
2014-11-21 11:26 ` [Bug ipa/63569] " marxin at gcc dot gnu.org
2014-11-21 12:48 ` marxin at gcc dot gnu.org
2014-11-26 23:50 ` pinskia at gcc dot gnu.org
2014-12-02 13:26 ` pinskia at gcc dot gnu.org
2014-12-12 10:30 ` trippels at gcc dot gnu.org
2014-12-19 12:41 ` marxin 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-63569-4-2jSD5qvq9d@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).