-
- Downloads
cpphash.h (struct spec_nodes): Remove n__CHAR_UNSIGNED__.
* cpphash.h (struct spec_nodes): Remove n__CHAR_UNSIGNED__. * cpphash.c (_cpp_init_hashtable): Similarly. * cppinit.c (cpp_create_reader): Default the signed_char flag. (init_builtins): Define __CHAR_UNSIGNED__ appropriately. (COMMAND_LINE_OPTIONS): Recognise -f{un,}signed-char. (cpp_handle_option): Handle the new options. * cpplex.c (cpp_interpret_charconst): Use new flag. * cpplib.h (struct cpp_options): New member signed_char. * gcc.c (cpp_unique_options): Remove %c spec and documentation. (cpp_options): Handle -fsigned-char and -funsigned-char. (static_specs): Remove signed_char_spec. (do_spec1): Don't handle %c. * system.h: Poison SIGNED_CHAR_SPEC. * tradcif.y (yylex): Use flag_signed_char. * tradcpp.h (flag_signed_char): New. * tradcpp.c (flag_signed_char): New. (main): Handle new command-line options. (initialize_builtins): Define __CHAR_UNSIGNED__ if appropriate. config: * alpha/alpha.h (SIGNED_CHAR_SPEC): Remove. * avr/avr.h: Remove old comments. * i960/i960.h (CPP_SPEC): Pass -fsigned-char if -mic*. (CC1_SPEC): Pass -fsigned-char if -mic*. (SIGNED_CHAR_SPEC): Remove. doc: * tm.texi (SIGNED_CHAR_SPEC): Remove documentation. testsuite: * gcc.dg/cpp/uchar-1.c, uchar-2.c, uchar-3.c: New tests. From-SVN: r49444
Showing
- gcc/ChangeLog 29 additions, 0 deletionsgcc/ChangeLog
- gcc/config/alpha/alpha.h 0 additions, 6 deletionsgcc/config/alpha/alpha.h
- gcc/config/avr/avr.h 1 addition, 10 deletionsgcc/config/avr/avr.h
- gcc/config/i960/i960.h 7 additions, 13 deletionsgcc/config/i960/i960.h
- gcc/cpphash.c 0 additions, 1 deletiongcc/cpphash.c
- gcc/cpphash.h 0 additions, 1 deletiongcc/cpphash.h
- gcc/cppinit.c 16 additions, 0 deletionsgcc/cppinit.c
- gcc/cpplex.c 2 additions, 3 deletionsgcc/cpplex.c
- gcc/cpplib.h 3 additions, 0 deletionsgcc/cpplib.h
- gcc/doc/tm.texi 0 additions, 10 deletionsgcc/doc/tm.texi
- gcc/gcc.c 4 additions, 23 deletionsgcc/gcc.c
- gcc/system.h 1 addition, 1 deletiongcc/system.h
- gcc/testsuite/ChangeLog 4 additions, 0 deletionsgcc/testsuite/ChangeLog
- gcc/testsuite/gcc.dg/cpp/uchar-1.c 8 additions, 0 deletionsgcc/testsuite/gcc.dg/cpp/uchar-1.c
- gcc/testsuite/gcc.dg/cpp/uchar-2.c 8 additions, 0 deletionsgcc/testsuite/gcc.dg/cpp/uchar-2.c
- gcc/testsuite/gcc.dg/cpp/uchar-3.c 17 additions, 0 deletionsgcc/testsuite/gcc.dg/cpp/uchar-3.c
- gcc/tradcif.y 1 addition, 2 deletionsgcc/tradcif.y
- gcc/tradcpp.c 14 additions, 0 deletionsgcc/tradcpp.c
- gcc/tradcpp.h 1 addition, 0 deletionsgcc/tradcpp.h
Loading
Please register or sign in to comment