[Bug target/48085] [x32] Unnecessary zero-extension

hjl at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Apr 2 06:05:00 GMT 2011


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

--- Comment #2 from hjl at gcc dot gnu.org <hjl at gcc dot gnu.org> 2011-04-02 06:05:06 UTC ---
Author: hjl
Date: Sat Apr  2 06:05:03 2011
New Revision: 171878

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=171878
Log:
Promote pointer function arguments and return values to Pmode.

2011-03-29  H.J. Lu  <hongjiu.lu@intel.com>

    PR middle-end/47725
    PR target/48085
    * calls.c (precompute_register_parameters): Convert pointer to
    TLS symbol if needed.

    * config/i386/i386.c (ix86_promote_function_mode): New.
    (TARGET_PROMOTE_FUNCTION_MODE): Likewise.

Modified:
    branches/x32/gcc/ChangeLog.x32
    branches/x32/gcc/calls.c
    branches/x32/gcc/config/i386/i386.c



More information about the Gcc-bugs mailing list