OSDN Git Service

pf3gnuchains/gcc-fork.git
13 years agoIn gcc/testsuite/:
nicola [Thu, 23 Dec 2010 05:30:12 +0000 (05:30 +0000)]
In gcc/testsuite/:
2010-12-23  Nicola Pero  <nicola.pero@meta-innovation.com>

* obj-c.dg/gnu-api-2-class.m: Test that class_addMethod() returns
NO if the method is already implemented in the class.
* obj-c++.dg/gnu-api-2-class.mm: Same change.

In libobjc/:
2010-12-23  Nicola Pero  <nicola.pero@meta-innovation.com>

* sendmsg.c (class_addMethod): Return NO if the method already
exists in the class.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168199 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoA variable with a preinit block requires an intialization function.
ian [Thu, 23 Dec 2010 01:35:27 +0000 (01:35 +0000)]
A variable with a preinit block requires an intialization function.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168198 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoDon't crash building map descriptor for erroneous map.
ian [Thu, 23 Dec 2010 01:22:32 +0000 (01:22 +0000)]
Don't crash building map descriptor for erroneous map.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168197 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoInitialize Lex::lineoff_ field.
ian [Thu, 23 Dec 2010 01:01:38 +0000 (01:01 +0000)]
Initialize Lex::lineoff_ field.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168196 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoFix append with no extra arguments.
ian [Thu, 23 Dec 2010 00:55:31 +0000 (00:55 +0000)]
Fix append with no extra arguments.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168195 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoDon't crash asking for type of invalid const.
ian [Thu, 23 Dec 2010 00:40:29 +0000 (00:40 +0000)]
Don't crash asking for type of invalid const.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168194 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoDaily bump.
gccadmin [Thu, 23 Dec 2010 00:19:57 +0000 (00:19 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168193 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoAvoid infinite recursion checking whether field is exported.
ian [Thu, 23 Dec 2010 00:18:50 +0000 (00:18 +0000)]
Avoid infinite recursion checking whether field is exported.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168191 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoAvoid crash when an unknown object is declared as a type.
ian [Thu, 23 Dec 2010 00:07:42 +0000 (00:07 +0000)]
Avoid crash when an unknown object is declared as a type.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168188 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoDon't crash on invalid call to append.
ian [Wed, 22 Dec 2010 23:57:28 +0000 (23:57 +0000)]
Don't crash on invalid call to append.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168187 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoAvoid infinite recursion looking up method in invalid recursive type.
ian [Wed, 22 Dec 2010 23:48:08 +0000 (23:48 +0000)]
Avoid infinite recursion looking up method in invalid recursive type.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168186 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoDon't crash on index into erroneous map.
ian [Wed, 22 Dec 2010 23:24:33 +0000 (23:24 +0000)]
Don't crash on index into erroneous map.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168185 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoCorrectly handle tuple assignment to _ at global scope.
ian [Wed, 22 Dec 2010 23:09:40 +0000 (23:09 +0000)]
Correctly handle tuple assignment to _ at global scope.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168184 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoIn libobjc/:
nicola [Wed, 22 Dec 2010 23:05:13 +0000 (23:05 +0000)]
In libobjc/:
2010-12-22  Nicola Pero  <nicola.pero@meta-innovation.com>

* init.c (duplicate_classes): New.
(__objc_exec_class): Initialize duplicate_classes.
(__objc_create_classes_tree): Ignore classes in the
duplicate_classes table.
(__objc_call_load_callback): Same.
(__objc_init_class): If a duplicate class is found, add it to
duplicate_classes instead of aborting.  Return YES if the class is
not a duplicate, and NO if it is.
* objc-private/runtime.h (__objc_init_class): Updated prototype.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168183 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoFix PR47019: parameters of a SCoP are SCEV analyzable.
spop [Wed, 22 Dec 2010 21:19:34 +0000 (21:19 +0000)]
Fix PR47019: parameters of a SCoP are SCEV analyzable.

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

PR tree-optimization/47019
* sese.h (scev_analyzable_p): Parameters of a SCoP are SCEV analyzable.

* gfortran.dg/graphite/pr47019.f: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168182 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agogcc/
froydnj [Wed, 22 Dec 2010 19:45:58 +0000 (19:45 +0000)]
gcc/
* c-aux-info.c (gen_formal_list_for_type): Use prototype_p.
* c-decl.c (diagnose_arglist_conflict): Likewise.
(diagnose_mismatched_decls, merge_decls): Likewise.
(c_builtin_function, c_builtin_function_ext_scope): Likewise.
(start_decl, start_function): Likewise.
* c-tree.h (C_DECL_ISNT_PROTOTYPED): Likewise.
* config/ia64/ia64.h (INIT_CUMULATIVE_ARGS): Likewise.
* config/mep/mep.c (mep_validate_interrupt): Likewise.
* config/pa/pa.h (INIT_CUMULATIVE_ARGS): Likewise.
* config/rs6000/rs6000.c (init_cumulative_args): Likewise.
* config/sh/sh.c (sh_init_cumulative_args): Likewise.
* config/sparc/sparc.c (init_cumulative_args): Likewise.
* dwarf2out.c (add_prototyped_attribute): Likewise.
(gen_subprogram_die): Likewise.
* ipa-type-escape.c (check_function_parameter_and_return_types):
Likewise.
(check_call): Likewise.
* tree-ssa.c (useless_type_conversion_p): Likewise.

gcc/ada/
* gcc-interface/utils.c (handle_nonnull_attribute): Use prototype_p.
(handle_sentinel_attribute): Likewise.

gcc/c-family/
* c-common.c (handle_nonnull_attribute, handle_sentinel_attribute):
Use prototype_p.

gcc/cp/
* decl.c (decls_match, duplicate_decls): Use prototype_p.
* pt.c (push_template_decl_real): Likewise.

gcc/lto/
* lto-lang.c (handle_nonnull_attribute, handle_sentinel_attribute):
Use prototype_p.

gcc/objc/
* objc-act.c (next_sjlj_build_enter_and_setjmp): Use prototype_p.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168181 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago PR c++/47003
jason [Wed, 22 Dec 2010 19:23:15 +0000 (19:23 +0000)]
PR c++/47003
* tree.c (stabilize_expr): Really stabilize scalar glvalues.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168180 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago * parser.c (cp_parser_unary_expression): Call pedwarn for alignof
jason [Wed, 22 Dec 2010 19:23:00 +0000 (19:23 +0000)]
* parser.c (cp_parser_unary_expression): Call pedwarn for alignof
with expression.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168179 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoDon't crash on array type with erroneous length expression.
ian [Wed, 22 Dec 2010 16:47:53 +0000 (16:47 +0000)]
Don't crash on array type with erroneous length expression.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168176 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoDon't crash on variable initialization from erroneous receive.
ian [Wed, 22 Dec 2010 16:37:58 +0000 (16:37 +0000)]
Don't crash on variable initialization from erroneous receive.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168175 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoDon't crash on erroneous channel send or receive.
ian [Wed, 22 Dec 2010 16:27:51 +0000 (16:27 +0000)]
Don't crash on erroneous channel send or receive.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168174 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoDon't crash if a temporary is not defined due to errors.
ian [Wed, 22 Dec 2010 16:21:06 +0000 (16:21 +0000)]
Don't crash if a temporary is not defined due to errors.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168173 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoMore tweaking of recursive name types when converting to GENERIC.
ian [Wed, 22 Dec 2010 16:05:23 +0000 (16:05 +0000)]
More tweaking of recursive name types when converting to GENERIC.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168172 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoDon't crash if array length is invalid const.
ian [Wed, 22 Dec 2010 15:25:23 +0000 (15:25 +0000)]
Don't crash if array length is invalid const.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168171 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoFix handling of named results for functions which call recover.
ian [Wed, 22 Dec 2010 15:10:58 +0000 (15:10 +0000)]
Fix handling of named results for functions which call recover.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168170 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago * config/spu/spu.md ("mov<mode>"): Use nonimmediate_operand
uweigand [Wed, 22 Dec 2010 15:09:17 +0000 (15:09 +0000)]
* config/spu/spu.md ("mov<mode>"): Use nonimmediate_operand
predicate for destination operand.
* config/spu/spu.c (spu_expand_mov): If move destination is an
invalid subreg, perform move in the subreg's inner mode instead.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168169 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago2010-12-22 Martin Jambor <mjambor@suse.cz>
jamborm [Wed, 22 Dec 2010 12:56:54 +0000 (12:56 +0000)]
2010-12-22  Martin Jambor  <mjambor@suse.cz>

PR tree-optimization/45934
PR tree-optimization/46302
PR tree-optimization/46987
* gimple-fold.c (get_base_binfo_for_type): Removed.
(gimple_get_relevant_ref_binfo): Likewise.
(gimple_fold_obj_type_ref_call): Dumb down to 4.5 functionality,
removed parameter inplace, updated the caller.
* gimple.h (gimple_get_relevant_ref_binfo): Remove declaration.
* ipa-cp.c (ipcp_propagate_types): Do not derive types from constants.
(ipcp_discover_new_direct_edges): Do not do devirtualization based on
constants.
* ipa-prop.c (compute_known_type_jump_func): Use
get_ref_base_and_extent and get_binfo_at_offset instead of
gimple_get_relevant_ref_binfo.
(compute_known_type_jump_func): Likewise.
(update_jump_functions_after_inlining): Do not derive types from
constants.
(try_make_edge_direct_virtual_call): Likewise.
* tree.c (get_binfo_at_offset): Get type from non-artificial fields.

* testsuite/g++.dg/ipa/ipcp-ivi-1.C: Removed.
* testsuite/g++.dg/ipa/ivinline-6.C: Likewise.
* testsuite/g++.dg/otr-fold-1.C: Likewise.
* testsuite/g++.dg/otr-fold-2.C: Likewise.
* testsuite/g++.dg/tree-ssa/pr43411.C: Xfail dump scan.
* testsuite/g++.dg/tree-ssa/pr45605.C: Likewise.
* testsuite/g++.dg/tree-ssa/pr46987.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168168 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago * gfortran.dg/pr46755.f: Fix test case.
steven [Wed, 22 Dec 2010 12:15:12 +0000 (12:15 +0000)]
* gfortran.dg/pr46755.f: Fix test case.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168167 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago * config/svr4.h: Remove.
jsm28 [Wed, 22 Dec 2010 12:06:01 +0000 (12:06 +0000)]
* config/svr4.h: Remove.
* system.h (USING_SVR4_H, SVR4_ASM_SPEC): Poison.
* config.gcc, config/bfin/bfin.h, config/cris/cris.h,
config/fr30/fr30.h, config/frv/frv.h, config/i386/openbsdelf.h,
config/i386/vx-common.h, config/ia64/elf.h, config/ia64/ia64.h,
config/ia64/sysv4.h, config/iq2000/iq2000.h, config/m68k/linux.h,
config/m68k/m68kelf.h, config/mips/mips.h, config/mips/vxworks.h,
config/moxie/moxie.h, config/netbsd-aout.h, config/openbsd.h,
config/rs6000/sysv4.h, config/sh/elf.h, config/sh/sh.h,
config/sol2.h, config/sparc/sysv4.h, config/stormy16/stormy16.h,
config/v850/v850.h, config/vxworks.h: Remove or update comments
referring to svr4.h.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168166 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago * configure.ac: (picochip): Disable libiberty.
hariharans [Wed, 22 Dec 2010 10:34:23 +0000 (10:34 +0000)]
  * configure.ac: (picochip): Disable libiberty.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168165 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago PR rtl-optimization/45352
abel [Wed, 22 Dec 2010 07:46:53 +0000 (07:46 +0000)]
PR rtl-optimization/45352
PR rtl-optimization/46521
PR rtl-optimization/46522
* sel-sched.c (reset_sched_cycles_in_current_ebb): Recheck the DFA state
on the last iteration of the advancing loop.
(sel_sched_region_1): Propagate the rescheduling bit to the next block
also for empty blocks.

* gcc.dg/pr46521.c: New.
* gcc.dg/pr46522.c: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168164 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoCorrect test for number of arguments to append.
ian [Wed, 22 Dec 2010 06:33:02 +0000 (06:33 +0000)]
Correct test for number of arguments to append.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168163 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoDon't crash if a constant initializer refers to the constant.
ian [Wed, 22 Dec 2010 06:27:50 +0000 (06:27 +0000)]
Don't crash if a constant initializer refers to the constant.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168162 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoDon't crash on invalid type conversion.
ian [Wed, 22 Dec 2010 06:17:55 +0000 (06:17 +0000)]
Don't crash on invalid type conversion.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168161 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoPR debug/46724
aoliva [Wed, 22 Dec 2010 03:49:00 +0000 (03:49 +0000)]
PR debug/46724
* function.c (assign_parms_augmented_arg_list): Name and mark
DECL of result address as NAMELESS rather than IGNORED.
(assign_parms): Set DECL_VALUE_EXPR for indirect result.
* tree.h (tree_decl_common::decl_flag_2): Document RESULT_DECL.
(DECL_HAS_VALUE_EXPR_P): Accept RESULT_DECL.
* dwarf2out.c (loc_list_from_tree) <RESULT_DECL>: Use
DECL_VALUE_EXPR.
* dbxout.c (dbxout_expand_expr) <RESULT_DECL>: Likewise.
* var-tracking.c (vt_add_function_parameter): New, split out of...
(vt_add_function_parameters): ... this.  Handle incoming
pointer to hold result.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168160 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago * config/arm/arm.c (output_move_double): Update the comment
jiez [Wed, 22 Dec 2010 01:42:20 +0000 (01:42 +0000)]
* config/arm/arm.c (output_move_double): Update the comment
above the function to reflect the current implementation.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168159 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoFix uninitialized variable when looking up '_'.
ian [Wed, 22 Dec 2010 01:37:30 +0000 (01:37 +0000)]
Fix uninitialized variable when looking up '_'.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168158 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoDon't crash receiving multiple results from void function.
ian [Wed, 22 Dec 2010 01:28:29 +0000 (01:28 +0000)]
Don't crash receiving multiple results from void function.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168157 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoFix handling of functions with named results that call recover.
ian [Wed, 22 Dec 2010 01:22:56 +0000 (01:22 +0000)]
Fix handling of functions with named results that call recover.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168156 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoDon't crash building erroneous variable initializer.
ian [Wed, 22 Dec 2010 01:14:41 +0000 (01:14 +0000)]
Don't crash building erroneous variable initializer.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168155 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoDaily bump.
gccadmin [Wed, 22 Dec 2010 00:21:25 +0000 (00:21 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168154 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoIn libobjc/:
nicola [Wed, 22 Dec 2010 00:17:21 +0000 (00:17 +0000)]
In libobjc/:
2010-12-22  Nicola Pero  <nicola.pero@meta-innovation.com>

* objc-private/objc-list.h: Reindented file.  No code changes.
* objc-private/sarray.h: Same change.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168150 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoIn libobjc/:
nicola [Wed, 22 Dec 2010 00:05:57 +0000 (00:05 +0000)]
In libobjc/:
2010-12-22  Nicola Pero  <nicola.pero@meta-innovation.com>

* objc-private/accessors.h: Removed 'extern "C"' guards.  This
file is never compiled with C++.
* objc-private/hash.h: Same change.
* objc-private/objc-list.h: Same change.
* objc-private/objc-sync.h: Same change.
* objc-private/protocols.h: Same change.
* objc-private/runtime.h: Same change.
* objc-private/sarray.h: Same change.
* objc-private/selector.h: Same change.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168149 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoCheck for errors when building map construction.
ian [Wed, 22 Dec 2010 00:00:42 +0000 (00:00 +0000)]
Check for errors when building map construction.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168148 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoFixed changelog entry for one of my libobjc patches of a few days ago
nicola [Tue, 21 Dec 2010 23:55:24 +0000 (23:55 +0000)]
Fixed changelog entry for one of my libobjc patches of a few days ago

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168147 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoDon't warn about []int of string with NUL bytes.
ian [Tue, 21 Dec 2010 23:48:37 +0000 (23:48 +0000)]
Don't warn about []int of string with NUL bytes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168146 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoDon't permit assigning abstract string/bool to numeric variable.
ian [Tue, 21 Dec 2010 23:33:51 +0000 (23:33 +0000)]
Don't permit assigning abstract string/bool to numeric variable.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168145 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoDon't crash on calling new with an erroneous type.
ian [Tue, 21 Dec 2010 23:19:43 +0000 (23:19 +0000)]
Don't crash on calling new with an erroneous type.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168144 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoDon't crash when returning something from a function named '_'.
ian [Tue, 21 Dec 2010 23:13:18 +0000 (23:13 +0000)]
Don't crash when returning something from a function named '_'.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168143 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoDon't crash indexing into erroneous array.
ian [Tue, 21 Dec 2010 22:59:31 +0000 (22:59 +0000)]
Don't crash indexing into erroneous array.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168142 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago * value-prof.c (value_prof_hooks): Remove.
steven [Tue, 21 Dec 2010 22:58:57 +0000 (22:58 +0000)]
* value-prof.c (value_prof_hooks): Remove.
(struct value_prof_hooks): Remove.
(gimple_value_prof_hooks): Remove.
(gimple_register_value_prof_hooks): Remove.
(find_values_to_profile): Remove.
(value_profile_transformations): Remove.
(gimple_value_profile_transformations): No longer static.
(gimple_find_values_to_profile): Likewise.
* value-prof.h (gimple_register_value_prof_hooks): Remove prototype.
(find_values_to_profile): Likewise.
(value_profile_transformations): Likewise.
(tree_register_profile_hooks): Likewise.
(struct profile_hooks): Remove.
(tree_profile_hooks): Remove.
(gimple_find_values_to_profile): New protoype.
(gimple_value_profile_transformations): Likewise.
(gimple_init_edge_profiler): Likewise.
(gimple_gen_edge_profiler): Likewise.
(gimple_gen_interval_profiler): Likewise.
(gimple_gen_pow2_profiler): Likewise.
(gimple_gen_one_value_profiler): Likewise.
(gimple_gen_ic_profiler): Likewise.
(gimple_gen_ic_func_profiler): Likewise.
(gimple_gen_const_delta_profiler): Likewise.
(gimple_gen_average_profiler): Likewise.
(gimple_gen_ior_profiler): Likewise.
* profile.c (profile_hooks): Remove.
(instrument_edges): Call profiling functions directly instead
of through removed profile_hooks.
(instrument_values): Likewise.
(branch_prob): Call gimple_find_values_to_profile instead of
removed find_values_to_profile.
Call gimple_init_edge_profiler instead of removed hook.
(tree_register_profile_hooks): Remove.
* tree-profile.c (tree_init_ic_make_global_vars): Rename to
init_ic_make_global_vars.
(tree_init_edge_profiler): Rename to gimple_init_edge_profiler
and no longer static.
(tree_gen_edge_profiler, tree_gen_interval_profiler,
tree_gen_pow2_profiler, tree_gen_one_value_profiler,
tree_gen_ic_profiler, tree_gen_ic_func_profiler,
tree_gen_const_delta_profiler, tree_gen_average_profiler,
tree_gen_ior_profiler): Similarly renamed and no longer static.
(tree_profiling): Do not initialize tree profiling hooks.
(tree_profile_hooks): Remove.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168141 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoDon't crash when copying a function with no closure variable.
ian [Tue, 21 Dec 2010 22:56:39 +0000 (22:56 +0000)]
Don't crash when copying a function with no closure variable.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168140 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoIn libobjc/:
nicola [Tue, 21 Dec 2010 22:49:37 +0000 (22:49 +0000)]
In libobjc/:
2010-12-21  Nicola Pero  <nicola.pero@meta-innovation.com>

PR libobjc/18764
* class.c (__objc_add_class_to_hash): Return YES if the class was
added, and NO if it already existed.
* init.c (__objc_init_class): If __objc_add_class_to_hash returns
NO, then abort the program with an error message.
* objc-private/runtime.h (__objc_add_class_to_hash): Updated
declaration.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168139 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago * Make-lang.in (check-go): Remove.
ian [Tue, 21 Dec 2010 22:45:54 +0000 (22:45 +0000)]
* Make-lang.in (check-go): Remove.
(lang_checks_parallelized): Add check-go.
(check_go_parallelize): Set.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168137 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago * go.test/go-test.exp: Clear runtests around invocation of
ian [Tue, 21 Dec 2010 22:42:14 +0000 (22:42 +0000)]
* go.test/go-test.exp: Clear runtests around invocation of
go-dg-runtest from errchk and go-execute-xfail.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168136 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago PR target/46880
jakub [Tue, 21 Dec 2010 22:37:23 +0000 (22:37 +0000)]
PR target/46880
* config/i386/sse.md (sse2_loadlpd, sse2_movsd): Fix shufpd source
operand.

* gcc.target/i386/pr46880.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168135 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoDon't finalize methods for a type more than once.
ian [Tue, 21 Dec 2010 22:33:04 +0000 (22:33 +0000)]
Don't finalize methods for a type more than once.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168134 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoIn libobjc/:
nicola [Tue, 21 Dec 2010 22:17:52 +0000 (22:17 +0000)]
In libobjc/:
2010-12-21  Nicola Pero  <nicola.pero@meta-innovation.com>

* init.c (_objc_load_callback): Initialize with 0.
(__objc_call_callback): Renamed to __objc_call_load_callback.
Check _objc_load_callback only once, and if it is not set, return
immediately.
(objc_send_load): Updated call to __objc_call_callback.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168133 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoCorrect handling of methods which call recover.
ian [Tue, 21 Dec 2010 21:14:15 +0000 (21:14 +0000)]
Correct handling of methods which call recover.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168132 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoDon't crash when declaring methods on unknown name.
ian [Tue, 21 Dec 2010 20:32:36 +0000 (20:32 +0000)]
Don't crash when declaring methods on unknown name.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168131 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoLayout undefined type.
ian [Tue, 21 Dec 2010 18:59:22 +0000 (18:59 +0000)]
Layout undefined type.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168130 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoCorrect lexing of exponents.
ian [Tue, 21 Dec 2010 18:51:45 +0000 (18:51 +0000)]
Correct lexing of exponents.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168129 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoReport errors for temporary statements rather than crashing.
ian [Tue, 21 Dec 2010 18:31:48 +0000 (18:31 +0000)]
Report errors for temporary statements rather than crashing.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168128 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago * es.po, ja.po: Update.
jsm28 [Tue, 21 Dec 2010 18:28:33 +0000 (18:28 +0000)]
* es.po, ja.po: Update.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168127 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoDon't crash when some object is redefined as a type.
ian [Tue, 21 Dec 2010 18:20:51 +0000 (18:20 +0000)]
Don't crash when some object is redefined as a type.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168126 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoTraverse function types.
ian [Tue, 21 Dec 2010 18:10:13 +0000 (18:10 +0000)]
Traverse function types.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168125 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago PR tree-optimization/47001
irar [Tue, 21 Dec 2010 15:42:11 +0000 (15:42 +0000)]
    PR tree-optimization/47001
        * tree-vect-slp.c (vect_supported_load_permutation_p): Check
        that the loads in reduction are different and there are no gaps
        between them.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168123 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoIn libobjc/:
nicola [Tue, 21 Dec 2010 15:34:19 +0000 (15:34 +0000)]
In libobjc/:
2010-12-21  Nicola Pero  <nicola.pero@meta-innovation.com>

PR libobjc/16110
* init.c (__objc_send_message_in_list): Renamed to
__objc_send_load_using_method_list.  Do not take an 'op' argument.
Register the 'load' selector if needed.
(__objc_send_load): Do not register the 'load' selector.  Updated
call to __objc_send_message_in_list.
(__objc_create_classes_tree): Add the class of any claimed
category that was loaded in the module to the list of classes for
which we try to execute +load.

In gcc/testsuite/:
2010-12-21  Nicola Pero  <nicola.pero@meta-innovation.com>

PR libobjc/16110
* objc.dg/special/special.exp: Added new test.
* objc.dg/special/load-category-1.m: New.
* objc.dg/special/load-category-1a.m: New.
* objc.dg/special/load-category-1.h: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168122 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoForgotten ChangeLog entries.
steven [Tue, 21 Dec 2010 15:08:40 +0000 (15:08 +0000)]
Forgotten ChangeLog entries.

gcc/
PR middle-end/45310
* tree-ssa-phiprop.c (propagate_with_phi): Remove statement
completely from the function, including EH traces.

testsuite/
PR middle-end/45310
* g++.dg/pr45310.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168121 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agogcc/
steven [Tue, 21 Dec 2010 15:02:02 +0000 (15:02 +0000)]
gcc/
PR middle-end/45310
* tree-ssa-phiprop.c (propagate_with_phi): Remove statement
completely from the function, including EH traces.

testsuite/
PR middle-end/45310
* g++.dg/pr45310.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168120 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoIn libobjc/:
nicola [Tue, 21 Dec 2010 14:56:18 +0000 (14:56 +0000)]
In libobjc/:
2010-12-21  Nicola Pero  <nicola.pero@meta-innovation.com>

* objc-private/common.h: When DEBUG is defined, include <stdio.h>.
Updated comments.
* init.c (__objc_tree_insert_class): Use %p, not %x, when printing
a pointer using DEBUG_PRINTF.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168119 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agogcc/
steven [Tue, 21 Dec 2010 14:55:41 +0000 (14:55 +0000)]
gcc/
PR rtl-optimization/46755
* ira.c (ira): If some dead edges were removed, find and delete
any blocks that might have become unreachable.

testsuite/
PR rtl-optimization/46755
* gfortran.dg/pr46755.f: New test

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168118 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago PR rtl-optimization/47008
jakub [Tue, 21 Dec 2010 14:51:42 +0000 (14:51 +0000)]
PR rtl-optimization/47008
* postreload.c (reload_combine_note_store): Also handle
PRE_MODIFY and POST_MODIFY.

* gfortran.dg/pr47008.f03: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168117 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoIn libobjc/:
nicola [Tue, 21 Dec 2010 13:44:04 +0000 (13:44 +0000)]
In libobjc/:
2010-12-21  Nicola Pero  <nicola.pero@meta-innovation.com>

PR libobjc/45953
* selector.c (__sel_register_typed_name): When registering a new
selector with the same name as an existing one, reuse the existing
name string.  Also updated types, casts and comments in the whole
function.

In gcc/testsuite/:
2010-12-21  Nicola Pero  <nicola.pero@meta-innovation.com>

PR libobjc/45953
* objc.dg/libobjc-selector-1.m: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168115 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago * config/arm/arm.c (require_pic_register): Set INSN_LOCATOR for all
uweigand [Tue, 21 Dec 2010 13:30:08 +0000 (13:30 +0000)]
* config/arm/arm.c (require_pic_register): Set INSN_LOCATOR for all
instructions injected into the prologue to prologue_locator.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168114 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoIn libobjc/:
nicola [Tue, 21 Dec 2010 12:49:26 +0000 (12:49 +0000)]
In libobjc/:
2010-12-21  Nicola Pero  <nicola.pero@meta-innovation.com>

* objc-private/module-abi-8.h (struct objc_symtab): Declare 'refs'
to be 'struct objc_selector *' and not 'SEL'.
* init.c (__objc_exec_class): Call
__objc_register_selectors_from_module instead of iterating over
each selector and calling __sel_register_typed_name for each.
* objc-private/selector.h: Declare
__objc_register_selectors_from_module instead of
__sel_register_typed_name.
* selector.c (__objc_register_selectors_from_module): New.
(__sel_register_typed_name): Made static.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168113 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoIn libobjc/:
nicola [Tue, 21 Dec 2010 11:58:48 +0000 (11:58 +0000)]
In libobjc/:
2010-12-21  Nicola Pero  <nicola.pero@meta-innovation.com>

* linking.m: Do not include objc/NXConstStr.h.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168112 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoIn libobjc/:
nicola [Tue, 21 Dec 2010 11:50:14 +0000 (11:50 +0000)]
In libobjc/:
2010-12-21  Nicola Pero  <nicola.pero@meta-innovation.com>

* objc-private/runtime.h (DEBUG_PRINTF): Moved from here ...
* objc-private/common.h (DEBUG_PRINTF): To here.
* hash.c: Do not include objc-private/runtime.h and objc/thr.h.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168111 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoIn libobjc/:
nicola [Tue, 21 Dec 2010 11:24:27 +0000 (11:24 +0000)]
In libobjc/:
2010-12-21  Nicola Pero  <nicola.pero@meta-innovation.com>

* hash.c: Tidied up comments and indentation.  No code changes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168110 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago PR middle-end/47000
hubicka [Tue, 21 Dec 2010 10:30:33 +0000 (10:30 +0000)]
PR middle-end/47000
* tree-inline.c (estimate_operator_cost): Handle VIEW_CONVERT_EXPR.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168108 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago * config/arm/arm-ldmstm.ml: Fix a typo in comment.
jiez [Tue, 21 Dec 2010 09:18:49 +0000 (09:18 +0000)]
* config/arm/arm-ldmstm.ml: Fix a typo in comment.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168106 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago PR middle-end/45852
jakub [Tue, 21 Dec 2010 08:35:16 +0000 (08:35 +0000)]
PR middle-end/45852
* expr.c (store_expr): Ignore alt_rtl if equal to target,
but has side-effects.

* gcc.target/i386/pr45852.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168105 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago * config/sh/sh.h (PREFERRED_RELOAD_CLASS): Remove.
aesok [Tue, 21 Dec 2010 08:05:57 +0000 (08:05 +0000)]
* config/sh/sh.h (PREFERRED_RELOAD_CLASS): Remove.
* config/sh/sh-protos.h (secondary_reload_info, sh_secondary_reload):
Remove forward declaration.
* config/sh/sh.c (sh_preferred_reload_class): New function.
(sh_secondary_reload): Make static.
(TARGET_PREFERRED_RELOAD_CLASS): Define.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168104 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoRemove svn:mergeinfo property.
ian [Tue, 21 Dec 2010 06:16:10 +0000 (06:16 +0000)]
Remove svn:mergeinfo property.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168103 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoDon't crash on invalid return statement.
ian [Tue, 21 Dec 2010 06:13:14 +0000 (06:13 +0000)]
Don't crash on invalid return statement.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168102 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoDaily bump.
gccadmin [Tue, 21 Dec 2010 00:17:56 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168101 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago2010-12-20 Tobias Burnus <burnus@net-b.de>
burnus [Mon, 20 Dec 2010 21:43:58 +0000 (21:43 +0000)]
2010-12-20  Tobias Burnus  <burnus@net-b.de>

        PR fortran/46974
        * gfortran.dg/c_ptr_tests_16.f90: Fix endian issue.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168095 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago * config/alpha/linux.h (OPTION_GLIBC): Define differently if
jsm28 [Mon, 20 Dec 2010 20:09:24 +0000 (20:09 +0000)]
* config/alpha/linux.h (OPTION_GLIBC): Define differently if
SINGLE_LIBC.
* config/linux.h (OPTION_GLIBC, OPTION_UCLIBC, OPTION_BIONIC):
Define differently if SINGLE_LIBC.
* config/rs6000/linux.h (OPTION_GLIBC): Define differently if
SINGLE_LIBC.
* config/rs6000/linux64.h (OPTION_GLIBC): Define differently if
SINGLE_LIBC.
* config.gcc (*-*-linux* | frv-*-*linux* | *-*-kfreebsd*-gnu |
*-*-knetbsd*-gnu | *-*-gnu* | *-*-kopensolaris*-gnu): Define
SINGLE_LIBC instead of OPTION_GLIBC.
(*-*-uclinux*): Define DEFAULT_LIBC and SINGLE_LIBC.
(bfin*-uclinux*, moxie-*-uclinux*, m68k-*-uclinux*): Don't define
DEFAULT_LIBC or use linux.opt.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168094 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agomn10300: Cleanup PIC unspec generation
rth [Mon, 20 Dec 2010 19:11:12 +0000 (19:11 +0000)]
mn10300: Cleanup PIC unspec generation

        * config/mn10300/mn10300.c (mn10300_legitimize_pic_address): Generate
        UNSPEC patterns by hand, with the proper mode; use gen_const_mem.
        * config/mn10300/mn10300.md (call, call_value): Generate UNSPEC_PLT
        by hand, with the proper mode.
        (symGOT2reg, symGOT2reg_i, symGOTOFF2reg): Remove.
        (symGOTOFF2reg_i, sym2PIC, sym2PLT): Remove.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168093 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago2010-12-20 Sanjin Liu <scliu@faraday-tech.com>
rearnsha [Mon, 20 Dec 2010 17:48:51 +0000 (17:48 +0000)]
2010-12-20  Sanjin Liu <scliu@faraday-tech.com>
Mingfeng Wu  <mingfeng@faraday-tech.com>

* config/arm/arm-cores.def: Add Faraday CPU support -
fa526/fa626/fa606te/fa626te/fmp626/fa726te.
* config/arm/arm-tune.md: Regenerate.
* config/arm/arm.c (arm_fa726te_tune): New tune_params for fa726te
(fa726te_sched_adjust_cost): New cost function for fa726te.
(arm_issue_rate): Add fa726te.
* config/arm/arm.md (generic_sched): Add Faraday cores to generic_sched
and include machine description files.
* config/arm/bpabi.h (TARGET_FIX_V4BX_SPEC): Add fa526 and fa626.
* config/arm/t-arm (MD_INCLUDES): Include machine description files for
Faraday cores.
* config/arm/t-arm-elf: Add multilib option for Faraday cores.
* config/arm/t-linux-eabi: Add multilib option for Faraday cores except
fa526 and fa626.
* doc/invoke.texi: Document -mcpu for Faraday cores.
* config/arm/fa526.md: New file.
* config/arm/fa606te.md: New file.
* config/arm/fa626te.md: New file.
* config/arm/fmp626.md: New file.
* config/arm/fa726te.md: New file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168090 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoFix PR bootstrap/47027.
rwild [Mon, 20 Dec 2010 17:32:06 +0000 (17:32 +0000)]
Fix PR bootstrap/47027.

gcc/ada/:
PR bootstrap/47027
* a-stwiun-shared.ads: Rewrap overlong comment line.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168089 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago2010-12-20 Yvan Roux <yvan.roux@st.com>
rearnsha [Mon, 20 Dec 2010 17:16:38 +0000 (17:16 +0000)]
2010-12-20  Yvan Roux  <yvan.roux@st.com>

* config/arm/lib1funcs.asm (ARM_DIV_BODY case __OPTIMIZE_SIZE__): Fix
condition on IT instruction for early termination.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168088 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago * Makefile.am (AM_LIBTOOLFLAGS): Define, adding disable-static tag.
davek [Mon, 20 Dec 2010 17:03:10 +0000 (17:03 +0000)]
* Makefile.am (AM_LIBTOOLFLAGS): Define, adding disable-static tag.
* Makefile.in: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168087 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago * config/rs6000/freebsd.h (SVR4_ASM_SPEC): Don't define.
jsm28 [Mon, 20 Dec 2010 15:29:31 +0000 (15:29 +0000)]
* config/rs6000/freebsd.h (SVR4_ASM_SPEC): Don't define.
(DBX_REGISTER_NUMBER): Define.
* config/rs6000/lynx.h (DBX_REGISTER_NUMBER): Define.
* config/rs6000/netbsd.h (DBX_REGISTER_NUMBER): Define.
* config/rs6000/sysv4.h (SIZE_TYPE): Define.
(ASM_SPEC): Define without using SVR4_ASM_SPEC.
(DBX_REGISTER_NUMBER): Undefine.
* config.gcc (powerpc-*-eabispe*, powerpc-*-eabisimaltivec*,
powerpc-*-eabisim*, powerpc-*-elf*, powerpc-*-eabialtivec*,
powerpc-xilinx-eabi*, powerpc-*-eabi*, powerpc-*-rtems*,
powerpc-*-linux* | powerpc64-*-linux*, powerpc64-*-gnu*,
powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
powerpc-wrs-vxworks|powerpc-wrs-vxworksae, powerpcle-*-elf*,
powerpcle-*-eabisim*, powerpcle-*-eabi*): Don't use svr4.h.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168085 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago PR middle-end/46916
iains [Mon, 20 Dec 2010 10:14:36 +0000 (10:14 +0000)]
PR middle-end/46916
* opts.c (finish_options): Enable -freorder-functions
when -freorder-blocks-and-partition is active.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168084 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago PR c++/46904
iains [Mon, 20 Dec 2010 10:01:02 +0000 (10:01 +0000)]
PR c++/46904
PR middle-end/46916
PR target/46950
* config/darwin.c (generating_for_darwin_version): New var.
(darwin_text_section): Remove.
(darwin_rodata_section): Do not check function section here.
(darwin_emit_unwind_label): Do not emit for Darwin >= 9.
Emit distinct labels for successive calls for the same decl.
(darwin_override_options): Set generating_for_darwin_version.
Add FIXME and disable -freorder-blocks-and-partition.
Suppress automatic asynchronous unwind tables for m32.
Switch off -freorder-blocks-and-partition when unwind tables
will be generated.  Update to use generating_for_darwin_version.
(darwin_function_section): Check for cases that need to be placed
in coalesced sections.
* config/darwin-sections.def: Define hot, cold, startup and exit sections
for both coalesced and regular code.
* config/darwin.h (USE_SELECT_SECTION_FOR_FUNCTIONS): Delete.
* config/darwin10.h (TARGET_ASM_EMIT_UNWIND_LABEL): Delete.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168083 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoFix typos in gcc/ada.
rwild [Mon, 20 Dec 2010 07:26:57 +0000 (07:26 +0000)]
Fix typos in gcc/ada.

gcc/ada/:
* projects.texi: Fix typos.
* gnat_rm.texi: Likewise.
* gnat_ugn.texi: Likewise.
* sem_util.adb: Fix typo in variable, typos in comments.
* a-btgbso.adb: Fix typos in comments.
* a-cbdlli.adb, a-cbhase.ads, a-cdlili.adb, a-cobove.adb,
a-coinve.adb, a-convec.adb, a-direct.ads, a-strunb-shared.adb,
a-strunb-shared.ads, a-stuten.ads, a-stwiun-shared.adb,
a-stwiun-shared.ads, a-stzunb-shared.adb, a-stzunb-shared.ads,
a-suenco.adb, a-suenst.adb, a-suewst.adb, a-suezst.adb, ali.ads,
aspects.ads, atree.ads, binde.adb, bindgen.adb, checks.adb,
checks.ads, einfo.ads, err_vars.ads, errout.adb, errout.ads,
exp_aggr.adb, exp_attr.adb, exp_cg.adb, exp_ch3.adb,
exp_ch4.adb, exp_ch5.adb, exp_ch6.adb, exp_ch7.adb,
exp_dbug.ads, exp_disp.adb, exp_fixd.ads, freeze.adb,
g-altive.ads, g-comlin.ads, g-excact.ads, g-mbdira.adb,
g-sechas.ads, g-sehash.ads, g-sha1.ads, g-sha224.ads,
g-sha256.ads, g-sha384.ads, g-sha512.ads, g-shsh32.ads,
g-shsh64.ads, g-socket.adb, g-socket.ads, g-sothco.ads,
gcc-interface/decl.c, gcc-interface/trans.c,
gcc-interface/utils2.c, gnat1drv.adb, init.c, inline.adb,
link.c, locales.c, make.adb, mingw32.h, namet.ads, osint.adb,
par-ch12.adb, par-ch13.adb, par-ch3.adb, par-ch4.adb,
par-prag.adb, par.adb, par_sco.adb, prepcomp.adb,
prj-conf.ads, prj-dect.adb, prj-env.adb, prj-env.ads,
prj-nmsc.adb, prj-tree.ads, prj-util.ads, prj.adb, prj.ads,
s-auxdec-vms-alpha.adb, s-auxdec-vms_64.ads, s-oscons-tmplt.c,
s-osinte-vxworks.ads, s-osprim-mingw.adb, s-regexp.adb,
s-stusta.adb, s-taprop-mingw.adb, s-taprop-solaris.adb,
scn.adb, scos.ads, sem.adb, sem_aggr.adb, sem_attr.adb,
sem_aux.adb, sem_aux.ads, sem_ch12.adb, sem_ch12.ads,
sem_ch13.adb, sem_ch13.ads, sem_ch3.adb, sem_ch4.adb,
sem_ch6.adb, sem_ch7.adb, sem_ch8.adb, sem_disp.adb,
sem_disp.ads, sem_eval.adb, sem_intr.adb, sem_prag.adb,
sem_res.adb, sem_scil.adb, sem_util.ads, sem_warn.adb,
sem_warn.ads, sinfo.ads, socket.c, styleg.adb, switch.ads,
sysdep.c, tb-alvxw.c, xoscons.adb: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168082 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agodoc: @var fixes.
rwild [Mon, 20 Dec 2010 07:26:12 +0000 (07:26 +0000)]
doc: @var fixes.

gcc/:
* doc/cppopts.texi: Use @var when appropriate.
* doc/extend.texi (Structure-Packing Pragmas): Likewise.
* doc/gimple.texi (Logical Operators)
(Adding a new GIMPLE statement code): Likewise.
* doc/invoke.texi (Target Options, Precompiled Headers):
Likewise.
* doc/plugins.texi (Plugins): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168081 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agodoc: avoid leading whitespace in @smallexample install.texi.
rwild [Mon, 20 Dec 2010 07:25:51 +0000 (07:25 +0000)]
doc: avoid leading whitespace in @smallexample install.texi.

gcc/:
* doc/install.texi (Configuration, Building, Testing, Specific):
Remove leading whitespace from examples.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168080 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoDaily bump.
gccadmin [Mon, 20 Dec 2010 00:18:28 +0000 (00:18 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168079 138bc75d-0d04-0410-961f-82ee72b054a4