------- Comment #4 from pinskia at gcc dot gnu dot org  2008-03-05 23:40 -------
(In reply to comment #3)
> Please change tree-ssa-sccvn.c:try_to_simplify accordingly (eventually that
> should use a common helper function to extract a constant initializer for
> the tcc_reference case, too).  Thanks!

There is already a helper function in tree-ssa-ccp.c: get_symbol_constant_value
.
This is what I am changing if tree-ssa-sccvn.c:try_to_simplify wants to use it,
it should too.

I think there are too many duplicated functions all around really.  This is
just one example.

-- PInski


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35402

Reply via email to