re PR tree-optimization/14197 (Wrong code for bcopy/memmove (string-asm-2.c))
authorUlrich Weigand <uweigand@de.ibm.com>
Mon, 24 May 2004 16:37:17 +0000 (16:37 +0000)
committerUlrich Weigand <uweigand@gcc.gnu.org>
Mon, 24 May 2004 16:37:17 +0000 (16:37 +0000)
commitaef0afc4f41cab8148ee17a4ea7dddb6fca0342e
treef551be5e22d25c37547349ed76c50f067903bb89
parenta1db9d9c61bb4c74f5dac30c9d673c84b63c6384
re PR tree-optimization/14197 (Wrong code for bcopy/memmove (string-asm-2.c))

PR tree-optimization/14197
* builtins.c: Include "tree-gimple.h"
(readonly_data_expr): Use get_base_address.  Make sure to call
decl_readonly_section only on trees it can handle.
* tree-gimple.c (get_base_address): Accept STRING_CST and
CONSTRUCTOR expressions.
* Makefile.in: Update dependencies.

From-SVN: r82209
gcc/ChangeLog
gcc/Makefile.in
gcc/builtins.c
gcc/tree-gimple.c