This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/55890] [4.7 Regression] calling a builtin func through a cast triggers an ICE
- 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: Mon, 04 Feb 2013 15:49:29 +0000
- Subject: [Bug tree-optimization/55890] [4.7 Regression] calling a builtin func through a cast triggers an ICE
- Auto-submitted: auto-generated
- References: <bug-55890-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55890
--- Comment #11 from Richard Biener <rguenth at gcc dot gnu.org> 2013-02-04 15:49:29 UTC ---
Author: rguenth
Date: Mon Feb 4 15:49:18 2013
New Revision: 195718
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=195718
Log:
2013-02-04 Richard Biener <rguenther@suse.de>
Backport from mainline
2012-01-11 Richard Guenther <rguenther@suse.de>
PR tree-optimization/44061
* tree-vrp.c (extract_range_basic): Compute zero as
value-range for __builtin_constant_p of function parameters.
* gcc.dg/pr44061.c: New testcase.
2013-01-08 Jakub Jelinek <jakub@redhat.com>
PR middle-end/55890
* tree-ssa-ccp.c (evaluate_stmt): Use gimple_call_builtin_class_p.
* gcc.dg/torture/pr55890-3.c: New test.
Added:
branches/gcc-4_7-branch/gcc/testsuite/gcc.dg/pr44061.c
branches/gcc-4_7-branch/gcc/testsuite/gcc.dg/torture/pr55890-3.c
Modified:
branches/gcc-4_7-branch/gcc/ChangeLog
branches/gcc-4_7-branch/gcc/testsuite/ChangeLog
branches/gcc-4_7-branch/gcc/tree-ssa-ccp.c
branches/gcc-4_7-branch/gcc/tree-vrp.c