- 18 Jun, 2009 9 commits
-
-
* convert.c (convert_to_integer): Convert (int)logb() into ilogb(). testsuite/ChangeLog: * gcc.dg/builtins-65.c: New test. From-SVN: r148653
Uros Bizjak committed -
2009-06-18 Janus Weil <janus@gcc.gnu.org> PR fortran/40451 * resolve.c (resolve_contained_fntype): Prevent implicit typing for procedures with explicit interface. * symbol.c (gfc_check_function_type): Ditto. 2009-06-18 Janus Weil <janus@gcc.gnu.org> PR fortran/40451 * gfortran.dg/proc_ptr_result_4.f90: New. From-SVN: r148652
Janus Weil committed -
* ChangeLog: Various fixes. * testsuite/ChangeLog: Ditto. From-SVN: r148651
Uros Bizjak committed -
collect2.c (main): Use CONST_CAST2 to perform char ** to const char ** conversion in AIX specific... * collect2.c (main): Use CONST_CAST2 to perform char ** to const char ** conversion in AIX specific section. From-SVN: r148649
Olivier Hainque committed -
2009-06-17 Benjamin Kosnik <bkoz@redhat.com> * testsuite/23_containers/list/check_construct_destroy.h: New. Move test logic here. * testsuite/23_containers/list/moveable.h: Same. * testsuite/23_containers/list/modifiers/insert/25288.h: Same. * testsuite/23_containers/list/modifiers/1.h: Same. * testsuite/23_containers/list/modifiers/2.h: Same. * testsuite/23_containers/list/modifiers/3.h: Same. * testsuite/23_containers/list/modifiers/swap/1.h: Same. * testsuite/23_containers/list/modifiers/swap/2.h: Same. * testsuite/23_containers/list/modifiers/swap/3.h: Same. * testsuite/23_containers/list/operations/1.h: Same. * testsuite/23_containers/list/operations/2.h: Same. * testsuite/23_containers/list/operations/3.h: Same. * testsuite/23_containers/list/operations/4.h: Same. * testsuite/23_containers/list/operations/5.h: Same. * testsuite/23_containers/list/capacity/1.h: Same. * testsuite/23_containers/list/init-list.h: Same. * testsuite/23_containers/list/cons/1.h: Same. * testsuite/23_containers/list/cons/2.h: Same. * testsuite/23_containers/list/cons/3.h: Same. * testsuite/23_containers/list/cons/4.h: Same. * testsuite/23_containers/list/cons/5.h: Same. * testsuite/23_containers/list/cons/6.h: Same. * testsuite/23_containers/list/cons/7.h: Same. * testsuite/23_containers/list/cons/8.h: Same. * testsuite/23_containers/list/cons/9.h: Same. * testsuite/23_containers/list/cons/clear_allocator.h: Same. * testsuite/23_containers/list/modifiers/insert/25288.cc: Include test header. * testsuite/23_containers/list/modifiers/1.cc: Same. * testsuite/23_containers/list/modifiers/2.cc: Same. * testsuite/23_containers/list/modifiers/3.cc: Same. * testsuite/23_containers/list/modifiers/swap/1.cc: Same. * testsuite/23_containers/list/modifiers/swap/2.cc: Same. * testsuite/23_containers/list/modifiers/swap/3.cc: Same. * testsuite/23_containers/list/operations/1.cc: Same. * testsuite/23_containers/list/operations/2.cc: Same. * testsuite/23_containers/list/operations/3.cc: Same. * testsuite/23_containers/list/operations/4.cc: Same. * testsuite/23_containers/list/operations/5.cc: Same. * testsuite/23_containers/list/capacity/1.cc: Same. * testsuite/23_containers/list/init-list.cc: Same. * testsuite/23_containers/list/cons/1.cc: Same. * testsuite/23_containers/list/cons/2.cc: Same. * testsuite/23_containers/list/cons/3.cc: Same. * testsuite/23_containers/list/cons/4.cc: Same. * testsuite/23_containers/list/cons/5.cc: Same. * testsuite/23_containers/list/cons/6.cc: Same. * testsuite/23_containers/list/cons/7.cc: Same. * testsuite/23_containers/list/cons/8.cc: Same. * testsuite/23_containers/list/cons/9.cc: Same. * testsuite/23_containers/list/cons/clear_allocator.cc: Same. * testsuite/23_containers/list/check_construct_destroy.cc: Same. * testsuite/23_containers/list/moveable.cc: Same. From-SVN: r148644
Benjamin Kosnik committed -
2009-06-17 H.J. Lu <hongjiu.lu@intel.com> * config/i386/i386.c (ix86_special_builtin_type): Remove UINT64_FTYPE_PINT. Add UINT64_FTYPE_PUNSIGNED. (bdesc_special_args): Updated. (ix86_init_mmx_sse_builtins): Likewise. (ix86_expand_special_args_builtin): Likewise. From-SVN: r148643
H.J. Lu committed -
* tree-pretty-print.c (maybe_dump_asm_name): New. (dump_decl_name): Use it. (PRINT_FUNCTION_NAME): Merge into... (dump_function_name): ... here. Use maybe_dump_asm_name. From-SVN: r148642
Richard Henderson committed -
From-SVN: r148641
Cary Coutant committed -
From-SVN: r148640
GCC Administrator committed
-
- 17 Jun, 2009 23 commits
-
-
* dbxout.c (dbxout_source_line): Add is_stmt parameter. Change caller. * debug.c (struct gcc_debug_hooks): Change placeholder for source_line hook. (debug_nothing_int_charstar_int): Replaced by... (debug_nothing_int_charstar_int_bool): ...this. * debug.h (struct gcc_debug_hooks): Add is_stmt parameter to source_line prototype. (debug_nothing_int_charstar_int): Replaced by... (debug_nothing_int_charstar_int_bool): ...this. * defaults.h (SUPPORTS_DISCRIMINATOR): New constant. * dwarf2out.c (dwarf2out_source_line): Add is_stmt parameter. Output is_stmt operand when necessary. * final.c (last_is_stmt): New variable. (final_start_function): Initialize last_is_stmt. (final_scan_insn): Pass is_stmt to source_line debug hook. (notice_source_line): Add is_stmt parameter. * sdbout.c (sdbout_source_line): Add is_stmt parameter. * vmsdbgout.c (vmsdbgout_source_line): Add is_stmt parameter. Change callers. * xcoffout.c (xcoffout_source_line): Add is_stmt parameter. * xcoffout.h (xcoffout_source_line): Add is_stmt parameter. From-SVN: r148635
Cary Coutant committed -
* expr.c (struct move_by_pieces_d): Rename from move_by_pieces. Change all uses. (struct store_by_pieces_d): Rename from store_by_pieces. Change call uses. From-SVN: r148633
Ian Lance Taylor committed -
* tree.h (STRIP_NOPS, STRIP_SIGN_NOPS, STRIP_USELESS_TYPE_CONVERSION): Use tree_strip_nop_conversions, tree_strip_sign_nop_conversions and tree_ssa_strip_useless_type_conversions rather than stripping the operations here. (tree_strip_nop_conversions, tree_strip_sign_nop_conversions): Declare them. * gimple.h (tree_ssa_strip_useless_type_conversions): Declare it. * tree-ssa.c (tree_ssa_strip_useless_type_conversions): New function. * tree.c (tree_nop_conversion, tree_sign_nop_conversion, tree_strip_nop_conversions, tree_strip_sign_nop_conversions): New functions. testsuite/ * gcc.c-torture/execute/bitfld-5.c: New test. From-SVN: r148631
Adam Nemet committed -
Replace uses of "f" constraint with "d" as needed. From-SVN: r148630
Michael Eager committed -
* profile.c (total_num_never_executed): Don't define. (compute_branch_probabilities): Don't count or print num_never_executed. (init_branch_prob): Don't set total_num_never_executed. (end_branch_prob): Don't print total_num_never_executed. From-SVN: r148628
Ian Lance Taylor committed -
From-SVN: r148627
Ian Lance Taylor committed -
* python/hook.in: Do not fail when there is no current objfile. Use os.path.normpath. From-SVN: r148626
Tom Tromey committed -
2009-06-17 David Daney <ddaney@caviumnetworks.com> * jump.c (cleanup_barriers): Handle case of no insns before a barrier. 2009-06-17 David Daney <ddaney@caviumnetworks.com> * gcc.dg/builtin-unreachable-3.c: New test. From-SVN: r148624
David Daney committed -
2009-06-17 David Daney <ddaney@caviumnetworks.com> * gcc.target/i386/builtin-unreachable.c: New test. From-SVN: r148622
David Daney committed -
* config/rs6000/dfp.md (nabsdd2_fpr): Correct mode. (nabstd2_fpr): Same. From-SVN: r148621
David Edelsohn committed -
2009-06-17 Steve Ellcey <sje@cup.hp.com> * expr.c (expand_assignment): Change complex type check. From-SVN: r148614
Steve Ellcey committed -
2009-06-17 Basile Starynkevitch <basile@starynkevitch.net> * gcc/doc/plugins.texi (Building GCC plugins): Added new section. From-SVN: r148612
Basile Starynkevitch committed -
./: * c-pch.c (get_ident): Don't set size of templ array. (pch_init): Don't set size of partial_pch array. * c-typeck.c (digest_init): If -Wc++-compat, warn about using a string constant to intialize an array whose size is the length of the string. testsuite/: * gcc.dg/Wcxx-compat-14.c: New testcase. From-SVN: r148611
Ian Lance Taylor committed -
From-SVN: r148609
Aldy Hernandez committed -
From-SVN: r148608
Ian Lance Taylor committed -
2009-06-17 Richard Guenther <rguenther@suse.de> PR middle-end/40404 * gcc.c-torture/execute/pr40404.c: New testcase. From-SVN: r148606
Richard Guenther committed -
2009-06-17 Richard Guenther <rguenther@suse.de> PR tree-optimization/40389 * tree-ssa-structalias.c (handle_rhs_call): Restrict NRV case to addressable types. * gimple.c (walk_stmt_load_store_addr_ops): Likewise. From-SVN: r148597
Richard Guenther committed -
2009-06-17 Richard Guenther <rguenther@suse.de> PR middle-end/40460 * tree-chrec.h (build_polynomial_chrec): If we cannot determine if there is no evolution of left in the loop bail out. * tree-chrec.c (chrec_fold_multiply_poly_poly): CSE one chrec_fold_multiply. * g++.dg/torture/pr40460.C: New testcase. From-SVN: r148593
Richard Guenther committed -
* sem_prag.adb (Check_Arg_Is_Static_Expression): Allow for missing type. (Analyze_Attribute, case Machine_Attribute): Allow any type for arg 3. * gcc-interface/decl.c (prepend_attributes): Accept static expressions of any type as attribute arguments, not only string literals. * gnat_rm.texi (pragma Machine_Attribute section): Adjust to reflect the relaxation of the restriction on the Info argument type. Co-Authored-By: Olivier Hainque <hainque@adacore.com> From-SVN: r148589
Robert Dewar committed -
PR target/39254 * config/rs6000/rs6000.c (rs6000_emit_move): Don't emit a USE for the symbol ref of a constant that is the source of a move - nor for any other not-obvious-label-ref constants. Co-Authored-By: Janis Johnson <janis187@us.ibm.com> From-SVN: r148568
J"orn Rennecke committed -
2009-06-16 Olatunji Ruwase <tjruwase@google.com> * plugin.c(position_pass): Skip newly inserted pass during list traversal to avoid repeated insertion. 2009-06-05 Olatunji Ruwase <tjruwase@google.com> * gcc.dg/plugin/one_time_plugin.c: New test. * gcc.dg/plugin/one_time-test-1.c: New test. * gcc.dg/plugin/plugin.exp: Added one_time_plugin.c test. From-SVN: r148566
Olatunji Ruwase committed -
From-SVN: r148565
GCC Administrator committed -
* vec.h (VEC_stack_alloc): Define different version if GATHER_STATISTICS is defined, to accept and ignore MEM_STAT. (DEF_VEC_ALLOC_FUNC_P_STACK): Remove MEM_STAT_DECL. (DEF_VEC_ALLOC_FUNC_O_STACK): Likewise. (DEF_VEC_ALLOC_FUNC_I_STACK): Likewise. From-SVN: r148562
Ian Lance Taylor committed
-
- 16 Jun, 2009 8 commits
-
-
2009-06-16 Jonathan Wakely <jwakely.gcc@gmail.com> * libsupc++/exception_ptr.h (exception_ptr::swap(exception_ptr&&)): Remove. (exception_ptr::operator=(exception_ptr&&)): Cast source to rvalue-reference so that move constructor is called. * testsuite/18_support/exception_ptr/move.cc: New. From-SVN: r148555
Jonathan Wakely committed -
2009-06-16 H.J. Lu <hongjiu.lu@intel.com> * config.gcc (extra_headers): Add ia32intrin.h for x86. * config/i386/i386.c (ix86_builtins): Add IX86_BUILTIN_BSRSI, IX86_BUILTIN_BSRDI. IX86_BUILTIN_RDPMC, IX86_BUILTIN_RDTSC. IX86_BUILTIN_RDTSCP. IX86_BUILTIN_ROLQI, IX86_BUILTIN_ROLHI, IX86_BUILTIN_RORQI and IX86_BUILTIN_RORHI. (ix86_special_builtin_type): Add UINT64_FTYPE_VOID, UINT64_FTYPE_PINT, INT_FTYPE_INT, UINT64_FTYPE_INT, INT64_FTYPE_INT64, UINT16_FTYPE_UINT16_INT and UINT8_FTYPE_UINT8_INT (bdesc_special_args): Add __builtin_ia32_rdtsc and __builtin_ia32_rdtscp. (bdesc_args): Add __builtin_ia32_bsrsi, __builtin_ia32_bsrdi, __builtin_ia32_rolqi, __builtin_ia32_rolhi, __builtin_ia32_rorqi and __builtin_ia32_rorhi, (ix86_init_mmx_sse_builtins): Handle UINT64_FTYPE_VOID, UINT64_FTYPE_PINT, INT_FTYPE_INT, UINT64_FTYPE_INT, INT64_FTYPE_INT64, UINT16_FTYPE_UINT16_INT and UINT8_FTYPE_UINT8_INT. (ix86_expand_args_builtin): Likewise. (ix86_expand_special_args_builtin): Likewise. * config/i386/i386.md (UNSPECV_RDTSCP): New. (UNSPECV_RDTSC): Likewise. (UNSPECV_RDPMC): Likewise. (*bsr): Removed to ... (bsr): This (*bsr_rex64): Removed to ... (bsr_rex64): This. (rdpmc): New. (*rdpmc): Likewise. (*rdpmc_rex64): Likewise. (rdtsc): Likewise. (*rdtsc): Likewise. (*rdtsc_rex64): Likewise. (rdtscp): Likewise. (*rdtscp): Likewise. (*rdtscp_rex64): Likewise. * config/i386/ia32intrin.h: New. * config/i386/x86intrin.h: Include <ia32intrin.h>. From-SVN: r148554
H.J. Lu committed -
2009-06-16 Jonathan Wakely <jwakely.gcc@gmail.com> * include/std/thread (~thread(), operator=(thread&&)): Call terminate if joinable. From-SVN: r148552
Jonathan Wakely committed -
* ira-build.c (copy_info_to_removed_store_destinations): Initialize parent_a. From-SVN: r148551
Ian Lance Taylor committed -
From-SVN: r148550
Ian Lance Taylor committed -
* sel-sched.c: Make forward declarations of move_op_hooks and fur_hooks explicitly extern. From-SVN: r148549
Ian Lance Taylor committed -
* df-problems.c (df_byte_lr_alloc): Don't set problem_data to itself. * vec.c (vec_gc_o_reserve_1): Don't set alloc to itself. From-SVN: r148548
Ian Lance Taylor committed -
* resource.c (mark_referenced_resources): Change include_delayed_effects parameter to bool. Change all callers. (mark_end_of_function_resources): Likewise. * reorg.c (insn_references_resource_p): Likewise. (insn_sets_resource_p): Likewise. * resource.h (mark_referenced_resources): Update declaration. (mark_end_of_function_resources): Update declaration. From-SVN: r148547
Ian Lance Taylor committed
-