[llvm] r174770 - configure: when performing a compiler feature test for a -Wno-foo flag, attempt

Dmitri Gribenko gribozavr at gmail.com
Fri Feb 8 15:14:38 PST 2013


Hi Richard,

On Sat, Feb 9, 2013 at 12:55 AM, Richard Smith
<richard-llvm at metafoo.co.uk> wrote:
> Author: rsmith
> Date: Fri Feb  8 16:55:10 2013
> New Revision: 174770
>
> URL: http://llvm.org/viewvc/llvm-project?rev=174770&view=rev
> Log:
> configure: when performing a compiler feature test for a -Wno-foo flag, attempt
> to use -Wfoo instead of -Wno-foo. This works around a bug in some versions of
> gcc, where it will silently accept an unknown -Wno-foo option, but will
> generate an error for a compile which uses -Wno-foo if that compile also
> triggers any warnings.

Can we now remove the workaround from configure.ac at lines 1280--1304?

Dmitri

-- 
main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
(j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr at gmail.com>*/



More information about the llvm-commits mailing list