mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-21 08:30:35 +08:00
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
This commit is contained in:
parent
a92f67261a
commit
278a84349a
@ -1,3 +1,8 @@
|
||||
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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user