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/49189] [4.7 regression] infinite recursion in constant folder


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

--- Comment #5 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-05-27 13:13:34 UTC ---
Author: rguenth
Date: Fri May 27 13:13:28 2011
New Revision: 174330

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

    PR middle-end/49189
    * fold-const.c (fold_unary_loc): Do not re-fold folding conversions
    of comparisons.

    * gnat.dg/bit_packed_array5.adb: New testcase.
    * gnat.dg/bit_packed_array5.ads: Likewise.

Added:
    trunk/gcc/testsuite/gnat.dg/bit_packed_array5.adb
    trunk/gcc/testsuite/gnat.dg/bit_packed_array5.ads
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/fold-const.c
    trunk/gcc/testsuite/ChangeLog


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