Commit Graph

1397 Commits

Author SHA1 Message Date
Ben Elliston
a894d2c35e * config.sub, config.guess: Update from upstream sources.
From-SVN: r125511
2007-06-07 09:23:20 +10:00
Ben Elliston
8024d75e65 Makefile.tpl: Fix spelling error.
* Makefile.tpl: Fix spelling error.
	* Makefile.in: Regenerate.

From-SVN: r125509
2007-06-07 09:02:22 +10:00
H.J. Lu
9659893870 Fix ChangeLog entry.
From-SVN: r125264
2007-06-01 06:46:37 -07:00
Steve Ellcey
973a9a5ee1 libtool.m4 (LT_CMD_MAX_LEN): Try using getconf to set lt_cv_sys_max_cmd_len.
2007-06-01  Steve Ellcey  <sje@cup.hp.com>

	* libltdl/m4/libtool.m4 (LT_CMD_MAX_LEN): Try using getconf
	to set lt_cv_sys_max_cmd_len.

From-SVN: r125262
2007-06-01 11:32:07 +00:00
Andreas Schwab
5fda945dd9 Remove conflict marker.
From-SVN: r125260
2007-06-01 08:51:05 +00:00
Dorit Nuzman
ccb4d26be0 MAINTAINERS (Various Maintainers): Add myself as auto-vectorizer maintainer.
* MAINTAINERS (Various Maintainers): Add myself as
        auto-vectorizer maintainer.

From-SVN: r125230
2007-05-31 17:05:23 +00:00
Paolo Bonzini
eecb746156 [multiple changes]
2003-05-31  Paolo Bonzini  <bonzini@gnu.org>

	PR libjava/32098
	* libtool.m4: Revert previous change.
	* ltgcc.m4: Put it here.

libjava:
2007-05-31  Paolo Bonzini  <bonzini@gnu.org>

	PR libjava/32098
	* configure: Regenerated.
	* aclocal.m4: Regenerated.

From-SVN: r125215
2007-05-31 06:40:42 +00:00
Russell Yanofsky
8af2fec40b re PR c++/7412 ([DR 106] References to references)
2007-05-30  Russell Yanofsky <russ@yanofsky.org>
            Douglas Gregor <doug.gregor@gmail.com>
            Pedro Lamarao <pedro.lamarao@mndfck.org>
            Howard Hinnant <howard.hinnant@gmail.com>

	PR c++/7412
	PR c++/29939
        * g++.dg/cpp0x/rv8p.C: New.
        * g++.dg/cpp0x/temp-constructor-bug.C: New.
        * g++.dg/cpp0x/cast-bug.C: New.
        * g++.dg/cpp0x/elision_weak.C: New.
        * g++.dg/cpp0x/collapse-bug.C: New.
        * g++.dg/cpp0x/rv3p.C: New.
        * g++.dg/cpp0x/rv7n.C: New.
        * g++.dg/cpp0x/overload-conv-1.C: New.
        * g++.dg/cpp0x/rv2n.C: New.
        * g++.dg/cpp0x/deduce.C: New.
        * g++.dg/cpp0x/temp-va-arg-bug.C: New.
        * g++.dg/cpp0x/rv6p.C: New.
        * g++.dg/cpp0x/template_deduction.C: New.
        * g++.dg/cpp0x/implicit-copy.C: New.
        * g++.dg/cpp0x/rv1p.C: New.
        * g++.dg/cpp0x/cast.C: New.
        * g++.dg/cpp0x/rv5n.C: New.
        * g++.dg/cpp0x/collapse.C: New.
        * g++.dg/cpp0x/overload-conv-2.C: New.
        * g++.dg/cpp0x/rv4p.C: New.
	* g++.dg/cpp0x/rvo.C: New.
        * g++.dg/cpp0x/iop.C: New.
        * g++.dg/cpp0x/rv3n.C: New.
        * g++.dg/cpp0x/rv7p.C: New.
        * g++.dg/cpp0x/reference_collapsing.C: New.
        * g++.dg/cpp0x/overload.C: New.
        * g++.dg/cpp0x/named.C: New.
        * g++.dg/cpp0x/rv2p.C: New.
        * g++.dg/cpp0x/rv6n.C: New.
        * g++.dg/cpp0x/not_special.C: New.
        * g++.dg/cpp0x/bind.C: New.
        * g++.dg/cpp0x/rv1n.C: New.
        * g++.dg/cpp0x/rv5p.C: New.
        * g++.dg/cpp0x/elision.C: New.
        * g++.dg/cpp0x/named_refs.C: New.
        * g++.dg/cpp0x/unnamed_refs.C: New.
        * g++.dg/cpp0x/rv4n.C: New.
        * g++.dg/cpp0x/elision_neg.C: New.
        * g++.dg/init/copy7.C: Run in C++98 mode.
        * g++.dg/overload/arg1.C: Ditto.
        * g++.dg/overload/arg4.C: Ditto.
	
2007-05-30  Russell Yanofsky <russ@yanofsky.org>
            Douglas Gregor <doug.gregor@gmail.com>
            Pedro Lamarao <pedro.lamarao@mndfck.org>
            Howard Hinnant <howard.hinnant@gmail.com>

	PR c++/7412
	PR c++/29939
	* typeck.c (comptypes): Don't consider rvalue and lvalue
	reference types to be equivalent.
	(check_return_expr): Move from certain lvalues when returning
	them.
	* decl.c (grokdeclarator): Implement reference collapsing.
	(copy_fn_p): Don't consider constructors taking rvalue references
	to be copy constructors.
	(move_fn_p): New.
        * call.c (conversion): New "rvaluedness_matches_p" member.
	(convert_class_to_reference): Require reference type as first
	parameter instead of base type.
	(reference_binding): Add logic to handle rvalue references.
	(implicit_conversion): Update inaccurate comment.
	(convert_like_real): Disable creation of temporaries that are
	impossible to initialize for types with move constructors.
	(build_over_call): Elide move constructors when possible.
	(maybe_handle_implicit_object): Set "rvaluedness_matches_p".
	(maybe_handle_ref_bind): Return conversion instead of type node.
	(compare_ics): Add logic to use "rvaluedness_matches_p" values to
	determine preferred conversion sequences.
	* cp-tree.h (TYPE_REF_IS_RVALUE): New.
	(LOOKUP_PREFER_RVALUE): New.
	(DECL_MOVE_CONSTRUCTOR_P): New.
	(struct cp_declarator): Add "reference" member for reference
	types, with new "rvalue_ref" flag.
	(cp_build_reference_type): Declare.
	(move_fn_p): Declare.
	* error.c (dump_type_prefix): Format rvalue reference types
	correctly in error messages.
	* except.c (build_throw): Move from certain lvalues when
	throwing.
	* mangle.c (write_type): Mangle rvalue references differently
	than regular references.
	* parser.c (make_reference_declarator): Add boolean parameter for
	rvalue references.
	(cp_parser_make_indirect_declarator): New.
	(cp_parser_new_declarator_opt): Call
	cp_parser_make_indirect_declarator. 
	(cp_parser_conversion_declarator_opt): Ditto.
	(cp_parser_declarator): Ditto.
	(cp_parser_ptr_operator): Parse "&&" tokens into rvalue reference
	declarators.
	* pt.c (tsubst): Implement reference collapsing.
	(maybe_adjust_types_for_deduction): Implement special template
	parameter deduction rule for rvalue references.
	(type_unification_real): Update calls to
	maybe_adjust_types_for_deduction.
	(try_one_overload): Ditto.
	(unify_pack_expansion): Ditto.
	* tree.c (lvalue_p_1): Handle rvalue reference types.
	(cp_build_reference_type): New.

From-SVN: r125211
2007-05-31 01:18:22 +00:00
Zdenek Dvorak
89d28202fb MAINTAINERS (Various Maintainers): Add myself as auto-vectorizer maintainer.
* MAINTAINERS (Various Maintainers): Add myself as
	auto-vectorizer maintainer.

From-SVN: r125205
2007-05-30 23:25:30 +00:00
H.J. Lu
60c7a11a30 re PR java/32098 (New libtool doesn't support libjava)
2007-05-30  H.J. Lu  <hongjiu.lu@intel.com>

	PR libjava/32098
	* libtool.m4 (_LT_LANG_GCJ_CONFIG): Use gcc to test gcj features.

From-SVN: r125193
2007-05-30 10:48:10 -07:00
Richard Guenther
9dd3cc811b MAINTAINERS (Various Maintainers): Add myself as auto-vectorizer maintainer.
2007-05-30  Richard Guenther  <rguenther@suse.de>

	* MAINTAINERS (Various Maintainers): Add myself as
	auto-vectorizer maintainer.

From-SVN: r125191
2007-05-30 15:41:03 +00:00
Jakub Jelinek
9cc1244e76 re PR bootstrap/29382 (Bootstrap comparison failure!)
PR bootstrap/29382
	* configure.in: Don't use -fkeep-inline-functions for GCC < 3.3.1.
	* configure: Rebuilt.

From-SVN: r125182
2007-05-30 15:32:34 +02:00
Roberto Costa
6124296bce Removed myself from MAINTAINERS.
From-SVN: r125132
2007-05-28 16:18:31 +00:00
Steven Bosscher
6b757a0d5d * MAINTAINERS (Write After Approval): Remove myself.
From-SVN: r125074
2007-05-25 21:25:28 +00:00
Andreas Tobler
86ef8528be ltmain.sh: Fix Darwin verstring, remove ${wl}.
2007-05-25  Andreas Tobler  <a.tobler@schweiz.org>

	* ltmain.sh: Fix Darwin verstring, remove ${wl}.

From-SVN: r125066
2007-05-25 21:26:27 +02:00
Steve Ellcey
1cf3d07da6 ltmain.sh: Update from ToT Libtool.
* ltmain.sh: Update from ToT Libtool.
        * libtool.m4: Update from ToT Libtool.
        * ltsugar.m4: New. Update from ToT Libtool.
        * ltversion.m4: New. Update from ToT Libtool.
        * ltoptions.m4: New. Update from ToT Libtool.
        * ltconfig: Remove.
        * ltcf-c.sh: Remove.
        * ltcf-cxx.sh: Remove.
        * ltcf-gcj.sh: Remove.
	* Regenerate all subdirs

From-SVN: r125032
2007-05-24 16:37:27 +00:00
Ollie Wild
ce3fcf8c5f * MAINTAINERS (Write After Approval): Add myself.
From-SVN: r124958
2007-05-22 20:16:21 +00:00
Paolo Bonzini
342b920070 Makefile.def (bootstrap_stage): Replace stage_make_flags with stage_cflags.
2007-05-16  Paolo Bonzini  <bonzini@gnu.org>

	* Makefile.def (bootstrap_stage): Replace stage_make_flags with
	stage_cflags.
	* Makefile.tpl (POSTSTAGE1_HOST_EXPORTS, POSTSTAGE1_FLAGS_TO_PASS):
	Remove CFLAGS/LIBCFLAGS.
	(configure-stage[+id+]-[+prefix+][+module+],
	all-stage[+id+]-[+prefix+][+module+]): Pass it from [+stage_cflags+].
	* Makefile.in: Regenerate.

From-SVN: r124764
2007-05-16 09:01:01 +00:00
Diego Novillo
cea1728560 MAINTAINERS: Update e-mail address.
* MAINTAINERS: Update e-mail address.

From-SVN: r124757
2007-05-15 21:57:30 -04:00
Revital Eres
11c004e7f0 add self to MAINTAINERS: waa
From-SVN: r124742
2007-05-15 10:29:20 +00:00
Roberto Costa
ab6bd6931e Updated Roberto Costa's address.
From-SVN: r124711
2007-05-14 12:34:19 +00:00
Thomas Neumann
388cdf0703 * MAINTAINERS (Write After Approval): Add myself.
From-SVN: r124708
2007-05-14 06:40:54 +00:00
Silvius Rus
23f24034cb MAINTAINERS (Write After Approval): Add myself.
* MAINTAINERS (Write After Approval): Add myself.

From-SVN: r124620
2007-05-11 15:54:44 +00:00
Tom Tromey
34a7526e36 * MAINTAINERS: Added myself as non-algorithmic libcpp maintainer.
From-SVN: r124075
2007-04-23 17:19:46 +00:00
Mark Mitchell
51da21be95 MAINTAINERS (cpplib): Rename to ...
* MAINTAINERS (cpplib): Rename to ...
	(libcpp): ... this.  Add C/C++ front end maintainers.

From-SVN: r124053
2007-04-23 01:15:50 +00:00
Steve Ellcey
70070387d5 * config-ml.in: Pass ${ml_config_env} to configure calls.
From-SVN: r123825
2007-04-14 19:48:36 +00:00
Christian Bruel
df1a0dbb1e (Write After Approval): Add myself.
From-SVN: r123491
2007-04-04 08:47:08 +02:00
Dave Korn
9daff147c0 MAINTAINERS (Write After Approval): Add myself.
2007-04-02  Dave Korn  <dave.korn@artimi.com>

	* MAINTAINERS (Write After Approval): Add myself.

From-SVN: r123417
2007-04-02 07:11:29 +00:00
Tobias Burnus
374eadb2bb MAINTAINERS (fortran 95 front end): Add myself.
2007-03-31  Tobias Burnus  <burnus@net-b.de>

       * MAINTAINERS (fortran 95 front end): Add myself.

From-SVN: r123384
2007-03-31 19:02:02 +02:00
Dwarakanath Rajagopal
8eced3a2a9 Added <dwarak.rajagopal@amd.com> to MAINTAINERS file with Write After Approval access
From-SVN: r123306
2007-03-28 16:29:21 +00:00
Ayal Zaks
653de3e34c * MAINTAINERS (Modulo Scheduler): Add myself.
From-SVN: r123178
2007-03-24 00:33:20 +00:00
Brooks Moses
b737d953fd MAINTAINERS (fortran 95 front end): Add myself.
* MAINTAINERS (fortran 95 front end): Add myself.
(c++ front end): whitespace fix.

From-SVN: r123161
2007-03-23 11:40:46 -07:00
Nathan Froyd
a584cdf253 * MAINTAINERS (Write After Approval): Add myself.
From-SVN: r123126
2007-03-22 13:01:07 +00:00
Richard Sandiford
8c79f3c49d configure.ac (TOPLEVEL_CONFIGURE_ARGUMENTS): Fix m4 quoting of glob.
* configure.ac (TOPLEVEL_CONFIGURE_ARGUMENTS): Fix m4 quoting
	of glob.  Quote arguments with single quotes too.
	* configure: Regenerate.

From-SVN: r123117
2007-03-21 20:09:15 +00:00
Brooks Moses
6da4bc4e6e Fixed erroneous ChangeLog and gcc/ChangeLog entries.
From-SVN: r122856
2007-03-12 12:00:28 -07:00
Brooks Moses
07f1ac6d75 Makefile.in: Add dummy "install-info" target.
fixincludes/
* Makefile.in: Add dummy "install-info" target.
<toplevel>
* Makefile.def (fixincludes): Remove unneeded "missing" lines.
* Makefile.in: Regenerate

From-SVN: r122855
2007-03-12 11:58:12 -07:00
Seongbae Park
50d50fc7ee invoke.texi (Wvla): New warning.
ChangeLog:

2007-03-12  Seongbae Park <seongbae.park@gmail.com>

	* gcc/doc/invoke.texi (Wvla): New warning.

gcc/ChangeLog:

2007-03-12  Seongbae Park <seongbae.park@gmail.com>

	* c-decl.c (warn_variable_length_array): New function.
	Refactored from grokdeclarator to handle warn_vla
	and handle unnamed array case.
	(grokdeclarator): Refactored VLA warning case.
	* c.opt (Wvla): New flag.

gcc/cp/ChangeLog:

2007-03-12  Seongbae Park <seongbae.park@gmail.com>

	* decl.c (compute_array_index_type): New warning flag warn_vla.

gcc/testsuite/ChangeLog:

2007-03-12  Seongbae Park <seongbae.park@gmail.com>

 	* gcc.dg/wvla-1.c: New test
 	* gcc.dg/wvla-2.c: New test
 	* gcc.dg/wvla-3.c: New test
 	* gcc.dg/wvla-4.c: New test
 	* gcc.dg/wvla-5.c: New test
 	* gcc.dg/wvla-6.c: New test
 	* gcc.dg/wvla-7.c: New test
	* g++.dg/warn/Wvla-1.C: New test
	* g++.dg/warn/Wvla-2.C: New test
	* g++.dg/warn/Wvla-3.C: New test

From-SVN: r122851
2007-03-12 18:31:39 +00:00
Andreas Schwab
172e41aaee configure: Regenerate.
* configure: Regenerate.

config/:
	* acx.m4 (GCC_TARGET_TOOL): Expand backquotes outside
	AC_MSG_RESULT.

From-SVN: r122659
2007-03-07 14:01:40 +00:00
Brooks Moses
9c4d24932e configure.ac: Add "--with-pdfdir" configure option, which defines pdfdir variable.
* configure.ac: Add "--with-pdfdir" configure option,
which defines pdfdir variable.
* Makefile.def (target=fixincludes): Add install-pdf to
missing targets.
(recursive_targets): Add install-pdf target.
(flags_to_pass): Add pdfdir.
* Makefile.tpl: Add pdfdir handling, add do-install-pdf
target.
* configure: Regenerate
* Makefile.in: Regenerate

From-SVN: r122467
2007-03-01 16:28:09 -08:00
Eric Christopher
e14e622ecf Missed this. See previous Change.
From-SVN: r122416
2007-02-28 22:51:59 +00:00
Matt Kraai
54e433bc4f configure: Regenerate.
* configure: Regenerate.
	* configure.ac: Move statements after variable declarations.

From-SVN: r122397
2007-02-28 00:56:22 +00:00
Alan Modra
1ba7cb8018 mt-spu (all-ld): Depend on all-binutils.
* mt-spu (all-ld): Depend on all-binutils.
also fix previous ChangeLog entry

From-SVN: r122362
2007-02-27 19:31:58 +10:30
Kaz Kojima
6c8d3d8f0b MAINTAINERS: Add myself as sh maintainer.
* MAINTAINERS: Add myself as sh maintainer.

From-SVN: r122142
2007-02-19 23:59:15 +00:00
Joseph Myers
9f8c673960 configure.ac: Adjust for loop syntax.
* configure.ac: Adjust for loop syntax.
	* configure: Regenerate.

From-SVN: r122132
2007-02-19 17:28:03 +00:00
Alexandre Oliva
278a7a38ae configure: Rebuilt.
ChangeLog:
* configure: Rebuilt.
config/ChangeLog:
* acx.m4 (NCN_STRICT_CHECK_TOOLS): Mark environment variable as
precious.  Prefer it over a cached value.  Use cached value
verbosely.
(NCN_STRICT_CHECK_TARGET_TOOLS): Likewise.  Don't override
environment variable with build-time tools.

From-SVN: r122108
2007-02-18 22:51:18 +00:00
Alexandre Oliva
b2eaac4a51 configure.ac: Drop multiple occurrences of --enable-languages, and fix its quoting.
* configure.ac: Drop multiple occurrences of --enable-languages,
and fix its quoting.
* configure: Rebuilt.

From-SVN: r122107
2007-02-18 22:45:12 +00:00
Mark Mitchell
beeaf21625 Vladimir Prus <vladimir@codesourcery.com Joseph Myers <joseph@codesourcery.com>
2007-02-17  Mark Mitchell  <mark@codesourcery.com>
            Nathan Sidwell  <nathan@codesourcery.com>
            Vladimir Prus  <vladimir@codesourcery.com
            Joseph Myers  <joseph@codesourcery.com>

	* configure.ac (TOPLEVEL_CONFIGURE_ARGUMENTS): Fix quoting.
	* configure: Regenerate.

Co-Authored-By: Nathan Sidwell <nathan@codesourcery.com>

From-SVN: r122073
2007-02-17 13:35:03 +00:00
Gerald Pfeifer
09201a0980 * ltconfig (freebsd*): Default to elf.
From-SVN: r121948
2007-02-14 13:19:26 +00:00
Daniel Jacobowitz
291f172e62 configure.ac (target_libraries): Move libgcc before libiberty.
* configure.ac (target_libraries): Move libgcc before libiberty.
	* configure: Regenerated.

From-SVN: r121893
2007-02-13 21:27:11 +00:00
Daniel Jacobowitz
c3a86da9a8 re PR bootstrap/30753 (checking for correct version of gmp.h... no)
PR bootstrap/30753
	* configure.ac: Remove obsolete build / host tests.  Use AC_PROG_CC
	unconditionally.  Use AC_PROG_CXX.  Use ACX_TOOL_DIRS to find $prefix.
	* configure: Regenerated.

Co-Authored-By: Paolo Bonzini <bonzini@gnu.org>

From-SVN: r121882
2007-02-13 13:39:19 +00:00