This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/49654] New: Linear search through options in handle_pragma_diagnostic
- From: "jsm28 at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 5 Jul 2011 22:49:32 +0000
- Subject: [Bug c/49654] New: Linear search through options in handle_pragma_diagnostic
- Auto-submitted: auto-generated
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.