1. 12 Sep, 2000 17 commits
    • c-common.h (genrtl_clear_out_block): Remove. · 57939159
      	* c-common.h (genrtl_clear_out_block): Remove.
      	* c-semantics.c (genrtl_clear_out_block): Remove.
      	(genrtl_while_stmt): Don't call it.
      	(genrtl_for_stmt): Likewise.
      
      From-SVN: r36360
      Mark Mitchell committed
    • code cleanups · 3af556f7
      From-SVN: r36359
      Bruce Korb committed
    • c-typeck.c (process_init_element): Avoid union init warnings on floating point zero. · 32892c52
      	* c-typeck.c (process_init_element): Avoid union init warnings on
      	floating point zero.  Don't crash on unions containing structs.
      
      testsuite:
      	* gcc.dg/wtr-union-init-2.c, gcc.dg/wtr-union-init-3.c: New tests.
      
      From-SVN: r36358
      Kaveh R. Ghazi committed
    • sh.h (PREDICATE_CODES): Add CONST_DOUBLE to general_movsrc_operand... · ae0a1c23
      * config/sh/sh.h (PREDICATE_CODES): Add CONST_DOUBLE to
      general_movsrc_operand, and remove CONST_INT from
      general_movdst_operand.
      
      From-SVN: r36357
      Alexandre Oliva committed
    • error.c (TFF_PLAIN_IDENTIFIER, [...]): New macros. · c3e76028
      	* error.c (TFF_PLAIN_IDENTIFIER, TFF_NAMESPACE_SCOPE,
      	TFF_CLASS_SCOPE, TFF_CHASE_NAMESPACE_ALIAS, TFF_CHASE_TYPDEF,
      	TFF_DECL_SPECIFIERS, TFF_CLASS_KEY_OR_ENUM, TFF_RETURN_TYPE,
      	TFF_FUNCTION_DEFAULT_ARGUMENTS, TFF_EXCEPTION_SPECIFICATION,
      	TFF_TEMPLATE_HEADER, TFF_TEMPLATE_DEFAULT_ARGUMENTS, TFF_SCOPE):
      	New macros.
      	(sorry_for_unsupported_tree, print_scope_operator,
      	print_left_paren, print_right_paren, print_left_bracket,
      	print_right_bracket, print_whitespace): Likewise.
      	(aggr_variety): Rename to class_key_or_enum.
      	(print_type): Rename to print_type_id.
      	(print_type_specifier_seq, print_simple_type_specifier,
      	print_elaborated_type_specifier,
      	print_rest_of_abstract_declarator,
      	print_parameter_declaration_clause, print_exception_specification,
      	print_nested_name_specifier, print_template_id,
      	typedef_original_name,  print_template_argument_list_start,
      	print_template_argument_list_end): New functions.
      
      From-SVN: r36356
      Gabriel Dos Reis committed
    • * ir.texi: Add more documentation. · eb50138b
      From-SVN: r36355
      Gabriel Dos Reis committed
    • Fix hard reg cost calculations in CSE; some minor cleanups · f1c1dfc3
      From-SVN: r36354
      Bernd Schmidt committed
    • Daily bump. · a6c8d253
      From-SVN: r36353
      Jeff Law committed
    • POTFILES.in: Remove yet more files caught by the new checking target. · 81ee06d1
      2000-09-12  Philipp Thomas  <pthomas@suse.de>
      
      	* POTFILES.in: Remove yet more files caught by the new
      	checking target.
      	* gcc.pot: Regenerated.
      	* cat-id-tbl.c: Likewise.
      
      From-SVN: r36352
      Philipp Thomas committed
    • * configure: Rebuilt with new ../libtool.m4. · b4f3dc58
      From-SVN: r36351
      Alexandre Oliva committed
    • c-common.h (genrtl_clear_out_block): Remove. · f444e36b
      	* c-common.h (genrtl_clear_out_block): Remove.
      	* c-semantics.c (genrtl_clear_out_block): Remove.
      	(genrtl_while_stmt): Don't call it.
      	(genrtl_for_stmt): Likewise.
      
      	* cp-tree.h (struct saved_scope): Remove x_function_parms.
      	(current_function_parms): Don't define.
      	(struct cp_language_function): Remove parms_stored.
      	(current_function_just_assigned_this): Don't define.
      	(current_function_parms_stored): Likewise.
      	(static_ctors): Declare.
      	(static_dtors): Likewise.
      	(SF_EXPAND): Don't define.
      	(expand_start_early_try_stmts): Remove declaration.
      	(store_parm_decls): Likewise.
      	* decl.c (static_ctors): Don't declare.
      	(static_dtors): Likewise.
      	(struct binding_level): Remove this_block.
      	(poplevel): Remove dead code.
      	(set_block): Likewise.
      	(mark_binding_level): Don't mark this_block.
      	(mark_saved_scope): Don't mark x_function_parms.
      	(init_decl_processing): Don't add current_function_parms as a GC
      	root.
      	(check_function_type): Change prototype.
      	(start_function): Remove RTL-generation code.
      	(expand_start_early_try_stmts): Remove.
      	(store_parm_decls): Give it internal linkage.  Remove
      	RTL-generation code.
      	(finish_function): Remove RTL-generation code.
      	* decl2.c (static_ctors): Fix formatting.
      	(static_dtors): Likewise.
      	* method.c (use_thunk): Don't call store_parm_decls.
      	(synthesize_method): Likewise.
      	* optimize.c (maybe_clone_body): Likewise.
      	* parse.y (fn.def2): Likewise.
      	(.set_base_init): Likewise.
      	(nodecls): Likewise.
      	* pt.c (instantiate_decl): Likewise.
      	* rtti.c (synthesize_tinfo_fn): Likewise.
      	* semantics.c (genrtl_try_block): Simplify.
      	(expand_body): Use genrtl_start_function and
      	genrtl_finish_function.
      	(genrtl_start_function): New function.
      	(genrtl_finish_function): Likewise.
      
      From-SVN: r36350
      Mark Mitchell committed
    • POTFILES.in: Remove c-gperf.h, c-iterate.c, cp/hash.h, cp/input.c, c-parse.h and cppulp.c. · 484d9e58
      2000-09-12  Philipp Thomas  <pthomas@suse.de>
      
      	* POTFILES.in: Remove c-gperf.h, c-iterate.c,
      	cp/hash.h, cp/input.c, c-parse.h and cppulp.c.
      
      From-SVN: r36349
      Philipp Thomas committed
    • Makefile.in.in (stamp-check-pot): Don't use $@ in rule. · 847f42b1
      2000-09-12  Philipp Thomas  <pthomas@suse.de>
      
      	* Makefile.in.in (stamp-check-pot): Don't use $@ in rule.
      
      From-SVN: r36348
      Philipp Thomas committed
    • cppfiles.c: Move all default-#defines to top of file. · a58d32c2
      	* cppfiles.c: Move all default-#defines to top of file.
      	(open_include_file): Replace by lookup_include_file.
      	(read_with_read, read_file): Merged into read_include_file.
      	(stack_include_file, purge_cache): New functions.
      	(close_cached_fd): Delete.
      	(lookup_include_file, read_include_file, _cpp_pop_file_buffer):
      	Cache the in-memory buffer, not the file descriptor.
      
      	* cpphash.h (struct include_file): Add buffer, st, refcnt,
      	mapped fields.
      	(xcnew): New utility macro.
      	(DO_NOT_REREAD, NEVER_REREAD): Move up by struct include_file.
      	* cpplib.h (struct cpp_buffer): Remove mapped field.
      
      	* cpplex.c (parse_string): Accept backslash space newline as a
      	line continuation.
      	(lex_line): Likewise.
      	(_cpp_get_token): Remove hard limit on macro nesting.
      
      testsuite:
      	* gcc.dg/cpp/backslash.c: New test.
      
      From-SVN: r36347
      Zack Weinberg committed
    • Makefile.in.in (stamp-check-pot): New target used for checking POTFILES. · 4ba01ed2
      2000-09-12  Philipp Thomas  <pthomas@suse.de>
      
      	* Makefile.in.in (stamp-check-pot): New target used for
      	checking POTFILES.
      	* gcc.pot: Regenerated.
      	* cat-tbl-id.c: Likewise.
      
      From-SVN: r36346
      Philipp Thomas committed
    • aclocal.m4 (AM_WITH_NLS): Don't force use of included gettext. · bfa29b63
      2000-09-12  Philipp Thomas  <pthomas@suse.de>
      
      	* aclocal.m4 (AM_WITH_NLS): Don't force use of included gettext.
      	* configure: Rebuilt.
      
      From-SVN: r36345
      Philipp Thomas committed
    • acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Remove test != "0". · 5219f162
      
      2000-09-11  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
      
      	* acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Remove test != "0".
      	* aclocal.m4: Regenerate.
      	* configure: Regenerate.
      
      	* bits/c++config (__GLIBCPP__): Update, in the hopes of making a
      	snapshot release soon.
      	(_GNU_SOURCE): Define this in the header files, as ISO C99 support
      	is pretty much assumed.
      
      	* testsuite/22_locale/global_templates.cc: New file. Add tests for
      	use_facet and has_facet.
      
      	* bits/codecvt.h (codecvt<_InT, _ExT, __enc_traits>::do_out):
      	Modify/correct iconv signatures for glibc2.2.
      
      From-SVN: r36344
      Benjamin Kosnik committed
  2. 11 Sep, 2000 23 commits