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/49504] Invalid optimization for Pmode != ptr_mode


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

--- Comment #5 from hjl at gcc dot gnu.org <hjl at gcc dot gnu.org> 2011-06-24 13:41:44 UTC ---
Author: hjl
Date: Fri Jun 24 13:41:40 2011
New Revision: 175377

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=175377
Log:
Properly handle pointer addition/subtraction.

2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>

    PR rtl-optimization/49504
    * rtlanal.c (nonzero_bits1): Properly handle addition or
    subtraction a pointer in Pmode if pointers extend unsigned.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/rtlanal.c


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