Commit 1b226529 by Marek Polacek Committed by Marek Polacek

re PR c/39525 ([easy to fix bug] Docs for C99 "designated initializers" isn't…

re PR c/39525 ([easy to fix bug] Docs for C99 "designated initializers" isn't clear what happens to omitted field members)

	PR c/39525
	* doc/extend.texi (Designated Inits): Describe what happens to omitted
	field members.

From-SVN: r208835
parent 6686e0bc
2014-03-26 Marek Polacek <polacek@redhat.com> 2014-03-26 Marek Polacek <polacek@redhat.com>
PR c/39525
* doc/extend.texi (Designated Inits): Describe what happens to omitted
field members.
2014-03-26 Marek Polacek <polacek@redhat.com>
PR other/59545 PR other/59545
* ira-color.c (update_conflict_hard_regno_costs): Perform the * ira-color.c (update_conflict_hard_regno_costs): Perform the
multiplication in unsigned type. multiplication in unsigned type.
......
...@@ -1967,6 +1967,9 @@ Another syntax that has the same meaning, obsolete since GCC 2.5, is ...@@ -1967,6 +1967,9 @@ Another syntax that has the same meaning, obsolete since GCC 2.5, is
struct point p = @{ y: yvalue, x: xvalue @}; struct point p = @{ y: yvalue, x: xvalue @};
@end smallexample @end smallexample
Omitted field members are implicitly initialized the same as objects
that have static storage duration.
@cindex designators @cindex designators
The @samp{[@var{index}]} or @samp{.@var{fieldname}} is known as a The @samp{[@var{index}]} or @samp{.@var{fieldname}} is known as a
@dfn{designator}. You can also use a designator (or the obsolete colon @dfn{designator}. You can also use a designator (or the obsolete colon
......
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