55218 Commits

Author SHA1 Message Date
Steven Bosscher
816bc01fa3 I am a moron.
From-SVN: r75421
2004-01-05 09:35:05 +00:00
Richard Sandiford
a6008bd88a mips-protos.h (mips_dangerous_for_la25_p): Declare.
* config/mips/mips-protos.h (mips_dangerous_for_la25_p): Declare.
	(mips_preferred_reload_class): Declare.
	* config/mips/mips.h (DANGEROUS_FOR_LA25_P): Replace with function.
	(EXTRA_CONSTRAINT): Update accordingly.
	(PREFERRED_RELOAD_CLASS): Use mips_preferred_reload_class.
	* config/mips/mips.c (mips_dangerous_for_la25_p): New function.
	(mips_preferred_reload_class): New function.  Prefer LEA_REGS if
	mips_dangerous_for_la25_p.
	(mips_secondary_reload_class): Use LEA_REGS rather than GR_REGS
	if mips_dangerous_for_la25_p.

From-SVN: r75420
2004-01-05 09:32:19 +00:00
Mark Mitchell
543ebd4aea re PR c++/13157 (Argument Dependent Lookup Failure)
PR c++/13157
	* name-lookup.c (lookup_using_namespace): Remove spacesp
	parameter.
	(unqualified_namespace_lookup): Likewise.
	(lookup_qualified_name): Adjust accordingly.
	(lookup_name_real): Likewise.
	(lookup_arg_dependent): Do not eliminate the namespace of the
	functions found by unqualified name lookup unless that is the
	current namespace.

	PR c++/13157
	* g++.dg/template/koenig3.C: New test.

From-SVN: r75416
2004-01-05 06:24:47 +00:00
Andrew Pinski
572c2b17aa semantics.c (push_deferring_access_checks): Fix format.
* semantics.c (push_deferring_access_checks): Fix format.
	(resume_deferring_access_checks): Likewise.
	(stop_deferring_access_checks): Likewise.
	(pop_deferring_access_checks): Likewise.
	(get_deferred_access_checks): Likewise.
	(pop_to_parent_deferring_access_checks): Likewise.
	(perform_deferred_access_checks): Likewise.
	(perform_or_defer_access_check): Likewise.

From-SVN: r75415
2004-01-04 21:47:16 -08:00
Richard Henderson
88401f735c call.c (build_over_call): Don't create a save_expr of an aggregate, but rather its address.
* call.c (build_over_call): Don't create a save_expr of an
        aggregate, but rather its address.

From-SVN: r75414
2004-01-04 21:37:06 -08:00
Nathanael Nerode
2b6c260d73 configure.in: Use ./config.cache, not config.cache.
* configure.in: Use ./config.cache, not config.cache.
	* configure: Regenerate.
	* Makefile.tpl: Special-casing not needed for GCC any more.
	* Makefile.in: Regenerate.

From-SVN: r75413
2004-01-05 04:37:53 +00:00
Bernardo Innocenti
d7b3c08535 m68k.c (output_andsi3): Fix signed/unsigned comparison warning.
* config/m68k/m68k.c (output_andsi3): Fix signed/unsigned comparison
	warning.

From-SVN: r75412
2004-01-05 05:13:49 +01:00
Nathanael Nerode
ca9bc441e4 configure.ac: Use AC_PROG_CPP_WERROR.
* configure.ac: Use AC_PROG_CPP_WERROR.
	* configure: Regenerate.

From-SVN: r75411
2004-01-05 03:21:24 +00:00
Mark Mitchell
955d023464 re PR c++/13529 (offsetof() with member-designator containing member access broken)
PR c++/13529
	* parser.c (cp_parser_postfix_expression): Allow "." to appear in
	an offsetof expression.

	PR c++/13529
	* g++.dg/parse/offsetof3.C: New test.

From-SVN: r75410
2004-01-05 01:52:57 +00:00
Mark Mitchell
643aee72b3 * parser.c (cp_parser_parameter_declaration): Fix comment.
From-SVN: r75409
2004-01-05 01:30:10 +00:00
Mark Mitchell
ae0eb5f1bc * g++.dg/init/copy7.C: Add missing dg-error markers.
From-SVN: r75408
2004-01-05 01:28:26 +00:00
Nathanael Nerode
09438bde07 configure.in: Don't share a cache file for host dirs.
* configure.in: Don't share a cache file for host dirs.
	* configure: Regenerate.

From-SVN: r75407
2004-01-05 00:49:59 +00:00
Nathanael Nerode
8b21cda69e * config-ml.in: Don't mess with the cache file.
From-SVN: r75406
2004-01-05 00:41:14 +00:00
Zack Weinberg
016d7f3e4f * .cvsignore: Add autom4te.cache.
From-SVN: r75405
2004-01-05 00:39:35 +00:00
GCC Administrator
9fd77fa8fd Daily bump.
From-SVN: r75402
2004-01-05 00:16:08 +00:00
Paolo Carlini
22ed0590a4 2004-01-04 Paolo Carlini <pcarlini@suse.de>
* Fix year in the Changelog entry of last commit.

From-SVN: r75399
2004-01-04 23:26:31 +00:00
Paolo Carlini
223b5084a6 01.cc: Remove redundant #includes.
2003-01-04  Paolo Carlini  <pcarlini@suse.de>

	* testsuite/27_io/basic_istream/extractors_arithmetic/char/01.cc:
	Remove redundant #includes.
	* testsuite/27_io/basic_istream/extractors_arithmetic/char/02.cc:
	Likewise.
	* testsuite/27_io/basic_istream/extractors_arithmetic/char/03.cc:
	Likewise.
	* testsuite/27_io/basic_istream/extractors_arithmetic/char/06.cc:
	Likewise.
	* testsuite/27_io/basic_istream/extractors_arithmetic/char/07.cc:
	Likewise.
	* testsuite/27_io/basic_istream/extractors_arithmetic/char/08.cc:
	Likewise.
	* testsuite/27_io/basic_istream/extractors_arithmetic/char/09.cc:
	Likewise.
	* testsuite/27_io/basic_istream/extractors_arithmetic/char/10.cc:
	Likewise.
	* testsuite/27_io/basic_istream/extractors_arithmetic/char/11.cc:
	Likewise.
	* testsuite/27_io/basic_istream/extractors_arithmetic/char/13.cc:
	Likewise.
	* testsuite/27_io/basic_ostream/inserters_arithmetic/char/1.cc:
	Likewise.
	* testsuite/27_io/basic_ostream/inserters_arithmetic/char/2.cc:
	Likewise.
	* testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/1.cc:
	Likewise.

From-SVN: r75398
2004-01-04 23:19:00 +00:00
Mark Mitchell
4f8163b19c re PR c++/12226 (g++ fails to enforce accessibility requirement for copy constructor)
PR c++/12226
	* call.c (CHECK_COPY_CONSTRUCTOR_P): New macro.
	(reference_binding): Set it when appropriate.
	(build_temp): New function, split out from ...
	(convert_like_real): ... here.  Honor CHECK_COPY_CONSTRUCTOR_P.
	(initialize_reference): Likewise.

	PR c++/12226
	* g++.dg/init/copy7.c: New test.

	PR c++/12226
	* testsuite/27_io/basic_filebuf/4.cc: Remove use of invalid copy
	constructor.
	* testsuite/27_io/basic_fstream/4.cc: Likewise.
	* testsuite/27_io/basic_ifstream/4.cc: Likewise.
	* testsuite/27_io/basic_ios/4.cc: Likewise.
	* testsuite/27_io/basic_iostream/4.cc: Likewise.
	* testsuite/27_io/basic_istream/4.cc: Likewise.
	* testsuite/27_io/basic_istingstream/4.cc: Likewise.
	* testsuite/27_io/basic_ofstream/4.cc: Likewise.
	* testsuite/27_io/basic_ostream/4.cc: Likewise.
	* testsuite/27_io/basic_ostringstream/4.cc: Likewise.
	* testsuite/27_io/basic_stringbuf/5.cc: Likewise.
	* testsuite/27_io/basic_stringstream/4.cc: Likewise.

	PR c++/13536
	* parser.c (cp_parser): Add in_type_id_in_expr_p.
	(cp_parser_new): Initialize it.
	(cp_parser_postfix_expression): Set it.
	(cp_parser_sizeof_operand): Likewise.
	(cp_parser_parameteR_declaration): Do not commit early to tenative
	parsers when in_type_id_in_expr_p is set.

	PR c++/13536
	* g++.dg/parse/cast1.C: New test.

From-SVN: r75397
2004-01-04 22:42:22 +00:00
Richard Sandiford
5a4b3afd3d invoke.texi: Revamp documentation of MIPS options.
* doc/invoke.texi: Revamp documentation of MIPS options.  Remove
	-mabi=meabi, -mabi-fake-default, -mmips-as, -mgas, -mmips-tfile,
	-m4650, -mfix7000 and -(m)no-crt0.  Put endianness options first,
	then architecture options, then ABI options.  General rewording.

From-SVN: r75396
2004-01-04 22:19:40 +00:00
Joseph Myers
928a5ba991 re PR c/3414 (Inaccurate documentation of __attribute__((malloc)))
PR c/3414
	* doc/extend.texi: Clarify definition of malloc attribute.

From-SVN: r75395
2004-01-04 20:37:52 +00:00
Paolo Carlini
17fa55600a numeric_members.cc (_M_initialize_numpunct): Avoid unnecessarily zero terminating _M_atoms_out and _M_atoms_in...
2004-01-04  Paolo Carlini  <pcarlini@suse.de>

	* config/locale/generic/numeric_members.cc (_M_initialize_numpunct):
	Avoid unnecessarily zero terminating _M_atoms_out and _M_atoms_in;
	always use double underscored names.
	* config/locale/gnu/numeric_members.cc (_M_initialize_numpunct):
	Likewise.
	* include/bits/locale_facets.h (struct __numpunct_cache):
	Dimension _M_atoms_out and _M_atoms_in one position smaller.
	(__numpunct_cache<>::_M_cache): Don't zero terminate _M_atoms_out
	and _M_atoms_in.

From-SVN: r75393
2004-01-04 18:34:27 +00:00
Jan Hubicka
dc0bfe6a35 Makefile.in (cgraph.o, [...]): Add intl.h dependency.
* Makefile.in (cgraph.o, cgraphunit.o): Add intl.h dependency.
	* cgraph.c (create_edge, dump_cgraph): Update to use inline_failed
	* cgraph.h (cgraph_edge): Replace inline_call by inline_failed
	(cgraph_inline_p): Add extra argument reason.
	* cgraphunit.c: Minor formating fixes.
	cgraph_first_inlined_callee): New functions.
	(record_call_1): Record builtins too.
	(cgraph_analyze_function): Update inline_failed messages.
	(cgraph_mark_functions_to_output, cgraph_expand_function, cgraph_inlined_into,
	cgraph_inlined_callees, cgraph_estimate_growth): Update to use inline_failed.
	(cgraph_check_inline_limits): Likewise; Add argument reason.
	(cgraph_set_inline_failed): New static function.
	(cgraph_decide_inlining_of_small_function, cgraph_decide_inlining): Set
	reasons.
	(cgraph_inline_p): Add new argument reason.
	* tree-inline.c (expand_call_inline):  Update warning.

From-SVN: r75391
2004-01-04 14:39:13 +00:00
Eric Botcazou
e42870dffe MAINTAINERS: Move myself from 'Write After Approval' to 'CPU Port Maintainers' section as...
* MAINTAINERS: Move myself from 'Write After Approval' to
	'CPU Port Maintainers' section as SPARC maintainer.

From-SVN: r75387
2004-01-04 14:05:52 +00:00
Matthias Klose
e44b879c82 aclocal.m4: Rebuilt using "aclocal -I .".
2004-01-04  Matthias Klose  <doko@debian.org>

        * aclocal.m4: Rebuilt using "aclocal -I .".
        * configure: Rebuilt.

From-SVN: r75383
2004-01-04 09:18:06 +00:00
Per Bothner
5814ecc2da Date.java (parse): Fix a number of problems.
* java/util/Date.java (parse):  Fix a number of problems.
	(skipParens):  Remove no-longer-needed method.

From-SVN: r75381
2004-01-03 16:32:50 -08:00
GCC Administrator
e237c8f52a Daily bump.
From-SVN: r75378
2004-01-04 00:16:08 +00:00
Joseph Myers
879b71015b update_web_docs: Create tarballs of documentation sources and HTML docs.
* update_web_docs: Create tarballs of documentation sources and
	HTML docs.

From-SVN: r75372
2004-01-03 21:16:13 +00:00
Steven Bosscher
ca35b54689 Fix messed up accidental commit.
From-SVN: r75368
2004-01-03 19:58:40 +00:00
Andrew Pinski
c5d1156b32 gcc_update (files_and_dependencies): For gcc directory, rename configure.in to configure.ac.
2004-01-03  Andrew Pinski  <pinskia@physics.uc.edu>

        * gcc_update (files_and_dependencies): For gcc directory,
        rename configure.in to configure.ac.

From-SVN: r75367
2004-01-03 11:55:35 -08:00
Nathanael Nerode
914c5af703 configure.ac: Replace AC_INIT, AC_OUTPUT, AC_CANONICAL_SYSTEM with modern equivalents.
* configure.ac: Replace AC_INIT, AC_OUTPUT, AC_CANONICAL_SYSTEM
	with modern equivalents.
	* configure: Regenerate.

From-SVN: r75366
2004-01-03 19:04:34 +00:00
Nathanael Nerode
8b4fc07a52 Missed in last commit:
* configure.ac: Replace gcc_AC_CHECK_TYPE with AC_CHECK_TYPE.
        * aclocal.m4 (gcc_AC_CHECK_TYPE): Remove.
        * configure: Regenerate.

From-SVN: r75365
2004-01-03 19:01:09 +00:00
Nathanael Nerode
78c9cb993d configure.ac: Replace gcc_AC_CHECK_TYPE with AC_CHECK_TYPE.
* configure.ac: Replace gcc_AC_CHECK_TYPE with AC_CHECK_TYPE.
        * aclocal.m4 (gcc_AC_CHECK_TYPE): Remove.
        * configure: Regenerate.

From-SVN: r75364
2004-01-03 18:59:32 +00:00
Nathanael Nerode
d44f1a00b9 * doc/install.texi: Note that 'gcc' is now a 2.57 directory.
From-SVN: r75363
2004-01-03 18:55:26 +00:00
Nathanael Nerode
ba479fd256 configure.in: Rename to configure.ac.
* configure.in: Rename to configure.ac.
	* configure.ac: Renamed from configure.in; make minimum necessary
	changes for autoconf 2.5x.
	* aclocal.m4: Make minimum necessary changes for autoconf 2.5x.
	* configure: Regenerate with autoconf 2.57.

From-SVN: r75362
2004-01-03 18:52:58 +00:00
Kazu Hirata
031a26c5b7 linux.h: Fix comment formatting.
* config/mips/linux.h: Fix comment formatting.
	* config/mips/mips.c: Likewise.
	* config/mips/mips.h: Likewise.
	* config/mips/mips.md: Likewise.
	* config/mips/netbsd.h: Likewise.
	* config/mips/windiss.h: Likewise.

From-SVN: r75361
2004-01-03 18:33:14 +00:00
Nathanael Nerode
78a816a6ec Makefile.tpl: Make GCC use a separate config.cache.
* Makefile.tpl: Make GCC use a separate config.cache.
	* Makefile.in: Regenerate.

From-SVN: r75360
2004-01-03 18:29:57 +00:00
Nathanael Nerode
6b9eb62c84 PR bootstrap/11932, PR bootstrap/11933
PR bootstrap/11932, PR bootstrap/11933
	(I don't know if it will fix either of them, but it relates
	to them.)
	* configure.in: Don't use shared config.cache for target
	directories.
	* configure: Regenerate.

From-SVN: r75359
2004-01-03 18:23:22 +00:00
Kriang Lerdsuwanakij
5b4acce124 parser.c (cp_parser_template_argument): Don't call make_unbound_class_template directly.
* parser.c (cp_parser_template_argument): Don't call
	make_unbound_class_template directly.
	(cp_parser_lookup_name): Don't extract TEMPLATE_DECL from
	UNBOUND_CLASS_TEMPLATE tree node.

From-SVN: r75356
2004-01-03 08:25:38 +00:00
Dan Nicolaescu
86d7b5621f *** empty log message ***
From-SVN: r75353
2004-01-03 01:52:03 +00:00
Richard Henderson
b87cfcfbe3 i386.md (fp constant pool splitter): Reorg suppression for sse and 387; add suppression for mmx.
* config/i386/i386.md (fp constant pool splitter): Reorg suppression
        for sse and 387; add suppression for mmx.

From-SVN: r75349
2004-01-02 16:40:31 -08:00
GCC Administrator
af4490a4c8 Daily bump.
From-SVN: r75344
2004-01-03 00:16:07 +00:00
Andrew Pinski
9d85830f7e loop.c (loop_optimize): Free all loops_info's mems.
2004-01-02  Andrew Pinski  <pinskia@physics.uc.edu>

        * loop.c (loop_optimize): Free all loops_info's mems.

From-SVN: r75339
2004-01-02 15:14:41 -08:00
Andrew Pinski
2f89bbc185 Update forgotten updated copy right years.
From-SVN: r75338
2004-01-02 14:44:27 -08:00
Andrew Pinski
36579663a4 c-typeck.c (finish_init): Free spelling_base before setting it again.
2004-01-02  Andrew Pinski  <pinskia@physics.uc.edu>

        * c-typeck.c (finish_init): Free spelling_base before
        setting it again.

        * cfgloop.c (flow_loops_find): Always free the sbitmap
        headers.

        * predict.c (estimate_probability): Free bbs after being
        done with it.

From-SVN: r75337
2004-01-02 14:42:31 -08:00
Ian Lance Taylor
e4796f1c88 cp-demangle.c (d_encoding): When DMGL_PARAMS is not set...
* cp-demangle.c (d_encoding): When DMGL_PARAMS is not set, strip
	CV-qualifiers from D_COMP_LOCAL_NAME right subtree.
	* cplus-dem.c (demangle_arm_hp_template): Set DMGL_PARAMS when
	demangling template parameters.
	* testsuite/test-demangle.c (fail): New static function.
	(main): Support new options in input file: --no-params,
	--is-v3-ctor, and --is-v3-dtor.
	* testsuite/demangle-expected: Add --no-params to most tests, and
	add the correct result when parameters are not demangled.  Add
	some simple tests for V3 constructor/destructor recognition.

From-SVN: r75336
2004-01-02 20:33:55 +00:00
Kazu Hirata
3864b6fe3d mn10300.h (PREDICATE_CODES): Add const_8bit_operand and call_address_operand.
* config/mn10300/mn10300.h (PREDICATE_CODES): Add
	const_8bit_operand and call_address_operand.

From-SVN: r75334
2004-01-02 18:23:10 +00:00
Jan Hubicka
8b6bd5d717 cgraphunit.c (cgraph_optimize_function): Call optimize_inline_calls when there is nothing to inline but warnings are...
* cgraphunit.c (cgraph_optimize_function):  Call optimize_inline_calls
	when there is nothing to inline but warnings are requested.
	(cgraph_decide_inlining):  Fix memory leak.

From-SVN: r75333
2004-01-02 18:06:16 +00:00
Kazu Hirata
fa0e53a48a Add Steven's entry.
From-SVN: r75331
2004-01-02 17:57:54 +00:00
Kazu Hirata
1e5c54affe Add a missing ChangeLog entry.
From-SVN: r75330
2004-01-02 17:51:13 +00:00
Kazu Hirata
cabb656445 Add a missing ChangeLog entry.
From-SVN: r75329
2004-01-02 17:42:05 +00:00