Buggy test 20_util/exchange/1.cc

Jonathan Wakely jwakely.gcc@gmail.com
Tue Oct 15 18:35:00 GMT 2013


On 15 October 2013 19:33, Diego Novillo wrote:
> On Tue, Oct 15, 2013 at 11:30 AM, Marc Glisse <marc.glisse@inria.fr> wrote:
>> On Tue, 15 Oct 2013, Diego Novillo wrote:
>>
>>> +int f(int __attribute__((unused)) x) { return 0; }
>>> +
>>> +double f(double __attribute__((unused)) x) { return 0; }
>>
>>
>> This is C++, why do you want to name unused arguments?
>
> Years of C hacking have scarred me deeply.  I'll remove it.

:-)

OK to commit with that change - thanks!



More information about the Libstdc++ mailing list