r114842 - in /trunk/gcc: ChangeLog testsuite/Ch...
jakub@gcc.gnu.org
jakub@gcc.gnu.org
Wed Jun 21 08:58:00 GMT 2006
Author: jakub
Date: Wed Jun 21 08:58:44 2006
New Revision: 114842
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=114842
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:
trunk/gcc/testsuite/gcc.dg/merge-all-constants-1.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/varasm.c
More information about the Gcc-cvs
mailing list