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/24851] [4.1 Regression] f2c miscompilation



------- Comment #6 from pinskia at gcc dot gnu dot org  2005-11-14 15:56 -------
The problem here is that we are comparing in unsigned when we shoud be
comparing in a signed type.

This was introduced by:
 2005-01-29  Richard Guenther <richard.guenther@uni-tuebingen.de>

        PR tree-optimization/15791
        * fold-const.c (extract_array_ref): New function.
        (fold): Fold comparisons between &a[i] and &a[j] or
        semantically equivalent trees.


-- 


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


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