summaryrefslogtreecommitdiffstats
path: root/gcc
Commit message (Collapse)AuthorAgeFilesLines
* * config/cris/cris.h (EXTRA_CONSTRAINT_T): Remove FIXME andhp2005-05-172-8/+10
| | | | | | | | tests for noncanonical versions of reg+constant and reg+reg*{1,2,4}. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99803 138bc75d-0d04-0410-961f-82ee72b054a4
* PR tree-opt/21399rth2005-05-167-13/+48
| | | | | | | | | | | | | | * tree-eh.c (maybe_clean_or_replace_eh_stmt): Rename from maybe_clean_eh_stmt; take old stmt parameter. Update EH region data structure to match replacement. * tree-flow.h: Update to match. * tree-ssa-ccp.c (execute_fold_all_builtins): Likewise. * tree-ssa-dom.c (optimize_stmt): Likewise. * tree-ssa-pre.c (eliminate): Likewise. * tree-ssa-propagate.c (substitute_and_fold): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99801 138bc75d-0d04-0410-961f-82ee72b054a4
* * decl.c (build_library_fn_1): Move setting TREE_NOTHROW ...rth2005-05-162-2/+8
| | | | | | | (build_library_fn): ... here. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99800 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc.dg/compat/generate-random.c (config.h): Do not include.mmitchel2005-05-165-52/+240
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (limits.h): Include unconditionally. (stdlib.h): Likewise. * gcc.dg/compat/generate-random_r.c (config.h): Do not include. (limits.h): Include unconditionally. (stdlib.h): Likewise. * gcc.dg/compat/struct-layout-1.exp: Do not link with libiberty. * gcc.dg/compat/struct-layout-1_generate.c (config.h): Do not include. (limits.h): Include unconditionally. (stdlib.h): Likewise. (hashtab.h): Do not include. (getopt.h): Likewise. (stddef.h): Include. (hashval_t): Define. (struct entry): Add "next" field. (HASH_SIZE): New macro. (hash_table): New variable. (switchfiles): Do not use xmalloc. (mix): New macro. (iterative_hash): New function. (hasht): Remove. (e_exists): New function. (e_insert): Likewise. (output): Use, instead of libiberty hashtable functions. (main): Do not use getopt. Do not call htab_create. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99799 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-05-16 Caroline Tice <ctice@apple.com>ctice2005-05-165-37/+45
| | | | | | | | | | | | | | | | | | * bb-reorder.c (verify_hot_cold_block_grouping): Replace internal_error with gcc_assert. * dwarf2out.c (dwarf2out_switch_text_section): Likewise. * function.h (struct function): Remove space between "*" and struct field names. * varasm.c (initialize_cold_section_name): Add gcc_assert; modify to use alloca. (unlikely_text_section): Add check for flag_function_sections. (assemble_start_function): Move call to resolve_section, so it comes before first call to unlikely_text_section. (assemble_end_function): Add test and call to function_section if appropriate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99796 138bc75d-0d04-0410-961f-82ee72b054a4
* * c-common.c (c_common_truthvalue_conversion): Use fold_build2sayle2005-05-162-6/+12
| | | | | | | | instead of build_binary_op when performing code transformations to avoid error messages about constructs not it the user's code. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99791 138bc75d-0d04-0410-961f-82ee72b054a4
* * tree-ssa-pre.c: Fix a comment typo.kazu2005-05-162-1/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99787 138bc75d-0d04-0410-961f-82ee72b054a4
* PR target/21556rth2005-05-162-18/+27
| | | | | | | | | | | * config/ia64/ia64.md (load_dtpmod, load_ltoff_dtpmod, load_dtprel, load_dtprel64, load_dtprel22, load_dtprel_gd, load_ltoff_dtprel, add_dtprel, add_dtprel14, add_dtprel22, load_tprel, load_tprel64, load_tprel22, load_tprel_ie, load_ltoff_tprel, add_tprel, add_tprel14, add_tprel22): Remove mode from symbolic operand. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99785 138bc75d-0d04-0410-961f-82ee72b054a4
* * optc-gen.awk: Include intl.h after the externally-provided files.rsandifo2005-05-162-1/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99783 138bc75d-0d04-0410-961f-82ee72b054a4
* * tree-ssa-copy.c (copy_prop_visit_assignment): Clean up bykazu2005-05-162-33/+22
| | | | | | | folding a COND_EXPR_COND in a nondestructive manner. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99782 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix vec_merge patterns for Altivec ppc.fjahanian2005-05-163-33/+696
| | | | | | | OKed by Geoff Keating. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99779 138bc75d-0d04-0410-961f-82ee72b054a4
* * tree-data-ref.c (compute_all_dependences): Change the typekazu2005-05-162-7/+16
| | | | | | | | | of dependence_relations to VEC(ddr_p,heap)**. (compute_data_dependences_for_loop): Change the type of allrelations to VEC(ddr_p,heap)*. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99778 138bc75d-0d04-0410-961f-82ee72b054a4
* * dwarf2out.c (used_rtx_varray): Rename to used_rtx_array.kazu2005-05-162-5/+15
| | | | | | | | | Change the type to VEC(rtx,gc)*. (mem_loc_descriptor, add_const_value_attributes, dwarf2out_init): Adjust uses of used_rtx_varray. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99777 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in (options.c): Tell optc-gen.awk to include config.h,rsandifo2005-05-166-7/+46
| | | | | | | | | | | | | system.h, coretypes.h and tm.h. (options.o): Update dependencies accordingly. * optc-gen.awk: Allow header_name to be a list of filenames. Handle the "Condition" flag. * opts.h (CL_DISABLED): New flag. * opts.c (handle_option): Print an error for CL_DISABLED options. * doc/options.texi: Document the "Condition" option flag. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99774 138bc75d-0d04-0410-961f-82ee72b054a4
* PR ada/20270neroden2005-05-162-1/+8
| | | | | | | * Makefile.in: Make TGT_LIB behave correctly. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99773 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-05-16 Paolo Bonzini <bonzini@gnu.org>bonzini2005-05-162-0/+5
| | | | | | | * tree-inline.c (estimate_num_insns_1): Handle VEC_COND_EXPR. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99767 138bc75d-0d04-0410-961f-82ee72b054a4
* * tree-scalar-evolution.c (set_nb_iterations_in_loop): Onlysayle2005-05-163-4/+14
| | | | | | | | | check for TREE_OVERFLOW on INTEGER_CST trees. * tree-chrec.c (chrec_convert): Only clear TREE_OVERFLOW on CONSTANT_CLASS_P tree nodes. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99765 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-05-15 H.J. Lu <hongjiu.lu@intel.com>hjl2005-05-162-0/+7
| | | | | | | | PR target/21551 * config/ia64/ia64.c (ia64_expand_move): Don't add addend twice. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99760 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-05-15 Daniel Berlin <dberlin@dberlin.org>dberlin2005-05-169-20/+419
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix PR tree-optimization/21576 * tree-ssa-pre.c (expression_node_pool): New pool. (comparison_node_pool): Ditto. (list_node_pool): Ditto. (pool_copy_list): New function. (phi_translate): Handle CALL_EXPR. (valid_in_set): Ditto. (create_expression_by_pieces): Ditto. (insert_into_preds_of_block): Ditto. (insert_aux): Ditto. (compute_avail): Ditto. (create_value_expr_from): Handle TREE_LIST and CALL_EXPR. (can_value_number_call): New function. (find_leader): Update comment. (init_pre): Create new pools. (fini_pre): Free new pools. (pass_pre): Add TODO_update_ssa for the future when we are going to need vops. * tree-vn.c (expressions_equal_p): Handle TREE_LIST. (set_value_handle): Ditto. (get_value_handle): Ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99759 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-05-16 David Billinghurst <David.Billinghurst@riotinto.com>billingd2005-05-162-2/+14
| | | | | | | | | | PR libstdc++/21526 * lib/target-supports.exp (check_mkfifo_available): Return 0 for cygwin as mkfifo support incomplete on platform. Fix typos in comments. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99757 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2005-05-161-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99755 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix another typommitchel2005-05-151-0/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99750 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix typo in previous checkinmmitchel2005-05-151-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99749 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix typo in previous checkinmmitchel2005-05-151-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99748 138bc75d-0d04-0410-961f-82ee72b054a4
* * lib/compat.exp (compat-execute): Do not use regsub unsafely.mmitchel2005-05-152-2/+15
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99747 138bc75d-0d04-0410-961f-82ee72b054a4
* * jcf-write.c (generate_bytecode_insns) <SAVE_EXPR>: Removegerald2005-05-152-1/+5
| | | | | | | unused variable. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99745 138bc75d-0d04-0410-961f-82ee72b054a4
* reverted erroneous checkintromey2005-05-151-1/+0
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99742 138bc75d-0d04-0410-961f-82ee72b054a4
* * arm.c (thumb_unexpanded_epilogue): Delete unused variable 'mode'.rearnsha2005-05-152-1/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99741 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/java:tromey2005-05-153-1/+7
| | | | | | | | | | | | | PR java/21519: * jcf-write.c (generate_bytecode_insns) <SAVE_EXPR>: Don't call NOTE_PUSH. libjava: PR java/21519: * testsuite/libjava.compile/pr21519.java: New file. * testsuite/libjava.compile/pr21519.no-link: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99739 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc.c (pfatal_pexecute): Remove unused local function.aj2005-05-152-25/+10
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99732 138bc75d-0d04-0410-961f-82ee72b054a4
* As discussed on ML, test is no longer usefuldberlin2005-05-151-19/+0
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99731 138bc75d-0d04-0410-961f-82ee72b054a4
* * opth-gen.awk: Remove excess indentation.rsandifo2005-05-152-8/+9
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99715 138bc75d-0d04-0410-961f-82ee72b054a4
* * optc-gen.awk: Remove excess indentation.rsandifo2005-05-152-36/+40
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99714 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-05-15 Feng Wang <fengwang@nudt.edu.cn>fengwang2005-05-155-2/+28
| | | | | | | | | | | | | | | | | | Jerry DeLisle <jvdelisle@verizon.net> PR fortran/17432 * trans-stmt.c (gfc_trans_label_assign): fix pointer type, to resolve ICE on assign of format label. * trans-io.c (set_string): add fold-convert to properly handle assigned format label in write. 2005-05-15 Jerry DeLisle <jvdelisle@verizon.net> PR fortran/17432 * gfortran.dg/assign_4.f: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99711 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/sh/sh.c (sh_output_mi_thunk): Check cfun->cfg insteadkkojima2005-05-152-2/+15
| | | | | | | | of basic_block_info. Call init_flow and find_basic_blocks before dbr_schedule if needed. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99710 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2005-05-151-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99708 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/kazu2005-05-144-0/+30
| | | | | | | | | | | | | | PR tree-optimization/21563 * tree-vrp.c (compare_value): Return boolean_false_node when SSA_NAME in "if (SSA_NAME == CST)" is strictly smaller than or strictly larger than CST. testsuite/ PR tree-optimization/21563 * gcc.dg/tree-ssa/pr21563.c: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99705 138bc75d-0d04-0410-961f-82ee72b054a4
* * tree-optimize.c (init_tree_optimization_passes): Movekazu2005-05-142-2/+6
| | | | | | | pass_cd_dce in place of the last pass_dce. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99704 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/vax/vax.c: (print_operand_address) Use gcc_unreachable() anddanglin2005-05-143-31/+34
| | | | | | | | | | gcc_assert(). (rev_cond_name) Likewise. (vax_float_literal) Likewise. * config/vax/vax.md: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99703 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/vax/vax.md: define_constant VAXens AP, FP, SP and PCdanglin2005-05-143-14/+22
| | | | | | | | registers and use them (specifically the stack pointer). * config/vax/vax.h: Use above defines right here. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99702 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/vax/vax.c: (override_options) Remove 'register' keyword.danglin2005-05-144-58/+68
| | | | | | | | | | | | (split_quadword_operands) Likewise. (rev_cond_name) Likewise. (vax_float_literal) Likewise. (vax_rtx_costs) Remove trailing whitespace. * config/vax/vax.h: Remove 'register' keyword. Misc. whitespace fixes, mostly removal of trailing spaces... * config/vax/vax-modes.def: Remove trailing whitespace. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99701 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/vax/elf.h: Update whitespace.danglin2005-05-142-17/+22
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99700 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-05-14 Richard Guenther <rguenth@gcc.gnu.org>rguenth2005-05-142-1/+8
| | | | | | | | | | Revert 2005-05-11 Richard Guenther <rguenth@gcc.gnu.org> * fold-const.c (fold_indirect_ref_1): Avoid removing NOP_EXPRs with type qualifiers like const. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99699 138bc75d-0d04-0410-961f-82ee72b054a4
* Patch by Richard Henderson:hubicka2005-05-142-4/+19
| | | | | | | | * tree-eh.c (tree_can_throw_internal, tree_can_throw_external): Handle RESX expressions properly. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99698 138bc75d-0d04-0410-961f-82ee72b054a4
* * tree-eh.c (record_stmt_eh_region): Use add_stmt_to_eh_region.hubicka2005-05-142-22/+17
| | | | | | | | (add_stmt_to_eh_region_fn): Nest into CALL_EXPR. (remove_stmt_from_eh_region_fn): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99697 138bc75d-0d04-0410-961f-82ee72b054a4
* * tree-cfg.c (execute_warn_function_return): Break out noreturnhubicka2005-05-146-10/+50
| | | | | | | | | | | | | warning too.. (execute_warn_function_noreturn): ... here. (pass_warn_function_noreturn): New pass. * tree-pass.h (pass_warn_function_noreturn): Declare * tree-optimize.c (init_tree_optimization_passes): Move return warnings early and add noreturn warnings at place of previous return warnings. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99696 138bc75d-0d04-0410-961f-82ee72b054a4
* * tree-ssa-live.c (tpa_init, tpa_delete, tpa_compact,kazu2005-05-143-10/+20
| | | | | | | | | | root_var_init, type_var_init): Use VEC instead of VARRAY. * tree-ssa-live.h (tree_partition_associator_d): Change the type of trees to VEC(tree,heap)*. (tpa_tree): Use VEC instead of VARRAY. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99695 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-05-14 Richard Guenther <rguenth@gcc.gnu.org>rguenth2005-05-144-8/+65
| | | | | | | | | | * fold-const.c (div_if_zero_remainder): New function. (try_move_mult_to_index): Use it. * g++.dg/tree-ssa/tmmti-2.C: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99694 138bc75d-0d04-0410-961f-82ee72b054a4
* * tree-eh.c (leh_tf_state): Change the type of dest_array tokazu2005-05-142-19/+19
| | | | | | | | | | VEC(tree,heap)*. (maybe_record_in_goto_queue, lower_try_finally_onedest, lower_try_finally_copy, lower_try_finally_switch, lower_try_finally): Use VEC instead of VARRAY. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99693 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/cris/cris.h (Node: Register Classes): Remove obsoletedhp2005-05-142-69/+6
| | | | | | | | comment regarding defined register classes. (LEGITIMIZE_RELOAD_ADDRESS): Do not define. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99692 138bc75d-0d04-0410-961f-82ee72b054a4
OpenPOWER on IntegriCloud