[Bug middle-end/19652] New: should always optimize constant second argument to strspn & Co. at compile time
melkov at comptek dot ru
gcc-bugzilla@gcc.gnu.org
Thu Jan 27 07:18:00 GMT 2005
strspn, strcspn, strpbrk functions make a bitmap out of their second argument
and then process their first argument using that bitmap.
If the second argument is a constant string, that bitmap should be built at the
compile time, and strspn call be replaced with some intrinsic function that can
use that bitmap.
--
Summary: should always optimize constant second argument to
strspn & Co. at compile time
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: enhancement
Priority: P3
Component: middle-end
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: melkov at comptek dot ru
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19652
More information about the Gcc-bugs
mailing list