This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/53448] New: [avr] ignoring __attribute__((aligned(2)))
- From: "gjl at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 22 May 2012 08:38:11 +0000
- Subject: [Bug target/53448] New: [avr] ignoring __attribute__((aligned(2)))
- Auto-submitted: auto-generated
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.