[PATCH 2/3] Add DIAGNOSTIC_IGNORE_STRINGOP_TRUNCATION
Alan Modra
amodra@gmail.com
Fri Jun 1 10:19:00 GMT 2018
On Fri, Jun 01, 2018 at 08:57:20AM +0100, Nick Clifton wrote:
> Hi H.J.
>
> > +# if __GNUC__ >= 8
> > +# define DIAGNOSTIC_IGNORE_STRINGOP_TRUNCATION \
> > + DIAGNOSTIC_IGNORE ("-Wstringop-truncation")
> > +# endif
> > +#endif
>
> Presumably the Wstringop-truncation bug will be fixed in gcc 8.1
> so shouldn't the test check the revision number as well ?
Yes, it has already been fixed.
--
Alan Modra
Australia Development Lab, IBM
More information about the Binutils
mailing list