[Bug target/70120] [aarch64] -mno-pc-relative-literal-loads -g causes Assembler messages: Error: unaligned opcodes detected in executable segment

zsojka at seznam dot cz gcc-bugzilla@gcc.gnu.org
Mon Mar 7 15:59:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70120

--- Comment #2 from Zdenek Sojka <zsojka at seznam dot cz> ---
Created attachment 37888
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37888&action=edit
another testcase

This testcase does not need -mno-pc-relative-literal-loads.

$ aarch64-unknown-linux-gnu-gcc -Og -freorder-functions -g3 -mcmodel=large
testcase.c
/tmp/cc4Fczxu.s: Assembler messages:
/tmp/cc4Fczxu.s: Error: unaligned opcodes detected in executable segment


More information about the Gcc-bugs mailing list