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
* [Bug target/53448] [avr] ignoring __attribute__((aligned(2))) 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 ` gjl at gcc dot gnu.org 2012-05-22 10:14 ` gjl at gcc dot gnu.org ` (3 subsequent siblings) 4 siblings, 0 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 Georg-Johann Lay <gjl at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2012-05-22 AssignedTo|unassigned at gcc dot |gjl at gcc dot gnu.org |gnu.org | Ever Confirmed|0 |1 --- Comment #1 from Georg-Johann Lay <gjl at gcc dot gnu.org> 2012-05-22 08:39:51 UTC --- Created attachment 27474 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27474 C test case More test cases ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/53448] [avr] ignoring __attribute__((aligned(2))) 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 ` (2 subsequent siblings) 4 siblings, 0 replies; 6+ messages in thread From: gjl at gcc dot gnu.org @ 2012-05-22 10:14 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53448 Georg-Johann Lay <gjl at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P4 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/53448] [avr] ignoring __attribute__((aligned(2))) 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 4 siblings, 0 replies; 6+ messages in thread From: gjl at gcc dot gnu.org @ 2012-05-23 15:28 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53448 --- Comment #2 from Georg-Johann Lay <gjl at gcc dot gnu.org> 2012-05-23 15:25:27 UTC --- Author: gjl Date: Wed May 23 15:25:22 2012 New Revision: 187803 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=187803 Log: PR target/53448 * config/avr/avr.h (ASM_OUTPUT_ALIGN): Don't inhibit .p2align 1. * config/avr/elf.h (ASM_OUTPUT_BEFORE_CASE_LABEL): Use ASM_OUTPUT_ALIGN. Modified: trunk/gcc/ChangeLog trunk/gcc/config/avr/avr.h trunk/gcc/config/avr/elf.h ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/53448] [avr] ignoring __attribute__((aligned(2))) 2012-05-22 10:00 [Bug target/53448] New: [avr] ignoring __attribute__((aligned(2))) gjl at gcc dot gnu.org ` (2 preceding siblings ...) 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 4 siblings, 0 replies; 6+ messages in thread From: gjl at gcc dot gnu.org @ 2012-05-23 15:30 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53448 --- Comment #3 from Georg-Johann Lay <gjl at gcc dot gnu.org> 2012-05-23 15:28:11 UTC --- Author: gjl Date: Wed May 23 15:28:05 2012 New Revision: 187804 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=187804 Log: Backport from 2012-05-23 mainline r187803 PR target/53448 * config/avr/avr.h (ASM_OUTPUT_ALIGN): Don't inhibit .p2align 1. * config/avr/elf.h (ASM_OUTPUT_BEFORE_CASE_LABEL): Use ASM_OUTPUT_ALIGN. Modified: branches/gcc-4_7-branch/gcc/ChangeLog branches/gcc-4_7-branch/gcc/config/avr/avr.h branches/gcc-4_7-branch/gcc/config/avr/elf.h ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/53448] [avr] ignoring __attribute__((aligned(2))) 2012-05-22 10:00 [Bug target/53448] New: [avr] ignoring __attribute__((aligned(2))) gjl at gcc dot gnu.org ` (3 preceding siblings ...) 2012-05-23 15:30 ` gjl at gcc dot gnu.org @ 2012-05-23 15:32 ` gjl at gcc dot gnu.org 4 siblings, 0 replies; 6+ messages in thread From: gjl at gcc dot gnu.org @ 2012-05-23 15:32 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53448 Georg-Johann Lay <gjl at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED Target Milestone|--- |4.7.1 --- Comment #4 from Georg-Johann Lay <gjl at gcc dot gnu.org> 2012-05-23 15:30:28 UTC --- Fixed in 4.7.1 ^ 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).