aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2005-12-21configure.ac: Enable C extension for decimal float if invoked with ↵Ben Elliston5-225/+226
--enable-decimal-float. * configure.ac: Enable C extension for decimal float if invoked with --enable-decimal-float. * doc/install.texi (Configuration): Document it. * configure, config.in: Regenerate. From-SVN: r108887
2005-12-21Daily bump.GCC Administrator1-1/+1
From-SVN: r108884
2005-12-20darwin.h (TARGET_OPTION_TRANSLATE_TABLE): Handle the ambiguity between ↵Mike Stump2-3/+10
-seg_addr_table and -seg_addr_table_filename. * config/darwin.h (TARGET_OPTION_TRANSLATE_TABLE): Handle the ambiguity between -seg_addr_table and -seg_addr_table_filename. (WORD_SWITCH_TAKES_ARG): Likewise. (LINK_SPEC): Likewise. Radar 3941990 From-SVN: r108876
2005-12-20cfganal.c (flow_reverse_top_sort_order_compute): Renamed to ↵Kenneth Zadeck8-35/+95
post_order_compute and additional parameter added which allows the... 2005-12-20 Kenneth Zadeck <zadeck@naturalbridge.com> * cfganal.c (flow_reverse_top_sort_order_compute): Renamed to post_order_compute and additional parameter added which allows the inclusion of entry and exit blocks into list. (mark_dfs_back_edges): Fixed comment. (flow_depth_first_order_compute): Renamed to pre_and_rev_post_order_compute additional parameter added which allows the inclusion of entry and exit blocks into list. * global.c (set_up_bb_rts_numbers): Call to flow_reverse_top_sort_order_compute renamed to post_order_compute. * var-tracking.c (vt_stack_adjustments): Fixed comment. (vt_find_locations): Call to flow_depth_first_order_compute renamed to pre_and_rev_post_order_compute. * cfgloop.c (flow_find_loops): Ditto. * tree-ssa-reassoc.c (init_reassoc): Ditto. * df.c (df_analyze_1, df_analyze_subcfg): Calls to flow_reverse_top_sort_order_compute renamed to post_order_compute and calls to flow_reverse_top_sort_order_compute renamed to post_order_compute. * basic_block.h: Ditto. From-SVN: r108874
2005-12-20re PR rtl-optimization/25115 (Segmentation fault in pre_insert_copy_insn)Roger Sayle2-5/+25
2005-12-20 Roger Sayle <roger@eyesopen.com> Paolo Bonzini <bonzini@gnu.org> PR rtl-optimization/25115 * gcse.c (pre_insert_copy_insn): Fall back to the sole SET in the insn if there is no SET for an expression that is equivalent to EXPR. Co-Authored-By: Paolo Bonzini <bonzini@gnu.org> From-SVN: r108855
2005-12-20re PR middle-end/24306 (va_arg gets confused when skipping over certain ↵Richard Guenther5-2/+48
zero-sized types with -msse) 2005-12-20 Richard Guenther <rguenther@suse.de> PR middle-end/24306 * builtins.c (std_gimplify_va_arg_expr): Do not align va frame for zero sized types. * config/i386/i386.c (ix86_gimplify_va_arg): Likewise. * gcc.target/i386/pr24306.c: New testcase. From-SVN: r108854
2005-12-20re PR tree-optimization/25501 (Segfault)Kazu Hirata4-1/+51
gcc/ PR tree-optimization/25501 * tree-cfgcleanup.c (merge_phi_nodes): Check that RESULT is used in the PHI argument corresponding to the edge from BB to DEST. gcc/testsuite/ PR tree-optimization/25501 * testsuite/gcc.dg/tree-ssa/pr25501.c: New. From-SVN: r108853
2005-12-20revert: tree-cfg.c (mark_used_vars): New function.Richard Guenther4-50/+16
2005-12-20 Richard Guenther <rguenther@suse.de> Revert 2005-12-02 Richard Guenther <rguenther@suse.de> * tree-cfg.c (mark_used_vars): New function. (dump_function_to_file): Dump only used VAR_DECLs. * gcc.dg/tree-ssa/20031106-6.c: Remove XFAIL. From-SVN: r108852
2005-12-20re PR c++/21228 (-Wunreachable-code produces spurious warnings for constructor)Mark Mitchell4-14/+62
PR c++/21228 * decl.c (use_eh_spec_block): New function. (store_parm_decls): Use it. (finish_function): Likewise. PR c++/21228 * g++.dg/warn/Wunreachable-code-2.C: New test. From-SVN: r108851
2005-12-20re PR c++/24278 (ICE while trying to print out error)Mark Mitchell4-4/+19
PR c++/24278 * init.c (expand_member_init): Print messages about baseclasses using %T rather than %D. PR c++/24278 * g++.dg/template/ctor5.C: New test. From-SVN: r108840
2005-12-20re PR c++/24915 (Overload errors generated without template instantiations ↵Mark Mitchell4-11/+95
for class member templates) PR c++/24915 * class.c (add_method): Do not treat templates as identical unless their return types are the same. PR c++/24915 * g++.dg/template/overload8.C: New test. From-SVN: r108837
2005-12-20combine.c (try_combine): Improve splitting of binary operators by taking ↵Roger Sayle2-2/+70
advantage of reassociative... * combine.c (try_combine): Improve splitting of binary operators by taking advantage of reassociative transformations. From-SVN: r108834
2005-12-19tree-ssa-dom.c (thread_across_edge): Do not use local_fold.Jeff Law3-3/+50
* tree-ssa-dom.c (thread_across_edge): Do not use local_fold. Strip away all type conversions after simplifying the condition. * tree-cfgcleanup.c (merge_phi_nodes): Allow merging in some cases the forwarder block dominates the destination. From-SVN: r108833
2005-12-19reload1.c (spill_failure): Dump failed reload data to dump file.DJ Delorie2-0/+13
* reload1.c (spill_failure): Dump failed reload data to dump file. (find_reload_regs): Likewise. From-SVN: r108830
2005-12-20Daily bump.GCC Administrator1-1/+1
From-SVN: r108824
2005-12-19re PR tree-optimization/24793 (ICE: expected ssa_name, have var_decl in ↵Zdenek Dvorak3-9/+53
verify_ssa, at tree-ssa.c:746) PR tree-optimization/24793 * tree-ssa-loop-ivopts.c (get_ref_tag): Remember the original reference if there are subvars. * tree-ssa-operands.c (get_tmr_operands): Handle subvars. From-SVN: r108808
2005-12-19df.c (df_analyze_1, [...]): Corrected basic block number calculations for ↵Kenneth Zadeck4-14/+38
changes in entry and exit numbering. 2005-12-19 Kenneth Zadeck <zadeck@naturalbridge.com> * df.c (df_analyze_1, df_analyze_subcfg, iterative_dataflow): Corrected basic block number calculations for changes in entry and exit numbering. 2005-12-19 Kenneth Zadeck <zadeck@naturalbridge.com> * gcc.c-torture/compile/pr25483 : New test. From-SVN: r108805
2005-12-19tree-flow.h (struct var_ann_d): Change type of may_aliases field to ↵Zdenek Dvorak6-52/+68
VEC(tree, gc) *. * tree-flow.h (struct var_ann_d): Change type of may_aliases field to VEC(tree, gc) *. (may_aliases): Declaration changed. * tree-ssa-alias.c (group_aliases, add_may_alias, replace_may_alias, dump_may_aliases_for, is_aliased_with, add_type_alias, new_type_alias): Work with VEC(tree, gc) * instead of varray. * tree-flow-inline.h (may_aliases): Ditto. * tree-ssa.c (verify_flow_insensitive_alias_info, verify_name_tags): Ditto. * tree-ssa-operands.c (add_stmt_operand): Ditto. From-SVN: r108804
2005-12-19Fix previous mis-applied patch.Paul Brook1-10/+10
* config/m68k/m68k.md (m68k_output_function_prologue): Always call dwarf2out_def_cfa. Only add space for frame pointer to cfa_offset when frame_pointer_needed. From-SVN: r108801
2005-12-19re PR c++/20552 (ICE in write_type, at cp/mangle.c:1579)Volker Reichelt2-0/+16
PR c++/20552 * g++.dg/ext/typeof10.C: New test. From-SVN: r108796
2005-12-19re PR rtl-optimization/20070 (If-conversion can't match equivalent code, and ↵J"orn Rennecke2-96/+470
cross-jumping only works for literal matches) * cfgcleanup.c: Temporarily revert patches for PR 20070 till Bernd comes back. From-SVN: r108792
2005-12-19struct-equiv.c (struct_equiv_improve_checkpoint): Fix sets_cc0_p check.J"orn Rennecke2-1/+7
* struct-equiv.c (struct_equiv_improve_checkpoint): Fix sets_cc0_p check. From-SVN: r108791
2005-12-20* doc/install.texi (Configuration): Typo in Fortran subheading.Ben Elliston2-1/+5
From-SVN: r108790
2005-12-19* gcc.dg/mt-loopi1.c: New.Nathan Sidwell2-0/+17
From-SVN: r108788
2005-12-19mt.md (decrement_and_branch_until_zero): Add another scratch.Nathan Sidwell4-60/+73
* config/mt/mt.md (decrement_and_branch_until_zero): Add another scratch. Correct its reload split. Adjust its peephole. (doloop_end): Add additional scratch. (nop): Use 'nop'. * config/mt/mt.c (MT_INT_ARG_FIRST): Remove. (mt_asm_output_opcode, mt_print_operand): Use 'nop'. (mt_function_arg_slotno): Use FIRST_ARG_REGNUM. (mt_builtin_saveregs): Replace with ... (mt_setup_incoming_varargs): ... here. Save just the varadic args. (mt_va_start): Remove. (mt_reorg_hazard): Ignore USE insns. Don't call set_noop_p. (mt_machine_reorg): Split all insns here. (TARGET_SETUP_INCOMING_VARARGS): Override. * config/mt/mt.h (TARGET_CPU_CPP_BUILTINS): Define __mt__ only. Set to CPU type. (EXPAND_BUILTIN_VA_START): Remove. From-SVN: r108787
2005-12-19re PR libfortran/25463 (T edit descriptor and ADVANCE="no")Jerry DeLisle2-0/+17
2005-12-18 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR libgfortran/25463 * gfortran.dg/advance.f90: New test. From-SVN: r108785
2005-12-19Fixed typo in changelog.Kenneth Zadeck1-2/+1
From-SVN: r108778
2005-12-19flow.c (update_life_info, [...]): Fixed latent bug that could happen if ↵Kenneth Zadeck2-13/+29
update_life_info was called with a blocks... 2005-12-17 Kenneth Zadeck <zadeck@naturalbridge.com> * flow.c (update_life_info, count_or_remove_death_notes): Fixed latent bug that could happen if update_life_info was called with a blocks parameter and the call to cleanup_cfg actually deleted one of those blocks. From-SVN: r108777
2005-12-19tree-ssa-structalias.c (update_alias_info): Remove handling of ↵Zdenek Dvorak2-5/+8
may_be_aliased (SSA_NAME_VAR (op)) case. * tree-ssa-structalias.c (update_alias_info): Remove handling of may_be_aliased (SSA_NAME_VAR (op)) case. From-SVN: r108776
2005-12-19Daily bump.GCC Administrator1-1/+1
From-SVN: r108772
2005-12-19tree-flow.h (struct stmt_ann_d): Remove makes_aliased_loads and ↵Zdenek Dvorak6-62/+21
makes_aliased_stores fields. * tree-flow.h (struct stmt_ann_d): Remove makes_aliased_loads and makes_aliased_stores fields. * tree-ssa-ccp.c (likely_value): Do not use makes_aliased_stores and makes_aliased_loads fields. * tree-ssa-dom.c (eliminate_redundant_computations): Do not use makes_aliased_stores. * tree-ssa-operands.c (clobbered_aliased_loads, clobbered_aliased_stores, ro_call_aliased_loads): Removed. (build_ssa_operands, add_stmt_operand, add_call_clobber_ops, add_call_read_ops): Do not set makes_aliased_stores and makes_aliased_loads fields. * tree-ssa.c (verify_ssa): Do not verify makes_aliased_stores field. From-SVN: r108766
2005-12-18darwin.h: Don't include darwin-sections.def to declare global variables...Geoffrey Keating5-89/+120
* config/darwin.h: Don't include darwin-sections.def to declare global variables; instead create darwin_section_enum. (darwin_section_enum): New. (darwin_sections): New. * config/darwin.c: Don't include darwin-sections.def to define global variables. (darwin_sections): New. (output_objc_section_asm_op): Rewrite to take advantage of darwin_sections. (darwin_init_sections): Rewrite to use darwin_sections. (machopic_output_indirection): Update for darwin_sections array. (machopic_select_section): Likewise. (machopic_select_rtx_section): Likewise. (machopic_asm_out_constructor): Likewise. (machopic_asm_out_destructor): Likewise. (darwin_file_end): Likewise. * config/rs6000/rs6000.c (machopic_output_stub): Likewise. * config/i386/i386.c (machopic_output_stub): Likewise. From-SVN: r108765
2005-12-18re PR tree-optimization/25481 (Segfault in tree-ssa-structalias.c)Richard Guenther4-3/+36
2005-12-18 Richard Guenther <rguenther@suse.de> PR tree-optimization/25481 * tree-ssa-structalias.c (handle_ptr_arith): Handle accesses we don't have a varinfo for. * gcc.dg/torture/pr25481.c: New testcase. From-SVN: r108763
2005-12-19optabs.c (init_floating_libfuncs): Handle decimal float modes.Jon Grimm11-12/+114
* optabs.c (init_floating_libfuncs): Handle decimal float modes. (init_optabs): Handle libfuncs for decimal float. * genopinit.c (gen_insn): Handle MODE_DECIMAL_FLOAT. * stor-layout.c (int_mode_for_mode): Likewise. * simplify-rtx.c (simplify_immed_subreg): Likewise. (simplify_unary_operation_1): Skip optimisations for decimal float modes. * varasm.c (output_constant_pool_2): Handle MODE_DECIMAL_FLOAT. * emit-rtl.c (gen_const_vector): Add assertion check. (init_emit_once): Populate const_tiny_rtx with constants in each decimal float mode. * expmed.c (extract_high_half, expand_mult_highpart_optab, expand_mult_highpart): Assert that mode is not a scalar float mode. * expr.c (convert_move): Handle conversion between decimal and binary floats of the same size. * convert.c (convert_to_real): Consider decimal float types when folding. * dwarf2out.c (base_type_die): Use DW_ATE_decimal_float to describe decimal floating point types. Co-Authored-By: Ben Elliston <bje@au.ibm.com> Co-Authored-By: Janis Johnson <janis187@us.ibm.com> From-SVN: r108762
2005-12-18re PR rtl-optimization/21041 (ICE: output_operand: Cannot decompose address)Ulrich Weigand4-1/+55
PR rtl-optimization/21041 * reload.c (find_reloads_subreg_address): Replace paradoxical subreg of MEM by widened access only if the resulting memory is properly aligned, even on !STRICT_ALIGNMENT targets. PR rtl-optimization/21041 * gcc.dg/pr21041.c: New test. From-SVN: r108760
2005-12-18tree-cfg.c (tree_flow_call_edges_add): Check for empty basic blocks.Andreas Krebbel4-1/+35
2005-12-18 Andreas Krebbel <krebbel1@de.ibm.com> * tree-cfg.c (tree_flow_call_edges_add): Check for empty basic blocks. * gcc.dg/20051201-1.c: New test. From-SVN: r108755
2005-12-18re PR fortran/25018 (Segfault with simple expression)Paul Thomas7-79/+84
2005-12-18 Paul Thomas <pault@gcc.gnu.org> PR fortran/25018 *expr.c(check_inquiry): Return FAILURE if there is no symtree to provide a name. Error/warning for assumed character length argument to LEN for an initialization expression, using GFC_GNU_STD. Add an argument to flag that the expression is not restricted. (check_init_expr): Improve the message for a failing variable. (gfc_match_init_expr): Call check_enquiry again to make sure that unsimplified expressions are not causing unnecessary errors. 2005-12-18 Paul Thomas <pault@gcc.gnu.org> PR fortran/25018 *gfortran.dg/initialization_1.f90: New test. *gfortran.dg/enum_5.f90: Change dg-error to new message. *gfortran.dg/g77/980616-0.f: The same. From-SVN: r108753
2005-12-18gcse.c (gcse_main, [...]): Fix non-GNU-isms from the 2005-12-17 patch to ↵Steven Bosscher2-3/+9
renumber the entry and exit blocks. * gcse.c (gcse_main, bypass_jumps): Fix non-GNU-isms from the 2005-12-17 patch to renumber the entry and exit blocks. From-SVN: r108751
2005-12-18* doc/objc.texi (Type encoding): Fix typo.Gabriel Dos Reis2-1/+5
From-SVN: r108749
2005-12-18tree-tailcall.c (find_tail_calls): Use XNEW.Gabriel Dos Reis12-89/+149
* tree-tailcall.c (find_tail_calls): Use XNEW. * tree-ssa-dom.c (allocate_edge_info): Use XCNEW. (free_all_edge_infos): Use explicit cast to convert from void * *. (vrp_free): Likewise. (dom_opt_finalize_block): Likewise. (record_equivalences_from_incoming_edge): Likewise. (thread_across_edge): Likewise. Use XCNEWVEC. (record_cond): Use XCNEW. (record_conditions): Use XNEWVEC. (record_edge_info): Use XCNEWVEC. (lookup_avail_expr): Use XNEW. (record_range): Likewise. Use GGC_NEW. * tree-nested.c (var_map_hash): Use explicit cast to convert * from void *. (var_map_eq): Likewise. (lookup_field_for_decl): Likewise. (convert_nonlocal_reference): Likewise. (convert_local_reference): Likewise. (convert_nl_goto_reference): Likewise. (convert_nl_goto_receiver): Likewise. (convert_call_expr): Likewise. (convert_tramp_reference): Likewise. (lookup_tramp_for_decl): Likewise.Use GGC_NEW. (convert_nl_goto_reference): Likewise. (lookup_field_for_decl): Use GGC_NEW. (create_nesting_tree): Use GGC_CNEW. * tree-ssa-phiopt.c (blocks_in_phiopt_order): Use XNEWVEC. * tree-ssa-alias.c (init_alias_info): Use XCNEW. (create_alias_map_for): Likewise. (setup_pointers_and_addressables): Use XCNEWVEC. (get_ptr_info): Use GGC_NEW. (used_part_map_eq): Use explicit cast to convert from void *. (up_lookup): Likewise. (up_insert): Use XNEW. (get_or_create_used_part_for): Use XCNEW. (get_tmt_for): Likewise. * tree-ssa-operands.c (ssa_operand_alloc): Use GGC_NEW. * tree-ssa-pre.c (phi_trans_add): Use XNEW. (bitmap_set_new): Use explicit cast to convert from void *. (set_new): Likewise. (insert_into_set): Likewise. (pool_copy_list): Likewise. (phi_translate): Likewise. (create_value_expr_from): Likewise. (insert_aux): Use XCNEWVEC. (compute_avail): Use XNEWVEC. * tree-ssa-live.c (calculate_live_on_entry): Likewise. (sort_coalesce_list): Likewise. (build_tree_conflict_graph): Use XCNEWVEC. * tree-ssa-dce.c (tree_dce_init): Use XNEWVEC. * tree-ssa-copy.c (init_copy_prop): Likewise. (fini_copy_prop): Likewise. * tree-ssa-uncprop.c (associate_equivalences_with_edges): Use * XNEW and XCNEWVEC. (record_equiv): Use XNEW. (uncprop_into_successor_phis): Use explicit cast to convert * from void *. (uncprop_initialize_block): Likewise. From-SVN: r108747
2005-12-18re PR tree-optimization/24378 (gcc.dg/vect/pr24300.c (test for excess ↵Dorit Nuzman2-0/+38
errors) fails) PR tree-optimization/24378 * tree-vect-transform.c (vect_transform_loop): Create single-predecessor basic-block after loop-versioning. From-SVN: r108746
2005-12-18tree-ssa-dom.c (simplify_switch_and_lookup_avail_expr): Code to simplify ↵Jeff Law3-65/+68
SWITCH_EXPR_CODE moved from here to ... * tree-ssa-dom.c (simplify_switch_and_lookup_avail_expr): Code to simplify SWITCH_EXPR_CODE moved from here to ... * tree-ssa-forwprop.c (simplify_switch_expr): Here. (tree-ssa-forward_propagate_single_use_vars): Call simplify_switch_expr when appropriate. From-SVN: r108738
2005-12-17objc.texi (Type encoding): Add documentation about encoding complex types ↵Andrew Pinski2-0/+9
and _Bool. 2005-12-17 Andrew Pinski <pinskia@physics.uc.edu> * doc/objc.texi (Type encoding): Add documentation about encoding complex types and _Bool. From-SVN: r108737
2005-12-18tree-vn.c (vn_add): Use XNEW.Gabriel Dos Reis12-53/+111
* tree-vn.c (vn_add): Use XNEW. * tree-ssa-ccp.c (ccp_initialize): Use XNEWVEC. (ccp_fold): Likewise. (fold_stmt_r): Use explicit cast to convert from void *. * tree-outof-ssa.c (new_temp_expr_table): Use XCNEWVEC. (new_temp_expr_table): Likewise. * gimplify.c (lookup_tmp_var): Use XNEW. (gimplify_asm_expr): Use explcit cast to convert from void *. * tree-into-ssa.c (get_ssa_name_ann): Likewise. (get_def_blocks_for): Use XNEW. (add_to_repl_tbl): Likewise. (mark_def_sites): Use explicit cast to convert from void *. (def_blocks_free): Likewise. (mark_def_sites_initialize_block): Likewise. (update_ssa): Use XNEWVEC. * tree-dfa.c (create_var_ann): Use GGC_NEW. (create_stmt_ann): Likewise. (create_tree_ann): Likewise. (referenced_var_insert): Likewise. (set_default_def): Likewise. (referenced_var_lookup_if_exists): Use explicit cast to * convert from void *. (referenced_var_lookup): Likewise. (default_def): Likewise. (set_default_def): Likewise. * tree-cfg.c (create_bb): Likewise. (edge_to_cases_cleanup): Likewise. (verify_node_sharing): Likewise. (record_switch_edge): Use XNEW. (cleanup_dead_labels): Use XCNEWVEC. (tree_duplicate_sese_region): Use XNEWVEC. * tree-scalar-evolution.c (get_instantiated_value): Likewise. * tree-ssa.c (verify_ssa): Use XCNEWVEC. (int_tree_map_eq): Use explicit cast to convert from void *. * libgcov.c (gcov_exit): Use explicit cast to convert from * void *. (__gcov_execl): Likewise. (__gcov_execlp): Likewise. (__gcov_execle): Likewise. * tree-eh.c (struct_ptr_eq): Likewise. (struct_ptr_hash): Likewise. (lookup_stmt_eh_region_fn): Likewise. (outside_finally_tree): Likewise. (find_goto_replacement): Likewise. (make_eh_edge): Likewise. (mark_eh_edge): Likewise. (add_stmt_to_eh_region_fn): Use GGC_NEW. (record_in_finally_tree): Use XNEW. (maybe_record_in_goto_queue): Use XRESIZEVEC. (lower_try_finally_copy): Use XCNEWVEC. From-SVN: r108736
2005-12-18Daily bump.GCC Administrator1-1/+1
From-SVN: r108733
2005-12-17m68k.md (m68k_output_function_prologue): Always call dwarf2out_def_cfa.Paul Brook2-15/+23
2005-12-17 Paul Brook <paul@codesourcery.com> * config/m68k/m68k.md (m68k_output_function_prologue): Always call dwarf2out_def_cfa. Only add space for frame pointer to cfa_offset when frame_pointer_needed. From-SVN: r108725
2005-12-17tree-inline.c (copy_body_r): Use explicit cast when converting from void *.Gabriel Dos Reis17-49/+110
* tree-inline.c (copy_body_r): Use explicit cast when converting from void *. (copy_bb): Likewise. (copy_edges_for_bb): Likewise. (remap_decl_1): Likewise. (estimate_num_insns_1): Likewise. * cgraph.c (hash_node): Use explicit cast when converting from void *. (eq_node): Likewise. (cgraph_create_node): Use GGC_CNEW. (cgraph_create_edge): Use GGC_NEW. (cgraph_remove_node): Use explicit cast when converting from void *. (hash_varpool_node): Likewise. (eq_varpool_node): Likewise. (cgraph_varpool_node): Use GGC_CNEW. * lambda.h (lambda_vector_new): Use GGC_CNEWVEC. * tree-scalar-evolution.c (new_scev_info_str): Use XNEW. (eq_scev_info): Use explicit cast when converting from void *. (find_var_scev_info): Likewise. (set_instantiated_value): Likewise. (gather_stats_on_scev_database_1): Likewise. * cfgloop.h (simple_loop_desc): Use explicit cast when converting from void *. * c-pch.c (c_common_write_pch): Use XNEWVEC. (c_common_read_pch): Likewise. * prefix.c (save_string): Use XNEWVEC. (translate_name): Use explicit cast when converting from void *. * c-ppoutput.c (print_line): Use explicit cast when converting from void *. (pp_dir_change): Likewise. * c-cppbuiltin.c (builtin_define_std): Likewise. (builtin_define_with_value): Likewise. (builtin_define_with_value_n): Likewise. (builtin_define_with_int_value): Likewise. (builtin_define_type_max): Likewise. * c-incpath.c (add_env_var_paths): Use XNEWVEC. (add_path): Use XNEW. * c-format.c (check_format_info_main): Use GGC_NEW. (format_type_warning): Use explicit cast when converting from void *. * c-typeck.c (alloc_tagged_tu_seen_cache): Use XNEW instead of xmalloc. (start_init): Likewise. * tree-flow-inline.h (first_referenced_var): Use explicit cast when converting from void *. (next_referenced_var): Likewise. * c-pragma.c (push_alignment): Use GGC_NEW instead of ggc_alloc. * gensupport.c (lookup_predicate): Use explicit cast to convert from void *. (init_predicate_table): Use XCNEW instead of xcalloc. * genpreds.c (process_define_predicate): Likewise. From-SVN: r108723
2005-12-17re PR fortran/25458 ([4.1] Kind of constants in generic intrinsics)Steven G. Kargl4-0/+43
PR fortran/25458 * simplify.c (gfc_simplify_ibset, gfc_simplify_not): Add call to twos_complement. * gfortran.dg/chkbits.f90: New test. Co-Authored-By: Tobias Schlüter <tobias.schlueter@physik.uni-muenchen.de> From-SVN: r108720
2005-12-17* Revert accidental commit to enum_5.f90.Steven G. Kargl2-1/+5
From-SVN: r108716
2005-12-17decl.c (gfc_match_old_kind_spec,match_type_spec): Use gfc_std_notify to ↵Steven G. Kargl66-396/+483
report nonstandard intrinsic type declarations. 2005-12-17 Steven G. Kargl <kargls@comcast.net> * decl.c (gfc_match_old_kind_spec,match_type_spec): Use gfc_std_notify to report nonstandard intrinsic type declarations. * gfortran.dg/imag_1.f: Fix nonstandard type declarations. * gfortran.dg/nested_modules_1.f90: Ditto. * gfortran.dg/hollerith_f95.f90: Ditto. * gfortran.dg/select_5.f90: Ditto. * gfortran.dg/secnds.f: Ditto. * gfortran.dg/hollerith2.f90: Ditto. * gfortran.dg/imag_2.f: Ditto. * gfortran.dg/ftell_2.f90: Ditto. * gfortran.dg/malloc_free_1.f90: Ditto. * gfortran.dg/logint-1.f: Ditto. * gfortran.dg/recursive_statement_functions.f90: Ditto. * gfortran.dg/e_d_fmt.f90: Ditto. * gfortran.dg/hollerith_legacy.f90: Ditto. * gfortran.dg/logint-2.f: Ditto. * gfortran.dg/enum_5.f90: Ditto. * gfortran.dg/f2c_2.f90: Ditto. * gfortran.dg/pr17143.f90: Ditto. * gfortran.dg/namelist_14.f90: Ditto. * gfortran.dg/logint-3.f: Ditto. * gfortran.dg/spread_scalar_source.f90: Ditto. * gfortran.dg/fmt_read_bz_bn.f90: Ditto. * gfortran.dg/namelist_11.f: Ditto. * gfortran.dg/g77/intrinsic-unix-bessel.f: Ditto. * gfortran.dg/g77/20010519-1.f * gfortran.dg/g77/alpha1.f: Ditto. * gfortran.dg/g77/990115-1.f: Ditto. * gfortran.dg/g77/erfc.f: Ditto. * gfortran.dg/g77/19990313-3.f: Ditto. * gfortran.dg/g77/f90-intrinsic-numeric.f: Ditto. * gfortran.dg/g77/20010426.f: Ditto. * gfortran.dg/g77/19990313-0.f: Ditto. * gfortran.dg/g77/f90-intrinsic-mathematical.f: Ditto. * gfortran.dg/g77/20000629-1.f: Ditto. * gfortran.dg/g77/970125-0.f: Ditto. * gfortran.dg/g77/8485.f: Ditto. * gfortran.dg/g77/f90-intrinsic-bit.f: Ditto. * gfortran.dg/g77/19990313-1.f: Ditto. * gfortran.dg/g77/int8421.f: Ditto. * gfortran.dg/g77/19990305-0.f: Ditto. * gfortran.dg/g77/947.f: Ditto. * gfortran.dg/g77/19990905-2.f: Ditto. * gfortran.dg/g77/cabs.f: Ditto. * gfortran.dg/g77/19990313-2.f: Ditto. * gfortran.dg/g77/20020307-1.f: Ditto. * gfortran.dg/g77/dcomplex.f: Ditto. * gfortran.dg/g77/19990502-1.f: Ditto. * gfortran.dg/g77/19981216-0.f: Ditto. * gfortran.dg/common_4.f90: Ditto. * gfortran.dg/entry_4.f90: Ditto. * gfortran.dg/equiv_constraint_2.f90: Ditto. * gfortran.dg/g77_intrinsics_funcs.f: Ditto. * gfortran.dg/namelist_12.f: Ditto. * gfortran.dg/scale_1.f90: Ditto. * gfortran.dg/modulo_1.f90 * gfortran.dg/hollerith.f90: Ditto. * gfortran.dg/direct_io_3.f90: Ditto. * gfortran.dg/ftell_1.f90: Ditto.: Ditto. * gfortran.dg/gnu_logical_1.F: Ditto. * gfortran.dg/unf_io_convert_1.f90: Ditto. * gfortran.dg/assign_1.f90: Ditto. * gfortran.dg/g77_intrinsics_sub.f: Ditto. * gfortran.dg/pr23095.f: Ditto. * gfortran.dg/read_float_1.f90: Ditto. From-SVN: r108715