1. 07 Feb, 2003 8 commits
  2. 06 Feb, 2003 21 commits
    • genautomata.c (VLA_PTR_CREATE, [...]): Use temporay variables starting with underscore. · 1b1f249d
      2003-02-06  Vladimir Makarov  <vmakarov@redhat.com>
      
      	* genautomata.c (VLA_PTR_CREATE, VLA_PTR_EXPAND, VLA_PTR_ADD,
      	VLA_HWINT_CREATE, VLA_HWINT_EXPAND, VLA_HWINT_ADD): Use temporay
      	variables starting with underscore.
      	(struct unit_usage): New structure.
      	(unit_usages, cycle_alt_unit_usages): New global variables.
      	(check_unit_distribution_in_reserv): Remove it.
      	(store_alt_unit_usage): New function.
      	(check_regexp_units_distribution): Rewrite it.
      
      From-SVN: r62500
      Vladimir Makarov committed
    • re PR c++/8785 (ICE in tsubst, at cp/pt.c:6473) · 256803d9
      	PR c++/8785
      	* g++.dg/parse/fused-params1.C: New test.
      
      	PR c++/8857
      	* g++.dg/parse/tmpl-tmpl-operator1.C: New test.
      
      	PR c++/8921
      	* g++.dg/parse/non-dependent1.C: New test.
      
      	PR c++/8928
      	* g++.dg/parse/dupl-tmpl-args1.C: New test.
      
      	PR c++/9228
      	* g++.dg/parse/undefined7.C: New test.
      	* g++.dg/parse/non-templ1.C: New test.
      
      	PR c++/9229
      	* g++.dg/parse/too-many-tmpl-args1.C: New test.
      
      From-SVN: r62499
      Volker Reichelt committed
    • config.gcc (hppa*-*-linux*): Set MASK_NO_SPACE_REGS in target_cpu_default. · 90330d31
      	* config.gcc (hppa*-*-linux*): Set MASK_NO_SPACE_REGS in
      	target_cpu_default.
      	* pa.c (attr_length_call): Add 8 to call length (long indirect PA 1.X)
      	if not MASK_NO_SPACE_REGS.
      	(output_call): Adjust return pointer, don't load new space register
      	into %sr0, and use %sr4 for call if TARGET_NO_SPACE_REGS is true.
      	(pa_asm_output_mi_thunk): Don't load new space register into %sr0 if
      	TARGET_NO_SPACE_REGS is true.
      	* pa.md (return_external_pic): Add TARGET_NO_SPACE_REGS to insn
      	conditions.
      	(epilogue): Always use return_internal if TARGET_NO_SPACE_REGS is true.
      	(interspace_jump): Add new pattern for when TARGET_NO_SPACE_REGS is
      	true.  Use bve when TARGET_64BIT is true.
      
      From-SVN: r62497
      John David Anglin committed
    • Makefile.def: Remove "snavigator", "grep", and "db" modules. · 61b56b2e
      * Makefile.def: Remove "snavigator", "grep", and "db" modules.
      * Makefile.tpl: Remove "all-snavigator" and "all-grep".
      * Makefile.in: Regenerated.
      * configure.in: Remove all traces of snavigator, db, and grep.
      * configure: Regenerated.
      
      From-SVN: r62496
      Keith R Seitz committed
    • * combine.c (nonzero_bits): Fix double break. · d1164330
      From-SVN: r62495
      Richard Henderson committed
    • Reverted erroneously applied patch · 2bbc9ee1
      From-SVN: r62493
      Tom Tromey committed
    • re PR libstdc++/9548 (Incorrect results from setf(ios::fixed) and precision(-1) [DR231]) · 5dc91152
      2003-02-06  Paolo Carlini  <pcarlini@unitus.it>
      
      	PR libstdc++/9548
      	Implement resolution of DR 231 (Ready)
      	* include/bits/locale_facets.h (__num_base::_S_format_float):
      	Change declaration: return void, remove __prec parameter.
      	* src/locale.cc (__num_base::_S_format_float): Implement
      	resolution of DR 231.
      	* include/bits/locale_facets.tcc (num_put::_M_convert_float):
      	Tweak uses. Check for negative precision.
      	* testsuite/22_locale/num_put/put/char/6.cc: Add
      	* testsuite/22_locale/num_put/put/wchar_t/6.cc: Likewise.
      
      From-SVN: r62492
      Paolo Carlini committed
    • MAINTAINERS: Remove duplicate entry for Bernd Schmidt from Write After Approval. · a1ba6e15
      	* MAINTAINERS: Remove duplicate entry for Bernd Schmidt from Write
      	After Approval.
      
      From-SVN: r62489
      Gerald Pfeifer committed
    • MAINTAINERS: Remove duplicate entry for Bernd Schmidt from Write After Approval. · 984ac00f
      	* MAINTAINERS: Remove duplicate entry for Bernd Schmidt from Write
      	After Approval.
      
      From-SVN: r62486
      Gerald Pfeifer committed
    • re PR c/9530 (ICE on missing return statement) · 5fbf0217
      	PR c/9530
      	* config/i386/i386.c (ix86_function_ok_for_sibcall): Forbid sibcalls
      	from functions that return a float to functions that don't.
      
      Co-Authored-By: Richard Henderson <rth@redhat.com>
      
      From-SVN: r62480
      Eric Botcazou committed
    • i386.c (x86_inter_unit_moves): New variable. · 8f62128d
      	* i386.c (x86_inter_unit_moves): New variable.
      	(ix86_secondary_memory_needed): Fix 64bit case, honor
      	TARGET_INTER_UNIT_MOVES
      	* i386.h (x86_inter_unit_moves): Declare.
      	(TARGET_INTER_UNIT_MOVES): New macro.
      	* i386.md (movsi_1): Cleanup constraints; disable
      	when not doing inter-unit moves.
      	(movsi_1_nointernunit): New.
      	(movdi_1_rex64): Fix constraints; deal with SSE->GPR moves.
      	(movdi_1_rex64_nointerunit): New.
      	(mivsf_1): disable when not doing inter-unit moves.
      	(movsf_1_nointerunit): New.
      
      	* basic-block.h (inside_basic_block_p):  Declare.
      	* cfgbuild.c (inside_basic_block_p): Make global.
      	* haifa-sched.c (unlink_other_notes0: Deal with NOT_INSN_BASIC_BLOCK.
      	* scheudle-ebb.c  (schedule_ebb): Return last basic block of trace;
      	update CFG.
      	(fix_basic_block_boundaries, add_missing_bbs): New.
      	(rank): Use profile.
      	(scheudle_ebbs): Rely on CFG; update coments.
      
      From-SVN: r62477
      Jan Hubicka committed
    • basic_file_libio.h: Fixups. · 6eeabb09
      
      2003-02-06  Peter Soetens  <peter.soetens@mech.kuleuven.ac.be>
      
      	* config/io/basic_file_libio.h: Fixups.
      	* config/io/c_io_libio.h: Same.
      	* libio/Makefile.am: Same.
      	* libio/Makefile.in: Regenerated.
      
      From-SVN: r62475
      Peter Soetens committed
    • [multiple changes] · e61c8e23
      
      2003-02-06  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* testsuite/22_locale/codecvt/encoding/wchar_t/1.cc (test01):
      	Explicitly use the "C" locale.
      	* testsuite/22_locale/codecvt/max_length/wchar_t/1.cc (test01): Same.
      
      2003-02-06  Petur Runolfsson  <peturr02@ru.is>
      
      	DR 75
      	DR 305
      	PR libstdc++/9028 (partial)
      	PR libstdc++/9224
      	PR libstdc++/9246
      	PR libstdc++/9247
      
      	* src/codecvt.cc
      	(codecvt<wchar_t, char, mbstate_t>::do_encoding,
      	codecvt<wchar_t, char, mbstate_t>::do_length,
      	codecvt<wchar_t, char, mbstate_t>::do_max_length):
      	Move...
      	* config/locale/generic/codecvt_members.cc:  ...here.
      	* config/locale/gnu/codecvt_members.cc:  ...and here.
      
      	* config/locale/generic/codecvt_members.cc,
      	* config/locale/gnu/codecvt_members.cc
      	(codecvt<wchar_t, char, mbstate_t>::do_encoding
      	codecvt<wchar_t, char, mbstate_t>::do_in,
      	codecvt<wchar_t, char, mbstate_t>::do_length,
      	codecvt<wchar_t, char, mbstate_t>::do_max_length,
      	codecvt<wchar_t, char, mbstate_t>::do_out):
      	New implementation that handles stateless encodings,
      	including UTF-8.
      
      	* config/locale/generic/codecvt_members.cc,
      	* config/locale/gnu/codecvt_members.cc,
      	* config/locale/ieee_1003.1-2001/codecvt_specializations.h,
      	* include/bits/codecvt.h,
      	* src/codecvt.cc
      	(codecvt::length, codecvt::do_length):
      	Change type of first argument of length and do_length from
      	'const state_type&' to 'state_type&' according to DR 75.
      
      	* testsuite/22_locale/codecvt/always_noconv/wchar_t/1.cc:  Cleanup.
      	* testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc:  New test.
      	* testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc:  New test.
      	* testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc:  New test.
      	* testsuite/22_locale/codecvt/encoding/wchar_t/1.cc:
      	Cleanup and check for correct return value from encoding
      	for "C" locale.
      	* testsuite/22_locale/codecvt/encoding/wchar_t/2.cc:  New test.
      	* testsuite/22_locale/codecvt/encoding/wchar_t/3.cc:  New test.
      	* testsuite/22_locale/codecvt/encoding/wchar_t/4.cc:  New test.
      	* testsuite/22_locale/codecvt/in/wchar_t/1.cc:  Cleanup.
      	* testsuite/22_locale/codecvt/in/wchar_t/2.cc:  New test.
      	* testsuite/22_locale/codecvt/in/wchar_t/3.cc:  New test.
      	* testsuite/22_locale/codecvt/in/wchar_t/4.cc:  New test.
      	* testsuite/22_locale/codecvt/in/wchar_t/5.cc:  New test.
      	* testsuite/22_locale/codecvt/in/wchar_t/6.cc:  New test.
      	* testsuite/22_locale/codecvt/in/wchar_t/7.cc:  New test.
      	* testsuite/22_locale/codecvt/in/wchar_t/8.cc:  New test.
      	* testsuite/22_locale/codecvt/in/wchar_t/9.cc:  New test.
      	* testsuite/22_locale/codecvt/length/char/1.cc:  Cleanup.
      	* testsuite/22_locale/codecvt/length/char/2.cc:  New test.
      	* testsuite/22_locale/codecvt/length/wchar_t/1.cc:  Cleanup.
      	* testsuite/22_locale/codecvt/length/wchar_t/2.cc:  New test.
      	* testsuite/22_locale/codecvt/length/wchar_t/3.cc:  New test.
      	* testsuite/22_locale/codecvt/length/wchar_t/4.cc:  New test.
      	* testsuite/22_locale/codecvt/length/wchar_t/5.cc:  New test.
      	* testsuite/22_locale/codecvt/length/wchar_t/6.cc:  New test.
      	* testsuite/22_locale/codecvt/length/wchar_t/7.cc:  New test.
      	* testsuite/22_locale/codecvt/max_length/wchar_t/1.cc:  Cleanup.
      	* testsuite/22_locale/codecvt/max_length/wchar_t/2.cc:  New test.
      	* testsuite/22_locale/codecvt/max_length/wchar_t/3.cc:  New test.
      	* testsuite/22_locale/codecvt/max_length/wchar_t/4.cc:  New test.
      	* testsuite/22_locale/codecvt/out/wchar_t/1.cc:  Cleanup.
      	* testsuite/22_locale/codecvt/out/wchar_t/2.cc:  New test.
      	* testsuite/22_locale/codecvt/out/wchar_t/3.cc:  New test.
      	* testsuite/22_locale/codecvt/out/wchar_t/4.cc:  New test.
      	* testsuite/22_locale/codecvt/out/wchar_t/5.cc:  New test.
      	* testsuite/22_locale/codecvt/out/wchar_t/6.cc:  New test.
      	* testsuite/22_locale/codecvt/out/wchar_t/7.cc:  New test.
      	* testsuite/22_locale/codecvt/unicode/1.cc:  New test.
      	* testsuite/22_locale/codecvt/unshift/wchar_t/1.cc:  Cleanup.
      	* testsuite/22_locale/codecvt/unshift/wchar_t/2.cc:  New test.
      	* testsuite/22_locale/codecvt/unshift/wchar_t/3.cc:  New test.
      	* testsuite/22_locale/codecvt/unshfit/wchar_t/4.cc:  New test.
      
      From-SVN: r62474
      Benjamin Kosnik committed
    • [multiple changes] · 2e2a38cd
      
      2003-02-05  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* include/bits/locale_facets.tcc (time_put::do_put): Use __write.
      	(money_put::do_put): Same.
      
      2003-02-05  Jerry Quinn  <jlquinn@optonline.net>
      
      	* include/bits/ios_base.h (ios_base): Document reserved storage.
      
      	* include/bits/locale_facets.h:	(struct __pad): Comment on
      	implementation.
      	(__verify_grouping): Same.
      	(__add_grouping): Same.
      	* include/bits/locale_facets.tcc (__verify_grouping): Move
      	comments to declaration.
      	(__add_grouping): Same.
      
      	* include/bits/locale_facets.tcc:
      	(__write<_CharT, _OutIter>): New function.
      	(__write<_CharT>): New function specialization.
      	(num_put::_M_insert): Remove explicit loop over iterator.  Use
      	__write.
      	(num_put::_M_widen_float): Remove __basefield.
      	(num_put::_M_widen_int): Move __basefield to within grouping block.
      
      	* include/bits/streambuf_iterator.h: Include <streambuf>.
      	(ostreambuf_iterator::_M_put): Add.
      
      From-SVN: r62473
      Benjamin Kosnik committed
    • Makefile.in (host_hook_obj): New. · 476d9098
      	* Makefile.in (host_hook_obj): New.
      	(OBJS): Add $(host_hook_obj).
      	(host_default.o): New rule.
      	* config.gcc (host_hook_obj): New, default to host-default.o.
      	(powerpc-*-darwin*): Use host-darwin.o.
      	(out_host_hook_obj): New.
      	* configure: Regenerate.
      	* configure.in: Print information about out_host_hook_obj, substitute
      	into output files.
      	* host-default.c: New file.
      	* hosthooks.h: New file.
      	* toplev.c (general_init): Call host_hooks.extra_signals.
      	* config/rs6000/host-darwin.c: New file.
      	* config/rs6000/x-darwin: New file.
      	* doc/hostconfig.texi: Add documentation for new host hook.
      	Rearrange existing documentation.
      
      From-SVN: r62470
      Geoffrey Keating committed
    • 921206-1.c: Rename undeclared function from "pow" to "foo" to avoid potential confusion... · dbdd3489
      
      	* gcc.c-torture/compile/921206-1.c: Rename undeclared function from
      	"pow" to "foo" to avoid potential confusion with math built-ins.
      
      From-SVN: r62469
      Roger Sayle committed
    • dwarf2out.c (mem_loc_descriptor): Replace ASM_SIMPLIFY_DWARF_ADDR with… · 69bd9368
      dwarf2out.c (mem_loc_descriptor): Replace ASM_SIMPLIFY_DWARF_ADDR with *targetm.delegitimize_address.
      
      
      	* dwarf2out.c (mem_loc_descriptor): Replace ASM_SIMPLIFY_DWARF_ADDR
      	with *targetm.delegitimize_address.
      	(rtl_for_decl_location): Likewise.
      	* dwarfout.c (output_mem_loc_descriptor): Likewise.  Include target.h.
      	* Makefile.in (dwarf2out.c, dwarfout.c): Depend upon $(TARGET_H)
      
      	* config/i386/i386.h (ASM_SIMPLIFY_DWARF_ADDR): Remove definition.
      	* config/i386/i386-protos.h (i386_simplify_dwarf_addr): Remove
      	prototype.
      	* config/i386/i386.c (ix86_delegitimize_address): Renamed from
      	i386_simplify_dwarf_addr.  Made static.  Prototyped.
      	(TARGET_DELEGITIMIZE_ADDRESS): Update definition from
      	i386_simplify_dwarf_addr to ix86_delegitimize_address.
      	(ix86_find_base_term): Likewise.
      	(maybe_get_pool_constant): Likewise.
      
      	* config/s390/s390.h (ASM_SIMPLIFY_DWARF_ADDR): Remove definition.
      	* config/s390/s390-protos.h (s390_simplify_dwarf_addr): Remove
      	prototype.
      	* config/s390/s390.c (s390_delegitimize_address): Renamed from
      	s390_simplify_dwarf_addr.  Made static.  Prototyped.
      	(TARGET_DELEGITIMIZE_ADDRESS): Define as s390_delegitimize_address.
      
      From-SVN: r62468
      Roger Sayle committed
    • Mark PR for last change. · 8dde7a2c
      From-SVN: r62465
      Richard Henderson committed
    • integrate.c (output_inline_function): Reset input_filename and lineno from the… · 7127fd58
      integrate.c (output_inline_function): Reset input_filename and lineno from the decl before rest_of_compilation.
      
              * integrate.c (output_inline_function): Reset input_filename
              and lineno from the decl before rest_of_compilation.
      
      From-SVN: r62464
      Richard Henderson committed
    • 20020227-1.x: Update specific XFAIL conditions for SPARC targets. · 48d1ce96
      	* gcc.c-torture/execute/20020227-1.x: Update specific XFAIL
      	conditions for SPARC targets.
      
      From-SVN: r62463
      Kaveh R. Ghazi committed
    • Daily bump. · 2113479c
      From-SVN: r62462
      GCC Administrator committed
  3. 05 Feb, 2003 11 commits