Commit Graph

67225 Commits

Author SHA1 Message Date
Mike Stump
67999712dc Revert last patch for more testing.
From-SVN: r97810
2005-04-07 23:42:42 +00:00
Mike Stump
0ceeebd306 * configure: Regenerate.
From-SVN: r97809
2005-04-07 23:27:57 +00:00
Mike Stump
b937d91625 * libtool.m4: Update AC_LIBTOOL_SYS_MAX_CMD_LEN bits from upstream.
From-SVN: r97808
2005-04-07 23:26:05 +00:00
Mike Stump
085e30b7b0 * mf-runtime.h: Add libmudflap copyright clause.
From-SVN: r97807
2005-04-07 22:51:01 +00:00
Richard Sandiford
80529cc0d0 * config/vax/vax.h (target_flags, MASK_UNIX_ASM, MASK_VAXC_ALIGNMENT)
(MASK_G_FLOAT, TARGET_UNIX_ASM, TARGET_VAXC_ALIGNMENT, TARGET_G_FLOAT)
	(TARGET_SWITCHES): Delete.
	* config/vax/vax.c (TARGET_DEFAULT_TARGET_FLAGS): Override default.
	* config/vax/vax.opt: New file.

From-SVN: r97805
2005-04-07 21:44:58 +00:00
Andrew Pinski
e87045f3ae re PR libfortran/20766 ([darwin] - run time error when calling fortran subroutine from c)
2005-04-07  Andrew Pinski  <pinskia@physics.uc.edu>

        PR libfortran/20766
        * configure.ac (extra_ldflags_libgfortran): Set for *-darwin* to
        "-Wl,-single_module".
        * configure: Regenerate.
        * Makefile.am (libgfortran_la_LDFLAGS): Add extra_ldflags_libgfortran.
        * Makefile.in: Regenerate.

From-SVN: r97804
2005-04-07 14:06:27 -07:00
Per Bothner
e87047c6af class.c (push_class): By default, suppress debug output.
* class.c (push_class): By default, suppress debug output.
	(finish_class): Enable debug output for classes we're emitting.

From-SVN: r97797
2005-04-07 12:12:53 -07:00
Laurent GUERBY
ad9945b50e Makefile.in: Add make ifeq define for hppa linux tasking support.
* Makefile.in: Add make ifeq define for hppa linux tasking support.
	* system-hpux.ads: Define Signed_Zeros to be True.
	* system-linux-hppa.ads, s-osinte-linux-hppa.ads: New files.

Co-Authored-By: John David Anglin <dave.anglin@nrc-cnrc.gc.ca>

From-SVN: r97796
2005-04-07 19:07:41 +00:00
Steven G. Kargl
c908c7683d tiny_1.f90: New test.
* gfortran.dg/tiny_1.f90: New test.
* gfortran.dg/tiny_2.f90: New test.

From-SVN: r97795
2005-04-07 18:59:56 +00:00
Daniel Berlin
773168c774 tree-ssa-dse.c (dse_optimize_stmt): Fix incorrect comment.
2005-04-07  Daniel Berlin  <dberlin@dberlin.org>

	* tree-ssa-dse.c (dse_optimize_stmt): Fix incorrect comment.

From-SVN: r97793
2005-04-07 18:38:03 +00:00
Steven G. Kargl
01ae893012 simplify.c (gfc_simplify_exponent): Fix exponent(tiny(x))
From-SVN: r97792
2005-04-07 18:26:37 +00:00
Ian Lance Taylor
03359b57f4 iq2000.h (DONT_ACCESS_GBLS_AFTER_EPILOGUE): Don't define.
* config/iq2000/iq2000.h (DONT_ACCESS_GBLS_AFTER_EPILOGUE): Don't
	define.
	* config/mips/mips.h (DONT_ACCESS_GBLS_AFTER_EPILOGUE): Likewise.
	* config/sparc/sparc.h (DONT_ACCESS_GBLS_AFTER_EPILOGUE):
	Likewise.

From-SVN: r97790
2005-04-07 18:04:43 +00:00
Kazu Hirata
ab7983139d tree-ssa-sink.c (nearest_common_dominator_of_uses): Consider all immediate uses in PHI nodes.
* tree-ssa-sink.c (nearest_common_dominator_of_uses): Consider
	all immediate uses in PHI nodes.

From-SVN: r97788
2005-04-07 16:31:07 +00:00
Andrew Haley
53b42091b9 gcj.texi: Correct gcj-dbtool instructions.
2005-04-07  Andrew Haley  <aph@redhat.com>

        * gcj.texi: Correct gcj-dbtool instructions.

From-SVN: r97787
2005-04-07 15:48:02 +00:00
Thomas Koenig
20d2747710 eor_1.f90: Fix dg-do run line
2005-04-07  Thomas Koenig  <Thomas.Koenig@online.de>

	* gfortran.dg/eor_1.f90:  Fix dg-do run line
	* gfortran.dg/open_new.f90:  Fix dg-do run line

From-SVN: r97784
2005-04-07 15:11:59 +00:00
Thomas Koenig
e865b6f732 MAINTAINERS (Write After Approval): Add myself.
2005-04-04  Thomas Koenig  <Thomas.Koenig@online.de>

	* MAINTAINERS (Write After Approval): Add myself.

From-SVN: r97782
2005-04-07 14:55:40 +00:00
Thomas Koenig
bbbe24672f MAINTAINERS (Write After Approval): Add myself.
2005-05-07  Thomas Koenig  <Thomas.Koenig@online.de>

	* MAINTAINERS (Write After Approval):  Add myself.

From-SVN: r97781
2005-04-07 14:34:16 +00:00
Bernd Schmidt
7b71ad7f7f * MAINTAINERS (Port Maintainers): Add self for Blackfin.
From-SVN: r97779
2005-04-07 11:43:25 +00:00
Richard Earnshaw
9b901d50bb arm.c (arm_const_double_inline_cost): Handle any constant by using gen_lowpart and gen_highpart_mode.
* arm.c (arm_const_double_inline_cost): Handle any constant by
	using gen_lowpart and gen_highpart_mode.
	(note_invalid_constants): All constants in an RTX with a constraint
	that permits memory are now pushed to the constant pool.
	(output_move_double): Delete code to handle reg to reg and
	constant to reg moves.
	(const_double_needs_minipool, output_mov_immediate): Delete.
	* arm.h (EXTRA_CONSTRAINT_STR_ARM): All 'D' variants now handle
	CONST_INT and CONST_VECTOR.
	* arm.md (ANY64): New mode macro.
	(arm_movdi): Split reg-reg and const-reg moves.  Simplify constraints.
	(movdf_soft_insn): Split reg-reg and const-reg moves.
	(split patterns for 64-bit constant and register moves): New.
	* cirrus.md (cirrus_arm_movdi): Split reg-reg and const-reg moves.
	(cirrus_movdf_hard_insn): Likewise.
	* fpa.md (movdf_fpa): Likewise.
	* iwmmxt.md (iwmmxt_arm_movdi): Likewise.
	(movv8qi_internal, movv4hi_internal, movv2si_internal): Fix
	constraints.
	(movv2si_internal_2): Likewise.
	* vfp.md (arm_movdi_vfp): Split reg-reg and const-reg moves.
	(movdf_vfp): Likewise.
	* arm-protos.h (output_mov_immediate): Delete prototype.

From-SVN: r97778
2005-04-07 11:24:11 +00:00
Joseph Myers
7443a71d62 re PR target/20093 (23_containers/deque/cons/2.cc execution test fails on ia64-hpux, -milp32)
PR target/20093
	* simplify-rtx.c (simplify_unary_operation_1): Check
	SUBREG_PROMOTED_UNSIGNED_P (op) > 0 for zero-extension.

From-SVN: r97775
2005-04-07 09:21:31 +01:00
James E Wilson
c7bcbc2c40 Fix numerous IA-64 C++ failures, IA-64 bootstrap trouble.
PR target/20717
* cgraphunit.c (record_call_1, case FDESC_EXPR): Handle same as
ADDR_EXPR.

From-SVN: r97773
2005-04-06 21:24:53 -07:00
Benjamin Kosnik
5305b1ae1b test.html: Update.
2005-04-06  Benjamin Kosnik  <bkoz@redhat.com>

	* docs/html/test.html: Update.
	* testsuite/printnow.c: Remove.
	* scripts/check_survey.in: Remove.

	* testsuite/abi_check.cc: To...
	* testuite/testsuite_abi_check.cc: ...here.
	* testsuite/libstdc++-abi/abi.exp: Change abi_check.cc to
	testsuite_abi_check.cc.

	* testsuite/testsuite_hooks.h: Move character related bits to...
	* testsuite/testsuite_character.h: ...here.
	* testsuite/testsuite_character.cc: ... and here.
	* testsuite/21_strings/basic_string/inserters_extractors/pod/
	10081-in.cc: Use testsuite_character.h.
	* testsuite/21_strings/basic_string/inserters_extractors/pod/
	10081-out.cc: Same.
	* testsuite/22_locale/numpunct/members/pod/1.cc: Same.
	* testsuite/22_locale/numpunct/members/pod/2.cc: Same.
	* testsuite/27_io/basic_filebuf/2.cc: Same.
	* testsuite/27_io/basic_fstream/2.cc: Same.
	* testsuite/27_io/basic_istream/2.cc: Same.
	* testsuite/27_io/basic_istream/extractors_arithmetic/pod/
	3983-1.cc: Same.
	* testsuite/27_io/basic_istream/extractors_character/char/
	9826.cc: Same.
	* testsuite/27_io/basic_istream/extractors_character/pod/
	3983-2.cc: Same.
	* testsuite/27_io/basic_istream/extractors_other/pod/3983-3.cc: Same.
	* testsuite/27_io/basic_istream/sentry/pod/1.cc: Same.
	* testsuite/27_io/basic_ostream/2.cc: Same.
	* testsuite/27_io/basic_ostream/sentry/pod/1.cc: Same.
	* testsuite/27_io/basic_streambuf/2.cc: Same.
	* testsuite/27_io/basic_stringbuf/2.cc: Same.
	* testsuite/27_io/basic_stringbuf/4.cc: Same.
	* testsuite/27_io/basic_stringstream/2.cc: Same.
	* testsuite/27_io/fpos/1.cc: Same.
	* testsuite/ext/mt_allocator/tune-1.cc: Same.
	* testsuite/ext/mt_allocator/tune-2.cc: Same.
	* testsuite/ext/stdio_filebuf/char/1.cc: Same.
	* testsuite/lib/libstdc++.exp (v3-build_support): Add
	testsuite_character.cc.
	* testsuite/Makefile.am (libv3test_a_SOURCES): Add
	testsuite_character.cc.
	* testsuite/Makefile.in: Regenerate.

	* configure.ac: Remove use of check_survey.
	* configure: Regenerate.
	* testsuite/Makefile.am: Remove check-script and
	check-script-install rules.
	* testsuite/Makefile.in: Regenerate.

From-SVN: r97772
2005-04-07 04:16:26 +00:00
GCC Administrator
2d6106a3ef Daily bump.
[[Split portion of a mixed commit.]]

From-SVN: r97770.2
2005-04-07 00:16:32 +00:00
Hans-Peter Nilsson
ceb17756f6 * gcc.dg/20050321-2.c: Restrict to target fpic.
From-SVN: r97765
2005-04-06 23:29:07 +00:00
Hans-Peter Nilsson
b6e3f5722e target-supports.exp (get_compiler_messages): Support optional arguments, the fourth being compiler options.
* lib/target-supports.exp (get_compiler_messages): Support
	optional arguments, the fourth being compiler options.
	(check_effective_target_fpic): New proc.
	* gcc.dg/20050321-2.c: Restrict to target fpic.

From-SVN: r97763
2005-04-06 23:27:11 +00:00
Richard Sandiford
070e396943 coverage.h (GCOV_TYPE_NODE): Delete.
* coverage.h (GCOV_TYPE_NODE): Delete.
	* coverage.c (coverage_counter_alloc, tree_coverage_counter_ref)
	(build_ctr_info_type): Use get_gcov_type () instead of GCOV_TYPE_NODE.
	* tree-profile.c (tree_gen_edge_profiler, tree_gen_interval_profiler)
	(tree_gen_pow2_profiler, tree_gen_one_value_profiler): Likewise.
	* value-prof.c (tree_divmod_fixed_value_transform): Delete.

From-SVN: r97760
2005-04-06 22:50:29 +00:00
Richard Sandiford
fb72a0a30b re PR other/20792 (target.opt messages missing from gcc.pot)
gcc/
	PR other/20792
	* Makefile.in (gcc.pot): Remove options.c dependency.
	* optc-gen.awk: Don't quote help strings with N_().

gcc/po/
	PR other/20792
	* exgettext: Don't scan options.c.  Scan .opt files for help strings.
	* gcc.pot: Regenerate.

From-SVN: r97759
2005-04-06 22:42:28 +00:00
Andrew Haley
58bf803e6c bytearray.java: New file.
2005-04-06  Andrew Haley  <aph@redhat.com>

	* testsuite/libjava.lang/bytearray.java: New file.
	* testsuite/libjava.lang/bytearray.out: New file.
	* java/lang/ClassLoader.java (loadClassFromSig): Declare
	(loadClass): Use it.
	* java/lang/natClassLoader.cc (loadClassFromSig): New method.

From-SVN: r97756
2005-04-06 22:30:01 +00:00
James A. Morrison
3425638af5 c-common.c (handle_malloc_atttribute): Only set DECL_IS_MALLOC if the function returns a pointer type.
2005-04-06  James A. Morrison  <phython@gcc.gnu.org>

        * c-common.c (handle_malloc_atttribute): Only set DECL_IS_MALLOC if
        the function returns a pointer type.

From-SVN: r97751
2005-04-06 21:22:02 +00:00
Steven G. Kargl
53ae8e14b2 Remove documentation of the nonexistent -std=f90 option.
From-SVN: r97749
2005-04-06 21:11:48 +00:00
Mohan Embar
cb8faadcd6 Makefile.am ($(db_name)): Add $(EXEEXT) suffix to gcj-dbtool dependency
2005-04-06  Mohan Embar  <gnustuff@thisiscool.com>

	* Makefile.am ($(db_name)): Add $(EXEEXT) suffix to
	gcj-dbtool dependency
	* Makefile.in: Regenerated

From-SVN: r97747
2005-04-06 20:27:38 +00:00
Daniel Berlin
31617ef157 params.def (PARAM_SALIAS_MAX_IMPLICIT_FIELDS): New
2005-04-06  Daniel Berlin  <dberlin@dberlin.org>

	* params.def (PARAM_SALIAS_MAX_IMPLICIT_FIELDS): New
	* params.h (SALIAS_MAX_IMPLICIT_FIELDS): New
	* doc/invoke.texi: Documnet salias-max-implicit-fields.
	* tree-ssa-alias.c (struct used_part): Add implicit_uses and
	explicit_uses members.
	(get_or_create_used_part_for): Initialize new fields.
	(fieldoff_compare): New function.
	(create_overlap_variables_for): Count number of fields, use
	heuristic to determine whether to create subvars for vars with
	only implicit uses.
	Sort the field list by offset and avoid creating duplicate SFT's.

From-SVN: r97746
2005-04-06 20:03:15 +00:00
Richard Sandiford
4e9944320f c.opt (-F): Remove trailing whitespace from help string.
* c.opt (-F): Remove trailing whitespace from help string.
	(-finput-charset): Use a tab to separate the switch name and help
	string.
	* common.opt (-fsched-stalled-insns, -fsched-stalled-insns-dep)
	(-ftree-vectorizer-verbose): Likewise.

From-SVN: r97742
2005-04-06 18:37:24 +00:00
Tobias Schlüter
ccccdb8d9b expr.c (gfc_check_assign): Don't allow NULL as rhs in a non-pointer assignment.
fortran/
* expr.c (gfc_check_assign): Don't allow NULL as rhs in a
non-pointer assignment.

testsuite/
* gfortran.dg/pr15754.f90: Change annotations to dg-error.

From-SVN: r97740
2005-04-06 20:03:09 +02:00
Bryce McKinlay
e3eff25ac1 natLogger.cc (getCallerStackFrame): Don't crash on NULL klass and meth values from _Jv_StackTrace::GetCallerInfo().
2005-04-06  Bryce McKinlay  <mckinlay@redhat.com>

	* java/util/logging/natLogger.cc (getCallerStackFrame): Don't crash
	on NULL klass and meth values from _Jv_StackTrace::GetCallerInfo().

From-SVN: r97739
2005-04-06 18:42:23 +01:00
Kazu Hirata
55b12f0d74 tree-ssa-sink.c (nearest_common_dominator_of_uses): Look at a PHI argument where a use occurs instead of all PHI arguments.
* tree-ssa-sink.c (nearest_common_dominator_of_uses): Look at
	a PHI argument where a use occurs instead of all PHI arguments.

From-SVN: r97738
2005-04-06 17:41:11 +00:00
Bryce McKinlay
5070376f47 natLogger.cc (getCallerStackFrame): Don't crash on NULL klass and meth values from _Jv_StackTrace::GetCallerInfo().
2005-04-06  Bryce McKinlay  <mckinlay@redhat.com>

	* java/util/logging/natLogger.cc (getCallerStackFrame): Don't crash on
	NULL klass and meth values from _Jv_StackTrace::GetCallerInfo().

From-SVN: r97737
2005-04-06 18:41:05 +01:00
Joseph Myers
3693d46c97 c-decl.c (finish_decl): Apply pending #pragma weak regardless of scope.
* c-decl.c (finish_decl): Apply pending #pragma weak regardless of
	scope.

cp:
	* decl.c (start_decl): Apply pending #pragma weak regardless of
	scope.

testsuite:
	* gcc.dg/weak/weak-12.c, g++.dg/ext/weak2.C: New tests.

From-SVN: r97733
2005-04-06 18:17:38 +01:00
Joseph Myers
c634366a35 i386-387-7.c, [...]: Skip x86 tests for -m64.
* gcc.dg/i386-387-7.c, gcc.dg/i386-3dnowA-1.c,
	gcc.dg/i386-3dnowA-2.c, gcc.dg/pr12092-1.c: Skip x86 tests for
	-m64.
	* gcc.dg/loop-3.c, gcc.dg/short-compare-1.c,
	gcc.dg/short-compare-2.c, gcc.dg/smod-1.c,
	gcc.dg/torture/badshift.c: Don't give 32-bit options for x86 -m64.

From-SVN: r97731
2005-04-06 18:07:08 +01:00
Kazu Hirata
f652d14b64 cse.c, [...]: Fix comment typos.
* cse.c, tree-flow-inline.h, tree-flow.h, tree-ssa-operands.c,
	tree-ssa-sink.c, tree.h, config/bfin/bfin.c,
	config/bfin/bfin.h: Fix comment typos.

From-SVN: r97730
2005-04-06 17:05:08 +00:00
Ulrich Weigand
8270a21775 atomicity.h (__exchange_and_add): Add "memory" clobber to inline assembly statement.
* config/cpu/s390/atomicity.h (__exchange_and_add): Add "memory"
	clobber to inline assembly statement.

From-SVN: r97728
2005-04-06 16:54:26 +00:00
Mark Mitchell
b17bba6d24 re PR c++/20212 (attribute unused vs. member function template)
PR c++/20212
	* pt.c (regenerate_decl_from_template): Copy attributes for
	parameters from the pattern to the instantiation.

	PR c++/20212
	* g++.dg/warn/Wunused-11.C: New test.

From-SVN: r97726
2005-04-06 15:55:00 +00:00
Mark Mitchell
20bc438ce9 Add missing ChangeLog entry
From-SVN: r97723
2005-04-06 15:40:05 +00:00
Ranjit Mathew
5a4ffc2a88 install.texi: Update the URL for Jacks.
* doc/install.texi: Update the URL for Jacks.
	* doc/sourcebuild.texi: Likewise.

From-SVN: r97722
2005-04-06 15:36:07 +00:00
Andrew Haley
0e9fab2137 Main.java (Fileset): New class.
2005-04-05  Andrew Haley  <aph@redhat.com>

        * gnu/gcj/tools/gcj_dbtool/Main.java (Fileset): New class.
        (Tokenizer): New class.
        (getFiles): New method.
        (main): Add "-" argument.
        Add "-0" argument.
        Read list of files from stdin when merging map databases.
        (usage):  Add "-" argument.
        Add "-0" argument.
        Minor corrections.

From-SVN: r97719
2005-04-06 15:06:04 +00:00
Eric Botcazou
f1b259d59e re PR target/17245 (ICE compiling gsl-1.5 statistics/lag1.c)
PR target/17245
	* config/sparc/sparc.c (legitimate_address_p): Remove 'imm2'.
	Revert 2004-10-08 patch.  Reject TFmode LO_SUM in 32-bit mode.

From-SVN: r97713
2005-04-06 11:53:53 +00:00
Kelley Cook
fb201aa433 Revert -pipe change from last night.
From-SVN: r97712
2005-04-06 11:42:59 +00:00
Bernd Schmidt
982be98497 * gcc.c-torture/execute/20020720-1.x: Disable on bfin*-*.
From-SVN: r97711
2005-04-06 10:07:18 +00:00
Richard Sandiford
0a0da1bc90 v850-protos.h (override_options): Delete.
* config/v850/v850-protos.h (override_options): Delete.
	* config/v850/v850.h (target_flags, MASK_GHS, MASK_LONG_CALLS, MASK_EP)
	(MASK_PROLOG_FUNCTION, MASK_DEBUG, MASK_V850, MASK_V850E)
	(MASK_SMALL_SLD, MASK_BIG_SWITCH, MASK_NO_APP_REGS, MASK_DISABLE_CALLT)
	(MASK_STRICT_ALIGN, MASK_US_BIT_SET, MASK_US_MASK_SET, TARGET_GHS)
	(TARGET_LONG_CALLS, TARGET_EP, TARGET_PROLOG_FUNCTION, TARGET_V850)
	(TARGET_BIG_SWITCH, TARGET_DEBUG, TARGET_V850E, TARGET_US_BIT_SET)
	(TARGET_SMALL_SLD, TARGET_DISABLE_CALLT, TARGET_NO_APP_REGS)
	(TARGET_STRICT_ALIGN, TARGET_SWITCHES, TARGET_OPTIONS)
	(OVERRIDE_OPTIONS): Delete.
	(MASK_CPU): Redefine as MASK_V850 | MASK_V850E.
	(small_memory_info): Remove the value field.
	(CONDITIONAL_REGISTER_USAGE): Check !TARGET_APP_REGS rather than
	TARGET_NO_APP_REGS.
	* config/v850/v850.c (small_memory): Remove the value field.
	(TARGET_DEFAULT_TARGET_FLAGS, TARGET_HANDLE_OPTION): Override defaults.
	(override_options): Delete.
	(v850_handle_memory_option, v850_handle_option): New functions.
	* config/v850/v850.opt: New file.

From-SVN: r97710
2005-04-06 09:40:41 +00:00
Geoffrey Keating
ed23bd30c1 config.host: Add a section for generic hosts, and a subsection for Darwin.
* config.host: Add a section for generic hosts, and a subsection
	for Darwin.  Add a case for x86-darwin.  Update ppc-darwin case.
	* config/host-darwin.c: New, split out of config/rs6000/host-darwin.c.
	* config/host-darwin.h: New.
	* config/x-darwin: New.
	* config/i386/host-i386-darwin.c: New.
	* config/i386/x-darwin: New.
	* config/rs6000/host-darwin.c: Include host-darwin.h.
	(darwin_rs6000_gt_pch_get_address): Move to config/host-darwin.c.
	(darwin_rs6000_gt_pch_use_address): Likewise.
	* config/rs6000/x-darwin: Change name of .o built, update
	dependencies for changes to rs6000/host-darwin.c.

From-SVN: r97709
2005-04-06 08:41:37 +00:00