Commit Graph

105874 Commits

Author SHA1 Message Date
Iain Sandoe 0c5d770e3b re PR c/46902 (gcc.dg/plugin/plugindir*.c gives ICEs on powerpc-apple-darwin9)
PR gcc/46902
	PR testsuite/46912
	* plugin.c: Move include of dlfcn.h from here...
	* system.h: ... to here.

From-SVN: r168611
2011-01-09 12:41:33 +00:00
Janus Weil b52956be02 re PR fortran/46313 ([OOP] class container naming collisions)
2011-01-09  Janus Weil  <janus@gcc.gnu.org>

	PR fortran/46313
	* class.c (get_unique_type_string): Make type name start with upper
	case letter.


2011-01-09  Janus Weil  <janus@gcc.gnu.org>

	PR fortran/46313
	* gfortran.dg/class_35.f90: New.

From-SVN: r168610
2011-01-09 11:35:50 +01:00
Ralf Wildenhues 4ee1aa2a94 doc: cpp manual nits
gcc/:
	* doc/cpp.texi (C++ Named Operators): Fix markup for header
	file name.
	* doc/cppinternals.texi (Top): Wrap node in @ifnottex to avoid
	two extra empty pages in PDF output.

From-SVN: r168609
2011-01-09 07:18:42 +00:00
GCC Administrator ad3f0a407d Daily bump.
From-SVN: r168608
2011-01-09 00:18:03 +00:00
Thomas Koenig f90b55a606 re PR fortran/46405 (Preprocessor generated code can exceed 132 characters)
2011-01-08  Thomas Koenig  <tkoenig@gcc.gnu.org>

	PR fortran/46405
	* invoke.texi:  Mention -ffree-line-length-none and
	-ffixed-line-length-none for preprocessing.

From-SVN: r168604
2011-01-08 22:59:42 +00:00
Iain Sandoe 28a2c1d594 update gcc/objc/Changelog copyright years.
From-SVN: r168603
2011-01-08 20:47:27 +00:00
Iain Sandoe 5d19c15004 objc-act.c (objc_finish_foreach_loop): Mark collection expression as read.
gcc/objc:

	* objc-act.c (objc_finish_foreach_loop): Mark collection expression
	as read.

gcc/testsuite:

	* objc.dg/foreach-1.m: Add "-Wall" to flags.

From-SVN: r168602
2011-01-08 20:32:32 +00:00
Nicola Pero 046608a3e0 In gcc/: 2011-01-08 Nicola Pero <nicola.pero@meta-innovation.com>
In gcc/:
2011-01-08  Nicola Pero  <nicola.pero@meta-innovation.com>

	PR objc/47078
	* c-parser.c (c_parser_objc_type_name): If the type is unknown,
	for error recovery purposes behave as if it was not specified so
	that the default type is usd.

In gcc/testsuite/:
2011-01-08  Nicola Pero  <nicola.pero@meta-innovation.com>

	PR objc/47078
	* objc.dg/invalid-method-2.m: New.
	* obj-c++.dg/invalid-method-2.mm: New.

In gcc/cp/:
2011-01-08  Nicola Pero  <nicola.pero@meta-innovation.com>

	PR objc/47078
	* parser.c (cp_parser_objc_typename): If the type is unknown, for
	error recovery purposes behave as if it was not specified so that
	the default type is used.

From-SVN: r168601
2011-01-08 19:44:30 +00:00
Paul Thomas f1f39033ac re PR fortran/46896 (Wrong code with transpose(a) passed to subroutine)
2011-01-08  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/46896
	* trans-expr.c (gfc_conv_procedure_call): With a non-copying
	procedure argument (eg TRANSPOSE) use a temporary if there is
	any chance of aliasing due to host or use association.
	(arrayfunc_assign_needs_temporary): Correct logic for function
	results and do not use a temporary for implicitly PURE
	variables.  Use a temporary for Cray pointees.
	* symbol.c (gfc_add_save): Explicit SAVE not compatible with
	implicit pureness of containing procedure.
	* decl.c (match_old_style_init, gfc_match_data): Where decl
	would fail in PURE procedure, set implicit_pure to zero.
	* gfortran.h : Add implicit_pure to structure symbol_attr and
	add prototype for function gfc_implicit_pure.
	* expr.c (gfc_check_pointer_assign, gfc_check_vardef_context):
	Where decl would fail in PURE procedure, reset implicit_pure.
	* io.c (match_vtag, gfc_match_open, gfc_match_close,
	gfc_match_print, gfc_match_inquire, gfc_match_wait): The same.
	* match.c (gfc_match_critical, gfc_match_stopcode,
	sync_statement, gfc_match_allocate, gfc_match_deallocate): The
	same.
	* parse.c (decode_omp_directive): The same.
	(parse_contained): If not PURE, set implicit pure attribute.
	* resolve.c (resolve_formal_arglist, resolve_structure_cons,
	resolve_function, resolve_ordinary_assign) : The same.
	(gfc_implicit_pure): New function.
	* module.c (mio_symbol_attribute): Introduce AB_IMPLICIT_PURE
	to ab_attribute enum and use it in this function.

2011-01-08  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/46896
	* gfortran.dg/transpose_optimization_2.f90 : New test.

From-SVN: r168600
2011-01-08 19:17:03 +00:00
Joseph Myers f69e4b94c1 * ja.po: Update.
From-SVN: r168599
2011-01-08 16:41:39 +00:00
Jan Hubicka 8cb114b9a9 re PR tree-optimization/46469 (ICE: verify_cgraph_node failed: inline clone is needed at -O)
PR tree-optmization/46469
	* ipa.c (function_and_variable_visibility): Clear needed flags on
	nodes with external decls; handle weakrefs merging correctly.

	* g++.dg/torture/pr46469.C: New testcase.

From-SVN: r168598
2011-01-08 16:33:57 +00:00
Iain Sandoe d5dc93f446 ObjC NeXT, split encode-support code from next-mapping.h
* objc-obj-c++-shared/next-mapping.h: Move code and definitions for
	emulation of libobjc-gnu structure layout functionality to ..
	* objc-obj-c++-shared/objc-test-suite-next-encode-assist.h: New.
	* objc-obj-c++-shared/objc-test-suite-next-encode-assist-impl.h: New.
	* objc/execute/bf-common.h: Adjust headers.
	* objc/execute/bf-1.m: Likewise.
	* objc/execute/bf-2.m: Likewise.
	* objc/execute/bf-3.m: Likewise.
	* objc/execute/bf-4.m: Likewise.
	* objc/execute/bf-5.m: Likewise.
	* objc/execute/bf-6.m: Likewise.
	* objc/execute/bf-7.m: Likewise.
	* objc/execute/bf-8.m: Likewise.
	* objc/execute/bf-9.m: Likewise.
	* objc/execute/bf-10.m: Likewise.
	* objc/execute/bf-11.m: Likewise.
	* objc/execute/bf-12.m: Likewise.
	* objc/execute/bf-13.m: Likewise.
	* objc/execute/bf-14.m: Likewise.
	* objc/execute/bf-15.m: Likewise.
	* objc/execute/bf-16.m: Likewise.
	* objc/execute/bf-17.m: Likewise.
	* objc/execute/bf-18.m: Likewise.
	* objc/execute/bf-19.m: Likewise.
	* objc/execute/bf-20.m: Likewise.
	* objc/execute/bf-21.m: Likewise.
	* objc/execute/bycopy-3.m: Adjust headers, add next-specific code for
	objc_get_type_qualifiers ().

From-SVN: r168597
2011-01-08 14:12:14 +00:00
Thomas Koenig ecb3baaa8e re PR fortran/45777 (Alias analysis broken for arrays where LHS or RHS is a component ref)
2011-01-08  Thomas Koenig  <tkoenig@gcc.gnu.org>

	PR fortran/45777
	* symbol.c (gfc_symbols_could_alias):  Strip gfc_ prefix,
	make static and move in front of its only caller, to ...
	* trans-array.c (symbols_could_alias): ... here.
	Pass information about pointer and target status as
	arguments.  Allocatable arrays don't alias anything
	unless they have the POINTER attribute.
	(gfc_could_be_alias):  Keep track of pointer and target
	status when following references.  Also check if typespecs
	of components match those of other components or symbols.

2011-01-08  Thomas Koenig  <tkoenig@gcc.gnu.org>

	PR fortran/45777
	* gfortran.dg/dependency_39.f90:  New test.

From-SVN: r168596
2011-01-08 09:38:13 +00:00
Eric Botcazou 72e961c86a Fix long lines
From-SVN: r168595
2011-01-08 07:56:36 +00:00
Joseph Myers b294a75eaf opts.c (finish_options): Set opts->x_flag_opts_finished to true, not false.
* opts.c (finish_options): Set opts->x_flag_opts_finished to true,
	not false.

From-SVN: r168594
2011-01-08 01:59:33 +00:00
Jan Hubicka 96bdf9b403 Makefile.in: Regenerate.
* Makefile.in: Regenerate.
	* Makefile.def (gcc host module) and soft dependency on lto-plugin
	and configure dependency on lto-plugin configure.
	(lto-plugin module): Remove dependency on GCC; add dependency on
	liniberty.

	* doc/invoke.texi: (-flto, -fuse-linker-plugin): Update defaults
	and no longer claim that gold is required for linker plugin.
	* configure: Regenerate.
	* gcc.c (PLUGIN_COND): New macro.
	(LINK_COMMAND_SPEC): Use it.
	(main): Default to plugin enabled with HAVE_LTO_PLUGIN is set.
	* config.in (HAVE_LTO_PLUGIN): New.
	* configure.ac (--with-lto-plugin): New parameter; autodetect
	HAVE_LTO_PLUGIN.

From-SVN: r168593
2011-01-08 01:37:00 +00:00
GCC Administrator f35cafc9ff Daily bump.
From-SVN: r168592
2011-01-08 00:18:00 +00:00
Jan Hubicka 804a780f85 Get builtins tests ready for linker plugin.
* gcc.c-torture/execute/builtins/memcpy-chk.c (s2,s3,l1): Mark volatile.
	* gcc.c-torture/execute/builtins/memops-asm-lib.c (my_memcpy, my_bcopy, my_memset,
	my_bzero): Mark used.
	* gcc.c-torture/execute/builtins/memset-chk.c (l1, l3): Mark volatile.
	* gcc.c-torture/execute/builtins/memmove-chk.c (s1,s2,s3,l1): Mark volatile.
	* gcc.c-torture/execute/builtins/mempcpy-chk.c (s2,s3,l1): Mark volatile

From-SVN: r168588
2011-01-07 23:29:27 +00:00
Jan Hubicka 17afc0fe9c re PR tree-optimization/46367 (ICE during cgraph edge cloning)
PR tree-optimization/46367
	* g++.dg/torture/pr46367.C: New file.
	* ipa-inline.c (cgraph_clone_inlined_nodes): Use original function only
	when we can update original.
	(cgraph_mark_inline_edge): Sanity check.
	* ipa-prop.c (ipa_make_edge_direct_to_target): Sanity check.

From-SVN: r168587
2011-01-07 22:52:54 +00:00
William Schmidt c12e816f59 * MAINTAINERS (Write After Approval): Add myself.
From-SVN: r168586
2011-01-07 21:54:14 +00:00
Kai Tietz dc1b62ea18 re PR bootstrap/47215 (Failed to bootstrap)
2011-01-07  Kai Tietz  <kai.tietz@onevision.com>

        PR bootstrap/47215
        * decl.c (java_init_decl_processing): Initialize unsigned_type_node.

From-SVN: r168585
2011-01-07 22:11:48 +01:00
Ulrich Weigand d4c48c0f58 * config/spu/spu.h (ASM_COMMENT_START): Define.
From-SVN: r168584
2011-01-07 21:08:03 +00:00
H.J. Lu 96f5b13771 Keep -m[arch|tune]=native in COLLECT_GCC_OPTIONS.
2011-01-07  H.J. Lu  <hongjiu.lu@intel.com>

	PR driver/42445
	* gcc.c (%>S): New.
	(SWITCH_KEEP_FOR_GCC): Likewise.
	(set_collect_gcc_options): Check SWITCH_KEEP_FOR_GCC.
	(do_spec_1): Handle "%>".

	* config/i386/i386.h (CC1_CPU_SPEC): Replace "%<" with "%>".

From-SVN: r168583
2011-01-07 12:35:05 -08:00
Jakub Jelinek c21bbd7a5e re PR target/47201 (ICE: SIGSEGV in adjust_mems (var-tracking.c:814) with -O -fPIC -g)
PR target/47201
	* config/i386/i386.c (ix86_delegitimize_address): If
	simplify_gen_subreg fails, return orig_x.

	* gcc.dg/pr47201.c: New test.

From-SVN: r168582
2011-01-07 19:41:40 +01:00
Jakub Jelinek c6a8f6de08 re PR bootstrap/47187 (profiledbootstrap failure on i386)
PR bootstrap/47187
	* value-prof.c (gimple_stringop_fixed_value): Handle
	lhs of the call properly.

	* gcc.dg/tree-prof/pr47187.c: New test.

From-SVN: r168581
2011-01-07 19:39:11 +01:00
Jan Hubicka fe95fbf907 re PR lto/45375 ([meta-bug] Issues with building Mozilla (i.e. Firefox) with LTO)
PR lto/45375
	* lto-opt.c (lto_reissue_options): Set flag_shlib.

From-SVN: r168580
2011-01-07 18:21:00 +00:00
Tobias Burnus eaf31d823f re PR fortran/41580 ([OOP] SAME_TYPE_AS and EXTENDS_TYPE_OF - add compile-time simplifcation)
2011-01-07  Tobias Burnus  <burnus@net-b.de>

        PR fortran/41580
        * class.c (gfc_build_class_symbol): Mark __vtab as attr.vtab.
        * intrinsic.c (add_functions): Use simplify functions for
        EXTENDS_TYPE_OF and SAME_TYPE_AS.
        * intrinsic.h (gfc_simplify_extends_type_of,
        gfc_simplify_same_type_as): New prototypes.
        * simplify.c (is_last_ref_vtab, gfc_simplify_extends_type_of,
        gfc_simplify_same_type_as): New functions.

2011-01-07  Tobias Burnus  <burnus@net-b.de>

        PR fortran/41580
        * gfortran.dg/extends_type_of_3.f90: New.

From-SVN: r168579
2011-01-07 17:19:29 +01:00
Joseph Myers 138d831e9b * ru.po: New.
From-SVN: r168573
2011-01-07 14:34:04 +00:00
Kai Tietz a76d8c3c76 dllexport-MI1.C: Adjust test.
2011-01-07  Kai Tietz  <kai.tietz@onevision.com>

        * g++.dg/ext/dllexport-MI1.C: Adjust test.
        * g++.dg/ext/dllimport-MI1.C: Likewise.
        * g++.dg/ext/dllimport1.C: Add test for x86_64-*-mingw*.
        * g++.dg/ext/dllimport10.C: Likewise.
        * g++.dg/ext/dllimport11.C: Likewise.
        * g++.dg/ext/dllimport12.C: Likewise.
        * g++.dg/ext/dllimport13.C: Likewise.
        * g++.dg/ext/dllimport2.C: Likewise.
        * g++.dg/ext/dllimport3.C: Likewise.
        * g++.dg/ext/dllimport4.C: Likewise.
        * g++.dg/ext/dllimport5.C: Likewise.
        * g++.dg/ext/dllimport6.C: Likewise.
        * g++.dg/ext/dllimport8.C: Likewise.
        * g++.dg/ext/dllimport9.C: Likewise.
        * g++.dg/ext/selectany2.C: Enable test for x86_64-*-mingw*
        targets, too. Additionally enable test for i?86-*-mingw*.
        * g++.dg/ext/selectany1.C: Likewise.
        Remove guard variable check.

From-SVN: r168572
2011-01-07 15:12:43 +01:00
Iain Sandoe 14d11d4097 allow the target to label code fragments generated by partitioning.
* target.def (function_switched_text_sections): New Hook.
	* doc/tm.texi Regenerated.
	* doc/tm.texi.in (TARGET_ASM_FUNCTION_SWITCHED_TEXT_SECTIONS)
	New.
	* final.c (default_function_switched_text_sections): New.
	(final_scan_insn): Call function_switched_text_sections when a mid-function section
	change occurs.
	* output.h (default_function_switched_text_sections): Declare.
	* config/darwin-protos.h (darwin_function_switched_text_sections) : Likewise.
	* config/darwin.c (darwin_function_switched_text_sections): New.
	* config/darwin.h (TARGET_ASM_FUNCTION_SWITCHED_TEXT_SECTIONS)
	New.

From-SVN: r168571
2011-01-07 13:57:45 +00:00
Iain Sandoe 0b764288f9 provide pubnames when there are multiple code sections
* dwarf2out.c (gen_subprogram_die):  Add pubnames with code ranges for
	DWARF >= 3.  Add pubnames for the primary section and a reduced DIE for
	the secondary code fragment when outputting for DWARF == 2.

From-SVN: r168570
2011-01-07 13:52:29 +00:00
Kai Tietz d6bcbb40dd decl.c (java_init_decl_processing): Setup va_list_type_node.
2011-01-07  Kai Tietz  <kai.tietz@onevision.com>

        * decl.c (java_init_decl_processing): Setup va_list_type_node.

From-SVN: r168569
2011-01-07 14:50:15 +01:00
Anatoly Sokolov 2ac6bb044f xtensa.h (OUTPUT_ADDR_CONST_EXTRA): Remove.
* config/xtensa/xtensa.h (OUTPUT_ADDR_CONST_EXTRA): Remove.
	* config/xtensa/xtensa-protos.h (xtensa_output_addr_const_extra):
	Remove.
	* config/xtensa/xtensa.c (xtensa_output_addr_const_extra): Make static.
	(TARGET_ASM_OUTPUT_ADDR_CONST_EXTRA): Define.

From-SVN: r168568
2011-01-07 16:45:04 +03:00
Janus Weil 0d87fa8ca8 re PR fortran/47189 ([OOP] calling STORAGE_SIZE on a NULL-initialized class pointer)
2011-01-07  Janus Weil  <janus@gcc.gnu.org>

	PR fortran/47189
	PR fortran/47194
	* gfortran.h (gfc_lval_expr_from_sym): Moved prototype.
	* class.c (gfc_class_null_initializer): Initialize _vptr to declared
	type.
	* expr.c (gfc_lval_expr_from_sym): Moved here from symbol.c.
	* resolve.c (resolve_deallocate_expr): _data component will be added
	at translation stage.
	* symbol.c (gfc_lval_expr_from_sym): Moved to expr.c.
	* trans-stmt.c (gfc_trans_deallocate): Reset _vptr to declared type.


2011-01-07  Janus Weil  <janus@gcc.gnu.org>

	PR fortran/47189
	PR fortran/47194
	* gfortran.dg/storage_size_3.f08: Extended.

From-SVN: r168565
2011-01-07 13:08:21 +01:00
Jakub Jelinek a14e516339 re PR c++/47022 (ICE: in tsubst_copy, at cp/pt.c:11682)
PR c++/47022
	* pt.c (tsubst_copy_and_build): Use tsubst instead of tsubst_copy
	for the second build_x_va_arg argument.

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

From-SVN: r168564
2011-01-07 12:49:44 +01:00
GCC Administrator 4f0d010ebb Daily bump.
From-SVN: r168562
2011-01-07 00:18:11 +00:00
Changpeng Fang 1ed72abfdd Correct the formatting of the Changlog entry
* Changelog (2011-01-06  Changpeng Fang): Correct the format.

From-SVN: r168558
2011-01-06 23:55:43 +00:00
Eric Botcazou 9f82de1121 re PR debug/46704 (Ada compiler fails to build itself)
PR debug/46704
	* dwarf2out.c (dwarf2out_finish): Output the debug_aranges section
	only when it is not empty.

From-SVN: r168557
2011-01-06 23:36:25 +00:00
Changpeng Fang 14b52538d2 Bobcat (btver1) Enablement
* config.gcc (i[34567]86-*-linux* | ...): Add btver1.
	  (case ${target}): Add btver1.
	* config/i386/driver-i386.c (host_detect_local_cpu): Let
	  -march=native recognize btver1 processors.
	* config/i386/i386-c.c (ix86_target_macros_internal): Add
	  btver1 def_and_undef
	* config/i386/i386.c (struct processor_costs btver1_cost): New
	  btver1 cost table.
	  (m_BTVER1): New definition.
	  ( m_AMD_MULTIPLE): Includes m_BTVER1.
	  (initial_ix86_tune_features): Add btver1 tune.
	  (processor_target_table): Add btver1 entry.
	  (static const char *const cpu_names): Add btver1 entry.
	  (software_prefetching_beneficial_p): Add btver1.
	  (ix86_option_override_internal): Add btver1 instruction sets.
	  (ix86_issue_rate): Add btver1.
	  (ix86_adjust_cost): Add btver1.
	* config/i386/i386.h (TARGET_BTVER1): New definition.
	  (enum target_cpu_default): Add TARGET_CPU_DEFAULT_btver1.
	  (enum processor_type): Add PROCESSOR_BTVER1.
	* config/i386/i386.md (define_attr "cpu"): Add btver1.

From-SVN: r168556
2011-01-06 22:59:46 +00:00
Ralf Wildenhues a6098a2827 re PR fortran/47174 (libquadmath: Build now depends on makeinfo)
Fix PR fortran/47174

libquadmath/:
	PR fortran/47174
	* Makefile.am (libquadmath.info): Unconditionally override
	target, not only if BUILD_LIBQUADMATH.
	* Makefile.in: Regenerate.
	* configure.ac (AM_INIT_AUTOMAKE): Add -Wno-override option to
	avoid warning from automake.

From-SVN: r168555
2011-01-06 22:09:41 +00:00
Daniel Franke 3728af1405 re PR fortran/47195 (New Fortran test failures)
2011-01-06  Daniel Franke  <franke.daniel@gmail.com>

	PR fortran/47195
	* gfortran.dg/interface_33.f90: Fixed dg-error declarations.
	* gfortran.dg/defined_operators_1.f90: Split the subroutine
	from the interface of functions to not hide the errors that
	shall be tested.

From-SVN: r168554
2011-01-06 16:42:53 -05:00
Rainer Orth e1a973d838 re PR target/43309 (amd64 TLS IE code sequence on Solaris 2/x86 violates spec)
PR target/43309
	* config/i386/i386.c (legitimize_tls_address)
	<TLS_MODEL_INITIAL_EXEC>: Handle TARGET_64BIT && TARGET_SUN_TLS.
	* config/i386/i386.md (UNSPEC_TLS_IE_SUN): Declare.
	(tls_initial_exec_64_sun): New pattern.

From-SVN: r168553
2011-01-06 19:44:32 +00:00
Gerald Pfeifer c73f67c50e invoke.texi (Overall Options): Improve wording and markup of the description of -wrapper.
* doc/invoke.texi (Overall Options): Improve wording and markup
	of the description of -wrapper.

From-SVN: r168552
2011-01-06 19:37:01 +00:00
Joseph Myers bc4c6f9c3a sol2.opt (G, [...]): New Driver options.
* config/sol2.opt (G, YP,, Ym,, compat-bsd, pthread, pthreads,
	rdynamic, threads): New Driver options.

From-SVN: r168551
2011-01-06 19:01:28 +00:00
Rainer Orth adb75db067 re PR target/38118 (gcc emits non-TLS data as TLS on Solaris 11/SPARC)
PR target/38118
	* config/sol2.h (ASM_OUTPUT_ALIGNED_COMMON): Also switch to .bss
	if coming from .tdata.
	* config/i386/sol2-10.h (ASM_OUTPUT_ALIGNED_COMMON): Likewise.

From-SVN: r168550
2011-01-06 19:00:10 +00:00
Rainer Orth 74b51535c9 jni.exp (gcj_jni_get_cxxflags_invocation): Add -shared-libgcc to cxxflags for *-*-solaris*.
* testsuite/libjava.jni/jni.exp (gcj_jni_get_cxxflags_invocation):
	Add -shared-libgcc to cxxflags for *-*-solaris*.
	Remove -lsocket.

From-SVN: r168549
2011-01-06 18:56:58 +00:00
Jan Hubicka 402c1cb4c8 re PR lto/47188 (Undefined reference errors when combining IR and non-IR object files)
PR lto/47188
	* collect2.c (main): Do not enable LTOmode when plugin is active.
	* testsuite/gcc.dg/lto/pr47188_0.c: New testcase.
	* testsuite/gcc.dg/lto/pr47188_1.c: New testcase.

From-SVN: r168548
2011-01-06 18:50:20 +00:00
Rainer Orth a4da64857d re PR other/45915 (Check for gnu_unique_object in ld.so in gcc/configure.ac is broken for non-glibc ldd)
PR other/45915
	* configure.ac (gcc_cv_as_gnu_unique_object): Only use ldd
	--version output if supported.
	* configure: Regenerate.

From-SVN: r168546
2011-01-06 18:29:39 +00:00
Daniel Franke 284d58f1dd re PR fortran/33117 (Improve error message for generic interface with subroutines & functions)
gcc/fortran/:
2011-01-06  Daniel Franke  <franke.daniel@gmail.com>

	PR fortran/33117
	PR fortran/46478
	* parse.c (parse_interface): Remove check for procedure types.
	* interface.c (check_interface0): Verify that procedures are
	either all SUBROUTINEs or all FUNCTIONs.

gcc/testsuite/:
2011-01-06  Daniel Franke  <franke.daniel@gmail.com>

	PR fortran/33117
	PR fortran/46478
	* gfortran.dg/interface_33.f90: New test.

From-SVN: r168542
2011-01-06 11:08:24 -05:00
Joseph Myers 028dbdf497 linux-android.opt (tno-android-cc, [...]): New Driver options.
* config/linux-android.opt (tno-android-cc, tno-android-ld): New
	Driver options.

From-SVN: r168538
2011-01-06 13:04:59 +00:00