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: New ARI warning Wed Jun 20 01:56:10 UTC 2012


> Blech.  Given the structure of the code that was already there, the
> embedded assignment was a no-brainer.  In gcc-land they're not exactly
> forbidden.

If you think that breaking down the condition to move the assignment
outside of the condition is going to make the code worse, can you add
an ARI marker to say we've looked at it, and accepted it? That way,
it'll be removed from the current report.

-- 
Joel


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