This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Kazu Hirata <kazu@cs.umass.edu> writes: > Hi, > > Attached is an updated patch to fix tree-optimization/14819. > > The older version was posted at: > > http://gcc.gnu.org/ml/gcc-patches/2004-05/msg01275.html > > Tested on i686-pc-linux-gnu. OK to apply? > > Kazu Hirata > > 2004-05-30 Steven Bosscher <stevenb@suse.de> > > PR tree-optimization/14819 > * builtins.c (fold_builtin_strchr): New. > (fold_builtin_1): Handle BUILT_IN_STRCHR and BUILT_IN_STRRCHR > with fold_builtin_strchr(). > > Index: builtins.c > =================================================================== > RCS file: /cvs/gcc/gcc/gcc/builtins.c,v > retrieving revision 1.326 > diff -u -r1.326 builtins.c > --- builtins.c 24 May 2004 16:37:17 -0000 1.326 > +++ builtins.c 30 May 2004 06:07:31 -0000 > @@ -7085,6 +7085,46 @@ > return 0; > } > > +/* Fold function call to buitlin strchr and strrchr. Typo: builtin. Andreas -- Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj SUSE Linux AG, Maxfeldstr. 5, 90409 Nürnberg, Germany GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126
Attachment:
pgp00000.pgp
Description: PGP signature
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |