Commit 278a8434 by Jeff Law Committed by Jeff Law

struct-layout-1_generate.c (generate_fields): Fix typo in address computation of…

struct-layout-1_generate.c (generate_fields): Fix typo in address computation of end of complex_attrib_array_types.

	* gcc.dg/struct-layout-1_generate.c (generate_fields): Fix typo in
	address computation of end of complex_attrib_array_types.

From-SVN: r253650
parent a92f6726
2017-10-11 Jeff Law <law@redhat.com>
* gcc.dg/struct-layout-1_generate.c (generate_fields): Fix typo in
address computation of end of complex_attrib_array_types.
2017-10-11 Marc Glisse <marc.glisse@inria.fr>
* gcc.dg/Wstrict-overflow-7.c: Xfail.
......
......@@ -1893,7 +1893,7 @@ generate_fields (enum FEATURE features, struct entry *e, struct entry *parent,
|| (e[n].type >= &attrib_array_types[0]
&& e[n].type < &attrib_array_types[NAATYPES2])
|| (e[n].type >= &complex_attrib_array_types[0]
&& e[n].type < &complex_attrib_array_types[NAATYPES2])
&& e[n].type < &complex_attrib_array_types[NCAATYPES2])
|| (e[n].type >= &aligned_bitfld_types[0]
&& e[n].type < &aligned_bitfld_types[n_aligned_bitfld_types])))
e[n].attrib = NULL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment