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 middle-end/53844] [4.6/4.7 Regression] GCC generates suboptimal code for unused members of classes in some cases on multiple targets.


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

--- Comment #11 from Edward Rosten <ed at edrosten dot com> 2012-07-04 14:13:28 UTC ---
(In reply to comment #10)
> On Wed, 4 Jul 2012, ed at edrosten dot com wrote:

> here D.2391 is already dead.  So possibly you are returning references
> to temporaries somewhere.

You are correct. In fiddling around adding and removing &'s and not tracking my
files properly, I left some references in. If I do it properly, then good code
is produced.


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