public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "ktkachov at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/67989] [5/6 Regression] g++ ICE on armel valid code
Date: Thu, 22 Oct 2015 12:06:00 -0000	[thread overview]
Message-ID: <bug-67989-4-9SaXhNzbGV@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-67989-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #6 from ktkachov at gcc dot gnu.org ---
Created attachment 36561
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36561&action=edit
Reduced testcase

Attaching reduced testcase, here's the full ICE backtrace.

Can be reproduced with -O2 -std=c++11 -march=armv4t -marm


besttry.cpp: In member function ‘void
lldb::SBAddress::SetAddress(lldb::SBSection, lldb::addr_t)’:
besttry.cpp:27:23: internal compiler error: in emit_move_insn, at expr.c:3553
         __atomic_load (&_M_i, &tmp, __m);
                       ^
0x8135af emit_move_insn(rtx_def*, rtx_def*)
        $SRC/gcc/expr.c:3552
0x9763c1 expand_atomic_compare_and_swap(rtx_def**, rtx_def**, rtx_def*,
rtx_def*, rtx_def*, bool, memmodel, memmodel)
        $SRC/gcc/optabs.c:5907
0x976a22 expand_atomic_load(rtx_def*, rtx_def*, memmodel)
        $SRC/gcc/optabs.c:6019
0x71e9cf expand_builtin(tree_node*, rtx_def*, rtx_def*, machine_mode, int)
        $SRC/gcc/builtins.c:6738
0x810a85 expand_expr_real_1(tree_node*, rtx_def*, machine_mode,
expand_modifier, rtx_def**, bool)
        $SRC/gcc/expr.c:10474
0x73bded expand_expr
        $SRC/gcc/expr.h:255
0x73bded expand_call_stmt
        $SRC/gcc/cfgexpand.c:2647
0x73bded expand_gimple_stmt_1
        $SRC/gcc/cfgexpand.c:3534
0x73bded expand_gimple_stmt
        $SRC/gcc/cfgexpand.c:3697
0x73cd89 expand_gimple_tailcall
        $SRC/gcc/cfgexpand.c:3744
0x73cd89 expand_gimple_basic_block
        $SRC/gcc/cfgexpand.c:5677
0x741dde execute
        $SRC/gcc/cfgexpand.c:6286
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-500289-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 22 12:07:58 2015
Return-Path: <gcc-bugs-return-500289-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 48707 invoked by alias); 22 Oct 2015 12:07:58 -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 48670 invoked by uid 48); 22 Oct 2015 12:07:53 -0000
From: "ktkachov at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/67989] [4.9/5/6 Regression] g++ ICE on armel valid code
Date: Thu, 22 Oct 2015 12: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: 5.2.1
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ktkachov at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 5.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: keywords short_desc cf_known_to_fail
Message-ID: <bug-67989-4-JJPdFaqsFW@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-67989-4@http.gcc.gnu.org/bugzilla/>
References: <bug-67989-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: 2015-10/txt/msg01844.txt.bz2
Content-length: 579

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

ktkachov at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code
            Summary|[5/6 Regression] g++ ICE on |[4.9/5/6 Regression] g++
                   |armel valid code            |ICE on armel valid code
      Known to fail|                            |4.9.4

--- Comment #7 from ktkachov at gcc dot gnu.org ---
Btw, I see the ICE on 4.9 as well


  parent reply	other threads:[~2015-10-22 12:06 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-16 15:57 [Bug c++/67989] New: [REGRESSION] " costamagnagianfranco at yahoo dot it
2015-10-16 15:58 ` [Bug c++/67989] " costamagnagianfranco at yahoo dot it
2015-10-20 15:29 ` paolo.carlini at oracle dot com
2015-10-22  6:51 ` sylvestre at debian dot org
2015-10-22  8:52 ` [Bug target/67989] [5/6 Regression] " rguenth at gcc dot gnu.org
2015-10-22 10:20 ` ktkachov at gcc dot gnu.org
2015-10-22 12:06 ` ktkachov at gcc dot gnu.org [this message]
2015-10-22 12:14 ` [Bug target/67989] [4.9/5/6 " ktkachov at gcc dot gnu.org
2015-10-22 13:11 ` [Bug middle-end/67989] " ktkachov at gcc dot gnu.org
2015-10-26 10:28 ` ktkachov at gcc dot gnu.org
2015-10-26 10:31 ` ktkachov at gcc dot gnu.org
2015-10-27 14:04 ` ktkachov at gcc dot gnu.org
2015-10-27 14:07 ` ktkachov at gcc dot gnu.org
2015-10-27 14:08 ` ktkachov at gcc dot gnu.org
2015-10-27 14:18 ` costamagnagianfranco at yahoo dot it

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-67989-4-9SaXhNzbGV@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).