1. 12 Jul, 2003 14 commits
  2. 11 Jul, 2003 26 commits
    • * rtl.def (NOTE): Do not use padding. · 80fa0b4c
      From-SVN: r69257
      Dan Nicolaescu committed
    • Patch from Dara Hazeghi. · 1ea6f4c8
      * doc/install.tex: Update required binutils for i?86-*-linux*
      
      From-SVN: r69255
      Dara Hazeghi committed
    • re PR c++/11437 (ICE in lookup_name_real) · e05f7974
      	PR c++/11437
      	* operators.def: Add definitions for __imag__, __real__.
      
      From-SVN: r69254
      Nathanael Nerode committed
    • verify.exp: New file. · 783b7a59
      	* libjava.verify/verify.exp: New file.
      	* libjava.verify/README.verify: New file.
      
      From-SVN: r69253
      Tom Tromey committed
    • README: Note that libffi is not part of GCC. · fc0e6222
      	* README: Note that libffi is not part of GCC.  Update the project
      	URL and status.
      
      From-SVN: r69250
      Gerald Pfeifer committed
    • * Makefile.in (stage1_build): Force OBJS-onestep=OBJS. · ed2d8944
      From-SVN: r69249
      Richard Henderson committed
    • * README: Note that zlib is not part of GCC. · 21e7cbd2
      From-SVN: r69247
      Gerald Pfeifer committed
    • * README: Note that FastJar is not part of GCC. · 971b79c5
      From-SVN: r69245
      Gerald Pfeifer committed
    • varasm.c (make_decl_rtl): Treat decls with a DECL_CONTEXT of TRANSLATION_UNIT_DECL as top_level. · a44cea75
      	* varasm.c (make_decl_rtl): Treat decls with a DECL_CONTEXT of
      	TRANSLATION_UNIT_DECL as top_level.
      
      From-SVN: r69244
      Mark Mitchell committed
    • optabs.c (prepare_cmp_insn): Try cmpmemM first if it exists, then fall back to cmpstrM. · 358b8f01
      	* optabs.c (prepare_cmp_insn): Try cmpmemM first if it exists,
      	then fall back to cmpstrM.
      	* builtins.c (expand_builtin_memcmp): Likewise.
      	* config/s390/s390-protos.h (s390_expand_cmpstr): Rename to...
      	(s390_expand_cmpmem): ... this.
      	* config/s390/s390.md (cmpmemdi, cmpmemsi, cmpmem_short_64,
      	cmpmem_short_31, cmpmem_long_64, cmpmem_long_31): Renamed
      	from cmpstr* patterns.  Rename call to s390_expand_cmpstr
      	to s390_expand_cmpmem.
      	* config/s390/s390.c (s390_expand_cmpstr): Rename to...
      	(s390_expand_cmpstr): ... this.  Rename cmpstr* instructions
      	to cmpmem*.
      	* config/i370/i370.md (cmpmemsi, cmpmemsi_1): Renamed from
      	cmpstr* patterns.
      	* doc/md.texi (cmpstrM): Describe as String compare insn, not
      	Block compare insn.
      	(cmpmemM): Add.
      
      	* gcc.dg/20030711-1.c: New test.
      
      From-SVN: r69243
      Jakub Jelinek committed
    • freebsd.h (SET_ASM_OP): Remove. · 8634e925
      	* config/i386/freebsd.h (SET_ASM_OP): Remove.
      	(SUBTARGET_OVERRIDE_OPTIONS): Handle TARGET_64BIT case.
      	(ASM_COMMENT_START, ASM_APP_ON, ASM_APP_OFF, DBX_REGISTER_NUMBER
      	 MCOUNT_NAME, SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE_SIZE): Whitespace.
      
      From-SVN: r69242
      Loren J. Rittle committed
    • SharedLibLoader.java: Fix misspelling. · d3276d35
      2003-07-11  Matt Kraai  <kraii@alumni.cmu.edu>
      
      	* gnu/gcj/runtime/SharedLibLoader.java: Fix misspelling.
      	* gnu/gcj/runtime/natSharedLibLoader.cc: Likewise.
      	* java/awt/im/InputContext.java: Remove a redundant
      	partial line.
      
      From-SVN: r69238
      Matt Kraai committed
    • function.c (assign_parms): Don't recombine complex args if fnargs is unchanged from orig_fnargs. · 48144cd4
              * function.c (assign_parms): Don't recombine complex args if
              fnargs is unchanged from orig_fnargs.
              (split_complex_args): Return args without complex before copying.
              Re-layout the modified parameters.
      
      From-SVN: r69236
      Richard Henderson committed
    • basic_ios.h (copyfmt): Document. · e2fcbaa3
      2003-07-11  Jerry Quinn  <jlquinn@optonline.net>
      
      	* include/bits/basic_ios.h (copyfmt): Document.
      	* include/bits/ios_base.h (event, event_callback, register_callback,
      	xalloc, iword, pword):  Document.
      	(imbue, ~ios_base): Update docs on callbacks.
      
      From-SVN: r69235
      Jerry Quinn committed
    • regclass.c (choose_hard_reg_mode): Add third argument. · fee226d2
      	* regclass.c (choose_hard_reg_mode): Add third argument.
      	Changed all callers.
      	* rtl.h (choose_hard_reg_mode): Update declaration.
      	* dwarf2out.c (expand_builtin_init_dwarf_reg_sizes):
      	Take HARD_REGNO_CALL_PART_CLOBBERED into account.
      
      From-SVN: r69234
      J"orn Rennecke committed
    • re PR c++/11050 ("some string" __FUNCTION__ is accepted) · 7efa3e22
      cp:
      	PR c++/11050
      	* parser.c (cp_parser_expression_list): Rename to ...
      	(cp_parser_parenthesized_expression_list): ... here. Add attribute
      	parameter, parse the surounding parentheses.
      	(cp_parser_skip_to_closing_parenthesis): Add recover and or_comma
      	parameters. Return int.
      	(cp_parser_skip_to_closing_parenthesis or comma): Remove.
      	(cp_parser_postfix_expression): Adjust function call parsing.
      	(cp_parser_new_placement): Adjust.
      	(cp_parser_new_initializer): Likewise.
      	(cp_parser_cast_expression): Likewise.
      	(cp_parser_selection_statement): Likewise.
      	(cp_parser_mem_initializer): Likewise.
      	(cp_parser_asm_definition): Likewise.
      	(cp_parser_init_declarator): Likewise.
      	(cp_parser_declarator): Make
      	cdtor_or_conv_p an int ptr.
      	(cp_parser_direct_declarator): Likewise. Check for a parameter
      	list on cdtors & conv functions.
      	(cp_parser_initializer): Adjust.
      	(cp_parser_member_declaration): Adjust.
      	(cp_parser_attribute_list): Move code into
      	cp_parser_parens_expression_list.
      	(cp_parser_functional_cast): Adjust.
      	* pt.c (type_dependent_expression_p): Erroneous expressions are
      	non-dependent.
      testsuite:
      	PR c++/11050
      	* g++.dg/parse/args1.C: New test.
      	* g++.pt/defarg8.C: Change expected errors.
      
      From-SVN: r69230
      Nathan Sidwell committed
    • re PR c++/8164 (ICE when using different const expressions as template parameter) · 87ca53f6
      	PR c++/8164
      	* decl.c (duplicate_decls): Avoid mangling names unnecessarily.
      
      	PR c++/8164
      	* g++.dg/template/nontype2.C: New test.
      
      	PR c++/10558
      	* g++.dg/parse/template8.C: New test.
      
      From-SVN: r69229
      Mark Mitchell committed
    • re PR c++/10558 (Segfault on illegal use of template without template args) · a6b602ca
      	PR c++/10558
      	* g++.dg/parse/template8.C: New test.
      
      From-SVN: r69226
      Mark Mitchell committed
    • Index: ChangeLog · d1bd0ded
      2003-07-10  Geoffrey Keating  <geoffk@apple.com>
      
      	* c-decl.c (finish_decl): Handle 'used' here...
      	* cgraphunit.c (cgraph_finalize_function): ... and here ...
      	* c-common.c: (handle_used_attribute): ... not here.
      
      	* configure.in (onstep): Support --enable-intermodule.
      	* Makefile.in (OBJS-common): New.
      	(OBJS-md): New.
      	(OBJS-archive): New.
      	(OBJS): Build from OBJS-common, OBJS-md, OBJS-archive.
      	(OBJS-onestep): New.
      	(libbackend.a): Support @onestep@.
      	(libbackend.o): New.
      	* configure: Regenerate.
      
      	* c-common.h (c_reset_state): New prototype.
      	(c_parse_file): New prototype.
      	(finish_file): Move prototype from c-tree.h.
      	* c-decl.c: Include <hashtab.h>.
      	(builtin_decls): New.
      	(current_file_decl): New.
      	(duplicate_decls): Add extra parameter. Change all callers.  Don't
      	output duplicate common symbols.
      	(link_hash_hash): New.
      	(link_hash_eq): New.
      	(poplevel): Handle popping of the top level.
      	(warn_if_shadowing): Handle TRANSLATION_UNIT_DECL.
      	(pushdecl): Set DECL_CONTEXT to TRANSLATION_UNIT_DECL if appropriate.
      	(pushdecl_top_level): Likewise.
      	(redeclaration_error_message): Handle TRANSLATION_UNIT_DECL.
      	(c_init_decl_processing): Create TRANSLATION_UNIT_DECL.
      	(finish_decl): Handle TRANSLATION_UNIT_DECL.
      	(merge_translation_unit_decls): New.
      	(c_write_global_declarations): New.
      	(c_reset_state): New.
      	(implicitly_declare): Handle TRANSLATION_UNIT_DECL.
      	* c-lang.c (LANG_HOOKS_WRITE_GLOBALS): New.
      	* c-objc-common.c (c_cannot_inline_tree_fn): Handle
      	TRANSLATION_UNIT_DECL.
      	(c_objc_common_finish_file): Call merge_translation_unit_decls.
      	* c-opts.c (in_fnames): Rename from in_fname.
      	(c_common_decode_option): Handle multiple input filenames.
      	(c_common_post_options): Likewise.
      	(c_common_parse_file): Likewise; also, call c_parse_file rather than
      	yyparse.
      	* c-parse.in: Move cleanup code to c_parse_file.
      	(free_parser_stacks): Move contents to c_parse_file.
      	(c_parse_file): New.
      	* c-tree.h (union lang_tree_node): Chain along TYPE_NEXT_VARIANT
      	for integer types.
      	(C_DECL_FILE_SCOPE): New.
      	(finish_file): Move prototype to c-common.h.
      	(merge_translation_unit_decls): New prototype.
      	(comptypes): Add extra parameter to prototype.
      	(c_write_global_declarations): New prototype.
      	* c-typeck.c (tagged_types_tu_compatible_p): New.
      	(function_types_compatible_p): Add extra parameter, change all callers.
      	(type_lists_compatible_p): Likewise.
      	(comptypes): Likewise.
      	(struct tagged_tu_seen): New.
      	(tagged_tu_seen_base): New.
      	(build_unary_op): Handle TRANSLATION_UNIT_DECL.
      	(c_mark_addressable): Remove #if 0 code.
      	* calls.c (special_function_p): Handle TRANSLATION_UNIT_DECL, add
      	comment explaining why it shouldn't have to.
      	* cgraph.h (struct cgraph_node): Add chain_next and chain_prev GTY
      	options.
      	* cppinit.c (cpp_read_next_file): New.
      	(cpp_read_main_file): Use it.
      	* cpplib.c (undefine_macros): New.
      	(cpp_undef_all): New.
      	* cpplib.h (cpp_read_next_file): Prototype.
      	(cpp_undef_all): Prototype.
      	* langhooks-def.h (write_global_declarations): Remove prototype.
      	* toplev.h (write_global_declarations): Add prototype.
      	* tree.c (decl_type_context): Use switch statement, handle
      	TRANSLATION_UNIT_DECL.
      	* tree.def: Update documentation for TRANSLATION_UNIT_DECL.
      	(TRANSLATION_UNIT_DECL): New kind of tree.
      	* tree.h: Update documentation for TRANSLATION_UNIT_DECL.
      	* Makefile.in (c-decl.o): Add $(HASHTAB_H) to dependencies.
      	* doc/invoke.texi: Make attempt to document new functionality.
      
      	2003-05-19  Per Bothner <bothner@apple.com>
      
      	* gcc.c (combine_inputs): New.
      	(process_command): Set combine_inputs.
      	(do_spec_1): Handle combine_inputs.
      	(main): Likewise.
      
      Index: cp/ChangeLog
      2003-07-10  Geoffrey Keating  <geoffk@apple.com>
      
      	* decl.c (cp_finish_decl): Handle 'used' attribute.
      
      	* cp-lang.c (c_reset_state): New dummy routine.
      	* cp-tree.h (finish_file): Move prototype to c-common.h.
      	* parser.c (c_parse_file): Rename from yyparse; don't call finish_file.
      
      From-SVN: r69224
      Geoffrey Keating committed
    • re PR c++/8327 (In definition of template static member value of static const member isn't known) · 6eeba0cc
      	PR c++/8327
      	* pt.c (tsubst_qualified_id): Implement suggested resolution for
      	Core Issue 2.
      	(type_dependent_expression_p): Likewise.
      
      	PR c++/8327
      	* g++.dg/template/scope1.C: New test.
      
      From-SVN: r69223
      Mark Mitchell committed
    • typeck.c (build_binary_op): Do not warn about signed vs. · 7d48af30
      	* typeck.c (build_binary_op): Do not warn about signed
      	vs. unsigned comparisons in the bodies of templates.
      
      	* g++.dg/warn/Wsign-compare-1.C: New test.
      
      From-SVN: r69222
      Mark Mitchell committed
    • re PR rtl-optimization/9745 ([powerpc] miscompiles libmcrypt (alias problem during loop)) · ac8354b1
      PR optimization/9745
      * loop.c (loop_iv_add_mult_emit_before): Call loop_regs_update before
      loop_insn_emit_before.
      (loop_iv_add_mult_sink, loop_iv_add_mult_hoist): Likewise.
      
      From-SVN: r69220
      James E Wilson committed
    • test_installed: Add options to run objc tests. · c3c35932
      2003-07-11  Matthias Klose  <doko@debian.org>
      
              * test_installed: Add options to run objc tests.
              In generated site.exp, initialize rootme, CFLAGS, CXXFLAGS.
      
      From-SVN: r69219
      Matthias Klose committed
    • cppcharset.c: Fix comment. · dea55da5
      	* cppcharset.c: Fix comment.
      	(iconv_close [!HAVE_ICONV]): #define to (void)0 to prevent warning.
      	(EILSEQ): #define to EINVAL if not already defined.
      	(convert_using_iconv): #if out when !HAVE_ICONV.
      	(init_iconv_desc): Handle !HAVE_ICONV here...
      	(cpp_init_iconv): ...not here.
      
      From-SVN: r69218
      Zack Weinberg committed
    • common.opt: More --help messages. · f3fdaec4
      	* common.opt: More --help messages.
      	* opts.c (print_help): Use puts().
      	* toplev.c (f_options): Remove help text.
      	(display_help): Don't dump f_options.
      
      From-SVN: r69217
      Neil Booth committed
    • mkfixinc.sh: Drop reference to unsupported alpha-*-interix*. · 7ebbf1ea
      	* fixinc/mkfixinc.sh: Drop reference to unsupported alpha-*-interix*.
      	Move i?86-*-interix* to the don't-fix list.
      	* fixinc/fixinc.interix: Delete with extreme prejudice.
      
      From-SVN: r69216
      Nathanael Nerode committed