Re: [PATCH] fold builtin_tolower, builtin_toupper

2015-07-30 Thread Joseph Myers
On Thu, 9 Jul 2015, Richard Biener wrote: > On Thu, 9 Jul 2015, Bernhard Reutner-Fischer wrote: > > > gcc/ChangeLog > > > > 2015-07-09 Bernhard Reutner-Fischer > > > > * builtins.c (fold_builtin_tolower, fold_builtin_toupper): New > > static functions. > > (fold_builtin_1): Handl

Re: [PATCH] fold builtin_tolower, builtin_toupper

2015-07-10 Thread Bernhard Reutner-Fischer
On 10 July 2015 at 08:51, Ondřej Bílka wrote: > On Thu, Jul 09, 2015 at 03:46:08PM +0200, Richard Biener wrote: >> On Thu, 9 Jul 2015, Bernhard Reutner-Fischer wrote: [toupper/tolower patch withdrawn] >> I don't think this can be correct for all locales which need not >> have a lower-case charac

Re: [PATCH] fold builtin_tolower, builtin_toupper

2015-07-09 Thread Ondřej Bílka
On Thu, Jul 09, 2015 at 03:46:08PM +0200, Richard Biener wrote: > On Thu, 9 Jul 2015, Bernhard Reutner-Fischer wrote: > > > gcc/ChangeLog > > > > 2015-07-09 Bernhard Reutner-Fischer > > > > * builtins.c (fold_builtin_tolower, fold_builtin_toupper): New > > static functions. > > (f

Re: [PATCH] fold builtin_tolower, builtin_toupper

2015-07-09 Thread Bernhard Reutner-Fischer
On 9 July 2015 at 15:46, Richard Biener wrote: > On Thu, 9 Jul 2015, Bernhard Reutner-Fischer wrote: > >> gcc/ChangeLog >> >> 2015-07-09 Bernhard Reutner-Fischer >> >> * builtins.c (fold_builtin_tolower, fold_builtin_toupper): New >> static functions. >> (fold_builtin_1): Hand

Re: [PATCH] fold builtin_tolower, builtin_toupper

2015-07-09 Thread Richard Biener
On Thu, 9 Jul 2015, Bernhard Reutner-Fischer wrote: > gcc/ChangeLog > > 2015-07-09 Bernhard Reutner-Fischer > > * builtins.c (fold_builtin_tolower, fold_builtin_toupper): New > static functions. > (fold_builtin_1): Handle BUILT_IN_TOLOWER, BUILT_IN_TOUPPER. As I read it you

[PATCH] fold builtin_tolower, builtin_toupper

2015-07-09 Thread Bernhard Reutner-Fischer
gcc/ChangeLog 2015-07-09 Bernhard Reutner-Fischer * builtins.c (fold_builtin_tolower, fold_builtin_toupper): New static functions. (fold_builtin_1): Handle BUILT_IN_TOLOWER, BUILT_IN_TOUPPER. Signed-off-by: Bernhard Reutner-Fischer --- gcc/builtins.c | 99 +++