[Bug c/49654] New: Linear search through options in handle_pragma_diagnostic

jsm28 at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Jul 5 22:49:00 GMT 2011


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

           Summary: Linear search through options in
                    handle_pragma_diagnostic
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: jsm28@gcc.gnu.org


c-pragma.c:handle_pragma_diagnostic does a linear search through options to
find one that matches.  It should use find_opt instead.



More information about the Gcc-bugs mailing list