1. 24 Feb, 2004 10 commits
  2. 23 Feb, 2004 26 commits
    • Remove support for fwritable-strings-1.c. · 66f6c39e
      From-SVN: r78337
      Kazu Hirata committed
    • Remove -fwritable-strings. · 3521b33c
      gcc/
      	Remove -fwritable-strings.
      	* c-common.c (fix_string_type): Don't check
      	flag_writable_strings.
      	(fix_string_type): Likewise.
      	* c-opts.c (set_std_c89): Don't initialize
      	flag_writable_strings.
      	(set_std_c99): Likewise.
      	* common.opt (fwritable-strings): Remove.
      	* flags.h: Remove the external declaration of
      	flag_writable_strings.
      	* opts.c (common_handle_option) <OPT_fwritable_strings>:
      	Remove.
      	* toplev.c (flag_writable_strings): Remove.
      	(f_options): Remove an entry for writable-strings.
      	* varasm.c (const_hash_1) <STRING_CST>: Don't check
      	flag_writable_strings.
      	(compare_constant) <STRING_CST>: Likewise.
      	(build_constant_desc): Likewise.
      	* config/darwin.c (machopic_select_section): Likewise.
      	* config/arm/arm.c (AOF_ASSEMBLER): Likewise.
      	* config/arm/pe.c (arm_pe_encode_section_info): Likewise.
      	* config/iq2000/iq2000.c (iq2000_select_section): Likewise.
      	* config/mips/mips.c (mips_select_section): Likewise.
      	(mips_encode_section_info): Likewise.
      	* config/pa/pa.c (pa_select_section): Likewise.
      	* config/pa/pa.h (TEXT_SPACE_P): Likewise.
      	* config/v850/v850.c (v850_select_section): Likewise.
      	* doc/invoke.texi (-fwritable-strings): Remove.
      	(-fno-const-strings): Don't mention -fwritable-strings.
      	* doc/trouble.texi: Don't mention -fwritable-strings.
      
      gcc/cp/
      	* decl.c (cxx_init_decl_processing): Don't check
      	flag_writable_strings.
      
      gcc/testsuite/
      	* gcc.dg/fwritable-strings-1.c: Remove.
      
      Co-Authored-By: Kazu Hirata <kazu@cs.umass.edu>
      
      From-SVN: r78333
      Zack Weinberg committed
    • config.sub, [...]: Replace with forwarding scripts which invoke the master copies in the top level. · eac8a696
      2004-02-22  Zack Weinberg <zack@codesourcery.com>
      	    Nathanael Nerode <neroden@twcny.rr.com>
      	    Alexandre Oliva <aoliva@redhat.com>
      
      boehm-gc:
      libjava/libltdl:
      	* config.sub, config.guess: Replace with forwarding scripts
      	which invoke the master copies in the top level.
      
      From-SVN: r78332
      Zack Weinberg committed
    • acinclude.m4: Remove old no-executables workaround; add new no-executables workaround. · 47935194
      	* acinclude.m4: Remove old no-executables workaround;
      	add new no-executables workaround.
      	* aclocal.m4: Regenerate.
      	* configure.in: Change prereqs to autoconf 2.57.
      	* configure: Regenerate with autoconf 2.57.
      
      From-SVN: r78330
      Nathanael Nerode committed
    • darwin.h (SUBTARGET_OPTIONS): Add -mmacosx= option. · 4fd1ff2b
      	* config/darwin.h (SUBTARGET_OPTIONS): Add -mmacosx= option.
      	(macosx_version_min_required): Declare global variable.
      	* config/darwin-protos.h (darwin_parse_macosx_version_name): Declare.
      	* config/darwin.c (macosx_version_min_required): Define variable.
      	(darwin_macosx_vers_tbl): Define. Table mapping text strings of
      	OS versions to numerical codes.
      	(darwin_parse_macosx_version_name): Define.  Parse -mmacosx=,
      	set macosx_version_min_required appropriately.
      	* config/i386/darwin.h (SUBTARGET_OVERRIDE_OPTIONS): Define.
      	Invoke darwin_parse_macosx_version_name.
      	* config/rs6000/darwin.h (SUBTARGET_OVERRIDE_OPTIONS): Add
      	darwin_parse_macosx_version_name to Darwin option handling.
      	* doc/invoke.texi (-mmacosx=): Document.
      
      From-SVN: r78329
      Matt Austern committed
    • vterminate.cc (__gnu_cxx::__verbose_terminate_handler): Only use fputs, not write. · 6f94dea7
      
      2004-02-23  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* libsupc++/vterminate.cc (__gnu_cxx::__verbose_terminate_handler):
      	Only use fputs, not write.
      
      From-SVN: r78327
      Benjamin Kosnik committed
    • rs6000.md (movsf_hardfloat): Add POWER form of nop. · e0740893
      
      2004-02-23  Dale Johannesen  <dalej@apple.com>
      
      	* config/rs6000.md (movsf_hardfloat): Add POWER form of nop.
      	(movdf_hardfloat64):  Ditto.
      	(movdf_softfloat64):  Ditto.
      
      From-SVN: r78325
      Dale Johannesen committed
    • config/rs6000/rs6000.c (function_arg): call to rs6000_mixed_function_arg for... · e91fa876
      config/rs6000/rs6000.c (function_arg): call to
      rs6000_mixed_function_arg for DFmode moved to allow
      normal DFmode incoming register assignment.
      OKed by David Edehlson.
      
      From-SVN: r78323
      Fariborz Jahanian committed
    • rs6000.md (movsf_hardfloat): Accept CTR-to-CTR copy. · ae6669e7
      
      2004-02-23  Dale Johannesen  <dalej@apple.com>
      
      	* config/rs6000.md (movsf_hardfloat): Accept CTR-to-CTR copy.
      	(movdf_hardfloat64):  Ditto.
      
      From-SVN: r78322
      Dale Johannesen committed
    • convert.c, [...]: Update copyright. · 2a9f2ad3
      	* convert.c, gcov-io.c, libgcov.c, sched-int.h, sibcall.c,
      	config/rs6000/linux.h, config/rs6000/rs6000-c.c: Update
      	copyright.
      
      From-SVN: r78318
      Kazu Hirata committed
    • configure.in: Use NCN_TARGET_NONCANONICAL and friends. · d38d6003
      	* configure.in: Use NCN_TARGET_NONCANONICAL and friends.
      	* configure: Regenerate.
      	* Makefile.am: Use target_noncanonical variable from configure.
      	* Makefile.in: Regenerate.
      	* include/Makefile.in: Regenerate.
      
      From-SVN: r78317
      Nathanael Nerode committed
    • malloc_allocator.h: Add operators ==, !=. · 20d0a40e
      
      2004-02-23  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* include/ext/malloc_allocator.h: Add operators ==, !=.
      	* include/ext/new_allocator.h: Add operators ==, !=.
      	* include/ext/mt_allocator.h (__mt_alloc::tune): New.
      	(__mt_alloc::_S_get_options): New.
      	(__mt_alloc::_S_set_options): New.
      	(__mt_alloc::_S_thread_key_destr): To _S_destroy_thread_key.
      	(__mt_alloc::_S_no_of_bins): To _S_bin_size.
      	Move functions out of line, simplify, format.
      	* src/allocator.cc: Simplify explicit instantiations.
      	* include/bits/allocator.h: Tweak.
      
      From-SVN: r78315
      Benjamin Kosnik committed
    • malloc_allocator.h: Add operators ==, !=. · f263b26e
      
      2004-02-20  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* include/ext/malloc_allocator.h: Add operators ==, !=.
      	* include/ext/new_allocator.h: Add operators ==, !=.
      	* include/ext/mt_allocator.h (__mt_alloc::tune): New.
      	(__mt_alloc::_S_get_options): New.
      	(__mt_alloc::_S_set_options): New.
      	(__mt_alloc::_S_thread_key_destr): To _S_destroy_thread_key.
      	(__mt_alloc::_S_no_of_bins): To _S_bin_size.
      	Move functions out of line, simplify, format.
      	* src/allocator.cc: Simplify explicit instantiations.
      	* include/bits/allocator.h: Tweak.
      
      From-SVN: r78314
      Benjamin Kosnik committed
    • re PR c++/14156 (no warning for address of parameter) · 2b0c1c56
      2004-02-23  Andrew Pinski  <pinskia@physics.uc.edu>
      
              PR c/14156
              * gcc.dg/20040223-1.c: New test.
      
      From-SVN: r78313
      Andrew Pinski committed
    • re PR c++/14156 (no warning for address of parameter) · a2f1f4c3
              PR c/14156
              * c-typeck.c (c_expand_return): Change check for VAR_DECL
              to use DECL_P instead.
      
              PR c++/14156
              * typeck.c (maybe_warn_about_returning_address_of_location):
              Change check for VAR_DECL to use DECL_P instead.
      
      From-SVN: r78312
      Andrew Pinski committed
    • linux.h (OS_MISSING_POWERPC64): Define. · aa5fa0fc
      
      	* config/rs6000/linux.h (OS_MISSING_POWERPC64): Define.
      	* config/rs6000/linux64.h (OS_MISSING_POWERPC64): Define.
      
      From-SVN: r78309
      Andrew Pinski committed
    • re PR c++/14106 ([testcase] ICE on template func instanciation: stor-layout.c:1569) · 887d68d9
      	PR c++/14106
      	* g++.dg/ext/typeof9.C: New test.
      
      From-SVN: r78304
      Kriang Lerdsuwanakij committed
    • Makefile.in (opts.o): Depend on target.h. · 221ee7c9
      	* Makefile.in (opts.o): Depend on target.h.
      	* opts.c (decode_options): Use targetm.default_short_enums
      	instead of DEFAULT_SHORT_ENUMS.
      	* system.h (DEFAULT_SHORT_ENUMS): Poison.
      	* target-def.h (TARGET_DEFAULT_SHORT_ENUMS): New.
      	(TARGET_INITIALIZER): Add TARGET_DEFAULT_SHORT_ENUMS.
      	* target.h (gcc_target): Add default_short_enums.
      	* config/cris/cris.h: Remove a comment about
      	DEFAULT_SHORT_ENUMS.
      	* config/ip2k/ip2k.h: Likewise.
      	* doc/tm.texi (DEFAULT_SHORT_ENUMS): Change to
      	TARGET_DEFAULT_SHORT_ENUMS.  Update the description.
      
      From-SVN: r78303
      Kazu Hirata committed
    • re PR c++/14250 (switch() does not seem to see operator int() in template class) · 9bdfe704
      	PR c++/14250
      	* g++.dg/other/switch1.C: New test.
      
      From-SVN: r78295
      Giovanni Bajo committed
    • re PR c/14188 (Suggestion: improve warning message for call through incompatible type) · bba745c1
      	PR c/14188
      	* builtins.c (expand_builtin_va_arg): Emit an informative message
      	if a trap is generated.
      	* c-typeck.c (build_function_call): Likewise.
      
      Co-Authored-By: Falk Hueffner <falk@debian.org>
      
      From-SVN: r78294
      Eric Botcazou committed
    • re PR c++/14250 (switch() does not seem to see operator int() in template class) · 29f4ceab
      	PR c++/14250
      	* cvt.c (build_expr_type_conversion): Type must be complete before
      	looking up for conversions.
      
      From-SVN: r78293
      Giovanni Bajo committed
    • [multiple changes] · 6871ba5f
      2004-02-23  Ed Schonberg  <schonberg@gnat.com>
      
      	* exp_ch6.adb (Expand_N_Subprogram_Declaration): Do not create
      	protected operations if original subprogram is flagged as eliminated.
      	(Expand_N_Subprogram_Body): For a protected operation, create
      	discriminals for next operation before checking whether the operation
      	is eliminated.
      
      	* exp_ch9.adb (Expand_N_Protected_Body,
      	Expand_N_Protected_Type_Declaration): Do not generate specs and bodies
      	for internal protected operations if the original subprogram is
      	eliminated.
      
      	* sem_elim.adb (Check_Eliminated): Handle properly protected operations
      	declared in a single protected object.
      
      2004-02-23  Vincent Celier  <celier@gnat.com>
      
      	* prj-attr.adb: Make attribute Builder'Executable an associative array,
      	case insensitive if file names are case insensitive, instead of a
      	standard associative array.
      
      	* prj-attr.adb (Initialize): For 'b' associative arrays, do not set
      	them as case insensitive on platforms where the file names are case
      	sensitive.
      
      	* prj-part.adb (Parse_Single_Project): Make sure, when checking if
      	project file has already been parsed that canonical path are compared.
      
      2004-02-23  Robert Dewar  <dewar@gnat.com>
      
      	* sinput-c.ads: Correct bad unit title in header
      
      	* freeze.adb: Minor reformatting
      
      2004-02-23  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
      
      	* trans.c (tree_transform, case N_Procedure_Call_Statement): For
      	nonaddressable COMPONENT_REF that is removing padding that we are
      	taking the address of, take the address of the padded record instead
      	if item is variable size.
      
      From-SVN: r78292
      Arnaud Charlet committed
    • re PR c++/14143 (Overeager ADL) · 615a5ba6
      	PR c++/14143
      	* g++.dg/template/koenig5.C: New test.
      
      From-SVN: r78288
      Giovanni Bajo committed
    • re PR c++/14143 (Overeager ADL) · 146d3c99
      	PR c++/14143
      	* name-lookup.c	(arg_assoc_class): Don't look into template
      	arguments if it is not a primary template.
      
      From-SVN: r78287
      Giovanni Bajo committed
    • Daily bump. · c5f7ba9e
      From-SVN: r78284
      GCC Administrator committed
  3. 22 Feb, 2004 4 commits