On 10/16/2012 03:31 PM, Dominique Dhumieres wrote:
> Thanks for the quick answer.
>
>> That's just the way it works, so I suppose you could call it a feature.
>
> So the answer to (1) is yes and to (2) it is a poorly documented feature.
> May be the restriction to one dg-do directive should be ad
Thanks for the quick answer.
> That's just the way it works, so I suppose you could call it a feature.
So the answer to (1) is yes and to (2) it is a poorly documented feature.
May be the restriction to one dg-do directive should be added to
http://gcc.gnu.org/wiki/HowToPrepareATestcase .
In gcc
On 10/16/2012 07:14 AM, Andreas Schwab wrote:
> domi...@lps.ens.fr (Dominique Dhumieres) writes:
>
>> These questions are motivated by the comments #4 to #15 of pr54407.
>>
>> The bottom line is that
>>
>> { dg-do compile targets1 }
>> { dg-do run targets2 }
>>
>> behaves as
>>
>> {dg-do run { tar
domi...@lps.ens.fr (Dominique Dhumieres) writes:
> These questions are motivated by the comments #4 to #15 of pr54407.
>
> The bottom line is that
>
> { dg-do compile targets1 }
> { dg-do run targets2 }
>
> behaves as
>
> {dg-do run { targets1 targets2 } }
>
> while
>
> { dg-do run targets1 }
> {
These questions are motivated by the comments #4 to #15 of pr54407.
The bottom line is that
{ dg-do compile targets1 }
{ dg-do run targets2 }
behaves as
{dg-do run { targets1 targets2 } }
while
{ dg-do run targets1 }
{ dg-do compile targets2 }
as
{ dg-do compile { targets1 targets2 } }
(1)