Chung-Lin Tang [Sun, 19 Dec 2010 09:04:41 +0000 (09:04 +0000)]
arm.c (arm_legitimate_index_p): Add VFP load/store index range case.
2010-12-19 Chung-Lin Tang <cltang@codesourcery.com>
gcc/
* config/arm/arm.c (arm_legitimate_index_p): Add VFP load/store
index range case. Change to SF/DFmode tests to avoid capturing HFmode.
(thumb2_legitimate_index_p): Same.
gcc/testsuite/
* gcc.target/arm/vfp-1.c (test_ldst): New test for VFP
load/store immediate indexes.
From-SVN: r168045
Nicola Pero [Sun, 19 Dec 2010 02:12:42 +0000 (02:12 +0000)]
In libobjc/: 2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
In libobjc/:
2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
* init.c: Updated comments.
* objc/objc-api.h: Updated comments.
* objc/runtime.h (_objc_load_callback): Declare.
From-SVN: r168044
Nicola Pero [Sun, 19 Dec 2010 01:43:02 +0000 (01:43 +0000)]
In libobjc/: 2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
In libobjc/:
2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
* objc/Object.h: Include deprecated/typedstream.h and
deprecated/hash.h instead of typedstream.h. Updated comments.
From-SVN: r168043
Nicola Pero [Sun, 19 Dec 2010 01:29:09 +0000 (01:29 +0000)]
In gcc/testsuite/: 2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
In gcc/testsuite/:
2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
* objc.dg/gnu-api-2-resolve-method.m: Include objc/message.h.
* obj-c++.dg/gnu-api-2-resolve-method.m: Include objc/message.h.
In libobjc/:
2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
* Makefile.in (OBJC_DEPRECATED_H): Added objc_msg_sendv.h.
* objc/deprecated/objc_msg_sendv.h: New.
* objc/message.h: Do not define retval_t, apply_t, arglist,
arglist_t, objc_msg_sendv, now in
objc/deprecated/objc_msg_sendv.h.
* objc/objc.h: Do not include message.h; include
objc/deprecated/objc_msg_sendv.h instead. Tidied up comments.
* sendmsg.c: Include objc/message.h.
* thr.c: Include objc/message.h.
From-SVN: r168042
Nicola Pero [Sun, 19 Dec 2010 01:01:48 +0000 (01:01 +0000)]
In libobjc/: 2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
In libobjc/:
2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
* objc/objc-exception.h: Include objc-decls.h. Mark all
functions with objc_EXPORT.
* objc/objc-sync.h: Same change.
From-SVN: r168041
Nicola Pero [Sun, 19 Dec 2010 00:54:27 +0000 (00:54 +0000)]
In libobjc/: 2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
In libobjc/:
2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
* Protocol.m: Moved all methods, with the exception of -isEqual:,
into the 'Deprecated' category.
* objc/Protocol.h: Removed all methods, moved to
objc/deprecated/Protocol.h. Include objc/deprecated/Protocol.h.
* objc/deprecated/Protocol.h: New.
* Makefile.in (OBJC_DEPRECATED_H): Added Protocol.h.
From-SVN: r168040
Nicola Pero [Sun, 19 Dec 2010 00:28:52 +0000 (00:28 +0000)]
In libobjc/: 2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
In libobjc/:
2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
* init.c: Include objc-private/selector.h. Do not declare
__sel_register_typed_name.
* objc-private/selector.h (__sel_register_typed_name): Declare.
* selector.c: Include objc-private/selector.h.
From-SVN: r168039
GCC Administrator [Sun, 19 Dec 2010 00:18:38 +0000 (00:18 +0000)]
Daily bump.
From-SVN: r168038
Jakub Jelinek [Sat, 18 Dec 2010 21:07:12 +0000 (22:07 +0100)]
re PR tree-optimization/46969 (-fcompare-debug failure with -O -ftree-vectorize -ftree-parallelize-loops=2)
PR tree-optimization/46969
* tree-parloops.c (struct reduction_info): Add reduc_version.
(reduction_info_hash): Return reduc_version field.
(reduction_phi): Set reduc_version to gimple_uid (phi).
(build_new_reduction): Set reduc_version to SSA_NAME_VERSION of
phi result.
(set_reduc_phi_uids): New function.
(gather_scalar_reductions): Call it at the end through htab_traverse.
* gcc.dg/autopar/pr46969.c: New test.
From-SVN: r168034
Nicola Pero [Sat, 18 Dec 2010 20:28:07 +0000 (20:28 +0000)]
In gcc/: 2010-12-18 Nicola Pero <nicola.pero@meta-innovation.com>
In gcc/:
2010-12-18 Nicola Pero <nicola.pero@meta-innovation.com>
* c-parser.c (c_parser_objc_try_catch_finally_statement): Call
objc_maybe_warn_exceptions.
(c_parser_objc_synchronized_statement): Call
objc_maybe_warn_exceptions.
In gcc/cp/:
2010-12-18 Nicola Pero <nicola.pero@meta-innovation.com>
* parser.c (cp_parser_objc_try_catch_finally_statement): Call
objc_maybe_warn_exceptions.
(cp_parser_objc_synchronized_statement): Same change.
In gcc/c-family/:
2010-12-18 Nicola Pero <nicola.pero@meta-innovation.com>
* c-objc.h (objc_maybe_warn_exceptions): New.
* stub-objc.c (objc_maybe_warn_exceptions): New.
In gcc/objc/:
2010-12-18 Nicola Pero <nicola.pero@meta-innovation.com>
* objc-act.c (objc_init): Call using_eh_for_cleanups.
(objc_init_exceptions): Renamed to objc_maybe_warn_exceptions. Do
not call using_eh_for_cleanups.
(objc_begin_try_stmt): Do not call objc_init_exceptions.
(objc_build_throw_stmt): Updated call to
objc_maybe_warn_exceptions.
In gcc/testsuite/:
2010-12-18 Nicola Pero <nicola.pero@meta-innovation.com>
* objc.dg/fobjc-exceptions-1.m: Updated.
* objc.dg/fobjc-exceptions-2.m: New.
* objc.dg/fobjc-exceptions-3.m: New.
* obj-c++.dg/fobjc-exceptions-1.mm: New.
* obj-c++.dg/fobjc-exceptions-2.mm: New.
* obj-c++.dg/fobjc-exceptions-3.mm: New.
From-SVN: r168032
Tobias Burnus [Sat, 18 Dec 2010 20:18:43 +0000 (21:18 +0100)]
re PR fortran/46974 (ICE with TRANSFER using a C_PTR entity)
2010-12-18 Tobias Burnus <burnus@net-b.de>
PR fortran/46974
* target-memory.c (gfc_interpret_derived): Handle
* C_PTR/C_FUNPTR.
* trans-expr.c (gfc_trans_structure_assign): Ditto.
(gfc_conv_expr): Avoid crashes using non-C_NULL_(FUN)PTR const expr.
2010-12-18 Tobias Burnus <burnus@net-b.de>
PR fortran/46974
* gfortran.dg/c_ptr_tests_16.f90: New.
From-SVN: r168031
Joseph Myers [Sat, 18 Dec 2010 20:03:52 +0000 (20:03 +0000)]
* gcc.pot: Regenerate.
From-SVN: r168030
Joseph Myers [Sat, 18 Dec 2010 19:58:57 +0000 (19:58 +0000)]
pt.c (most_specialized_class): Use ngettext to determine "candidates are:" / "candidate is" message.
* pt.c (most_specialized_class): Use ngettext to determine
"candidates are:" / "candidate is" message.
From-SVN: r168029
Jakub Jelinek [Sat, 18 Dec 2010 18:15:10 +0000 (19:15 +0100)]
re PR tree-optimization/46985 (ICE: SIGSEGV in is_gimple_min_invariant (gimple.c:2742) with -fno-tree-ccp -fno-tree-dominator-opts -fno-tree-fre)
PR tree-optimization/46985
* tree-scalar-evolution.c (instantiate_scev_r): If chrec is NULL,
return it immediately.
* gfortran.dg/pr46985.f90: New test.
From-SVN: r168027
John David Anglin [Sat, 18 Dec 2010 17:10:34 +0000 (17:10 +0000)]
re PR target/46915 (Wrong code is generated for conditional branch followed by zero length asm)
PR target/46915
* config/pa/pa.c (branch_to_delay_slot_p): Use next_active_insn instead
of next_real_insn. Search forward checking for both ASM_INPUT and
ASM_OPERANDS asms until exit condition is found.
(branch_needs_nop_p): Likewise.
(use_skip_p): New function.
(output_cbranch): Use use_skip_p.
(output_bb, output_bvb): Likewise.
From-SVN: r168026
Joseph Myers [Sat, 18 Dec 2010 16:21:56 +0000 (16:21 +0000)]
* cpplib.pot: Regenerate.
From-SVN: r168025
Joseph Myers [Sat, 18 Dec 2010 16:02:34 +0000 (16:02 +0000)]
* ja.po: Update.
From-SVN: r168024
Eric Botcazou [Sat, 18 Dec 2010 12:52:41 +0000 (12:52 +0000)]
re PR tree-optimization/46232 (64-bit gcc.dg/tree-ssa/pr14814.c FAILs on SPARC)
PR tree-optimization/46232
* gcc.dg/tree-ssa/pr14814.c: Add -fno-tree-sra.
From-SVN: r168023
Nicola Pero [Sat, 18 Dec 2010 12:22:59 +0000 (12:22 +0000)]
In libobjc/: 2010-12-18 Nicola Pero <nicola.pero@meta-innovation.com>
In libobjc/:
2010-12-18 Nicola Pero <nicola.pero@meta-innovation.com>
* class.c: Tidied up comments and indentation. No code changes.
* error.c: Same.
* exception.c: Same.
* init.c: Same.
* ivars.c: Same.
* memory.c: Same.
* objc-foreach.c: Same.
* objc-sync.c: Same.
* objects.c: Same.
* protocols.c: Same.
* sarray.c: Same.
* thr.c: Same.
From-SVN: r168022
Tobias Burnus [Sat, 18 Dec 2010 11:55:02 +0000 (12:55 +0100)]
update_web_docs_svn (MANUALS): Add libquadmath.
2010-12-18 Tobias Burnus <burnus@net-b.de>
* update_web_docs_svn (MANUALS): Add libquadmath.
From-SVN: r168021
Iain Sandoe [Sat, 18 Dec 2010 11:28:46 +0000 (11:28 +0000)]
objc-act.c (objc_eh_personality): Select personality name on runtime.
gcc/objc:
* objc/objc-act.c (objc_eh_personality): Select personality name on
runtime.
(objc_init_exceptions): New.
(objc_begin_try_stmt): Use objc_init_exceptions.
(objc_build_throw_stmt): Likewise.
gcc/testsuite:
* fobjc-exceptions.m: Update dg-error syntax.
From-SVN: r168020
Kai Tietz [Sat, 18 Dec 2010 10:16:13 +0000 (10:16 +0000)]
re PR target/36834 (structure return ABI for windows targets differs from native MSVC)
2010-12-18 Kai Tietz <kai.tietz@onevision.com>
PR target/36834
* config/i386/i386.c (ix86_keep_aggregate_return_pointer):
New local function.
(ix86_return_pops_args): Use ix86_keep_aggregate_return_pointer
function instead of KEEP_AGGREGATE_RETURN_POINTER.
(ix86_handle_callee_pop_aggregate_return): New handler.
(ix86_attribute_table): Add new attribute
callee_pop_aggregate_return.
* doc/extend.texi (callee_pop_aggregate_return): Add
attribute documentation.
2010-12-18 Kai Tietz <kai.tietz@onevision.com>
PR target/36834
* gcc.target/i386/aggregate-ret1.c: New.
* gcc.target/i386/aggregate-ret2.c: New.
From-SVN: r168019
Iain Sandoe [Sat, 18 Dec 2010 09:16:09 +0000 (09:16 +0000)]
darwin.h (SUBTARGET_C_COMMON_OVERRIDE_OPTIONS): Only set sjlj exceptions for NeXT/m32.
gcc:
* config/darwin.h (SUBTARGET_C_COMMON_OVERRIDE_OPTIONS):
Only set sjlj exceptions for NeXT/m32.
From-SVN: r168018
Iain Sandoe [Sat, 18 Dec 2010 09:14:05 +0000 (09:14 +0000)]
darwin.h (GCC_DRIVER_HOST_INITIALIZATION): Only expose when not building for target.
gcc:
* config/darwin.h (GCC_DRIVER_HOST_INITIALIZATION):
Only expose when not building for target.
From-SVN: r168017
Iain Sandoe [Sat, 18 Dec 2010 08:56:46 +0000 (08:56 +0000)]
re PR libffi/29152 (64-bit darwin ppc port needed for libffi)
libffi:
PR libffi/29152
PR libffi/42378
* src/powerpc/darwin_closure.S: Provide Darwin64 implementation,
update comments.
* src/powerpc/ffitarget.h (POWERPC_DARWIN64): New,
(FFI_TRAMPOLINE_SIZE): Update for Darwin64.
* src/powerpc/darwin.S: Provide Darwin64 implementation,
update comments.
* src/powerpc/ffi_darwin.c: Likewise.
From-SVN: r168016
Iain Sandoe [Sat, 18 Dec 2010 08:48:06 +0000 (08:48 +0000)]
add new test missed from r167682
testsuite:
* gcc.target/powerpc/darwin-split-ld-stret.c: New test.
From-SVN: r168015
Ian Lance Taylor [Sat, 18 Dec 2010 03:03:16 +0000 (03:03 +0000)]
Don't crash on recursive variables and typed consts.
From-SVN: r168012
Ahmad Sharif [Sat, 18 Dec 2010 02:43:54 +0000 (02:43 +0000)]
max-stack-align.c: New testcase.
2010-12-17 Ahmad Sharif <asharif@google.com>
* gcc.target/i386/max-stack-align.c: New testcase.
From-SVN: r168011
Joseph Myers [Sat, 18 Dec 2010 01:30:13 +0000 (01:30 +0000)]
netbsd.opt, [...]: New files.
* config/netbsd.opt, config/netbsd-elf.opt: New files.
* config.gcc (alpha*-*-netbsd*, arm*-*-netbsdelf*, arm*-*-netbsd*,
i[34567]86-*-netbsdelf*, i[34567]86-*-netbsd*, x86_64-*-netbsd*,
m68k*-*-netbsdelf*, mips*-*-netbsd*, powerpc-*-netbsd*,
sh*-*-netbsd*, sparc-*-netbsdelf*, sparc64-*-netbsd*,
vax-*-netbsdelf*, vax-*-netbsd*): Use these .opt files.
From-SVN: r168010
GCC Administrator [Sat, 18 Dec 2010 00:18:26 +0000 (00:18 +0000)]
Daily bump.
From-SVN: r168009
Nicola Pero [Fri, 17 Dec 2010 23:17:46 +0000 (23:17 +0000)]
In gcc/testsuite/: 2010-12-17 Nicola Pero <nicola.pero@meta-innovation.com>
In gcc/testsuite/:
2010-12-17 Nicola Pero <nicola.pero@meta-innovation.com>
* objc.dg/exceptions-4.m: Adjust for change in error message.
From-SVN: r168003
Richard Henderson [Fri, 17 Dec 2010 22:51:25 +0000 (14:51 -0800)]
Continue searching in find_oldest_value_reg on class match failure.
From-SVN: r168001
Nicola Pero [Fri, 17 Dec 2010 22:12:34 +0000 (22:12 +0000)]
init.c: Include objc/runtime.h and objc-private/module-abi-8.h instead of objc/objc-api.h.
2010-12-17 Nicola Pero <nicola.pero@meta-innovation.com>
* init.c: Include objc/runtime.h and objc-private/module-abi-8.h
instead of objc/objc-api.h.
(init_check_module_version): Take a 'struct objc_module *'
argument instead of 'Module_t'. Use 'struct objc_module *'
instead of 'Module_t'.
(__objc_created_classes_tree): Take a 'struct objc_module *'
argument instead of 'Module_t'; use 'struct objc_symtab *' instead
of 'Symtab_t'.
(__objc_call_callback): Take a 'struct objc_module *' argument
instead of 'Module_t'; use 'struct objc_symtab *' instead of
'Symtab_t' and 'struct objc_category *' instead of 'Category_t'.
(_objc_load_callback): Take a 'struct objc_category *' argument
instead of 'Category *'.
(class_superclass_of_class): Use objc_getClass() instead of
objc_lookup_class().
(create_tree_of_subclasses_inherited_from): Same change (also, use
an explicit 'if' instead of '?').
(objc_init_statics): Same change.
(objc_send_load): Same change.
(__objc_init_protocol): same change.
(__objc_send_message_in_list): Take a 'struct objc_method_list *'
argument instead of 'MethodList_t'. Use 'struct objc_method *'
instead of 'Method_t'.
(__objc_send_load): Use 'struct objc_method_list *' instead of
'MethodList_t'. Use sel_registerName() instead of
sel_register_name().
(__objc_exec_class): Take a 'struct objc_module *' argument
instead of 'Module_t'. Use 'struct objc_symtab *' instead of
'Symtab_t'. Use objc_getClass() instead of objc_lookup_class().
Use 'struct objc_category *' instead of 'Category_t'.
From-SVN: r168000
Paolo Bonzini [Fri, 17 Dec 2010 21:23:36 +0000 (21:23 +0000)]
re PR c/20385 (Lame parse error message for undefined type)
gcc:
2010-12-17 Paolo Bonzini <bonzini@gnu.org>
PR c/20385
* function.c (used_types_insert): Handle ERROR_MARK.
* c-decl.c (grokdeclarator): Handle ERROR_MARK.
(declspecs_add_type): Leave error_mark_node in specs->type.
(finish_declspecs): Change it to integer_type_node here.
* c-parser.c (c_parser_peek_2nd_token): Move earlier.
(enum c_lookahead_kind): New.
(c_parser_next_token_starts_typename): New name of
c_parser_next_tokens_start_typename. Accept lookahead enum
and handle it here instead of...
(c_parser_next_tokens_start_declaration): ... here. Call it.
(c_parser_declspecs): Accept another argument. Do not exit
on C_ID_ID if it is guessed to be an unknown typename.
(c_parser_parms_declarator): Use 2nd token to distinguish a K&R
declaration from an ANSI declaration starting with an unknown
typename.
(c_parser_struct_declaration, c_parser_objc_type_name,
c_parser_typeof_specifier, c_parser_declarator,
c_parser_direct_declarator_inner): Adjust calls.
(c_parser_parameter_declaration): Likewise.
(c_parser_type_name): Pass back an error_mark_node to the caller.
(c_parser_postfix_expression): Do error recovery when
c_parser_type_name returns NULL.
testsuite:
2010-12-17 Paolo Bonzini <bonzini@gnu.org>
PR c/20385
* objc.dg/tls/init-2.m: Adjust.
* gcc.dg/noncompile/920923-1.c: Adjust.
* gcc.dg/noncompile/pr44517.c: Adjust.
* gcc.dg/declspec-18.c: New test.
From-SVN: r167999
Joseph Myers [Fri, 17 Dec 2010 21:17:17 +0000 (21:17 +0000)]
netware.h (ASM_SPEC, [...]): Define.
* config/i386/netware.h (ASM_SPEC, SIZE_TYPE, PTRDIFF_TYPE):
Define.
* config/i386/nto.h (LIB_SPEC, ASM_SPEC): Define.
(DBX_REGISTER_NUMBER): Undefine.
* config/i386/sol2.h (SIZE_TYPE, PTRDIFF_TYPE): Define.
* config/i386/vxworksae.h (ASM_SPEC, SIZE_TYPE, PTRDIFF_TYPE):
Define.
* config.gcc (i[34567]86-*-linux* | i[34567]86-*-kfreebsd*-gnu |
i[34567]86-*-knetbsd*-gnu | i[34567]86-*-gnu* |
i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux* |
x86_64-*-kfreebsd*-gnu | x86_64-*-knetbsd*-gnu,
i[3456x]86-*-netware*, i[34567]86-*-nto-qnx*,
i[34567]86-*-solaris2*,
i[4567]86-wrs-vxworks|i[4567]86-wrs-vxworksae): Don't use svr4.h.
From-SVN: r167998
H.J. Lu [Fri, 17 Dec 2010 19:11:52 +0000 (19:11 +0000)]
Replace "BB [%i]" with "[bb %i]" in vzeroupper RTL dump.
2010-12-17 H.J. Lu <hongjiu.lu@intel.com>
* config/i386/i386.c (move_or_delete_vzeroupper_2): Replace
"BB [%i]" with "[bb %i]" in dump.
(move_or_delete_vzeroupper_1): Likewise.
(rescan_move_or_delete_vzeroupper): Likewise. Always dump
upper 128bit state at exit.
From-SVN: r167996
Ulrich Weigand [Fri, 17 Dec 2010 18:49:42 +0000 (18:49 +0000)]
titype-1.c: Enable TImode on __SPU__.
* gcc.dg/titype-1.c: Enable TImode on __SPU__.
* gcc.dg/torture/fp-int-convert.h: Likewise.
* gcc.dg/tree-ssa/ivopts-1.c: Likewise.
* gcc.dg/uninit-C.c: Likewise.
* gcc.dg/uninit-C-O0.c: Likewise.
* gcc.dg/format/unnamed-1.c: Likewise.
* gcc.dg/format/ms_unnamed-1.c: Likewise.
From-SVN: r167995
Paolo Carlini [Fri, 17 Dec 2010 18:32:27 +0000 (18:32 +0000)]
basic_string.h (operator+(basic_string<>&&, const basic_string<>&), [...]): Add.
2010-12-17 Paolo Carlini <paolo.carlini@oracle.com>
* include/bits/basic_string.h (operator+(basic_string<>&&,
const basic_string<>&), operator+(const basic_string<>&,
basic_string<>&&), operator+(basic_string<>&&, basic_string<>&&),
operator+(const _CharT*, basic_string<>&&), operator+(_CharT,
basic_string<>&&), operator+(basic_string<>&&, const _CharT*),
operator+(basic_string<>&&, _CharT)): Add.
* testsuite/21_strings/basic_string/operators/char/3.cc: New.
* testsuite/21_strings/basic_string/operators/wchar_t/3.cc: Likewise.
From-SVN: r167994
Jason Merrill [Fri, 17 Dec 2010 17:47:27 +0000 (12:47 -0500)]
re PR c++/46670 (ICE in dependent_type_p, at cp/pt.c:17553)
PR c++/46670
* pt.c (value_dependent_expression_p) [ARRAY_REF]: Handle
properly.
From-SVN: r167993
Joseph Myers [Fri, 17 Dec 2010 16:45:18 +0000 (16:45 +0000)]
interix.opt: New.
* config/interix.opt: New.
* config/interix.h (LINK_SPEC): Don't handle -soname*.
* config.gcc (i[34567]86-*-interix3*): Use interix.opt.
From-SVN: r167992
Andrew Stubbs [Fri, 17 Dec 2010 16:30:37 +0000 (16:30 +0000)]
arm.md (maddhisi4, *maddhidi4): Use the canonical operand order for plus.
2010-12-17 Andrew Stubbs <ams@codesourcery.com>
gcc/
* config/arm/arm.md (maddhisi4, *maddhidi4): Use the canonical
operand order for plus.
Drop redundant % from constraints.
From-SVN: r167991
Ulrich Weigand [Fri, 17 Dec 2010 14:10:02 +0000 (14:10 +0000)]
t-spu-elf (LIB2FUNCS_EXCLUDE): Add _floattisf and _floatunstisf.
* config/spu/t-spu-elf (LIB2FUNCS_EXCLUDE): Add _floattisf and
_floatunstisf.
* config/spu/spu.md ("floattisf2"): New expander.
("floatunstisf2"): New insn pattern and splitter.
("cgt_ti_m1"): New insn pattern.
From-SVN: r167984
Joseph Myers [Fri, 17 Dec 2010 14:01:47 +0000 (14:01 +0000)]
* ja.po: Update.
From-SVN: r167983
Joseph Myers [Fri, 17 Dec 2010 14:00:25 +0000 (14:00 +0000)]
* ja.po: Update.
From-SVN: r167982
Bernd Schmidt [Fri, 17 Dec 2010 13:48:40 +0000 (13:48 +0000)]
arm.c (arm_select_cc_mode): Before calling arm_select_dominance_cc_mode for AND or IOR operations...
gcc/
* config/arm/arm.c (arm_select_cc_mode): Before calling
arm_select_dominance_cc_mode for AND or IOR operations, ensure
that op is NE or EQ.
gcc/testsuite/
* gcc.c-torture/compile/
20101217-1.c: New test.
From-SVN: r167981
Alexander Monakov [Fri, 17 Dec 2010 12:54:59 +0000 (15:54 +0300)]
re PR middle-end/46761 (-fgraphite-identity produces wrong code for array initialization arr[i] = i)
PR middle-end/46761
* graphite-clast-to-gimple.c (graphite_create_new_loop_guard): Prefer
to use unadjusted UB.
testsuite:
* gcc.dg/graphite/pr46761.c: New.
From-SVN: r167980
Janus Weil [Fri, 17 Dec 2010 12:31:54 +0000 (13:31 +0100)]
re PR fortran/46849 ([OOP] MODULE PROCEDURE resolution does not work in BLOCK or SELECT TYPE)
2010-12-17 Janus Weil <janus@gcc.gnu.org>
Tobias Burnus <burnus@gcc.gnu.org>
PR fortran/46849
* resolve.c (resolve_symbol): Remove symbols that wrongly ended up
in a local BLOCK namespace.
2010-12-17 Janus Weil <janus@gcc.gnu.org>
PR fortran/46849
* gfortran.dg/block_9.f08: New.
Co-Authored-By: Tobias Burnus <burnus@gcc.gnu.org>
From-SVN: r167978
Paolo Carlini [Fri, 17 Dec 2010 11:51:16 +0000 (11:51 +0000)]
aclocal.m4: Regenerate.
2010-12-17 Paolo Carlini <paolo.carlini@oracle.com>
* aclocal.m4: Regenerate.
* Makefile.in: Likewise.
* testsuite/Makefile.in: Likewise.
* libsupc++/Makefile.in: Likewise.
* include/Makefile.in: Likewise.
* po/Makefile.in: Likewise.
* doc/Makefile.in: Likewise.
* src/Makefile.in: Likewise.
* python/Makefile.in: Likewise.
From-SVN: r167977
Dodji Seketeli [Fri, 17 Dec 2010 10:39:21 +0000 (10:39 +0000)]
re PR debug/45088 (pointer type information lost in debuginfo)
Fix for PR debug/45088
gcc/
* dwarf2out.c (gen_type_die_with_usage): Do not try to emit debug
info for a redundant typedef that has DECL_ORIGINAL_TYPE set. Use
that underlying type instead.
gcc/testsuite/
* g++.dg/debug/dwarf2/self-ref-1.C: New test.
* g++.dg/debug/dwarf2/self-ref-2.C: Likewise.
From-SVN: r167976
Ian Lance Taylor [Fri, 17 Dec 2010 06:42:06 +0000 (06:42 +0000)]
Rework locking code to split stack much less.
From-SVN: r167973
Ian Lance Taylor [Fri, 17 Dec 2010 06:37:06 +0000 (06:37 +0000)]
Update to current master source.
From-SVN: r167972
Ian Lance Taylor [Fri, 17 Dec 2010 06:36:10 +0000 (06:36 +0000)]
Don't split stack in bytes.IndexByte.
From-SVN: r167971
Ian Lance Taylor [Fri, 17 Dec 2010 06:33:41 +0000 (06:33 +0000)]
Avoid always splitting the stack when calling append and copy.
From-SVN: r167970
GCC Administrator [Fri, 17 Dec 2010 00:18:28 +0000 (00:18 +0000)]
Daily bump.
From-SVN: r167968
Jan Hubicka [Fri, 17 Dec 2010 00:08:02 +0000 (00:08 +0000)]
re PR ipa/44563 (GCC uses a lot of RAM when compiling a large numbers of functions)
PR middle-end/44563
* ipa-inline.c: Update doplevel comment.
(cgraph_estimate_size_after_inlining): Remove times attribute.
(cgraph_mark_inline_edge): Update.
(cgraph_mark_inline): Remove.
(cgraph_estimate_growth): Update.
(cgraph_check_inline_limits): Remove one only argument.
(cgraph_edge_badness): Update.
(cgraph_decide_recursive_inlining): Update.
(cgraph_decide_inlining_of_small_function): Fix handling of tree_can_inline_p
and call_stmt_cannot_inline_p.
(cgraph_flatten): Likewise.
(cgraph_decide_inlining): Update.
(cgraph_decide_inlining_incrementally): Fix handling of call_stmt_cannot_inline_p.
From-SVN: r167964
Joseph Myers [Thu, 16 Dec 2010 23:37:23 +0000 (23:37 +0000)]
darwin.opt (dylinker, [...]): New Driver options.
* config/darwin.opt (dylinker, headerpad_max_install_names,
keep_private_externs, nofixprebinding, nomultidefs, noprebind,
noseglinkedit, object, prebind, prebind_all_twolevel_modules,
preload, private_bundle, pthread, seglinkedit, twolevel_namespace,
twolevel_namespace_hints, whatsloaded, whyload, y, Mach, X): New
Driver options.
* config/darwin.h (LINK_SPEC): Remove '*' after
headerpad_max_install_names.
From-SVN: r167963
Sebastian Pop [Thu, 16 Dec 2010 22:54:17 +0000 (22:54 +0000)]
Fix PR46924: Do not detect reductions outside the current SESE region.
2010-12-16 Sebastian Pop <sebastian.pop@amd.com>
PR tree-optimization/46924
* graphite-sese-to-poly.c (detect_commutative_reduction): Do not
detect reductions outside the current SESE region.
* sese.h (stmt_in_sese_p): New.
(defined_in_sese_p): Call stmt_in_sese_p.
* gcc.dg/graphite/pr46924.c: New.
From-SVN: r167962
Nicola Pero [Thu, 16 Dec 2010 22:52:48 +0000 (22:52 +0000)]
In libobjc/: 2010-12-16 Nicola Pero <nicola.pero@meta-innovation.com>
In libobjc/:
2010-12-16 Nicola Pero <nicola.pero@meta-innovation.com>
* sendmsg.c: Include objc/runtime.h instead of objc/objc-api.h.
Include objc-private/module-abi-8.h and objc-private/selector.h
instead of objc/encoding.h.
(objc_msg_lookup_super): Use super->super_class instead of
super->class.
(method_get_first_argument, method_get_next_argument): Declare
locally.
(class_get_instance_method): Declare before using.
(objc_msg_sendv): Use 'struct objc_method' instead of 'Method'.
(__objc_init_dispatch_tables, __objc_send_initialize): Use
sel_registerName() instead of sel_register_name().
(__objc_forward): Use sel_getName() instead of sel_get_name().
(objc_get_uninstalled_dtable): Use 'void' as argument.
* objc-private/selector.h: New.
From-SVN: r167961
Jakub Jelinek [Thu, 16 Dec 2010 22:45:42 +0000 (23:45 +0100)]
re PR tree-optimization/46966 (ICE: in execute_cse_reciprocals, at tree-ssa-math-opts.c:474 with -floop-interchange -fno-tree-copy-prop -fno-tree-loop-im)
PR tree-optimization/46966
* graphite-sese-to-poly.c (build_scop_drs): Call free_gimple_bb for
for bbs that are removed from SCOP_BBS vector.
* gcc.dg/graphite/pr46966.c: New test.
From-SVN: r167960
Eric Botcazou [Thu, 16 Dec 2010 22:35:35 +0000 (22:35 +0000)]
tree-ssa-sccvn.c (vn_reference_lookup_3): Always punt if the call to get_ref_base_and_extent returns -1 as the max size.
* tree-ssa-sccvn.c (vn_reference_lookup_3): Always punt if the call to
get_ref_base_and_extent returns -1 as the max size.
From-SVN: r167958
Konrad Eisele [Thu, 16 Dec 2010 22:28:45 +0000 (22:28 +0000)]
Support for LEON processor
Support for LEON processor
* config.gcc (sparc-*-elf*): Deal with sparc-leon specifically.
(sparc-*-linux*): Likewise.
(sparc-*-rtems*): Remove Solaris left-overs.
(sparc*-*-*): Remove obsolete sparc86x setting.
(sparc-leon*): Default to --with-cpu=v8 and --with-tune=leon.
* doc/invoke.texi (SPARC Options): Document -mcpu/-mtune=leon.
* config/sparc/sparc.h (TARGET_CPU_leon): Define.
(TARGET_CPU_sparc86x): Delete.
(TARGET_CPU_cypress): Define as alias to TARGET_CPU_v7.
(TARGET_CPU_f930): Define as alias to TARGET_CPU_sparclite.
(TARGET_CPU_f934): Likewise.
(TARGET_CPU_tsc701): Define as alias to TARGET_CPU_sparclet.
(CPP_CPU_SPEC): Add entry for -mcpu=leon.
(enum processor_type): Add PROCESSOR_LEON. Reorganize.
* config/sparc/sparc.c (leon_costs): New cost array.
(sparc_option_override): Add entry for TARGET_CPU_leon and -mcpu=leon.
Initialize cost array to leon_costs if -mtune=leon.
* config/sparc/sparc.md (cpu attribute): Add leon. Reorganize.
Include leon.md scheduling description.
* config/sparc/leon.md: New file.
* config/sparc/t-elf: Do not assemble Solaris startup files.
* config/sparc/t-leon: New file.
* config/sparc/t-leon3: Likewise.
Co-Authored-By: Eric Botcazou <ebotcazou@adacore.com>
From-SVN: r167957
Benjamin Kosnik [Thu, 16 Dec 2010 22:02:38 +0000 (22:02 +0000)]
testsuite_iterators.h: Guard move.h includes.
2010-11-16 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/util/testsuite_iterators.h: Guard move.h includes.
* testsuite/util/testsuite_allocator.h: Same.
* testsuite/20_util/temporary_buffer.cc: Use typedef, qualify.
* testsuite/ext/pb_ds/regression/hash_data_map_rand.cc: Define
PB_DS_REGRESSION in the source file.
* testsuite/ext/pb_ds/regression/trie_data_map_rand.cc: Same.
* testsuite/ext/pb_ds/regression/list_update_no_data_map_rand.cc: Same.
* testsuite/ext/pb_ds/regression/tree_no_data_map_rand.cc: Same.
* testsuite/ext/pb_ds/regression/list_update_data_map_rand.cc: Same.
* testsuite/ext/pb_ds/regression/hash_no_data_map_rand.cc: Same.
* testsuite/ext/pb_ds/regression/priority_queue_rand.cc: Same.
* testsuite/ext/pb_ds/regression/tree_data_map_rand.cc: Same.
* testsuite/ext/pb_ds/regression/trie_no_data_map_rand.cc: Same.
* testsuite/21_strings/c_strings/wchar_t/3_neg.cc: Move to this.
Use _neg suffix.
* testsuite/21_strings/c_strings/wchar_t/3.cc: ...from this.
* testsuite/21_strings/c_strings/char/3_neg.cc: Same.
* testsuite/21_strings/c_strings/char/3.cc: Same.
* testsuite/ext/slist/23781_neg.cc: Same.
* testsuite/ext/slist/23781.cc: Same.
* testsuite/ext/profile/mutex_extensions.cc: Same.
* testsuite/ext/profile/mutex_extensions_neg.cc: Same.
* testsuite/tr1/2_general_utilities/shared_ptr/cons/43820.cc: Same.
* testsuite/tr1/2_general_utilities/shared_ptr/cons/43820_neg.cc: Same.
* testsuite/tr1/6_containers/tuple/comparison_operators/35480_neg.cc:
Same.
* testsuite/tr1/6_containers/tuple/comparison_operators/35480.cc: Same.
* testsuite/23_containers/multimap/23781_neg.cc: Same.
* testsuite/23_containers/multimap/23781.cc: Same.
* testsuite/23_containers/set/23781_neg.cc: Same.
* testsuite/23_containers/set/23781.cc: Same.
* testsuite/23_containers/multiset/23781_neg.cc: Same.
* testsuite/23_containers/multiset/23781.cc: Same.
* testsuite/23_containers/list/23781_neg.cc: Same.
* testsuite/23_containers/list/23781.cc: Same.
* testsuite/23_containers/map/23781_neg.cc: Same.
* testsuite/23_containers/map/23781.cc: Same.
* testsuite/20_util/duration/cons/dr974_neg.cc: Same.
* testsuite/20_util/duration/cons/dr974.cc: Same.
* testsuite/20_util/tuple/comparison_operators/35480_neg.cc: Same.
* testsuite/20_util/tuple/comparison_operators/35480.cc: Same.
* testsuite/20_util/shared_ptr/cons/43820_neg.cc: Same.
* testsuite/20_util/shared_ptr/cons/43820.cc: Same.
* testsuite/20_util/unique_ptr/cons/pointer_array_convertible_neg.cc:
Same.
* testsuite/20_util/unique_ptr/cons/pointer_array_convertible.cc: Same.
From-SVN: r167956
Jakub Jelinek [Thu, 16 Dec 2010 21:44:02 +0000 (22:44 +0100)]
re PR tree-optimization/43655 (-ftree-ter causes FAIL: g++.old-deja/g++.law/temps5.C execution test)
PR tree-optimization/43655
* tree-ssa-ter.c (is_replaceable_p): Don't use
gimple_references_memory_p for -O0, instead check for load
by looking at rhs.
* g++.dg/opt/pr43655.C: New test.
From-SVN: r167955
Sebastian Pop [Thu, 16 Dec 2010 20:05:18 +0000 (20:05 +0000)]
Fix PR46404: call scev_reset to reset the number of iterations as well.
2010-12-16 Sebastian Pop <sebastian.pop@amd.com>
PR tree-optimization/46404
* graphite-clast-to-gimple.c (gloog): Call scev_reset.
* gcc.dg/graphite/pr46404-1.c: New.
From-SVN: r167954
Andrew John Hughes [Thu, 16 Dec 2010 19:48:07 +0000 (19:48 +0000)]
PR libgcj/46774: Create dynamic ProtectionDomain instances which check the system policy.
2010-12-13 Andrew John Hughes <ahughes@redhat.com>
PR libgcj/46774
* libjava/java/security/VMAccessController.java:
(DEFAULT_CONTEXT): Create ProtectionDomain with
four argument constructor (arguments are the same
as those implied by the two argument constructor).
(getContext()): Create ProtectionDomain instances
with four argument constructor using a null Principal
array (as before) but including the classloader, which
was always null before.
From-SVN: r167952
Anatoly Sokolov [Thu, 16 Dec 2010 18:41:56 +0000 (21:41 +0300)]
sh.h (OUTPUT_ADDR_CONST_EXTRA): Remove.
* config/sh/sh.h (OUTPUT_ADDR_CONST_EXTRA): Remove.
* config/sh/sh.c (sh_asm_output_addr_const_extra): New function.
(TARGET_ASM_OUTPUT_ADDR_CONST_EXTRA): Define.
From-SVN: r167951
Ulrich Weigand [Thu, 16 Dec 2010 18:12:23 +0000 (18:12 +0000)]
t-spu-elf (LIB2_SIDITI_CONV_FUNC): Define.
* config/spu/t-spu-elf (LIB2_SIDITI_CONV_FUNC): Define.
* config/spu/spu.h (MIN_UNITS_PER_WORD): Do not define.
(LIBGCC2_UNITS_PER_WORD): Define if not already defined.
From-SVN: r167950
Jakub Jelinek [Thu, 16 Dec 2010 17:14:30 +0000 (18:14 +0100)]
re PR debug/46893 (ICE: in trunc_int_for_mode, at explow.c:56 with -O -g)
PR debug/46893
* cfgexpand.c (expand_debug_expr): If GET_MODE (op0) is VOIDmode,
use TYPE_MODE (TREE_TYPE (tem)) instead of mode1.
* gcc.dg/pr46893.c: New test.
From-SVN: r167949
H.J. Lu [Thu, 16 Dec 2010 12:15:18 +0000 (12:15 +0000)]
Make main return 0.
2010-12-16 H.J. Lu <hongjiu.lu@intel.com>
PR lto/46976
* gcc.dg/lto/pr46940_1.c (main): Return 0.
From-SVN: r167903
Chung-Lin Tang [Thu, 16 Dec 2010 05:10:18 +0000 (05:10 +0000)]
re PR target/46883 (GCC ICE with error: unrecognizable insn)
2010-12-16 Chung-Lin Tang <cltang@codesourcery.com>
PR target/46883
* config/arm/arm.md
(zero_extendhisi2 for register input splitter): Change
"register_operand" to "s_register_operand".
(zero_extendqisi2 for register input splitter): Same.
testsuite/
* gcc.target/arm/pr46883.c: New testcase.
From-SVN: r167900
Ian Lance Taylor [Thu, 16 Dec 2010 04:47:18 +0000 (04:47 +0000)]
Don't crash on recursive consts.
From-SVN: r167899
Ian Lance Taylor [Thu, 16 Dec 2010 02:24:10 +0000 (02:24 +0000)]
Rework handling of recursive function types.
From-SVN: r167898
Ian Lance Taylor [Thu, 16 Dec 2010 01:47:10 +0000 (01:47 +0000)]
Don't crash when copying a call with no arguments.
From-SVN: r167897
Jan Hubicka [Thu, 16 Dec 2010 01:47:08 +0000 (02:47 +0100)]
re PR lto/46976 (FAIL: gcc.dg/lto/pr46940_0.c)
PR lto/46976
* gcc.dg/lto/pr46940_0.c: Fix commit.
From-SVN: r167896
Nathan Froyd [Thu, 16 Dec 2010 01:36:09 +0000 (01:36 +0000)]
re PR c++/39859 (duplicated and unhelpful error for "c:n" (parser))
gcc/cp/
PR c++/39859
PR c++/44522
PR c++/44523
* parser.c (struct cp_parser): Add colon_corrects_to_scope_p field.
(cp_parser_new): Initialize it.
(cp_parser_nested_name_specifier_opt): Auto-correct colons to
scopes if we are able to.
(cp_parser_question_colon_clause): Disallow colon correction.
(cp_parser_label_for_labeled_statement): Likewise.
(cp_parser_range_for): Likewise.
(cp_parser_enum_specifier): Likewise.
(cp_parser_class_head): Likewise.
(cp_parser_member_declaration): Likewise.
gcc/testsuite/
PR c++/39859
PR c++/44522
PR c++/44523
* g++.dg/parse/colon-autocorrect-1.C: New testcase.
* g++.dg/parse/colon-autocorrect-2.C: New testcase.
From-SVN: r167895
Nathan Froyd [Thu, 16 Dec 2010 01:33:03 +0000 (01:33 +0000)]
re PR c++/46852 (ICE: tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in cp_parser_class_specifier, at cp/parser.c:16947)
gcc/cp/
PR c++/46852
* parser.c (cp_parser_class_specifier): Check for TYPE_P.
gcc/testsuite/
PR c++/46852
* g++.dg/pr46852.C: New test.
From-SVN: r167894
Jan Hubicka [Thu, 16 Dec 2010 01:27:23 +0000 (02:27 +0100)]
re PR tree-optimization/46939 (blog.regehr.org/archives/320 example 6)
PR middle-end/46939
* predic.c (predict_paths_leading_to_edge): New function.
(apply_return_prediction): Use it.
(predict_paths_for_bb): Do not special case abnormals.
* gcc.target/i386/pr46939.c: New testcase.
From-SVN: r167893
Ian Lance Taylor [Thu, 16 Dec 2010 01:26:35 +0000 (01:26 +0000)]
Don't crash on invalid tuple assignment.
From-SVN: r167892
Ian Lance Taylor [Thu, 16 Dec 2010 00:44:14 +0000 (00:44 +0000)]
Check for errors from Gogo::call_builtin.
From-SVN: r167891
GCC Administrator [Thu, 16 Dec 2010 00:17:16 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r167890
Ian Lance Taylor [Thu, 16 Dec 2010 00:15:16 +0000 (00:15 +0000)]
Don't crash with go or defer of bad call.
From-SVN: r167886
Joseph Myers [Thu, 16 Dec 2010 00:04:17 +0000 (00:04 +0000)]
config.gcc (powerpc-*-lynxos*): Don't add lynx.opt to extra_options twice.
* config.gcc (powerpc-*-lynxos*): Don't add lynx.opt to
extra_options twice.
From-SVN: r167885
Ian Lance Taylor [Thu, 16 Dec 2010 00:02:33 +0000 (00:02 +0000)]
Don't crash on Sizeof of undefined type.
From-SVN: r167884
Ian Lance Taylor [Wed, 15 Dec 2010 23:56:51 +0000 (23:56 +0000)]
Don't crash on Sizeof of undefined type.
From-SVN: r167883
Ian Lance Taylor [Wed, 15 Dec 2010 23:50:02 +0000 (23:50 +0000)]
Don't crash on tuple initialization from erroneous channel.
From-SVN: r167882
Ian Lance Taylor [Wed, 15 Dec 2010 23:40:15 +0000 (23:40 +0000)]
Don't crash on empty struct created due to recursive reference.
From-SVN: r167881
Joseph Myers [Wed, 15 Dec 2010 22:55:53 +0000 (22:55 +0000)]
tm.texi.in (US_SOFTWARE_GOFAST): Don't document.
* doc/tm.texi.in (US_SOFTWARE_GOFAST): Don't document.
* doc/tm.texi: Regenerate.
* system.h (US_SOFTWARE_GOFAST): Poison.
* config.gcc (enable_gofast): Don't handle.
* config/gofast.h: Remove.
* config/mips/t-gofast: Remove.
* config/fp-bit.c (US_SOFTWARE_GOFAST): Don't handle.
* config/fp-bit.h (US_SOFTWARE_GOFAST): Don't handle.
* config/mips/elforion.h: Don't mention GOFAST in comment.
* config/mips/mips.c: Don't include gofast.h.
(mips_init_libfuncs): Don't call gofast_maybe_init_libfuncs.
* config/mips/t-sr71k (dp-bit.c, fp-bit.c): Don't define
US_SOFTWARE_GOFAST.
* config/sparc/sparc.c: Don't include gofast.h.
(sparc_init_libfuncs): Don't call gofast_maybe_init_libfuncs.
* config/spu/t-spu-elf (dp-bit.c, fp-bit.c): Don't undefine
US_SOFTWARE_GOFAST.
From-SVN: r167880
Ian Lance Taylor [Wed, 15 Dec 2010 22:42:30 +0000 (22:42 +0000)]
Tweak handling of invalid function signature for function literal.
From-SVN: r167879
Ian Lance Taylor [Wed, 15 Dec 2010 22:32:03 +0000 (22:32 +0000)]
Check for pointer to error type when looking for method.
From-SVN: r167878
Ian Lance Taylor [Wed, 15 Dec 2010 22:08:44 +0000 (22:08 +0000)]
Permit _ as a result variable name.
From-SVN: r167877
Sebastian Pop [Wed, 15 Dec 2010 22:00:59 +0000 (22:00 +0000)]
Add testcase for PR46404.
2010-12-15 Sebastian Pop <sebastian.pop@amd.com>
PR tree-optimization/46404
* gcc.dg/graphite/pr46404.c: New.
From-SVN: r167876
Ian Lance Taylor [Wed, 15 Dec 2010 21:50:51 +0000 (21:50 +0000)]
Fix test for invalid type in anonymous field.
From-SVN: r167875
Ian Lance Taylor [Wed, 15 Dec 2010 21:39:40 +0000 (21:39 +0000)]
Add statements to type switch even if there are no valid types.
From-SVN: r167874
Ian Lance Taylor [Wed, 15 Dec 2010 20:35:57 +0000 (20:35 +0000)]
Check errors in binary comparisons and builtin calls.
From-SVN: r167872
Jakub Jelinek [Wed, 15 Dec 2010 20:20:10 +0000 (21:20 +0100)]
re PR fortran/46945 (gfortran.dg/unpack_zerosize_1.f90 FAILs with -ftree-vrp -fno-tree-ccp -fno-tree-fre)
PR fortran/46945
* trans-array.c (gfc_array_init_size): Perform stride overflow
checking and multiplication by element_size in size_type_node instead
of sizetype, return value with size_type_node type instead of
sometimes with sizetype and sometimes with gfc_array_index_type.
* gfortran.dg/pr46945.f90: New test.
From-SVN: r167871
Ian Lance Taylor [Wed, 15 Dec 2010 19:47:44 +0000 (19:47 +0000)]
Push hash table identity check down to subtypes.
From-SVN: r167870
Nicola Pero [Wed, 15 Dec 2010 19:47:18 +0000 (19:47 +0000)]
In libobjc/: 2010-12-15 Nicola Pero <nicola.pero@meta-innovation.com>
In libobjc/:
2010-12-15 Nicola Pero <nicola.pero@meta-innovation.com>
* objc/message.h (objc_super): When using the modern API, do not
define Super and Super_t, and always use 'super_class' for the
super class field.
(objc_msg_lookup_super): Updated prototype to use 'struct
objc_super *' instead of 'Super_t'.
* sendmsg.c (objc_msg_lookup_super): Updated prototype to use
'struct objc_super *' instead of 'Super_t'.
From-SVN: r167869
Ian Lance Taylor [Wed, 15 Dec 2010 18:33:34 +0000 (18:33 +0000)]
Use a different identity function for Types in hash tables.
From-SVN: r167866
Jakub Jelinek [Wed, 15 Dec 2010 17:50:34 +0000 (18:50 +0100)]
re PR debug/46815 (Invalid DW_AT_location for a retval instance of a class that has a virtual function)
PR debug/46815
* cp-gimplify.c (cp_genericize): When changing RESULT_DECL
into invisible reference, change also DECL_VALUE_EXPR of
NRV optimized variable.
* g++.dg/guality/pr46815.C: New test.
From-SVN: r167865
Nicola Pero [Wed, 15 Dec 2010 17:43:01 +0000 (17:43 +0000)]
In libobjc/: 2010-12-15 Nicola Pero <nicola.pero@meta-innovation.com>
In libobjc/:
2010-12-15 Nicola Pero <nicola.pero@meta-innovation.com>
* objc/message.h: Update comments, reindented code and moved
deprecated types and functions at the end of the file. No code
changes.
From-SVN: r167864