[PATCH] Fix PR bootstrap/35855: awk character classes.
Ralf Wildenhues
Ralf.Wildenhues@gmx.de
Sun Oct 10 15:43:00 GMT 2010
Ping http://gcc.gnu.org/ml/gcc-patches/2010-09/msg02027.html
* Ralf Wildenhues wrote on Sun, Sep 26, 2010 at 08:05:30AM CEST:
> Bootstrapped x86_64-unknown-linux-gnu, regtest is running.
>
> OK for trunk?
>
> OK for 4.5, 4.4, and 4.3 after a while, as the PR documents this to be a
> 4.3 regression?
>
> Not using [:alpha:] or other character classes for two reasons:
> - they would require the locale to be set/overridden correctly,
> - not all awk implementations support them; at least, that is what I can
> infer from the gawk.info documentation of -W compat.
> Fix PR bootstrap/35855: awk character classes.
>
> gcc/ChangeLog:
> 2010-09-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
>
> PR bootstrap/35855
> * opt-functions.awk (BEGIN): New section.
> (alpha, ALPHA, numeric, alnum): New variables.
> (static_var, opt_sanitized_name): Use alnum instead of character
> classes, for non-C locale.
> * optc-gen.awk: Likewise.
> * opth-gen.awk: Likewise.
More information about the Gcc-patches
mailing list