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 rtl-optimization/52838] [x32] missed optimization for pointer return value


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.


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