1. 12 Mar, 2003 9 commits
  2. 11 Mar, 2003 31 commits
    • linux64.h (DRIVER_SELF_SPECS): Add endian_spec. · c0a579df
      * config/mips/linux64.h (DRIVER_SELF_SPECS): Add endian_spec.
      Default to -mips3 on -mabi=64.  Don't add -mips* flag if -march is
      specified.
      (SUBTARGET_ASM_SPEC): Remove -mips*-adding code obviated by
      DRIVER_SELF_SPECS.
      (LINK_SPEC): Let endian options affect the linker emulation name.
      
      From-SVN: r64201
      Alexandre Oliva committed
    • re PR c++/9924 (Multiple using statements for builtin functions not allowed) · 0c33daff
      	PR c++/9924
      	* g++.dg/overload/builtin2.C: New test.
      
      2003-03-11  Mark Mitchell  <mark@codesourcery.com>
      
      	PR c++/9924
      	* decl2.c (do_nonmember_using_decl): Ignore anticipated builtins.
      
      From-SVN: r64197
      Mark Mitchell committed
    • re PR c++/9820 (ice in build_baselink (templates)) · cf237c19
              PR c++/9820
              * search.c (lookup_member): Fix handling of functions in a class
              being defined.
      
      From-SVN: r64193
      Jason Merrill committed
    • * sh.md (reload_inqi): Fix mode for source in second set. · ea45c4b0
      From-SVN: r64192
      J"orn Rennecke committed
    • cselib.c (cselib_invalidate_mem_1): Move too ... · 7101fb18
      	* cselib.c (cselib_invalidate_mem_1): Move too ...
      	(cselib_invalidate_mem): ... here; use new list
      	(dummy_val, first_containing_mem): New static variables.
      	(clear_table): Initialize first_containing_mem.
      	(discard_useless_values):  Compact the containing_mem list.
      	(add_mem_for_addr): Add to the list.
      	* cselib.h (cselib_val): Add next_containing_mem.
      
      From-SVN: r64191
      Jan Hubicka committed
    • * Makefile.in: Fix typo. · e24c3d71
      From-SVN: r64190
      Neil Booth committed
    • index.html: Update text about location of headers. · 4959aa5e
      2003-03-11  Jonathan Wakely  <redi@gcc.gnu.org>
      
      	* docs/html/faq/index.html: Update text about location of headers.
      	* docs/html/faq/index.txt: Regenerate.
      
      From-SVN: r64189
      Jonathan Wakely committed
    • rs6000.c (rs6000_override_options): Disable string instructions for e500. · b5044283
      2003-03-11  Aldy Hernandez  <aldyh@redhat.com>
      
              * config/rs6000/rs6000.c (rs6000_override_options): Disable string
              instructions for e500.
      
      From-SVN: r64188
      Aldy Hernandez committed
    • Makefile.in: Update. · cd6a5007
      	* Makefile.in: Update.
      	* c-cppbuiltin.c: Include tm_p.h.
      
      From-SVN: r64187
      Neil Booth committed
    • tm.texi (Frame Registers): Document DWARF_REG_TO_UNWIND_COLUMN. · 41f3a930
      2003-03-11  Aldy Hernandez  <aldyh@redhat.com>
      
              * doc/tm.texi (Frame Registers): Document DWARF_REG_TO_UNWIND_COLUMN.
      
              * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Define.
              (_Unwind_GetGR): Use DWARF_REG_TO_UNWIND_COLUMN.
              (_Unwind_SetGR): Same.
              (_Unwind_GetGRPtr): New.
              (_Unwind_SetGRPtr): New.
              (uw_update_context_1): Use accesor functions instead of accessing
              context->reg[] directly.
              (uw_install_context_1): Same.
              (execute_cfa_program): Same.
              (__frame_state_for): Same.
      
              * config/rs6000/rs6000.c (spe_synthesize_frame_save): Use 1200 as
              the synthetic register offset.
      
              * config/rs6000/rs6000.h (DWARF_REG_TO_UNWIND_COLUMN): New.
      
      From-SVN: r64186
      Aldy Hernandez committed
    • parse.y (resolve_field_access): Initialize class if field is found in another static field. · 8b8e6c64
      	* parse.y (resolve_field_access): Initialize class if field is
      	found in another static field.
      	* expr.c (build_class_init): Don't optimize out initialization of
      	implemented interface.
      
      From-SVN: r64185
      Tom Tromey committed
    • initfield.java: New file. · 218d1401
      	* libjava.lang/initfield.java: New file.
      	* libjava.lang/initfield.out: New file.
      
      From-SVN: r64184
      Tom Tromey committed
    • return-type-3.c: New test. · 54098126
      2003-03-11  Steven Bosscher  <s.bosscher@student.tudelft.nl>
      
              * gcc.dg/return-type-3.c: New test.
      
      From-SVN: r64181
      Steven Bosscher committed
    • cplus-dem.c (demangle_integral_value): Correction to reflect patch of 2002-01-10… · 8fe85775
      cplus-dem.c (demangle_integral_value): Correction to reflect patch of 2002-01-10 in order to also make negative...
      
      * cplus-dem.c (demangle_integral_value): Correction to reflect
      patch of 2002-01-10 in order to also make negative multi-digits
      without leading underscore work.
      
      From-SVN: r64179
      Carlo Wood committed
    • cris.md: Remove lingering EGCS reference. · d2f55c5c
      	* config/cris/cris.md: Remove lingering EGCS reference.
      	("*extopqihi_side_biap"): For HI operation, match
      	cris_additive_operand_extend_operator, not
      	cris_operand_extend_operator.  Adjust condition.
      	("*extopqihi_side", "*extopqihi"): Ditto.
      	("*extopqisi_side_biap"): Correct operand numbers in condition.
      	("*extophisi_side_biap", "*extopqisi_swap_side_biap"): Ditto.
      	("*extophisi_swap_side_biap", "*extopqisi_swap"): Ditto.
      	("*extophisi_swap"): Ditto.
      	("*extopqihi_swap_side_biap"): For HI operation, match a simple
      	PLUS, not cris_operand_extend_operator.  Adjust condition and
      	output template.
      	("*extopqihi_swap_side", "*extopqihi_swap"): Ditto.
      	* config/cris/cris.h (PREDICATE_CODES): Add
      	cris_additive_operand_extend_operator.
      	* config/cris/cris.c (cris_additive_operand_extend_operator):
      	New predicate.
      
      From-SVN: r64174
      Hans-Peter Nilsson committed
    • re PR c++/8700 (unhelpful error message for binding temp to reference) · 436f8a4c
      	PR c++/8700
      	* call.c (convert_class_to_reference): Adjust usage of
      	splice_viable.
      	(any_viable): Remove.
      	(splice_viable): Combine with any_viable.
      	(print_z_candidates): Avoid printing duplicates.
      	(build_user_type_conversion_1): Adjust usage of splice_viable.
      	(build_new_function_call): Likewise.
      	(build_operator_new_call): Likewise.
      	(build_object_call): Likewise.
      	(build_conditional_expr): Likewise.
      	(build_new_op): Likewise.
      	(build_new_method_call): Likewise.
      	(joust): Remove spurious comment.
      	* cp-tree.h (DECL_FRIENDLIST): Correct documentation.
      	* decl2.c (arg_assoc_class): Simplify.
      	* friend.c (add_friend): Likewise.
      
      From-SVN: r64173
      Mark Mitchell committed
    • demangle.h: Prepend accessors of class qualifier with 'get_' in order to fix warnings when... · 1be4def3
      
      2003-03-11  Carlo Wood  <carlo@alinoe.com>
      
      	* include/bits/demangle.h: Prepend accessors of
      	class qualifier with 'get_' in order to fix warnings
      	when compiling with -Wshadow.
      
      From-SVN: r64172
      Carlo Wood committed
    • bprob.exp: Disable test cases for h8300-*-* as profiling options are not supported. · bff6a7c2
      	* gcc.misc-tests/bprob.exp: Disable test cases for h8300-*-* as
      	profiling options are not supported.
      
      From-SVN: r64171
      D.Venkatasubramanian committed
    • jcf-io.c (caching_stat): Initialize origsep to remove compiler warning. · 3d874dea
      2003-03-11  Andrew Haley  <aph@redhat.com>
      
              * jcf-io.c (caching_stat): Initialize origsep to remove compiler
              warning.
      
      From-SVN: r64169
      Andrew Haley committed
    • re PR c++/8660 (template overloading ICE in tsubst_expr, at cp/pt.c:7644) · 220dd8ca
              PR c++/8660
              * decl2.c (check_classfn): A member template only matches a
              member template.
      
      [[Split portion of a mixed commit.]]
      
      From-SVN: r64167.2
      Jason Merrill committed
    • re PR c++/8660 (template overloading ICE in tsubst_expr, at cp/pt.c:7644) · 5b8e011c
              PR c++/8660
              * decl2.c (check_classfn): A member template only matches a
              member template.
      
      From-SVN: r64166
      Jason Merrill committed
    • 2003-03-11 Michael Koch <konqueror@gmx.de> · b772d2f5
      	* gnu/java/nio/ByteBufferImpl.java
      	(putInt): Use limit() instead of limit.
      	* gnu/java/nio/CharBufferImpl.java
      	(slice): Fixed implementation.
      	(subSequence): Better bounds checking.
      	* gnu/java/nio/MappedByteFileBuffer.java:
      	Import all needed classes directly.
      	* java/nio/ByteBuffer.java
      	(hashCode): New dummy method.
      	* java/nio/CharBuffer.java
      	(array_offset): New member variable.
      	(hasArray): Fixed documentation.
      	(arrayOffset): Return array_offset.
      
      From-SVN: r64165
      Michael Koch committed
    • df.c (read_modify_subreg_p): Change from static to global. · 37bd08f8
              * df.c (read_modify_subreg_p): Change from static to global.
              * df.h (read_modify_subreg_p): Add prototype.
              * sched-deps.c (sched_analyze_1): Generate true dependency for
              strict_low_part, certain subregs and zero/sign_extract.
      
      From-SVN: r64164
      Hartmut Penner committed
    • ctype_inline.h: Support _M_table when so installed. · b0649028
      	* config/os/bsd/freebsd/ctype_inline.h:  Support _M_table
      	when so installed.
      	* testsuite/22_locale/ctype/cons/char/1.cc: Fix typo.
      
      From-SVN: r64163
      Loren J. Rittle committed
    • Makefile.in: Update. · cb60f38d
      	* Makefile.in: Update.
      	* c-common.c: Don't include real.h or except.h.
      	(REGISTER_PREFIX): Remove.
      	(builtin_define_std, builtin_define_with_value,
      	builtin_define_with_int_value, builtin_define_with_hex_fp_value,
      	builtin_define_type_max, builtin_define_type_precision,
      	builtin_define_float_constants): Move to c-cppbuiltin.c.
      	(c_stddef_cpp_builtins): New.
      	* c-common.h (builtin_define_with_value, c_stddef_cpp_builtins): New.
      	* c-cppbuiltin.c: New, extracted from c-common.c.
      	(define__GNUC__): New.
      	* cppspec.c (lang_specific_driver): Remove support of -no-gcc.
      	* gcc.c: Remove support of %v1, %v2 and %v3 specs.
      	(cpp_unique_options): Don't support no-gcc.
      	(do_spec_1): Remove support of version specs.
      	* doc/invoke.texi: Remove documentation of %v1, %v2 and %v3.
      	* doc/passes.texi: Update.
      	* doc/tm.texi: Update.
      cp:
      	* Make-lang.in (CXX_C_OBJS): Update.
      	* lang-specs.h: Don't define __GNUG__ here.
      
      From-SVN: r64162
      Neil Booth committed
    • testsuite_hooks.h (run_tests_wrapped_env): Do not report lack of setenv(). · 5858cd26
      	* testsuite/testsuite_hooks.h (run_tests_wrapped_env): Do not
      	report lack of setenv().
      
      From-SVN: r64161
      Loren J. Rittle committed
    • 16077.C: Adjust warnings. · 125e6594
      	* g++.old-deja/g++.benjamin/16077.C: Adjust warnings.
      	* g++.old-deja/g++.warn/impint2.C: Likewise.
      
      	* call.c (perform_overload_resolution): New function.
      	(build_new_function_call): Use it.
      	(build_operator_new_call): Likewise.
      	(add_candidates): Add explicit_targs and template_only parameters.
      	(build_new_op): Adjust accordingly.
      	* cp-tree.h (build_operator_new_call): New function.
      	(build_function_call_real): Remove.
      	(build_function_call_maybe): Likewise.
      	* init.c (build_new_1): Use build_operator_new_call.
      	* typeck.c (build_function_call_real): Rename to ...
      	(build_function_call): ... this.
      
      From-SVN: r64159
      Mark Mitchell committed
    • * dwarf2out.c (multiple_reg_loc_descriptor): Fix thinko. · 31ca3635
      From-SVN: r64158
      Aldy Hernandez committed
    • darwin.c (machopic_function_base_name): If dynamic-no-pic is on should not get here. · ab82a49f
      2003-03-10  Andrew Pinski  <apinski@apple.com>
      
      	* config/darwin.c (machopic_function_base_name): If dynamic-no-pic
      	is on should not get here.
      	(machopic_indirect_data_reference): If dynamic-no-pic is on just
      	generate high/low parts of the address.
      	(machopic_legitimize_pic_address): Change MACHOPIC_PURE to
      	MACHOPIC_INDIRECT. Dynamic-no-pic uses 0 as the pic base. Generate
      	symbol and labels with a new reg.  Dynamic-no-pic does not have a
      	pic_offset_table_rtx.
      	(machopic_select_section): Change references of flag_pic to
      	MACHOPIC_INDIRECT.
      	(machopic_asm_out_destructor): Likewise.
      	* config/darwin.h (ASM_DECLARE_UNRESOLVED_REFERENCE): Change
      	reference of flag_pic to MACHOPIC_INDIRECT.
      	(MACHO_DYNAMIC_NO_PIC_P): Define as TARGET_DYNAMIC_NO_PIC.
      	(MACHOPIC_INDIRECT): Is also true when dynamic-no-pic is on.
      	(MACHOPIC_JUST_INDIRECT): Is also true when dynamic-no-pic is on.
      	(MACHOPIC_PURE): Is not pure when dynamic-no-pic is on.
      	* config/i386/darwin.h (MASK_MACHO_DYNAMIC_NO_PIC): Define as
      	0 for right now as dynamic-no-pic is not implemented on Darwin/ia32.
      	* config/rs6000/darwin.h (MASK_MACHO_DYNAMIC_NO_PIC): Define.
      	(TARGET_DYNAMIC_NO_PIC): Define.
      	(SUBTARGET_SWITCHES): Define, have sub-target switches for
      	dynamic-no-pic.
      	(SUBTARGET_OVERRIDE_OPTIONS): Move check for -fpic from
      	rs6000_override_options to here. Dynamic-no-pic overrides
      	pic.
      	(CC1_SPEC): Change from not static then pic to not static and not
      	dynamic-no-pic then pic.
      	* config/rs6000/rs6000.c (rs6000_override_options): Move the
      	check for -fpic and DARWIN_ABI to config/rs6000/darwin.h
      	(rs6000_legitimize_reload_address): Add case for loading floating in
      	dynamic-no-pic.
      	(rs6000_emit_move): Add case for dynamic-no-pic.  Change reference
      	of flag_pic to MACHOPIC_INDIRECT.
      	(secondary_reload_class): Conditional change the reference of
      	flag_pic to MACHOPIC_INDIRECT.
      	(rs6000_output_mi_thunk): Change reference of flag_pic to
      	MACHOPIC_INDIRECT.
      	(output_profile_hook): Likewise.
      	(machopic_output_stub):	Non-pure (dynamic-no-pic) is now supported.
      	* config/rs6000/rs6000.md (movdf_low): Add the case for
      	MACHO_DYNAMIC_NO_PIC_P.
      	(call): Change references for flag_pic in TARGET_MACHO to
      	MACHOPIC_INDIRECT.
      	(SUBTARGET_OVERRIDE_OPTIONS): Add case where -fpic is on and
      	-mdynamic-no-pic is on.	 Also move case for -fpic from rs6000.c.
      	* doc/invoke.texi (-mdynamic-no-pic): Document.
      
      From-SVN: r64157
      Andrew Pinski committed
    • Remove extra bits I included, by mistake, in my previous check-in · 8c124730
      for PR/9394 fix.
      
      From-SVN: r64156
      Devang Patel committed
    • Daily bump. · 3c6a9be3
      From-SVN: r64153
      GCC Administrator committed