This is the mail archive of the gcc-bugs@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]

[Bug c++/40389] optimizer bug (possibly)



------- Comment #20 from rguenth at gcc dot gnu dot org  2009-06-13 19:30 -------
So, if I see correctly the issue only manifests itself if we elide the copy?
The C++ FE seems to unconditionally set TREE_ADDRESSABLE on the LHS.

Stripping down the fix to only apply if TREE_ADDRESSABLE is set still causes
some missed optimization opportunities, for example for
g++.dg/tree-ssa/pr8781.C


-- 


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


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