aboutsummaryrefslogtreecommitdiff
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-29inclhack.def (stdio_va_list): Don't fix if stdarg.h is included or ifdef ↵Mike Stump3-15/+27
va_start. * inclhack.def (stdio_va_list): Don't fix if stdarg.h is included or ifdef va_start. From-SVN: r89803
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: r89798.2
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-28inclhack.def: Avoid changing NULL on C++ friendly systems.Mike Stump3-4/+18
* inclhack.def: Avoid changing NULL on C++ friendly systems. * fixincl.x: Regenerate. From-SVN: r89786
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-28fail35-,pass53-,pass54-frag.c: New tests.Frank Ch. Eigler5-1/+104
2004-10-28 Frank Ch. Eigler <fche@redhat.com> * testsuite/libmudflap.c/fail35-,pass53-,pass54-frag.c: New tests. * testsuite/libmudflap.c/pass35-frag.c: Correct embedded warning message. From-SVN: r89783
2004-10-28re PR libstdc++/18159 (tr1/tuple is broken on darwin)Chris Jefferson2-1294/+1337
2004-10-28 Chris Jefferson <chris@bubblescope.net> PR libstdc++/18159 * include/tr1/tuple: Fix, change formatting. From-SVN: r89782
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-28mt_allocator.h (__common_pool_policy): Add template template parameter for ↵Benjamin Kosnik17-233/+259
pool class type. 2004-10-28 Benjamin Kosnik <bkoz@redhat.com> * include/ext/mt_allocator.h (__common_pool_policy): Add template template parameter for pool class type. (__per_type_pool_policy): Same. (__mt_allocator): Don't inherit policy. Qualify policy_type calls. * testsuite/ext/mt_allocator/check_deallocate_null.cc: Fix. * testsuite/ext/mt_allocator/check_deallocate_null_thread.cc: Same. * testsuite/ext/mt_allocator/deallocate_global-2.cc: Same. * testsuite/ext/mt_allocator/deallocate_global-4.cc: Same. * testsuite/ext/mt_allocator/deallocate_global_thread-1.cc: Same. * testsuite/ext/mt_allocator/deallocate_global_thread-3.cc: Same. * testsuite/ext/mt_allocator/deallocate_local-2.cc: Same. * testsuite/ext/mt_allocator/deallocate_local-4.cc: Same. * testsuite/ext/mt_allocator/deallocate_local_thread-1.cc: Same. * testsuite/ext/mt_allocator/deallocate_local_thread-3.cc: Same. * testsuite/ext/mt_allocator/instantiate.cc: Same. * testsuite/ext/mt_allocator/tune-1.cc: Same. * testsuite/ext/mt_allocator/tune-2.cc: Same. * testsuite/ext/mt_allocator/tune-3.cc: Same. * testsuite/ext/mt_allocator/tune-4.cc: Same. From-SVN: r89776
2004-10-28re PR target/18151 (Disable building of fixincludes for avr target.)Eric B. Weddington3-2/+8
PR target/18151 * configure.in (case ${target}): Do not build fixincludes for avr. * configure: Regenerated. From-SVN: r89774
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-28Output_UnicodeLittleUnmarked.java: New file.David Daney4-2/+59
2004-10-28 David Daney <ddaney@avtrex.com> * gnu/gcj/convert/Output_UnicodeLittleUnmarked.java: New file. * Makefile.am: Build it. * Makefile.in: Regenerate. From-SVN: r89763
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-28locale_facets.tcc (num_get<>::_M_extract_float): Cache *__beg in __c when ↵Paolo Carlini2-11/+22
parsing exponent sign too. 2004-10-28 Paolo Carlini <pcarlini@suse.de> * include/bits/locale_facets.tcc (num_get<>::_M_extract_float): Cache *__beg in __c when parsing exponent sign too. (num_get<>::do_get(..., bool&)): Cache *__beg. (money_get<>::_M_extract)): Likewise, in money_base::value. From-SVN: r89753
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