- 14 Nov, 2005 7 commits
-
-
* loop-invariant.c: Include tm_p.h. * Makefile.in: Updated. From-SVN: r106887
Richard Earnshaw committed -
2005-11-14 Robert Dewar <dewar@adacore.com> PR ada/18434 * osint-m.adb: Add pragma Elaborate_All for Osint From-SVN: r106886
Robert Dewar committed -
re PR c++/24817 (g++ accepts multiple function template declarations even if exception-specification doesn't match.) PR c++/24817 * decl.c (check_redeclaration_exception_specification): New function. (duplicate_decls): Use it. * error.c (fndecl_to_string): Print the template parameter list. PR c++/24817 * g++.dg/eh/spec8.C: New test. From-SVN: r106884
Mark Mitchell committed -
From-SVN: r106883
Hans-Peter Nilsson committed -
PR c++/20293 * cxx-pretty-print.c (pp_cxx_statement): Print qualifying scopes for namespaces. (pp_cxx_original_namespace_definition): Likewise. * name-lookup.c (ambiguous_decl): Don't issue error messages; instead return lists of ambiguous candidates. (select_decl): Handle ambiguous namespace lookups. * parser.c (cp_token): Add ambiguous_p. (cp_lexer_get_preprocessor_token): Set it. (cp_parser_diagnose_invalid_type_name): Avoid duplicate messages when a qualified name uses an invalid scope. (cp_parser_primary_expression): Print ambiguous candidates. (cp_parser_type_parameter): Adjust comment to reflect new parameter name for cp_parser_lookup_name. (cp_parser_template_argument): Likewise. (cp_parser_elaborated_type_specifier): Likewise. (cp_parser_namespace_name): Likewise. (cp_parser_class_name): Print ambiguous candidates. (cp_parser_lookup_name): Rename ambiguous_p parameter to ambiguous_decls. Use it to return a list of ambiguous candiates when a lookup is ambiguous. (cp_parser_lookup_name_simple): Adjust comment to reflect new parameter name for cp_parser_lookup_name. PR c++/20293 * g++.dg/parse/ambig4.C: New test. * g++.dg/tc1/dr101.C: Adjust error markers. * g++.dg/lookup/strong-using-2.C: Likewise. * g++.dg/lookup/ambig5.C: Likewise. * g++.dg/lookup/ambig4.C: Likewise. * g++.dg/parse/crash22.C: Likewise. From-SVN: r106879
Mark Mitchell committed -
From-SVN: r106877
Hans-Peter Nilsson committed -
From-SVN: r106874
GCC Administrator committed
-
- 13 Nov, 2005 12 commits
-
-
* pa.c (store_reg): Revise generation of frame notes in large frames. (set_reg_plus_d): Likewise. From-SVN: r106867
John David Anglin committed -
PR tree-optimization/24709 * tree-ssa-operands.c (verify_imm_links): Increase limit for infinite loop check. From-SVN: r106865
Andrew MacLeod committed -
2005-11-13 Jonathan Wakely <redi@gcc.gnu.org> * include/tr1/boost_shared_ptr.h (get_deleter): Declare before shared_ptr. (shared_ptr<>): Declare get_deleter as friend. (shared_ptr<>:_M_get_deleter): Private. 2005-11-13 Douglas Gregor <doug.gregor@gmail.com> PR libstdc++/24818 * include/tr1/ref_wrap_iterate.h (reference_wrapper::operator()()): Don't dereferene the result of get() before calling it; it's already a reference. * testsuite/tr1/3_function_objects/reference_wrapper/invoke.cc: Test nullary calls to reference_wrappers. From-SVN: r106863
Paolo Carlini committed -
2005-11-13 Jonathan Wakely <redi@gcc.gnu.org> * include/tr1/boost_shared_ptr.h (get_deleter): Declare before shared_ptr. (shared_ptr<>): Declare get_deleter as friend. (shared_ptr<>:_M_get_deleter): Private. 2005-11-13 Douglas Gregor <doug.gregor@gmail.com> PR libstdc++/24818 * include/tr1/ref_wrap_iterate.h (reference_wrapper::operator()()): Don't dereferene the result of get() before calling it; it's already a reference. * testsuite/tr1/3_function_objects/reference_wrapper/invoke.cc: Test nullary calls to reference_wrappers. From-SVN: r106862
Paolo Carlini committed -
* gthr-posix95.h: Remove declaration of pthread_mutexattr_settype and duplicate declaration of pthread_self. From-SVN: r106861
Eric Botcazou committed -
PR middle-end/24003 * calls.c (expand_call): If TARGET is a MEM and some part of the argument area has been saved, force TARGET to a register. Co-Authored-By: Ian Lance Taylor <ian@airs.com> From-SVN: r106860
Eric Botcazou committed -
* intrinsics/fget.c: New file. * intrinsics/ftell.c: New file. * io/unix.c (stream_offset): New function. * io/io.h: Add prototype for stream_offset. * Makefile.am: Add intrinsics/fget.c and intrinsics/ftell.c. * Makefile.in: Regenerate. * intrinsic.c (add_functions): Add COMPLEX, FTELL, FGETC, FGET, FPUTC, FPUT, AND, XOR and OR intrinsic functions. (add_subroutines): Add FGETC, FGET, FPUTC, FPUT and FTELL intrinsic subroutines. * gfortran.h: Add GFC_ISYM_AND, GFC_ISYM_COMPLEX, GFC_ISYM_FGET, GFC_ISYM_FGETC, GFC_ISYM_FPUT, GFC_ISYM_FPUTC, GFC_ISYM_FTELL, GFC_ISYM_OR, GFC_ISYM_XOR. * iresolve.c (gfc_resolve_and, gfc_resolve_complex, gfc_resolve_or, gfc_resolve_fgetc, gfc_resolve_fget, gfc_resolve_fputc, gfc_resolve_fput, gfc_resolve_ftell, gfc_resolve_xor, gfc_resolve_fgetc_sub, gfc_resolve_fget_sub, gfc_resolve_fputc_sub, gfc_resolve_fput_sub, gfc_resolve_ftell_sub): New functions. * check.c (gfc_check_complex, gfc_check_fgetputc_sub, gfc_check_fgetputc, gfc_check_fgetput_sub, gfc_check_fgetput, gfc_check_ftell, gfc_check_ftell_sub, gfc_check_and): New functions. * simplify.c (gfc_simplify_and, gfc_simplify_complex, gfc_simplify_or, gfc_simplify_xor): New functions. * trans-intrinsic.c (gfc_conv_intrinsic_function): Add cases for GFC_ISYM_AND, GFC_ISYM_COMPLEX, GFC_ISYM_FGET, GFC_ISYM_FGETC, GFC_ISYM_FPUT, GFC_ISYM_FPUTC, GFC_ISYM_FTELL, GFC_ISYM_OR and GFC_ISYM_XOR. * intrinsic.h: Add prototypes for all functions added to iresolve.c, simplify.c and check.c. * gfortran.dg/complex_intrinsic_1.f90: New test. * gfortran.dg/complex_intrinsic_2.f90: New test. * gfortran.dg/fgetc_1.f90: New test. * gfortran.dg/fgetc_2.f90: New test. * gfortran.dg/fgetc_3.f90: New test. * gfortran.dg/ftell_1.f90: New test. * gfortran.dg/ftell_2.f90: New test. * gfortran.dg/gnu_logical_1.F: New test. * gfortran.dg/gnu_logical_2.f90: New test. From-SVN: r106859
Francois-Xavier Coudert committed -
2005-11-13 Razya Ladelsky <razya@il.ibm.com> * ipa-prop.c (ipa_callsite_compute_param ): Removed obsolete type checking. From-SVN: r106858
Razya Ladelsky committed -
* check.tpl: Handle CVS additionally. From-SVN: r106855
Andreas Jaeger committed -
re PR c++/22489 (ICE in dwarf2out_finish with using namespace in a local class and compiler built constructors) PR c++/22489 * dwarf2out.c (gen_subprogram_die): Force a declaration die for lazily declared methods. (force_decl_die): Stop if forcing out the context already make a DIE for the decl. (force_type_die): Likewise. From-SVN: r106853
Jason Merrill committed -
2005-11-13 Andrew Pinski <pinskia@physics.uc.edu> PR middle-end/24820 * testsuite/gcc.dg/pr24820.c: New test. 2005-11-13 Andrew Pinski <pinskia@physics.uc.edu> PR middle-end/24820 * builtins.c (integer_valued_real_p): Add break in REAL_CST having TREE_OVERFLOW set. From-SVN: r106851
Andrew Pinski committed -
From-SVN: r106847
GCC Administrator committed
-
- 12 Nov, 2005 16 commits
-
-
tree-ssa-loop-ivopts.c (get_address_cost): Prevent splitting addressing modes during calculation of costs. * tree-ssa-loop-ivopts.c (get_address_cost): Prevent splitting addressing modes during calculation of costs. * testsuite/gcc.dg/tree-ssa/loop-2.c: Fix outcome. * testsuite/gcc.dg/tree-ssa/loop-3.c: Change type of loop control variable. From-SVN: r106842
Zdenek Dvorak committed -
function.c (assign_stack_local_1): Restrict sanity check on frame size overflow to 32-bit and above platforms. * function.c (assign_stack_local_1): Restrict sanity check on frame size overflow to 32-bit and above platforms. From-SVN: r106840
Eric Botcazou committed -
testsuite/24614 * gcc.dg/nested-func-4.c: Add dg-options for hppa*-*-hpux*. From-SVN: r106837
John David Anglin committed -
* gcc.target/cris/cris.exp: New file. * gcc.target/cris/rld-legit1.c: New test. * gcc.target/cris/rld-legit2.c: New test. From-SVN: r106836
Hans-Peter Nilsson committed -
* config/cris/cris.h (LEGITIMIZE_RELOAD_ADDRESS): Define. * config/cris/cris.c: Include reload.h. (cris_initial_elimination_offset): New function. * config/cris/cris-protos.h: (cris_initial_elimination_offset): Prototype. From-SVN: r106835
Hans-Peter Nilsson committed -
PR c++/24780 * typeck.c (complete_type): Set TYPE_NEEDS_CONSTRUCTING and TYPE_HAS_NONTRIVIAL_DESTRUCTOR flags for all variants of array type. * g++.dg/opt/pr24780.C: New test. From-SVN: r106833
Jakub Jelinek committed -
PR c++/24761 * pt.c (tsubst_copy_asm_operands): New function. (tsubst_expr) <case ASM_EXPR>: Use it. * g++.dg/template/asm1.C: New test. From-SVN: r106831
Jakub Jelinek committed -
2005-11-12 Richard Guenther <rguenther@suse.de> * gcse.c (find_rtx_in_ldst): Handle NULL pre_ldst_table. From-SVN: r106829
Richard Guenther committed -
PR libfortran/24787 * intrinsics/string_intrinsics.c (string_scan): Off by one; Fix typos in nearby comment. * gfortran.dg/scan_1.f90: New test. From-SVN: r106828
Steven G. Kargl committed -
* expr.c (expand_expr_real_1): <MAX_EXPR, MIN_EXPR>: Canonicalize to compare against 0 when possible. * gcc.target/i386/minmax-1.c: New. * gcc.target/i386/minmax-2.c: New. From-SVN: r106827
Jan Hubicka committed -
* config/bfin/bfin.h (REGISTER_NAMES, SHORT_REGISTER_NAMES, HIGH_REGISTER_NAMES, FIXED_REGISTERS, CALL_USED_REGISTERS, REG_ALLOC_ORDER, enum reg_class): Rearrange I/B/L registers. * config/bfin/bfin.md: Redefine REG_ constants for I/B/L registers in the new order. From-SVN: r106824
Jie Zhang committed -
* gcc.dg/pr24445.c: Fix for 64-bit targets. From-SVN: r106822
Kaz Kojima committed -
recog.c (constrain_operands): For a match, require that a non-register matches general_operand when strict >= 0. * recog.c (constrain_operands) <case 'g'>: For a match, require that a non-register matches general_operand when strict >= 0. From-SVN: r106821
Hans-Peter Nilsson committed -
2005-11-11 Paolo Carlini <pcarlini@suse.de> PR libstdc++/24808 * include/tr1/type_traits (__is_abstract_helper): Rename to __in_array (with complemented logic). (is_function): Use it, don't use __conv_helper. (is_abstract): Adjust. (__conv_helper): Rename to __is_convertible_simple. (is_convertible): Adjust. * testsuite/testsuite_tr1.h (class IncompleteClass): Add. * testsuite/tr1/4_metaprogramming/composite_type_traits/is_object/ 24808.cc: New. * testsuite/tr1/4_metaprogramming/primary_type_categories/is_enum/ 24808.cc: Likewise. * testsuite/tr1/4_metaprogramming/primary_type_categories/is_function/ 24808.cc: Likewise. From-SVN: r106818
Paolo Carlini committed -
From-SVN: r106815
GCC Administrator committed -
* loop-invariant.c (move_loop_invariants): Fix a thinko in the previous checkin. From-SVN: r106809
Steven Bosscher committed
-
- 11 Nov, 2005 5 commits
-
-
* tree-ssa-dse.c (struct address_walk_data, memory_ssa_name_same) (memory_address_same): New. (dse_optimize_stmt): Call memory_address_same. gcc/testsuite/ * gcc.c-torture/execute/20051110-1.c, gcc.c-torture/execute/20051110-2.c: New tests. From-SVN: r106807
Daniel Jacobowitz committed -
re PR middle-end/24750 (global-alloc (reload) trips over own confusion for unexpected addressing modes) PR middle-end/24750 * gcc.dg/torture/pr24750-1.c, gcc.target/cris/torture/pr24750-2.c: New tests. From-SVN: r106806
Hans-Peter Nilsson committed -
re PR middle-end/24750 (global-alloc (reload) trips over own confusion for unexpected addressing modes) PR middle-end/24750 * reload.c (find_reloads_address_1) <case TRUNCATE, SIGN_EXTEND, ZERO_EXTEND>: New cases. From-SVN: r106804
Hans-Peter Nilsson committed -
From-SVN: r106803
Daniel Jacobowitz committed -
2005-11-11 Andreas Tobler <a.tobler@schweiz.ch> * lib/target-libpath.exp (get_shlib_extension): New proc. * lib/g++.exp (g++_link_flags): Add flags in case of shared only build. * lib/gfortran.exp (gfortran_link_flags): Likewise. * lib/objc.exp (objc_target_compile): Likewise. * lib/obj-c++.exp (obj-c++_link_flags): Likewise. Fix multilib libgcc detection. From-SVN: r106802
Andreas Tobler committed
-