[patch] Avoid warning for for %E format

Rafael Espindola espindola@google.com
Wed Apr 22 13:16:00 GMT 2009


The patch in http://gcc.gnu.org/ml/gcc-cvs/2009-04/msg00931.html adds
support for the %E modifier, but we would still produce a warning for

 warning (0, G_("%H%qE is assigned to itself"), &location, lhs);

this patches fixes the warning.

2009-04-22  Rafael Avila de Espindola  <espindola@google.com>

	* c-format.c (gcc_tdiag_char_table): Add support for %E.

Cheers,
-- 
Rafael Avila de Espindola

Google | Gordon House | Barrow Street | Dublin 4 | Ireland
Registered in Dublin, Ireland | Registration Number: 368047
-------------- next part --------------
A non-text attachment was scrubbed...
Name: warning.patch
Type: text/x-patch
Size: 758 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20090422/e5dbfbb5/attachment.bin>


More information about the Gcc-patches mailing list