mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-19 15:11:08 +08:00
re PR c++/12624 ([unit-at-a-time] ICE in notice_global_symbol)
PR c++/12624 * varasm.c (notice_global_symbol): Disqualify global registers. From-SVN: r72880
This commit is contained in:
parent
b4e2d709cf
commit
0f3340356d
@ -1,3 +1,8 @@
|
||||
2003-10-24 Jan Hubicka <jh@suse.cz>
|
||||
|
||||
PR c++/12624
|
||||
* varasm.c (notice_global_symbol): Disqualify global registers.
|
||||
|
||||
2003-10-23 Roger Sayle <roger@eyesopen.com>
|
||||
|
||||
PR middle-end/11414
|
||||
|
@ -1050,7 +1050,8 @@ notice_global_symbol (tree decl)
|
||||
&& (TREE_CODE (decl) != VAR_DECL
|
||||
|| (DECL_COMMON (decl)
|
||||
&& (DECL_INITIAL (decl) == 0
|
||||
|| DECL_INITIAL (decl) == error_mark_node)))))
|
||||
|| DECL_INITIAL (decl) == error_mark_node))))
|
||||
|| GET_CODE (DECL_RTL (decl)) != MEM)
|
||||
return;
|
||||
|
||||
/* We win when global object is found, but it is usefull to know about weak
|
||||
|
Loading…
x
Reference in New Issue
Block a user