http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55632



             Bug #: 55632

           Summary: trunk/gcc/cp/decl.c:10614: strange line of code

    Classification: Unclassified

           Product: gcc

           Version: 4.8.0

            Status: UNCONFIRMED

          Severity: minor

          Priority: P3

         Component: c++

        AssignedTo: unassig...@gcc.gnu.org

        ReportedBy: dcb...@hotmail.com





The line of code in question is



    /* Record presence of `static'.  */

    publicp = (ctype != NULL_TREE

           || storage_class == sc_extern

           || storage_class != sc_static);



This might be better as 



    /* Record presence of `static'.  */

    publicp = (ctype != NULL_TREE

           || storage_class != sc_static);



But then the code and the comment don't match up.

Suggest code rework.

Reply via email to