Make gcc.dg/fshort-wchar.c use -Wl,--no-wchar-size-warning on ARM EABI

Janis Johnson janis187@us.ibm.com
Fri Jul 18 22:54:00 GMT 2008


On Fri, 2008-07-18 at 20:52 +0000, Joseph S. Myers wrote:
> Just as some testcases use -Wl,--no-enum-size-warning for
> arm*-*-linux*eabi to avoid linker warnings about different enum sizes
> in input files, so the testcase gcc.dg/fshort-wchar.c triggers a
> linker complaint about different wchar_t sizes.  I've added a
> --no-wchar-size-warning option to binutils; OK to commit this patch to
> make the test use it?  (It already fails for this target in the
> absence of the option, so I don't think failing with a different error
> if you use binutils predating the option is a problem.)
> 
> 2008-07-18  Joseph Myers  <joseph@codesourcery.com>
> 
> 	* gcc.dg/fshort-wchar.c: Use -Wl,--no-wchar-size-warning on
> 	arm*-*-*eabi.

OK.

Janis



More information about the Gcc-patches mailing list