[Bug target/68618] interrupt fails on ICE in some call cases with miamcu with -O2/3
hjl.tools at gmail dot com
gcc-bugzilla@gcc.gnu.org
Mon Nov 30 16:00:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68618
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target| |x86
Status|UNCONFIRMED |WAITING
Last reconfirmed| |2015-11-30
Component|other |target
Ever confirmed|0 |1
--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> ---
Works for me on hjl/interrupt/stage1 branch:
[hjl@gnu-6 gcc]$ cat x.c
struct interrupt_frame;
void (*foo1[1])(int a, int b);
void foo2(int c)
{
foo1[c](1,2);
}
static __attribute__((interrupt)) void my_isr(struct interrupt_frame *frame)
{
int c;
foo2(c);
}
int main()
{
}
[hjl@gnu-6 gcc]$ ./xgcc -B./ -m32 -miamcu -O3 -DU x.c -S
[hjl@gnu-6 gcc]$
More information about the Gcc-bugs
mailing list