This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix -fmerge-all-constants


On Mon, Jun 19, 2006 at 07:14:55AM -0400, Jakub Jelinek wrote:
> 	* 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.

Ok by me.


r~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]