This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/69734] no_caller_saved_registers attribute doesn't work with -mavx512f -g
- 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: Tue, 09 Feb 2016 13:51:34 +0000
- Subject: [Bug target/69734] no_caller_saved_registers attribute doesn't work with -mavx512f -g
- Auto-submitted: auto-generated
- References: <bug-69734-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69734
--- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> ---
A simpler testcase:
[hjl@gnu-6 interrupt-2]$ cat k.c
void
__attribute__((interrupt))
fn (void *frame)
{
asm ("#"
:
:
: "k1");
}
[hjl@gnu-6 interrupt-2]$ make k.o
/export/build/gnu/gcc-5/build-x86_64-linux/gcc/xgcc
-B/export/build/gnu/gcc-5/build-x86_64-linux/gcc/ -c -O2 -march=knl k.c
/tmp/cceKHse9.s: Assembler messages:
/tmp/cceKHse9.s:13: Error: register save offset not a multiple of 8
Makefile:29: recipe for target 'k.o' failed
make: *** [k.o] Error 1
[hjl@gnu-6 interrupt-2]$