This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/52862] [4.5/4.6 Regression] ICE convert_to_pointer, at convert.c:50
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 22 May 2012 09:17:53 +0000
- Subject: [Bug c/52862] [4.5/4.6 Regression] ICE convert_to_pointer, at convert.c:50
- Auto-submitted: auto-generated
- References: <bug-52862-4@http.gcc.gnu.org/bugzilla/>
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