[Bug regression/53130] [4.8 Regression]: gcc.dg/20011021-1.c, gcc.dg/m-un-2.c, gcc.dg/missing-field-init-2.c
manu at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Apr 26 20:30:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53130
Manuel López-Ibáñez <manu at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed| |2012-04-26
AssignedTo|unassigned at gcc dot |manu at gcc dot gnu.org
|gnu.org |
Ever Confirmed|0 |1
--- Comment #1 from Manuel López-Ibáñez <manu at gcc dot gnu.org> 2012-04-26 20:30:11 UTC ---
I am testing this patch:
Index: gcc/c-typeck.c
===================================================================
--- gcc/c-typeck.c (revision 186821)
+++ gcc/c-typeck.c (working copy)
@@ -7063,11 +7063,11 @@ pop_init_level (int implicit, struct obs
if (warning_at (input_location, OPT_Wmissing_field_initializers,
"missing initializer for field %qD of %qT",
constructor_unfilled_fields,
constructor_type))
inform (DECL_SOURCE_LOCATION (constructor_unfilled_fields),
- "%qT declared here", constructor_unfilled_fields);
+ "%qD declared here", constructor_unfilled_fields);
}
}
/* Pad out the end of the structure. */
if (p->replacement_value.value)
More information about the Gcc-bugs
mailing list