This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/38360] [4.3/4.4 regression] ICE in gimple_op, at gimple.h:1636
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Dec 2008 00:37:49 -0000
- Subject: [Bug middle-end/38360] [4.3/4.4 regression] ICE in gimple_op, at gimple.h:1636
- References: <bug-38360-5724@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from pinskia at gcc dot gnu dot org 2008-12-02 00:37 -------
Caused by:
------------------------------------------------------------------------
r122018 | sandra | 2007-02-15 15:50:49 -0800 (Thu, 15 Feb 2007) | 862 lines
There used to be a validate_arglist in fold_builtin_fputs but that has been
removed in that revision.
/* Verify the arguments in the original call. */
- if (!validate_arglist (arglist, POINTER_TYPE, POINTER_TYPE, VOID_TYPE))
- return 0;
+ if (!validate_arg (arg0, POINTER_TYPE)
+ || !validate_arg (arg1, POINTER_TYPE))
+ return NULL_TREE;
So we no longer validate that the fputs builtin has the correct argument
types/number any more in tree-ssa-ccp.c's ccp_fold_builtin.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |sandra at gcc dot gnu dot
| |org
Target Milestone|--- |4.3.3
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38360