aboutsummaryrefslogtreecommitdiff
path: root/gcc/gdbhooks.py
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2014-07-30 15:02:59 +0000
committerTom Tromey <tromey@gcc.gnu.org>2014-07-30 15:02:59 +0000
commit976d5a222fc23279e239ad926472c7810869e494 (patch)
tree45b34e40286f6fd87f049a30ca4443da457a0501 /gcc/gdbhooks.py
parent41c79d60e56ed6c48f2b52ff9e9b750420cf9cbf (diff)
downloadgcc-976d5a222fc23279e239ad926472c7810869e494.zip
gcc-976d5a222fc23279e239ad926472c7810869e494.tar.gz
gcc-976d5a222fc23279e239ad926472c7810869e494.tar.bz2
re PR c/59855 (Support sparse-style __attribute__((designated_init)) on structures, requiring designated initializers)
2014-07-30 Tom Tromey <tromey@redhat.com> PR c/59855 * doc/invoke.texi (Warning Options): Document -Wdesignated-init. * doc/extend.texi (Type Attributes): Document designated_init attribute. 2014-07-30 Tom Tromey <tromey@redhat.com> PR c/59855 * c.opt (Wdesignated-init): New option. * c-common.c (c_common_attribute_table): Add "designated_init". (handle_designated_init): New function. 2014-07-30 Tom Tromey <tromey@redhat.com> * c-typeck.c (struct constructor_stack) <designator_depth>: New field. (really_start_incremental_init, push_init_level): Initialize designator_depth. (pop_init_level): Set global designator_depth. (process_init_element): Check for designated_init attribute. From-SVN: r213293
Diffstat (limited to 'gcc/gdbhooks.py')
0 files changed, 0 insertions, 0 deletions