aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-01-03Merged with trunk at revision 194832.Balaji V. Iyer
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/cilkplus@194854 138bc75d-0d04-0410-961f-82ee72b054a4
2013-01-03Uncapitalized some error messages and added location to some errors.Balaji V. Iyer
+2013-01-02 Balaji V. Iyer <balaji.v.iyer@intel.com> + + * parser.c (cp_parser_cilk_for_expression_iterator): Uncapitalized an + error message and added appropriate location to error message. + (cp_parser_jump_statement): Likewise. + * cp-cilk.c (copy_decl_for_cilk): Likewise. + git-svn-id: https://gcc.gnu.org/svn/gcc/branches/cilkplus@194830 138bc75d-0d04-0410-961f-82ee72b054a4
2012-12-29Fixed a seg-fault on libcilkrts.Balaji V. Iyer
+2012-12-28 Balaji V. Iyer <balaji.v.iyer@intel.com> + + * runtime/cilk-abi-cilk-for.cpp (capture_spawn_arg_stack_frame): Added + #ifdefs to check compiler type between the function's body. + git-svn-id: https://gcc.gnu.org/svn/gcc/branches/cilkplus@194750 138bc75d-0d04-0410-961f-82ee72b054a4
2012-12-28Update-back libcilkrts to 2856.Balaji V. Iyer
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/cilkplus@194746 138bc75d-0d04-0410-961f-82ee72b054a4
2012-12-25Reverted libcilkrts files to 2068.Balaji V. Iyer
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/cilkplus@194718 138bc75d-0d04-0410-961f-82ee72b054a4
2012-12-21Fixed a memory leak.Balaji V. Iyer
2012-12-21 Balaji V. Iyer <balaji.v.iyer@intel.com> * elem-function-common.c (find_elem_fn_parm_type_1): Freed a malloced variable. (find_elem_fn_name): Likewise. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/cilkplus@194674 138bc75d-0d04-0410-961f-82ee72b054a4
2012-12-19Replaced all the fatal_errors with error_at in tree-vect-loop.cBalaji V. Iyer
2012-12-18 Balaji V. Iyer <balaji.v.iyer@intel.com> * tree-vect-loop.c (vect_determine_vectorization_factor): Replaced all occurances of "fatal_error" with error_at with vect_location. (vect_analyze_loop_form): Likewise. (vect_analyze_loop_operations): Likewise. (vect_analyze_loop): Likewise. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/cilkplus@194602 138bc75d-0d04-0410-961f-82ee72b054a4
2012-12-18Merged with trunk at revision 194571. Balaji V. Iyer
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/cilkplus@194585 138bc75d-0d04-0410-961f-82ee72b054a4
2012-12-17Fixed a bug with cilk_for with decrement instead of increment.Balaji V. Iyer
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/cilkplus@194568 138bc75d-0d04-0410-961f-82ee72b054a4
2012-12-17Fixed the pointer iterator issue in Cilk_for.Balaji V. Iyer
gcc/c-family/ChangeLog.cilkplus +2012-12-17 Balaji V. Iyer <balaji.v.iyer@intel.com> + + * c-cilk.c (compute_loop_var): Added a check for integral type of loop + var and set the count type accordingly. Removed all occurances of + checking the pointer type. + (build_cilk_for_body): Likewise. + (declare_cilk_for_vars): Changed the generic name form new iteration + var. and inherited it from the existing one. + gcc/testsuite/ChangeLog.cilkplus +2012-12-17 Balaji V. Iyer <balaji.v.iyer@intel.com> + + * gcc.dg/cilk-plus/cilk_keywords_test/execute/cilk_for_ptr_iter.c: + New test. + git-svn-id: https://gcc.gnu.org/svn/gcc/branches/cilkplus@194550 138bc75d-0d04-0410-961f-82ee72b054a4
2012-12-17Reject storage classes for _Cilk_for induction variable.Balaji V. Iyer
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/cilkplus@194547 138bc75d-0d04-0410-961f-82ee72b054a4
2012-12-16Reject Spawned functions inside a compound expression.Balaji V. Iyer
+++ gcc/testsuite/ChangeLog.cilkplus + * gcc.dg/cilk-plus/cilk_keywords_test/errors/compound_cilk_spawn.c: + Likewise. +++ gcc/ChangeLog.cilkplus + (build_compound_expr): Added a check for spawned function call in a + compound expression. If so, then emit an error. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/cilkplus@194543 138bc75d-0d04-0410-961f-82ee72b054a4
2012-12-16Reject consecutive _Cilk_spawn keywords.Balaji V. Iyer
testsuite/ChangeLog.cilkplus + * gcc.dg/cilk-plus/cilk_keywords_test/errors/concec_cilk_spawn.c: + Likewise. gcc/ChangeLog.cilkplus + (c_parser_postfix_expression): Added check for consecutive _Cilk_spawn + keyword. If found, emit and error. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/cilkplus@194542 138bc75d-0d04-0410-961f-82ee72b054a4
2012-12-16Added some more error checking (e.g. multiple stmts in _Cilk for etc.)Balaji V. Iyer
gcc/c-family/ChangeLog.cilkplus +2012-12-16 Balaji V. Iyer <balaji.v.iyer@intel.com> + + * c-cilk.c (extract_for_fields): Set invalid to false as the + initialization value. Replaced unreachable with a comparison error. + Also, added a check if the end-value is less than start value for + _Cilk_for. + (compute_loop_var): Set the convert value to unsigned long for pointer + type count. + (build_cilk_for_body): Added a check for pointer type, and if so, do + a type convert (this is done twice). + gcc/ChangeLog.cilkplus +2012-12-16 Balaji V. Iyer <balaji.v.iyer@intel.com> + + * c/c-typeck.c (c_finish_cilk_loop): Added a check for multiple expr. in + condition or increment inside a _Cilk_for. If so, then emit an error. + * c/c-parser.c (c_parser_cilk_for_statement): Added a check for + multiple expressions for initialization for a Cilk_for. If so, then + emit an error. + gcc/testsuite/ChangeLog.cilkplus +2012-12-16 Balaji V. Iyer <balaji.v.iyer@intel.com> + + * gcc.dg/cilk-plus/cilk_keywords_test/errors/cilk_for_invalid_cmp3.c: + New test. + * gcc.dg/cilk-plus/cilk_keywords_test/errors/cilk_for_invalid_cmp2.c: + Likewise. + * gcc.dg/cilk-plus/cilk_keywords_test/errors/cilk_for_multiple_init.c: + Likewise. + git-svn-id: https://gcc.gnu.org/svn/gcc/branches/cilkplus@194541 138bc75d-0d04-0410-961f-82ee72b054a4
2012-12-14Reject const, volatile induction vars and invalid comparisons in Cilk_for.Balaji V. Iyer
+++ gcc/testsuite/ChangeLog.cilkplus +2012-12-14 Balaji V. Iyer <balaji.v.iyer@intel.com> + + * gcc.dg/cilk-plus/cilk_keywords_test/errors/cilk_for_invalid_compares.c: + New test. + * gcc.dg/cilk-plus/cilk_keywords_test/errors/cilk_for_volatile_var.c: + Likewise. + +++ gcc/ChangeLog.cilkplus (working copy) @@ -1,3 +1,11 @@ +2012-12-14 Balaji V. Iyer <balaji.v.iyer@intel.com> + + * c/c-parser.c (c_parser_cilk_for_statement): Replaced unknown location with the + correct location value. + * c/c-typeck.c (c_finish_cilk_loop): Checked if the increment is one of + the following: !=, <=, <, >=, or >. Report error otherwise. Also + report error if the induction variable is constant or volatile. + git-svn-id: https://gcc.gnu.org/svn/gcc/branches/cilkplus@194507 138bc75d-0d04-0410-961f-82ee72b054a4
2012-12-14Fixed an issue pragma simd index being lost and checking if [simd]assert Balaji V. Iyer
is called. +2012-12-13 Balaji V. Iyer <balaji.v.iyer@intel.com> + + * tree-vect-loop.c (vect_determine_vectorization_factor): Added a + check if assert is requested in simd pragma. + (vect_analyze_loop_form): Likewise. + (vect_analyze_loop_operations): Likewise. + (vect_analyze_loop): Likewise. + * tree-cfgcleanup.c (remove_forwarder_block): Copied the pragma + simd struct index from the removed bb to the destination basic block. + * cfgloop.c (flow_loops_find): Added flag_enable_cilk check. + * tree-cfg.c (gimple_merge_blocks): Copied the pragma simd struct + index from the source to destination. + (remove_bb): Likewise. + git-svn-id: https://gcc.gnu.org/svn/gcc/branches/cilkplus@194496 138bc75d-0d04-0410-961f-82ee72b054a4
2012-12-13Check invalid gotos and increments and report errors.Balaji V. Iyer
gcc/c-family/ChangeLog.cilkplus +2012-12-12 Balaji V. Iyer <balaji.v.iyer@intel.com> + + * c-typeck.c (c_finish_cilk_loop) Added location for error reporting. + * c-cilk.c (wrapper_parm_cb): Likewise. + (copy_decl_for_cilk): Likewise. + (check_outlined_calls): Likewise. + (extract_for_fields): Reported an error instead of gcc_unreachable (). + gcc/testsuite/ChangeLog.cilkplus +2012-12-12 Balaji V. Iyer <balaji.v.iyer@intel.com> + + * gcc.dg/cilk-plus/cilk_keywords_test/errors/goto_inside_cilkfor.c: + New test. + * gcc.dg/cilk-plus/cilk_keywords_test/errors/cilk_for_incr_errors.c: + Likewise. + * gcc.dg/cilk-plus/cilk_keywords_test/errors/errors.exp: New script. + gcc/ChangeLog.cilkplus +2012-12-12 Balaji V. Iyer <balaji.v.iyer@intel.com> + + * c/c-objc-common.h (LANG_HOOKS_CILK_CHECK_CTRL_FLOW): New define. + * cilk.c (store_labels): New function. + (find_all_labels): Likewise. + (check_goto_labels_inside_cilk_for_body): Likewise. + (check_gotos_inside_cilk_for): Likewise. + (check_gotos_outside_cilk_for): Likewise. + (check_cilk_ctrl_flow): Likewise. + * langhooks.c (lhd_cilk_check_ctrl_flow): Likewise. + * langhooks.h (struct lang_hooks_for_cilkplus): New function pointer. + * gimplify.c (gimplify_function_tree): Called cilk_check_ctrl_flow + function that is part of lang_hooks. + * langhooks-def.h (LANG_HOOKS_CILK): New field added. + git-svn-id: https://gcc.gnu.org/svn/gcc/branches/cilkplus@194467 138bc75d-0d04-0410-961f-82ee72b054a4
2012-12-11Merged with trunk at revision 194367.Balaji V. Iyer
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/cilkplus@194381 138bc75d-0d04-0410-961f-82ee72b054a4
2012-12-10Added several Elemental function changes for C (from patch to branch).Balaji V. Iyer
gcc/c-family/ChangeLog.cilkplus +2012-12-10 Balaji V. Iyer <balaji.v.iyer@intel.com> + + * c-cpp-elem-function.c: New file. + gcc/testsuite/ChangeLog.cilkplus +2012-12-10 Balaji V. Iyer <balaji.v.iyer@intel.com> + + * gcc.dg/cilk-plus/elem_fn_tests/test1.c: Remove. + * gcc.dg/cilk-plus/elem_fn_tests/test2.c: Likewise. + * gcc.dg/cilk-plus/elem_fn_tests/test3.c: Likewise. + * gcc.dg/cilk-plus/elem_fn_tests/test4.c: Likewise. + * gcc.dg/cilk-plus/elem_fn_tests/test5.c: Likewise. + * gcc.dg/cilk-plus/elem_fn_tests/test6.c: Likewise. + * gcc.dg/cilk-plus/elem_fn_tests/test7.c: Likewise. + * gcc.dg/cilk-plus/elem_fn_tests/test8.c: Likewise. + * gcc.dg/cilk-plus/elem_fn_tests/test9.c: Likewise. + * gcc.dg/cilk-plus/elem_fn_tests/switch_stmt.c: Likewise. + * gcc.dg/cilk-plus/elem_fn_tests/ctrl_flow2.c: Likewise. + * gcc.dg/cilk-plus/elem_fn_tests/test10.c: Likewise. + * gcc.dg/cilk-plus/elem_fn_tests/test11.c: Likewise. + * gcc.dg/cilk-plus/elem_fn_tests/test12.c: Likewise. + * gcc.dg/cilk-plus/elem_fn_tests/test13.c: Likewise. + * gcc.dg/cilk-plus/elem_fn_tests/test14.c: Likewise. + * gcc.dg/cilk-plus/elem_fn_tests/test15.c: Likewise. + * gcc.dg/cilk-plus/elem_fn_tests/test16.c: Likewise. + * gcc.dg/cilk-plus/elem_fn_tests/test17.c: Likewise. + * gcc.dg/cilk-plus/elem_fn_tests/test18.c: Likewise. + * gcc.dg/cilk-plus/elem_fn_tests/ctrl_flow.c: Likewise. + * gcc.dg/cilk-plus/elem_fn_tests/32bit/test10.c: New test. + * gcc.dg/cilk-plus/elem_fn_tests/32bit/test1.c: Likewise. + * gcc.dg/cilk-plus/elem_fn_tests/32bit/test11.c: Likewise. + * gcc.dg/cilk-plus/elem_fn_tests/32bit/test12.c: Likewise. + * gcc.dg/cilk-plus/elem_fn_tests/32bit/test7.c: Likewise. + * gcc.dg/cilk-plus/elem_fn_tests/32bit/test8.c: Likewise. + * gcc.dg/cilk-plus/elem_fn_tests/32bit/test9.c: Likewise. + * gcc.dg/cilk-plus/elem_fn_tests/64bit/test1.c: Likewise. + * gcc.dg/cilk-plus/elem_fn_tests/64bit/test2.c: Likewise. + * gcc.dg/cilk-plus/elem_fn_tests/64bit/test3.c: Likewise. + * gcc.dg/cilk-plus/elem_fn_tests/64bit/test4.c: Likewise. + * gcc.dg/cilk-plus/elem_fn_tests/64bit/test5.c: Likewise. + * gcc.dg/cilk-plus/elem_fn_tests/64bit/test6.c: Likewise. + * gcc.dg/cilk-plus/elem_fn_tests/64bit/switch_stmt.c: Likewise. + * gcc.dg/cilk-plus/elem_fn_tests/64bit/ctrl_flow2.c: Likewise. + * gcc.dg/cilk-plus/elem_fn_tests/64bit/test13.c: Likewise. + * gcc.dg/cilk-plus/elem_fn_tests/64bit/test14.c: Likewise. + * gcc.dg/cilk-plus/elem_fn_tests/64bit/test15.c: Likewise. + * gcc.dg/cilk-plus/elem_fn_tests/64bit/test16.c: Likewise. + * gcc.dg/cilk-plus/elem_fn_tests/64bit/test17.c: Likewise. + * gcc.dg/cilk-plus/elem_fn_tests/64bit/test18.c: Likewise. + * gcc.dg/cilk-plus/elem_fn_tests/64bit/ctrl_flow.c: Likewise. + * gcc.dg/cilk-plus/elem_fn_tests/elem_fn.exp: Likewise. + * gcc.dg/cilk-plus/elem_fn_tests/errors: Likewise. + * gcc.dg/cilk-plus/elem_fn_tests/errors/vlength_errors.c: Likewise. + * gcc.dg/cilk-plus/elem_fn_tests/errors/duplicate_decls.c: Likewise. + * gcc.dg/cilk-plus/elem_fn_tests/errors/linear_errors.c: Likewise. + * gcc.dg/cilk-plus/elem_fn_tests/errors/uniform_errors.c: Likewise. + * gcc.dg/cilk-plus/elem_fn_tests/errors/processor_errors.c: Likewise. + gcc/ChangeLog.cilkplus +2012-12-10 Balaji V. Iyer <balaji.v.iyer@intel.com> + + * doc/tm.texi (TARGET_CILKPLUS_BUILTIN_MAP_PROCESSOR_TO_ATTR): Added + documentation for this hook. + (TARGET_CILKPLUS_BUILTIN_FIND_PROCESSOR_CODE): Likewise. + (TARGET_CILKPLUS_BUILTIN_FIND_ISA_CODE): Likewise. + (TARGET_CILKPLUS_BUILTIN_FIND_VLENGTH_CODE): Likewise. + * doc/tm.texi.in (TARGET_CILKPLUS_BUILTIN_MAP_PROCESSOR_TO_ATTR): Added + hook. + (TARGET_CILKPLUS_BUILTIN_FIND_PROCESSOR_CODE): Likewise. + (TARGET_CILKPLUS_BUILTIN_FIND_ISA_CODE): Likewise. + (TARGET_CILKPLUS_BUILTIN_FIND_VLENGTH_FOR_PROC): Likewise. + * targhooks.c (default_builtin_map_processor_to_attr): New function. + (default_builtin_find_processor_code): Likewise. + (default_builtin_find_vlength_code): Likewise. + (default_builtin_find_isa_code): Likewise. + * c/c-parser.c (c_parser_elem_fn_processor_clause): Fixed syntax issue + in error message. Added several checks and error reporting for invalid + values. + (c_parser_elem_fn_uniform_clause): Likewise. + (c_parser_elem_fn_linear_clause): Likewise. + (c_parser_elem_fn_vlength_clause): Likewise. + * c/c-decl.c (c_builtin_function_ext_scope): Added a check if external + scope is non-null. + * target.def (TARGET_CILKPLUS): Added this hook and several definitions + such as builtin_map_processor_to_attr, builtin_find_processor_code, + builtin_find_vlength_for_proc, builtin_find_isa_code. + * tree.h (enum elem_fn_parm_type): Moved this to c-common. + * cilk.h (elem_fn_info): Added some extra fields into struct. + * elem-function-common.c (find_processor_code): Called the target + dependent version. Also made several changes to satisfy the new + elemental function mangling format. Finally, fixed up header comments. + (find_suffix): Likewise. + (extract_elem_fn_values): Likewise. + * tree-vect-stmts.c (elem_fn_vect_get_vec_def_for_operand): Return + scalar version for the uniform or linear parameters. + (vectorizable_call): Set the function type correctly. + * tree-inline.c (remap_var_for_cilk): Remove. + (tree_elem_fn_versioning): Fix up header function and reflected changes + in tree_function_versioning into this function. + (copy_tree_body_r): Removed a call for remap_var_for_cilk. + (elem_fn_copy_arguments_for_versioning): Fixed header comments. + * Makefile.in (C_COMMON_OBJS): Added c-family/c-cpp-elem-function.o. + * config/i386/i386.c (type_natural_mode): Added a check for cilk flag + before emitting a note. + (ix86_frame_pointer_required): Added a flag_enable_cilk check. + (ix86_cilkplus_map_proc_to_attr): New function. + (ix86_cilkplus_find_proc_code): Likewise. + (ix86_cilkplus_find_isa_code): Likewise. + (ix86_builtin_find_vlength_for_proc): Likewise. + git-svn-id: https://gcc.gnu.org/svn/gcc/branches/cilkplus@194366 138bc75d-0d04-0410-961f-82ee72b054a4
2012-12-10Fix ChangeLog entry, move entry from toplevel ChangeLog to gcc/ChangeLog.Sriraman Tallam
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@194364 138bc75d-0d04-0410-961f-82ee72b054a4
2012-12-10 * decl2.c (cp_write_global_declarations): Return after writing a PCH.Steven Bosscher
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@194363 138bc75d-0d04-0410-961f-82ee72b054a4
2012-12-10Record the global variables if WPA isn't enabledH.J. Lu
PR lto/55466 * lto-symtab.c (lto_symtab_merge_decls_1): Don't record the prevailing variable. * lto.c (lto_register_var_decl_in_symtab): Don't record static variables. (lto_main): Record the global variables if WPA isn't enabled. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@194359 138bc75d-0d04-0410-961f-82ee72b054a4
2012-12-102012-12-10 Richard Biener <rguenther@suse.de>Richard Biener
PR tree-optimization/55107 * tree-ssa-pre.c (struct pre_stats): Remove constified field. (bitmap_set_replace_value): Add gcc_unreachable. (do_regular_insertion): Re-write all_same handling. Insert an assignment instead of a PHI in this case. (eliminate_bb): Record availability also for SSA names defined by a constant. (do_pre): Do not record constified events. (execute_fre): Likewise. * gcc.dg/torture/pr55107.c: New testcase. * gcc.dg/tree-ssa/ssa-pre-5.c: Adjust. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@194358 138bc75d-0d04-0410-961f-82ee72b054a4
2012-12-102012-12-10 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>Andreas Krebbel
* config/spu/spu.md: Replace "operands" with "operands != NULL" in insn conditions. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@194357 138bc75d-0d04-0410-961f-82ee72b054a4
2012-12-10 * g++.dg/asan/asan_test.cc: Sync from upstream.Jakub Jelinek
* g++.dg/asan/asan_test_utils.h: Likewise. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@194356 138bc75d-0d04-0410-961f-82ee72b054a4
2012-12-10 * asan.c (asan_init_shadow_ptr_types): Move earlier in the file.Jakub Jelinek
Call initialize_sanitizer_builtins at the end. (asan_pp_string): Use TREE_TYPE (shadow_ptr_types[0]) as character type instead of char_type_node. (asan_emit_stack_protection): Call asan_init_shadow_ptr_types if shadow_ptr_types isn't initialized. (asan_protect_global): Return true for STRING_CSTs except those created by asan_pp_string. (count_string_csts, add_string_csts): New functions. (struct asan_add_string_csts_data): New type. (asan_finish_file): Clear flag_asan at the beginning, restore at the end. Traverse constant_pool_htab () to look for protected STRING_CSTs. Don't call initialize_sanitizer_builtins, instead call asan_init_shadow_ptr_types if shadow_ptr_types isn't initialized yet. (asan_instrument): Don't call initialize_sanitizer_builtins. * varasm.c (output_constant_def_contents): If STRING_CST should be asan protected, align it sufficiently and emit padding after it. (categorize_decl_for_section): If flag_asan, don't put STRING_CSTs that should be asan protected into mergeable sections. For -fmerge-all-constants, ignore it for -fmudflap or if decl is asan protected. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@194355 138bc75d-0d04-0410-961f-82ee72b054a4
2012-12-10gcc/ChangeLogKyrylo Tkachov
2012-12-10 Kyrylo Tkachov <kyrylo.tkachov@arm.com> * config/arm/neon.ml (opcode): Add Vrintn, Vrinta, Vrintp, Vrintm, Vrintz to type. (type features): Add Requires_arch type constructor. (ops): Define Vrintn, Vrinta, Vrintp, Vrintm, Vrintz features. * config/arm/neon-docgen.ml (intrinsic_groups): Define Vrintn, Vrinta, Vrintp, Vrintm, Vrintz, Vrintx. * config/arm/neon-testgen.ml (effective_target): Define check for Requires_arch 8. * config/arm/neon-gen.ml (print_feature_test_start): Handle Requires_arch. (print_feature_test_end): Likewise. Add 2012 to Copyright notice. * doc/arm-neon-intrinsics.texi: Regenerate. * config/arm/arm_neon.h: Regenerate. gcc/testsuite/ChangeLog 2012-12-10 Kyrylo Tkachov <kyrylo.tkachov@arm.com> * gcc.target/arm/neon/vrndaf32.c: New test. * gcc.target/arm/neon/vrndqaf32.c: Likewise. * gcc.target/arm/neon/vrndf32.c: Likewise. * gcc.target/arm/neon/vrndqf32.c: Likewise. * gcc.target/arm/neon/vrndmf32.c: Likewise. * gcc.target/arm/neon/vrndqmf32.c: Likewise. * gcc.target/arm/neon/vrndnf32.c: Likewise. * gcc.target/arm/neon/vrndqnf32.c: Likewise. * gcc.target/arm/neon/vrndpf32.c: Likewise. * gcc.target/arm/neon/vrndqpf32.c: Likewise. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@194353 138bc75d-0d04-0410-961f-82ee72b054a4
2012-12-10* stmt.c (expand_sjlj_dispatch_table): Fix off by one.Kai Tietz
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@194351 138bc75d-0d04-0410-961f-82ee72b054a4
2012-12-10 PR target/53912Kai Tietz
* stmt.c (compute_cases_per_edge): Cast from pointer via intptr_t. (expand_case): Likewise. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@194350 138bc75d-0d04-0410-961f-82ee72b054a4
2012-12-10 PR target/53912Kai Tietz
* print-tree.c (print_node): Cast from pointer via uintptr_t. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@194348 138bc75d-0d04-0410-961f-82ee72b054a4
2012-12-102012-12-10 Matthias Klose <doko@ubuntu.com>Matthias Klose
* src/Makefile.am (libstdc++-symbols.ver): Use CONFIG_HEADER. * src/Makefile.in: Regenerate. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@194346 138bc75d-0d04-0410-961f-82ee72b054a4
2012-12-10 * asan.c (instrument_derefs): Handle bitfield COMPONENT_REFsJakub Jelinek
accesses as reads/writes to their DECL_BIT_FIELD_REPRESENTATIVE. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@194344 138bc75d-0d04-0410-961f-82ee72b054a4
2012-12-10Daily bump.GCC Administrator
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@194342 138bc75d-0d04-0410-961f-82ee72b054a4
2012-12-09 * gcc.misc-tests/gcov-12.c: Fix dg order.John David Anglin
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@194338 138bc75d-0d04-0410-961f-82ee72b054a4
2012-12-09 PR middle-end/54470John David Anglin
* gcc.dg/ipa/iinline-4.c: xfail hooray4 test on 32-bit hppa*-*-*. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@194337 138bc75d-0d04-0410-961f-82ee72b054a4
2012-12-09 * gcc.dg/torture/pr47917.c: Change "dg-xfail-if" to "dg-xfail-run-if"John David Anglin
for *-*-hpux10*. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@194335 138bc75d-0d04-0410-961f-82ee72b054a4
2012-12-09 PR target/55344Uros Bizjak
* config/alpha/linux-unwind.h: Disable when inhibit_libc is defined. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@194334 138bc75d-0d04-0410-961f-82ee72b054a4
2012-12-09 * gcc.dg/20030711-1.c: Define MAP_FAILED if not defined.John David Anglin
* gcc.dg/20050826-1.c: Likewise. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@194333 138bc75d-0d04-0410-961f-82ee72b054a4
2012-12-092012-12-09 Tobias Burnus <burnus@net-b.de>Tobias Burnus
* trans-array.c (gfc_deallocate_scalar_with_status): Use NULL_TREE in the call to gfc_deallocate_scalar_with_status. * trans-decl.c (gfc_trans_deferred_vars): Pass symbol. * trans-stmt.c (gfc_trans_deallocate): Pass polymorphic * variable. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@194332 138bc75d-0d04-0410-961f-82ee72b054a4
2012-12-09 * gnat.dg/vect9.adb: Add -w to dg-options.Eric Botcazou
* gnat.dg/vect10.adb: Likewise. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@194331 138bc75d-0d04-0410-961f-82ee72b054a4
2012-12-09* testsuite/lib/libstdc++.exp (dg-test): Unset testname_with_flagsAndreas Schwab
after running the test. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@194330 138bc75d-0d04-0410-961f-82ee72b054a4
2012-12-092012-12-09 Thomas Koenig <tkoenig@gcc.gnu.org>Thomas Koenig
PR fortran/55593 * frontend-passes.c (doloop_code): Use resolved_sym instead of n.sym->formal for formal argument list to get the correct version for all generic subroutines. 2012-12-09 Thomas Koenig <tkoenig@gcc.gnu.org> PR fortran/55593 * gfortran.dg/do_check_8.f90: New test. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@194329 138bc75d-0d04-0410-961f-82ee72b054a4
2012-12-09Daily bump.GCC Administrator
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@194328 138bc75d-0d04-0410-961f-82ee72b054a4
2012-12-08Fix typoEric Botcazou
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@194325 138bc75d-0d04-0410-961f-82ee72b054a4
2012-12-08 * lto-streamer-out.c (lto_write_tree): Do not reset the DECL_INITIAL ofEric Botcazou
variables in the global contant pool. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@194324 138bc75d-0d04-0410-961f-82ee72b054a4
2012-12-08 * gcc-interface/trans.c (gnat_to_gnu) <N_Indexed_Component>: AssertEric Botcazou
that the type of the prefix is ultimately an array. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@194323 138bc75d-0d04-0410-961f-82ee72b054a4
2012-12-08 PR rtl-optimization/55158Steven Bosscher
* sched-rgn.c (bb_state_array, bb_state): Add some explaining comment, and initialize to NULL explicitly. (realloc_bb_state_array): New function. (free_bb_state_array): New function. (schedule_region): Call realloc_bb_state_array after schedule_block. (sched_rgn_init): Use realloc_bb_state_array to initialize bb_state. (sched_rgn_finish): Use free_bb_state_array to free it. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@194322 138bc75d-0d04-0410-961f-82ee72b054a4
2012-12-08 * gcc-interface/trans.c (Subprogram_Body_to_gnu): Be prepared for aEric Botcazou
by-ref VAR_DECL in the case of an Out parameter passed by copy. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@194321 138bc75d-0d04-0410-961f-82ee72b054a4
2012-12-08 * tree-ssa-loop-im.c (for_each_index) <CONST_DECL>: New case.Eric Botcazou
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@194320 138bc75d-0d04-0410-961f-82ee72b054a4
2012-12-08 PR c++/55127Jason Merrill
* search.c (accessible_in_template_p): New. * cp-tree.h: Declare it. * pt.c (instantiation_dependent_scope_ref_p): New. (value_dependent_expression_p): Use it. (instantiation_dependent_r): Likewise. * semantics.c (finish_decltype_type): Handle SCOPE_REF. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@194318 138bc75d-0d04-0410-961f-82ee72b054a4