gcc.git
13 years agovstring.h (operator+(__versa_string<>&&, const __versa_string<>&), [...]): Add.
Paolo Carlini [Wed, 15 Dec 2010 12:59:05 +0000 (12:59 +0000)]
vstring.h (operator+(__versa_string<>&&, const __versa_string<>&), [...]): Add.

2010-12-15  Paolo Carlini  <paolo.carlini@oracle.com>

* include/ext/vstring.h (operator+(__versa_string<>&&,
const __versa_string<>&), operator+(const __versa_string<>&,
__versa_string<>&&), operator+(__versa_string<>&&,
__versa_string<>&&), operator+(const _CharT*,
__versa_string<>&&), operator+(_CharT, __versa_string<>&&),
operator+(__versa_string<>&&, const _CharT*),
operator+(__versa_string<>&&, _CharT)): Add.
* testsuite/ext/vstring/operators/1.cc: New.

From-SVN: r167853

13 years agostormy16.h (LINK_SPEC, WCHAR_TYPE): Define.
Joseph Myers [Wed, 15 Dec 2010 12:55:45 +0000 (12:55 +0000)]
stormy16.h (LINK_SPEC, WCHAR_TYPE): Define.

* config/stormy16/stormy16.h (LINK_SPEC, WCHAR_TYPE): Define.
* config.gcc (xstormy16-*-elf): Don't use svr4.h.

From-SVN: r167852

13 years agorx.h (WCHAR_TYPE, [...]): Define.
Joseph Myers [Wed, 15 Dec 2010 12:54:46 +0000 (12:54 +0000)]
rx.h (WCHAR_TYPE, [...]): Define.

* config/rx/rx.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Define.
* config.gcc (rx-*-elf*): Don't use svr4.h.

From-SVN: r167851

13 years agoMakefile.am (liblto_plugin_la_DEPENDENCIES): Define.
Rainer Orth [Wed, 15 Dec 2010 10:29:01 +0000 (10:29 +0000)]
Makefile.am (liblto_plugin_la_DEPENDENCIES): Define.

* Makefile.am (liblto_plugin_la_DEPENDENCIES): Define.
(liblto_plugin_la_LIBADD): Use -L../libiberty/pic -liberty.
(liblto_plugin_la_LDFLAGS): Use -L../libiberty -liberty.
* Makefile.in: Regenerate.

From-SVN: r167850

13 years agodecl.c (java_init_decl_processing): Initialise integer_three_node.
Dave Korn [Wed, 15 Dec 2010 09:59:24 +0000 (09:59 +0000)]
decl.c (java_init_decl_processing): Initialise integer_three_node.

* decl.c (java_init_decl_processing): Initialise integer_three_node.
* lang.c (put_decl_node): Handle nested function decls.

From-SVN: r167849

13 years agore PR testsuite/46938 (FAIL: gcc.dg/pr43157.c (test for excess errors))
Dave Korn [Wed, 15 Dec 2010 09:51:26 +0000 (09:51 +0000)]
re PR testsuite/46938 (FAIL: gcc.dg/pr43157.c (test for excess errors))

PR testsuite/46938
* gcc.dg/pr43157.c: Add dg-require-linker-plugin  directive.

From-SVN: r167848

13 years agoCheck for errors when converting array index to GENERIC.
Ian Lance Taylor [Wed, 15 Dec 2010 06:25:38 +0000 (06:25 +0000)]
Check for errors when converting array index to GENERIC.

From-SVN: r167846

13 years agoDon't crash on undefined anonymous field.
Ian Lance Taylor [Wed, 15 Dec 2010 06:16:31 +0000 (06:16 +0000)]
Don't crash on undefined anonymous field.

From-SVN: r167845

13 years agoFix PR46845: handle scop parameters before scev analysis.
Sebastian Pop [Wed, 15 Dec 2010 05:04:50 +0000 (05:04 +0000)]
Fix PR46845: handle scop parameters before scev analysis.

2010-12-14  Sebastian Pop  <sebastian.pop@amd.com>

PR tree-optimization/46845
* sese.c (scalar_evolution_in_region): Handle scop parameters
before scev analysis.

* gcc.dg/graphite/id-pr46845.c: New.

From-SVN: r167844

13 years agoFix PR46928: handle "A[p] == A[p]" in data dep analysis with p a parameter of the...
Sebastian Pop [Wed, 15 Dec 2010 05:04:40 +0000 (05:04 +0000)]
Fix PR46928: handle "A[p] == A[p]" in data dep analysis with p a parameter of the loop.

2010-12-14  Sebastian Pop  <sebastian.pop@amd.com>

PR tree-optimization/46928
* tree-data-ref.c (analyze_overlapping_iterations): Handle "A[p] == A[p]"
in data dependence analysis with p a parameter of the loop.

* gcc.dg/tree-ssa/ldist-17.c: New.

From-SVN: r167843

13 years agoFix PR45948: add ssa defs from builtin partitions to the last partition.
Sebastian Pop [Wed, 15 Dec 2010 05:04:30 +0000 (05:04 +0000)]
Fix PR45948: add ssa defs from builtin partitions to the last partition.

2010-12-14  Sebastian Pop  <sebastian.pop@amd.com>

PR tree-optimization/45948
* tree-loop-distribution.c (ssa_name_has_uses_outside_loop_p): New.
(stmt_has_scalar_dependences_outside_loop): New.
(stmt_generated_in_another_partition): New.
(add_scalar_computations_to_partition): New.
(rdg_build_partitions): Call add_scalar_computations_to_partition.

* gcc.dg/tree-ssa/ldist-pr45948.c: New.

From-SVN: r167842

13 years agoarc.h (LIB_SPEC): Define.
Joseph Myers [Wed, 15 Dec 2010 02:32:24 +0000 (02:32 +0000)]
arc.h (LIB_SPEC): Define.

* config/arc/arc.h (LIB_SPEC): Define.
* config.gcc (arc-*-elf*): Don't use svr4.h.

From-SVN: r167840

13 years agore PR libstdc++/46951 (30_threads/future/members/45133.cc failed)
Jonathan Wakely [Wed, 15 Dec 2010 02:07:07 +0000 (02:07 +0000)]
re PR libstdc++/46951 (30_threads/future/members/45133.cc failed)

2010-12-15  Jonathan Wakely  <jwakely.gcc@gmail.com>

PR libstdc++/46951
* testsuite/30_threads/future/members/45133.cc: Fix dg-options.
* testsuite/30_threads/shared_future/members/45133.cc: Likewise.

From-SVN: r167839

13 years agoDon't store error types in the Type-to-GENERIC hash table.
Ian Lance Taylor [Wed, 15 Dec 2010 01:45:57 +0000 (01:45 +0000)]
Don't store error types in the Type-to-GENERIC hash table.

From-SVN: r167838

13 years agoIn libobjc/: 2010-12-15 Nicola Pero <nicola.pero@meta-innovation.com>
Nicola Pero [Wed, 15 Dec 2010 01:35:20 +0000 (01:35 +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>

* ivars.c (class_addIvar): Use the 'size' argument instead of
trying to calculate it using objc_sizeof_type().
* objc/runtime.h (class_addIvar): Updated comments.

From-SVN: r167837

13 years agoDon't get confused by error types in traversal.
Ian Lance Taylor [Wed, 15 Dec 2010 01:05:10 +0000 (01:05 +0000)]
Don't get confused by error types in traversal.

From-SVN: r167836

13 years agosendmsg.c: Reindented some code and tidied up comments.
Nicola Pero [Wed, 15 Dec 2010 00:47:16 +0000 (00:47 +0000)]
sendmsg.c: Reindented some code and tidied up comments.

2010-12-15  Nicola Pero  <nicola.pero@meta-innovation.com>

* sendmsg.c: Reindented some code and tidied up comments.  No
actual code changes.

From-SVN: r167835

13 years agore PR c++/46930 ([C++0x] ICE with static constexpr data member)
Jason Merrill [Wed, 15 Dec 2010 00:35:17 +0000 (19:35 -0500)]
re PR c++/46930 ([C++0x] ICE with static constexpr data member)

PR c++/46930
* decl.c (grokdeclarator): Reject uninitialized constexpr
static data member.

From-SVN: r167834

13 years agoDaily bump.
GCC Administrator [Wed, 15 Dec 2010 00:18:50 +0000 (00:18 +0000)]
Daily bump.

From-SVN: r167833

13 years agoelf.h (LIB_SPEC): Define.
Joseph Myers [Wed, 15 Dec 2010 00:15:55 +0000 (00:15 +0000)]
elf.h (LIB_SPEC): Define.

* config/sh/elf.h (LIB_SPEC): Define.
* config.gcc (sh-*-elf* | sh[12346l]*-*-elf* | sh-*-symbianelf* |
sh[12346l]*-*-symbianelf* | sh-*-linux* | sh[2346lbe]*-*-linux* |
sh-*-netbsdelf* | shl*-*-netbsdelf* | sh5-*-netbsd* |
sh5l*-*-netbsd* | sh64-*-netbsd* | sh64l*-*-netbsd*, sh-*-rtems*,
sh-wrs-vxworks): Don't use svr4.h.

From-SVN: r167829

13 years agoDon't crash building initializer of invalid array.
Ian Lance Taylor [Wed, 15 Dec 2010 00:09:12 +0000 (00:09 +0000)]
Don't crash building initializer of invalid array.

From-SVN: r167828

13 years agoDon't crash on invalid slice composite literal.
Ian Lance Taylor [Tue, 14 Dec 2010 23:56:00 +0000 (23:56 +0000)]
Don't crash on invalid slice composite literal.

From-SVN: r167827

13 years agoFix comparison of string and interface types.
Ian Lance Taylor [Tue, 14 Dec 2010 23:45:50 +0000 (23:45 +0000)]
Fix comparison of string and interface types.

From-SVN: r167826

13 years agoObject.h: Moved all the methods, with the exception of -class and -isEqual:, into ...
Nicola Pero [Tue, 14 Dec 2010 23:36:36 +0000 (23:36 +0000)]
Object.h: Moved all the methods, with the exception of -class and -isEqual:, into ...

2010-12-14  Nicola Pero  <nicola.pero@meta-innovation.com>

* objc/Object.h: Moved all the methods, with the exception of
-class and -isEqual:, into ...
* objc/deprecated/Object.h: here.
* Object.m: Moved all the methods, with the exception of -class
and -isEqual: into the 'Deprecated' category.

From-SVN: r167825

13 years agoDon't try to build unary and binary expressions with invalid types.
Ian Lance Taylor [Tue, 14 Dec 2010 23:34:14 +0000 (23:34 +0000)]
Don't try to build unary and binary expressions with invalid types.

From-SVN: r167824

13 years agore PR libstdc++/45133 ([c++0x] std::future will crash with NULL deref if get() is...
Jonathan Wakely [Tue, 14 Dec 2010 23:27:17 +0000 (23:27 +0000)]
re PR libstdc++/45133 ([c++0x] std::future will crash with NULL deref if get() is called twice)

2010-12-14  Jonathan Wakely  <jwakely.gcc@gmail.com>

PR libstdc++/45133
* include/std/future (__basic_future::wait): Throw if not valid.
(__basic_future::wait_for): Likewise.
(__basic_future::wait_until): Likewise.
(__basic_future::_M_get_result): Likewise.
* testsuite/30_threads/future/members/45133.cc: New.
* testsuite/30_threads/shared_future/members/45133.cc: New.

From-SVN: r167823

13 years agore PR lto/46940 (asm aliases with linker plugin segfaults)
Jan Hubicka [Tue, 14 Dec 2010 23:22:23 +0000 (00:22 +0100)]
re PR lto/46940 (asm aliases with linker plugin segfaults)

PR lto/46940
PR lto/44463
* lto-symtab.c (lto_symtab_merge_cgraph_nodes_1): Construct nodes
for aliases when they are used.

* gcc.dg/lto/pr46940_0.c: New testcase.
* gcc.dg/lto/pr46940_1.c: New testcase.

From-SVN: r167822

13 years agoDon't crash on invalid closure.
Ian Lance Taylor [Tue, 14 Dec 2010 23:10:22 +0000 (23:10 +0000)]
Don't crash on invalid closure.

From-SVN: r167821

13 years agoDon't crash on invalid parameters/results.
Ian Lance Taylor [Tue, 14 Dec 2010 22:58:23 +0000 (22:58 +0000)]
Don't crash on invalid parameters/results.

From-SVN: r167820

13 years agore PR libstdc++/46910 (std::shared_ptr requires public destructor for a class with...
Jonathan Wakely [Tue, 14 Dec 2010 22:13:26 +0000 (22:13 +0000)]
re PR libstdc++/46910 (std::shared_ptr requires public destructor for a class with friend deleter)

2010-12-14  Jonathan Wakely  <jwakely.gcc@gmail.com>

PR libstdc++/46910
* include/bits/shared_ptr_base.h (_Sp_counted_deleter): Do not
derive from _Sp_counted_ptr.
* testsuite/20_util/shared_ptr/cons/46910.cc: New.
* testsuite/20_util/shared_ptr/cons/43820.cc: Adjust.
* testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust.

From-SVN: r167819

13 years agoobjects.c (object_copy): Do not #undef as we are no longer including objc/objc-api.h.
Nicola Pero [Tue, 14 Dec 2010 21:57:31 +0000 (21:57 +0000)]
objects.c (object_copy): Do not #undef as we are no longer including objc/objc-api.h.

2010-12-14  Nicola Pero  <nicola.pero@meta-innovation.com>

        * objects.c (object_copy): Do not #undef as we are no longer
        including objc/objc-api.h.
        * selector.c: Include objc/runtime.h and
        objc-private/module-abi-8.h.  Do not include objc/objc-api.h and
        objc/encoding.h.  Updated
        (__objc_register_selectors_from_class): Use struct
        objc_method_list * instead of MethodList_t.
        (__objc_register_selectors_from_list): Use Method instead of
        Method_t.
        (struct objc_method_description_list): Do not define here.
        (__objc_register_instance_methods_to_class): Use struct
        objc_method_list * instead of MethodList_t and Method instead of
        Method_t.

From-SVN: r167818

13 years agoIndented two lines that I missed in last commit. No code changes
Nicola Pero [Tue, 14 Dec 2010 20:56:30 +0000 (20:56 +0000)]
Indented two lines that I missed in last commit.  No code changes

From-SVN: r167817

13 years agoCheck for duplicate methods.
Ian Lance Taylor [Tue, 14 Dec 2010 20:54:45 +0000 (20:54 +0000)]
Check for duplicate methods.

Don't get into an endless loop given invalid recursive types.

From-SVN: r167816

13 years agoselector.c: Reindented some code and tidied up comments.
Nicola Pero [Tue, 14 Dec 2010 20:52:10 +0000 (20:52 +0000)]
selector.c: Reindented some code and tidied up comments.

2010-12-14  Nicola Pero  <nicola.pero@meta-innovation.com>

        * selector.c: Reindented some code and tidied up comments.  No
        actual code changes.

From-SVN: r167815

13 years agore PR c++/45330 (Suggest likely nested-name-specifiers for undeclared identifiers.)
Nathan Froyd [Tue, 14 Dec 2010 20:31:22 +0000 (20:31 +0000)]
re PR c++/45330 (Suggest likely nested-name-specifiers for undeclared identifiers.)

gcc/cp/
PR c++/45330
* cp-tree.h (suggest_alternatives_for): Add location_t parameter.
* name-lookup.c (suggest_alternatives_for): Likewise.  Adjust.
* lex.c (unqualified_name_lookup_error): Adjust call to it.
* semantics.c (qualified_name_lookup_error): Move to...
* error.c (qualified_name_lookup_error): ...here.  Call.
suggest_alternatives_for.

gcc/testsuite/
PR c++/45330
* g++.dg/lookup/suggestions1.C: New test.

From-SVN: r167814

13 years agoconfig.gcc (sparc-*-elf*, [...]): Don't use svr4.h.
Joseph Myers [Tue, 14 Dec 2010 20:09:01 +0000 (20:09 +0000)]
config.gcc (sparc-*-elf*, [...]): Don't use svr4.h.

* config.gcc (sparc-*-elf*, sparc-*-rtems*, sparc-*-linux*,
sparc-*-netbsdelf*, sparc*-*-solaris2*, sparc-wrs-vxworks,
sparc64-*-elf*, sparc64-*-rtems*, sparc64-*-linux*,
sparc64-*-netbsd*, sparc64-*-openbsd*): Don't use svr4.h.

From-SVN: r167813

13 years agoDon't crash on erroneous receiver or parameters.
Ian Lance Taylor [Tue, 14 Dec 2010 19:35:58 +0000 (19:35 +0000)]
Don't crash on erroneous receiver or parameters.

From-SVN: r167812

13 years agoCorrect handling of undefined name as key in map composite literal.
Ian Lance Taylor [Tue, 14 Dec 2010 19:27:07 +0000 (19:27 +0000)]
Correct handling of undefined name as key in map composite literal.

From-SVN: r167810

13 years agoInsert semicolon at EOF if necessary.
Ian Lance Taylor [Tue, 14 Dec 2010 18:52:09 +0000 (18:52 +0000)]
Insert semicolon at EOF if necessary.

From-SVN: r167809

13 years agoCorrect protection against recursive types.
Ian Lance Taylor [Tue, 14 Dec 2010 17:57:20 +0000 (17:57 +0000)]
Correct protection against recursive types.

From-SVN: r167807

13 years agore PR fortran/46937 (gfortran.dg/pointer_intent_1.f90 FAILs with -fno-inline)
Tobias Burnus [Tue, 14 Dec 2010 17:09:33 +0000 (18:09 +0100)]
re PR fortran/46937 (gfortran.dg/pointer_intent_1.f90 FAILs with -fno-inline)

2010-12-14  Tobias Burnus  <burnus@net-b.de>

        PR fortran/46937
        * trans-types.c (create_fn_spec): "."-annotate derived types
        with (proc-)pointer components.

2010-12-14  Tobias Burnus  <burnus@net-b.de>

        PR fortran/46937
        * gfortran.dg/pointer_intent_4.f90: New.

From-SVN: r167806

13 years agoarm.c (arm_expand_prologue): Report the static stack size if -fstack-usage is used.
Thomas Klein [Tue, 14 Dec 2010 16:00:33 +0000 (16:00 +0000)]
arm.c (arm_expand_prologue): Report the static stack size if -fstack-usage is used.

* config/arm/arm.c (arm_expand_prologue): Report the static stack
size if -fstack-usage is used.
(thumb1_expand_prologue): Likewise.

From-SVN: r167805

13 years agore PR middle-end/46885 (ICE: in gsi_insert_seq_nodes_after, at gimple-iterator.c...
Jakub Jelinek [Tue, 14 Dec 2010 14:11:16 +0000 (15:11 +0100)]
re PR middle-end/46885 (ICE: in gsi_insert_seq_nodes_after, at gimple-iterator.c:251 with -ftree-parallelize-loops -g)

PR debug/46885
* tree-ssa-loop-manip.c (canonicalize_loop_ivs): Use gsi_last_bb
instead of gsi_last_nondebug_bb if bump_in_latch.

* gcc.dg/autopar/pr46885.c: New test.

From-SVN: r167801

13 years agore PR tree-optimization/46909 (Logical OR expressions are miscompiled)
Jakub Jelinek [Tue, 14 Dec 2010 14:09:59 +0000 (15:09 +0100)]
re PR tree-optimization/46909 (Logical OR expressions are miscompiled)

PR tree-optimization/46909
* gimple-fold.c (and_var_with_comparison_1): Save partial
result even in the is_and case, if both partial results
are the same, return it.
(or_var_with_comparison_1): Use is_or predicate instead of
innercode == TRUTH_OR_EXPR test.  Save partial result
even in the is_or case, if both partial results are the
same, return it.  In the !is_or case when both partial
results are the same, return the partial result instead
of boolean_true_node.

* gcc.c-torture/execute/pr46909-1.c: New test.
* gcc.c-torture/execute/pr46909-2.c: New test.
* gcc.dg/pr46909.c: New test.

From-SVN: r167800

13 years agore PR fortran/46874 ([OpenMP] ICE in gfc_conv_descriptor_data_get, at fortran/trans...
Jakub Jelinek [Tue, 14 Dec 2010 13:59:20 +0000 (14:59 +0100)]
re PR fortran/46874 ([OpenMP] ICE in gfc_conv_descriptor_data_get, at fortran/trans-array.c:147)

PR fortran/46874
* trans-openmp.c (gfc_trans_omp_array_reduction): Handle allocatable
dummy variables.

* libgomp.fortran/allocatable6.f90: New test.

From-SVN: r167799

13 years agore PR fortran/46874 ([OpenMP] ICE in gfc_conv_descriptor_data_get, at fortran/trans...
Jakub Jelinek [Tue, 14 Dec 2010 13:56:25 +0000 (14:56 +0100)]
re PR fortran/46874 ([OpenMP] ICE in gfc_conv_descriptor_data_get, at fortran/trans-array.c:147)

PR fortran/46874
* trans-openmp.c (gfc_trans_omp_array_reduction): Handle allocatable
dummy variables.

* libgomp.fortran/allocatable6.f90: New test.

From-SVN: r167798

13 years agore PR middle-end/46667 (-freorder-blocks-and-partition -g failed and libstdc++ builds...
Jan Hubicka [Tue, 14 Dec 2010 13:07:05 +0000 (14:07 +0100)]
re PR middle-end/46667 (-freorder-blocks-and-partition -g failed and libstdc++ builds for arm-eabi are broken.)

PR middle-end/46667
* varasm.c (assemble_start_function): Do not call resolve_unique_section.
* cfgexpand.c (gimple_expand_cfg): Resolve it here.

From-SVN: r167795

13 years agore PR rtl-optimization/46875 (ICE: verify_flow_info failed: too many outgoing branch...
Alexander Monakov [Tue, 14 Dec 2010 12:43:47 +0000 (15:43 +0300)]
re PR rtl-optimization/46875 (ICE: verify_flow_info failed: too many outgoing branch edges from bb 3 with -Os -fselective-scheduling2)

PR rtl-optimization/46875
* sched-vis.c (print_pattern): Dump "sequence" for ADDR_VECs.
* sel-sched-ir.c (bb_has_removable_jump_to_p): Forbid table jumps.

testsuite:
* gcc.dg/pr46875.c: New.

From-SVN: r167794

13 years agofirst-global.C: Update regexp to match new names of ctors.
Jan Hubicka [Tue, 14 Dec 2010 10:57:11 +0000 (11:57 +0100)]
first-global.C: Update regexp to match new names of ctors.

* g++.dg/other/first-global.C: Update regexp to match new
names of ctors.

From-SVN: r167791

13 years agoh8300.md (define_split): Add condition for "and with single_zero" splitter to handle...
Kaushik Phatak [Tue, 14 Dec 2010 07:03:36 +0000 (07:03 +0000)]
h8300.md (define_split): Add condition for "and with single_zero" splitter to handle 16-bit const operands.

* config/h8300/h8300.md (define_split) : Add condition for
"and with single_zero" splitter to handle 16-bit const operands.
* config/h8300/h8300.md (define_split) : Add condition for
"ior with single_one" splitter to handle 16-bit const operands.
* config/h8300/h8300.md (define_split) : Add condition for
"xor with single_one" splitter to handle 16-bit const operands.

* testsuite/gcc.dg/h8300-bit-insn-ice.c: New.

From-SVN: r167789

13 years agoDon't incorrectly parse expression as type switch.
Ian Lance Taylor [Tue, 14 Dec 2010 05:54:33 +0000 (05:54 +0000)]
Don't incorrectly parse expression as type switch.

Improve error reporting of invalid type assertions.

From-SVN: r167787

13 years ago* MAINTAINERS: Added myself to MAINTAINERS (write after approval)
Kaushik Phatak [Tue, 14 Dec 2010 05:28:02 +0000 (05:28 +0000)]
* MAINTAINERS: Added myself to MAINTAINERS (write after approval)

From-SVN: r167786

13 years agoBetter error message if malloc gets a SIGSEGV.
Ian Lance Taylor [Tue, 14 Dec 2010 05:19:51 +0000 (05:19 +0000)]
Better error message if malloc gets a SIGSEGV.

From-SVN: r167785

13 years agoRelease cache while holding thread lock.
Ian Lance Taylor [Tue, 14 Dec 2010 05:16:18 +0000 (05:16 +0000)]
Release cache while holding thread lock.

Don't bother to hold thread lock while allocating cache.

From-SVN: r167784

13 years agoThis time really commit PR middle-end/45388
Jan Hubicka [Tue, 14 Dec 2010 01:26:47 +0000 (02:26 +0100)]
This time really commit PR middle-end/45388

This time really commit
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: r167781

13 years agom32c.h (ENDFILE_SPEC, [...]): Define.
Joseph Myers [Tue, 14 Dec 2010 00:26:29 +0000 (00:26 +0000)]
m32c.h (ENDFILE_SPEC, [...]): Define.

* config/m32c/m32c.h (ENDFILE_SPEC, LINK_SPEC, SIZE_TYPE,
PTRDIFF_TYPE, WCHAR_TYPE, WCHAR_TYPE_SIZE): Define.
* config.gcc (m32c-*-rtems*, m32c-*-elf*): Don't use svr4.h.

From-SVN: r167780

13 years agore PR rtl-optimization/44374 (Hoist same instructions in different branches)
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

13 years agoDaily bump.
GCC Administrator [Tue, 14 Dec 2010 00:17:44 +0000 (00:17 +0000)]
Daily bump.

From-SVN: r167778

13 years agoelf.h (SIZE_TYPE, [...]): Define.
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

13 years agogospec.c (lang_specific_driver): Add a -o option if not linking and there is no ...
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

13 years ago* de.po: Update.
Joseph Myers [Mon, 13 Dec 2010 21:49:00 +0000 (21:49 +0000)]
* de.po: Update.

From-SVN: r167772

13 years ago* de.po, sv.po: Update.
Joseph Myers [Mon, 13 Dec 2010 21:47:47 +0000 (21:47 +0000)]
* de.po, sv.po: Update.

From-SVN: r167771

13 years agore PR c++/46873 ([C++0x] ICE: in build_data_member_initialization, at cp/semantics...
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

13 years agofoo
Jason Merrill [Mon, 13 Dec 2010 20:46:34 +0000 (15:46 -0500)]
foo

From-SVN: r167769

13 years agore PR fortran/46625 (libquadmath: Mangle internal symbols; rename __float128 <->...
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

13 years agore PR fortran/46201 ([F03] ICE on procedure pointer component call)
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

13 years agore PR bootstrap/46650 (r167010 breaks --enable-build-with-cxx)
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

13 years agodecl.c (gnat_to_gnu_entity): Build a stub DECL for the dummy fat pointer type in...
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

13 years agotrans.c (can_be_lower_p): New predicate.
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

13 years agoRemoved testcase that was failing on i386.
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

13 years agore PR lto/46879 (ICE: in separate_decls_in_region_debug_bind, at tree-parloops.c...
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

13 years agore PR debug/46867 (ICE: in emit_note_insn_var_location, at var-tracking.c:7325 with...
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

13 years agore PR middle-end/45388 (Global constructor not found)
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

13 years agore PR target/46040 (crtstuff.c:308:26: error: '__DTOR_LIST__' undeclared)
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

13 years agore PR fortran/46841 ([F03] ICE on allocating array of procedure pointers)
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

13 years agobaseline_symbols.txt: Regenerate.
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

13 years ago* gnat.dg/pack9.adb: XFAIL everywhere.
Eric Botcazou [Mon, 13 Dec 2010 11:35:10 +0000 (11:35 +0000)]
* gnat.dg/pack9.adb: XFAIL everywhere.

From-SVN: r167747

13 years agov850.h (SIZE_TYPE, [...]): Define.
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

13 years agoconfig.gcc (s390-*-linux*, [...]): Don't use svr4.h.
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

13 years agolinux.h (SIZE_TYPE, [...]): Undefine.
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

13 years agolinux.h (DBX_REGISTER_NUMBER): Undefine and redefine.
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

13 years agore PR fortran/46884 (Use of charlen after free)
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

13 years agoencoding.c (_darwin_rs6000_special_round_type_align): New.
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

13 years agore PR debug/46756 (-fcompare-debug failure (length) with ASSIGN)
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

13 years agore PR debug/46782 (-fcompare-debug failure (length) with -fvar-tracking)
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

13 years agoDaily bump.
GCC Administrator [Mon, 13 Dec 2010 00:18:16 +0000 (00:18 +0000)]
Daily bump.

From-SVN: r167736

13 years agodump-parse-tree.c (show_expr): Add space for parens.
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

13 years agore PR fortran/46809 ([OOP] ICE with -fcheck=pointer for CLASS IS)
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

13 years agovarasm.c (default_function_section): Check flag_reorder_functions and targetm.have_na...
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

13 years agoAuthor: Finn Thain <fthain@telegraphics.com.au>
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

13 years agore PR c++/46901 (Error message repeats itself)
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

13 years agotestsuite_abi.cc (check_version): Don't push back GLIBCXX_3.4.16, unused.
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

13 years agoDaily bump.
GCC Administrator [Sun, 12 Dec 2010 00:19:02 +0000 (00:19 +0000)]
Daily bump.

From-SVN: r167721

13 years agore PR fortran/46705 (Spurious "Missing '&' in continued character constant" warning...
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

13 years agore PR fortran/46705 (Spurious "Missing '&' in continued character constant" warning...
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

13 years agore PR fortran/46370 ([Coarray] [OOP] ALLOCATE: Error allocating CLASS coarrays)
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

13 years agore PR fortran/46842 (wrong results with MATMUL(..., TRANSPOSE (func ())) -- 465.tonto...
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

13 years agore PR fortran/46842 (wrong results with MATMUL(..., TRANSPOSE (func ())) -- 465.tonto...
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

13 years agoIn libobjc/: 2010-12-11 Nicola Pero <nicola.pero@meta-innovation.com>
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

13 years agomodule-abi-8.h (struct objc_symtab): Updated description of sel_ref_cnt and refs.
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