This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/52838] [x32] missed optimization for pointer return value
- From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 05 Apr 2012 16:16:41 +0000
- Subject: [Bug rtl-optimization/52838] [x32] missed optimization for pointer return value
- Auto-submitted: auto-generated
- References: <bug-52838-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52838
--- Comment #5 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2012-04-05 16:16:41 UTC ---
> Can we somehow keep the knowledge that it is a zero-extended 32-bit value?
> It is useful for encoding purpose.
After combine has run, this seems hard. So the easiest approach might be to
disable the combination by tweaking the costs at -Os.