1. 17 Nov, 2000 9 commits
    • cp-tree.h (PARMLIST_ELLIPSIS_P): New macro. · 5cce22b6
      cp:
      	* cp-tree.h (PARMLIST_ELLIPSIS_P): New macro.
      	* decl.c (grokdeclarator): Don't reject void parms here.
      	(require_complete_types_for_parms): Simplify, use
      	complete_type_or_else.
      	(grokparms): Remove bitrot. Remove funcdef parm.
      	Deal with ellipsis parm lists here.
      	* semantics.c (finish_parmlist): Don't append void_list_node
      	here. Set PARMLIST_ELLIPSIS_P.
      
      testsuite:
      	* g++.old-deja/g++.other/incomplete.C: Add more tests.
      	* g++.old-deja/g++.pt/crash9.C: Mark new expected error.
      
      From-SVN: r37517
      Nathan Sidwell committed
    • typeck2.c (incomplete_type_error): Reorganise to avoid excessive diagnostics. · 146c8d60
      	* typeck2.c (incomplete_type_error): Reorganise to avoid
      	excessive diagnostics.
      
      From-SVN: r37516
      Nathan Sidwell committed
    • Daily bump. · 078c72b6
      From-SVN: r37515
      Jeff Law committed
    • stringpool.c: New file. · 520a57c8
      	* stringpool.c: New file.
      	* ggc-common.c (ggc_mark_string_ptr, ggc_add_string_root): Delete.
      	(ggc_alloc_string): Now in stringpool.o.
      	* ggc-page.c, ggc-simple.c: Do not define or allocate empty_string.
      	* ggc.h: Delete prototype of ggc_add_string_root.  #define
      	ggc_add_string_root and ggc_mark_string to nothing.  Prototype
      	init_stringpool and stringpool_statistics.
      	(ggc_alloc_string): Returns a const char *.
      	* tree.c (hash_table, do_identifier_warnings): Delete.
      	(init_obstacks): Don't initialize the identifier hash table.
      	(get_identifier, maybe_get_identifier, start_identifier_warnings,
      	set_identifier_size): Now in stringpool.c.
      	* tree.h (struct tree_string): Constify pointer field.
      	(approx_sqrt): Prototype.
      
      	* Makefile.in (stringpool.o): Add rule, mention in OBJS.
      
      	* toplev.c (approx_sqrt): New function.
      	(compile_file): Call stringpool_statistics if mem_report is on.
      	(main): Call init_stringpool.
      
      	* builtins.c (c_strlen), c-decl.c (finish_decl), c-lex.c
      	(process_directive), c-typeck.c (constructor_asmspec, struct
      	initializer_stack, start_init), except.c (create_rethrow_ref),
      	stmt.c (digit_strings), toplev.c (decode_f_option), tree.c
      	(built_in_filename), varasm,c (in_named_name,
      	assemble_static_space, struct constant_descriptor, struct
      	deferred_string, struct pool_constant, force_const_mem),
      	i386.c (pic_label_name, global_offset_table_name), rs6000.c
      	(rs6000_emit_prologue, rs6000_emit_epilogue) : Constify a char *.
      
      	* c-common.c (combine_strings): Combine strings in scratch
      	buffer, then pass to build_string.
      	* optabs.c (init_libfuncs), profile.c (init_edge_profiler,
      	output_func_start_profiler), stmt.c (init_stmt), alpha.c
      	(alpha_need_linkage), arm.c (arm_encode_call_attribute),
      	i386.c (load_pic_register), ia64.c (ia64_encode_section_info),
      	rs6000.c (rs6000_encode_section_info): Create string in
      	scratch buffer, then pass to ggc_alloc_string.
      
      	* stmt.c (expand_asm_operands): If we must adjust the
      	constraint strings, do so by creating a new one, not by
      	modifying the old one in place.  Constify some char *s.
      	* config/pa/pa.c (hppa_encode_label): Drop unnecessary second
      	argument.  Create string in scratch buffer, then pass to
      	ggc_alloc_string.
      	* config/pa/pa-protos.h: Update prototype.
      	* config/pa/elf.h, config/pa/pa.h, config/pa/som.h:
      	hppa_encode_label takes only one argument.
      
      	* c-parse.in (if_prefix): Find the filename and line number at
      	$-2 and $-1 respectively.
      	* diagnostic.c (error_recursion): Add missing newline, use
      	fputs, translate string.
      
      cp:
      	* lex.c (struct impl_files, internal_filename): Constify a char *.
      java:
      	* jcf-parse.c (get_constant), parse.y (do_merge_string_cste):
      	Create string in scratch buffer, then pass to build_string.
      
      From-SVN: r37514
      Zack Weinberg committed
    • locale_facets.tcc (num_get<_CharT, [...]): Add missing typename keyword. · 5af655cc
              * include/bits/locale_facets.tcc (num_get<_CharT,
                _InIter>::do_get(...)): Add missing typename keyword.
      
      From-SVN: r37513
      Loren J. Rittle committed
    • PushbackReader.java: Merged with Classpath. · 98182da5
      	* java/io/PushbackReader.java: Merged with Classpath.
      	* java/util/Arrays.java: Updated from Classpath.
      
      	* scripts/blocks.pl: New file.
      	* java/lang/Character.java (Subset): New class.
      	(UnicodeBlock): New class.
      
      	* java/lang/Math.java (toDegrees, toRadians): New methods.
      
      	* java/lang/Float.java: Implement Comparable.
      	(compareTo): New methods.
      	* java/lang/Double.java: Implement Comparable.
      	(compareTo): New methods.
      
      From-SVN: r37512
      Tom Tromey committed
    • mcore.c (mcore_expand_prolog): Call xmalloc/xrealloc, not malloc/realloc. · dd3b81b4
      	* mcore.c (mcore_expand_prolog): Call xmalloc/xrealloc, not
      	malloc/realloc.
      
      	* cpplib.c (glue_header_name): Likewise.
      
      	* fixincl.c (run_compiles, start_fixer): Likewise.
      
      	* fixlib.c (load_file_data): Likewise.
      
      	* mkdeps.c (munge): Likewise.
      
      f:
      	* malloc.c (malloc_init): Call xmalloc, not malloc.
      
      From-SVN: r37511
      Kaveh R. Ghazi committed
    • defaults.h [...] (EH_FRAME_SECTION): Remove trailing ';'. · 5074c1fe
      	* defaults.h [EH_FRAME_SECTION_ASM_OP] (EH_FRAME_SECTION): Remove
      	trailing ';'.  Fix formatting.
      
      From-SVN: r37510
      Hans-Peter Nilsson committed
    • acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Make --enable-cstdio=stdio the default. · e26cb7ab
      	* acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Make
      	--enable-cstdio=stdio the default.  Disable wide character support
      	in that event.
      	* configure.in: Move GLIBCPP_ENABLE_C_MBCHAR after
      	(GLIBCPP_ENABLE_CSTDIO).
      	* config/c_io_stdio.h: Don't include <libio.h>, don't define
      	__c_wfile_type.
      	* aclocal.m4: Regenerated.
      	* configure: Likewise.
      	* Makefile.in: Likewise.
      	* libio/Makefile.in: Likewise.
      	* libmath/Makefile.in: Likewise.
      	* libsupc++/Makefile.in: Likewise.
      	* src/Makefile.in: Likewise.
      
      From-SVN: r37509
      Mark Mitchell committed
  2. 16 Nov, 2000 19 commits
  3. 15 Nov, 2000 12 commits