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/37289] [4.4 Regression] ICE after non-trivial conversion at assignment



------- Comment #3 from rguenth at gcc dot gnu dot org  2008-08-31 13:40 -------
Subject: Bug 37289

Author: rguenth
Date: Sun Aug 31 13:39:26 2008
New Revision: 139831

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

        PR middle-end/37289
        * fold-const.c (fold_binary): Retain conversions in folding
        ~A + 1 to -A.

        * gcc.dg/pr37289.c: New testcase.

Added:
    trunk/gcc/testsuite/gcc.dg/pr37289.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/fold-const.c
    trunk/gcc/testsuite/ChangeLog


-- 


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


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