Commit Graph

47700 Commits

Author SHA1 Message Date
GCC Administrator
2ae4751af4 Daily bump.
From-SVN: r62619
2003-02-10 00:17:05 +00:00
Jan Hubicka
fdc4b40b65 i386.c (vector_move_operand): New predicate.
* i386.c (vector_move_operand): New predicate.
	(ix86_expand_vector_move): Be happy about 0.
	* i386.h (PREDICATE_CODES): Add sse-move_operand.
	* i386.md (mov*_internal): Add 'C' alternative.

From-SVN: r62612
2003-02-09 23:30:51 +00:00
Jan Hubicka
35c28a1330 * i386.md (floathi*): Deal with SSE.
From-SVN: r62611
2003-02-09 22:59:20 +00:00
Jan Hubicka
852c8ba12e simplify-rtx.c (simplify_unary_operation, [...]): Deal with vector modes
* simplify-rtx.c (simplify_unary_operation,
	simplify_binary_operation):  Deal with vector modes
	(simplify_ternary_operation):  Deal with no-op VEC_MERGE.

From-SVN: r62610
2003-02-09 22:55:35 +00:00
Richard Sandiford
2382b79f35 toplev.c (rest_of_compilation): Recompute register usage after split_all_insns.
* toplev.c (rest_of_compilation): Recompute register usage after
	split_all_insns.

From-SVN: r62607
2003-02-09 19:18:54 +00:00
Richard Henderson
8275b011ca libgcc-std.ver (__clztf2): New.
* libgcc-std.ver (__clztf2): New.
        (__ctztf2, __popcounttf2, __paritytf2): New.
        * libgcc2.c (__clzSI2, __clzDI2, __ctzSI2, __ctzDI2, __popcountSI2,
        __popcountDI2, __paritySI2, __parityDI2): Use UWmode and UDWmode;
        adjust code to match the different type sizes.
        * libgcc2.h (__clzSI2, __ctzSI2, __popcountSI2, __paritySI2,
        __clzDI2, __ctzDI2, __popcountDI2, __parityDI2): New macros.

        * optabs.c (init_integral_libfuncs): Don't hard-code SImode and
        TImode; select word_mode and twice that.
        (init_floating_libfuncs): Don't hard-code SFmode and TFmode;
        select the modes from float, double, and long double.
        (init_optabs): Remove duplicate initializations.

From-SVN: r62606
2003-02-09 10:35:22 -08:00
Kazu Hirata
5d4b76c0a9 builtin-bitops-1.c: When testing the int-wide bitops, use the constants of the same width.
* gcc.c-torture/execute/builtin-bitops-1.c: When testing the
	int-wide bitops, use the constants of the same width.
	Likewise, if long long is 32-bit wide, test bitops using
	32-bit constants.

From-SVN: r62603
2003-02-09 13:09:45 +00:00
Wolfgang Bangerth
794aca5dcd install.texi: Squeeze and streamline section on testing and regression checking.
* doc/install.texi: Squeeze and streamline section on
	testing and regression checking.

From-SVN: r62601
2003-02-09 13:04:01 +00:00
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