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 target/47766] [x32] -fstack-protector doesn't work


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

--- Comment #2 from hjl at gcc dot gnu.org <hjl at gcc dot gnu.org> 2011-08-01 18:21:10 UTC ---
Author: hjl
Date: Mon Aug  1 18:21:07 2011
New Revision: 177067

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=177067
Log:
Use ptr_mode for stack protector.

2011-08-01  H.J. Lu  <hongjiu.lu@intel.com>

    PR target/47766
    * config/i386/i386.md (PTR): New.
    (stack_protect_set: Check TARGET_LP64 instead of TARGET_64BIT.
    (stack_protect_test): Likewise.
    (stack_protect_set_<mode>): Replace ":P" with ":PTR".
    (stack_tls_protect_set_<mode>): Likewise.
    (stack_tls_protect_test_<mode>): Likewise.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/i386/i386.md


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