aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2004-10-29bitmap.h (bitmap_empty_p): New.Nathan Sidwell21-95/+124
* bitmap.h (bitmap_empty_p): New. (bitmap_and, bitmap_and_into, bitmap_and_compl, bitmap_and_compl_into, bitmap_ior, bitmap_ior_into, bitmap_ior_compl, bitmap_xor, bitmap_xor_into): New bitmap operation macros. (bitmap_ior_and_compl): Rename to ... (bitmap_ior_and_compl_into): ... here. * bitmap.c (bitmap_equal_p): Use bitmap_xor. (bitmap_ior_and_compl): Rename to ... (bitmap_ior_and_compl_into): ... here. Adjust. Return changed flag. (bitmap_union_of_diff): Use renamed bitmap functions. * basic-block.h (AND_REG_SET, AND_COMPL_REG_SET, IOR_REG_SET, XOR_REG_SET, IOR_AND_COMPL_REG_SET): Likewise. * cfgrtl.c (safe_insert_insn_on_edge): Likewise. * df.c (df_bb_rd_local_compute) * flow.c (calculate_global_regs_live, init_propagate_block_info): Likewise. * ifcvt.c (find_if_case_1, find_if_case_2, dead_or_predicable): Likewise. * ra-build.c (union_web_part_roots, livethrough_conflicts_bb, reset_conflicts, conflicts_between_webs): Likewise. * ra-rewrite.c (reloads_to_loads, rewrite_program2, detect_web_parts_to_rebuild): Likewise. * sched-ebb.c (compute_jump_reg_dependencies): Likewise. * tree-int-ssa.c (insert_phi_nodes_for, rewrite_into_ssa): Likewise. * tree-sra.c (decide_instantiations): Likewise. * tree-ssa-alias.c (create_name_tags, merge_pointed_to_info): Likewise. * tree-ssa-dom.c (tree_ssa_dominator_optimize): Likewise. * tree-ssa-loop-im.c (move_computations): Likewise. * tree-ssa-operands.c (get_call_expr_operands): Likewise. * tree-ssa-pre.c (fini_pre): Likewise. * tree-ssa.c (verify_flow_sensitive_alias_info): Likewise. * tree-ssanames.c (any_marked_for_rewrite_p): Likewise. * tree-vectorizer.c (vectorize_loops): Likewise. From-SVN: r89827
2004-10-29typeck.c (composite_pointer_type): Remove comment about DR 195.Nathan Sidwell7-29/+71
cp: * typeck.c (composite_pointer_type): Remove comment about DR 195. (build_reinterpret_cast_1): Revert DR195 patch. Only emit a warning when being pedantic. (build_reinterpet_cast, build_c_cast): Adjust. testsuite: * g++.dg/conversion/dr195.C: Adjust expected errors for DR195 not being implemented. * g++.dg/conversion/dr195-1.C: New. * g++.old-deja/g++.brendan/operators4.C: Don't be pedantic. * g++.old-deja/g++.mike/p10148.C: Likewise. From-SVN: r89826
2004-10-29re PR c++/17695 (ICE in add_abstract_origin_attribute)Mark Mitchell4-0/+31
PR c++/17695 * decl.c (grokdeclarator): Mark TYPE_DECLs as abstract when they appear in a constructor/destructor that will be cloned. PR c++/17695 * g++.dg/debug/typedef2.C: New test. From-SVN: r89819
2004-10-29(CONDITIONAL_REGISTER_USAGE): When adding the PIC register to the fixed_regs ↵Nick Clifton2-1/+8
array... (CONDITIONAL_REGISTER_USAGE): When adding the PIC register to the fixed_regs array, also add it to the call_used_regs array. From-SVN: r89818
2004-10-29re PR fortran/13490 (Compiler rejects valid constant -2147483648 for 32-bit int)David Billinghurst3-3/+9
2004-10-29 David Billinghurst <David.Billinghurst@riotinto.com> PR fortran/13490 * gfortran.dg/g77/20030326-1.f: Change xfail on error to warning. * gfortran.dg/g77/README: Update. From-SVN: r89806
2004-10-29gthr-posix.h (__gthread_recursive_mutex_init_function): Guard with #ifdef ↵Eric Botcazou2-2/+9
PTHREAD_MUTEX_RECURSIVE/#endif pairs. * gthr-posix.h (__gthread_recursive_mutex_init_function): Guard with #ifdef PTHREAD_MUTEX_RECURSIVE/#endif pairs. From-SVN: r89805
2004-10-29tree-into-ssa.c (rewrite_virtual_phi_arguments): New function.Daniel Berlin2-10/+59
2004-10-28 Daniel Berlin <dberlin@dberlin.org> * tree-into-ssa.c (rewrite_virtual_phi_arguments): New function. (rewrite_blocks): Modify argument, and use it to decide which function to call. (rewrite_def_def_chains): Call rewrite_blocks with true here. (rewrite_into_ssa): and call it with false here. From-SVN: r89802
2004-10-29c++/14124Matt Austern5-2/+48
* decl.c (finish_enum): Handle packed attribute. * parser.c (cp_parser_enum_specifier): Process trailing attributes. * g++.dg/ext/packed7.C: New test. From-SVN: r89801
2004-10-29tree-phinodes.c (add_phi_arg): Turn an "if" that always triggers into ↵Kazu Hirata2-27/+31
gcc_assert. * tree-phinodes.c (add_phi_arg): Turn an "if" that always triggers into gcc_assert. From-SVN: r89800
2004-10-29Daily bump.GCC Administrator1-1/+1
[[Split portion of a mixed commit.]] From-SVN: r89797.2
2004-10-28revert acidently committed change for gcc.dg/visibility-b.c.Andrew Pinski1-3/+1
From-SVN: r89794
2004-10-28visibility-[1-9a].c: Change to use scan-hidden instead of scan-assembler.Andrew Pinski14-13/+47
2004-10-28 Andrew Pinski <pinskia@physics.uc.edu> * gcc.dg/visibility-[1-9a].c: Change to use scan-hidden instead of scan-assembler. * lib/scanasm.exp (hidden-scan-for): New proc. (scan-hidden): Use hidden-scan-for instead of constructing the scan string. (scan-not-hidden): Likewise. * lib/target-supports.exp (check_visibility_available): mach-o is support too. From-SVN: r89793
2004-10-28re PR tree-optimization/16728 (std::set tests for allocator/insert core in ↵Diego Novillo4-4/+28
make check-performance) PR tree-optimization/16728 * tree-flow.h (get_ptr_info): Declare. * tree-ssa-alias.c (get_ptr_info): Make extern. * tree-ssa-copy.c (merge_alias_info): Merge flow-sensitive alias information. From-SVN: r89792
2004-10-28darwin.h (SUBTARGET_EXTRA_SPECS): Handle -m64.Stan Shebs3-1/+8
* config/rs6000/darwin.h (SUBTARGET_EXTRA_SPECS): Handle -m64. * config/rs6000/rs6000.c (rs6000_darwin_file_start): Add ppc64 case. From-SVN: r89791
2004-10-28Fix for PR fortran/13490, PR fortran/17912Scott Robert Ladd1-0/+11
From-SVN: r89790
2004-10-28Added pedantic_min_int to gfc_integer_info Added ARITH_ASYMMETRIC to arith...Scott Robert Ladd2-11/+74
Added pedantic_min_int to gfc_integer_info Added ARITH_ASYMMETRIC to arith Added support for an "asymmetric integer" warning when compiling with pedantic Set minimum integer values to reflect realities of two's complement signed integers From-SVN: r89785
2004-10-28tree-mudflap.c (mudflap_init): Mark cache-lookup decls to prevent their ↵Frank Ch. Eigler2-169/+170
later unnecessary registration. 2004-10-28 Frank Ch. Eigler <fche@redhat.com> * tree-mudflap.c (mudflap_init): Mark cache-lookup decls to prevent their later unnecessary registration. (mf_build_check_statement_for): Remove "addr" argument, and related "__mf_value" generated code. Update callers. (mf_decl_eligible_p): New function, factored from mx_register_decls. (mx_register_decls): Call it. (mf_xform_derefs_1): Rewrite COMPONENT_REF and ARRAY_REF cases to restore support for complex nested expressions. (mudflap_enqueue_decl): Simplify. Move registration call emission out ... (mudflap_finish_file): ... to here. (mudflap_enqueue_constant): Remove dump code. From-SVN: r89784
2004-10-28re PR debug/18199 (AIX XCOFF debugging broken)Zack Weinberg3-33/+63
PR 18199 * dbxout.c (dbxout_begin_complex_stabs_noforcetext): New function. (DBX_FINISH_STABS): Add (unused by default) SYM parameter. (dbxout_finish_complex_stabs): Update to match. (dbxout_symbol_location): Call emit_pending_bincls_if_required and FORCE_TEXT before DBX_STATIC_BLOCK_START. Use dbxout_begin_complex_stabs_noforcetext. * xcoffout.h (DBX_FINISH_STABS): Restore special case for N_GSYM, using new SYM parameter. Correct logic for special cases for N_FUN. From-SVN: r89781
2004-10-28re PR c++/17132 (GCC fails to eliminate function template specialization ↵Mark Mitchell4-2/+67
when argument deduction fails) PR c++/17132 * pt.c (instantiate_class_template): Increment processing_template_decl when substituting into a member class template. PR c++/17132 * g++.dg/template/memclass3.C: New test. From-SVN: r89778
2004-10-28varasm.c (function_section): If DECL is NULL_TREE, don't try to do anything ↵Zack Weinberg2-21/+35
else. * varasm.c (function_section): If DECL is NULL_TREE, don't try to do anything else. Do not call get_insns if cfun or cfun->emit are NULL. From-SVN: r89777
2004-10-28re PR middle-end/18160 (ICE on taking register variable address)Adam Nemet4-2/+38
PR middle-end/18160 * gcc.dg/register-var-1.c: New test. * gcc.dg/register-var-2.c: New test. * gcc.dg/asm-7.c: Taking the address of a register variable is an error now. From-SVN: r89773
2004-10-28re PR middle-end/18160 (ICE on taking register variable address)Adam Nemet2-14/+15
PR middle-end/18160 * c-typeck.c (c_mark_addressable): Issue error if address of a register variable is taken. Use "%qD" to print DECL_NAME. From-SVN: r89772
2004-10-28re PR other/18172 (execution failure in vect-[20,22].c on ppc-linux)Dorit Naishlos3-61/+11
PR other/18172 * gcc.dg/vect/vect-20.c: Use 'signed char' instaed of 'char'. Remove unused variables. * gcc.dg/vect/vect-22.c: Likewise. From-SVN: r89771
2004-10-28* opts.c (decode_options): Don't run PRE at -Os.Diego Novillo2-1/+7
From-SVN: r89770
2004-10-28alpha.md (movqicc_internal): Allow exactly one zero in the conditional.Richard Henderson2-4/+10
* config/alpha/alpha.md (movqicc_internal): Allow exactly one zero in the conditional. (movhicc_internal, movsicc_internal, movdicc_internal): Likewise. From-SVN: r89766
2004-10-28cse.c (memory_extend_rtx): Remove.Richard Henderson2-13/+9
* cse.c (memory_extend_rtx): Remove. (cse_main): Don't set it. (cse_insn): Use a local buffer instead. From-SVN: r89765
2004-10-28profile.c (branch_prob): Call to init_edge_profiler added.Andreas Krebbel5-2/+41
* profile.c (branch_prob): Call to init_edge_profiler added. * rtl-profile.c (rtl_init_edge_profiler): New function. (rtl_gen_edge_profiler): Replaced call to insert_insn_on_edge with call to safe_insert_insn_on_edge. (rtl_profile_hooks): rtl_init_edge_profiler added. * tree-profile.c (tree_init_edge_profiler): New function. (tree_profile_hooks): tree_init_edge_profiler added. * value-prof.h (profile_hooks) init_edge_profiler prototype added. From-SVN: r89764
2004-10-28(iq2000_expand_epilogue): Use emit_jump_insn() to generate the returnNick Clifton2-1/+6
instruction. From-SVN: r89762
2004-10-28* tree-phinodes.c: Remove trailing whitespace.Kazu Hirata2-13/+17
From-SVN: r89760
2004-10-28tree-ssa-loop-ivopts.c: Fix a comment typo.Kazu Hirata3-2/+7
* tree-ssa-loop-ivopts.c: Fix a comment typo. * doc/invoke.texi: Fix a typo. From-SVN: r89759
2004-10-28* Makefile.in (OBJS-common): Remove duplicates.Kazu Hirata2-3/+5
From-SVN: r89758
2004-10-28lambda-code.c (nestify_update_pending_stmts): Remove.Kazu Hirata6-77/+44
* lambda-code.c (nestify_update_pending_stmts): Remove. (perfect_nestify): Use flush_pending_stmts instead of nestify_update_pending_stmts. * tree-cfg.c (tree_make_forwarder_block): Use flush_pending_stmts. * tree-flow.h: Add a prototype for flush_pending_stmts. * tree-ssa-loop-manip.c (tree_duplicate_loop_to_header_edge): Use flush_pending_stmts. (lv_update_pending_stmts): Remove. (tree_ssa_loop_version): Use flush_pending_stmts instead of lv_update_pending_stmts. * tree-ssa.c (flush_pending_stmts): New. From-SVN: r89757
2004-10-28decl.c (bad_specifiers): Move the q after the %.Andrew Pinski1-1/+1
2004-10-27 Andrew Pinski <pinskia@physics.uc.edu> * decl.c (bad_specifiers): Move the q after the %. From-SVN: r89756
2004-10-28* gcc.dg/i386-rotate-1.c: New test.Jakub Jelinek2-0/+20
From-SVN: r89755
2004-10-28re PR target/15286 (ICE cause by reload)Ulrich Weigand4-4/+34
PR target/15286 * final.c (alter_subreg): Compute correct offset to use with paradoxical SUBREGs of memory operands. * recog.c (general_operand): Allow paradoxical SUBREGs of memory operands after reload. * simplify-rtx.c (simplify_gen_subreg): Fail if simplify_subreg has failed when passed a hard register. From-SVN: r89752
2004-10-28* function.c (assign_parm_setup_block): Handle parallels correctly.Aldy Hernandez2-2/+26
From-SVN: r89750
2004-10-28* final.c (shorten_branches): Initialize flags structure.Kaz Kojima2-0/+5
From-SVN: r89746
2004-10-28tree.c (int_cst_node, [...]): New variables.Nathan Sidwell2-9/+78
* tree.c (int_cst_node, int_cst_hash_table): New variables. (init_ttree): Initialize them. (int_cst_hash_hash, int_cst_hash_eq): New hashing functions. (build_int_cst_wide): Use hash table for oversized integers. From-SVN: r89745
2004-10-28oops - fixed typo in previous deltaNick Clifton1-1/+1
From-SVN: r89744
2004-10-28(DBX_OUTPUT_SOURCE_LINE): Define begin_label.Nick Clifton2-0/+6
From-SVN: r89743
2004-10-28* g++.dg/init/ref12.C: New test.Mark Mitchell2-0/+3
From-SVN: r89739
2004-10-28re PR c++/17435 (Binding a temporary of derived type to reference of base)Mark Mitchell7-9/+71
PR c++/17435 * call.c (convert_like_real): Fix formatting. (initialize_reference): When binding a temporary to a base class, ensure that the nominal copy made is to the derived class, not the base class. PR c++/18140 * parser.c (cp_parser_next_token_ends_template_argument_p): Do not include ">>". PR c++/17435 * g++.dg/init/ref12.C: New test. PR c++/18140 * g++.dg/template/shift1.C: New test. * g++.dg/template/error10.C: Adjust error markers. From-SVN: r89738
2004-10-27re PR middle-end/18163 (libffi test case ICE's on darwin)Richard Henderson2-2/+11
PR middle-end/18163 * expr.c (emit_group_load): Don't go force temporary for memory or concat source. (emit_group_store): Similarly. From-SVN: r89735
2004-10-27re PR other/18186 (Spelling error)Andrew Pinski2-1/+6
2004-10-27 Andrew Pinski <pinskia@physics.uc.edu> PR other/18186 * common.opt (--param): Fix spelling of parameter. From-SVN: r89731
2004-10-27re PR tree-optimization/17529 (ICE in get_indirect_ref_operands)Andrew Pinski4-2/+13
2004-10-27 Andrew Pinski <pinskia@physics.uc.edu> PR tree-opt/17529 * tree-cfg.c (remove_useless_stmts_1) <case SWITCH_EXPR>: Don't fold statement. <case ASM_EXPR>: Fold the statement. 2004-10-27 Andrew Pinski <pinskia@physics.uc.edu> PR tree-opt/17529 * gcc.c-torture/compile/pr17529.c: Remove the xfail. From-SVN: r89730
2004-10-28tree-ssa-dce.c (mark_stmt_if_obviously_necessary): Use EDGE_COUNT instead of ↵Kazu Hirata2-11/+6
GOTO_DESTINATION. * tree-ssa-dce.c (mark_stmt_if_obviously_necessary) <COND_EXPR>: Use EDGE_COUNT instead of GOTO_DESTINATION. From-SVN: r89729
2004-10-27decl.c: Move the q after the %.Andrew Pinski2-1/+5
2004-10-27 Andrew Pinski <pinskia@physics.uc.edu> * decl.c: Move the q after the %. From-SVN: r89728
2004-10-27parser.c (cp_parser_diagnose_invalid_type_name): Move the q after the %.Andrew Pinski2-1/+6
2004-10-27 Andrew Pinski <pinskia@physics.uc.edu> * parser.c (cp_parser_diagnose_invalid_type_name): Move the q after the %. From-SVN: r89727
2004-10-28contrib.texi, [...]: Improve Texinfo formatting.Joseph Myers13-55/+67
* doc/contrib.texi, doc/cpp.texi, doc/cppopts.texi, doc/extend.texi, doc/gcov.texi, doc/install.texi, doc/invoke.texi, doc/libgcc.texi, doc/md.texi, doc/passes.texi, doc/sourcebuild.texi, doc/tm.texi: Improve Texinfo formatting. From-SVN: r89725
2004-10-28c-tree.texi, [...]: Put punctuation outside quotes.Joseph Myers8-16/+22
* doc/c-tree.texi, doc/cpp.texi, doc/implement-c.texi, doc/invoke.texi, doc/md.texi, doc/passes.texi, doc/tm.texi: Put punctuation outside quotes. From-SVN: r89724