On 04/26/2015 07:09 PM, Josh Triplett wrote:
handle_section_attribute contains many levels of nested conditionals and
branching code flow paths, with the error cases sometimes in the else
case and sometimes in the if case.  Simplify the code flow into a series
of potential failure cases ending with the successful path, with no
nesting and no else clauses.
---

I do not have commit access; if you approve, please commit.

This cleanup will help enable a larger patch enhancing the section attribute.

gcc/Changelog entry:

2014-08-24  Josh Triplett  <j...@joshtriplett.org>

         * c-family/c-common.c (handle_section_attribute): Refactor to reduce
         nesting and distinguish between error cases.
Installed on the trunk.

WRT the larger patch, if you don't have a copyright assignment on file with the FSF, you should get that process started. ass...@gnu.org.


jeff

Reply via email to