projects
/
platform
/
upstream
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f58e981
)
(make_decl_rtl): If section attribute is being ignored, really ignore it.
author
Doug Evans
<dje@gnu.org>
Fri, 3 Jun 1994 22:13:55 +0000
(22:13 +0000)
committer
Doug Evans
<dje@gnu.org>
Fri, 3 Jun 1994 22:13:55 +0000
(22:13 +0000)
From-SVN: r7441
gcc/varasm.c
patch
|
blob
|
history
diff --git
a/gcc/varasm.c
b/gcc/varasm.c
index
ba6253c
..
da90a0c
100644
(file)
--- a/
gcc/varasm.c
+++ b/
gcc/varasm.c
@@
-503,6
+503,9
@@
make_decl_rtl (decl, asmspec, top_level)
{
warning_with_decl (decl,
"section attribute ignored for uninitialized variable `%s'");
+ /* Remove the section name so subsequent declarations won't see it.
+ We are ignoring it, remember. */
+ DECL_SECTION_NAME (decl) = NULL_TREE;
}
/* Now handle ordinary static variables and functions (in memory).