1. 29 Feb, 2004 2 commits
  2. 28 Feb, 2004 23 commits
  3. 27 Feb, 2004 15 commits
    • darwin.c (machopic_output_possible_stub_label): Remove. · b30e1617
      
      2004-02-27  Dale Johannesen  <dalej@apple.com>
              * config/darwin.c (machopic_output_possible_stub_label):  Remove.
              config/darwin-protos.h:  Ditto.
              config/darwin.h:  Remove call to it.
              * combine.c (distribute_notes): Do not place a REG_DEAD note
              when value is both set and used.
      
      From-SVN: r78590
      Dale Johannesen committed
    • fixunssfsi.c (__fixunssfsi): Enable on H8/300 as well. · bbc51dc2
      	* config/h8300/fixunssfsi.c (__fixunssfsi): Enable on H8/300
      	as well.
      	* config/h8300/lib1funcs.asm (___fixunssfsi): Remove.
      	* config/h8300/t-h8300 (LIB1ASMFUNCS): Remove _fixunssfsi_asm.
      
      From-SVN: r78588
      Kazu Hirata committed
    • c-typeck.c (tagged_types_tu_compatible_p): Speedup common case of the type… · dedbabed
      c-typeck.c (tagged_types_tu_compatible_p): Speedup common case of the type values being in the same order.
      
      	* c-typeck.c (tagged_types_tu_compatible_p) <ENUMERAL_TYPE>:
      	Speedup common case of the type values being in the same order.
      
      From-SVN: r78585
      Andrew Pinski committed
    • 2.cc, [...]: Use dg-require-iconv. · 58adf39c
      2004-02-27  Eric Christopher  <echristo@redhat.com>
                  Phil Edwards  <phil@codesourcery.com>
      
      	* testsuite/22_locale/collate/compare/wchar_t/2.cc,
      	testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc,
      	testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc,
      	testsuite/22_locale/collate/hash/wchar_t/2.cc,
      	testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc,
      	testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc,
      	testsuite/22_locale/collate/transform/wchar_t/2.cc,
      	testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc,
      	testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc:
      	Use dg-require-iconv.
      	* testsuite/lib/libstdc++.exp:  Load target-supports.exp.
      
      From-SVN: r78582
      Eric Christopher committed
    • g++.exp (g++_link_flags): Append LD_LIBRARY_PATH to ld_library_path. · dab8eb57
      2004-02-27  Aldy Hernandez  <aldyh@redhat.com>
      
      	* lib/g++.exp (g++_link_flags): Append LD_LIBRARY_PATH to
      	ld_library_path.
      
      From-SVN: r78581
      Aldy Hernandez committed
    • default.exp: Update with comments. · 23834577
      2004-02-27  Phil Edwards  <phil@codesourcery.com>
      
      	* testsuite/config/default.exp:  Update with comments.
      	(${tool}_target_compile):  New wrapper routine.
      	* testsuite/lib/dg-options.exp:  New file, with dg-require-iconv.
      	* testsuite/lib/libstdc++.exp:  Update with comments and cosmetic
      	fixes.
      	(load_gcc_lib, v3track):  New routines.
      	(v3-init):  Rename to libstdc++_init.
      	* testsuite/libstdc++-dg/normal.exp:  No longer call v3-init.
      	Move DEFAULT_CXXFLAGS handling into libstdc++_init.
      
      From-SVN: r78580
      Phil Edwards committed
    • tree.c (pod_type_p): Treat VECTOR_TYPEs as PODs. · b1009a5d
      [gcc/cp/ChangeLog]
      2004-02-27  Ziemowit Laski  <zlaski@apple.com>
      
              * tree.c (pod_type_p): Treat VECTOR_TYPEs as PODs.
      
      [gcc/testsuite/ChangeLog]
      2004-02-27  Ziemowit Laski  <zlaski@apple.com>
      
              * g++.dg/ext/altivec-3.C: New.
      
      From-SVN: r78578
      Ziemowit Laski committed
    • atomicity.h: Include c++config.h to get defines. · 00d04db6
      
      2004-02-27  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* config/cpu/hppa/atomicity.h: Include c++config.h to get defines.
      
      	* src/misc-inst.cc (_S_atomicity_lock): Move to __gnu_cxx.
      
      	* config/os/irix/irix5.2/atomicity.h: Merge..
      	* config/os/irix/irix6.5/atomicity.h: Merge..
      	* config/os/irix/atomicity.h: ...into this.
      	* config/os/irix/atomic_word.h: New.
      	* configure.host: Set atomic_word_dir for irix.
      
      	* hppa/atomicity.h: Change __Atomicity_lock to _Atomicity_lock.
      	* i386/atomicity.h: Same.
      	* m68k/atomicity.h: Same.
      	* sparc/atomicity.h: Same.
      
      From-SVN: r78577
      Benjamin Kosnik committed
    • atomicity.h: Use __gnu_cxx namespace. · c284a126
              * config/os/aix/atomicity.h: Use __gnu_cxx namespace. Remove
              static, and inline keyworks.
      
      From-SVN: r78574
      David Edelsohn committed
    • ia64.h (no-inline-float-divide): New option. · b6b979d4
      	* config/ia64/ia64.h (no-inline-float-divide): New option.
      	* config/ia64/ia64.h (no-inline-int-divide): New option.
      	* config/ia64/ia64.h (no-inline-sqrt): New option.
      	(TARGET_DEFAULT): Add MASK_INLINE_FLOAT_DIV_THR to define.
      	* config/ia64/hpux.h (TARGET_DEFAULT): Ditto.
      	* config/ia64/ia64.c (ia64_override_options): Modify error
      	checking for inlined division/sqrt.
      
      From-SVN: r78569
      Steve Ellcey committed
    • bb-reorder.c, [...]: Update copyright. · 88462c42
      gcc/
      	* bb-reorder.c, cfgbuild.c, diagnostic.c, explow.c, profile.c,
      	ra-build.c, read-rtl.c, tracer.c, unwind-dw2-fde-glibc.c,
      	value-prof.c, config/darwin-protos.h, config/frv/frv-abi.h,
      	config/i386/pmmintrin.h, config/pa/pa-hpux.h: Update
      	copyright.
      
      gcc/java/
      	* java/parse.h: Update copyright.
      
      From-SVN: r78566
      Kazu Hirata committed
    • locale_facets.tcc (num_get<>::_M_extract_float, [...]): If appropriate, call… · a8ea7389
      locale_facets.tcc (num_get<>::_M_extract_float, [...]): If appropriate, call reserve on the __tmp_gruping string.
      
      2004-02-27  Paolo Carlini  <pcarlini@suse.de>
      
      	* include/bits/locale_facets.tcc (num_get<>::_M_extract_float,
      	num_get<>::_M_extract_int, money_get<>::_M_extract): If appropriate,
      	call reserve on the __tmp_gruping string.
      	(num_get<>::_M_extract_float): Don't append unnecessarily a
      	char() to the returned string.
      	* include/bits/locale_facets.tcc: Trivial reformattings.
      
      From-SVN: r78565
      Paolo Carlini committed
    • locale_facets.h (money_get<>::_M_extract): Change signature: now takes a plain string&. · f4bdbead
      2004-02-27  Paolo Carlini  <pcarlini@suse.de>
      
      	* include/bits/locale_facets.h (money_get<>::_M_extract):
      	Change signature: now takes a plain string&.
      	* include/bits/locale_facets.tcc (money_get<>::_M_extract):
      	Update consistently the definition; use the moneypunct cache
      	to parse the value; use swap to change __units.
      	(money_get<>::do_get(long double&)): Update call of _M_extract,
      	avoid ctype::narrow, not correct wrt the standard.
      	(money_get<>::do_get(string_type&)): Likewise, update call
      	of _M_extract, use ctype::widen.
      	* src/locale-inst.cc: Tweak instantiations of _M_extract.
      
      From-SVN: r78562
      Paolo Carlini committed
    • passes.c: New file. · f6db1481
              * passes.c: New file.
              * Makefile.in (OBJS-common): Add it.
              * diagnostic.c (rtl_dump_and_exit): Move decl ...
              * flags.h (rtl_dump_and_exit): ... here.
              * output.h (size_directive_output, last_assemble_variable_decl):
              Move from toplev.c.
              * rtl.h (reg_alloc): Move from toplev.c.
              * toplev.c (HAVE_conditional_execution, DUMPFILE_FORMAT,
              struct dump_file_info, enum dump_file_index, dump_file_tbl,
              open_dump_file, close_dump_file, rest_of_decl_compilation,
              rest_of_type_compilation, rest_of_handle_final,
              rest_of_handle_delay_slots, rest_of_handle_stack_regs,
              rest_of_handle_variable_tracking, rest_of_handle_machine_reorg,
              rest_of_handle_new_regalloc, rest_of_handle_old_regalloc,
              rest_of_handle_regrename, rest_of_handle_reorder_blocks,
              rest_of_handle_sched, rest_of_handle_sched2, rest_of_handle_regmove,
              rest_of_handle_tracer, rest_of_handle_if_conversion,
              rest_of_handle_if_after_combine, rest_of_handle_web,
              rest_of_handle_branch_prob,
              rest_of_handle_value_profile_transformations, rest_of_handle_cfg,
              rest_of_handle_addressof, rest_of_handle_sibling_calls,
              rest_of_handle_jump_bypass, rest_of_handle_inlining,
              rest_of_handle_null_pointer, rest_of_handle_combine,
              rest_of_handle_life, rest_of_handle_cse, rest_of_handle_cse2,
              rest_of_handle_gcse, rest_of_handle_loop_optimize,
              rest_of_handle_loop2, rest_of_compilation): Move to passes.c.
              (decode_d_option): Use enable_rtl_dump_file.
              (compile_file, finalize, do_compile): Move profile+combine+graph
              cleanup to finish_optimization_passes.
              * toplev.h (init_optimization_passes, finish_optimization_passes,
              enable_rtl_dump_file): Declare.
      
      From-SVN: r78561
      Richard Henderson committed