Commit Graph

64204 Commits

Author SHA1 Message Date
GCC Administrator
f7b279f9d0 Daily bump.
[[Split portion of a mixed commit.]]

From-SVN: r91735.2
2004-12-05 00:16:15 +00:00
GCC Administrator
66002fe5ee Daily bump.
[[Split portion of a mixed commit.]]

From-SVN: r91734.2
2004-12-05 00:16:11 +00:00
John David Anglin
bf842f624b re PR bootstrap/18804 (lib2funcs.vis:1: Error: unknown pseudo-op: `.hidden')
PR bootstrap/18804
	* mklibgcc.in (vis_hide): Use implementation instead of declaration
	for test function.

From-SVN: r91732
2004-12-04 20:32:51 +00:00
Richard Henderson
346424935e alpha.c (alpha_expand_unaligned_load): Don't forget to use ofs in BWX two byte special case.
* config/alpha/alpha.c (alpha_expand_unaligned_load): Don't forget to
        use ofs in BWX two byte special case.
        (alpha_expand_unaligned_store): Likewise.

From-SVN: r91731
2004-12-04 10:13:50 -08:00
Richard Henderson
8138dfe456 target-supports.exp (check_gc_sections_available): Disable for alpha and ia64.
* lib/target-supports.exp (check_gc_sections_available): Disable
        for alpha and ia64.

From-SVN: r91730
2004-12-04 10:01:09 -08:00
Kazu Hirata
b732f36fe6 * gcse.c (gcse_main): Add a comment.
From-SVN: r91729
2004-12-04 14:53:13 +00:00
Andrew Pinski
a6ac7f6fb4 re PR middle-end/17909 (ICE: verifiy_stms failed)
2004-12-04  Andrew Pinski  <pinskia@physics.uc.edu>

        PR middle-end/17909
        * g++.dg/other/vararg-2.C: New test.

From-SVN: r91728
2004-12-04 06:15:01 -08:00
Andrew Pinski
2efcfa4ef6 re PR middle-end/17909 (ICE: verifiy_stms failed)
2004-12-04  Andrew  Pinski  <pinskia@physics.uc.edu>

        PR middle-end/17909
        * builtins.c (fold_builtin_next_arg): Export and return true
        when there is a warning or an error.
        (expand_builtin_va_start): When fold_builtin_next_arg returns true,
        return const0_rtx.
        (expand_builtin): Likewise.
        * gimplify.c (gimplify_call_expr): Error out if there is not
        enough arguments to va_start. Call fold_builtin_next_arg also
        on the second argument.
        * tree.h (fold_builtin_next_arg): Prototype.

From-SVN: r91727
2004-12-04 06:11:45 -08:00
Joseph Myers
e488786134 * tr.po: Update.
From-SVN: r91726
2004-12-04 11:38:37 +00:00
Alan Modra
d12c5a4ce5 mklibgcc.in: Build shared libgcc and shared libunwind in gcc/.
* mklibgcc.in: Build shared libgcc and shared libunwind in gcc/.
	Don't subst shlib_dir for SHLIB_LINK, SHLIBUNWIND_LINK,
	SHLIB_INSTALL, and SHLIBUNWIND_INSTALL.
	* config/i386/t-nwld (SHLIB_NAME): Use shlib_base_name in place of
	shlib_dir and shlib_so_name.
	* config/mips/t-slibgcc-irix (SHLIB_NAME): Likewise.
	* config/t-libunwind-elf (SHLIB_NAME): Likewise.
	* config/t-slibgcc-darwin (SHLIB_NAME): Likewise.
	* config/t-slibgcc-elf-ver (SHLIB_NAME): Likewise.
	* config/t-slibgcc-sld (SHLIB_NAME): Likewise.
	(SHLIB_LINK): Don't use shlib_dir when creating symlink.

From-SVN: r91724
2004-12-04 19:52:32 +10:30
Paolo Carlini
493bc46004 type_traits: New.
2004-12-04  Paolo Carlini  <pcarlini@suse.de>

	* include/tr1/type_traits: New.
	* include/Makefile.am: Add.
	* include/Makefile.in: Regenerate.
	* testsuite/testsuite_tr1.h: New.
	* testsuite/tr1/4_metaprogramming/composite_type_traits/
	is_arithmetic/is_arithmetic.cc: New.
	* testsuite/tr1/4_metaprogramming/composite_type_traits/
	is_arithmetic/typedefs.cc: Likewise.
	* testsuite/tr1/4_metaprogramming/composite_type_traits/
	is_fundamental/is_fundamental.cc: Likewise.
	* testsuite/tr1/4_metaprogramming/composite_type_traits/
	is_fundamental/typedefs.cc: Likewise.
	* testsuite/tr1/4_metaprogramming/helper_classes/
	true_false_type.cc: Likewise.
	* testsuite/tr1/4_metaprogramming/helper_classes/
	true_false_type_typedefs.cc: Likewise.
	* testsuite/tr1/4_metaprogramming/helper_classes/
	typedefs.cc: Likewise.
	* testsuite/tr1/4_metaprogramming/primary_type_categories/
	is_array/is_array.cc: Likewise.
	* testsuite/tr1/4_metaprogramming/primary_type_categories/
	is_array/typedefs.cc: Likewise.
	* testsuite/tr1/4_metaprogramming/primary_type_categories/
	is_floating_point/is_floating_point.cc: Likewise.
	* testsuite/tr1/4_metaprogramming/primary_type_categories/
	is_floating_point/typedefs.cc: Likewise.
	* testsuite/tr1/4_metaprogramming/primary_type_categories/
	is_integral/is_integral.cc: Likewise.
	* testsuite/tr1/4_metaprogramming/primary_type_categories/
	is_integral/typedefs.cc: Likewise.
	* testsuite/tr1/4_metaprogramming/primary_type_categories/
	is_void/is_void.cc: Likewise.
	* testsuite/tr1/4_metaprogramming/primary_type_categories/
	is_void/typedefs.cc: Likewise.

From-SVN: r91723
2004-12-04 09:08:42 +00:00
Kriang Lerdsuwanakij
bad1f4626e PR c++/17011, c++/17971
PR c++/17011, c++/17971
	* pt.c (tsubst_copy) <FIELD_DECL case>: Check and diagnose
	invalid field.
	(tsubst_copy_and_build) <COMPONENT_REF case>: Check
	error_mark_node after member substitution.
	* semantics.c (finish_id_expression): Call
	finish_non_static_data_member for non-dependent FIELD_DECL.

	* g++.dg/template/error15.C: Adjust expected error.
	* g++.dg/template/instantiate3.C: Likewise.

From-SVN: r91720
2004-12-04 06:45:13 +00:00
Roger Sayle
73f8783add * doc/tm.texi (TARGET_DELEGITIMIZE_ADDRESS): Document target hook.
From-SVN: r91713
2004-12-04 00:34:43 +00:00
Richard Henderson
2039d7aaea alias.c (component_uses_parent_alias_set): Rename from can_address_p.
* alias.c (component_uses_parent_alias_set): Rename from
        can_address_p.  Return bool.  Reverse the sense of the result.
        Reinstate the check for alias set zero.
        (get_alias_set): Update to match.
        * alias.h (component_uses_parent_alias_set): Likewise.
        * emit-rtl.c (set_mem_attributes_minus_bitpos): Likewise.
        * expr.c (expand_assignment): Likewise.
        * expr.h: Remove commented out prototypes that were moved to alias.h.

From-SVN: r91712
2004-12-03 16:20:31 -08:00
GCC Administrator
1b68ae543c Daily bump.
[[Split portion of a mixed commit.]]

From-SVN: r91710.2
2004-12-04 00:16:24 +00:00
GCC Administrator
8313ff6505 Daily bump.
[[Split portion of a mixed commit.]]

From-SVN: r91709.2
2004-12-04 00:16:17 +00:00
Richard Henderson
d3da4d1439 tm.texi (TARGET_BUILD_BUILTIN_VA_LIST): New.
* doc/tm.texi (TARGET_BUILD_BUILTIN_VA_LIST): New.
        (TARGET_CANNOT_FORCE_CONST_MEM): New.

From-SVN: r91703
2004-12-03 15:15:15 -08:00
Alan Modra
668707f70d PR middle end/18718
PR middle end/18718
	* sched-rgn.c (schedule_region): Don't assume REG_SAVE_NOTEs are
	in pairs.
	* sched-ebb.c (schedule_ebb): Likewise.

From-SVN: r91702
2004-12-04 09:32:33 +10:30
Andreas Schwab
e69d6ca7a4 Makefile.in (HOSTHOOKS_DEF_H): Define.
* Makefile.in (HOSTHOOKS_DEF_H): Define.
	(ggc-common.o): Depend on $(HOSTHOOKS_DEF_H).
	(host-default.o): Likewise.

From-SVN: r91697
2004-12-03 22:04:27 +00:00
Tom Tromey
c56c2878f7 lang.c (flag_new_verifier): Define.
* lang.c (flag_new_verifier): Define.
	(java_post_options): Set flag_new_verifier if indirect dispatch
	is being used.
	* lang.opt (fnew-verifier): Removed.

From-SVN: r91693
2004-12-03 19:43:52 +00:00
Tom Tromey
8b45a0d38e re PR bootstrap/14614 (Double target prefixed gcjh)
PR bootstrap/14614:
	* Make-lang.in (java.install-common): Only install transformed

From-SVN: r91692
2004-12-03 19:32:38 +00:00
Eric Christopher
76f56a4d25 stormy16.md (pushqi, [...]): Add number of arguments to name so that the pattern is recognized as a named...
2004-12-03  Eric Christopher  <echristo@redhat.com>

        * config/stormy16/stormy16.md (pushqi, popqi, pushhi,
        pophi): Add number of arguments to name so that the
        pattern is recognized as a named pattern.

From-SVN: r91691
2004-12-03 19:06:02 +00:00
Andrew Haley
2360c81be6 re PR java/18812 (ICE in catalina/common/lib/naming-resources.jar)
2004-12-03  Andrew Haley  <aph@redhat.com>

	PR java/18812
	* except.c (link_handler): Patch 'outer' field of siblings of the
	range we're demoting.

From-SVN: r91690
2004-12-03 18:11:21 +00:00
Andrew Haley
3381c28f38 re PR java/18697 (Miscompilation of GtkMenuItemPeer.setParent(MenuItem))
2004-12-03  Andrew Haley  <aph@redhat.com>

	PR java/18697
	* class.c (layout_class_method): Don't fail to override a method
	simply because it has DECL_ARTIFICIAL set.

From-SVN: r91689
2004-12-03 18:01:59 +00:00
Janis Johnson
5edea4c664 extend.texi (AltiVec Builtins): Fix info about signedness.
* doc/extend.texi (AltiVec Builtins): Fix info about signedness.
	* testsuite/gcc.dg/altivec-18.c: Fix for darwin

From-SVN: r91688
2004-12-03 17:37:12 +00:00
Andreas Tobler
9c7956fd00 rs6000.c (rs6000_override_options): Protect darwin_one_byte_bool with #if.
2004-12-03  Andreas Tobler  <a.tobler@schweiz.ch>

	* config/rs6000/rs6000.c (rs6000_override_options): Protect
	darwin_one_byte_bool with #if.

From-SVN: r91686
2004-12-03 16:47:44 +01:00
Paolo Bonzini
d6c2b67dea tm.texi (Misc): Document TARGET_FOLD_BUILTIN.
2004-12-03  Paolo Bonzini  <bonzini@gnu.org>

	* doc/tm.texi (Misc): Document TARGET_FOLD_BUILTIN.

From-SVN: r91685
2004-12-03 15:37:16 +00:00
H.J. Lu
aaf67a1450 mklibgcc.in: Put back the default set of EXTRA_MULTILIB_PART.
2004-12-03  H.J. Lu  <hongjiu.lu@intel.com>

	* mklibgcc.in: Put back the default set of EXTRA_MULTILIB_PART.

From-SVN: r91684
2004-12-03 07:11:56 -08:00
Richard Sandiford
dafb7f3f52 re PR libgcj/7305 (Install path for libgcj header files)
PR libgcj/7305
	* configure.ac: Use TL_AC_GXX_INCLUDE_DIR.
	* Makefile.am (install-data-local): Install headers into
	$(gxx_include_dir) rather than $(includedir).
	(AM_MAKEFLAGS): Pass down gxx_include_dir.
	* gcj/Makefile.am (gcjdir): Set to $(gxx_include_dir)/gcj.
	* include/Makefile.am (tool_include__HEADERS): Define this...
	(include_HEADERS): ...instead of this.
	* configure, aclocal.m4, Makefile.in, gcj/Makefile.in: Regenerate.
	* include/Makefile.in, testsuite/Makefile.in: Regenerate.

From-SVN: r91682
2004-12-03 11:15:25 +00:00
Nathan Sidwell
f4ed7d2144 re PR c++/18782 (ICE on invalid pointer-to-member declaration)
cp:
	PR c++/18782
	* decl.c (grokdeclarator): Make sure class in pointer to member is
	not a namespace.
testsuite:
	PR c++/18782
	* g++.dg/parse/ptrmem2.C: New.

From-SVN: r91681
2004-12-03 10:51:13 +00:00
Richard Sandiford
bb59c33970 Introduce config/gxx-include-dir.m4.
From-SVN: r91680
2004-12-03 10:44:37 +00:00
Richard Sandiford
4982adbebc config.if: Delete.
* config.if: Delete.
	* configure.in: Set libstdcxx_incdir directly.
	* configure: Regenerate.

From-SVN: r91679
2004-12-03 10:40:18 +00:00
Nathan Sidwell
ad1063d545 re PR c++/18318 (ICE: error: Multiple inline callers)
cp:
	PR c++/18318
	* parser.c (cp_parser_new_type_id): Move array size expression
	checks from here ...
	* init.c (build_new): ... to here.
testsuite:
	PR c++/18318
	* g++.dg/template/new1.C: New.

From-SVN: r91678
2004-12-03 09:51:39 +00:00
Kazu Hirata
2085a21fd6 cfgrtl.c (rtl_verify_flow_info_1): Use JUMP_P instead of INSN_P.
* cfgrtl.c (rtl_verify_flow_info_1): Use JUMP_P instead of
	INSN_P.

From-SVN: r91677
2004-12-03 07:43:39 +00:00
Kazu Hirata
a18428f344 tree-ssa-dom.c (record_equivalences_from_phis): Remove an "if" whose condition is always true.
* tree-ssa-dom.c (record_equivalences_from_phis): Remove an
	"if" whose condition is always true.

From-SVN: r91676
2004-12-03 07:38:39 +00:00
Stan Shebs
7bd3a49330 rs6000.c (rs6000_override_options): Make 64-bit Darwin default to one-byte bools.
* config/rs6000/rs6000.c (rs6000_override_options): Make 64-bit
        Darwin default to one-byte bools.

From-SVN: r91675
2004-12-03 06:35:49 +00:00
Richard Henderson
1170a5e1c4 Mark PR for changelog entry.
From-SVN: r91673
2004-12-02 19:28:05 -08:00
Richard Henderson
6e4b5aaf4d re PR target/18774 (mmix-knuth-mmixware testsuite failure: gcc.c-torture/execute/20020227-1.c -Os -O2 compile)
PR 18774
        * simplify-rtx.c (simplify_immed_subreg): Fail complex modes.

From-SVN: r91672
2004-12-02 19:27:34 -08:00
Ben Elliston
9208393247 cfg.texi (Edges): Update.
* doc/cfg.texi (Edges): Update. Document the edge_iterator data
	type and its methods.

From-SVN: r91671
2004-12-03 13:01:35 +11:00
GCC Administrator
dda7d95b7d Daily bump.
[[Split portion of a mixed commit.]]

From-SVN: r91669.2
2004-12-03 00:16:39 +00:00
GCC Administrator
3b24cac5a8 Daily bump.
[[Split portion of a mixed commit.]]

From-SVN: r91668.2
2004-12-03 00:16:31 +00:00
Eric Christopher
057506533b Makefile.tpl (clean-target-libgcc): Make change in correct place.
2004-12-02  Eric Christopher  <echristo@redhat.com>

        * Makefile.tpl (clean-target-libgcc): Make change in correct place.
        * Makefile.in: Regenerate.

From-SVN: r91666
2004-12-02 23:45:19 +00:00
Richard Henderson
ddf4e03f48 expr.c (write_complex_part): Use simplify_gen_subreg when the submode is at least as large as a word.
* expr.c (write_complex_part): Use simplify_gen_subreg when the
        submode is at least as large as a word.
        (read_complex_part): Likewise.

From-SVN: r91664
2004-12-02 14:23:08 -08:00
H.J. Lu
0cb4334ee9 re PR bootstrap/18532 (libgcc.mk isn't parallel build safe for multilib)
2004-12-02  H.J. Lu  <hongjiu.lu@intel.com>

	PR bootstrap/18532
	* mklibgcc.in: Build one set of EXTRA_MULTILIB_PARTS for
	multilib at a time. Don't build the default set. Don't add
	EXTRA_MULTILIB_PARTS to shared libunwind nor libgcc. Remove
	filter for shared libunwind and libgcc.

From-SVN: r91663
2004-12-02 13:49:00 -08:00
Roger Sayle
14c473b90e re PR target/18759 ([x86] using both -fomit-frame-pointer and -momit-leaf-frame-pointer enables frame pointers for non-leaf functions)
PR target/18759
	* config/i386/i386.c (override_options): If -fomit-frame-pointer has
	already been specified, ignore the -momit-leaf-frame-pointer option.

From-SVN: r91662
2004-12-02 21:19:32 +00:00
Tobias Schlüter
79d60e57e9 re PR libfortran/18710 (img part of complex number not written to direct access file)
PR fortran/18710
fix previously mistyped ChangeLog entry

From-SVN: r91659
2004-12-02 21:13:53 +01:00
H.J. Lu
0267621529 varasm.c (make_decl_rtl): Add the missing `;'.
2004-12-02  H.J. Lu  <hongjiu.lu@intel.com>

	* varasm.c (make_decl_rtl): Add the missing `;'.

From-SVN: r91658
2004-12-02 11:56:26 -08:00
Tom Tromey
5c5d79d28c re PR java/16675 (Null parameter values for anonymous constructor invocation require explicit cast)
PR java/16675:
	* parse.y (craft_constructor): Special case null_pointer_node.

From-SVN: r91657
2004-12-02 19:41:03 +00:00
Tobias Schlüter
abd7fea9f9 re PR libfortran/18710 (img part of complex number not written to direct access file)
libgfortran/
PR fortran/18710
* io/transfer.c (unformatted_read, unformatted_write): width of
a COMPLEX is twice its kind.

gcc/testsuite/
PR fortran/18170
* gfortran.dg/direct_io_3.f90: New test.

From-SVN: r91656
2004-12-02 20:39:15 +01:00
Tom Tromey
0396df8ac4 For PR java/16675:
* testsuite/libjava.compile/PR16675.java: New file.

From-SVN: r91655
2004-12-02 19:38:49 +00:00