public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "chrbr at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/67745] New: [ARM] wrong alignments when __attribute__ ((optimize,target,align) is used Date: Mon, 28 Sep 2015 12:36:00 -0000 [thread overview] Message-ID: <bug-67745-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67745 Bug ID: 67745 Summary: [ARM] wrong alignments when __attribute__ ((optimize,target,align) is used Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: chrbr at gcc dot gnu.org Target Milestone: --- alignment directives emitted by the compiler are inconsistent for ARM when attributes target are used. for instance this code compiled with -Os -mthumb, void __attribute__ ((target ("arm"))) c(void) { } emits .text .align 1 .global c .syntax divided .arm .type c, %function it should have the function 'c' aligned on 2^2 bytes, not 2^1
next reply other threads:[~2015-09-28 12:36 UTC|newest] Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top 2015-09-28 12:36 chrbr at gcc dot gnu.org [this message] 2015-09-28 12:43 ` [Bug target/67745] " chrbr at gcc dot gnu.org 2015-09-28 12:48 ` chrbr at gcc dot gnu.org 2015-09-28 13:37 ` chrbr at gcc dot gnu.org 2015-09-29 13:33 ` chrbr at gcc dot gnu.org 2015-10-10 10:55 ` ramana at gcc dot gnu.org 2015-10-15 19:36 ` ramana at gcc dot gnu.org 2015-10-16 13:37 ` chrbr at gcc dot gnu.org 2015-10-16 13:53 ` chrbr at gcc dot gnu.org 2015-10-16 14:15 ` chrbr at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-67745-4@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).