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 tree-optimization/15791] fold misses that two ADDR_EXPR of an arrary obvious not equal


------- Additional Comments From rguenth at tat dot physik dot uni-tuebingen dot de  2005-01-26 14:35 -------
Could we, in general, fold  &a[i] TRUTHOP &a[j] to i TRUTHOP j?  I guess the
only special case would be for sizeof(a[i]) == 0 -- but that is not allowed
by the standard?  I'll be wading through fold tomorrow and look where to add
this transformation.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rguenth at tat dot physik
                   |                            |dot uni-tuebingen dot de


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


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