Bernd Schmidt [Tue, 14 Dec 2010 00:23:40 +0000 (00:23 +0000)]
re PR rtl-optimization/44374 (Hoist same instructions in different branches)
gcc/
PR rtl-optimization/44374
Reapply patch with fixes.
* basic-block.h (enum bb_flags): Add BB_MODIFIED.
* df-core.c (df_set_bb_dirty): Set it.
* ifcvt.c (find_memory): Remove function.
(dead_or_predicable): Use can_move_insns_across.
* df.h (can_move_insns_across): Declare function.
* cfgcleanup.c (block_was_dirty): New static variable.
(flow_find_head_matching_sequence): Test for epilogue notes.
(try_crossjump_bb, try_forward_edges): Test BB_MODIFIED flag rather
than df_get_bb_dirty.
(try_head_merge_bb): New static function.
(try_optimize_cfg): Call it. Call df_analyze if block_was_dirty
is set.
* df-problems.c: Include "target.h"
(df_simulate_find_uses): New static function.
(MEMREF_NORMAL, MEMREF_VOLATILE): New macros.
(find_memory, find_memory_store): New static functions.
(can_move_insns_across): New function.
* Makefile.in (df-problems.o): Update dependencies.
gcc/testsuite/
PR rtl-optimization/44374
Reapply patch with fixes.
* gcc.target/arm/headmerge-1.c: New test.
* gcc.target/arm/headmerge-2.c: New test.
* gcc.target/i386/headmerge-1.c: New test.
* gcc.target/i386/headmerge-2.c: New test.
From-SVN: r167779
GCC Administrator [Tue, 14 Dec 2010 00:17:44 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r167778
Joseph Myers [Mon, 13 Dec 2010 23:59:50 +0000 (23:59 +0000)]
elf.h (SIZE_TYPE, [...]): Define.
* config/xtensa/elf.h (SIZE_TYPE, PTRDIFF_TYPE): Define.
(DBX_REGISTER_NUMBER): Undefine.
* config/xtensa/linux.h (SIZE_TYPE, PTRDIFF_TYPE): Define.
(DBX_REGISTER_NUMBER): Undefine.
* config.gcc (xtensa*-*-elf*, xtensa*-*-linux*): Don't use svr4.h.
From-SVN: r167774
Ian Lance Taylor [Mon, 13 Dec 2010 23:11:53 +0000 (23:11 +0000)]
gospec.c (lang_specific_driver): Add a -o option if not linking and there is no -o option already.
* gospec.c (lang_specific_driver): Add a -o option if not linking
and there is no -o option already.
From-SVN: r167773
Joseph Myers [Mon, 13 Dec 2010 21:49:00 +0000 (21:49 +0000)]
* de.po: Update.
From-SVN: r167772
Joseph Myers [Mon, 13 Dec 2010 21:47:47 +0000 (21:47 +0000)]
* de.po, sv.po: Update.
From-SVN: r167771
Jason Merrill [Mon, 13 Dec 2010 20:46:58 +0000 (15:46 -0500)]
re PR c++/46873 ([C++0x] ICE: in build_data_member_initialization, at cp/semantics.c:5489)
PR c++/46873
PR c++/46877
* semantics.c (build_data_member_initialization): Handle
cv-qualified data member.
From-SVN: r167770
Jason Merrill [Mon, 13 Dec 2010 20:46:34 +0000 (15:46 -0500)]
foo
From-SVN: r167769
Tobias Burnus [Mon, 13 Dec 2010 19:44:38 +0000 (20:44 +0100)]
re PR fortran/46625 (libquadmath: Mangle internal symbols; rename __float128 <-> string functions)
2010-12-13 Tobias Burnus <burnus@net-b.de>
PR fortran/46625
* gdtoa/gdtoaimp.h: Mangle internal functions by
prefixing them with __quadmath. Don't use gdtoa's strcp(y).
* gdtoa/g_Qfmt.c (g_Qfmt): Use strcpy instead of strcp.
* gdtoa/misc.c (strcpy): Renamed from strcp and only use
if NO_STRING_H is set.
* quadmath-imp.h (__quadmath_rem_pio2q,
* __quadmath_kernel_sincosq
__quadmath_kernel_sinq, __quadmath_kernel_cosq): Added
__quadmath prefix to internal functions.
* math/cosq.c (cosq): Ditto.
* math/sinq.c (cosq): Ditto.
* math/tanq.c (tanq,__quadmath_kernel_tanq): Ditto.
* math/rem_pio2q.c (rem_pio2, __quadmath_kernel_rem_pio2):
* Ditto.
* math/sinq_kernel.c (__quadmath_kernel_sinq): Ditto.
* math/cosq_kernel.c (__quadmath_kernel_cosq): Ditto.
From-SVN: r167768
Janus Weil [Mon, 13 Dec 2010 19:17:46 +0000 (20:17 +0100)]
re PR fortran/46201 ([F03] ICE on procedure pointer component call)
2010-12-13 Janus Weil <janus@gcc.gnu.org>
PR fortran/46201
* trans-expr.c (gfc_conv_procedure_call): Handle procedure pointer
components called on a dimensionful base object.
2010-12-13 Janus Weil <janus@gcc.gnu.org>
PR fortran/46201
* gfortran.dg/proc_ptr_comp_27.f90: New.
From-SVN: r167767
Jack Howarth [Mon, 13 Dec 2010 18:34:45 +0000 (18:34 +0000)]
re PR bootstrap/46650 (r167010 breaks --enable-build-with-cxx)
PR bootstrap/46650
* system.h: Include cstring for cxx bootstrap.
Co-Authored-By: Joseph Myers <joseph@codesourcery.com>
From-SVN: r167764
Eric Botcazou [Mon, 13 Dec 2010 18:10:49 +0000 (18:10 +0000)]
decl.c (gnat_to_gnu_entity): Build a stub DECL for the dummy fat pointer type in the unconstrained array case.
* gcc-interface/decl.c (gnat_to_gnu_entity) <E_General_Access_Type>:
Build a stub DECL for the dummy fat pointer type in the unconstrained
array case.
* gcc-interface/utils.c (update_pointer_to): Set the DECL_ORIGINAL_TYPE
for all the variants in the fat pointer case.
From-SVN: r167758
Eric Botcazou [Mon, 13 Dec 2010 17:51:47 +0000 (17:51 +0000)]
trans.c (can_be_lower_p): New predicate.
* gcc-interface/trans.c (can_be_lower_p): New predicate.
(Loop_Statement_to_gnu): Do not generate the entry condition if we know
that it will be true.
From-SVN: r167757
Ahmad Sharif [Mon, 13 Dec 2010 17:43:07 +0000 (17:43 +0000)]
Removed testcase that was failing on i386.
* testsuite/gcc.target/i386/max-stack-align.c. Removed testcase.
From-SVN: r167756
Jakub Jelinek [Mon, 13 Dec 2010 17:37:20 +0000 (18:37 +0100)]
re PR lto/46879 (ICE: in separate_decls_in_region_debug_bind, at tree-parloops.c:778 with -flto -ftree-parallelize-loops -gdwarf-3)
PR lto/46879
* lto-streamer-out.c (output_gimple_stmt): Never replace first
GIMPLE_DEBUG argument with MEM_REF.
From-SVN: r167755
Jakub Jelinek [Mon, 13 Dec 2010 17:36:26 +0000 (18:36 +0100)]
re PR debug/46867 (ICE: in emit_note_insn_var_location, at var-tracking.c:7325 with -O -g)
PR debug/46867
* var-tracking.c (emitted_notes, string_pointer_flags): Removed.
(emit_note_insn_var_location): Remove ENABLE_RTL_CHECKING verification.
(vt_emit_notes): Don't initialize and destroy emitted_notes.
* gcc.dg/pr46867.c: New test.
From-SVN: r167754
Jan Hubicka [Mon, 13 Dec 2010 17:29:14 +0000 (17:29 +0000)]
re PR middle-end/45388 (Global constructor not found)
PR middle-end/45388
* decl2.c (start_objects): Do not generate collect2 recognicable name
for static ctor.
* ipa.c (cgraph_build_static_cdtor_1): Break out from ... ; add FINAL parameter.
(cgraph_build_static_cdtor): ... here.
(build_cdtor): Use cgraph_build_static_cdtor_1.
From-SVN: r167753
Nathan Froyd [Mon, 13 Dec 2010 16:23:50 +0000 (16:23 +0000)]
re PR target/46040 (crtstuff.c:308:26: error: '__DTOR_LIST__' undeclared)
gcc/
PR target/46040
* config.gcc (arm*-*-linux-*eabi): Use bpabi-lib.h.
(arm*-*-uclinux*eabi, arm*-*-eabi*): Likewise.
libgcc/
PR target/46040
* config/arm/bpabi.h: Rename to...
* config/arm/bpabi-lib.h: ...this.
From-SVN: r167751
Janus Weil [Mon, 13 Dec 2010 16:16:06 +0000 (17:16 +0100)]
re PR fortran/46841 ([F03] ICE on allocating array of procedure pointers)
2010-12-13 Janus Weil <janus@gcc.gnu.org>
PR fortran/46841
* trans-expr.c (gfc_trans_subcomponent_assign): Handle array-valued
procedure pointer components.
2010-12-13 Janus Weil <janus@gcc.gnu.org>
PR fortran/46841
* gfortran.dg/proc_ptr_comp_26.f90: New.
From-SVN: r167750
Rainer Orth [Mon, 13 Dec 2010 11:59:22 +0000 (11:59 +0000)]
baseline_symbols.txt: Regenerate.
* config/abi/post/solaris2.8/baseline_symbols.txt: Regenerate.
* config/abi/post/solaris2.8/sparcv9/baseline_symbols.txt: Likewise.
* config/abi/post/solaris2.10/baseline_symbols.txt: Likewise.
* config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
* config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
From-SVN: r167748
Eric Botcazou [Mon, 13 Dec 2010 11:35:10 +0000 (11:35 +0000)]
* gnat.dg/pack9.adb: XFAIL everywhere.
From-SVN: r167747
Joseph Myers [Mon, 13 Dec 2010 11:28:19 +0000 (11:28 +0000)]
v850.h (SIZE_TYPE, [...]): Define.
* config/v850/v850.h (SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE,
WCHAR_TYPE_SIZE): Define.
* config.gcc (v850e1-*-*, v850e-*-*, v850-*-*): Don't use svr4.h.
From-SVN: r167746
Joseph Myers [Mon, 13 Dec 2010 11:27:28 +0000 (11:27 +0000)]
config.gcc (s390-*-linux*, [...]): Don't use svr4.h.
* config.gcc (s390-*-linux*, s390x-*-linux*, s390x-ibm-tpf*):
Don't use svr4.h.
From-SVN: r167745
Joseph Myers [Mon, 13 Dec 2010 11:26:42 +0000 (11:26 +0000)]
linux.h (SIZE_TYPE, [...]): Undefine.
* config/mn10300/linux.h (SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE,
WCHAR_TYPE_SIZE): Undefine.
* config/mn10300/mn10300.h (SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE,
WCHAR_TYPE_SIZE): Define.
* config.gcc (mn10300-*-*): Don't use svr4.h.
From-SVN: r167744
Joseph Myers [Mon, 13 Dec 2010 11:24:59 +0000 (11:24 +0000)]
linux.h (DBX_REGISTER_NUMBER): Undefine and redefine.
* config/m68k/linux.h (DBX_REGISTER_NUMBER): Undefine and
redefine.
(SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE, WCHAR_TYPE_SIZE): Define.
* config.gcc (m68k-*-uclinux*, m68k-*-linux*): Don't use svr4.h.
From-SVN: r167743
Jakub Jelinek [Mon, 13 Dec 2010 11:11:22 +0000 (12:11 +0100)]
re PR fortran/46884 (Use of charlen after free)
PR fortran/46884
* symbol.c (gfc_new_charlen): If old_cl is non-NULL, put it
at the ns->old_cl_list spot in the chain rather than at
ns->cl_list.
* gfortran.dg/pr46884.f: New test.
From-SVN: r167742
Iain Sandoe [Mon, 13 Dec 2010 08:36:06 +0000 (08:36 +0000)]
encoding.c (_darwin_rs6000_special_round_type_align): New.
libobjc:
* encoding.c (_darwin_rs6000_special_round_type_align): New.
(darwin_rs6000_special_round_type_align): Adjust to use new routine.
testsuite:
* objc.dg/gnu-encoding/struct-layout-encoding-1_generate.c: Adjust XFAILs.
From-SVN: r167741
Alexandre Oliva [Mon, 13 Dec 2010 03:08:24 +0000 (03:08 +0000)]
re PR debug/46756 (-fcompare-debug failure (length) with ASSIGN)
gcc/ChangeLog:
PR debug/46576
* jump.c (mark_all_labels): Skip debug insns.
gcc/testsuite/ChangeLog:
PR debug/46576
* gfortran.dg/debug/pr46576.f: New.
From-SVN: r167738
Alexandre Oliva [Mon, 13 Dec 2010 03:08:06 +0000 (03:08 +0000)]
re PR debug/46782 (-fcompare-debug failure (length) with -fvar-tracking)
gcc/ChangeLog:
PR debug/46782
* cfgcleanup.c (try_forward_edges): Skip debug insns.
gcc/testsuite/ChangeLog:
PR debug/46782
* gcc.dg/debug/pr46782.c: New.
From-SVN: r167737
GCC Administrator [Mon, 13 Dec 2010 00:18:16 +0000 (00:18 +0000)]
Daily bump.
From-SVN: r167736
Thomas Koenig [Sun, 12 Dec 2010 22:03:08 +0000 (22:03 +0000)]
dump-parse-tree.c (show_expr): Add space for parens.
2010-12-12 Thomas Koenig <tkoenig@gcc.gnu.org>
* dump-parse-tree.c (show_expr): Add space for parens.
From-SVN: r167732
Janus Weil [Sun, 12 Dec 2010 21:14:13 +0000 (22:14 +0100)]
re PR fortran/46809 ([OOP] ICE with -fcheck=pointer for CLASS IS)
2010-12-12 Janus Weil <janus@gcc.gnu.org>
PR fortran/46809
* resolve.c (resolve_select_type): Set the location of the first
argument when generating the EXTENDS_TYPE_OF call.
2010-12-12 Janus Weil <janus@gcc.gnu.org>
PR fortran/46809
* gfortran.dg/pointer_check_8.f90: New.
From-SVN: r167731
Jan Hubicka [Sun, 12 Dec 2010 19:12:08 +0000 (20:12 +0100)]
varasm.c (default_function_section): Check flag_reorder_functions and targetm.have_named_sections.
* varasm.c (default_function_section): Check flag_reorder_functions
and targetm.have_named_sections.
* config/darwin.c (darwin_function_section): Check
flag_reorder_functions.
Co-Authored-By: Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
From-SVN: r167727
Finn Thain [Sun, 12 Dec 2010 14:03:55 +0000 (14:03 +0000)]
Author: Finn Thain <fthain@telegraphics.com.au>
PR target/46179
* gcc/config/m68k/m68k.c (handle_move_double): Insert calls to
m68k_final_prescan_insn to clean up @TLS operand syntax.
From-SVN: r167724
Paolo Carlini [Sun, 12 Dec 2010 11:21:19 +0000 (11:21 +0000)]
re PR c++/46901 (Error message repeats itself)
2010-12-12 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/46901
* typeck.c (convert_for_assignment): Fix typo in warning message.
From-SVN: r167723
Paolo Carlini [Sun, 12 Dec 2010 10:58:08 +0000 (10:58 +0000)]
testsuite_abi.cc (check_version): Don't push back GLIBCXX_3.4.16, unused.
2010-12-12 Paolo Carlini <paolo.carlini@oracle.com>
* testsuite/util/testsuite_abi.cc (check_version): Don't push back
GLIBCXX_3.4.16, unused.
From-SVN: r167722
GCC Administrator [Sun, 12 Dec 2010 00:19:02 +0000 (00:19 +0000)]
Daily bump.
From-SVN: r167721
Jerry DeLisle [Sat, 11 Dec 2010 23:26:07 +0000 (23:26 +0000)]
re PR fortran/46705 (Spurious "Missing '&' in continued character constant" warning occurs twice)
2010-12-11 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR fortran/46705
* gfortran.dg/continuation_12.f90: New test.
From-SVN: r167717
Jerry DeLisle [Sat, 11 Dec 2010 23:14:45 +0000 (23:14 +0000)]
re PR fortran/46705 (Spurious "Missing '&' in continued character constant" warning occurs twice)
2010-12-11 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR fortran/46705
* gfortran.h: New enum gfc_instring.
(gfc_next_char_literal): Update prototype.
* scanner.c (gfc_next_char_literal): Use new enum. Only give missing
'&' warning for INSTRING_WARN. (gfc_next_char): Use new enum.
(gfc_gobble_whitespace): Likewise.
* io.c (next_char): Use new enum. (next_char_not_space): Likewise.
(format_lex): Likewise.
* match.c (gfc_match_parens): Likewise.
(gfc_match_special_char): Likewise. (gfc_match_name_C): Likewise.
* parse.c (next_fixed): Likewise.
* primary.c (match_hollerith_constant): Likewise.
(next_string_char): Likewise.
From-SVN: r167716
Tobias Burnus [Sat, 11 Dec 2010 22:04:06 +0000 (23:04 +0100)]
re PR fortran/46370 ([Coarray] [OOP] ALLOCATE: Error allocating CLASS coarrays)
2010-12-11 Tobias Burnus <burnus@net-b.de>
PR fortran/46370
* primary.c (gfc_match_varspec): Pass information about
* codimension
to gfc_match_array_ref also for BT_CLASS.
* resolve.c (resolve_procedure): Correct check for C612.
2010-12-11 Tobias Burnus <burnus@net-b.de>
PR fortran/46370
* gfortran.dg/coarray_14.f90: New.
From-SVN: r167715
Jerry DeLisle [Sat, 11 Dec 2010 20:09:59 +0000 (20:09 +0000)]
re PR fortran/46842 (wrong results with MATMUL(..., TRANSPOSE (func ())) -- 465.tonto test run miscompares)
2010-12-11 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR fortran/46842
* gfortran.dg/array_function_6.f90: New test.
From-SVN: r167714
Mikael Morin [Sat, 11 Dec 2010 20:05:20 +0000 (20:05 +0000)]
re PR fortran/46842 (wrong results with MATMUL(..., TRANSPOSE (func ())) -- 465.tonto test run miscompares)
2010-12-11 Mikael Morin <mikael@gcc.gnu.org>
Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR fortran/46842
* trans-array.c (dim_ok): New helper function.
(gfc_conv_expr_descriptor): Use new helper function to check
function array is full.
Co-Authored-By: Jerry DeLisle <jvdelisle@gcc.gnu.org>
From-SVN: r167713
Nicola Pero [Sat, 11 Dec 2010 19:43:21 +0000 (19:43 +0000)]
In libobjc/: 2010-12-11 Nicola Pero <nicola.pero@meta-innovation.com>
In libobjc/:
2010-12-11 Nicola Pero <nicola.pero@meta-innovation.com>
* sendmsg.c (selector_resolveClassMethod): New.
(selector_resolveInstanceMethod): New.
(__objc_resolve_class_method): New.
(__objc_resolve_instance_method): New.
(get_imp): Call __objc_resolve_class_method or
__objc_resolve_instance_method at the appropriate time.
(objc_msg_lookup): Same.
(class_getClassMethod): Same.
(class_getInstanceMethod): Same.
(__objc_init_dispatch_tables): Initialize
selector_resolveClassMethod and selector_resolveInstanceMethod.
* objc/runtime.h: Updated documentation of class_getClassMethod,
class_getInstanceMethod and class_getMethodImplementation.
In gcc/testsuite/:
2010-12-11 Nicola Pero <nicola.pero@meta-innovation.com>
* objc.dg/gnu-api-2-resolve-method.m: New.
* obj-c++.dg/gnu-api-2-resolve-method.mm: New.
From-SVN: r167712
Nicola Pero [Sat, 11 Dec 2010 14:03:38 +0000 (14:03 +0000)]
module-abi-8.h (struct objc_symtab): Updated description of sel_ref_cnt and refs.
2010-12-11 Nicola Pero <nicola.pero@meta-innovation.com>
* objc-private/module-abi-8.h (struct objc_symtab): Updated
description of sel_ref_cnt and refs.
* objc/deprecated/struct_objc_symtab.h (objc_symtab): Same change.
From-SVN: r167710
Ahmad Sharif [Sat, 11 Dec 2010 01:45:10 +0000 (01:45 +0000)]
Added testcase that fails when stack alignment is incorrectly capped.
From-SVN: r167709
John David Anglin [Sat, 11 Dec 2010 01:23:43 +0000 (01:23 +0000)]
funcorder.c: Remove XFAIL for hppa*64*-*-*.
* gcc.dg/funcorder.c: Remove XFAIL for hppa*64*-*-*.
From-SVN: r167708
GCC Administrator [Sat, 11 Dec 2010 00:18:48 +0000 (00:18 +0000)]
Daily bump.
From-SVN: r167707
Nicola Pero [Fri, 10 Dec 2010 20:22:37 +0000 (20:22 +0000)]
fobjc-std-1.m: Updated to test that class extensions produce an error with -fobjc-std=objc1.
2010-12-10 Nicola Pero <nicola.pero@meta-innovation.com>
* objc.dg/fobjc-std-1.m: Updated to test that class extensions
produce an error with -fobjc-std=objc1.
* obj-c++.dg/fobjc-std-1.mm: Same change.
From-SVN: r167700
Jakub Jelinek [Fri, 10 Dec 2010 19:41:48 +0000 (20:41 +0100)]
re PR c++/46001 (diagnostic refers to type '__java_boolean')
PR c++/46001
* decl.c (record_builtin_java_type): Call build_distinct_type_copy
on build_nonstandard_integer_type result for __java_* types.
* g++.dg/diagnostic/bitfld1.C: New test.
From-SVN: r167698
Sebastian Pop [Fri, 10 Dec 2010 19:16:48 +0000 (19:16 +0000)]
Fix PR43023: fuse_partitions_with_similar_memory_accesses.
2010-12-10 Sebastian Pop <sebastian.pop@amd.com>
PR tree-optimization/43023
* tree-data-ref.c (mem_write_stride_of_same_size_as_unit_type_p):
Removed.
(stores_zero_from_loop): Call stmt_stores_zero.
* tree-data-ref.h (stmt_stores_zero): New.
* tree-loop-distribution.c (generate_memset_zero): Do not return a
boolean. Call gcc_assert on stride_of_unit_type_p.
(generate_builtin): Call stmt_stores_zero.
(rdg_flag_all_uses): Removed.
(rdg_flag_similar_memory_accesses): Removed.
(build_rdg_partition_for_component): Removed parameter
other_stores. Removed call to rdg_flag_similar_memory_accesses.
(can_generate_builtin): New.
(similar_memory_accesses): New.
(fuse_partitions_with_similar_memory_accesses): New.
(rdg_build_partitions): Call
fuse_partitions_with_similar_memory_accesses.
* gfortran.dg/ldist-1.f90: Adjust pattern.
* gfortran.dg/ldist-pr43023.f90: New.
From-SVN: r167697
Rainer Orth [Fri, 10 Dec 2010 17:03:53 +0000 (17:03 +0000)]
configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if appropriate.
* configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
appropriate.
* configure: Regenerate.
From-SVN: r167696
Jakub Jelinek [Fri, 10 Dec 2010 16:40:51 +0000 (17:40 +0100)]
re PR rtl-optimization/46804 (gfortran.dg/char_cshift_2.f90 FAILs with -fregmove)
PR rtl-optimization/46804
* regmove.c (optimize_reg_copy_3): Look for REG_EQUAL note
on the setter of src_reg rather than on insn. If it is
equal to the setter's original SET_SRC, replace it with its
zero or sign extension instead of dropping it.
* gfortran.dg/pr46804.f90: New test.
From-SVN: r167695
Rainer Orth [Fri, 10 Dec 2010 16:24:48 +0000 (16:24 +0000)]
libstdc++.exp (v3-build_support): Delete libtestc++.a before creation.
* testsuite/lib/libstdc++.exp (v3-build_support): Delete
libtestc++.a before creation.
From-SVN: r167692
Nathan Froyd [Fri, 10 Dec 2010 16:06:30 +0000 (16:06 +0000)]
decl.c (grokmethod): Test DECL_CLASS_SCOPE_P.
* decl.c (grokmethod): Test DECL_CLASS_SCOPE_P.
* error.c (dump_decl): Test DECL_FILE_SCOPE_P.
From-SVN: r167691
Richard Guenther [Fri, 10 Dec 2010 15:53:58 +0000 (15:53 +0000)]
re PR lto/46808 (Too verbose diagnostic messages when compiling with LTO)
2010-12-10 Richard Guenther <rguenther@suse.de>
PR lto/46808
* lto-symtab.c (lto_symtab_merge_decls_2): Avoid type warnings
after errors.
(lto_symtab_merge_decls_1): Adjust.
From-SVN: r167690
Ian Lance Taylor [Fri, 10 Dec 2010 14:47:12 +0000 (14:47 +0000)]
re PR bootstrap/46819 (libffi is always built)
PR bootstrap/46819
* configure.ac: For --disable-libgcj clear libgcj_saved.
* configure: Rebuild.
From-SVN: r167689
Dave Korn [Fri, 10 Dec 2010 14:28:58 +0000 (14:28 +0000)]
re PR middle-end/46674 (Weak alias is mistakenly optimized away)
gcc/ChangeLog:
PR middle-end/46674
PR lto/43157
* target.def (mangle_assembler_name): New target asm_out hook.
* targhooks.c (default_mangle_assembler_name): Add default hook
implementation.
* targhooks.h (default_mangle_assembler_name): Add prototype.
* lto-symtab.c (lto_symtab_register_decl): Use new hook when
processing DECL_ASSEMBLER_NAMEs for lto symtabs.
(lto_symtab_get_resolution): Likewise.
(lto_cgraph_replace_node): Likewise.
(lto_symtab_prevailing_decl): Likewise.
* lto-streamer-out.c (write_symbol): Likewise.
* doc/tm.texi.in (TARGET_MANGLE_ASSEMBLER_NAME): Add @hook directive.
* doc/tm.texi: Regenerate.
* config/i386/cygming.h (TARGET_MANGLE_ASSEMBLER_NAME): Define to
point at i386_pe_mangle_assembler_name.
* config/i386/winnt.c (i386_pe_mangle_assembler_name): New function.
* config/i386/i386-protos.h (i386_pe_mangle_assembler_name): Add
prototype.
lto-plugin/ChangeLog:
PR middle-end/46674
PR lto/43157
* configure.ac (SYM_STYLE): Don't AC_DEFINE.
* lto-plugin.c (sym_style): Don't use it; default to ss_none.
* configure: Regenerate.
* config.h.in: Likewise.
gcc/testsuite/ChangeLog:
PR middle-end/46674
PR lto/43157
* gcc.dg/pr43157.c: New file.
From-SVN: r167688
Nathan Froyd [Fri, 10 Dec 2010 14:20:26 +0000 (14:20 +0000)]
c-typeck.c (readonly_error): Delete.
gcc/
* c-typeck.c (readonly_error): Delete.
gcc/c-family/
* c-common.h (readonly_error): Declare.
* c-common.c (readonly_error): Define.
gcc/cp/
* cp-tree.h (readonly_error_kind): Delete.
(readonly_error): Rename to...
(cxx_readonly_error): ...this. Change second argument to be an
enum lvalue_use.
* semantics.c (finish_asm_stmt): Call cxx_readonly_error.
* typeck.c (cp_build_unary_op): Likewise.
(cp_build_modify_expr): Likewise.
* typeck2.c (readonly_error): Rename to...
(cxx_readonly_error): ...this. Delegate to readonly_error for
most cases.
gcc/testsuite/
* gcc.dg/dfp/struct-union.c: Adjust.
* gcc.dg/lvalue-2.c: Adjust.
* gcc.dg/pr21419.c: Adjust.
* gcc.dg/qual-component-1.c: Adjust.
* g++.dg/other/const1.C: Adjust.
From-SVN: r167687
Jakub Jelinek [Fri, 10 Dec 2010 12:43:45 +0000 (13:43 +0100)]
re PR rtl-optimization/46865 (Using -save-temps (or ccache, distcc) produces different results with multiline macros containing asm code)
PR rtl-optimization/46865
* rtl.c (rtx_equal_p_cb, rtx_equal_p): For last operand of
ASM_OPERANDS and ASM_INPUT if integers are different,
call locator_eq.
* jump.c (rtx_renumbered_equal_p): Likewise.
* gcc.target/i386/pr46865-1.c: New test.
* gcc.target/i386/pr46865-2.c: New test.
From-SVN: r167686
Jakub Jelinek [Fri, 10 Dec 2010 12:42:12 +0000 (13:42 +0100)]
re PR tree-optimization/46864 (ICE: verify_stmts failed: statement marked for throw, but doesn't with -fnon-call-exceptions)
PR tree-optimization/46864
* tree-ssa-loop-im.c (loop_suitable_for_sm): Return false even
when there are EDGE_EH exit edges.
* g++.dg/opt/pr46864.C: New test.
From-SVN: r167685
Tobias Burnus [Fri, 10 Dec 2010 10:55:56 +0000 (11:55 +0100)]
re PR fortran/46540 (libquadmath: Implement --disable-libquadmath)
/
2010-12-10 Tobias Burnus <burnus@net-b.de>
PR fortran/46540
* configure.ac: Add --disable-libquadmath and
--disable-libquadmath-support.
* configure: Regenerate.
gcc/
2010-12-10 Tobias Burnus <burnus@net-b.de>
PR fortran/46540
* configure.ac: Handle --disable-libquadmath-support.
* doc/install.texi: Document --disable-libquadmath and
--disable-libquadmath-support
* configure: Regenerate.
* config.in: Regenerate.
gcc/fortran/
2010-12-10 Tobias Burnus <burnus@net-b.de>
PR fortran/46540
* trans-types.c (gfc_init_kinds): Handle
--disable-libquadmath-support.
libgfortran/
2010-12-10 Tobias Burnus <burnus@net-b.de>
PR fortran/46540
* acinclude.m4 (LIBGFOR_CHECK_FLOAT128): Honour
--disable-libquadmath-support.
* configure.ac: Handle --disable-libquadmath-support.
* configure: Regenerate.
From-SVN: r167684
Jack Howarth [Fri, 10 Dec 2010 10:40:43 +0000 (10:40 +0000)]
dsymutil enabled for Fortran.
2010-12-10 Jack Howarth <howarth@bromo.med.uc.edu>
Iain Sandoe <iains@gcc.gnu.org>
PR 43751/target
gcc:
* config/darwin9.h (DSYMUTIL_SPEC): Add fortran source types.
testsuite:
* lib/prune.exp: Prune dsymutil warnings.
libstadc++-v3:
* testsuite/lib/prune.exp: Prune dsymutil warnings.
Co-Authored-By: Iain Sandoe <iains@gcc.gnu.org>
From-SVN: r167683
Iain Sandoe [Fri, 10 Dec 2010 10:13:36 +0000 (10:13 +0000)]
gcc:
* config/rs6000/rs6000.c
(rs6000_darwin64_record_arg_advance_recurse): Name register increment
explicitly. (rs6000_darwin64_record_arg_recurse): Make sure we split
long doubles when we run out of regs. Also flag that this requires
stack and therefore cannot be returned by value.
(rs6000_darwin64_record_arg): Update comment.
(rs6000_function_value): Likewise.
From-SVN: r167682
Iain Sandoe [Fri, 10 Dec 2010 10:09:10 +0000 (10:09 +0000)]
update boehm-gc for powerpc m64 darwin.
boehm-gc:
* powerpc_darwin_mach_dep.s: Update for m64. Add eh frames.
Do not build or use the picsymbol stub for Darwin >= 9.
* tests/test.c (reverse_test): Modify count for ppc64-darwin.
* pthread_support.c (GC_get_thread_stack_base): Correct a debug
statement.
From-SVN: r167681
Nicola Pero [Fri, 10 Dec 2010 09:38:52 +0000 (09:38 +0000)]
In gcc/: 2010-12-10 Nicola Pero <nicola.pero@meta-innovation.com>
In gcc/:
2010-12-10 Nicola Pero <nicola.pero@meta-innovation.com>
* c-parser.c (c_parser_objc_class_definition): Recognize
Objective-C 2.0 class extensions.
In gcc/cp/:
2010-12-10 Nicola Pero <nicola.pero@meta-innovation.com>
* parser.c (cp_parser_objc_superclass_or_category): Recognize
Objective-C 2.0 class extensions. Added iface_p and
is_class_extension arguments.
(cp_parser_objc_class_interface): Updated call to
cp_parser_objc_superclass_or_category.
(cp_parser_objc_class_implementation): Same change.
In gcc/objc/:
2010-12-10 Nicola Pero <nicola.pero@meta-innovation.com>
* objc-act.c (objc_in_class_extension): New.
(objc_start_category_interface): If -fobjc-std=objc1
was specified, produce an error if a class extension is used.
(objc_finish_interface): Reset objc_in_class_extension to false.
(objc_add_property_declaration): Allow a class extension to extend
readonly properties in the main @interface to be readwrite.
(start_class): Added code to deal with class extensions. In that
case, return the existing interface after adding any additional
protocols to it and setting objc_in_class_extension to true.
(continue_class): If in a class extension, do not generate the
instance variable template.
In gcc/testsuite/:
2010-12-10 Nicola Pero <nicola.pero@meta-innovation.com>
* objc.dg/class-extension-1.m: New.
* objc.dg/class-extension-2.m: New.
* objc.dg/class-extension-3.m: New.
* objc.dg/property/at-property-26.m: New.
* objc.dg/property/at-property-27.m: New.
* objc.dg/property/at-property-28.m: New.
* obj-c++.dg/class-extension-1.mm: New.
* obj-c++.dg/class-extension-2.mm: New.
* obj-c++.dg/class-extension-3.mm: New.
* obj-c++.dg/property/at-property-26.mm: New.
* obj-c++.dg/property/at-property-27.mm: New.
* obj-c++.dg/property/at-property-28.mm: New.
From-SVN: r167680
Iain Sandoe [Fri, 10 Dec 2010 09:14:55 +0000 (09:14 +0000)]
darwin.c: Remove c-tree.h and c-lang.h
gcc:
* config/darwin.c: Remove c-tree.h and c-lang.h
* config/t-darwin: Remove dependencies on c-tree.h and c-lang.h.
From-SVN: r167679
Joern Rennecke [Fri, 10 Dec 2010 03:58:30 +0000 (03:58 +0000)]
re PR target/46881 (arm_preferred_rename_class uses keyword class as parameter name)
PR target/46881
* doc/tm.texi: Regenerate.
* target.def: Fix "preferred" spelling. Refer to rclass by its
exact name.
* config/arm/arm.c (arm_preferred_rename_class): Rename parameter class
to rclass.
From-SVN: r167678
Nathan Froyd [Fri, 10 Dec 2010 01:32:32 +0000 (01:32 +0000)]
* call.c (print_conversion_rejection): Indent messages two spaces.
From-SVN: r167677
Paul Koning [Fri, 10 Dec 2010 01:31:08 +0000 (20:31 -0500)]
pdp11-protos.h (output_move_double, [...]): Delete.
* config/pdp11/pdp11-protos.h (output_move_double,
output_move_quad): Delete.
(output_move_multiple, pdp11_expand_operands): New functions.
(pdp11_action, pdp11_partorder): New enums.
* config/pdp11/pdp11.md (movdi, movsi, movdf, movsf): Use
output_move_multiple.
(adddi3, subdi3, negdi2): New patterns.
(addsi3, subsi3, negsi2): Use pdp11_expand_operands.
(abshi2): Delete.
(neghi2, negqi2): Use PDPint iterator.
* config/pdp11/pdp11.c (find_addr_reg, output_move_double,
output_move_quad): Delete.
(pdp11_expand_operands, output_move_multiple): New functions.
From-SVN: r167676
Joseph Myers [Fri, 10 Dec 2010 01:03:33 +0000 (01:03 +0000)]
linux.h (WCHAR_TYPE, [...]): Define.
* config/vax/linux.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Define.
* config.gcc (vax-*-linux*): Don't use svr4.h.
From-SVN: r167675
GCC Administrator [Fri, 10 Dec 2010 00:18:34 +0000 (00:18 +0000)]
Daily bump.
From-SVN: r167674
Ian Lance Taylor [Thu, 9 Dec 2010 23:56:47 +0000 (23:56 +0000)]
Avoid some crashes on erroneous programs.
From-SVN: r167670
Ian Lance Taylor [Thu, 9 Dec 2010 22:17:25 +0000 (22:17 +0000)]
re PR bootstrap/46812 (Linux libgo compilation fails when a "libnet" is already installed)
PR bootstrap/46812
Add explicit -I . when building libgo.
From-SVN: r167668
John David Anglin [Thu, 9 Dec 2010 22:15:32 +0000 (22:15 +0000)]
re PR target/46057 (Most stackalign tests fail on hppa-hpux)
PR target/46057
* gcc.dg/torture/stackalign/nested-1.c: Skip on hppa*-*-hpux*.
* gcc.dg/torture/stackalign/vararg-1.c: Likewise.
* gcc.dg/torture/stackalign/nested-2.c: Likewise.
* gcc.dg/torture/stackalign/vararg-2.c: Likewise.
* gcc.dg/torture/stackalign/nested-3.c: Likewise.
* gcc.dg/torture/stackalign/nested-4.c: Likewise.
* gcc.dg/torture/stackalign/global-1.c: Likewise.
* gcc.dg/torture/stackalign/ret-struct-1.c: Likewise.
* gcc.dg/torture/stackalign/inline-1.c: Likewise.
* gcc.dg/torture/stackalign/inline-2.c: Likewise.
* gcc.dg/torture/stackalign/struct-1.c: Likewise.
* gcc.dg/torture/stackalign/pr16660-1.c: Likewise.
* gcc.dg/torture/stackalign/alloca-1.c: Likewise.
* g++.dg/torture/stackalign/throw-1.C: Likewise.
* g++.dg/torture/stackalign/throw-2.C: Likewise.
* g++.dg/torture/stackalign/throw-4.C: Likewise.
* g++.dg/torture/stackalign/eh-inline-1.C: Likewise.
* g++.dg/torture/stackalign/eh-inline-2.C: Likewise.
* g++.dg/torture/stackalign/eh-vararg-1.C: Likewise.
* g++.dg/torture/stackalign/eh-vararg-2.C: Likewise.
* g++.dg/torture/stackalign/eh-alloca-1.C: Likewise.
* g++.dg/torture/stackalign/eh-global-1.C: Likewise.
From-SVN: r167667
Nathan Froyd [Thu, 9 Dec 2010 21:50:23 +0000 (21:50 +0000)]
c-typeck.c (build_indirect_ref): Call invalid_indirection_error.
gcc/
* c-typeck.c (build_indirect_ref): Call invalid_indirection_error.
gcc/c-family/
* c-common.h (invalid_indirection_error): Declare.
* c-common.c (invalid_indirection_error): Define.
gcc/cp/
* typeck.c (cp_build_indirect_ref): Call invalid_indirection_error.
From-SVN: r167666
Nathan Froyd [Thu, 9 Dec 2010 21:47:12 +0000 (21:47 +0000)]
typeck.c (composite_pointer_error): New function.
* typeck.c (composite_pointer_error): New function.
(composite_pointer_type_r, composite_pointer_type): Call it.
From-SVN: r167665
Joseph Myers [Thu, 9 Dec 2010 21:22:09 +0000 (21:22 +0000)]
extend.texi (Attribute Syntax): Correct description of attributes in pointer declarators.
* doc/extend.texi (Attribute Syntax): Correct description of
attributes in pointer declarators.
From-SVN: r167664
Mike Stump [Thu, 9 Dec 2010 19:03:30 +0000 (19:03 +0000)]
Fix typo.
From-SVN: r167662
John David Anglin [Thu, 9 Dec 2010 19:01:42 +0000 (19:01 +0000)]
re PR tree-optimization/46021 (3 tree-ssa tests XPASS almost everywhere)
PR tree-optimization/46021
gcc.dg/tree-ssa/
20040204-1.c: Remove XFAIL for hppa*-*.*.
From-SVN: r167661
Joseph Myers [Thu, 9 Dec 2010 18:20:57 +0000 (18:20 +0000)]
vxworks.h (DBX_REGISTER_NUMBER): Undefine.
* config/mips/vxworks.h (DBX_REGISTER_NUMBER): Undefine.
* config.gcc (mips64*-*-linux* | mipsisa64*-*-linux*,
mips*-*-linux*, mips-wrs-vxworks): Don't use svr4.h.
From-SVN: r167660
Joseph Myers [Thu, 9 Dec 2010 18:20:09 +0000 (18:20 +0000)]
mep.h (SIZE_TYPE, [...]): Define.
* config/mep/mep.h (SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE,
WCHAR_TYPE_SIZE): Define.
* config.gcc (mep-*-*): Don't use svr4.h.
From-SVN: r167659
Joseph Myers [Thu, 9 Dec 2010 17:26:33 +0000 (17:26 +0000)]
mcore.h (PTRDIFF_TYPE, [...]): Define.
* config/mcore/mcore.h (PTRDIFF_TYPE, WCHAR_TYPE,
WCHAR_TYPE_SIZE): Define.
* config/svr3.h (SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE,
WCHAR_TYPE_SIZE): Don't define.
* config.gcc (mcore-*-elf): Don't use svr4.h.
From-SVN: r167658
Joseph Myers [Thu, 9 Dec 2010 17:25:40 +0000 (17:25 +0000)]
config.gcc (m32r-*-elf*, [...]): Don't use svr4.h.
* config.gcc (m32r-*-elf*, m32rle-*-elf*, m32r-*-rtems*,
m32r-*-linux*, m32rle-*-linux*): Don't use svr4.h.
From-SVN: r167657
Joseph Myers [Thu, 9 Dec 2010 17:24:41 +0000 (17:24 +0000)]
iq2000.h (LINK_SPEC, [...]): Define.
* config/iq2000/iq2000.h (LINK_SPEC, SIZE_TYPE, PTRDIFF_TYPE,
WCHAR_TYPE, WCHAR_TYPE_SIZE): Define.
* config.gcc (iq2000*-*-elf*): Don't use svr4.h.
From-SVN: r167656
Joseph Myers [Thu, 9 Dec 2010 17:23:37 +0000 (17:23 +0000)]
* config.gcc (ia64*-*-linux*, ia64*-*-hpux*): Don't use svr4.h.
From-SVN: r167655
Joseph Myers [Thu, 9 Dec 2010 17:22:38 +0000 (17:22 +0000)]
pa32-linux.h (WCHAR_TYPE, [...]): Define.
* config/pa/pa32-linux.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Define.
* config.gcc (hppa*64*-*-linux*, hppa*-*-linux*): Don't use
svr4.h.
From-SVN: r167654
Joseph Myers [Thu, 9 Dec 2010 17:21:24 +0000 (17:21 +0000)]
moxie.h (LINK_SPEC, [...]): Define.
* config/moxie/moxie.h (LINK_SPEC, SIZE_TYPE, PTRDIFF_TYPE,
WCHAR_TYPE, WCHAR_TYPE_SIZE): Define.
* config/moxie/rtems.h (LINK_SPEC, SIZE_TYPE, PTRDIFF_TYPE,
WCHAR_TYPE, WCHAR_TYPE_SIZE): Undefine.
* config.gcc (moxie-*-elf, moxie-*-uclinux*): Don't use svr4.h.
From-SVN: r167653
Joseph Myers [Thu, 9 Dec 2010 17:20:25 +0000 (17:20 +0000)]
frv.h (SIZE_TYPE, [...]): Define.
* config/frv/frv.h (SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE,
WCHAR_TYPE_SIZE): Define.
* config.gcc (frv-*-elf, frv-*-*linux*): Don't use svr4.h.
From-SVN: r167652
Joseph Myers [Thu, 9 Dec 2010 17:19:22 +0000 (17:19 +0000)]
fr30.h (LIB_SPEC, [...]): Define.
* config/fr30/fr30.h (LIB_SPEC, LINK_SPEC, SIZE_TYPE,
PTRDIFF_TYPE, WCHAR_TYPE, WCHAR_TYPE_SIZE): Define.
* config.gcc (fr30-*-elf): Don't use svr4.h.
From-SVN: r167651
Joseph Myers [Thu, 9 Dec 2010 17:18:20 +0000 (17:18 +0000)]
linux.h (SIZE_TYPE, [...]): Define.
* config/cris/linux.h (SIZE_TYPE, PTRDIFF_TYPE): Define.
* config.gcc (crisv32-*-linux* | cris-*-linux*): Don't use svr4.h.
From-SVN: r167650
Richard Guenther [Thu, 9 Dec 2010 17:00:19 +0000 (17:00 +0000)]
re PR middle-end/46844 (regrename.c:312:22: error: unused parameter 'reg')
2010-12-09 Richard Guenther <rguenther@suse.de>
PR middle-end/46844
* gimple-fold.c (canonicalize_constructor_val): Canonicalize
addresses.
* gcc.c-torture/compile/pr46866.c: New testcase.
From-SVN: r167649
Joseph Myers [Thu, 9 Dec 2010 16:58:32 +0000 (16:58 +0000)]
netware.h (TARGET_POSIX_IO): Define.
* config/i386/netware.h (TARGET_POSIX_IO): Define.
* config/i386/nto.h (TARGET_POSIX_IO): Define.
* config/ia64/hpux.h (TARGET_POSIX_IO): Define.
* config/moxie/moxie.h (TARGET_POSIX_IO): Don't undefine.
* config/openbsd.h (TARGET_POSIX_IO): Define.
* config/rtems.h (TARGET_POSIX_IO): Define.
* config/sh/embed-elf.h (TARGET_POSIX_IO): Don't undefine.
* config/sol2.h (TARGET_POSIX_IO): Define.
* config/svr4.h (TARGET_POSIX_IO): Don't define.
* config/vxworksae.h (TARGET_POSIX_IO): Define.
From-SVN: r167648
Joseph Myers [Thu, 9 Dec 2010 16:31:47 +0000 (16:31 +0000)]
nto.h (MD_EXEC_PREFIX, [...]): Define.
* config/i386/nto.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Define.
* config/ia64/hpux.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX):
Define.
* config/linux.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Don't
undefine.
* config/mips/linux.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Don't
undefine.
* config/mips/netbsd.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX):
Don't undefine.
* config/rs6000/linux.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX):
Don't undefine.
* config/rs6000/linux64.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX):
Don't undefine.
* config/sol2.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Define.
* config/sparc/netbsd-elf.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX):
Don't undefine.
* config/sparc/openbsd64.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX):
Don't undefine.
* config/sparc/sp64-elf.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX):
Don't undefine.
* config/svr4.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Don't
define.
* config/xtensa/elf.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Don't
undefine.
From-SVN: r167647
Joseph Myers [Thu, 9 Dec 2010 16:28:45 +0000 (16:28 +0000)]
hpux.h (AS_NEEDS_DASH_FOR_PIPED_INPUT): Define for non-GNU assembler.
* config/ia64/hpux.h (AS_NEEDS_DASH_FOR_PIPED_INPUT): Define for
non-GNU assembler.
* config/m68k/netbsd-elf.h (AS_NEEDS_DASH_FOR_PIPED_INPUT):
Remove.
* config/m68k/openbsd.h (AS_NEEDS_DASH_FOR_PIPED_INPUT): Remove.
* config/mips/openbsd.h (AS_NEEDS_DASH_FOR_PIPED_INPUT): Remove.
* config/sol2.h (AS_NEEDS_DASH_FOR_PIPED_INPUT): Define for
non-GNU assembler.
* config/sparc/sparc.h (AS_NEEDS_DASH_FOR_PIPED_INPUT): Remove.
* config/svr4.h (AS_NEEDS_DASH_FOR_PIPED_INPUT): Remove.
From-SVN: r167646
Steven G. Kargl [Thu, 9 Dec 2010 16:02:50 +0000 (16:02 +0000)]
check.c (gfc_check_sngl): Insert missing space in error message.
2010-12-09 Steven G. Kargl <kargl@gcc.gnu.org>
* check.c (gfc_check_sngl): Insert missing space in error message.
From-SVN: r167645
Steven G. Kargl [Thu, 9 Dec 2010 15:43:29 +0000 (15:43 +0000)]
check.c (gfc_check_float): Insert missing space in error message.
2010-12-09 Steven G. Kargl <kargl@gcc.gnu.org>
* check.c (gfc_check_float): Insert missing space in error message.
From-SVN: r167643
Martin Jambor [Thu, 9 Dec 2010 15:27:14 +0000 (16:27 +0100)]
ipa-prop.c (compute_complex_ancestor_jump_func): Work also if the zero is the first phi parameter.
2010-12-09 Martin Jambor <mjambor@suse.cz>
* ipa-prop.c (compute_complex_ancestor_jump_func): Work also if the
zero is the first phi parameter.
From-SVN: r167642
Martin Jambor [Thu, 9 Dec 2010 15:16:22 +0000 (16:16 +0100)]
ipa-prop.h (struct ipa_parm_adjustment): New field alias_ptr_type.
2010-12-09 Martin Jambor <mjambor@suse.cz>
* ipa-prop.h (struct ipa_parm_adjustment): New field alias_ptr_type.
* ipa-prop.c (ipa_modify_call_arguments): Use it.
* tree-sra.c (splice_param_accesses): Test that all accesses have the
same alias reference type.
(turn_representatives_into_adjustments): Set alias_ptr_type of the
adjustment.
From-SVN: r167641
John David Anglin [Thu, 9 Dec 2010 15:15:26 +0000 (15:15 +0000)]
re PR testsuite/45068 (g++.dg/debug/dwarf2/nested-2.C failed on Linux/ia64)
PR testsuite/45068
* g++.dg/debug/dwarf2/nested-2.C: Also match comments starting with ';'.
From-SVN: r167640
Martin Jambor [Thu, 9 Dec 2010 15:11:26 +0000 (16:11 +0100)]
re PR middle-end/46734 (ICE in create_tmp_var, at gimplify.c:505)
2010-12-09 Martin Jambor <mjambor@suse.cz>
PR middle-end/46734
* tree-sra.c (splice_param_accesses): Check that there are not
multiple ADDRESSABLE types.
* testsuite/g++.dg/tree-ssa/pr46734.C: New test.
From-SVN: r167639