Commit Graph

55452 Commits

Author SHA1 Message Date
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
Jan Hubicka 9b9bd3b207 * expr.c (store_constructor): Fix pasto in previous patch.
From-SVN: r75327
2004-01-02 16:13:14 +00:00
Richard Sandiford 71af26210f Add 2004 to copyright after last commit.
From-SVN: r75326
2004-01-02 15:57:16 +00:00
Richard Sandiford 8748dc22ae re PR c++/12729 (mipsisa64-elf regressions: g++.old-deja/g++.jason/thunk1.C, thunk2.C)
PR target/12729
	* method.c (use_thunk): Pass the CALL_EXPR through force_target_expr.

From-SVN: r75325
2004-01-02 15:54:08 +00:00
Kazu Hirata 43f3a59d9f cygming.h: Fix comment formatting.
* config/i386/cygming.h: Fix comment formatting.
	* config/i386/djgpp.h: Likewise.
	* config/i386/gthr-win32.c: Likewise.
	* config/i386/i386-interix.h: Likewise.
	* config/i386/i386.c: Likewise.
	* config/i386/i386.h: Likewise.
	* config/i386/openbsd.h: Likewise.
	* config/i386/winnt.c: Likewise.
	* config/i386/xm-mingw32.h: Likewise.

From-SVN: r75324
2004-01-02 15:30:43 +00:00
Kriang Lerdsuwanakij b0bc6e8e6c re PR c++/13520 (gcc crashes with inheritance + default template parameter of nested template type)
PR c++/13520
	* cp-tree.h (DECL_UNBOUND_CLASS_TEMPLATE_P): New macro.
	(DECL_FUNCTION_TEMPLATE_P): Use it.
	(DECL_CLASS_TEMPLATE_P): Likewise.
	* parser.c (cp_parser_lookup_name): Add is_template parameter.
	(cp_parser_type_parameter): Adjust call to cp_parser_lookup_name.
	(cp_parser_template_name): Likewise.
	(cp_parser_elaborated_type_specifier): Likewise.
	(cp_parser_namespace_name): Likewise.
	(cp_parser_class_name): Likewise.
	(cp_parser_lookup_name_simple): Likewise.

	* g++.dg/template/qualttp22.C: New test.

From-SVN: r75321
2004-01-02 11:41:51 +00:00
Joseph Myers daef8bbd72 gcc.texi, [...]: Update copyright and last modification dates.
* doc/gcc.texi, doc/invoke.texi, doc/install.texi: Update
	copyright and last modification dates.

From-SVN: r75319
2004-01-02 10:58:43 +00:00
Andreas Jaeger 7e081a0cf3 install.texi (Specific): Mention x86_64.
2004-01-02  Andreas Jaeger  <aj@suse.de>, Gerald Pfeifer  <gp@suse.de>

	* doc/install.texi (Specific): Mention x86_64.

From-SVN: r75317
2004-01-02 10:42:10 +01:00
Gerald Pfeifer 67a1d89df9 update_version: Add some documentation.
* update_version: Add some documentation.

	* update_version (ADD_BRANCHES): Add lno-branch.

From-SVN: r75316
2004-01-02 08:36:59 +00:00
GCC Administrator 85da5487a5 Daily bump.
From-SVN: r75313
2004-01-02 00:16:07 +00:00
Hans-Peter Nilsson ac3f5df709 builtins.c (expand_builtin_apply_args_1): Call force_operand on plus_constant result.
* builtins.c (expand_builtin_apply_args_1) [STACK_GROWS_DOWNWARD]:
	Call force_operand on plus_constant result.

From-SVN: r75306
2004-01-01 17:17:00 +00:00
Jan Hubicka 997404de62 expmed.c (store_bit_field, [...]): Use new named patterns
* expmed.c (store_bit_field, extract_bit_field): Use new named patterns
	* expr.c (store_constructor): Use vec_init pattern.
	* genopinit.c (optabs): Initailize vec_set/vec_extract/vec_init.
	* optabs.h (optab_index): ADD OTI_vec_set/OTI_vec_extract/OTI_vec_init
	(vec_set_optab, vec_extract_optab, vec_init_optab): New.
	* i386.md (vec_setv2df, vec_extractv2df, vec_setv4sf, vec_extractv4sf):
	New patterns.
	(sse2_unpc?pd): Fix pattern.
	(sse2_movlpd): Kill.
	(sse2_movsd): Deal with movlpd too.
	* i386.c (ix86_expand_builtin): Use sse2_movsd instead of sse2_movlpd.
	(ix86_expand_vector_init): New.
	* emmintrin.h (__mm_set_pd, __mm_set_ps): Use vector extensions.
	* md.texi (vec_set, vec_extract): Document

From-SVN: r75304
2004-01-01 14:13:44 +00:00
Jan Hubicka b684a3df8e re PR rtl-optimization/13473 (cc1 segfault w/-march=pentium4)
PR opt/13473
	* recog.c (validate_replace_rtx_1):  Take care for RTL sharing inside
	ASM input operands

	PR opt/12617
	* toplev.c (dump_file_index): Reorder ce3 and bbro.
	(dump_file): Likewise.
	(rest_of_compilation): Likewise.

	PR debug/13367
	* cgraph.c (cgraph_function_possibly_inlined):  Even with
	flag_really_no_inline we inline always_inline functions.
	* cgraphunit.c (cgraph_analyze_function): Clear inlinable flag
	for non-always_inline functions when there is flag_really_no_inline.
	(cgraph_decide_inlining): Limit work done when not inlining.
	(cgraph_decide_inlining_incrementally): Likewise.
	(cgraph_optimize_function): Check whether something got inlined.
	* c-objc-common.c (c_disregard_inline_limits): Do not always inline
	extern inline functions when not inlining.

	* opts.c (decode_options):  Disable crossjumping at -O1
	* invoke.texi (-O1): Document change.

	* gcc.dg/debug/20031231-1.c: New.
	* gcc.c-torture/compile/20040101-1.c: New.
	* gcc.dg/dwarf-die-[1-7].c: New.

From-SVN: r75303
2004-01-01 13:59:02 +00:00
Jakub Jelinek 74aa338ad5 re PR rtl-optimization/13521 ([3.3 only] Endless loop in calculate_global_regs_live)
PR optimization/13521
	* gcc.c-torture/compile/20031231-1.c: New test.

From-SVN: r75301
2004-01-01 14:21:18 +01:00
Kazu Hirata 837b841791 Fix a typo.
From-SVN: r75291
2004-01-01 00:48:12 +00:00
Kazu Hirata 611914828d Rotate ChangeLog.
From-SVN: r75290
2004-01-01 00:43:21 +00:00
Kazu Hirata cd14f58cb8 Rotate ChangeLog
From-SVN: r75289
2004-01-01 00:32:08 +00:00