- 11 Dec, 2010 6 commits
-
-
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
Mikael Morin committed -
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 committed -
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
Nicola Pero committed -
From-SVN: r167709
Ahmad Sharif committed -
* gcc.dg/funcorder.c: Remove XFAIL for hppa*64*-*-*. From-SVN: r167708
John David Anglin committed -
From-SVN: r167707
GCC Administrator committed
-
- 10 Dec, 2010 24 commits
-
-
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
Nicola Pero committed -
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
Jakub Jelinek committed -
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
Sebastian Pop committed -
* configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if appropriate. * configure: Regenerate. From-SVN: r167696
Rainer Orth committed -
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
Jakub Jelinek committed -
* testsuite/lib/libstdc++.exp (v3-build_support): Delete libtestc++.a before creation. From-SVN: r167692
Rainer Orth committed -
* decl.c (grokmethod): Test DECL_CLASS_SCOPE_P. * error.c (dump_decl): Test DECL_FILE_SCOPE_P. From-SVN: r167691
Nathan Froyd committed -
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
Richard Guenther committed -
PR bootstrap/46819 * configure.ac: For --disable-libgcj clear libgcj_saved. * configure: Rebuild. From-SVN: r167689
Ian Lance Taylor committed -
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
Dave Korn committed -
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
Nathan Froyd committed -
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 committed -
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
Jakub Jelinek committed -
/ 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
Tobias Burnus committed -
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
Jack Howarth committed -
* 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 committed -
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
Iain Sandoe committed -
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
Nicola Pero committed -
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
Iain Sandoe committed -
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
Joern Rennecke committed -
From-SVN: r167677
Nathan Froyd committed -
* 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
Paul Koning committed -
* config/vax/linux.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Define. * config.gcc (vax-*-linux*): Don't use svr4.h. From-SVN: r167675
Joseph Myers committed -
From-SVN: r167674
GCC Administrator committed
-
- 09 Dec, 2010 10 commits
-
-
From-SVN: r167670
Ian Lance Taylor committed -
PR bootstrap/46812 Add explicit -I . when building libgo. From-SVN: r167668
Ian Lance Taylor committed -
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
John David Anglin committed -
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 committed -
* typeck.c (composite_pointer_error): New function. (composite_pointer_type_r, composite_pointer_type): Call it. From-SVN: r167665
Nathan Froyd committed -
* doc/extend.texi (Attribute Syntax): Correct description of attributes in pointer declarators. From-SVN: r167664
Joseph Myers committed -
From-SVN: r167662
Mike Stump committed -
PR tree-optimization/46021 gcc.dg/tree-ssa/20040204-1.c: Remove XFAIL for hppa*-*.*. From-SVN: r167661
John David Anglin committed -
* 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 committed -
* 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 committed
-