Zdenek Dvorak [Sat, 8 Feb 2003 14:51:06 +0000 (15:51 +0100)]
invoke.texi: Documentation for my previous commit.
* doc/invoke.texi: Documentation for my previous commit.
* doc/passes.texi: Ditto.
From-SVN: r62580
Zdenek Dvorak [Sat, 8 Feb 2003 14:29:00 +0000 (15:29 +0100)]
cfgloop.h (fix_loop_placement, [...]): Declare.
* cfgloop.h (fix_loop_placement, can_duplicate_loop_p,
duplicate_loop_to_header_edge, loopify, remove_path, split_loop_bb):
Declare.
(DLTHE_FLAG_UPDATE_FREQ): New.
* cfgloopmanip.c (duplicate_loop, duplicate_subloops, copy_loops_to,
loop_redirect_edge, loop_delete_branch_edge, copy_bbs, remove_bbs,
rpe_enum_p, find_branch, alp_enum_p, add_loop, fix_loop_placements,
fix_bb_placement, fix_bb_placements, place_new_loop,
scale_loop_frequencies, scale_bbs_frequencies, record_exit_edges):
New static functions.
(fix_loop_placement, can_duplicate_loop_p,
duplicate_loop_to_header_edge, loopify, remove_path, split_loop_bb):
New functions.
* cfgloop.h (loop_optimizer_init, loop_optimizer_finalize,
unswitch_loops): Declare.
* loop-init.c: New file.
* loop-unswitch.c: New file.
* Makefile.in (loop-init.o, loop-unswitch.o): New.
* params.def (PARAM_MAX_UNSWITCH_INSNS, PARAM_MAX_UNSWITCH_LEVEL): New.
* toplev.c (DFI_loop2): New dump.
(flag_unswitch_loops): New.
(lang_independent_options): Add it.
(rest_of_compilation): Call new loop optimizer.
(parse_options_and_default_flags): Turn flag_unswitch_loops on with -O3.
From-SVN: r62578
Kazu Hirata [Sat, 8 Feb 2003 13:22:46 +0000 (13:22 +0000)]
clzsi2.c: New.
* config/h8300/clzsi2.c: New.
* config/h8300/ctzsi2.c: Likewise.
* config/h8300/paritysi2.c: Likewise.
* config/h8300/popcountsi2.c: Likewise.
* config/h8300/t-h8300 (LIB2FUNCS_EXTRA): Add above files.
From-SVN: r62577
Laurynas Biveinis [Sat, 8 Feb 2003 10:52:39 +0000 (12:52 +0200)]
* MAINTAINERS: Update my email
From-SVN: r62575
David Edelsohn [Sat, 8 Feb 2003 03:59:40 +0000 (03:59 +0000)]
- Add ctz patterns.
From-SVN: r62572
David Edelsohn [Sat, 8 Feb 2003 01:51:26 +0000 (01:51 +0000)]
rs6000.h (CLZ_DEFINED_VALUE_AT_ZERO): Define.
* config/rs6000/rs6000.h (CLZ_DEFINED_VALUE_AT_ZERO): Define.
* config/rs6000/rs6000.md (clzsi2): Rename from cntlzw2.
(ffssi2): Use clz instead of unspec.
(clzdi2): Rename from cntlzd2.
(ffsdi2): Use clz instead of unspec.
From-SVN: r62570
Loren J. Rittle [Sat, 8 Feb 2003 01:11:35 +0000 (01:11 +0000)]
freebsd.h (LINK_SPEC): Weaken error to notice.
* config/alpha/freebsd.h (LINK_SPEC): Weaken error to notice.
* config/ia64/freebsd.h (LINK_SPEC): Likewise.
* config/sparc/freebsd.h (LINK_SPEC): Likewise.
* config/i386/freebsd.h (LINK_SPEC): Add clause to mirror other arches.
* gcc.dg/
20021014-1.c: Annotate with expected notice text.
From-SVN: r62567
GCC Administrator [Sat, 8 Feb 2003 00:17:03 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r62566
Wolfgang Bangerth [Fri, 7 Feb 2003 23:12:03 +0000 (23:12 +0000)]
* doc/trouble.texi: Document pitfalls of two-stage name lookup.
From-SVN: r62558
Richard Henderson [Fri, 7 Feb 2003 22:57:41 +0000 (14:57 -0800)]
gcse.c (local_cprop_find_used_regs): New.
* gcse.c (local_cprop_find_used_regs): New.
(local_cprop_pass): Use it.
From-SVN: r62555
Fred Fish [Fri, 7 Feb 2003 22:50:09 +0000 (22:50 +0000)]
mips-tfile.c (parse_def): Parenthesize assignments to fix precedence bugs.
2003-02-04 Fred Fish <fnf@intrinsity.com>
* mips-tfile.c (parse_def): Parenthesize assignments to fix
precedence bugs.
From-SVN: r62553
Segher Boessenkool [Fri, 7 Feb 2003 22:39:49 +0000 (23:39 +0100)]
* genoutput.c (output_get_insn_name): Handle NOOP_MOVE_INSN_CODE.
From-SVN: r62552
Roger Sayle [Fri, 7 Feb 2003 22:37:57 +0000 (22:37 +0000)]
builtin-types.def (BT_FN_FLOAT_FLOAT_FLOAT): New built-in type.
* builtin-types.def (BT_FN_FLOAT_FLOAT_FLOAT): New built-in type.
(BT_FN_LONG_DOUBLE_LONG_DOUBLE_LONG_DOUBLE): Likewise.
(BT_FN_DOUBLE_DOUBLE_DOUBLE): Likewise.
* builtins.def: Define pow, powf, powl, atan2, atan2f and atan2l
builtin functions (and their __builtin_* variants).
* builtins.c (mathfn_built_in): Handle missing log{,f,l} cases.
(expand_builtin): Don't expand log{,f,l}, pow{,f,l} or atan2{,f,l}
when not optimizing.
* doc/extend.texi: Document new pow and atan2 builtins, and
their float and long double variants. Realphabetize builtins.
* testsuite/gcc.dg/builtins-4.c: New test case.
From-SVN: r62551
Jan Hubicka [Fri, 7 Feb 2003 22:26:52 +0000 (23:26 +0100)]
* i386.md (sse2_nandv2di3): Fix.
From-SVN: r62550
Danny Smith [Fri, 7 Feb 2003 22:10:56 +0000 (22:10 +0000)]
i386.h (MS_AGGREGATE_RETURN): New define.
* config/i386/i386.h (MS_AGGREGATE_RETURN): New define.
* config/i386/cygwin.h (MS_AGGREGATE_RETURN): Override default
definition.
* config/i386/i386.h (ix86_return_in_memory): Return aggregate
types of up to 8 bytes via registers if MS_AGGREGATE_RETURN.
From-SVN: r62547
Mark Wielaard [Fri, 7 Feb 2003 21:33:05 +0000 (21:33 +0000)]
JarFile.java (JarFile(String, boolean)): Read manifest when verify is true.
* java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifest
when verify is true.
(JarFile(File, boolean)): Likewise.
(manifestRead): Set manifestRead field correctly.
From-SVN: r62545
Jan Hubicka [Fri, 7 Feb 2003 21:26:28 +0000 (21:26 +0000)]
* i386.md (movdi_rex64_1): Fix mmx<->int move opcode.
From-SVN: r62544
Jan Hubicka [Fri, 7 Feb 2003 21:26:27 +0000 (21:26 +0000)]
i386.md (movdi_rex64_1): Fix mmx<->int move opcode.
* i386.md (movdi_rex64_1): Fix mmx<->int move opcode.
[[Split portion of a mixed commit.]]
From-SVN: r62543.2
Daniel Berlin [Fri, 7 Feb 2003 21:22:07 +0000 (21:22 +0000)]
cfg.c (dump_flow_info): Add back accidently deleted line.
2003-02-07 Daniel Berlin <dberlin@dberlin.org>
* cfg.c (dump_flow_info): Add back accidently deleted line.
From-SVN: r62542
Stephen Crawley [Fri, 7 Feb 2003 21:05:12 +0000 (21:05 +0000)]
BigDecimal (valueOf): fix DiagBigDecimal val008, val013 tests; see patch #1016 on Savannah.
2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
* java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013
tests; see patch #1016 on Savannah.
2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
* java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents
(toString): do not return Strings starting with . and - erroneously.
Improves Mauve results to 12 of 600 instead of 16 of 338 on
DiagBigDecimal.
From-SVN: r62540
Stephen Crawley [Fri, 7 Feb 2003 20:19:53 +0000 (20:19 +0000)]
Stephen Crawley <crawley@dstc.edu.au>
* java/beans/PropertyDescriptor.java
(PropertyDescriptor(String, Class)): Sanity check getter and setter
methods.
(PropertyDescriptor(String, Class, String, String)): Likewise.
(PropertyDescriptor(String, Method, Method): Factor out getter and
setter method sanity checks into new method.
(findMethods): Don't do parameter sanity checking of get method here.
(checkMethods): New method.
2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
* java/beans/PropertyDescriptor.java: Reformat.
From-SVN: r62537
Andrey Petrov [Fri, 7 Feb 2003 19:38:04 +0000 (19:38 +0000)]
* optabs.c (expand_float): Search wider integer modes first.
From-SVN: r62535
Bob Wilson [Fri, 7 Feb 2003 19:19:18 +0000 (19:19 +0000)]
xtensa.h (LIBGCC2_WORDS_BIG_ENDIAN): Set this based on preprocessor flag.
* config/xtensa/xtensa.h (LIBGCC2_WORDS_BIG_ENDIAN): Set this
based on preprocessor flag.
From-SVN: r62534
Roger Sayle [Fri, 7 Feb 2003 19:17:20 +0000 (19:17 +0000)]
gcse.c (implicit_sets): New.
* gcse.c (implicit_sets): New.
(compute_hash_table_work): Include them in hash table.
(find_implicit_sets, fis_get_condition): New.
(one_cprop_pass): Allocate and free implicit_sets; call
find_implicit_sets before building hash table.
Co-Authored-By: Richard Henderson <rth@redhat.com>
From-SVN: r62533
Jason Merrill [Fri, 7 Feb 2003 18:14:56 +0000 (13:14 -0500)]
cp-simplify.c (genericize_try_block): Do genericize catch blocks.
* cp-simplify.c (genericize_try_block): Do genericize catch blocks.
[[Split portion of a mixed commit.]]
From-SVN: r62528.2
Mark Wielaard [Fri, 7 Feb 2003 17:50:35 +0000 (17:50 +0000)]
xfails: Add new entries for gnu.testlet.java.text.CollationElementIterator.jdk11
* libjava.mauve/xfails: Add new entries for
gnu.testlet.java.text.CollationElementIterator.jdk11
From-SVN: r62525
Jason Thorpe [Fri, 7 Feb 2003 15:53:35 +0000 (15:53 +0000)]
* config/t-netbsd (USER_H): Revert previous change.
From-SVN: r62523
Gabor Greif [Fri, 7 Feb 2003 14:44:19 +0000 (14:44 +0000)]
* doc/c-tree.texi (Namespaces): Fix typo.
From-SVN: r62522
Paolo Carlini [Fri, 7 Feb 2003 11:00:35 +0000 (12:00 +0100)]
filebuf_virtuals.cc (test08): Fix for unsigned char platforms.
2003-02-07 Paolo Carlini <pcarlini@unitus.it>
* testsuite/27_io/filebuf_virtuals.cc (test08): Fix for
unsigned char platforms.
From-SVN: r62519
Andreas Tobler [Fri, 7 Feb 2003 04:31:20 +0000 (05:31 +0100)]
darwin_closure.S: Fix alignement bug, allocate 8 bytes for the result.
2003-02-06 Andreas Tobler <a.tobler@schweiz.ch>
* libffi/src/powerpc/darwin_closure.S:
Fix alignement bug, allocate 8 bytes for the result.
* libffi/src/powerpc/aix_closure.S:
Likewise.
* libffi/src/powerpc/ffi_darwin.c:
Update stackframe description for aix/darwin_closure.S.
From-SVN: r62514
Kaveh R. Ghazi [Fri, 7 Feb 2003 03:58:06 +0000 (03:58 +0000)]
20020430-1.c: Fix dg command typos.
* gcc.dg/
20020430-1.c: Fix dg command typos.
* gcc.dg/
20020503-1.c: Likewise.
From-SVN: r62511
Jan Hubicka [Fri, 7 Feb 2003 01:20:04 +0000 (02:20 +0100)]
regrename.c (do_replace, [...]): Update register attributes.
* regrename.c (do_replace, find_oldest_value_reg,
copyprop_hardreg_forward_1): Update register attributes.
From-SVN: r62509
Paolo Carlini [Fri, 7 Feb 2003 00:26:44 +0000 (01:26 +0100)]
re PR libstdc++/9562 (ostream::sentry::operator bool () should be const)
2003-02-06 Paolo Carlini <pcarlini@unitus.it>
PR libstdc++/9562
* include/std/std_istream.h
(basic_istream::sentry::operator bool()): Make const.
* include/std/std_ostream.h
(basic_ostream::sentry::operator bool()): Likewise.
* testsuite/27_io/istream_sentry.cc (test03): Add.
* testsuite/27_io/ostream_sentry.cc: Add.
From-SVN: r62508
GCC Administrator [Fri, 7 Feb 2003 00:17:03 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r62507
Vladimir Makarov [Thu, 6 Feb 2003 23:08:12 +0000 (23:08 +0000)]
genautomata.c (VLA_PTR_CREATE, [...]): Use temporay variables starting with underscore.
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
Volker Reichelt [Thu, 6 Feb 2003 22:34:55 +0000 (22:34 +0000)]
re PR c++/8785 (ICE in tsubst, at cp/pt.c:6473)
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
John David Anglin [Thu, 6 Feb 2003 21:17:13 +0000 (21:17 +0000)]
config.gcc (hppa*-*-linux*): Set MASK_NO_SPACE_REGS in target_cpu_default.
* 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
Keith R Seitz [Thu, 6 Feb 2003 20:55:11 +0000 (20:55 +0000)]
Makefile.def: Remove "snavigator", "grep", and "db" modules.
* 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
Richard Henderson [Thu, 6 Feb 2003 19:26:42 +0000 (11:26 -0800)]
* combine.c (nonzero_bits): Fix double break.
From-SVN: r62495
Tom Tromey [Thu, 6 Feb 2003 19:01:24 +0000 (19:01 +0000)]
Reverted erroneously applied patch
From-SVN: r62493
Paolo Carlini [Thu, 6 Feb 2003 18:08:51 +0000 (19:08 +0100)]
re PR libstdc++/9548 (Incorrect results from setf(ios::fixed) and precision(-1) [DR231])
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
Gerald Pfeifer [Thu, 6 Feb 2003 12:44:28 +0000 (12:44 +0000)]
MAINTAINERS: Remove duplicate entry for Bernd Schmidt from Write After Approval.
* MAINTAINERS: Remove duplicate entry for Bernd Schmidt from Write
After Approval.
From-SVN: r62489
Gerald Pfeifer [Thu, 6 Feb 2003 11:41:19 +0000 (11:41 +0000)]
MAINTAINERS: Remove duplicate entry for Bernd Schmidt from Write After Approval.
* MAINTAINERS: Remove duplicate entry for Bernd Schmidt from Write
After Approval.
From-SVN: r62486
Eric Botcazou [Thu, 6 Feb 2003 10:39:45 +0000 (11:39 +0100)]
re PR c/9530 (ICE on missing return statement)
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
Jan Hubicka [Thu, 6 Feb 2003 10:03:13 +0000 (11:03 +0100)]
i386.c (x86_inter_unit_moves): New variable.
* 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
Peter Soetens [Thu, 6 Feb 2003 08:10:47 +0000 (09:10 +0100)]
basic_file_libio.h: Fixups.
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
Benjamin Kosnik [Thu, 6 Feb 2003 06:24:21 +0000 (06:24 +0000)]
[multiple changes]
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 [Thu, 6 Feb 2003 05:58:10 +0000 (05:58 +0000)]
[multiple changes]
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
Geoffrey Keating [Thu, 6 Feb 2003 01:47:56 +0000 (01:47 +0000)]
Makefile.in (host_hook_obj): New.
* 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
Roger Sayle [Thu, 6 Feb 2003 01:26:40 +0000 (01:26 +0000)]
921206-1.c: Rename undeclared function from "pow" to "foo" to avoid potential confusion...
* 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 [Thu, 6 Feb 2003 01:23:41 +0000 (01:23 +0000)]
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
Richard Henderson [Thu, 6 Feb 2003 00:37:34 +0000 (16:37 -0800)]
Mark PR for last change.
From-SVN: r62465
Richard Henderson [Thu, 6 Feb 2003 00:37:01 +0000 (16:37 -0800)]
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
Kaveh R. Ghazi [Thu, 6 Feb 2003 00:33:26 +0000 (00:33 +0000)]
20020227-1.x: Update specific XFAIL conditions for SPARC targets.
* gcc.c-torture/execute/
20020227-1.x: Update specific XFAIL
conditions for SPARC targets.
From-SVN: r62463
GCC Administrator [Thu, 6 Feb 2003 00:17:07 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r62462
Jakub Jelinek [Wed, 5 Feb 2003 23:58:57 +0000 (00:58 +0100)]
ffi.c (ffi_closure_helper_SYSV): Add hidden visibility attribute.
* src/s390/ffi.c (ffi_closure_helper_SYSV): Add hidden visibility
attribute.
From-SVN: r62454
Richard Henderson [Wed, 5 Feb 2003 22:37:54 +0000 (14:37 -0800)]
defaults.h (CLZ_DEFINED_VALUE_AT_ZERO): New.
* defaults.h (CLZ_DEFINED_VALUE_AT_ZERO): New.
(CTZ_DEFINED_VALUE_AT_ZERO): New.
* doc/rtl.texi, doc/tm.texi: Document them.
* combine.c (nonzero_bits) [CLZ, CTZ]: Handle the definedness
of the value at zero properly.
* fold-const.c (tree_expr_nonnegative_p): Likewise.
* simplify-rtx.c (simplify_unary_operation): Likewise.
* config/alpha/alpha.h (CLZ_DEFINED_VALUE_AT_ZERO): New.
(CTZ_DEFINED_VALUE_AT_ZERO): New.
* config/arm/arm.c (TARGET_INIT_BUILTINS): Remove.
(TARGET_EXPAND_BUILTIN): Remove.
(def_builtin, arm_init_builtins, arm_expand_builtin): Remove.
* config/arm/arm.h (CLZ_DEFINED_VALUE_AT_ZERO): New.
(enum arm_builtins): Remove.
* config/arm/arm.md (UNSPEC_CLZ): Remove.
(clzsi2): Rename from clz; use clz instead of unspec.
(ctzsi2): New.
* config/arm/arm-protos.h: Update.
From-SVN: r62453
Jan Hubicka [Wed, 5 Feb 2003 22:13:40 +0000 (23:13 +0100)]
i386-protos.h (x86_emit_floatuns): Declare.
* i386-protos.h (x86_emit_floatuns): Declare.
* i386.c (x86_emit_floatuns): New global function.
* i386.md (floatunssisf2, floatunsdisf2,
floatunsdidf2): New patterns.
From-SVN: r62452
Zdenek Dvorak [Wed, 5 Feb 2003 20:04:53 +0000 (21:04 +0100)]
* cfgloopmanip.c (force_single_succ_latches): Fix missindentation.
From-SVN: r62451
Paolo Carlini [Wed, 5 Feb 2003 19:26:24 +0000 (20:26 +0100)]
valarray_name_lookup.cc: Fix typo.
2003-02-05 Paolo Carlini <pcarlini@unitus.it>
* testsuite/26_numerics/valarray_name_lookup.cc: Fix typo.
From-SVN: r62450
Hans Boehm [Wed, 5 Feb 2003 18:11:11 +0000 (18:11 +0000)]
unwind-ia64.c: include coretypes.h, tm.h to get config/ia64/linux.h
2003-02-04 Hans Boehm <Hans.Boehm@hp.com>
* config/ia64/unwind-ia64.c: include coretypes.h, tm.h to get
config/ia64/linux.h
From-SVN: r62448
Roger Sayle [Wed, 5 Feb 2003 18:03:48 +0000 (18:03 +0000)]
* cfgloop.h (flow_bb_inside_loop_p): Correct prototype again.
From-SVN: r62447
Jakub Jelinek [Wed, 5 Feb 2003 11:29:15 +0000 (12:29 +0100)]
re PR rtl-optimization/8555 (ICE in gen_split_1231)
PR optimization/8555
* config/i386/i386.md (sse_mov?fcc split): Handle op2 == op3 case
instead of aborting.
* gcc.dg/
20030204-1.c: New test.
From-SVN: r62438
Richard Henderson [Wed, 5 Feb 2003 09:40:57 +0000 (01:40 -0800)]
i386.md (UNSPEC_BSF): Remove.
* config/i386/i386.md (UNSPEC_BSF): Remove.
(ffssi2): Split into cmove and no_cmove insns and splitters;
lose pentium float trick for now.
(ffssi_1): Add * to name; use CTZ instead of UNSPEC.
(ctzsi2, clzsi2, bsr): New.
From-SVN: r62434
Richard Henderson [Wed, 5 Feb 2003 02:25:36 +0000 (18:25 -0800)]
ia64.c (rtx_needs_barrier): Handle POPCOUNT, UNSPEC_GETF_EXP; remove UNSPEC_POPCNT.
* config/ia64/ia64.c (rtx_needs_barrier): Handle POPCOUNT,
UNSPEC_GETF_EXP; remove UNSPEC_POPCNT.
* config/ia64/ia64.md (UNSPEC_POPCNT): Remove.
(ffsdi2): Use popcount instead of unspec.
(popcountdi2): Rename from *popcnt.
(ctzdi2, clzdi2, getf_exp_tf): New.
From-SVN: r62428
Kazu Hirata [Wed, 5 Feb 2003 00:56:40 +0000 (00:56 +0000)]
genconfig.c (main): Generate CC0_P.
* genconfig.c (main): Generate CC0_P.
* rtl.h (CC0_P): Remove.
From-SVN: r62423
Richard Henderson [Wed, 5 Feb 2003 00:52:24 +0000 (16:52 -0800)]
libgcc2.h, libgcc2.c (__ffsSI2): New.
* libgcc2.h, libgcc2.c (__ffsSI2): New.
(__ffsDI2): Rename from __ffsdi2.
* mklibgcc.in (lib2funcs): Add _ffssi2.
From-SVN: r62422
Richard Henderson [Wed, 5 Feb 2003 00:43:22 +0000 (16:43 -0800)]
libgcc2.c (__paritysi2, [...]): Replace last two reduction rounds with a "bit table" lookup.
* libgcc2.c (__paritysi2, __paritydi2): Replace last two reduction
rounds with a "bit table" lookup.
From-SVN: r62421
GCC Administrator [Wed, 5 Feb 2003 00:17:05 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r62420
Nathan Myers [Tue, 4 Feb 2003 23:42:21 +0000 (23:42 +0000)]
min_max.cc (test02): Add.
2003-02-04 Nathan Myers <ncm@cantrip.org>
* testsuite/25_algorithms/min_max.cc (test02): Add.
From-SVN: r62412
Ulrich Weigand [Tue, 4 Feb 2003 22:47:23 +0000 (22:47 +0000)]
reload.c (find_reloads): Do not use the mode specified in the insn pattern as reload mode for address...
* reload.c (find_reloads): Do not use the mode specified in the insn
pattern as reload mode for address operands. Do not generate optional
reloads for operands where a mandatory reload was already pushed.
From-SVN: r62410
Volker Reichelt [Tue, 4 Feb 2003 22:42:34 +0000 (22:42 +0000)]
re PR c++/38 (matching of function signatures)
PR c++/38
* g++.dg/parse/array-size1.C: New test.
PR c++/5657
* g++.dg/parse/undefined3.C: New test.
PR c++/5665
* g++.dg/parse/undefined4.C: New test.
PR c++/5975
* g++.dg/parse/undefined5.C: New test.
PR c++/7259
* g++.dg/parse/tmpl-tmpl-param1.C: New test.
PR c++/8578
* g++.dg/parse/casting-operator1.C: New test.
PR c++/8596
* g++.dg/parse/undefined6.C: New test.
PR c++/8736
* g++.dg/parse/missing-template1.C: New test.
From-SVN: r62409
Paolo Carlini [Tue, 4 Feb 2003 22:42:32 +0000 (23:42 +0100)]
PR libstdc++/9439, PR libstdc++/9425
2003-02-04 Paolo Carlini <pcarlini@unitus.it>
PR libstdc++/9439, PR libstdc++/9425
* config/io/basic_file_stdio.cc
(__basic_file<char>::seekoff, seekpos): Return -1L if
fseek fails.
* include/bits/fstream.tcc (basic_filebuf::seekoff):
Check _M_file.seekoff return value; always return
pos_type(off_type(-1)) in case of failure.
(basic_filebuf::pbackfail): Check this->seekoff return
value and return traits_type::eof() in case of failure.
* testsuite/27_io/filebuf_virtuals.cc (test09): Add.
From-SVN: r62408
Richard Henderson [Tue, 4 Feb 2003 21:48:42 +0000 (13:48 -0800)]
longlong.h [alpha] (count_leading_zeros, [...]): Use builtins instead of inline assembly.
* longlong.h [alpha] (count_leading_zeros, count_trailing_zeros): Use
builtins instead of inline assembly.
From-SVN: r62407
Falk Hueffner [Tue, 4 Feb 2003 21:45:40 +0000 (21:45 +0000)]
* libgcc2.c (__subvdi3): Fix typo.
From-SVN: r62406
Joseph Myers [Tue, 4 Feb 2003 21:11:00 +0000 (21:11 +0000)]
be.po, de.po: New files.
* be.po, de.po: New files.
* da.po, el.po, es.po, fr.po, ja.po, nl.po, sv.po, tr.po: Update.
From-SVN: r62403
Tom Tromey [Tue, 4 Feb 2003 21:07:15 +0000 (21:07 +0000)]
PipedOutputStream.java (flush): Declare as throwing IOException.
* java/io/PipedOutputStream.java (flush): Declare as throwing
IOException.
(close): Likewise.
* java/io/PipedWriter.java (close): Declare as throwing
IOException.
* java/io/StringWriter.java (close): Declare as throwing
IOException.
From-SVN: r62401
Jerry Quinn [Tue, 4 Feb 2003 20:56:50 +0000 (20:56 +0000)]
std_ostream.h (ostream::_M_write): Declare.
2003-02-04 Jerry Quinn <jlquinn@optonline.net>
* include/std/std_ostream.h (ostream::_M_write): Declare.
* ostream.tcc (ostream::_M_write): Define.
(basic_ostream::write): Use it.
(operator<<(basic_ostream, _CharT)): Ditto.
(operator<<(basic_ostream, char)): Ditto.
(operator<<(basic_ostream, _CharT*)): Ditto.
(operator<<(basic_ostream, char*)): Ditto.
(operator<<(basic_ostream, basic_string)): Ditto.
From-SVN: r62399
Benjamin Kosnik [Tue, 4 Feb 2003 20:53:19 +0000 (20:53 +0000)]
valarray_name_lookup.cc: Fix.
2003-02-04 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/26_numerics/valarray_name_lookup.cc: Fix.
From-SVN: r62398
Jan Hubicka [Tue, 4 Feb 2003 20:47:46 +0000 (21:47 +0100)]
* i386.md (movti_rex64): Fix constraint.
From-SVN: r62396
Jan Hubicka [Tue, 4 Feb 2003 20:45:00 +0000 (20:45 +0000)]
i386-cadd.c: Compile using -march=k8.
* gcc.dg/i386-cadd.c: Compile using -march=k8.
* gcc.dg/i386-cmov?.c: Likewise.
* gcc.dg/i386-fpcvt-?.c: Likewise.
* gcc.dg/i386-ssefp-1.c: Likewise.
* gcc.dg/i386-ssetype-?.c: Likewise; fix for register passing
convetions.
From-SVN: r62395
Jan Hubicka [Tue, 4 Feb 2003 20:43:04 +0000 (21:43 +0100)]
i386-cadd.c: Compile using -march=k8.
* gcc.dg/i386-cadd.c: Compile using -march=k8.
* gcc.dg/i386-cmov?.c: Likewise.
* gcc.dg/i386-fpcvt-?.c: Likewise.
* gcc.dg/i386-ssefp-1.c: Likewise.
* gcc.dg/i386-ssetype-?.c: Likewise; fix for register passing
convetions.
From-SVN: r62394
Jonathan Wakely [Tue, 4 Feb 2003 18:24:07 +0000 (18:24 +0000)]
howto.html: Link to Dietmar Kuehl's IOStream page...
2002-02-04 Jonathan Wakely <redi@gcc.gnu.org>
* docs/html/27_io/howto.html: Link to Dietmar Kuehl's IOStream page,
add HTML comment about updating links if numbering changes.
From-SVN: r62390
Paolo Carlini [Tue, 4 Feb 2003 18:08:45 +0000 (18:08 +0000)]
[multiple changes]
2003-02-04 Paolo Carlini <pcarlini@unitus.it>
PR libstdc++/9538
* include/bits/streambuf.tcc (sputbackc): Access
this->gptr()[-1] only if _M_in_beg < _M_in_cur.
* testsuite/27_io/filebuf_virtuals.cc (test08): Add.
2003-02-04 Paolo Carlini <pcarlini@unitus.it>
PR libstdc++/9507
* include/bits/fstream.tcc (open): If the 'ate' repositioning
operation fails, calls close _and_ returns a null pointer
to indicate failure (27.8.1.3,4).
* testsuite/27_io/filebuf_members.cc (test_06): Add.
2003-02-04 Petur Runolfsson <peturr02@ru.is>
* testsuite/27_io/filebuf_members.cc (test_04): Remove exit(0).
From-SVN: r62388
Jan Hubicka [Tue, 4 Feb 2003 18:08:16 +0000 (19:08 +0100)]
* i386.md (vector push splitters): Fix typo in resolving conflict.
From-SVN: r62387
Rodney Brown [Tue, 4 Feb 2003 18:01:20 +0000 (18:01 +0000)]
i386.c (x86_function_profiler): Fix typo in format.
2003-02-04 Rodney Brown <rbrown64@csc.com.au>
* config/i386/i386.c (x86_function_profiler): Fix typo in format.
From-SVN: r62384
Jonathan Wakely [Tue, 4 Feb 2003 17:42:19 +0000 (17:42 +0000)]
howto.html: New section on stdio_filebuf.
2002-02-04 Jonathan Wakely <redi@gcc.gnu.org>
* docs/html/27_io/howto.html: New section on stdio_filebuf.
* docs/html/ext/howto.html: Move stdio_filebuf notes to 27_io.
* docs/html/documentation.html: Regenerate.
From-SVN: r62383
Phil Edwards [Tue, 4 Feb 2003 16:27:20 +0000 (16:27 +0000)]
install.texi (*-*-linux-gnu): Mention glibc requirements for recent libstdc++.
2003-02-04 Phil Edwards <pme@gcc.gnu.org>
* doc/install.texi (*-*-linux-gnu): Mention glibc requirements
for recent libstdc++. Remove formatting cruft.
From-SVN: r62379
Jakub Jelinek [Tue, 4 Feb 2003 13:30:02 +0000 (14:30 +0100)]
dwarf2out.c (dwarf2out_finish): Add AT_comp_dir attribute even if input file name is absolute...
* dwarf2out.c (dwarf2out_finish): Add AT_comp_dir
attribute even if input file name is absolute, but one of the
includes is relative.
From-SVN: r62377
Andreas Jaeger [Tue, 4 Feb 2003 10:04:04 +0000 (11:04 +0100)]
configure.in (AC_PROG_CC_WORKS): Define _GNU_SOURCE.
* libU77/configure.in (AC_PROG_CC_WORKS): Define _GNU_SOURCE.
* libU77/config.hin: Regenerated.
* libU77/configure: Regenerated.
From-SVN: r62373
Mark Mitchell [Tue, 4 Feb 2003 07:23:14 +0000 (07:23 +0000)]
re PR c++/7129 (ICE with min/max assignment operators (<?= and >?=))
PR c++/7129
* call.c (z_candidate): Add args.
(convert_class_to_reference): Set it.
(implicit_conversion): Tidy.
(add_candidate): Add args parameter.
(add_function_candidate): Adjust call to add_candidate.
(add_conv_candidate): Likewise.
(build_builtin_candidate): Likewise.
(build_user_type_conversion_1): Eliminate wasteful tree_cons
usage.
(build_new_function_call): Likewise.
(build_object_call): Likewise.
(add_candidates): New function.
(build_new_op): Use it.
(covert_like_real): Adjust call to build_over_call.
(build_over_call): Remove args parameter.
* operators.def: Add <?= and >?=.
PR c++/7129
* testsuite/g++.dg/ext/max.C: New test.
From-SVN: r62370
Joseph Myers [Tue, 4 Feb 2003 01:27:53 +0000 (01:27 +0000)]
fastjar.texi: Update to GFDL 1.2.
fastjar:
* fastjar.texi: Update to GFDL 1.2.
gcc:
* doc/gcc.texi, doc/gccint.texi, doc/gcov.texi,
doc/include/fdl.texi, doc/invoke.texi: Update to GFDL 1.2.
* doc/install.texi: Update copyright dates. Update to GFDL 1.2.
gcc/ada:
* gnat_rm.texi, gnat_ug.texi: Update to GFDL 1.2.
* gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi,
gnat_ug_wnt.texi: Regenerate.
gcc/f:
* g77.texi, invoke.texi: Update to GFDL 1.2.
gcc/java:
* gcj.texi: Update to GFDL 1.2.
gcc/treelang:
* treelang.texi: Update to GFDL 1.2.
libiberty:
* libiberty.texi: Update to GFDL 1.2.
libstdc++-v3:
* docs/html/17_intro/porting.texi: Update to GFDL 1.2.
* docs/html/17_intro/porting.html: Regenerate.
From-SVN: r62365
GCC Administrator [Tue, 4 Feb 2003 00:18:06 +0000 (00:18 +0000)]
Daily bump.
From-SVN: r62364
Richard Henderson [Mon, 3 Feb 2003 22:42:20 +0000 (14:42 -0800)]
libgcc2.c (__ffsdi2, [...]): Change return type to "int".
* libgcc2.c (__ffsdi2, __clzsi2, __clzdi2, __ctzsi2, __ctzdi2,
__popcountsi2, __popcountdi2, __paritysi2, __paritydi2): Change
return type to "int". Shuffle declarations and undef int trap.
* libgcc2.h: Remove their declarations.
* optabs.c (expand_unop): Force outmode to int for bitops.
From-SVN: r62353
Ranjit Mathew [Mon, 3 Feb 2003 21:23:59 +0000 (21:23 +0000)]
natRuntime.cc (java::lang::Runtime::_load)): Take care of the fact that on Win32...
2003-02-03 Ranjit Mathew <rmathew@hotmail.com>
* java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care
of the fact that on Win32, JNI_OnLoad is an "stdcall" function and
could also have been exported as "JNI_OnLoad@8" (MinGW) or
"_JNI_OnLoad@8" (MSVC).
From-SVN: r62348
Ranjit Mathew [Mon, 3 Feb 2003 21:07:22 +0000 (21:07 +0000)]
resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling convention on Win32 to invoke native JNI methods.
2003-02-03 Ranjit Mathew <rmathew@hotmail.com>
* resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling
convention on Win32 to invoke native JNI methods.
From-SVN: r62345
Bob Wilson [Mon, 3 Feb 2003 20:23:24 +0000 (20:23 +0000)]
xtensa.c (order_regs_for_local_alloc): Order the coprocessor registers before floating-point registers.
* config/xtensa/xtensa.c (order_regs_for_local_alloc): Order the
coprocessor registers before floating-point registers.
* config/xtensa/xtensa.h (REG_ALLOC_ORDER): Adjust register numbers
to account for a previously removed register.
(SPEC_REG_FIRST, SPEC_REG_LAST, SPEC_REG_NUM, COUNT_REGISTER_REGNUM):
Delete unused macros.
From-SVN: r62340
Jan Hubicka [Mon, 3 Feb 2003 20:20:36 +0000 (21:20 +0100)]
i386.c (ix86_expand_store_builtin): Always force op1 to register.
* i386.c (ix86_expand_store_builtin): Always force op1 to register.
(mov*_internal): Fix predicates; require one of operands to not be
memory.
(SSE?MMX move expanders): Fix predicates; force one of operands to
register.
(SSE/MMX push patterns): Reorganize; fix x86-64 code generation.
(movups/movupd/movdqu patterns): Force one of operands to not be
memory.
From-SVN: r62339
Roger Sayle [Mon, 3 Feb 2003 19:40:58 +0000 (19:40 +0000)]
hooks.c (hook_rtx_rtx_identity): Generic hook function that takes a single rtx and returns it unmodified.
* hooks.c (hook_rtx_rtx_identity): Generic hook function that
takes a single rtx and returns it unmodified.
* hooks.h (hook_rtx_rtx_identity): Prototype here.
* target.h (struct gcc_target): Add "delegitimize_address"
field to target structure.
* target-def.h (TARGET_DELEGITIMIZE_ADDRESS): Provide default
for delegitimize_address target using hook_rtx_rtx_identity.
(TARGET_INITIALIZER): Initialize delegitimize_address field
using TARGET_DELEGITIMIZE_ADDRESS macro.
* simplify-rtx.c (avoid_constant_pool_reference): Handle float
extensions of constant pool references. Use delegitimize_address
to undo the obfuscation of "-fpic".
* Makefile.in (simplify-rtx.o): Add dependency on target.h.
* config/i386/i386.c (TARGET_DELEGITIMIZE_ADDRESS): Define as
i386_simplify_dwarf_addr.
(ix86_find_base_term): Simplify using i386_simplify_dwarf_addr.
(maybe_get_pool_constant): Likewise.
From-SVN: r62336
Falk Hueffner [Mon, 3 Feb 2003 19:37:53 +0000 (19:37 +0000)]
std_bitset.h: Replace CHAR_BIT with __CHAR_BIT__, use numeric_limits for bits-per-word values.
2003-02-03 Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>
Phil Edwards <pme@gcc.gnu.org>
* include/std/std_bitset.h: Replace CHAR_BIT with __CHAR_BIT__, use
numeric_limits for bits-per-word values.
(_Base_bitset::_M_do_count, _Base_bitset<1>::_M_do_count):
Use __builtin_popcountl instead.
(_Base_bitset::_M_do_find_first, _Base_bitset::_M_do_find_next,
_Base_bitset<1>::_M_do_find_first, _Base_bitset<1>::_M_do_find_next):
Use __builtin_ctzl instead.
(_S_bit_count, _S_first_one): Remove.
* config/linker-map.gnu (GLIBCPP_3.4): Remove std::_S_bit_count.
* src/Makefile.am (sources): Remove bitset.cc.
* src/bitset.cc: Delete file.
* src/Makefile.in: Regenerate.
Co-Authored-By: Phil Edwards <pme@gcc.gnu.org>
From-SVN: r62335