This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/49123] [4.6 Regression] FAIL: gcc.c-torture/execute/pr48973-[12].c
- 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, 23 May 2011 14:17:44 +0000
- Subject: [Bug lto/49123] [4.6 Regression] FAIL: gcc.c-torture/execute/pr48973-[12].c
- Auto-submitted: auto-generated
- References: <bug-49123-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49123
--- Comment #7 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-05-23 13:56:49 UTC ---
That would be
Index: gcc/fold-const.c
===================================================================
--- gcc/fold-const.c (revision 174066)
+++ gcc/fold-const.c (working copy)
@@ -5954,7 +5954,7 @@ constant_boolean_node (int value, tree t
else if (type == boolean_type_node)
return value ? boolean_true_node : boolean_false_node;
else
- return build_int_cst (type, value);
+ return build_int_cst_type (type, value);
}
which works for me as well.