[patch, wrong-code, 4.2/4.3/4.4 regression] Patch for PR38615

Joseph S. Myers joseph@codesourcery.com
Wed Jan 21 11:46:00 GMT 2009


On Wed, 21 Jan 2009, Richard Guenther wrote:

> This variant is ok if you add a comment before the !TREE_ADDRESSABLE
> check.  As Paolo notes it may be useful to preserve this optimization,
> so please file an enhacement PR with his testcase (I would say we
> could simply introduce an optimization option that disregards the
> TREE_ADDRESSABLE check).

You could add that to the semantics of -fmerge-all-constants (with a 
slight adjustment to its documentation) rather than needing a new option.

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Gcc-patches mailing list