public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/53372] New: [avr] Section attribute ignored with address space
@ 2012-05-16  6:04 gjl at gcc dot gnu.org
  2012-05-16  6:14 ` [Bug target/53372] " 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-16  6:04 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 53372
           Summary: [avr] Section attribute ignored with address space
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Keywords: wrong-code
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: gjl@gcc.gnu.org
            Target: avr


In the following code the section attribute is ignored

const __memx int __attribute__((section(".rodata"))) a = 1;

because the address space __memx overrides the section no matter what:

.global    a
    .section    .progmem.data,"a",@progbits
    .type    a, @object
    .size    a, 2
a:
    .word    1


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

end of thread, other threads:[~2023-11-17 12:50 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-16  6:04 [Bug target/53372] New: [avr] Section attribute ignored with address space gjl at gcc dot gnu.org
2012-05-16  6:14 ` [Bug target/53372] " gjl at gcc dot gnu.org
2012-07-02 12:56 ` rguenth at gcc dot gnu.org
2023-11-17 11:54 ` cvs-commit at gcc dot gnu.org
2023-11-17 12:46 ` cvs-commit at gcc dot gnu.org
2023-11-17 12:50 ` 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).