1. 08 Jul, 2000 7 commits
    • parse.y (generate_classfile): Exclude null strings. · 2f2bd00a
      2000-07-07  Alexandre Petit-Bianco  <apbianco@cygnus.com>
      
              * parse.y (generate_classfile): Exclude null strings.
      
      (http://gcc.gnu.org/ml/gcc-patches/2000-07/msg00233.html)
      
      From-SVN: r34923
      Alexandre Petit-Bianco committed
    • cppinit.c (print_help): split overlong line into ISO C89 maximum chunks. · aaaf7848
      2000-07-03  Donn Terry  (donnte@microsoft.com)
      
      	* cppinit.c (print_help): split overlong line into ISO C89
      	maximum chunks.
      
      From-SVN: r34922
      Donn Terry committed
    • jcf-write.c (generate_classfile): Properly install the ConstantValue attribute… · 629d4b4d
      jcf-write.c (generate_classfile): Properly install the ConstantValue attribute and the initial value constant...
      
      2000-07-07  Alexandre Petit-Bianco  <apbianco@cygnus.com>
      
              * jcf-write.c (generate_classfile): Properly install the
              ConstantValue attribute and the initial value constant pool index
              on string constants.
              * parse.y (java_complete_lhs): Keep DECL_INITIAL when emitting
              class files.
      
      (http://gcc.gnu.org/ml/gcc-patches/2000-07/msg00233.html)
      
      From-SVN: r34921
      Alexandre Petit-Bianco committed
    • cppexp.c: Update all code for new lexer interface. · cf00a885
      	* cppexp.c: Update all code for new lexer interface.
      	(op_t, operator codes, struct token, tokentab2, op_to_str): Remove.
      	(struct suffix, vsuf_1, vsuf_2, vsuf_3, op_to_prio): New.
      	* cpplex.c (token_names): Trim leading CPP_ from names; make
      	the strings unsigned.
      	(_cpp_spell_operator): New.
      	(is_macro_disabled): Disable all macros if rescanning
      	preprocessed text.
      	(_cpp_get_directive_token): Remove.
      
      	* cppinit.c: Don't set no_macro_expand.
      	* cpplib.c (read_line_number, do_line): Check only for EOF,
      	not VSPACE.
      	* cpphash.h: Update prototypes.
      	* cpplib.h (CPP_VSPACE): Remove.
      	(struct cpp_reader): Remove no_macro_expand.
      
      testsuite:
      	* gcc.dg/cpp/19951227-1.c, gcc.dg/cpp/assert2.c,
      	gcc.dg/cpp/if-1.c, gcc.dg/cpp/if-4.c: Tweak error regexps.
      
      From-SVN: r34920
      Zack Weinberg committed
    • cpphash.c (is__va_args__): New function. · 563dd08a
      	* cpphash.c (is__va_args__): New function.
      	(count_params): Fix line reported in error messages.  Use
      	is__va_args__.  Don't return ')' on error.  Flag GNU style
      	rest args macro definitions.
      	(parse_define): Check macro name is not __VA_ARGS__.
      	(save_expansion): Check identifier in non-varargs-macro is
      	not __VA_ARGS__.  Don't flag GNU_VARARGS.
      	* cpplex.c (parse_args): Accept no argument iff GNU_REST_ARGS.
      	(maybe_paste_with_next): Use per-macro GNU_REST_ARGS rather
      	 than per-token GNU_VARARGS.
      	* cpplib.h (GNU_VARARGS): Remove.
      	(GNU_REST_ARGS): New.
      
      	* gcc.dg/cpp/macsyntx.c: New tests.
      
      From-SVN: r34919
      Neil Booth committed
    • configure.in (AC_OUTPUT_COMMANDS): Link $THREADS.h and c++threads.h instead of copying. · 0828a0bd
      
      2000-07-07  Benjamin Kosnik  <bkoz@soma.redhat.com>
      
      	* configure.in (AC_OUTPUT_COMMANDS): Link $THREADS.h and
      	c++threads.h instead of copying.
      	* acinclude.m4 (GLIBCPP_ENABLE_THREADS): Do link here.
      	Tweaks.
      
      From-SVN: r34918
      Benjamin Kosnik committed
    • Clean up configure/build longstanding issues. · 6eaa6abd
      
      2000-07-07  Benjamin Kosnik  <bkoz@soma.redhat.com>
      
      	Clean up configure/build longstanding issues.
      	* src/Makefile.am (AC_CXXFLAGS): Don't set @SECTION_LDFLAGS@ here.
      	(CXXLINK): Add here, instead.
      
      	* Makefile.am (check-install): Make sure mkcheck has execute privs.
      	(check): Same here.
      	* configure.in (AC_OUTPUT_COMMANDS): Remove hacks here.
      
      	* configure.in (AC_OUTPUT_COMMANDS): Link c_io_libio.h and
      	c_io_libio.cc instead of copying.
      	* acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Do link here.
      
      	* configure.in (AC_OUTPUT_COMMANDS): Link $THREADS.h and
      	c++threads.h instead of copying.
      	* acinclude.m4 (GLIBCPP_ENABLE_THREADS): Do link here.
      
      	* config/c_io_libio.cc (__basic_file::_M_open_mode): Consolidate.
      	* bits/basic_file.h: Declare.
      
      	* mkcheck.in (TESTS_FILE): Use -v instead of --version.
      
      From-SVN: r34917
      Benjamin Kosnik committed
  2. 07 Jul, 2000 22 commits
  3. 06 Jul, 2000 11 commits