Skip to content
Snippets Groups Projects
Commit 38027156 authored by Jakub Jelinek's avatar Jakub Jelinek Committed by Jakub Jelinek
Browse files

tree-object-size.c (addr_object_size): Handle unions with array in it as last...

tree-object-size.c (addr_object_size): Handle unions with array in it as last field of structs in __bos (...

	* tree-object-size.c (addr_object_size): Handle unions with
	array in it as last field of structs in __bos (, 1) as __bos (, 0).

	* gcc.dg/builtin-object-size-6.c: Adjust expected values. 
	* gcc.dg/builtin-object-size-8.c: New test. 
	* g++.dg/ext/builtin-object-size1.C: Adjust expected values.
	* g++.dg/ext/builtin-object-size2.C: Likewise.

From-SVN: r149825
parent e338758d
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment