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 al...@gcc.gnu.org * builtins.c (fold_builtin_tolower, fold_builtin_toupper): New static functions. (fold_builtin_1):

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 nel...@seznam.cz 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

Re: [PATCH] fold builtin_tolower, builtin_toupper

2015-07-09 Thread Bernhard Reutner-Fischer
On 9 July 2015 at 15:46, Richard Biener rguent...@suse.de wrote: On Thu, 9 Jul 2015, Bernhard Reutner-Fischer wrote: gcc/ChangeLog 2015-07-09 Bernhard Reutner-Fischer al...@gcc.gnu.org * builtins.c (fold_builtin_tolower, fold_builtin_toupper): New static functions.

[PATCH] fold builtin_tolower, builtin_toupper

2015-07-09 Thread Bernhard Reutner-Fischer
gcc/ChangeLog 2015-07-09 Bernhard Reutner-Fischer al...@gcc.gnu.org * 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

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 al...@gcc.gnu.org * builtins.c (fold_builtin_tolower, fold_builtin_toupper): New static functions. (fold_builtin_1): Handle BUILT_IN_TOLOWER, BUILT_IN_TOUPPER. As I