r114844 - in /branches/gcc-4_1-branch/gcc: Chan...

jakub@gcc.gnu.org jakub@gcc.gnu.org
Wed Jun 21 09:13:00 GMT 2006


Author: jakub
Date: Wed Jun 21 09:13:41 2006
New Revision: 114844

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=114844
Log:
	* varasm.c (mergeable_string_section): Check for embedded NULs and
	NUL termination in the first int_size_in_bytes (TREE_TYPE (decl))
	rather than TREE_STRING_LENGTH bytes.

	* gcc.dg/merge-all-constants-1.c: New test.

Added:
    branches/gcc-4_1-branch/gcc/testsuite/gcc.dg/merge-all-constants-1.c
Modified:
    branches/gcc-4_1-branch/gcc/ChangeLog
    branches/gcc-4_1-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_1-branch/gcc/varasm.c



More information about the Gcc-cvs mailing list