- 24 Feb, 2004 12 commits
-
-
* calls.c (preompute_arguments): Update comment. From-SVN: r78357
James E Wilson committed -
* gcc.c-torture/execute/20040223-1.c: New. From-SVN: r78356
James E Wilson committed -
From-SVN: r78355
Ian Lance Taylor committed -
cp-demangle.c (d_print_comp): Don't push more than one of the same CV-qualifier on the top of the stack. * cp-demangle.c (d_print_comp) [RESTRICT, VOLATILE, CONST]: Don't push more than one of the same CV-qualifier on the top of the stack. (d_print_comp) [ARRAY_TYPE]: If the array itself is CV-qualified, move the CV-qualifiers to apply to the element type instead. (d_print_array_type): When checking the modifiers, keep looking past ones which have been printed already. * testsuite/demangle-expected: Add three test cases. From-SVN: r78354
Ian Lance Taylor committed -
* cp-demangle.c (__cxa_demangle): Adjust last patch to handle empty string correctly. From-SVN: r78353
Ian Lance Taylor committed -
From-SVN: r78351
Kazu Hirata committed -
* cfgloop.h, loop-iv.c, loop-unswitch.c: Replace iv_analyse with iv_analyze. From-SVN: r78350
Kazu Hirata committed -
2004-02-23 Kelley Cook <kcook@gcc.gnu.org> * config/i386/i386.c: Rename pni to sse3. * config/i386/i386.h: Likewise. * config/i386/i386.md: Likewise. * config/i386/pmmintrin.h: Likewise. * doc/extend.texi: Likewise. * doc/invoke.texi: Likewise. From-SVN: r78349
Kelley Cook committed -
2004-02-23 Ian Lance Taylor <ian@wasabisystems.com> * cp-demangle.c (__cxa_demangle): It is not an error if status is not NULL. It is an error if the mangled name is the same as a built-in type name. (main): If IN_GLIBCPP_V3 is defined, test __cxa_demangle rather than cplus_demangle_v3. From-SVN: r78348
Ian Lance Taylor committed -
* dyn-string.c: Remove test of IN_LIBGCC2 and IN_GLIBCPP_V3 and the associated #define of RETURN_ON_ALLOCATION_FAILURE. From-SVN: r78347
Ian Lance Taylor committed -
* dyn-string.h: Remove test of IN_LIBGCC2 and IN_GLIBCPP_V3 and the associated #defines. From-SVN: r78346
Ian Lance Taylor committed -
From-SVN: r78340
GCC Administrator committed
-
- 23 Feb, 2004 26 commits
-
-
From-SVN: r78337
Kazu Hirata committed -
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 -
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 -
From-SVN: r78331
Nathanael Nerode committed -
* 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 -
* 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 -
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 -
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 DFmode moved to allow normal DFmode incoming register assignment. OKed by David Edehlson. From-SVN: r78323
Fariborz Jahanian committed -
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, 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. * configure: Regenerate. * Makefile.am: Use target_noncanonical variable from configure. * Makefile.in: Regenerate. * include/Makefile.in: Regenerate. From-SVN: r78317
Nathanael Nerode committed -
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 -
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 -
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 -
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 -
* config/rs6000/linux.h (OS_MISSING_POWERPC64): Define. * config/rs6000/linux64.h (OS_MISSING_POWERPC64): Define. From-SVN: r78309
Andrew Pinski committed -
PR c++/14106 * g++.dg/ext/typeof9.C: New test. From-SVN: r78304
Kriang Lerdsuwanakij committed -
* 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 -
PR c++/14250 * g++.dg/other/switch1.C: New test. From-SVN: r78295
Giovanni Bajo committed -
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 -
PR c++/14250 * cvt.c (build_expr_type_conversion): Type must be complete before looking up for conversions. From-SVN: r78293
Giovanni Bajo committed -
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 -
PR c++/14143 * g++.dg/template/koenig5.C: New test. From-SVN: r78288
Giovanni Bajo committed -
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 -
From-SVN: r78284
GCC Administrator committed
-
- 22 Feb, 2004 2 commits
-
-
* gcov-io.c (gcov_open) [GCOV_LOCKED]: Use open + fdopen instead of fopen. * libgcov.c: Include sys/stat.h. * config/rs6000/linux.h (TARGET_HAS_F_SETLKW): Define. * config/rs6000/linux64.h (TARGET_HAS_F_SETLKW): Define. * config/sparc/linux.h (TARGET_HAS_F_SETLKW): Define. * config/sparc/linux64.h (TARGET_HAS_F_SETLKW): Define. From-SVN: r78281
Jakub Jelinek committed -
From-SVN: r78280
Kazu Hirata committed
-