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 c/50082] -Wstrict-overflow mishandles typedef


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

--- Comment #3 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-08-15 15:01:38 UTC ---
Author: rguenth
Date: Mon Aug 15 15:01:33 2011
New Revision: 177762

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=177762
Log:
2011-08-15  Richard Guenther  <rguenther@suse.de>

    PR middle-end/50082
    * fold-const.c (maybe_canonicalize_comparison_1): Properly
    convert the modified operand to the other operand type.
    (fold_comparison): Call maybe_canonicalize_comparison_1 with
    useless conversions stripped from comparison operands.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/fold-const.c


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