• dnovillo's avatar
    · ba7236ba
    dnovillo authored
    	PR tree-optimization/19633
    	* tree-ssa-alias.c (ptr_is_dereferenced_by): Also handle
    	CALL_EXPRs.
    	(maybe_create_global_var): Do not create .GLOBAL_VAR if there
    	are no call-clobbered variables.
    	* tree-outof-ssa.c (check_replaceable): Return false for calls
    	with side-effects.
    
    testsuite/ChangeLog
    
    	PR tree-optimization/19633
    	* gcc.dg/pr19633.c: New test.
    	* gcc.dg/tree-ssa/pr19633.c: New test.
    
    
    git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94311 138bc75d-0d04-0410-961f-82ee72b054a4
    ba7236ba
ChangeLog 850 KB