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 middle-end/11968] Array reference is incorrectly computed for POINTERS_EXTEND_UNSIGNED


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


roger at eyesopen dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED


------- Additional Comments From roger at eyesopen dot com  2003-11-01 13:46 -------
This issue has now been addressed on mainline by the following patch:

2003-10-31  Roger Sayle  <roger@eyesopen.com>

        PR middle-end/11968
        * expr.c (expand_expr <MULT_EXPR>): Remove inappropriate and
        confusing comment; distributivity isn't handled in expand_expr.
        * fold-const.c (extract_muldiv_1 <PLUS_EXPR>):  Allow overflow
        in distributivity, if wrap-around semantics are specified with
        -fwrapv.

See http://gcc.gnu.org/ml/gcc-patches/2003-10/msg02726.html for details.


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