This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]