Commit Graph

68517 Commits

Author SHA1 Message Date
Andreas Krebbel
22a707a497 s390.c (s390_optimize_prologue): Don't replace an insn saving less registers than the replacement.
2005-05-23  Andreas Krebbel  <krebbel1@de.ibm.com>

	* config/s390/s390.c (s390_optimize_prologue): Don't replace an insn
	saving less registers than the replacement.

From-SVN: r100081
2005-05-23 16:43:06 +00:00
Jan Hubicka
52f6de6c7b * tree-flow.h (stmt_ann_d): Kill GTY ((skip)) mark on BB.
From-SVN: r100080
2005-05-23 12:37:47 +00:00
Nick Clifton
aa3a4a17be 20020720-1.x: Fix m32r target selector to be a proper triple, ie: m32r*-*-*.
* gcc.c-torture/execute/20020720-1.x: Fix m32r target selector to be a proper
    triple, ie: m32r*-*-*.
* g++.old-deja/g++.jason/thunk3.C: Likewise.

From-SVN: r100078
2005-05-23 08:41:57 +00:00
Eric Botcazou
bea5071fd0 sparc-protos.h (sparc_expand_move): New prototype.
* config/sparc/sparc-protos.h (sparc_expand_move): New prototype.
	* config/sparc/sparc.c (sparc_expand_move): New function.
	(sparc_emit_set_const64): Rewrite assert condition on entry.
	(legitimate_constant_p) <CONST_VECTOR>: New case.
	(legitimize_pic_address): Use TARGET_ARCH64 to select the mode.
	* config/sparc/sparc.md (movqi, movhi, movsi, movdi, movV32,
	movV64, movtf): Use nonimmediate_operand for the first operand.
	Rewrite.  Only invoke sparc_expand_move.
	* config/sparc/predicates.md (input_operand): Reorder tests.

From-SVN: r100077
2005-05-23 07:09:03 +00:00
Jan Beulich
7c68fabb78 gthr-posix.h (__gthread_recursive_mutex_init_function): Add missing return statement.
gcc/
2005-05-23  Jan Beulich  <jbeulich@novell.com>

	* gthr-posix.h (__gthread_recursive_mutex_init_function): Add
	missing return statement.

From-SVN: r100075
2005-05-23 06:42:19 +00:00
Roger Sayle
ec8a19405e * gfortran.texi: Document some more GNU extensions.
From-SVN: r100074
2005-05-23 03:20:19 +00:00
GCC Administrator
c5fbb0fc2d Daily bump.
[[Split portion of a mixed commit.]]

From-SVN: r100072.2
2005-05-23 00:16:15 +00:00
Francois-Xavier Coudert
e88763d1c8 * error.c (gfc_warning): Fix typo in comment.
From-SVN: r100070
2005-05-22 22:12:48 +00:00
Peter Wainwright
c220bdaec9 re PR libfortran/21376 (libfortran "E" output format causes FPE)
PR libfortran/21376
	* io/write.c (output_float): Rework logic to avoid call to log10
	with argument equal to zero.

From-SVN: r100068
2005-05-22 21:17:42 +00:00
Danny Smith
8ba8f7e557 re PR bootstrap/21683 (build failure on i386-mingw (sys/wait.h header))
PR target/21683
        * fixincl.c: Don't include <sys/wait.h> if SEPARATE_FIX_PROC.

From-SVN: r100066
2005-05-22 17:01:02 +00:00
Eric Botcazou
c5d7449889 sparc.c (sparc_emit_float_lib_cmp): Use emit_move_insn for moves to TFmode stack slots.
* config/sparc/sparc.c (sparc_emit_float_lib_cmp): Use
	emit_move_insn for moves to TFmode stack slots.

From-SVN: r100058
2005-05-22 07:34:37 +00:00
Andreas Jaeger
313344b4de mprec.c (mult, [...]): Add parenthesis to avoid warnings.
* java/lang/mprec.c (mult, lshift, b2d, d2b): Add parenthesis to
	avoid warnings.

From-SVN: r100057
2005-05-22 08:55:21 +02:00
Ziemowit Laski
cc7e6e8fbe Give credit, where credit is due.
From-SVN: r100056
2005-05-22 02:41:42 +00:00
GCC Administrator
c2f74a01b6 Daily bump.
[[Split portion of a mixed commit.]]

From-SVN: r100053.2
2005-05-22 00:16:31 +00:00
Gerald Pfeifer
5e2d64839e crontab: Spread snapshot building more evenly throughout the week.
* crontab: Spread snapshot building more evenly throughout the
	week.

From-SVN: r100051
2005-05-21 21:56:24 +00:00
Andrew Pinski
e0624990b8 re PR middle-end/21331 (Incorrect folding of comparison)
2004-05-21  Andrew Pinski  <pinskia@physics.uc.edu>

        PR middle-end/21331
        PR tree-opt/21293
        * gcc.c-torture/compile/pr21293.c: New test.
        * gcc.c-torture/execute/pr21331.c: New test.

From-SVN: r100045
2005-05-21 09:57:24 -07:00
Ranjit Mathew
c6891dd85c * testsuite/libjava.jacks/jacks.xfail: Remove 3.10.2-round-6.
From-SVN: r100044
2005-05-21 13:57:49 +00:00
Richard Guenther
bb673b41f0 tree-stdarg.c (execute_optimize_stdarg): Handle references to va_list of the form &va[0].
2005-05-21  Richard Guenther  <rguenth@gcc.gnu.org>

	* tree-stdarg.c (execute_optimize_stdarg): Handle references
	to va_list of the form &va[0].

From-SVN: r100043
2005-05-21 12:35:55 +00:00
Eric Botcazou
69a2d125d6 configure.ac: Check for trunc and truncf in libm.
* configure.ac: Check for trunc and truncf in libm.
	* configure: Regenerate.
	* config.h.in: Likewise.
	* intrinsics/c99_functions.c (trunc, truncf): New functions.
	* c99_protos.h (trunc, truncf): Declare them.

From-SVN: r100040
2005-05-21 06:44:50 +00:00
GCC Administrator
542b52ddb2 Daily bump.
[[Split portion of a mixed commit.]]

From-SVN: r100038.2
2005-05-21 00:16:30 +00:00
Richard Henderson
69dc01e631 * g++.dg/other/stdarg3.C: Spell "hpux*" correctly.
From-SVN: r100036
2005-05-20 16:52:46 -07:00
Ziemowit Laski
210f12a769 Give credit, where credit is due.
From-SVN: r100035
2005-05-20 23:42:07 +00:00
Mike Stump
29075100bc obj-c++-dg.exp: Add.
* obj-c++-dg.exp: Add.
        * obj-c++.exp: Add.
        * obj-c++.dg/dg.exp: Add.

From-SVN: r100031
2005-05-20 22:14:16 +00:00
Jan Hubicka
c15fed7643 Makefile.in (insn-emit.o): Add basic-block.h dependency.
* Makefile.in (insn-emit.o): Add basic-block.h dependency.
	* genemit.c (main): Make insn-emit to include basic-block.h too.

From-SVN: r100028
2005-05-20 21:17:48 +00:00
Jan Beulich
0d25c320b9 stubs.c: Also implement fabsf/fabsl if not present in the system libraries.
libstdc++-v3/
2005-05-20  Jan Beulich  <jbeulich@novell.com>

	* libmath/stubs.c: Also implement fabsf/fabsl if not present in the
	system libraries.

From-SVN: r100013
2005-05-20 14:00:06 +00:00
Paolo Carlini
a809005264 stl_algo.h (__rotate<_RandomAccessIterator>): Don't qualify __tmp as const, _ValueType is not necessarily Assignable.
2005-05-20  Paolo Carlini  <pcarlini@suse.de>

	* include/bits/stl_algo.h (__rotate<_RandomAccessIterator>):
	Don't qualify __tmp as const, _ValueType is not necessarily
	Assignable.
	* include/bits/stl_algobase.h (swap, __iter_swap<false>):
	Likewise, as an harmless extension.

From-SVN: r100011
2005-05-20 08:58:23 +00:00
Nick Clifton
527abb7a71 thunk3.C: XFAIL on m32r*-*.
* g++.old-deja/g++.jason/thunk3.C: XFAIL on m32r*-*.
	* gcc.c-torture/execute/20020720-1.x: Add xfail for m32r*-*.
	* gcc.c-torture/execute/20020720-1.x: Add xfail for avr-*-*.

From-SVN: r100010
2005-05-20 08:25:49 +00:00
Jan Hubicka
776b966eb0 * cgraphunit.c (cgraph_expand_function): Force function being lowered.
From-SVN: r100009
2005-05-20 08:05:07 +00:00
Paolo Bonzini
bcb28cf506 Makefile.def (configure-gcc): Depend on binutils having been built.
2005-05-20  Paolo Bonzini  <bonzini@gnu.org>

	* Makefile.def (configure-gcc): Depend on binutils having been built.
	(all-gcc): No need to do it here.
	* Makefile.in: Regenerate.

From-SVN: r100007
2005-05-20 07:10:30 +00:00
Richard Henderson
e4d4cf569d * g++.dg/other/stdarg3.C: Only use -mlp64 for hpux.
From-SVN: r100006
2005-05-19 22:00:29 -07:00
Richard Henderson
b686c48cd8 alpha.c (emit_unlikely_jump, [...]): Split out from ...
* config/alpha/alpha.c (emit_unlikely_jump, emit_load_locked,
        emit_store_conditional): Split out from ...
        (alpha_split_atomic_op): ... here.
        (alpha_split_compare_and_swap): New; extract from .md file.
        (alpha_split_lock_test_and_set): Likewise.
        * config/alpha/alpha-protos.h: Update.
        * config/alpha/sync.md (sync_compare_and_swap<I48MODE>): Move
        split code into alpha.c.
        (sync_lock_test_and_set<I48MODE>): Likewise.

From-SVN: r100005
2005-05-19 19:38:56 -07:00
Richard Henderson
ce88799c37 * exception.cc: Revert 05-17 gcc_unreachable change.
From-SVN: r100004
2005-05-19 18:28:35 -07:00
Richard Henderson
4419e3438b * exception.c: Revert last change.
From-SVN: r100003
2005-05-19 18:26:56 -07:00
Richard Henderson
e73ee854b1 * libsupc++/unwind-cxx.h: Revert gcc_unreachable change.
From-SVN: r100002
2005-05-19 18:24:50 -07:00
Richard Henderson
e4d0c41cba * unwind.h, unwind-pe.h: Revert gcc_unreachable change of 05-17.
From-SVN: r100001
2005-05-19 17:59:02 -07:00
GCC Administrator
65869a72a6 Daily bump.
[[Split portion of a mixed commit.]]

From-SVN: r99999.2
2005-05-20 00:16:22 +00:00
Janis Johnson
fb7111c607 * gcc.dg/altivec-21.c: Use dg-error only for ilp32.
From-SVN: r99997
2005-05-19 23:23:27 +00:00
Janis Johnson
517297ba29 * gcc.dg/vect/vect-dv-2.c: Remove dg-do directive.
From-SVN: r99996
2005-05-19 23:22:23 +00:00
Bryce McKinlay
146e2904bc natClassLoader.cc (_Jv_NewClass): Use _Jv_RegisterInitiatingLoader to register array classes, not _Jv_RegisterClass.
* java/lang/natClassLoader.cc (_Jv_NewClass): Use
	_Jv_RegisterInitiatingLoader to register array classes, not
	_Jv_RegisterClass.
	(_Jv_RegisterInitiatingLoader): Give up if called very early during
	bootstrapping. Add a FIXME to handle this case better.

From-SVN: r99993
2005-05-19 23:24:26 +01:00
Bryce McKinlay
cabf144776 Makefile.am (libgcj0_convenience_la): Removed.
* Makefile.am (libgcj0_convenience_la): Removed. Don't build a
	libgcj convenience library.
	(libgcj_la_SOURCES): New. Move sources here.
	(libgcj.la): Remove rule.

From-SVN: r99988
2005-05-19 22:46:39 +01:00
Richard Henderson
9f3ea395e6 sse.md (mulv4si3): Use all register inputs.
* config/i386/sse.md (mulv4si3): Use all register inputs.
        (mulv2di3): Likewise.

From-SVN: r99986
2005-05-19 14:28:02 -07:00
Joseph Myers
2ed61d61b5 * de.po, zh_CN.po: Update.
From-SVN: r99984
2005-05-19 21:42:12 +01:00
Paul Brook
0cf085e4d4 configure.in: Rewrite misleading error message when requested language cannot be built.
2005-05-19  Paul Brook  <paul@codesourcery.com>

	* configure.in: Rewrite misleading error message when requested
	language cannot be built.
	* configure: Regenerate.

From-SVN: r99982
2005-05-19 20:03:22 +00:00
Richard Guenther
62b37d918e tree-ssa-loop-ivopts.c (determine_base_object): Use build_fold_addr_expr to generate trees of correct type.
2005-05-19  Richard Guenther  <rguenth@gcc.gnu.org>

	* tree-ssa-loop-ivopts.c (determine_base_object): Use
	build_fold_addr_expr to generate trees of correct type.
	Use fold_buildN if possible.

From-SVN: r99981
2005-05-19 19:17:49 +00:00
David Ayers
2e8a88f0b2 exception.c: Include tsystem.h for unwind.h.
2005-05-19  David Ayers  <d.ayers@inode.at>

	* exception.c: Include tsystem.h for unwind.h.

From-SVN: r99978
2005-05-19 12:22:21 +00:00
Paolo Bonzini
6fb09909fc re PR java/17845 (More problems with simple type names as superclasses)
2005-05-19  Paolo Bonzini  <bonzini@gnu.org>

	PR java/17845

	* parse.y (register_package, package_list): Remove.
	(package_declaration): Do not call register_package.
	(do_resolve_class): Do not use package_list.

From-SVN: r99977
2005-05-19 11:16:27 +00:00
Jan Hubicka
e42922b1ae basic-block.h (REG_BR_PROB_BASE): Define.
* basic-block.h (REG_BR_PROB_BASE): Define.
	* cgraph.c (cgraph_create_edge): Initialize loop_nest and count.
	(dump_cgraph_node): Dump count.
	(cgraph_clone_edge): Rescale counts.
	(cgraph_clone_node): Likewise.
	* cgraph.h: Include basic-block.h
	(cgraph_node): Add count.
	(cgraph_edge): Add count and loop_nest.
	(cgraph_node, cgraph_edge, cgraph_clone_edge, cgraph_clone_node):
	Update prototypes.
	* cgraphunit.c: Kill now redundant inlining comment.
	(cgraph_create_edges): Make static, maintain current basic block;
	fix pasto.
	(record_call_1): Fill in new fields.
	* ipa-inline.c (cgraph_clone_inlined_nodes): Update call of
	cgraph_clone_node.
	(cgraph_decide_recursive_inlining): Likewise.
	* rtl.h (REG_BR_PROB_BASE): Kill.
	* tree-inline.c (copy_body_r): Update call of cgraph_clone_edge.
	(expand_call_inline): Update call of cgraph_create_edge.
	* tree-optimize.c (tree_rest_of_compilation): Likewise.

From-SVN: r99976
2005-05-19 10:38:42 +00:00
Nick Clifton
eef16504e2 eabispe.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Use the new rs6000_explicit_options structure.
* config/rs6000/eabispe.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Use the new
rs6000_explicit_options structure.

From-SVN: r99974
2005-05-19 10:28:30 +00:00
Richard Henderson
0da4e73a09 re PR target/21390 (alphaev68-dec-osf5.1b long double optimization bug with gcc-4.0.0)
PR target/21390
        * config/alpha/alpha.c (alpha_emit_conditional_branch): Move
        TFmode code swapping ...
        (alpha_emit_xfloating_compare): ... here.
        (alpha_emit_setcc): Update to match.
        (alpha_lookup_xfloating_lib_func): Assert TARGET_HAS_XFLOATING_LIBS.

From-SVN: r99972
2005-05-19 02:49:55 -07:00
Richard Henderson
9a7e4ed66a re PR target/21657 (TLS reference miscompiled)
PR target/21657
        * config/ia64/ia64.c (ia64_expand_tls_address): Remove extra
        memory indirection in local-dynamic case.

From-SVN: r99971
2005-05-19 02:42:23 -07:00