diff options
author | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-08-24 12:29:14 +0000 |
---|---|---|
committer | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-08-24 12:29:14 +0000 |
commit | 098799528d6c758a1180c734af4f0229bbbf78bc (patch) | |
tree | e71678ea0f33cc3508fd3fe0dc995e4b09ea4872 /gcc/expr.h | |
parent | 30e5822c145e7dd0be7729a186a0f1ee46d03129 (diff) | |
download | gcc-098799528d6c758a1180c734af4f0229bbbf78bc.tar.gz |
* expr.c (store_expr): Optimize initialization of an array
with STRING_CST.
* expr.h (builtin_strncpy_read_str): New prototype.
* builtins.c (builtin_strncpy_read_str): Remove prototype.
No longer static.
* gcc.dg/array-init-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@127769 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/expr.h')
-rw-r--r-- | gcc/expr.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/expr.h b/gcc/expr.h index ed5b84b004e..242329a37be 100644 --- a/gcc/expr.h +++ b/gcc/expr.h @@ -341,6 +341,7 @@ extern void expand_builtin_setjmp_setup (rtx, rtx); extern void expand_builtin_setjmp_receiver (rtx); extern rtx expand_builtin_saveregs (void); extern void expand_builtin_trap (void); +extern rtx builtin_strncpy_read_str (void *, HOST_WIDE_INT, enum machine_mode); /* Functions from expr.c: */ |