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/33122] [4.3 Regression] Mistaken type mismatch error prevents bootstrap



------- Comment #6 from rguenth at gcc dot gnu dot org  2007-08-21 08:24 -------
Subject: Bug 33122

Author: rguenth
Date: Tue Aug 21 08:23:50 2007
New Revision: 127659

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

        PR middle-end/33122
        * fold-const.c (fold_binary): Remove index +p PTR folding.
        Fix types of POINTER_PLUS_EXPR generated by folding of
        (PTR +p B) +p A.

        * gcc.c-torture/compile/pr33122.c: New testcase.

Added:
    trunk/gcc/testsuite/gcc.c-torture/compile/pr33122.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/fold-const.c
    trunk/gcc/testsuite/ChangeLog


-- 


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


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