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/52862] [4.5/4.6 Regression] ICE convert_to_pointer, at convert.c:50


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

--- Comment #8 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-05-22 09:17:53 UTC ---
Author: rguenth
Date: Tue May 22 09:17:42 2012
New Revision: 187762

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

        Backport from mainline
        2012-04-12  Richard Guenther  <rguenther@suse.de>

    PR c/52862
    * convert.c (convert_to_pointer): Remove special-casing of
    zero.

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

Added:
    branches/gcc-4_6-branch/gcc/testsuite/gcc.dg/pr52862.c
Modified:
    branches/gcc-4_6-branch/gcc/ChangeLog
    branches/gcc-4_6-branch/gcc/convert.c
    branches/gcc-4_6-branch/gcc/testsuite/ChangeLog


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