On Mon, Mar 23, 2015 at 3:59 PM, Jakub Jelinek <ja...@redhat.com> wrote:
> On Sun, Mar 22, 2015 at 11:11:24PM +0100, Jan Hubicka wrote:
>> --- testsuite/g++.dg/lto/pr65475b_0.C (revision 0)
>> +++ testsuite/g++.dg/lto/pr65475b_0.C (revision 0)
>> @@ -0,0 +1,9 @@
>> +/* { dg-lto-do link } */
>> +/* { dg-options "-O2  -Wno-odr" } */
>
> Wasn't this supposed to be dg-lto-options instead?
> I'm getting
> WARNING: lto.exp does not support dg-options in primary source file
> otherwise.

Yep - dg-options works in secondary files only (and applies to compile-time).

Richard.

>         Jakub

Reply via email to