aboutsummaryrefslogtreecommitdiff
path: root/ChangeLog.csl
diff options
context:
space:
mode:
authorMark Shinwell <shinwell@codesourcery.com>2006-06-01 17:07:12 +0000
committerMark Shinwell <shinwell@codesourcery.com>2006-06-01 17:07:12 +0000
commitf3d45739c1e330d68cb3622136e78cccfc4b9230 (patch)
treef1a5ee48c6a8d959b46bc387ef7896436e908d94 /ChangeLog.csl
parent8e1c368c4c8ce371f0b90f34f7d50793c9cb7ed8 (diff)
Patch for issue #721.
* gcc/tree.h: Declare folding_initializer. * gcc/builtins.c (fold_builtin_constant_p): Give definite answer if folding inside an initializer. * gcc/fold-const.c: Define folding_initializer. (START_FOLD_INIT): Save and then set folding_initializer. (END_FOLD_INIT): Restore folding_initializer. * gcc/testsuite/gcc.c-torture/compile/builtin_constant_p.c: New test. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/csl/sourcerygxx-4_1@114313 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'ChangeLog.csl')
-rw-r--r--ChangeLog.csl11
1 files changed, 11 insertions, 0 deletions
diff --git a/ChangeLog.csl b/ChangeLog.csl
index 9e60fd4ee0b..4aa70e39bdd 100644
--- a/ChangeLog.csl
+++ b/ChangeLog.csl
@@ -1,3 +1,14 @@
+2006-06-01 Mark Shinwell <shinwell@codesourcery.com>
+
+ * gcc/tree.h: Declare folding_initializer.
+ * gcc/builtins.c (fold_builtin_constant_p): Give definite answer
+ if folding inside an initializer.
+ * gcc/fold-const.c: Define folding_initializer.
+ (START_FOLD_INIT): Save and then set folding_initializer.
+ (END_FOLD_INIT): Restore folding_initializer.
+ * gcc/testsuite/gcc.c-torture/compile/builtin_constant_p.c:
+ New test.
+
2006-05-31 Carlos O'Donell <carlos@codesourcery.com>
Backport from mainline: