67258 Commits

Author SHA1 Message Date
Mike Stump
de2ab0ca8b rs6000.c (rs6000_emit_prologue): Use 5 nops, instead of 4.
* config/rs6000/rs6000.c (rs6000_emit_prologue): Use 5 nops,
        instead of 4.

From-SVN: r97871
2005-04-08 23:30:23 +00:00
Hans-Peter Nilsson
797e15eb88 re PR rtl-optimization/20466 (Missed invalidation of known memory contents in flow2...)
PR rtl-optimization/20466
	* flow.c (invalidate_mems_from_set): Handle a MEM by checking it
	for overlap of the address of each list member.
	(mark_set_1): Call invalidate_mems_from_set for MEMs too.

From-SVN: r97870
2005-04-08 23:21:07 +00:00
Hans-Peter Nilsson
69ea8c65c9 re PR rtl-optimization/20466 (Missed invalidation of known memory contents in flow2...)
PR rtl-optimization/20466
	* gcc.c-torture/execute/pr20466-1.c: New test.

From-SVN: r97869
2005-04-08 23:18:32 +00:00
Kelley Cook
0cb7f060b2 acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Define _GLIBCXX_ASM_SYMVER.
2005-04-08  Kelley Cook  <kcook@gcc.gnu.org>

	* acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Define _GLIBCXX_ASM_SYMVER.
	* acconfig.h: Delete file.
	* Makefile.in, acinclude.m4, configure: Regenerate.

From-SVN: r97868
2005-04-08 23:09:32 +00:00
Mike Stump
ad6aaeb698 * config/darwin.c (indirect_data): Fix typo in strncmp logic.
From-SVN: r97866
2005-04-08 22:53:31 +00:00
Mike Stump
b5969637ac Fix typo.
From-SVN: r97862
2005-04-08 22:00:58 +00:00
Kelley Cook
42dedaee7c linkage.m4 (GLIBCXX_MAYBE_UNDERSCORED_FUNCS): New macro.
2005-04-08  Kelley Cook  <kcook@gcc.gnu.org>

	* linkage.m4 (GLIBCXX_MAYBE_UNDERSCORED_FUNCS): New macro.
	(GLIBCXX_CHECK_MATH_DECL_AND_LINKAGE_1,
	GLIBCXX_CHECK_MATH_DECL_AND_LINKAGE_2,
	GLIBCXX_CHECK_MATH_DECL_AND_LINKAGE_3,
	GLIBCXX_CHECK_MATH_DECLS_AND_LINKAGES_1,
	GLIBCXX_CHECK_STDLIB_DECL_AND_LINKAGE_2): Use it.
	(GLIBCXX_CHECK_MATH_SUPPORT): Delete obsolete comment.
	* acconfig.h: Delete redundant macros.
	* config.h.in, configure: Regenerate.

From-SVN: r97861
2005-04-08 21:54:31 +00:00
Kelley Cook
3df45831d7 linkage.m4 (GLIBCXX_CHECK_MATH_DECLS_AND_LINKAGES_1): Eliminate a subshell and if test fails...
2005-04-08  Kelley Cook  <kcook@gcc.gnu.org>

	* linkage.m4 (GLIBCXX_CHECK_MATH_DECLS_AND_LINKAGES_1): Eliminate
	a subshell and if test fails, test for same functions with
	leading underscore.
	(GLIBCXX_CHECK_MATH_SUPPORT): Eliminate seperate checks for _funcs.
	* configure: Regenerate.

From-SVN: r97860
2005-04-08 21:29:13 +00:00
Mark Mitchell
d411365616 re PR c++/20905 (confuses unrelated type name with instance name)
PR c++/20905
	* parser.c (cp_parser_type_specifier_seq): Add is_condition
	parameter.
	(cp_parser_new_type_id): Pass it.
	(cp_parser_condition): Likewise.
	(cp_parser_conversion_type_id): Likewise.
	(cp_parser_type_id): Likewise.
	(cp_parser_type_specifier_seq): In a condition, do not allow
	invalid type-specifier combinations.
	(cp_parser_exception_declaration): Adjust call to
	cp_parser_type_specifier_seq.

	PR c++/20905
	* g++.dg/parse/cond2.C: New test.

From-SVN: r97857
2005-04-08 21:13:57 +00:00
Mark Mitchell
12af7ba340 re PR c++/20145 (template "class has virtual functions ... " is not suppressed with -isystem)
* cp-tree.def (TINST_LEVEL): Document TINST_IN_SYSTEM_HEADER_P.
	* cp-tree.h (struct tinst_level): Add in_system_header_p.
	(TINST_IN_SYSTEM_HEADER_P): New macro.
	(make_tinst_level): Remove.
	* pt.c (lookup_template_class): Preserve DECL_IN_SYSTEM_HEADER on
	the instantiated class.
	(push_tinst_level): Do not use make_tinst_level.  Set
	TINST_IN_SYSTEM_HEADER_P.
	(pop_tinst_level): Likewise.
	(instantiate_class_template): Set in_system_header.
	(instantiate_pending_templates): Likewise.
	* tree.c (make_tinst_level): Remove.

	PR c++/20145
	* g++.dg/warn/Wdtor1.C: New test.

From-SVN: r97854
2005-04-08 19:39:59 +00:00
Eric Botcazou
01d87b6f3d backspace.c (unformatted_backspace): Do not dereference the pointer to the stream.
* io/backspace.c (unformatted_backspace): Do not dereference
	the pointer to the stream.

From-SVN: r97851
2005-04-08 19:07:54 +00:00
Kazu Hirata
9ff7d88e0f * c-common.h (C_ARTIFICIAL_STRING_P): Remove.
From-SVN: r97849
2005-04-08 18:47:40 +00:00
Diego Novillo
f55e72cef7 * match.c (gfc_match_arithmetic_if): Declare static.
From-SVN: r97846
2005-04-08 14:05:38 -04:00
Danny Smith
1ae4835877 re PR libstdc++/20806 (basic_filebuf::xsgetn() fails with text mode and DOS line endings and large buffers)
2005-04-08  Danny Smith  <dannysmith@users.sourceforge.net>
	    Paolo Carlini  <pcarlini@suse.de>

	PR libstdc++/20806
	* config/os/mingw32/os_defines.h: Define
	_GLIBCXX_HAVE_DOS_BASED_FILESYSTEM.
	* config/os/newlib/os_defines.h: Likewise, for __CYGWIN__.
	* include/bits/fstream.tcc (basic_filebuf<>::showmanyc()):
	Use it.
	(basic_filebuf<>::xsgetn(_CharT*, streamsize)): Likewise.

Co-Authored-By: Paolo Carlini <pcarlini@suse.de>

From-SVN: r97842
2005-04-08 17:31:33 +00:00
Kazu Hirata
db77171de4 genattrtab.c (attr_desc): Remove negative_ok and unsigned_p.
* genattrtab.c (attr_desc): Remove negative_ok and unsigned_p.
	(check_attr_value, write_attr_get, write_expr_attr_cache,
	find_attr, make_internal_attr): Don't reference negative_ok or
	unsigned_p.
	* genattrtab.h (ATTR_NEGATIVE_OK, ATTR_UNSIGNED,
	ATTR_FUNC_UNITS, ATTR_BLOCKAGE): Remove.
	(ATTR_STATIC): Adjust the value.

From-SVN: r97841
2005-04-08 17:20:15 +00:00
Kazu Hirata
54c1f9206d * tree.h (STRIP_MAIN_TYPE_NOPS): Remove.
From-SVN: r97840
2005-04-08 17:13:31 +00:00
Kazu Hirata
df696025bc * function.h (nonlocal_labels): Remove.
From-SVN: r97839
2005-04-08 17:12:03 +00:00
Kazu Hirata
bdad3e2df6 function.h (function): Remove instrument_entry_exit.
* function.h (function): Remove instrument_entry_exit.
	(current_function_instrument_entry_exit): Remove.

From-SVN: r97838
2005-04-08 17:10:37 +00:00
Kazu Hirata
5acbdd12d9 function.c (push_function_context_to): Don't set contains_functions.
* function.c (push_function_context_to): Don't set
	contains_functions.
	* function.h (function): Remove contains_functions.
	(current_function_contains_functions): Remove.

From-SVN: r97837
2005-04-08 17:09:20 +00:00
Kazu Hirata
da25d93e46 * c-tree.h (C_LANG_TREE_NODE_CHAIN_NEXT): Remove.
From-SVN: r97836
2005-04-08 17:07:49 +00:00
Ulrich Weigand
937d85bac5 * config/s390/tpf.h (ASM_SPEC): Define.
From-SVN: r97832
2005-04-08 16:59:40 +00:00
Kazu Hirata
e7e094467b tree-flow.h: Remove the prototype for redirect_immediate_uses.
* tree-flow.h: Remove the prototype for
	redirect_immediate_uses.
	(TDFA_USE_OPS, TDFA_USE_VOPS): Remove.

From-SVN: r97830
2005-04-08 15:32:38 +00:00
Richard Earnshaw
b4a58f80ff arm.c (arm_const_double_by_parts): New function.
* arm.c (arm_const_double_by_parts): New function.
	* arm-protos.h (arm_const_double_by_parts): Add prototype.
	* arm.md (define_split for 64-bit constants): Add another one.

From-SVN: r97828
2005-04-08 13:34:27 +00:00
Andrew MacLeod
3623aa7017 tree-ssa-operands.c (correct_use_link): Remove linear scan.
2005-04-08  Andrew MacLeod  <amacleod@redhat.com>

	* tree-ssa-operands.c (correct_use_link): Remove linear scan.

From-SVN: r97827
2005-04-08 13:09:26 +00:00
Kaveh R. Ghazi
627aa08ae9 * system.h: Revert last change.
From-SVN: r97826
2005-04-08 11:23:32 +00:00
Francois-Xavier Coudert
43e1c5f720 re PR fortran/17229 (parser confused by arithmetic if inside an if)
PR fortran/17229

	* match.c (gfc_match_arithmetic_if): New function to match an
	arithmetic IF statement.
	(gfc_match_if): Use gfc_match_arithmetic_if to match an
	arithmetic IF statement embedded in a simple IF statement.

	* gfortran.dg/pr17229.f: New test.

From-SVN: r97825
2005-04-08 10:56:59 +00:00
Richard Sandiford
66beb87a64 * config/xtensa/xtensa.h (target_flags, MASK_NO_FUSED_MADD)
(MASK_CONST16, TARGET_NO_FUSED_MADD, TARGET_CONST16)
	(TARGET_SWITCHES): Delete.
	* config/xtensa/xtensa.c (TARGET_DEFAULT_TARGET_FLAGS): Define.
	* config/xtensa/xtensa.md (muladdsf3, mulsubsf3): Check
	TARGET_FUSED_MADD instead of !TARGET_NO_FUSED_MADD.
	* config/xtensa/xtensa.opt: New file.

From-SVN: r97822
2005-04-08 07:57:27 +00:00
Ben Elliston
1a269cbb57 fp-bit.c: Include L_mul_tf in #endif comment.
* config/fp-bit.c: Include L_mul_tf in #endif comment.
	* config/fp-bit.h: Tidy comments.

From-SVN: r97819
2005-04-08 11:51:00 +10:00
Kelley Cook
bffc79099a acconfig.h: Sort the bottom section.
2005-04-08  Kelley Cook  <kcook@gcc.gnu.org>

	* acconfig.h: Sort the bottom section.
	* config.h.in: Regenerate.

From-SVN: r97818
2005-04-08 01:23:25 +00:00
Kelley Cook
2d5feb1680 acconfig.h: Remove redundant HAVE_FLOAT_H.
2005-04-08  Kelley Cook  <kcook@gcc.gnu.org>

	* acconfig.h: Remove redundant HAVE_FLOAT_H.
	* config.h.in: Regenerate.

From-SVN: r97817
2005-04-08 01:05:01 +00:00
Kaveh R. Ghazi
d502f210b9 system.h: Poison PARAMS.
* system.h: Poison PARAMS.

java:
	* java-tree.h: Don't use PARAMS().

From-SVN: r97816
2005-04-08 01:02:59 +00:00
Kelley Cook
3a24bf5d16 configure.ac: Create template for PACKAGE and VERSION.
2005-04-08  Kelley Cook  <kcook@gcc.gnu.org>

	* configure.ac: Create template for PACKAGE and VERSION.
	Update comment on how to regenerate file.  Update minimum
	automake version to 1.9.3.
	* acconfig.h: Remove PACKAGE and VERSION.
	* aclocal.m4, configure, Makefile.in, po/Makefile.in,
	src/Makefile.in, include/Makefile.in, libmath/Makefile.in,
	testsuite/Makefile.in, config.h.in: Regenerate.

From-SVN: r97815
2005-04-08 00:59:08 +00:00
GCC Administrator
1f251bcebe Daily bump.
[[Split portion of a mixed commit.]]

From-SVN: r97813.2
2005-04-08 00:16:18 +00:00
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