1. 01 May, 2003 16 commits
    • input.h (lineno): Rename to ... · d479d37f
      	* input.h (lineno): Rename to ...
      	(input_line): ... here.
      	* tree.h (lineno): Rename to ...
      	(input_line): ... here.
      	* scan.h (lineno): Rename to ...
      	(input_line): ... here.
      	* toplev.c (lineno): Rename to ...
      	(input_line): ... here.
      	(push_srcloc, pop_srcloc):  Rename lineno to input_line.
      	* c-common.c (c_expand_start_cond, fname_decl): Likewise.
      	* c-decl.c (poplevel, pop_label_level, lookup_label, lookup_tag,
      	store_parm_decls, c_expand_body_1): Likewise.
      	* c-errors.c (pedwarn_c99): Likewise.
      	* c-format.c (status_warning): Likewise.
      	* c-lex.c (fe_file_change, cb_def_pragma, c_lex): Likewise.
      	* c-opts.c (c_common_post_options, c_common_parse_file): Likewise.
      	* c-parse.in (save_filename, maybe_type_qual, ifc): Likwise.
      	* c-semantics.c (finish_stmt_tree, build_stmt, emit_local_var,
      	gentrtl_goto_stmt, genrtl_expr_stmt_value, genrtl_decl_stmt,
      	genrtl_if_stmt, genrtl_while_stmt, genrtl_do_stmt,
      	genrtl_return_stmt, genrtl_for_stmt, build_break_stmt,
      	build_continue_stmt, genrtl_switch_stmt, genrtl_asm_stmt,
      	prep_stmt, find_reachable_label, expand_unreachable_stmt): Likewise.
      	* coverage.c (create_coverage): Likewise.
      	* diagnostic.c (pedwarn, sorry, error, fatal_error,
      	internal_error, warning, diagnostic_report_current_module,
      	inform): Likewise.
      	* expr.c (expand_expr): Likewise.
      	* integrate.c (expand_inline_function,
      	output_inline_function): Likewise.
      	* rtl-error.c (file_and_line_for_asm): Likewise.
      	* tree-inline.c (find_alloca_call, find_builtin_longjmp_call,
      	walk_tree): Likewise.
      	* tree.c (make_node): Likewise.
      	* ada, cp, f, java, objc, treelang: Likewise.
      
      	ada
      	* trans.c (build_unit_elab, set_lineno): Rename lineno to
      	input_line.
      	* utils.c (pushdecl, create_label_decl, begin_subprog_body,
      	end_subprog_body): Likewise.
      	* utils2.c (build_call_raise): Likewise.
      
      	cp
      	* class.c (finish_struct): Rename lineno to input_line.
      	* decl.c (push_binding_level, pop_binding_level,
      	suspend_binding_level, resume_binding_level, make_label_decl,
      	use_label, start_function): Likewise.
      	* decl2.c (warn_if_unknown_interface,
      	start_static_initialization_or_destruction,
      	generate_ctor_or_dtor_function, finish_file): Likewise.
      	* error.c (cp_line_of, print_instantiation_full_context,
      	print_instantiation_context): Likewise.
      	* except.c (check_handlers_1, check_handlers): Likewise.
      	* init.c (create_temporary_var): Likewise.
      	* method.c (use_thunk, synthesize_method): Likewise.
      	* parser.c (cp_lexer_set_source_position_from_token,
      	cp_lexer_get_preprocessor_token): Likewise.
      	* pt.c (push_tinst_level, pop_tinst_level,
      	tsubst_friend_function, instantiate_class_template, tsubst_decl,
      	tsubst, tsubst_expr, instantiate_decl): Likewise.
      	* semantics.c (genrtl_try_block, finish_label_stmt,
      	begin_class_definition, expand_body,
      	genrtl_finish_function): Likewise.
      	* tree.c (build_min_nt, build_min): Likewise.
      
      	f
      	* ansify.c (die_unless): Rename lineno to input_line.
      	* com.c (ffecom_subscript_check_, ffecom_do_entry_,
      	ffecom_gen_sfuncdef_, ffecom_start_progunit_,
      	ffecom_sym_transform_, ffecom_sym_transform_assign_,
      	bison_rule_pushlevel_, bison_rule_compstmt_, finish_function,
      	store_parm_decls): Likewise.
      	* intrin.c (ffeintrin_fulfill_generic): Likewise.
      	* lex.c (ffelex_hash_, ffelex_include_, ffelex_next_line_,
      	ffelex_file_fixed, ffelex_file_free): Likewise.
      	* std.c (ffestd_exec_end): Likewise.
      	* ste.c (ffeste_emit_line_note_, ffeste_start_block_,
      	ffeste_start_stmt_): Likewise.
      	* ste.h (ffeste_filelinenum, ffeste_set_line): Likewise.
      
      	java
      	* lex.h (lineno): Rename to ...
      	(input_line): ... here
      	* parse-scan.y (lineno): Rename to ...
      	(input_line): ... here.
      	(reset_report): Rename lineno to input_line.
      	* check-init.c (check_init): Likewise.
      	* class.c (push_class): Likewise.
      	* decl.c (complete_start_java_method, end_java_method): Likewise.
      	* expr.c (expand_byte_code): Likewise.
      	* jcf-parse.c (give_name_to_class, parse_class_file): Likewise.
      	* jcf-write.c (generate_bytecode_insns): Likewise.
      	* lex.c (java_init_lex, java_allocate_new_line,
      	do_java_lex): Likewise.
      	* parse.h (YYNOT_TWICE): Likewise.
      	* parse.y (empty_statement, expression_statement,
      	java_pop_parser_context, java_parser_context_save_global,
      	yyerror, register_fields, method_header, safe_layout_class,
      	find_in_imports_on_demand, create_artificial_method,
      	source_end_java_method, start_complete_expand_method,
      	build_thisn_assign, java_complete_lhs,
      	maybe_absorb_scoping_block): Likewise.
      
      	objc
      	* objc-act.c (objc_init): Rename lineno to input_line.
      	(build_module_descriptor, build_selector_translation_table,
      	build_protocol_template, build_method_prototype_list_template,
      	build_category_template, build_selector_table,
      	build_class_template, build_super_template, build_ivar_template,
      	build_ivar_list_template, build_method_list_template,
      	build_method_template, add_instance_variable): Likewise.
      
      	treelang
      	* tree1.c (treelang_init): Rename lineno to input_line.
      
      From-SVN: r66333
      Nathan Sidwell committed
    • decl2.c (comdat_linkage): Don't externalize explicit instantiations. · 49bf4577
      	* decl2.c (comdat_linkage): Don't externalize explicit
      	instantiations.
      
      From-SVN: r66331
      Mark Mitchell committed
    • lex.c (ffelex_file_pop_): Rename parameter from input_filename. · 1b293905
      	* lex.c (ffelex_file_pop_): Rename parameter from input_filename.
      	(ffelex_file_push_): Likewise.
      
      From-SVN: r66330
      Nathan Sidwell committed
    • re PR c++/10554 (ICE with illegal using declaration) · d0af00af
      	PR c++/10554
      	* decl2.c (do_class_using_decl): Check if operand 0 of SCOPE_REF
      	is not NULL.
      
      	* g++.dg/lookup/using5.C: New test.
      
      From-SVN: r66329
      Kriang Lerdsuwanakij committed
    • cp-tree.h (struct lang_id2): Remove. · 85209a3c
      	* cp-tree.h (struct lang_id2): Remove.  Move fields from here...
      	(struct lang_identifier): ... to here.
      	(LANG_ID_FIELD): Remove.
      	(SET_LANG_ID): Remove.
      	(IDENTIFIER_LABEL_VALUE): Adjust for new lang_identifier.
      	(SET_IDENTIFIER_LABEL_VALUE): Likewise.
      	(IDENTIFIER_IMPLICIT_DECL): Likewise.
      	(SET_IDENTIFIERL_IMPLICIT_DECL): Likewise.
      	(IDENTIFIER_ERROR_LOCUS): Likewise.
      	(SET_IDENTIFIER_ERROR_LOCUS): Likewise.
      
      From-SVN: r66328
      Steven Bosscher committed
    • re PR ada/10546 (GCC 3.3, Ada tasking not working on Red Hat Linux 9) · 4f9335cd
      2003-05-01  Laurent Guerby <guerby@acm.org>
      
              PR ada/10546
              * 5iosinte.ads: Increase pthread_cond_t size to match recent
              LinuxThread and NPTL version, merge from ACT.
      
      From-SVN: r66327
      Laurent Guerby committed
    • dwarf2out.c (dwarf2out_init, [...]): Change parameter name from input_filename. · 3b895f8e
      	* dwarf2out.c (dwarf2out_init, dwarf2out_finish): Change parameter
      	name from input_filename.
      f:
      	* ste.c (struct gbe_block): Rename field from input_filename.
      	(ffeste_start_block_, ffeste_start_stmt_): Likewise.
      
      From-SVN: r66326
      Nathan Sidwell committed
    • re PR c++/8772 (misleading diagnostic for template template parameter) · d12a7283
      	PR c++/8772
      	* pt.c (convert_template_argument): Correct diagnostic.
      
      	* g++.dg/template/ttp5.C: New test.
      
      From-SVN: r66324
      Kriang Lerdsuwanakij committed
    • Regenerated with autoconf 2.13. · 093e61a6
      From-SVN: r66323
      Richard Sandiford committed
    • stdio_filebuf.h (stdio_filebuf(int, std::ios_base::openmode, bool, size_t),… · 8544261c
      stdio_filebuf.h (stdio_filebuf(int, std::ios_base::openmode, bool, size_t), [...]): Shorten a bit (-10 lines) by factoring out some code.
      
      2003-05-01  Paolo Carlini  <pcarlini@unitus.it>
      
      	* include/ext/stdio_filebuf.h
      	(stdio_filebuf(int, std::ios_base::openmode, bool, size_t),
      	stdio_filebuf(std::__c_file*, std::ios_base::openmode, size_t)):
      	Shorten a bit (-10 lines) by factoring out some code.
      
      From-SVN: r66320
      Paolo Carlini committed
    • Missed commit file. · d1c4bfe8
      From-SVN: r66319
      Eric Christopher committed
    • Merge from rewrite branch. · cafe096b
      From-SVN: r66318
      Eric Christopher committed
    • g++-dg.exp (g++-dg-test): Add "repo" option. · 6481daa9
      	* lib/g++-dg.exp (g++-dg-test): Add "repo" option.
      	(dg-gpp-additional-sources): New function.
      	(dg-gpp-additional-files): Likewise.
      	* lib/g++.exp (additional_sources): New variable.
      	(additional_files): Likewise.
      	(g++_target_compile): Deal with them.
      	* lib/old-dejagnu.exp: Remove.
      	* g++.old-deja/old-deja.exp: Use dg.exp, not old-dejagnu.exp.
      	* g++.old-deja: Revise all tests to use dg commands.
      
      From-SVN: r66317
      Mark Mitchell committed
    • * builtins.def (BUILTIN_CONSTANT_P): Mark as constant. · 44c8a5f8
      From-SVN: r66316
      Diego Novillo committed
    • tree-inline.c (inlinable_function_p): Back out last change, it's unnecessary. · 5d638f70
      	* tree-inline.c (inlinable_function_p): Back out last change, it's
      	unnecessary.
      
      From-SVN: r66315
      Geoffrey Keating committed
    • Daily bump. · ee704412
      From-SVN: r66314
      GCC Administrator committed
  2. 30 Apr, 2003 24 commits
    • ggc-page.c (TREE_EXP_SIZE): Define. · 5e26df64
      	* ggc-page.c (TREE_EXP_SIZE): Define.
      	(extra_order_size_table): New entry for expr trees with
      	two operands.
      
      From-SVN: r66306
      Steven Bosscher committed
    • c-common.c (if_elt): Use location_t in lieu of "file, line" pair. · fba020b1
              * c-common.c (if_elt): Use location_t in lieu of "file, line" pair.
              (c_expand_start_cond): Adjust.
              (c_expand_end_cond): Don't use warning_with_file_and_file.
              (shadow_warning): Likewise.
      
      From-SVN: r66304
      Gabriel Dos Reis committed
    • parse.y (make_plus_expression): New function. · 1dcfc9d1
      	* parse.y (make_plus_expression): New function.
      	(expression:): Use make_plus_expression for PLUS, MINUS,
      	ASSIGN and EQUALS.
      	* tree1.c (treelang_decode_option): Don't fall through to
      	options that start with a different character when an option
      	was not recognized.
      
      From-SVN: r66303
      Steven Bosscher committed
    • Make-lang.in (parse.c): Reorder bison arguments for POSIXLY_CORRECT. · b7bfc1c0
      	* Make-lang.in (parse.c): Reorder bison arguments for POSIXLY_CORRECT.
      	* treetree.c: Do not #include parse.h.
      
      From-SVN: r66301
      Nathan Sidwell committed
    • tree.h (DECL_POINTER_DEPTH): Remove. · 62216ea0
      	* tree.h (DECL_POINTER_DEPTH): Remove.
      	(struct tree_decl): Remove pointer_depth.
      
      From-SVN: r66300
      Nathan Sidwell committed
    • acinclude.m4: Add bit missing from previous patch. · 8abcca7b
      2003-04-30  Phil Edwards  <pme@gcc.gnu.org>
      
      	* acinclude.m4:  Add bit missing from previous patch.
      	* aclocal.m4, configure:  Regenerated.
      
      From-SVN: r66299
      Phil Edwards committed
    • PR c++/9432, c++/9528 · d7ed5e55
      	PR c++/9432, c++/9528
      	* decl2.c (validate_nonmember_using_decl): Handle SCOPE_REF.
      
      	* g++.dg/lookup/using4.C: New test.
      
      From-SVN: r66298
      Kriang Lerdsuwanakij committed
    • linux64.h (ASM_OUTPUT_LABELREF): Remove. · d1908feb
      2003-04-30  Janis Johnson  <janis187@us.ibm.com>
      
      	* config/rs6000/linux64.h (ASM_OUTPUT_LABELREF): Remove.
      	* config/rs6000/rs6000.c (rs6000_elf_strip_name_encoding): Remove.
      	(rs6000_xcoff_encode_section_info): Remove.
      	(current_file_function_operand): Use SYMBOL_REF_FLAGS; fix latent bug.
      	(rs6000_output_mi_thunk): Remove dead code; use SYMBOL_REF_FLAGS.
      	(small_data_operand, rs6000_emit_move, rs6000_elf_in_small_data_p,):
      	Use SYMBOL_REF_FLAGS.
      	(rs6000_elf_encode_section_info): Call default_encode_section_info for
      	generic flags, use SYMBOL_REF_FLAGS; code cleanups.
      	* sysv4.h (TARGET_STRIP_NAME_ENCODING, ASM_OUTPUT_LABELREF): Remove.
      	(SYMBOL_FLAG_SMALL_V4, SYMBOL_REF_SMALL_V4_P): New.
      	* xcoff.h (TARGET_ENCODE_SECTION_INFO): Remove.
      	(ASM_DECLARE_FUNCTION_NAME): Remove setting of SYMBOL_REF_FLAG.
      
      From-SVN: r66297
      Janis Johnson committed
    • * diagnostic.c (output_pointer): Use HOST_PTR_PRINTF. · 0e42348d
      From-SVN: r66295
      Gabriel Dos Reis committed
    • * MAINTAINERS (GNATS only): Add Giovanni Bajo. · 55b15a11
      From-SVN: r66294
      Wolfgang Bangerth committed
    • extend.texi (Other Builtins): Enclose multiple word data type in braces for @deftypefn. · dad78426
      	* doc/extend.texi (Other Builtins): Enclose multiple word data
      	type in braces for @deftypefn.
      
      From-SVN: r66293
      Andreas Schwab committed
    • decl.c (check_previous_goto_1): Adjust prototype. · 152c16a9
              * decl.c (check_previous_goto_1): Adjust prototype.
              (check_previous_goto): Adjust use.
              (check_switch_goto): Likewise.
              (use_label): Adjust.
              (check_previous_goto_1): Don't use pedwarn_with_file_and_line.
              (struct named_label_use_list): Use location_t datatype.
      
      From-SVN: r66290
      Gabriel Dos Reis committed
    • 2003-04-30 Michael Koch <konqueror@gmx.de> · d3d40e23
      	* java/text/BreakIterator.java
      	(clone): New method.
      
      From-SVN: r66289
      Michael Koch committed
    • CollationElementIterator.java, [...]: Merged copyright and documentation from… · 70ff9d90
      CollationElementIterator.java, [...]: Merged copyright and documentation from classpath and rearranged some code.
      
      2003-04-30  Michael Koch  <konqueror@gmx.de>
      
      	* java/text/CollationElementIterator.java,
      	java/text/CollationKey.java,
      	java/text/RuleBasedCollator.java:
      	Merged copyright and documentation from classpath and
      	rearranged some code. No code changes done.
      
      From-SVN: r66288
      Michael Koch committed
    • diagnostic.h (output_formatted_scalar): Tweak. · 10256cf5
              * diagnostic.h (output_formatted_scalar): Tweak.
              * diagnostic.c (output_long_decimal): Likewise.
              (output_unsigned_decimal): Likewise.
              (output_long_unsigned_decimal): Likewise.
              (output_octal): Likewise.
              (output_long_octal): Likewise.
              (output_hexadecimal): Likewise.
              (output_long_hexadecimal): Likewise.
              (output_pointer): New function.
              (output_format): Use it.  Recognize "%p" format specifier.
      
      From-SVN: r66287
      Gabriel Dos Reis committed
    • 2003-04-30 Michael Koch <konqueror@gmx.de> · ad03daf0
      	* java/util/regex/Matcher.java
      	(pattern): New member variable.
      	(appendReplacement): New method.
      	(appendTail): New method.
      	(end): New method.
      	(find): New method.
      	(group): New method.
      	(replaceFirst): Added documentation.
      	(replaceAll): Added documentation.
      	(groupCount): New method.
      	(lookingAt): New method.
      	(matches): New method.
      	(reset): New method.
      	(start): New method.
      	* java/util/regex/Pattern.java
      	(serialVersionUID): New constant.
      	(CANON_EQ): New constant.
      	(CASE_INSENSITIVE): New constant.
      	(COMMENTS): New constant.
      	(DOTALL): New constant.
      	(MULTILINE): New constant.
      	(UNICODE_CASE): New constant.
      	(UNIX_LINES): New constant.
      	(regex): New member variable.
      	(flags): New member variable.
      	(Pattern): New method.
      	(compile): Documentation added.
      	(flags): New method.
      	(matches): Documentation added.
      	(matcher): Documentation added.
      	(split): Documentation added.
      	(pattern): New method.
      
      From-SVN: r66285
      Michael Koch committed
    • Engine.java, [...]: New files from classpath. · 43905ff3
      2003-04-30  Michael Koch  <konqueror@gmx.de>
      
      	* gnu/java/security/Engine.java,
      	gnu/java/security/OID.java,
      	gnu/java/security/der/BitString.java,
      	gnu/java/security/der/DER.java,
      	gnu/java/security/der/DERReader.java,
      	gnu/java/security/der/DERValue.java,
      	gnu/java/security/der/DERWriter.java,
      	gnu/java/security/provider/DSAKeyFactory.java,
      	gnu/java/security/provider/X509CertificateFactory.java,
      	gnu/java/security/x509/X500DistinguishedName.java,
      	gnu/java/security/x509/X509CRL.java,
      	gnu/java/security/x509/X509CRLEntry.java,
      	gnu/java/security/x509/X509Certificate.java,
      	java/security/cert/CRLSelector.java,
      	java/security/cert/CertPathBuilder.java,
      	java/security/cert/CertPathBuilderResult.java,
      	java/security/cert/CertPathBuilderSpi.java,
      	java/security/cert/CertPathParameters.java,
      	java/security/cert/CertPathValidator.java,
      	java/security/cert/CertPathValidatorResult.java,
      	java/security/cert/CertPathValidatorSpi.java,
      	java/security/cert/CertSelector.java,
      	java/security/cert/CertStore.java,
      	java/security/cert/CertStoreParameters.java,
      	java/security/cert/CertStoreSpi.java,
      	java/security/cert/CollectionCertStoreParameters.java,
      	java/security/cert/LDAPCertStoreParameters.java,
      	java/security/cert/PKIXBuilderParameters.java,
      	java/security/cert/PKIXCertPathBuilderResult.java,
      	java/security/cert/PKIXCertPathChecker.java,
      	java/security/cert/PKIXCertPathValidatorResult.java,
      	java/security/cert/PKIXParameters.java,
      	java/security/cert/PolicyNode.java,
      	java/security/cert/PolicyQualifierInfo.java,
      	java/security/cert/TrustAnchor.java,
      	javax/security/auth/x500/X500Principal.java:
      	New files from classpath.
      	* gnu/java/io/ASN1ParsingException.java,
      	gnu/java/io/Base64InputStream.java,
      	gnu/java/security/der/DEREncodingException.java,
      	gnu/java/security/provider/DSAParameters.java,
      	gnu/java/security/provider/DSASignature.java,
      	gnu/java/security/provider/Gnu.java,
      	gnu/java/security/provider/GnuDSAPrivateKey.java,
      	gnu/java/security/provider/GnuDSAPublicKey.java,
      	java/security/AlgorithmParameterGenerator.java,
      	java/security/AlgorithmParameters.java,
      	java/security/KeyFactory.java,
      	java/security/KeyPairGenerator.java,
      	java/security/KeyStore.java,
      	java/security/MessageDigest.java,
      	java/security/SecureClassLoader.java,
      	java/security/SecureRandom.java,
      	java/security/Security.java,
      	java/security/Signature.java,
      	java/security/cert/Certificate.java,
      	java/security/cert/CertificateFactory.java,
      	java/security/cert/CertificateFactorySpi.java,
      	java/security/cert/X509CRL.java,
      	java/security/cert/X509Certificate.java,
      	java/security/spec/DSAPublicKeySpec.java:
      	New versions from classpath.
      	* gnu/java/security/provider/DERReader.java,
      	gnu/java/security/provider/DERWriter.java,
      	java/security/Engine.java: Removed.
      	* Makefile.am
      	(java_source_files, javax_source_files): Added new files.
      	* Makefile.in: Regenerated.
      
      From-SVN: r66283
      Michael Koch committed
    • host-darwin.c (segv_handler): When -dH is used, call abort() after running out of stack space. · 505b0fd6
      	* config/rs6000/host-darwin.c (segv_handler): When -dH is used,
      	call abort() after running out of stack space.
      
      From-SVN: r66282
      Geoffrey Keating committed
    • c-typeck.c (function_types_compatible_p): Ignore incompatible 'volatile'… · a6fdc086
      c-typeck.c (function_types_compatible_p): Ignore incompatible 'volatile' qualifiers on a function's return type in GNU mode.
      
      2003-04-29  Geoffrey Keating  <geoffk@apple.com>
      
      	* c-typeck.c (function_types_compatible_p): Ignore incompatible
      	'volatile' qualifiers on a function's return type in GNU mode.
      
      Index: testsuite/ChangeLog
      2003-04-29  Geoffrey Keating  <geoffk@apple.com>
      
      	* gcc.dg/noreturn-5.c: New file.
      	* gcc.dg/noreturn-6.c: New file.
      
      From-SVN: r66281
      Geoffrey Keating committed
    • expr.c (emit_group_load): Dump parallels of simd types to memory. · 9c0631a7
      2003-04-29  Aldy Hernandez  <aldyh@redhat.com>
      
              * expr.c (emit_group_load): Dump parallels of simd types to
              memory.
      
      From-SVN: r66280
      Aldy Hernandez committed