public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/53448] New: [avr] ignoring __attribute__((aligned(2)))
@ 2012-05-22 10:00 gjl at gcc dot gnu.org
  2012-05-22 10:00 ` [Bug target/53448] " gjl at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: gjl at gcc dot gnu.org @ 2012-05-22 10:00 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53448

             Bug #: 53448
           Summary: [avr] ignoring __attribute__((aligned(2)))
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: gjl@gcc.gnu.org
                CC: eric.weddington@atmel.com
            Target: avr


int var __attribute__((aligned(2))) = 1;

gets compiled to

.global    var
    .data
    .type    var, @object
    .size    var, 2
var:
    .word    1


i.e. the alignment directive .p2align 1 is missing.


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-05-23 15:30 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-22 10:00 [Bug target/53448] New: [avr] ignoring __attribute__((aligned(2))) gjl at gcc dot gnu.org
2012-05-22 10:00 ` [Bug target/53448] " gjl at gcc dot gnu.org
2012-05-22 10:14 ` gjl at gcc dot gnu.org
2012-05-23 15:28 ` gjl at gcc dot gnu.org
2012-05-23 15:30 ` gjl at gcc dot gnu.org
2012-05-23 15:32 ` gjl at gcc dot gnu.org

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).