public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: middle-end/6697: Unjustified (?) __attribute__ section conflicts
@ 2002-05-17 16:48 rth
  0 siblings, 0 replies; only message in thread
From: rth @ 2002-05-17 16:48 UTC (permalink / raw)
  To: David.Decotigny, gcc-bugs, gcc-prs, nobody

Synopsis: Unjustified (?) __attribute__ section conflicts

State-Changed-From-To: open->closed
State-Changed-By: rth
State-Changed-When: Fri May 17 16:48:07 2002
State-Changed-Why:
    Not a bug.  "const int *p" is a non-constant variable that
    points to constant data; "const int i" is a constant variable.
    
    This "worked" in gcc 3.0 in that it did not diagnose the
    error.  What would happen is that the assembler would use
    the type of the first variable assigned to the section to
    set the flags for the section.  Which can appear random
    to users filing bug reports.
    
    So now all the variables assigned to a section must have the
    same section flags.  I.e. all must be constant or all must
    be non-constant.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=6697


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-05-17 23:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-05-17 16:48 middle-end/6697: Unjustified (?) __attribute__ section conflicts rth

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