This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH v2] testsuite/gdb.base: Make skip test not rely on undefined behaviour.


On 06/17/2013 12:20 PM, Will Newton wrote:
> 
>  int main()
>  {
> -  return baz(foo(), bar());
> +  return baz((bar(), foo()));
>  }

Could you add a small comment explaining the need for
the extra parens?

-- 
Pedro Alves


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]