Commit 0f334035 by Jan Hubicka Committed by Jan Hubicka

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
parent b4e2d709
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> 2003-10-23 Roger Sayle <roger@eyesopen.com>
PR middle-end/11414 PR middle-end/11414
......
...@@ -1050,7 +1050,8 @@ notice_global_symbol (tree decl) ...@@ -1050,7 +1050,8 @@ notice_global_symbol (tree decl)
&& (TREE_CODE (decl) != VAR_DECL && (TREE_CODE (decl) != VAR_DECL
|| (DECL_COMMON (decl) || (DECL_COMMON (decl)
&& (DECL_INITIAL (decl) == 0 && (DECL_INITIAL (decl) == 0
|| DECL_INITIAL (decl) == error_mark_node))))) || DECL_INITIAL (decl) == error_mark_node))))
|| GET_CODE (DECL_RTL (decl)) != MEM)
return; return;
/* We win when global object is found, but it is usefull to know about weak /* We win when global object is found, but it is usefull to know about weak
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment