History log of /openbsd/gnu/gcc/gcc/c-typeck.c (Results 1 – 3 of 3)
Revision Date Author Comments
# 64bcbf86 18-Jan-2023 claudio <claudio@openbsd.org>

Adjust how gcc4 handles the "missing braces around initializer" warning.

In c99 any value can be initalised using a { 0 } constructor independent
of the type. Now if a struct's first member is anoth

Adjust how gcc4 handles the "missing braces around initializer" warning.

In c99 any value can be initalised using a { 0 } constructor independent
of the type. Now if a struct's first member is another struct then gcc4
issues the above warning but it should not do that.

Move the warning check from push_init_level() to pop_init_level() and
check if either { 0 } or { } was used. If additional implicit braces
were added surpress the warning.

Inspired by gcc PR#64709
OK deraadt@ miod@

show more ...


# dbc3b72c 05-May-2016 kettenis <kettenis@openbsd.org>

Add support for named initializers for anonymous structs/unions. This is a
C11 feature that is starting to get used in places such as Mesa.

This implementation takes a different approach to upstrea

Add support for named initializers for anonymous structs/unions. This is a
C11 feature that is starting to get used in places such as Mesa.

This implementation takes a different approach to upstream and is therefore
not covered by GPLv3.

ok stefan@, jsg@

show more ...


# 404b540a 15-Oct-2009 robert <robert@openbsd.org>

import of gcc-4.2.1, the last gcc release under GPLv2