This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/53844] [4.6/4.7 Regression] GCC generates suboptimal code for unused members of classes in some cases on multiple targets.
- From: "ed at edrosten dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 04 Jul 2012 14:13:28 +0000
- Subject: [Bug middle-end/53844] [4.6/4.7 Regression] GCC generates suboptimal code for unused members of classes in some cases on multiple targets.
- Auto-submitted: auto-generated
- References: <bug-53844-4@http.gcc.gnu.org/bugzilla/>
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.