[Bug target/86394] New: Broken -falign-functions=512 on m68k
marxin at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Jul 3 18:00:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86394
Bug ID: 86394
Summary: Broken -falign-functions=512 on m68k
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: marxin at gcc dot gnu.org
CC: law at gcc dot gnu.org, schwab at gcc dot gnu.org
Target Milestone: ---
Host: x86_64-linux-gnu
Target: m68k-linux
$ cat /tmp/main.c
static int foo()
{
return 123;
}
int main()
{
return foo();
}
$ ./xgcc -B. -O2 /tmp/main.c -falign-functions=128 -S -o/dev/stdout
#NO_APP
.file "main.c"
.text
.section .text.startup,"ax",@progbits
.align 2
.align 128
.globl main
.type main, @function
Value of '.align 128' is wrong, should be '.align 7'.
More information about the Gcc-bugs
mailing list