This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug other/67698] New: internal compiler error: in maybe_record_trace_start, at dwarf2cfi.c:2297
- From: "hjl.tools at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 23 Sep 2015 22:31:41 +0000
- Subject: [Bug other/67698] New: internal compiler error: in maybe_record_trace_start, at dwarf2cfi.c:2297
- Auto-submitted: auto-generated
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