public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/67698] New: internal compiler error: in maybe_record_trace_start, at dwarf2cfi.c:2297
@ 2015-09-23 22:31 hjl.tools at gmail dot com
2015-09-24 0:05 ` [Bug other/67698] " hjl.tools at gmail dot com
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: hjl.tools at gmail dot com @ 2015-09-23 22:31 UTC (permalink / raw)
To: gcc-bugs
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="UTF-8", Size: 4825 bytes --]
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67698
Bug ID: 67698
Summary: internal compiler error: in maybe_record_trace_start,
at dwarf2cfi.c:2297
Product: gcc
Version: 6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: other
Assignee: unassigned at gcc dot gnu.org
Reporter: hjl.tools at gmail dot com
CC: julia.koval at intel dot com
Blocks: 67552
Target Milestone: ---
On hjl/interrupt/master branch, I got
[hjl@gnu-6 interrupt-2]$ cat bar.c
extern int check_int (int *i, void *, int align);
typedef int aligned __attribute__((aligned(64)));
typedef unsigned int uword_t __attribute__ ((mode (__word__)));
__attribute__((interrupt))
void
foo (void *frame, uword_t error_code)
{
aligned j;
if (check_int (frame, &j, __alignof__(j)))
__builtin_abort ();
}
[hjl@gnu-6 interrupt-2]$ /export/build/gnu/gcc/build-x86_64-linux/gcc/xgcc
-B/export/build/gnu/gcc/build-x86_64-linux/gcc/ -O2 -S -o bar.s bar.c
bar.c: In function âfooâ:
bar.c:12:1: internal compiler error: in maybe_record_trace_start, at
dwarf2cfi.c:2297
}
^
0x946051 maybe_record_trace_start
/export/gnu/import/git/sources/gcc/gcc/dwarf2cfi.c:2297
0x94671f scan_trace
/export/gnu/import/git/sources/gcc/gcc/dwarf2cfi.c:2475
0x946cc9 create_cfi_notes
/export/gnu/import/git/sources/gcc/gcc/dwarf2cfi.c:2629
0x9477db execute_dwarf2_frame
/export/gnu/import/git/sources/gcc/gcc/dwarf2cfi.c:2987
0x948536 execute
/export/gnu/import/git/sources/gcc/gcc/dwarf2cfi.c:3467
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.
[hjl@gnu-6 interrupt-2]$
Referenced Bugs:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67552
[Bug 67552] [meta] x86 interrupt attribute
>From gcc-bugs-return-497921-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Sep 23 22:32:46 2015
Return-Path: <gcc-bugs-return-497921-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 9196 invoked by alias); 23 Sep 2015 22:32:45 -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 9173 invoked by uid 48); 23 Sep 2015 22:32:41 -0000
From: "gcc at norgg dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/67699] New: Segfault compiling a constexpr array with -fmerge-all-constants -flto
Date: Wed, 23 Sep 2015 22:32:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 5.2.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: major
X-Bugzilla-Who: gcc at norgg dot org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
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 target_milestone attachments.created
Message-ID: <bug-67699-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-09/txt/msg01899.txt.bz2
Content-length: 951
https://gcc.gnu.org/bugzilla/show_bug.cgi?idg699
Bug ID: 67699
Summary: Segfault compiling a constexpr array with
-fmerge-all-constants -flto
Product: gcc
Version: 5.2.1
Status: UNCONFIRMED
Severity: major
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: gcc at norgg dot org
Target Milestone: ---
Created attachment 36380
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id6380&actioníit
Minimal testcase
Minimal test case attached, run with: g++ -std=c++11 -fmerge-all-constants
-flto gcc_crash.cpp -o gcc_crash.o
We've found this is repeatable in:
g++ (Ubuntu 4.9.2-0ubuntu1~14.04) 4.9.2
g++ (Ubuntu 5.1.0-0ubuntu11~14.04.1) 5.1.0
g++ 5.2.1 20150825 (Ubuntu 5.2.1-15ubuntu5)
g++ (Debian 5.2.1-17) 5.2.1 20150911
g++.exe (i686-posix-dwarf-rev0, Built by MinGW-W64 project) 5.1.0
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug other/67698] internal compiler error: in maybe_record_trace_start, at dwarf2cfi.c:2297
2015-09-23 22:31 [Bug other/67698] New: internal compiler error: in maybe_record_trace_start, at dwarf2cfi.c:2297 hjl.tools at gmail dot com
@ 2015-09-24 0:05 ` hjl.tools at gmail dot com
2015-09-24 13:29 ` hjl.tools at gmail dot com
2015-09-29 13:39 ` hjl.tools at gmail dot com
2 siblings, 0 replies; 4+ messages in thread
From: hjl.tools at gmail dot com @ 2015-09-24 0:05 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67698
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2015-09-24
Target Milestone|--- |6.0
Ever confirmed|0 |1
--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> ---
It is triggered by -freorder-blocks-and-partition.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug other/67698] internal compiler error: in maybe_record_trace_start, at dwarf2cfi.c:2297
2015-09-23 22:31 [Bug other/67698] New: internal compiler error: in maybe_record_trace_start, at dwarf2cfi.c:2297 hjl.tools at gmail dot com
2015-09-24 0:05 ` [Bug other/67698] " hjl.tools at gmail dot com
@ 2015-09-24 13:29 ` hjl.tools at gmail dot com
2015-09-29 13:39 ` hjl.tools at gmail dot com
2 siblings, 0 replies; 4+ messages in thread
From: hjl.tools at gmail dot com @ 2015-09-24 13:29 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67698
--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> ---
I checked a fix:
commit c6d616512b2bc429f43c147dcd5cb0c27af8aa47
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Thu Sep 24 05:23:37 2015 -0700
Remove interrupt_return
We must pass UNSPEC_INTERRUPT_RETURN parallel pattern directly to
emit_jump_insn to emit IRET instruction. We don't need to mark
BP and SP registers used by interrupt return since it is emitted
via emit_jump_insn now.
into hjl/interrupt/master branch.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug other/67698] internal compiler error: in maybe_record_trace_start, at dwarf2cfi.c:2297
2015-09-23 22:31 [Bug other/67698] New: internal compiler error: in maybe_record_trace_start, at dwarf2cfi.c:2297 hjl.tools at gmail dot com
2015-09-24 0:05 ` [Bug other/67698] " hjl.tools at gmail dot com
2015-09-24 13:29 ` hjl.tools at gmail dot com
@ 2015-09-29 13:39 ` hjl.tools at gmail dot com
2 siblings, 0 replies; 4+ messages in thread
From: hjl.tools at gmail dot com @ 2015-09-29 13:39 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67698
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> ---
Fixed on hjl/interrupt/master branch.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-09-29 13:39 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-23 22:31 [Bug other/67698] New: internal compiler error: in maybe_record_trace_start, at dwarf2cfi.c:2297 hjl.tools at gmail dot com
2015-09-24 0:05 ` [Bug other/67698] " hjl.tools at gmail dot com
2015-09-24 13:29 ` hjl.tools at gmail dot com
2015-09-29 13:39 ` hjl.tools at gmail dot com
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).