gcc.git
20 years ago* doc/invoke.texi: Remove traces of dead ports.
Kazu Hirata [Mon, 5 Jan 2004 15:06:36 +0000 (15:06 +0000)]
* doc/invoke.texi: Remove traces of dead ports.

From-SVN: r75430

20 years agore PR c++/13387 (assignment to base class corrupts subclass)
Nathan Sidwell [Mon, 5 Jan 2004 10:15:07 +0000 (10:15 +0000)]
re PR c++/13387 (assignment to base class corrupts subclass)

PR c++/13387
* g++.dg/opt/alias3.C: New test.

Co-Authored-By: Richard Sandiford <rsandifo@redhat.com>
From-SVN: r75427

20 years agoFix typo (double "for"s).
Richard Sandiford [Mon, 5 Jan 2004 10:03:38 +0000 (10:03 +0000)]
Fix typo (double "for"s).

From-SVN: r75426

20 years agoUpdate copyright dates after recent commits.
Richard Sandiford [Mon, 5 Jan 2004 09:59:41 +0000 (09:59 +0000)]
Update copyright dates after recent commits.

From-SVN: r75425

20 years agoinvoke.texi: Add documentation for the MIPS -mexplicit-relocs option.
Richard Sandiford [Mon, 5 Jan 2004 09:39:06 +0000 (09:39 +0000)]
invoke.texi: Add documentation for the MIPS -mexplicit-relocs option.

* doc/invoke.texi: Add documentation for the MIPS -mexplicit-relocs
option.

From-SVN: r75423

20 years agore PR c++/12945 (MIPS g++.old-deja/g++.abi/ptrflags.C fails.)
Richard Sandiford [Mon, 5 Jan 2004 09:37:02 +0000 (09:37 +0000)]
re PR c++/12945 (MIPS g++.old-deja/g++.abi/ptrflags.C fails.)

PR target/12945
* coverage.c (coverage_counter_alloc): Set SYMBOL_FLAG_LOCAL for
for counter labels.
* config/mips/mips.c (INTERNAL_SYMBOL_P): Delete.
(mips_classify_symbol): Always treat SYMBOL_REF_FLAG as indicating
string constants if TARGET_MIPS16.  Use SYMBOL_REF_DECL to check
the binding of decl symbols, otherwise check SYMBOL_REF_LOCAL_P.
(mips_symbol_insns): Don't trust the local/global classification.
(m16_usym8_4, m16_usym5_4): Same mips16 change as mips_classify_symbol.
(override_options): Make -mabicalls -fno-unit-at-a-time imply
-mno-explicit-relocs.
(mips_encode_section_info): Don't use SYMBOL_REF_FLAG to distinguish
between local and global symbols.

From-SVN: r75422

20 years agoI am a moron.
Steven Bosscher [Mon, 5 Jan 2004 09:35:05 +0000 (09:35 +0000)]
I am a moron.

From-SVN: r75421

20 years agomips-protos.h (mips_dangerous_for_la25_p): Declare.
Richard Sandiford [Mon, 5 Jan 2004 09:32:19 +0000 (09:32 +0000)]
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

20 years agore PR c++/13157 (Argument Dependent Lookup Failure)
Mark Mitchell [Mon, 5 Jan 2004 06:24:47 +0000 (06:24 +0000)]
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

20 years agosemantics.c (push_deferring_access_checks): Fix format.
Andrew Pinski [Mon, 5 Jan 2004 05:47:16 +0000 (05:47 +0000)]
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

20 years agocall.c (build_over_call): Don't create a save_expr of an aggregate, but rather its...
Richard Henderson [Mon, 5 Jan 2004 05:37:06 +0000 (21:37 -0800)]
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

20 years agoconfigure.in: Use ./config.cache, not config.cache.
Nathanael Nerode [Mon, 5 Jan 2004 04:37:53 +0000 (04:37 +0000)]
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

20 years agom68k.c (output_andsi3): Fix signed/unsigned comparison warning.
Bernardo Innocenti [Mon, 5 Jan 2004 04:13:49 +0000 (05:13 +0100)]
m68k.c (output_andsi3): Fix signed/unsigned comparison warning.

* config/m68k/m68k.c (output_andsi3): Fix signed/unsigned comparison
warning.

From-SVN: r75412

20 years agoconfigure.ac: Use AC_PROG_CPP_WERROR.
Nathanael Nerode [Mon, 5 Jan 2004 03:21:24 +0000 (03:21 +0000)]
configure.ac: Use AC_PROG_CPP_WERROR.

* configure.ac: Use AC_PROG_CPP_WERROR.
* configure: Regenerate.

From-SVN: r75411

20 years agore PR c++/13529 (offsetof() with member-designator containing member access broken)
Mark Mitchell [Mon, 5 Jan 2004 01:52:57 +0000 (01:52 +0000)]
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

20 years ago* parser.c (cp_parser_parameter_declaration): Fix comment.
Mark Mitchell [Mon, 5 Jan 2004 01:30:10 +0000 (01:30 +0000)]
* parser.c (cp_parser_parameter_declaration): Fix comment.

From-SVN: r75409

20 years ago* g++.dg/init/copy7.C: Add missing dg-error markers.
Mark Mitchell [Mon, 5 Jan 2004 01:28:26 +0000 (01:28 +0000)]
* g++.dg/init/copy7.C: Add missing dg-error markers.

From-SVN: r75408

20 years agoconfigure.in: Don't share a cache file for host dirs.
Nathanael Nerode [Mon, 5 Jan 2004 00:49:59 +0000 (00:49 +0000)]
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

20 years ago* config-ml.in: Don't mess with the cache file.
Nathanael Nerode [Mon, 5 Jan 2004 00:41:14 +0000 (00:41 +0000)]
* config-ml.in: Don't mess with the cache file.

From-SVN: r75406

20 years ago* .cvsignore: Add autom4te.cache.
Zack Weinberg [Mon, 5 Jan 2004 00:39:35 +0000 (00:39 +0000)]
* .cvsignore: Add autom4te.cache.

From-SVN: r75405

20 years agoDaily bump.
GCC Administrator [Mon, 5 Jan 2004 00:16:08 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r75402

20 years ago2004-01-04 Paolo Carlini <pcarlini@suse.de>
Paolo Carlini [Sun, 4 Jan 2004 23:26:31 +0000 (23:26 +0000)]
2004-01-04  Paolo Carlini  <pcarlini@suse.de>

* Fix year in the Changelog entry of last commit.

From-SVN: r75399

20 years ago01.cc: Remove redundant #includes.
Paolo Carlini [Sun, 4 Jan 2004 23:19:00 +0000 (23:19 +0000)]
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

20 years agore PR c++/12226 (g++ fails to enforce accessibility requirement for copy constructor)
Mark Mitchell [Sun, 4 Jan 2004 22:42:22 +0000 (22:42 +0000)]
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

20 years agoinvoke.texi: Revamp documentation of MIPS options.
Richard Sandiford [Sun, 4 Jan 2004 22:19:40 +0000 (22:19 +0000)]
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

20 years agore PR c/3414 (Inaccurate documentation of __attribute__((malloc)))
Joseph Myers [Sun, 4 Jan 2004 20:37:52 +0000 (20:37 +0000)]
re PR c/3414 (Inaccurate documentation of __attribute__((malloc)))

PR c/3414
* doc/extend.texi: Clarify definition of malloc attribute.

From-SVN: r75395

20 years agonumeric_members.cc (_M_initialize_numpunct): Avoid unnecessarily zero terminating...
Paolo Carlini [Sun, 4 Jan 2004 18:34:27 +0000 (18:34 +0000)]
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

20 years agoMakefile.in (cgraph.o, [...]): Add intl.h dependency.
Jan Hubicka [Sun, 4 Jan 2004 14:39:13 +0000 (15:39 +0100)]
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

20 years agoMAINTAINERS: Move myself from 'Write After Approval' to 'CPU Port Maintainers' sectio...
Eric Botcazou [Sun, 4 Jan 2004 14:05:52 +0000 (15:05 +0100)]
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

20 years agoaclocal.m4: Rebuilt using "aclocal -I .".
Matthias Klose [Sun, 4 Jan 2004 09:18:06 +0000 (09:18 +0000)]
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

20 years agoDate.java (parse): Fix a number of problems.
Per Bothner [Sun, 4 Jan 2004 00:32:50 +0000 (16:32 -0800)]
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

20 years agoDaily bump.
GCC Administrator [Sun, 4 Jan 2004 00:16:08 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r75378

20 years agoupdate_web_docs: Create tarballs of documentation sources and HTML docs.
Joseph Myers [Sat, 3 Jan 2004 21:16:13 +0000 (21:16 +0000)]
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

20 years agoFix messed up accidental commit.
Steven Bosscher [Sat, 3 Jan 2004 19:58:40 +0000 (19:58 +0000)]
Fix messed up accidental commit.

From-SVN: r75368

20 years agogcc_update (files_and_dependencies): For gcc directory, rename configure.in to config...
Andrew Pinski [Sat, 3 Jan 2004 19:55:35 +0000 (19:55 +0000)]
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

20 years agoconfigure.ac: Replace AC_INIT, AC_OUTPUT, AC_CANONICAL_SYSTEM with modern equivalents.
Nathanael Nerode [Sat, 3 Jan 2004 19:04:34 +0000 (19:04 +0000)]
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

20 years agoMissed in last commit:
Nathanael Nerode [Sat, 3 Jan 2004 19:01:09 +0000 (19:01 +0000)]
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

20 years agoconfigure.ac: Replace gcc_AC_CHECK_TYPE with AC_CHECK_TYPE.
Nathanael Nerode [Sat, 3 Jan 2004 18:59:32 +0000 (18:59 +0000)]
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

20 years ago* doc/install.texi: Note that 'gcc' is now a 2.57 directory.
Nathanael Nerode [Sat, 3 Jan 2004 18:55:26 +0000 (18:55 +0000)]
* doc/install.texi: Note that 'gcc' is now a 2.57 directory.

From-SVN: r75363

20 years agoconfigure.in: Rename to configure.ac.
Nathanael Nerode [Sat, 3 Jan 2004 18:52:58 +0000 (18:52 +0000)]
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

20 years agolinux.h: Fix comment formatting.
Kazu Hirata [Sat, 3 Jan 2004 18:33:14 +0000 (18:33 +0000)]
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

20 years agoMakefile.tpl: Make GCC use a separate config.cache.
Nathanael Nerode [Sat, 3 Jan 2004 18:29:57 +0000 (18:29 +0000)]
Makefile.tpl: Make GCC use a separate config.cache.

* Makefile.tpl: Make GCC use a separate config.cache.
* Makefile.in: Regenerate.

From-SVN: r75360

20 years agoPR bootstrap/11932, PR bootstrap/11933
Nathanael Nerode [Sat, 3 Jan 2004 18:23:22 +0000 (18:23 +0000)]
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

20 years agoparser.c (cp_parser_template_argument): Don't call make_unbound_class_template directly.
Kriang Lerdsuwanakij [Sat, 3 Jan 2004 08:25:38 +0000 (08:25 +0000)]
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

20 years ago*** empty log message ***
Dan Nicolaescu [Sat, 3 Jan 2004 01:52:03 +0000 (01:52 +0000)]
*** empty log message ***

From-SVN: r75353

20 years agoi386.md (fp constant pool splitter): Reorg suppression for sse and 387; add suppressi...
Richard Henderson [Sat, 3 Jan 2004 00:40:31 +0000 (16:40 -0800)]
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

20 years agoDaily bump.
GCC Administrator [Sat, 3 Jan 2004 00:16:07 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r75344

20 years agoloop.c (loop_optimize): Free all loops_info's mems.
Andrew Pinski [Fri, 2 Jan 2004 23:14:41 +0000 (23:14 +0000)]
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

20 years agoUpdate forgotten updated copy right years.
Andrew Pinski [Fri, 2 Jan 2004 22:44:27 +0000 (14:44 -0800)]
Update forgotten updated copy right years.

From-SVN: r75338

20 years agoc-typeck.c (finish_init): Free spelling_base before setting it again.
Andrew Pinski [Fri, 2 Jan 2004 22:42:31 +0000 (22:42 +0000)]
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

20 years agocp-demangle.c (d_encoding): When DMGL_PARAMS is not set...
Ian Lance Taylor [Fri, 2 Jan 2004 20:33:55 +0000 (20:33 +0000)]
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

20 years agomn10300.h (PREDICATE_CODES): Add const_8bit_operand and call_address_operand.
Kazu Hirata [Fri, 2 Jan 2004 18:23:10 +0000 (18:23 +0000)]
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

20 years agocgraphunit.c (cgraph_optimize_function): Call optimize_inline_calls when there is...
Jan Hubicka [Fri, 2 Jan 2004 18:06:16 +0000 (19:06 +0100)]
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

20 years agoAdd Steven's entry.
Kazu Hirata [Fri, 2 Jan 2004 17:57:54 +0000 (17:57 +0000)]
Add Steven's entry.

From-SVN: r75331

20 years agoAdd a missing ChangeLog entry.
Kazu Hirata [Fri, 2 Jan 2004 17:51:13 +0000 (17:51 +0000)]
Add a missing ChangeLog entry.

From-SVN: r75330

20 years agoAdd a missing ChangeLog entry.
Kazu Hirata [Fri, 2 Jan 2004 17:42:05 +0000 (17:42 +0000)]
Add a missing ChangeLog entry.

From-SVN: r75329

20 years ago* expr.c (store_constructor): Fix pasto in previous patch.
Jan Hubicka [Fri, 2 Jan 2004 16:13:14 +0000 (17:13 +0100)]
* expr.c (store_constructor):  Fix pasto in previous patch.

From-SVN: r75327

20 years agoAdd 2004 to copyright after last commit.
Richard Sandiford [Fri, 2 Jan 2004 15:57:16 +0000 (15:57 +0000)]
Add 2004 to copyright after last commit.

From-SVN: r75326

20 years agore PR c++/12729 (mipsisa64-elf regressions: g++.old-deja/g++.jason/thunk1.C, thunk2.C)
Richard Sandiford [Fri, 2 Jan 2004 15:54:08 +0000 (15:54 +0000)]
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

20 years agocygming.h: Fix comment formatting.
Kazu Hirata [Fri, 2 Jan 2004 15:30:43 +0000 (15:30 +0000)]
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

20 years agore PR c++/13520 (gcc crashes with inheritance + default template parameter of nested...
Kriang Lerdsuwanakij [Fri, 2 Jan 2004 11:41:51 +0000 (11:41 +0000)]
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

20 years agogcc.texi, [...]: Update copyright and last modification dates.
Joseph Myers [Fri, 2 Jan 2004 10:58:43 +0000 (10:58 +0000)]
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

20 years agoinstall.texi (Specific): Mention x86_64.
Andreas Jaeger [Fri, 2 Jan 2004 09:42:10 +0000 (10:42 +0100)]
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

20 years agoupdate_version: Add some documentation.
Gerald Pfeifer [Fri, 2 Jan 2004 08:36:59 +0000 (08:36 +0000)]
update_version: Add some documentation.

* update_version: Add some documentation.

* update_version (ADD_BRANCHES): Add lno-branch.

From-SVN: r75316

20 years agoDaily bump.
GCC Administrator [Fri, 2 Jan 2004 00:16:07 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r75313

20 years agobuiltins.c (expand_builtin_apply_args_1): Call force_operand on plus_constant result.
Hans-Peter Nilsson [Thu, 1 Jan 2004 17:17:00 +0000 (17:17 +0000)]
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

20 years agoexpmed.c (store_bit_field, [...]): Use new named patterns
Jan Hubicka [Thu, 1 Jan 2004 14:13:44 +0000 (15:13 +0100)]
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

20 years agore PR rtl-optimization/13473 (cc1 segfault w/-march=pentium4)
Jan Hubicka [Thu, 1 Jan 2004 13:59:02 +0000 (14:59 +0100)]
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

20 years agore PR rtl-optimization/13521 ([3.3 only] Endless loop in calculate_global_regs_live)
Jakub Jelinek [Thu, 1 Jan 2004 13:21:18 +0000 (14:21 +0100)]
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

20 years agoFix a typo.
Kazu Hirata [Thu, 1 Jan 2004 00:48:12 +0000 (00:48 +0000)]
Fix a typo.

From-SVN: r75291

20 years agoRotate ChangeLog.
Kazu Hirata [Thu, 1 Jan 2004 00:43:21 +0000 (00:43 +0000)]
Rotate ChangeLog.

From-SVN: r75290

20 years agoRotate ChangeLog
Kazu Hirata [Thu, 1 Jan 2004 00:32:08 +0000 (00:32 +0000)]
Rotate ChangeLog

From-SVN: r75289

20 years agoDaily bump.
GCC Administrator [Thu, 1 Jan 2004 00:16:08 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r75286

20 years agoconfigure.in (ia64*-*-hpux*): Disable building java libraries.
Roger Sayle [Wed, 31 Dec 2003 23:11:21 +0000 (23:11 +0000)]
configure.in (ia64*-*-hpux*): Disable building java libraries.

* configure.in (ia64*-*-hpux*): Disable building java libraries.
* configure: Regenerated.

From-SVN: r75283

20 years agoprint-rtl.c (print_rtx): For hard register...
Richard Kenner [Wed, 31 Dec 2003 23:02:44 +0000 (23:02 +0000)]
print-rtl.c (print_rtx): For hard register...

* print-rtl.c (print_rtx): For hard register, write out register
number and register name instead of calling PRINT_REG.
* defaults.h (PRINT_REG): Deleted.
* config/i386/i386.c (print_reg): Remove handling of CODE of -1.
Move comments here from i386.h.
(print_operand, print_operand_address): Call print_reg directly.
* config/i386/i386.h (PRINT_REG): Deleted.

From-SVN: r75282

20 years agohpux.h (TARGET_OS_CPP_BUILTINS): Define _INCLUDE_LONGLONG.
Roger Sayle [Wed, 31 Dec 2003 22:54:36 +0000 (22:54 +0000)]
hpux.h (TARGET_OS_CPP_BUILTINS): Define _INCLUDE_LONGLONG.

* config/ia64/hpux.h (TARGET_OS_CPP_BUILTINS): Define
_INCLUDE_LONGLONG.

From-SVN: r75279

20 years agogcc.c (init_spec): Add -lunwind to shared case too if USE_LIBUNWIND_EXCEPTIONS.
Zack Weinberg [Wed, 31 Dec 2003 21:30:22 +0000 (21:30 +0000)]
gcc.c (init_spec): Add -lunwind to shared case too if USE_LIBUNWIND_EXCEPTIONS.

* gcc.c (init_spec): Add -lunwind to shared case too if
USE_LIBUNWIND_EXCEPTIONS.

From-SVN: r75276

20 years ago* de.po: Update.
Joseph Myers [Wed, 31 Dec 2003 21:25:15 +0000 (21:25 +0000)]
* de.po: Update.

From-SVN: r75275

20 years agotexinfo.tex: Update to version 2003-12-21.10.
Joseph Myers [Wed, 31 Dec 2003 21:19:51 +0000 (21:19 +0000)]
texinfo.tex: Update to version 2003-12-21.10.

* doc/include/texinfo.tex: Update to version 2003-12-21.10.
* doc/gcc.texi, doc/gccint.texi: Don't set font for
@def... commands.
* doc/invoke.texi: Don't use empty @opindex.

From-SVN: r75274

20 years agoc-common.c (c_expand_expr): Remove code to return a value different from that returne...
Mark Mitchell [Wed, 31 Dec 2003 18:41:28 +0000 (18:41 +0000)]
c-common.c (c_expand_expr): Remove code to return a value different from that returned by expand_expr.

* c-common.c (c_expand_expr): Remove code to return a value
different from that returned by expand_expr.
* expr.c (store_expr): Use the validity of a target MEM, rather
than checking DECL_RTL (exp), to figure out if a copy is
required.

From-SVN: r75273

20 years agolib1funcs.asm: Fix comment formatting.
Kazu Hirata [Wed, 31 Dec 2003 17:22:33 +0000 (17:22 +0000)]
lib1funcs.asm: Fix comment formatting.

* config/v850/lib1funcs.asm: Fix comment formatting.
* config/v850/v850.c: Likewise.
* config/v850/v850.h: Likewise.
* config/v850/v850.md: Likewise.

From-SVN: r75270

20 years agoi386.md (*movqi_insv_2): Remove AND in the set source.
Kazu Hirata [Wed, 31 Dec 2003 16:49:47 +0000 (16:49 +0000)]
i386.md (*movqi_insv_2): Remove AND in the set source.

* config/i386/i386.md (*movqi_insv_2): Remove AND in the
set source.

From-SVN: r75269

20 years ago2003-12-31 Michael Koch <konqueror@gmx.de>
Michael Koch [Wed, 31 Dec 2003 11:27:09 +0000 (11:27 +0000)]
2003-12-31  Michael Koch  <konqueror@gmx.de>

* gnu/java/net/protocol/http/Connection.java
(sendRequest): Dont encode output in default character encoding,
add correct version number to HTTP user agent string.

From-SVN: r75266

20 years ago2003-12-31 Guilhem Lavaux <guilhem@kaffe.org>
Guilhem Lavaux [Wed, 31 Dec 2003 11:04:21 +0000 (11:04 +0000)]
2003-12-31  Guilhem Lavaux  <guilhem@kaffe.org>

* java/io/ObjectOutputStream.java
(putFields): Reindented. Fixed behaviour: currentPutField should be
null
before calling this method.
(writeFields): Likewise.
(markFieldsWritten): Fixed the exception message.
(callWriteMethod): Ensure currentPutField is null.
(getBooleanField): Translate IllegalArgumentException into
InvalidClassException.
(getByteField): Likewise.
(getCharField): Likewise.
(getDoubleField): Likewise.
(getFloatField): Likewise.
(getIntField): Likewise.
(getLongField): Likewise.
(getShortField): Likewise.
(getObjectField): Check the type code before returning the object.
(getField): Translate NoSuchFieldException into InvalidClassException
directly.

From-SVN: r75265

20 years ago2003-12-31 Guilhem Lavaux <guilhem@kaffe.org>
Guilhem Lavaux [Wed, 31 Dec 2003 10:55:40 +0000 (10:55 +0000)]
2003-12-31 Guilhem Lavaux <guilhem@kaffe.org>

* java/net/URL.java
(URL): Change context path to "/" if it is empty.

From-SVN: r75264

20 years agoAdd support for m32r-linux target.
Kazuhiro Inaoka [Wed, 31 Dec 2003 10:33:02 +0000 (10:33 +0000)]
Add support for m32r-linux target.

From-SVN: r75263

20 years agoxfails: Removed tests that pass now...
Michael Koch [Wed, 31 Dec 2003 10:29:05 +0000 (10:29 +0000)]
xfails: Removed tests that pass now...

2003-12-31  Michael Koch  <konqueror@gmx.de>

* testsuite/libjava.mauve/xfails: Removed tests that pass now:
XPASS: gnu.testlet.java.net.URL.URLTest: new URL(string) (number 16)
XPASS: gnu.testlet.java.net.URL.URLTest: new URL(string) (number 18)
XPASS: gnu.testlet.java.net.URL.URLTest: new URL(protocol, host, file)
(number 26)
XPASS: gnu.testlet.java.net.URL.URLTest: new URL(protocol, host, file)
(number 54)

From-SVN: r75262

20 years agoconfigure.in: Add --enable-gtk-cairo check.
Graydon Hoare [Wed, 31 Dec 2003 08:58:31 +0000 (08:58 +0000)]
configure.in: Add --enable-gtk-cairo check.

2003-12-16  Graydon Hoare  <graydon@redhat.com>

* configure.in: Add --enable-gtk-cairo check.
* configure: Regenerate.
* Makefile.am: Conditionally link against cairo.
* Makefile.in: Regenerate.
* acinclude.m4: Include PKG_CHECK_MODULES.
* aclocal.m4: Regenerate.
* gnu/java/awt/peer/gtk/GtkToolkit.java (useGraphics2D): New method.
(getFontMetrics, getClasspathFontPeer):
* gnu/java/awt/peer/gtk/GtkCanvasPeer.java (getGraphics):
* gnu/java/awt/peer/gtk/GtkComponentPeer.java (createImage):
* gnu/java/awt/peer/gtk/GtkContainerPeer.java (getGraphics):
* gnu/java/awt/peer/gtk/GtkFramePeer.java (getGraphics):
Switch behavior depending on GtkToolkit.useGraphics2D().
* gnu/java/awt/peer/gtk/GtkFontPeer.java: Extend ClasspathFontPeer.
* java/awt/Font.java: Switch to peer model.
* jni/gtk-peer/gtkcairopeer.h: Definitions of cairo stuff.
* jni/gtk-peer/gdkfont.h: Include gtkcairopeer.h.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Include gtkcairopeer.h.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c: Un-include gtkpeer.h.

From-SVN: r75260

20 years agolocale_facets.tcc (num_get::_M_extract_int, [...]): According to 22.2.2.1.2...
Paolo Carlini [Wed, 31 Dec 2003 08:28:10 +0000 (08:28 +0000)]
locale_facets.tcc (num_get::_M_extract_int, [...]): According to 22.2.2.1.2...

2003-12-31  Paolo Carlini  <pcarlini@suse.de>

* include/bits/locale_facets.tcc (num_get::_M_extract_int,
num_get::_M_extract_float): According to 22.2.2.1.2, p8-9,
_first_ look for thousands_sep, then for decimal_point and
finally for digits.
(num_get::_M_extract_float): After the decimal_point or
'e'/'E', decimal_point and thousands_sep just break out the
parsing loop.
* testsuite/22_locale/num_get/get/char/11.cc: Add tests.
* testsuite/22_locale/num_get/get/wchar_t/11.cc: Likewise.

From-SVN: r75259

20 years ago* config/i386/i386.h: Remove an unnecessary #undef.
Kazu Hirata [Wed, 31 Dec 2003 05:30:59 +0000 (05:30 +0000)]
* config/i386/i386.h: Remove an unnecessary #undef.

From-SVN: r75257

20 years agocppfiles.c (pch_open_file): Minor tweak to work-around native HPPA compiler bug.
Roger Sayle [Wed, 31 Dec 2003 05:11:44 +0000 (05:11 +0000)]
cppfiles.c (pch_open_file): Minor tweak to work-around native HPPA compiler bug.

* cppfiles.c (pch_open_file): Minor tweak to work-around native
HPPA compiler bug.

From-SVN: r75256

20 years agoaix.h: Fix comment formatting.
Kazu Hirata [Wed, 31 Dec 2003 00:25:51 +0000 (00:25 +0000)]
aix.h: Fix comment formatting.

* config/rs6000/aix.h: Fix comment formatting.
* config/rs6000/rs6000-modes.def: Likewise.
* config/rs6000/rs6000.c: Likewise.
* config/rs6000/rs6000.h: Likewise.
* config/rs6000/rs6000.md: Likewise.

From-SVN: r75252

20 years agoDaily bump.
GCC Administrator [Wed, 31 Dec 2003 00:16:08 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r75250

20 years ago* gcc.dg/sibcall-4.c: Replace mn10?00 with mn10300.
Kazu Hirata [Tue, 30 Dec 2003 23:35:58 +0000 (23:35 +0000)]
* gcc.dg/sibcall-4.c: Replace mn10?00 with mn10300.

From-SVN: r75248

20 years agoi386-protos.h: Remove prototype for const_int_1_operand.
Kazu Hirata [Tue, 30 Dec 2003 23:05:16 +0000 (23:05 +0000)]
i386-protos.h: Remove prototype for const_int_1_operand.

* config/i386/i386-protos.h: Remove prototype for
const_int_1_operand.
* config/i386/i386.c (const_int_1_operand): Remove.
* config/i386/i386.h (PREDICATE_CODES): Remove
const_int_1_operand.
* config/i386/i386.md: Replace all uses of const_int_1_operand
with const1_operand.
* config/i386/pentium.md: Likewise.

From-SVN: r75247

20 years agore PR c++/10079 (ICE (segfault) while substitute return type containing unresolved...
Volker Reichelt [Tue, 30 Dec 2003 21:42:39 +0000 (21:42 +0000)]
re PR c++/10079 (ICE (segfault) while substitute return type containing unresolved qualified id)

PR c++/10079
* g++.dg/template/crash16.C: New test.

From-SVN: r75246

20 years agotm.texi (PREFERRED_RELOAD_CLASS): Describe use of NO_REGS with constants.
Geoffrey Keating [Tue, 30 Dec 2003 20:27:53 +0000 (20:27 +0000)]
tm.texi (PREFERRED_RELOAD_CLASS): Describe use of NO_REGS with constants.

* doc/tm.texi (PREFERRED_RELOAD_CLASS): Describe use of NO_REGS
with constants.

From-SVN: r75245

20 years ago[multiple changes]
Michael Koch [Tue, 30 Dec 2003 19:56:49 +0000 (19:56 +0000)]
[multiple changes]

2003-12-30 Guilhem Lavaux <guilhem@kaffe.org>

* java/util/GregorianCalendar.java
(computeFields): Reported by Ito Kazumitsu <kaz@maczuka.gcd.org>.
Fixed the computation of DAY_OF_WEEK_IN_MONTH.
(computeTime): 12:00 midnight is AM and 12:00 noon is PM.

2003-12-30  Michael Koch  <konqueror@gmx.de>

* testsuite/libjava.mauve/xfails: Removed the following testcase
because it passes now:
FAIL: gnu.testlet.java.text.SimpleDateFormat.Test: parse() strict
(number 1)

From-SVN: r75244

20 years agostor-layout.c (layout_decl): Turn bitfields into ordinary fields...
Mark Mitchell [Tue, 30 Dec 2003 19:49:59 +0000 (19:49 +0000)]
stor-layout.c (layout_decl): Turn bitfields into ordinary fields...

* stor-layout.c (layout_decl): Turn bitfields into ordinary
fields, even if they are the first field in a structure.

From-SVN: r75242

20 years ago* g++.dg/abi/vbase10.C: XFAIL on arm*-*-*.
Mark Mitchell [Tue, 30 Dec 2003 19:36:51 +0000 (19:36 +0000)]
* g++.dg/abi/vbase10.C: XFAIL on arm*-*-*.

From-SVN: r75241