This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r114844 - in /branches/gcc-4_1-branch/gcc: Chan...
- From: jakub at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Wed, 21 Jun 2006 09:13:42 -0000
- Subject: r114844 - in /branches/gcc-4_1-branch/gcc: Chan...
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