1. 17 Sep, 2002 28 commits
  2. 16 Sep, 2002 12 commits
    • winnt.c (ix86_handle_dll_attribute): Set DECL_EXTERN and TREE_PUBLIC for… · f354b828
      winnt.c (ix86_handle_dll_attribute): Set DECL_EXTERN and TREE_PUBLIC for dllimported variables here...
      
      	* config/i386/winnt.c (ix86_handle_dll_attribute): Set
      	DECL_EXTERN and TREE_PUBLIC for dllimported variables here...
      	(i386_pe_mark_dllimport): Not here.
      
      Co-Authored-By: Danny Smith <dannysmith@users.sourceforge.net>
      
      From-SVN: r57215
      Jason Merrill committed
    • URLClassLoader.java (findClass): Code source for a class from a jar is not necessarily a jar: URL. · e46b54a2
      	* java/net/URLClassLoader.java (findClass): Code source for a
      	class from a jar is not necessarily a jar: URL.
      
      From-SVN: r57214
      Tom Tromey committed
    • re PR c++/7640 (g++ 3.3 ICE: SEGV in integer_zerop) · 85341ddd
      .:	PR c++/7640
      	* c-semantics.c (genrtl_do_stmt): Cope with NULL cond.
      testsuite:
      	* g++.dg/other/do1.C: New test.
      
      From-SVN: r57212
      Nathan Sidwell committed
    • re PR c++/7718 ('complex' template instantiation causes internal compiler error (gcc 3.1, gcc 3.2)) · 3ec83083
      cp:
      	PR c++/7718
      	* pt.c (tsubst_decl): Remove assert.
      testsuite:
      	* g++.dg/template/subst1.C: New test.
      
      From-SVN: r57211
      Nathan Sidwell committed
    • rs6000.c (build_mask64_2_operands): Suppress warnings about unused operands when… · 045572c7
      rs6000.c (build_mask64_2_operands): Suppress warnings about unused operands when HOST_BITS_PER_WIDE_INT is < 64.
      
      	* config/rs6000/rs6000.c (build_mask64_2_operands): Suppress
      	warnings about unused operands when HOST_BITS_PER_WIDE_INT is
      	< 64.
      	(rs6000_emit_cmove): Use real_isinf not target_isinf.
      
      From-SVN: r57210
      Geoffrey Keating committed
    • Remove DR 295 implementation. · 171d2f50
      cp:
      	Remove DR 295 implementation.
      	* pt.c (check_cv_quals_for_unify): Disable function & method cases.
      	* tree.c (cp_build_qualified_type_real): Likewise. Don't warn
      	about ignoring volatile qualifiers.
      
      	* search.c (lookup_member): Correct documentation.
      testsuite:
      	* g++.dg/template/qualttp20.C: Adjust expected errors.
      	* g++.old-deja/g++.jason/report.C: Likewise.
      	* g++.old-deja/g++.other/qual1.C: Likewise.
      
      From-SVN: r57209
      Nathan Sidwell committed
    • abi_check.cc: Pull shell fragments out into... · 0e9cab87
      2002-09-16  Phil Edwards  <pme@gcc.gnu.org>
      
      	* testsuite/abi_check.cc:  Pull shell fragments out into...
      	* config/abi/extract_symvers:  ...here.  New file.
      	* Makefile.am (check_abi):  Change to match.
      	(new-abi-baseline):  New target.
      	* Makefile.in:  Regenerated.
      
      From-SVN: r57208
      Phil Edwards committed
    • calls.c (emit_library_call_value_1): Don't refer to hard_libcall_value. · d57551c7
      	* calls.c (emit_library_call_value_1): Don't refer to
      	hard_libcall_value.
      	* optabs.c (prepare_float_lib_cmp): Likewise.
      
      From-SVN: r57207
      Kazu Hirata committed
    • Index: gcc/ChangeLog · 36a5eadd
      2002-09-12  Geoffrey Keating  <geoffk@apple.com>
      
      	* ggc-common.c (ggc_mark_rtx_children_1): Update for changed name
      	mangling.
      
      	The following changes are merged from pch-branch:
      
      	* doc/gty.texi (GTY Options): Document %a.
      	* gengtype.c (do_scalar_typedef): New function.
      	(process_gc_options): Handle `length' option.
      	(set_gc_used_type): A pointer to an array of structures doesn't
      	qualify as a pointer to a structure.
      	(output_escaped_param): Add `%a' escape.
      	(write_gc_structure_fields): Allow 'desc' on array of unions.
      	(main): Define `uint8', `jword' and `JCF_u2' as scalars; use
      	do_scalar_typedef.
      
      	* gengtype.c (enum rtx_code): Make global.
      	(rtx_format): Make global.
      	(rtx_next): New.
      	(gen_rtx_next): New.
      	(write_rtx_next): New.
      	(adjust_field_rtx_def): Skip fields marked by chain_next.
      	(open_base_files): Delete redundant prototype.
      	(write_enum_defn): New.
      	(output_mangled_typename): Correct abort call.
      	(write_gc_marker_routine_for_structure): Handle chain_next and
      	chain_prev options.
      	(finish_root_table): Don't output redundant \n.
      	(main): Call gen_rtx_next, write_rtx_next, write_enum_defn.
      	* c-tree.h (union lang_tree_node): Add chain_next option.
      
      	* gengtype.h (NUM_PARAM): New definition.
      	(struct type): For TYPE_PARAM_STRUCT, allow multiple parameters.
      	* gengtype.c (find_param_structure): New.
      	(adjust_field_type): Handle param<n>_is option.
      	(process_gc_options): Detect use_params option.  Update callers.
      	(set_gc_used_type): Add 'param' parameter, update callers.  Handle
      	'use_params' option.
      	(open_base_files): Add splay-tree.h to list of files included.
      	(output_mangled_typename): New.
      	(write_gc_structure_fields): Update 'param' parameter to support
      	multiple parameters.  Change name mangling.  Allow parameterized
      	fields to have an apparent scalar type.  Handle param<n>_is options,
      	use_param option.
      	(write_gc_marker_routine_for_structure): Update for change to name
      	mangling.  Better guess the output file for parameterized types.
      	(write_gc_types): Update for change to name mangling.
      	(write_gc_root): Update for change to name mangling.  Handle (ignore)
      	param<n>_is options.
      	* doc/gty.texi (GTY Options): Add description of param<n>_is
      	options, use_params option.
      	* ggc.h (ggc_mark_rtx): Update for changed name mangling.
      	* gengtype-lex.l: Produce token for param<n>_is.
      	* gengtype-yacc.y: Parse param<n>_is.
      
      	* gengtype.c (adjust_field_tree_exp): Don't name a variable 'rindex'.
      
      	* rtl.c: Update comment describing rtx_format.
      	* rtl.h (union rtunion): Separate definition and typedef.
      	(struct rtx_def): Use gengtype to mark.
      	* Makefile.in (gengtype.o): Also depend on rtl.def.
      	* ggc.h (ggc_mark_rtx_children): Delete prototype.
      	(ggc_mark_rtx): Change to alias of gengtype-generated routine.
      	* ggc-common.c (ggc_mark_rtx_children): Delete.
      	(ggc_mark_rtx_children_1): Delete.
      	(gt_ggc_m_rtx_def): Delete.
      	* gengtype.c (adjust_field_rtx_def): New.
      	(adjust_field_type): Call adjust_field_rtx_def.
      	(write_gc_structure_fields): Add 'default' case to switch if none
      	is specified; remove unused code.
      
      	* tree.h (struct tree_exp): Update for change to meaning
      	of special.
      	* gengtype.c (adjust_field_tree_exp): New function.
      	(adjust_field_type): Handle `tree_exp' special here.
      	(write_gc_structure_fields): Don't handle `tree_exp' special here.
      	Handle new `dot' option.
      
      	* gengtype.h: Make `info' a pointer-to-const.
      	* gengtype-yacc.y (yacc_ids): Use xasprintf.
      
      	* gengtype.c (write_gc_structure_fields): Remove implementation
      	of `always' option, add `default' option.
      	* doc/gty.texi (GTY Options): Remove documentation of `always',
      	add `default'.
      
      Index: gcc/cp/ChangeLog
      2002-09-12  Geoffrey Keating  <geoffk@apple.com>
      
      	* cp-tree.h (union lang_tree_node): Add chain_next option.
      
      Index: gcc/f/ChangeLog
      2002-09-12  Geoffrey Keating  <geoffk@apple.com>
      
      	* com.c (union lang_tree_node): Add chain_next option.
      
      Index: gcc/java/ChangeLog
      2002-09-12  Geoffrey Keating  <geoffk@apple.com>
      
      	* java-tree.h (union lang_tree_node): Add chain_next option.
      
      From-SVN: r57206
      Geoffrey Keating committed
    • * m68hc11.md (addhi_sp): Fix uninitialized variable bug. · 7c3414b6
      From-SVN: r57202
      Kaveh R. Ghazi committed
    • c4x-c.c, [...]: Include tm_p.h instead of the *-protos.h file directly. · 245ff137
      	* c4x-c.c, c4x.c, darwin.c, i370-c.c, m32r.c: Include tm_p.h
      	instead of the *-protos.h file directly.
      	* t-c4x, t-i370, t-v850: Depend on $(TM_P_H).
      	* darwin.c (machopic_output_stub): Move prototype ...
      	* darwin-protos.h (machopic_output_stub): ... here.
      	* rs6000-protos.h (machopic_output_stub): Don't declare.
      
      From-SVN: r57201
      Kaveh R. Ghazi committed