Jan Hubicka
d9deed68d4
i386.md (ahi?v*3): Set third operand type to TImode.
...
* i386.md (ahi?v*3): Set third operand type to TImode.
* i386.c (ix86_expand_binop_builtin): Extend operand when needed.
* simplify-rtx.c (simplify_subreg): Fix conversion from vector into
integer mode.
* rtl.def (VEC_MERGE, VEC_SELECT, VEC_CONCAT, VEC_DUPLICATE):
Change code so they are arithmetic expressions now.
* simplify-rtx.c (simplify_unary_operation, simplify_binary_operation,
simplify_ternary_operation): Deal with VEC_* expressions.
* i386.md (vmaskcmp, pinsrw, movd patterns): Fix RTL representation.
From-SVN: r62600
2003-02-09 12:35:28 +00:00
Jan Hubicka
83fd323c4c
cfgrtl.c (verify_flow_info): Use control_flow_insn_p.
...
* cfgrtl.c (verify_flow_info): Use control_flow_insn_p.
* reload1.c (fixup_abnormal_edges): Split basic blocks when EH edges
possibly got duplicated.
From-SVN: r62599
2003-02-09 11:06:41 +00:00
Richard Henderson
4ee7aa6044
alpha.c (override_options): Turn off explicit relocs until post-peep2 code duplication resolved.
...
* config/alpha/alpha.c (override_options): Turn off explicit
relocs until post-peep2 code duplication resolved.
From-SVN: r62597
2003-02-08 21:21:00 -08:00
Kazu Hirata
c117dddced
optabs.c (expand_unop): Widen clz properly when clz is done via libcall.
...
* optabs.c (expand_unop): Widen clz properly when clz is done
via libcall.
From-SVN: r62595
2003-02-09 04:25:16 +00:00
John David Anglin
5053bdf834
atomicity.h (__Atomicity_lock<__inst>::_S_atomicity_lock): Correct alignment.
...
* hppa/atomicity.h (__Atomicity_lock<__inst>::_S_atomicity_lock):
Correct alignment.
(__exchange_and_add, __atomic_add): Use PA 2.0 ordered store to reset
lock.
From-SVN: r62593
2003-02-09 03:23:13 +00:00
GCC Administrator
cefadf78ae
Daily bump.
...
From-SVN: r62592
2003-02-09 00:17:03 +00:00
Roger Sayle
afc432a9ae
jcf-io.c (java_or_class_file): Use libiberty's lbasename instead of basename to avoid compiler warnings on Tru64.
...
* jcf-io.c (java_or_class_file): Use libiberty's lbasename
instead of basename to avoid compiler warnings on Tru64.
From-SVN: r62582
2003-02-08 18:49:22 +00:00
Kazu Hirata
8aa063fb46
clzsi2.c: Replace "GNU CC" with "GCC".
...
* config/h8300/clzsi2.c: Replace "GNU CC" with "GCC".
* config/h8300/crti.asm: Likewise.
* config/h8300/crtn.asm: Likewise.
* config/h8300/ctzsi2.c: Likewise.
* config/h8300/fixunssfsi.c: Likewise.
* config/h8300/h8300-protos.h: Likewise.
* config/h8300/h8300.c: Likewise.
* config/h8300/h8300.h: Likewise.
* config/h8300/h8300.md: Likewise.
* config/h8300/paritysi2.c: Likewise.
* config/h8300/popcountsi2.c: Likewise.
* config/h8300/rtems.h: Likewise.
From-SVN: r62581
2003-02-08 18:27:12 +00:00
Zdenek Dvorak
01a132bbda
invoke.texi: Documentation for my previous commit.
...
* doc/invoke.texi: Documentation for my previous commit.
* doc/passes.texi: Ditto.
From-SVN: r62580
2003-02-08 14:51:06 +00:00
Zdenek Dvorak
617b465c7f
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
2003-02-08 14:29:00 +00:00
Kazu Hirata
3bd03194ff
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
2003-02-08 13:22:46 +00:00
Laurynas Biveinis
669e906239
* MAINTAINERS: Update my email
...
From-SVN: r62575
2003-02-08 10:52:39 +00:00
David Edelsohn
949939097e
- Add ctz patterns.
...
From-SVN: r62572
2003-02-07 22:59:40 -05:00
David Edelsohn
d865b1226d
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
2003-02-07 20:51:26 -05:00
Loren J. Rittle
8f37dd984b
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
2003-02-08 01:11:35 +00:00
GCC Administrator
0a6bc31450
Daily bump.
...
From-SVN: r62566
2003-02-08 00:17:03 +00:00
Wolfgang Bangerth
83205b9b4a
* doc/trouble.texi: Document pitfalls of two-stage name lookup.
...
From-SVN: r62558
2003-02-07 23:12:03 +00:00
Richard Henderson
710ee3ed76
gcse.c (local_cprop_find_used_regs): New.
...
* gcse.c (local_cprop_find_used_regs): New.
(local_cprop_pass): Use it.
From-SVN: r62555
2003-02-07 14:57:41 -08:00
Fred Fish
3ef879d2ae
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
2003-02-07 22:50:09 +00:00
Segher Boessenkool
a0f0e96302
* genoutput.c (output_get_insn_name): Handle NOOP_MOVE_INSN_CODE.
...
From-SVN: r62552
2003-02-07 14:39:49 -08:00
Roger Sayle
46847aa6e7
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
2003-02-07 22:37:57 +00:00
Jan Hubicka
c48d6750f4
* i386.md (sse2_nandv2di3): Fix.
...
From-SVN: r62550
2003-02-07 22:26:52 +00:00
Danny Smith
5e062767b9
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
2003-02-07 22:10:56 +00:00
Mark Wielaard
b0b74f371e
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
2003-02-07 21:33:05 +00:00
Jan Hubicka
5ccbcd8cf9
* i386.md (movdi_rex64_1): Fix mmx<->int move opcode.
...
From-SVN: r62544
2003-02-07 21:26:28 +00:00
Jan Hubicka
3f755ed062
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
2003-02-07 21:26:27 +00:00
Daniel Berlin
0816bcd206
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
2003-02-07 21:22:07 +00:00
Stephen Crawley
364df9fc18
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
2003-02-07 21:05:12 +00:00
Stephen Crawley
b20fcd47a2
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
2003-02-07 20:19:53 +00:00
Andrey Petrov
7bf0a59353
* optabs.c (expand_float): Search wider integer modes first.
...
From-SVN: r62535
2003-02-07 11:38:04 -08:00
Bob Wilson
01e4596e4e
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
2003-02-07 19:19:18 +00:00
Roger Sayle
fbef91d8f6
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
2003-02-07 11:17:20 -08:00
Jason Merrill
d5525e93c0
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
2003-02-07 13:14:56 -05:00
Mark Wielaard
c58391af7b
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
2003-02-07 17:50:35 +00:00
Jason Thorpe
6713831e9a
* config/t-netbsd (USER_H): Revert previous change.
...
From-SVN: r62523
2003-02-07 15:53:35 +00:00
Gabor Greif
10d2dbe209
* doc/c-tree.texi (Namespaces): Fix typo.
...
From-SVN: r62522
2003-02-07 14:44:19 +00:00
Paolo Carlini
ccef8307ff
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
2003-02-07 11:00:35 +00:00
Andreas Tobler
79e43f898d
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
2003-02-07 05:31:20 +01:00
Kaveh R. Ghazi
f39a753b09
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
2003-02-07 03:58:06 +00:00
Jan Hubicka
d1d3c9a6d4
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
2003-02-07 01:20:04 +00:00
Paolo Carlini
afb6c265b7
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
2003-02-07 00:26:44 +00:00
GCC Administrator
f6358ad6da
Daily bump.
...
From-SVN: r62507
2003-02-07 00:17:03 +00:00
Vladimir Makarov
1b1f249dbc
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
2003-02-06 23:08:12 +00:00
Volker Reichelt
256803d96e
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
2003-02-06 22:34:55 +00:00
John David Anglin
90330d3193
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
2003-02-06 21:17:13 +00:00
Keith R Seitz
61b56b2e4b
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
2003-02-06 15:55:11 -05:00
Richard Henderson
d116433079
* combine.c (nonzero_bits): Fix double break.
...
From-SVN: r62495
2003-02-06 11:26:42 -08:00
Tom Tromey
2bbc9ee16f
Reverted erroneously applied patch
...
From-SVN: r62493
2003-02-06 19:01:24 +00:00
Paolo Carlini
5dc911525c
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
2003-02-06 18:08:51 +00:00
Gerald Pfeifer
a1ba6e15ea
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
2003-02-06 12:44:28 +00:00