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: unassig...@gcc.gnu.org ReportedBy: js...@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.