[Bug c/42708] [4.5 Regression] ICE in gimplify_expr, at gimplify.c:6993
rguenth at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Jan 12 16:08:00 GMT 2010
------- Comment #3 from rguenth at gcc dot gnu dot org 2010-01-12 16:08 -------
typedef long unsigned int size_t;
extern char *yytext;
typedef union YYSTYPE {
char *id;
} YYSTYPE;
extern YYSTYPE yylval;
void yylex (int b)
{
yylval = (YYSTYPE) (b ? 0 : (char *) malloc (4));
}
#1 0x000000000080f95a in gimplify_expr (expr_p=0x7ffff7ff90d0,
pre_p=0x7fffffffcec8, post_p=0x7fffffff8a08,
gimple_test_f=0x7c83bf <is_gimple_val>, fallback=1)
at /space/rguenther/src/svn/trunk/gcc/gimplify.c:6991
6991 gcc_assert (TREE_CODE (*expr_p) == TRUTH_AND_EXPR
(gdb) p *expr_p
$1 = (tree) 0x7ffff7ff9070
(gdb) call debug_tree ( *expr_p)
<c_maybe_const_expr 0x7ffff7ff9070
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jsm28 at gcc dot gnu dot org
Status|UNCONFIRMED |NEW
Component|middle-end |c
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2010-01-12 16:08:00
date| |
Target Milestone|--- |4.5.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42708
More information about the Gcc-bugs
mailing list