- Jan 03, 2006
-
-
Joseph Myers authored
From-SVN: r109258
-
Mark Mitchell authored
* libtool-ldflags: New script. * src/Makefile.am (LTLDFLAGS): New variable. (CXXLINK): Use LTLDFLAGS. * src/Makefile.in: Regenerated. * libsupc++/Makefile.am (LTLDFLAGS): New variable. (CXXLINK): Use LTLDFLAGS. * libsupc++/Makefile.in: Regenerated. From-SVN: r109256
-
GCC Administrator authored
From-SVN: r109253
-
- Jan 02, 2006
-
-
Eric Botcazou authored
cfglayout.c (fixup_reorder_chain): Remove kludge for the case of conditional jump jumping to the next instruction. * cfglayout.c (fixup_reorder_chain): Remove kludge for the case of conditional jump jumping to the next instruction. * cfgrtl.c (force_nonfallthru_and_redirect): Accept all cases of conditional jump jumping to the next instruction. Co-Authored-By:
Jan Hubicka <jh@suse.cz> From-SVN: r109247
-
Steven G. Kargl authored
PR fortran/24640 * parse.c (next_free): Check for whitespace after the label. * match.c (gfc_match_small_literal_int): Initialize cnt variable. * gfortran.dg/label_2.f90: New test. From-SVN: r109246
-
Jan Hubicka authored
* i386.c (*_cost): Add COSTS_N_INSNS. (ix86_rtx_costs): Do not use COSTS_N_INSNS. From-SVN: r109242
-
Paolo Bonzini authored
config: 2006-01-02 Paolo Bonzini <bonzini@gnu.org> PR target/25259 * stdint.m4: New. gcc: 2006-01-02 Paolo Bonzini <bonzini@gnu.org> PR target/25259 * Makefile.in (DECNUMINC): Include libdecnumber's build directory. libgfortran: 2006-01-02 Paolo Bonzini <bonzini@gnu.org> PR target/25259 * configure.ac: Use GCC_HEADER_STDINT. * libgfortran.h: Include gstdint.h. * aclocal.m4: Regenerate. * configure: Regenerate. libdecnumber: 2006-01-02 Paolo Bonzini <bonzini@gnu.org> PR target/25259 * configure.ac: Use GCC_HEADER_STDINT. * decContext.h: Include gstdint.h. * aclocal.m4: Regenerate. * configure: Regenerate. From-SVN: r109241
-
Andreas Schwab authored
* configure.in: When reconfiguring remove Makefile in all stage directories. * configure: Regenerate. From-SVN: r109240
-
Mark Mitchell authored
From-SVN: r109239
-
Volker Reichelt authored
* config/arm/arm.c (all_fpus): Fix comment typo. * config/darwin.c: Likewise. * config/frv/frv.h (FRV_STRUCT_VALUE_REGNUM): Likewise. * config/h8300/h8300.md (extendqisi2_h8300hs): Likewise. * config/m68hc11/m68hc11.c (m68hc11_reload_operands): Likewise. From-SVN: r109238
-
Volker Reichelt authored
* parser.c (cp_parser_using_declaration): Skip name-lookup on invalid scope. * g++.dg/lookup/using12.C: Tighten error marker. From-SVN: r109237
-
Paolo Carlini authored
2006-01-02 Paolo Carlini <pcarlini@suse.de> PR libstdc++/24645 * include/std/std_istream.h (basic_istream<>::_M_extract): New. (operator>>(bool&), operator>>(short&), operator>>(unsigned short&), operator>>(int&), operator>>(unsigned int&), operator>>(long&), operator>>(unsigned long&), operator>>(long long&), operator>> (unsigned long long&), operator>>(float&), operator>>(double&), operator>>(long double&), operator>>(void*&)): Use it. * include/bits/istream.tcc (basic_istream<>::_M_extract): Define. * include/std/std_ostream.h (basic_ostream<>::_M_insert): New. (operator<<(long), operator<<(unsigned long), operator<<(bool), operator<<(short), operator<<(unsigned short), operator<<(int), operator<<(unsigned int), operator<<(long long), operator<< (unsigned long long), operator<<(double), operator<<(float), operator<<(long double), operator<<(const void*): Use it. * include/bits/ostream.tcc (basic_ostream<>::_M_insert): Define. * src/istream-inst.cc: Add _M_insert instantiations. * src/ostream-inst.cc: Add _M_extract instantiations. * config/abi/pre/gnu.ver: Export the new symbols @GLIBCXX_3.4.7; detail existing @GLIBCXX_3.4 exports of basic_ostream, num_put, money_put, etc., symbols to avoid exporting _M_insert symbols @GLIBCXX_3.4. From-SVN: r109236
-
Paolo Bonzini authored
From-SVN: r109235
-
GCC Administrator authored
From-SVN: r109232
-
- Jan 01, 2006
-
-
David Edelsohn authored
* config/rs6000/rs6000.c (rs6000_expand_compare_and_swapqhi): New. (rs6000_split_compare_and_swapqhi): New. * config/rs6000/sync.md (sync_compare_and_swap{hi,qi}): New. (sync_compare_and_swapqhi_internal): New. * config/rs6000/rs6000-protos.h: Declare. From-SVN: r109226
-
Steven G. Kargl authored
From-SVN: r109225
-
Steven G. Kargl authored
From-SVN: r109224
-
Andreas Tobler authored
2006-01-01 Andreas Tobler <a.tobler@schweiz.ch> Andrew Pinski <pinskia@physics.uc.edu> * gcc.target/powerpc/darwin-abi-3.c: New file. * gcc.target/powerpc/darwin-abi-4.c: Likewise. * gcc.target/powerpc/darwin-abi-5.c: Likewise. * gcc.target/powerpc/darwin-abi-6.c: Likewise. * gcc.target/powerpc/darwin-abi-7.c: Likewise. * gcc.target/powerpc/darwin-abi-8.c: Likewise. * gcc.target/powerpc/darwin-abi-9.c: Likewise. * gcc.target/powerpc/darwin-abi-10.c: Likewise. * gcc.target/powerpc/darwin-abi-11.c: Likewise. Co-Authored-By:
Andrew Pinski <pinskia@physics.uc.edu> From-SVN: r109223
-
Daniel Berlin authored
From-SVN: r109222
-
Daniel Berlin authored
2005-01-01 Daniel Berlin <dberlin@dberlin.org> * gcc.dg/tree-ssa/loadpre1.c: New; * gcc.dg/tree-ssa/loadpre2.c: New; * gcc.dg/tree-ssa/loadpre3.c: New; * gcc.dg/tree-ssa/loadpre4.c: New; * gcc.dg/tree-ssa/loadpre5.c: New; * gcc.dg/tree-ssa/loadpre6.c: New; * gcc.dg/tree-ssa/loadpre7.c: New; * gcc.dg/tree-ssa/loadpre8.c: New; * gcc.dg/tree-ssa/loadpre9.c: New; From-SVN: r109221
-
Nathan Sidwell authored
* g++.dg/abi/thunk3.C: Adjust regexp to be 64bit safe. * g++.dg/abi/thunk4.C: Likewise. From-SVN: r109220
-
Andreas Jaeger authored
* gcc.dg/tree-ssa/loadpre6.c: Fix prototype of malloc to be portable. From-SVN: r109219
-
Jerry DeLisle authored
2005-12-31 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR libgfortran/25594 PR libgfortran/25419 * io/list_read.c (list_formatted_read_scalar): Test for comma to return a null value (default). Revert patch of 25419 on 2005-12-28. From-SVN: r109211
-
GCC Administrator authored
From-SVN: r109208
-
- Dec 31, 2005
-
-
Jakub Jelinek authored
PR c++/25294 * directives.c (do_pragma): If pragma line ends with multi-line block comment, end the saved deferred pragma string before that comment. Handle embedded '\0' chars on the pragma line. * gcc.dg/pragma-pack-3.c: New test. * g++.dg/parse/pragma3.C: New test. From-SVN: r109201
-
Andrew Pinski authored
re PR tree-optimization/25612 (Ada bootstrap failure on x86_64 find_or_generate_expression, at tree-ssa-pre.c:2028) 2005-12-31 Andrew Pinski <pinskia@ohysics.uc.edu> PR tree-opt/25612 * tree-ssa-pre.c (compute_avail): Treat the static chain decl as a parameter and pretend that it is defined in the entry basic block. From-SVN: r109200
-
John David Anglin authored
PR middle-end/24827 * gcc.dg/attr-weakref-1.c: Skip test on hppa*-*-hpux*. From-SVN: r109197
-
Kaveh R. Ghazi authored
PR testsuite/25214 * gcc.target/i386/local2.c: Skip if ilp32 and -fpic/-fpic. From-SVN: r109193
-
Bob Wilson authored
include/ * xtensa-config.h (XCHAL_HAVE_WIDE_BRANCHES): New. From-SVN: r109191
-
GCC Administrator authored
From-SVN: r109188
-
- Dec 30, 2005
-
-
Kazu Hirata authored
* tree-outof-ssa.c (_elim_graph): Change the type of STACK to VEC(int,heap). (new_elim_graph, delete_elim_graph, elim_forward, eliminate_phi): Use the VEC API on STACK. From-SVN: r109182
-
Daniel Berlin authored
2005-12-29 Daniel Berlin <dberlin@dberlin.org> * tree.h (VALUE_HANDLE_VUSES): New. (struct tree_value_handle): Add vuses. * tree-vn.c (struct val_expr_pair_d): Remove stmt, add vuses. (vn_compute): Remove stmt argument. Don't use vuses in hash value computation. (val_expr_pair_eq): Compare vuse lists. (copy_vuses_from_stmt): New function. (shared_vuses_from_stmt): Ditto. (vn_add): Rewrite in terms of vn_add_with_vuses. (vn_add_with_vuses): New function. (vn_lookup): Rewrite in terms of vn_lookup_with_vuses. (vn_lookup_with_vuses): New function. (vuses_compare): New function. (print_creation_to_file): Ditto. (vn_lookup_or_add): Rewrite to handle vuses. (sort_vuses): New function. (vn_lookup_or_add_with_vuses): Ditto. (vn_init): Initialize shared_lookup_vuses. (vn_delete): Free shared_lookup_vuses. * tree-ssa-pre.c: Update todo list. (bb_value_sets_t): Add rvuse_in, rvuse_out, rvuse_gen, and rvuse_kill. (RVUSE_IN): New macro. (RVUSE_GEN): Ditto. (RVUSE_KILL): Ditto. (RVUSE_OUT): Ditto. (modify_expr_node_pool): New function. (pretemp): New. (storetemp): Ditto. (mergephitemp): Ditto. (prephitemp): Ditto. (struct expr_pred_trans_d): Add vuses member. (expr_pred_trans_eq): Compare vuses. (phi_trans_lookup): Add vuses argument. (phi_trans_add): Ditto. (translate_vuses_through_block): New function. (phi_translate): Use vuses to ask about those expressions that can have vuses. Properly translate virtual uses through phis, and use vn_lookup_or_add_with vuses. Handle tcc_reference. (phi_translate_set): Don't add pointless translations to the cache. (get_representative): New function. (vuses_dies_in_block_x): Ditto. (valid_in_set): Add block argument. Check virtual use validity. (clean): Add block argument. Update call to valid_in_set (compute_antic_aux): Update call to clean. (dump_bitmap_of_names): New function. (compute_vuse_representatives): Ditto. (compute_rvuse): Ditto. (can_value_number_call): Modified to accept calls with vuses. (can_value_number_operation): New function. (can_PRE_operation): Ditto. (need_creation): New vector of stores that may need creation. (find_or_generate_expression): use can_PRE_operation. (create_expression_by_pieces): Handle INDIRECT_REF. Only create one temp until we have to change types. Mark new vars for renaming. (insert_into_preds_of_block): Ignore loopiness of loads. Use can_PRE_operation. Only create one temp until we have to chnge types. (insert_aux): Use can_PRE_operation. Don't pass name to insert_into_preds_of_block. (insert_extra_phis): Only use one temp until we have to change types. (poolify_tree): New function. (modify_expr_template): New var. (poolify_modify_expr): New function. (insert_fake_stores): Ditto. (realify_fake_stores): Ditto. (compute_avail): Use can_value_number_operation. (mark_operand_necessary): Return NULL for non-SSA names. (remove_dead_inserted_code): Update comment. (init_pre): Initialize pretemp, need_creation, storetemp, mergephitemp, prephitemp. Create modify_expr_node_pool. (fini_pre): Free modify_expr_node_pool and need_creation array. (execute_pre): Call insert_fake_stores, compute_rvuse, and realify_fake_stores. * tree-flow.h (vn_compute): Fix prototype. (vn_add): Ditto. (vn_lookup): Ditto. (sort_vuses): New. (vn_lookup_or_add_with_vuses): Ditto. (vn_add_with_vuses): Ditto. (vn_lookup_with_vuses): Ditto. * passes.c (pass_may_alias): Add. From-SVN: r109180
-
Gabriel Dos Reis authored
2005-12-30 Gabriel Dos Reis <gdr@integrable-solutions.net> * c-pretty-print.h (struct c_pretty_print_info): Add new member "constant". (pp_constant): New macro. * c-pretty-print.c (pp_c_pretty_printer_init): Set pp->constant. cp/ 2005-12-30 Gabriel Dos Reis <gdr@integrable-solutions.net> * cxx-pretty-print.c (pp_cxx_constant): New. Print string-literal in parens if input program says so. (pp_cxx_primary_expression): Hand off constant printing to pp_cxx_constant. (pp_cxx_pretty_printer_init): Set pp->c_base.constant. (pp_cxx_expression): Use pp_cxx_constant for literals. * error.c (dump_expr): Use pp_constant for literals. From-SVN: r109176
-
Erik Edelmann authored
fortran/ 2005-12-30 Erik Edelmann <eedelman@gcc.gnu.org> PR fortran/22607 * trans-decl.c(gfc_get_extern_function_decl): Don't set DECL_IS_PURE (fndecl) = 1 for return-by-reference functions. fortran/PR 25396 * interface.c (gfc_extend_expr): Initialize e->value.function.name to NULL. testsuite/ 2005-12-30 Erik Edelmann <eedelman@gcc.gnu.org> PR fortran/22607 * gfortran-dg/pure_byref_3.f90: New. fortran/PR 25396 * gfortran.dg/userdef_operator_1.f90: New. From-SVN: r109171
-
John David Anglin authored
PR fortran/25586 * pa.md: Remove REG_POINTER check from REG+REG peephole2 floating-point store patterns. From-SVN: r109166
-
GCC Administrator authored
From-SVN: r109160
-
- Dec 29, 2005
-
-
Kenneth Zadeck authored
bitmap.c (bitmap_element_free, [...]): Added code to properly maintain the variants associated with the CURRENT and... 2005-12-29 Kenneth Zadeck <zadeck@naturalbridge.com> * bitmap.c (bitmap_element_free, bitmap_element_link, bitmap_elt_insert_after, bitmap_and, bitmap_and_compl, bitmap_and_compl, bitmap_ior, bitmap_ior_into, bitmap_xor, bitmap_xor_into): Added code to properly maintain the variants associated with the CURRENT and HEAD fields. (bitmap_popcount, bitmap_clear_range, bitmap_compl_and_into): New functions. * bitmap.h: Added defs for bitmap_popcount, bitmap_clear_range, and bitmap_compl_and_into. From-SVN: r109153
-
Mike Stump authored
invoke.texi (Objective-C and Objective-C++ Dialect Options -fobjc-exceptions): Don't imply this doesn't work with the GNU runtime. * doc/invoke.texi (Objective-C and Objective-C++ Dialect Options -fobjc-exceptions): Don't imply this doesn't work with the GNU runtime. From-SVN: r109151
-
John David Anglin authored
* s-osinte-linux-hppa.ads: Correct alignment of atomic_lock_t. From-SVN: r109150
-
Nathan Sidwell authored
* varasm.c (get_section): Use gcc_assert. cp: * method.c (make_thunk): Don't set comdat_linkage here. (use_thunk): Make thunk one only here, if thunk target is DECL_ONE_ONLY. testsuite: * g++.dg/abi/thunk3.C: New. * g++.dg/abi/thunk4.C: New. From-SVN: r109149
-