c-common.c (declare_function_name): Declare predefinied variable `__func__'.
authorUlrich Drepper <drepper@cygnus.com>
Tue, 1 Dec 1998 21:05:17 +0000 (21:05 +0000)
committerRichard Henderson <rth@gcc.gnu.org>
Tue, 1 Dec 1998 21:05:17 +0000 (13:05 -0800)
commit6f4d72224e91330c6c02d5b96b04b97e84024589
tree8180a32dab64f00b8c46fedcdc5e7b9928102158
parent8da31fc17102a9413921d73c8b15834851eba567
c-common.c (declare_function_name): Declare predefinied variable `__func__'.

        * c-common.c (declare_function_name): Declare predefinied variable
        `__func__'.
        * c-decl.c (flag_isoc9x): Set to 1 by default.
        (c_decode_option): Handle -std= option.  Remove -flang-isoc9x.
        (grokdeclarator): Always emit warning about implicit int for ISO C 9x.
        * c-parse.in: Allow constructors in ISO C 9x.
        Rewrite designator list handling.
        Allow [*] parameters.
        Don't warn about comma at end of enum definition for ISO C 9x.
        * cccp.c (c9x): New variable.
        (rest_extension): New variable.
        (print_help): Document new -std= option.
        (main): Recognize -std= option.  Set c9x appropriately.
        (create_definition): Recognize ISO C 9x vararg macros.
        * gcc.c (default_compilers): Adjust specs for -std options.
        (option_map): Add --std.
        (display_help): Document -std.
        * toplev.c (documented_lang_options): Add -std and remove
        -flang-isoc9x.
        * c-lex.c (yylex): Recognize hex FP constants and call REAL_VALUE_ATOF
        or REAL_VALUE_HTOF based on base of the constants.
        * fold-const.c (real_hex_to_f): New function.  Replacement function
        for hex FP conversion if REAL_ARITHMETIC is not defined.
        * real.c (asctoeg): Add handling of hex FP constants.
        * real.h: Define REAL_VALUE_HTOF if necessary using ereal_atof or
        real_hex_to_f.

Co-Authored-By: Richard Henderson <rth@cygnus.com>
Co-Authored-By: Stephen L Moshier <moshier@world.std.com>
From-SVN: r24049
17 files changed:
gcc/ChangeLog
gcc/c-common.c
gcc/c-decl.c
gcc/c-lex.c
gcc/c-parse.c
gcc/c-parse.in
gcc/c-parse.y
gcc/cccp.c
gcc/extend.texi
gcc/fold-const.c
gcc/gcc.c
gcc/objc/objc-parse.c
gcc/objc/objc-parse.y
gcc/real.c
gcc/real.h
gcc/reorg.c
gcc/toplev.c