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: [email protected]
ReportedBy: [email protected]
CC: [email protected]
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.