aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2007-10-29tree-flow-inline.h (get_subvar_at): Use binary search.Richard Guenther3-72/+150
2007-10-29 Richard Guenther <rguenther@suse.de> * tree-flow-inline.h (get_subvar_at): Use binary search. (get_first_overlapping_subvar): New function to binary search for the first overlapping subvar. * tree-ssa-operands.c (add_vars_for_offset): Strip down to just handle adding subvars for a pointed-to subvar. Optimize and use get_first_overlapping_subvar. (add_vars_for_bitmap): Fold into single caller. (add_virtual_operand): Streamline, inherit add_vars_for_bitmap and non pointed-to bits of add_vars_for_offset. From-SVN: r129727
2007-10-29ChangeLog: Fix formatting.Uros Bizjak2-123/+119
* ChangeLog: Fix formatting. * testsuite/ChangeLog: Ditto. From-SVN: r129723
2007-10-29SMS: Add use-def chain problemRevital Eres2-1/+5
From-SVN: r129721
2007-10-29[multiple changes]Paul Thomas10-160/+448
2007-10-29 Paul Thomas <pault@gcc.gnu.org> PR fortran/31217 PR fortran/33811 PR fortran/33686 * trans-array.c (gfc_conv_loop_setup): Send a complete type to gfc_trans_create_temp_array if the temporary is character. * trans-stmt.c (gfc_trans_assign_need_temp): Do likewise for allocate_temp_for_forall_nest. (forall_replace): New function. (forall_replace_symtree): New function. (forall_restore): New function. (forall_restore_symtree): New function. (forall_make_variable_temp): New function. (check_forall_dependencies): New function. (cleanup_forall_symtrees): New function. gfc_trans_forall_1): Add and initialize pre and post blocks. Call check_forall_dependencies to check for all dependencies and either trigger second forall block to copy temporary or copy lval, outside the forall construct and replace all dependent references. After assignment clean-up and coalesce the blocks at the end of the function. * gfortran.h : Add prototypes for gfc_traverse_expr and find_forall_index. expr.c (gfc_traverse_expr): New function to traverse expression and visit all subexpressions, under control of a logical flag, a symbol and an integer pointer. The slave function is caller defined and is only called on EXPR_VARIABLE. (expr_set_symbols_referenced): Called by above to set symbols referenced. (gfc_expr_set_symbols_referenced): Rework of this function to use two new functions above. * resolve.c (find_forall_index): Rework with gfc_traverse_expr, using forall_index. (forall_index): New function used by previous. * dependency.c (gfc_check_dependency): Use gfc_dep_resolver for all references, not just REF_ARRAY. (gfc_dep_resolver): Correct the logic for substrings so that overlapping arrays are handled correctly. 2007-10-29 Paul Thomas <pault@gcc.gnu.org> PR fortran/31217 PR fortran/33811 * gfortran.dg/forall_12.f90: New test. PR fortran/33686 * gfortran.dg/forall_13.f90: New test. From-SVN: r129720
2007-10-292007-10-29 Razya LadelskyRazya Ladelsky12-2/+676
Automatic parallelization reduction tests. * testsuite/gcc.dg/tree-ssa/reduc-1.c: New test. * testsuite/gcc.dg/tree-ssa/reduc-1char.c: New test. * testsuite/gcc.dg/tree-ssa/reduc-1short.c: New test. * testsuite/gcc.dg/tree-ssa/reduc-2.c: New test. * testsuite/gcc.dg/tree-ssa/reduc-2char.c: New test. * testsuite/gcc.dg/tree-ssa/reduc-2short.c: New test. * testsuite/gcc.dg/tree-ssa/reduc-3.c: New test. * testsuite/gcc.dg/tree-ssa/reduc-6.c: New test. * testsuite/gcc.dg/tree-ssa/reduc-7.c: New test. * testsuite/gcc.dg/tree-ssa/reduc-8.c: New test. * testsuite/gcc.dg/tree-ssa/reduc-9.c: New test. From-SVN: r129718
2007-10-292007-09-23 Razya LadelskyRazya Ladelsky7-18/+31
Zdenek Dvorak OMP_ATOMIC expand testsuite related changes. * testsuite/gcc.dg/gomp/atomic-3.c: Search for string on ompexp dump instead of gimple dump. * testsuite/gcc.dg/gomp/atomic-9.c: Same. * testsuite/gcc.dg/gomp/atomic-10.c: Same. * testsuite/g++.dg/gomp/atomic-3.C: Same. * testsuite/g++.dg/gomp/atomic-9.C: Same. * testsuite/g++.dg/gomp/atomic-10.C: Same. From-SVN: r129717
2007-10-292007-09-23 Razya LadelskyRazya Ladelsky16-392/+1378
Zdenek Dvorak OMP_ATOMIC Changes, Reduction support for automatic parallelization. * expr.c (expand_expr_real_1): Add cases for OMP_ATOMIC_LOAD, OMP_ATOMIC_STORE. * Makefile.in: Add dependencies to expr.o, tree-parloops.o, omp-low.o * tree-pretty-print.c (dump_generic_node): Add OMP_ATOMIC_LOAD and OMP_ATOMIC_STORE. * tree.h (OMP_DIRECTIVE_P): Add OMP_ATOMIC_LOAD, OMP_ATOMIC_STORE. * gimple-low.c (lower_stmt): Same. * gimplify.c (gimplify_expr): Same. (gimplify_omp_atomic_fetch_op, gimplify_omp_atomic_pipeline, gimplify_omp_atomic_mutex): Remove. (gimplify_omp_atomic): Change it to simply gimplify the statement instead of expanding it. * omp-low.c: Add includes to optabs.h, cfgloop.h. (expand_omp_atomic, expand_omp_atomic_pipeline, goa_stabilize_expr, expand_omp_atomic_mutex, expand_omp_atomic_fetch_op): New functions to implement expansion of OMP_ATOMIC. (expand_omp, build_omp_regions_1): Add support for OMP_ATOMIC_LOAD/OMP_ATOMIC_STORE. * tree-cfg.c (make_edges): add case for OMP_ATOMIC_LOAD, OMP_ATOMIC_STORE. * tree-gimple.c (is_gimple_stmt): Add OMP_ATOMIC_LOAD, OMP_ATOMIC_STORE. * tree-parloops.c: add include to tree-vectorizer.h. (reduction_info): New structure for reduction. (reduction_list): New list to represent list of reductions per loop. (struct data_arg): New helper structure for reduction. (reduction_info_hash, reduction_info_eq, reduction_phi, initialize_reductions, create_call_for_reduction, create_phi_for_local_result, create_call_for_reduction_1, create_loads_for_reductions, create_final_loads_for_reduction): New functions. (loop_parallel_p): Identify reductions, add reduction_list parameter. (separate_decls_in_loop_name): Support reduction variables. (separate_decls_in_loop): Add reduction_list and ld_st_data arguments, call create_loads_for_reduction for each reduction. (canonicalize_loop_ivs): Identify reductions, add reduction_list parameter. (transform_to_exit_first_loop): Add reduction support, add reduction_list parameter. (gen_parallel_loop): Add reduction_list parameter. Add call separate_decls_in_loop with the new argument. Traverse reductions and call initialize_reductions, create_call_for_reduction. (parallelize_loops): Create and delete the reduction list. (add_field_for_name): Change use of data parameter. Add fields for reductions. * tree-vectorizer.h (vect_analyze_loop_form): Add declaration. * tree-vect-analyze.c (vect_analyze_loop_form): export it. * tree.def: Add definitions for OMP_ATOMIC_LOAD, OMP_ATOMIC_STORE. * tree-inline.c (estimate_num_insns_1): add cases for OMP_ATOMIC_LOAD, OMP_ATOMIC_STORE. * tree-cfg.c (make_edges): Add OMP_ATOMIC_LOAD, OMP_ATOMIC_STORE. * tree-ssa-operands.c (get_addr_dereference_operands): New function. Subroutine of get_indirect_ref_operands. (get_indirect_ref_operands): Call get_addr_dereference_operands. (get_expr_operands): Support OMP_ATOMIC_LOAD, OMP_ATOMIC_STORE. From-SVN: r129716
2007-10-29stl_algobase.h (_GLIBCXX_MOVE3, [...]): Add.Paolo Carlini8-8/+231
2007-10-28 Paolo Carlini <pcarlini@suse.de> * include/bits/stl_algobase.h (_GLIBCXX_MOVE3, _GLIBCXX_MOVE_BACKWARD3): Add. * include/bits/stl_iterator.h (_GLIBCXX_MAKE_MOVE_ITERATOR): Add. * include/bits/vector.tcc (vector<>::reserve): Use the latter. (vector<>::erase): Use _GLIBCXX_MOVE3. * include/bits/deque.tcc (deque<>::erase): Use _GLIBCXX_MOVE3 and _GLIBCXX_MOVE_BACKWARD3. * testsuite/23_containers/vector/modifiers/erase/moveable.cc: New. * testsuite/23_containers/vector/capacity/reserve/moveable.cc: New. * testsuite/23_containers/deque/modifiers/erase/moveable.cc: New. From-SVN: r129714
2007-10-29cris.c: Include df.h.Hans-Peter Nilsson2-28/+41
* config/cris/cris.c: Include df.h. (cris_address_cost): Add gcc_assert for canonicalization assumptions. For PLUS with MULT or register, correct test for register in other arm. Tweak comments. From-SVN: r129713
2007-10-29Daily bump.GCC Administrator1-1/+1
From-SVN: r129711
2007-10-29re PR c++/30659 (ICE in undefined template)Paolo Carlini4-0/+21
cp/ 2007-10-28 Paolo Carlini <pcarlini@suse.de> Mark Mitchell <mark@codesourcery.com> PR c++/30659 * pt.c (do_decl_instantiation): If the VAR_DECL is not a class member error out and return. testsuite/ 2007-10-28 Paolo Carlini <pcarlini@suse.de> Mark Mitchell <mark@codesourcery.com> PR c++/30659 * g++.dg/template/crash71.C: New. Co-Authored-By: Mark Mitchell <mark@codesourcery.com> From-SVN: r129710
2007-10-28tree-ssa-operands.c (add_vars_for_offset): Add parameter telling if the var ↵Richard Guenther2-7/+20
is to be treated as points-to location. 2007-10-28 Richard Guenther <rguenther@suse.de> * tree-ssa-operands.c (add_vars_for_offset): Add parameter telling if the var is to be treated as points-to location. (add_vars_for_bitmap): Pass true to add_vars_for_offset. (add_virtual_operand): Only recurse into MPTs if aliases is from a NMT. From-SVN: r129704
2007-10-28tree-ssa-operands.c (add_vars_for_offset): Clean and speed up.Richard Guenther2-46/+69
2007-10-28 Richard Guenther <rguenther@suse.de> * tree-ssa-operands.c (add_vars_for_offset): Clean and speed up. (add_vars_for_bitmap): Do not recurse further. Only add vars for pointed-to SFTs. (add_virtual_operand): Re-instantiate loop to add operands for aliases. Recurse into MPTs. (get_indirect_ref_operands): If we fall back to use a pointers SMT, make sure to not prune based on the access offset and size. From-SVN: r129702
2007-10-28re PR fortran/32147 (Module file change due to order of writting out changes)Tobias Schlüter5-31/+53
fortran/ PR fortran/32147 * module.c (write_symbol): Fix whitespace. (write_symbol0): Walk symtree from left-to-right instead breadth-first. (write_symbol1): Similarly change walk of pointer info tree. (write_module): Insert linebreak. * symbol.c (gfc_traverse_symtree): Change to left-to-right order. (traverse_ns): Likewise. testsuite/ PR fortran/32147 * gfortran.dg/module_md5_1.f90: Update hash-value. From-SVN: r129701
2007-10-28re PR middle-end/33589 (ICE on valid code at -O2: verify_flow_info failed)Andrew Pinski5-1/+53
2007-10-28 Andrew Pinski <pinskia@gmail.com> PR tree-opt/33589 * tree-outof-ssa.c (rewrite_trees): If the statement changed, cleanup the eh information on the statement. 2007-10-28 Andrew Pinski <pinskia@gmail.com> PR tree-opt/33589 * g++.dg/torture/pr33589-1.C: New testcase. * g++.dg/torture/pr33589-2.C: New testcase. From-SVN: r129700
2007-10-28tree-flow.h (subvar_t): Make it a VEC.Richard Guenther11-83/+120
2007-10-28 Richard Guenther <rguenther@suse.de> * tree-flow.h (subvar_t): Make it a VEC. (struct subvar): Remove. (struct var_ann_d): Use VEC(tree,gc) to store subvars. * tree-flow-inline.h (get_subvar_at): Adjust iterators over variable subvars. * tree-into-ssa.c (mark_sym_for_renaming): Likewise. * tree-nrv.c (dest_safe_for_nrv_p): Likewise. * tree-ssa-alias.c (mark_aliases_call_clobbered): Likewise. (set_initial_properties): Likewise. (setup_pointers_and_addressables): Likewise. (new_type_alias): Likewise. (create_overlap_variables_for): Likewise. * tree-dfa.c (dump_subvars_for): Likewise. * tree-ssa-operands.c (add_vars_for_offset): Likewise. (get_expr_operands): Likewise. (add_to_addressable_set): Likewise. * tree-ssa-structalias.c (set_uids_in_ptset): Likewise. * gcc.dg/tree-ssa/alias-15.c: Adjust pattern. From-SVN: r129699
2007-10-28stl_uninitialized.h (uninitialized_copy): Use ::new and value_type per the ↵Paolo Carlini6-16/+85
letter of the standard. 2007-10-28 Paolo Carlini <pcarlini@suse.de> * include/bits/stl_uninitialized.h (uninitialized_copy): Use ::new and value_type per the letter of the standard. * testsuite/20_util/specialized_algorithms/uninitialized_copy/ move_iterators/1.cc: New. * testsuite/20_util/specialized_algorithms/16505.cc: Move to... * testsuite/20_util/specialized_algorithms/uninitialized_fill_n/ 16505.cc: ... here. * testsuite/20_util/specialized_algorithms/32158.cc: Move to... * testsuite/20_util/specialized_algorithms/uninitialized_fill/ 32158.cc: ... here. * include/bits/stl_construct.h (_Construct(_T1*)): Remove, unused. From-SVN: r129698
2007-10-28re PR tree-optimization/33920 (Segfault in combine_blocks/tree-if-conv.c)Uros Bizjak4-2/+74
PR tree-optimization/33920 * tree-if-conv.c (tree_if_conversion): Force predicate of single successor bb to true when predecessor bb has NULL predicate. (find_phi_replacement_condition): Assert that tmp_cond is non-null. testsuite/ChangeLog: PR tree-optimization/33920 * gcc.dg/tree-ssa/pr33290.c: New test. From-SVN: r129696
2007-10-28mips.md: Add combiner patterns for DImode extensions of HImode and QImode ↵Richard Sandiford2-32/+43
truncations. gcc/ * config/mips/mips.md: Add combiner patterns for DImode extensions of HImode and QImode truncations. Reformat HImode <- QImode pattern for consistency. From-SVN: r129695
2007-10-28re PR target/33895 (mips.c:6868: error: 'mips_output_dwarf_dtprel' defined ↵Richard Sandiford2-1/+6
but not used) gcc/ PR target/33895 * config/mips/mips.c (mips_output_dwarf_dtprel): Add ATTRIBUTE_UNUSED. From-SVN: r129694
2007-10-28dce.c (delete_unmarked_insns): Just delete the RETVAL and LIBCALL notes if...Andreas Krebbel2-4/+16
2007-10-28 Andreas Krebbel <krebbel1@de.ibm.com> * dce.c (delete_unmarked_insns): Just delete the RETVAL and LIBCALL notes if they are about to be moved to the same insn. From-SVN: r129693
2007-10-28Daily bump.GCC Administrator1-1/+1
From-SVN: r129690
2007-10-27re PR regression/33926 (FAIL: gcc.dg/dfp/convert-dfp-round-thread.c ↵H.J. Lu3-7/+13
execution test) 2007-10-27 H.J. Lu <hongjiu.lu@intel.com> PR regression/33926 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls. * configure: Regenerated. From-SVN: r129687
2007-10-27re PR fortran/31306 (ICE with implicit character variables)Jerry DeLisle3-0/+53
2007-10-27 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR fortran/31306 * gfortran.dg/argument_check_7.f90: New test. * gfortran.dg/argument_check_8.f90: New test. From-SVN: r129686
2007-10-27re PR fortran/31306 (ICE with implicit character variables)Jerry DeLisle2-1/+33
2007-10-27 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR fortran/31306 * decl.c (char_len_param_value): Add check for conflicting attributes of function argument. From-SVN: r129685
2007-10-27i386-2.C: Include bmmintrin.h.Uros Bizjak4-11/+20
* g++.dg/other/i386-2.C: Include bmmintrin.h. Add -msse5 to dg-options. * gcc.target/i386/sse-13.c: Also include mm3dnow.h. Add "-march=k8 -m3dnow" to check 3dnow and 3dnowA intrinsics. * gcc.target/i386/sse-14.c: Ditto. From-SVN: r129684
2007-10-27error.c (reinit_cxx_pp): Initialize cxx_pp->enclosing_scope to ↵Jakub Jelinek2-1/+4
current_function_decl rather than 0. * error.c (reinit_cxx_pp): Initialize cxx_pp->enclosing_scope to current_function_decl rather than 0. From-SVN: r129683
2007-10-27re PR c++/33844 (Broken diagnostic: 'dotstar_expr/member_ref' not supported ↵Jakub Jelinek5-1/+35
by pp_cxx_unqualified_id) PR c++/33844 * cxx-pretty-print.c (pp_cxx_pm_expression) <case MEMBER_REF>: Print ->* rather than .*. * error.c (dump_expr): Handle MEMBER_REF and DOTSTAR_EXPR. * g++.dg/other/ptrmem8.C: New test. From-SVN: r129682
2007-10-27re PR c++/5247 (Memory eating infinite loop on default parameter in ↵Jason Merrill3-0/+30
constructor which is reference to class) PR c++/5247 * call.c (convert_default_arg): Detect recursion. From-SVN: r129681
2007-10-27re PR fortran/33862 (Support .FTN file extension for Fortran fixed-format ↵Tobias Burnus4-10/+23
source files) 2007-10-27 Tobias Burnus <burnus@net-b.de> PR fortran/33862 * lang-specs.h: Support .ftn and .FTN extension, use CPP for .FOR. * options.c (form_from_filename): Support .ftn extension. * gfortran.texi: Document support of .for and .ftn file extension. From-SVN: r129680
2007-10-27mk-kinds-h.sh: Change LANG=C to LC_ALL=C.Tobias Burnus2-2/+6
2007-10-27 Tobias Burnus <burnus@net-b.de> * mk-kinds-h.sh: Change LANG=C to LC_ALL=C. From-SVN: r129679
2007-10-27stl_algobase.h (struct __miter_base): Add.Paolo Carlini8-65/+269
2007-10-27 Paolo Carlini <pcarlini@suse.de> * include/bits/stl_algobase.h (struct __miter_base): Add. (__copy_move_a2, __copy_move_backward_a2): Add. (copy, copy_backward, move, move_backward): Adjust, call *a2 helpers. * include/bits/cpp_type_traits.h (struct __is_move_iterator): Add. * include/bits/streambuf_iterator.h (__copy_move_a<>): Rename to __copy_move_a2. * include/std/streambuf (friend __copy_move_a<>): Likewise. * testsuite/25_algorithms/copy/move_iterators/1.cc: New. * testsuite/25_algorithms/copy_backward/move_iterators/1.cc: Likewise. * include/bits/stl_iterator.h (__normal_iterator<>::_Iterator_type): Rename to iterator_type. From-SVN: r129678
2007-10-27re PR c++/33842 (Broken diagnostic: 'offsetof_expr' not supported by dump_expr)Jakub Jelinek6-0/+97
PR c++/33842 * cxx-pretty-print.h (pp_cxx_offsetof_expression): New prototype. * cxx-pretty-print.c (pp_cxx_primary_expression): Handle OFFSETOF_EXPR. (pp_cxx_offsetof_expression_1, pp_cxx_offsetof_expression): New functions. * error.c (dump_expr): Handle OFFSETOF_EXPR. * g++.dg/template/error34.C: New test. From-SVN: r129677
2007-10-27ivopts-1.C: Also search for "offset: 4294967292".Uros Bizjak2-1/+5
* g++.dg/tree-ssa/ivopts-1.C: Also search for "offset: 4294967292". From-SVN: r129676
2007-10-27re PR tree-optimization/33870 (miscompiles sqlite)Richard Guenther5-61/+168
2007-10-27 Richard Guenther <rguenther@suse.de> PR tree-optimization/33870 * tree-ssa-operands.c (add_vars_for_offset): Reduce code duplication. Remove redundant call to access_can_touch_variable. (add_vars_for_bitmap): New helper for recursing over MPT contents. (add_virtual_operand): Use it. * gcc.dg/tree-ssa/alias-15.c: New testcase. * gcc.c-torture/execute/pr33870.c: Likewise. From-SVN: r129675
2007-10-27re PR fortran/33162 (INTRINSIC functions as ACTUAL argument)Jerry DeLisle2-0/+57
2007-10-26 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR fortran/33162 * gfortran.dg/argument_checking_9.f90: New test. From-SVN: r129674
2007-10-27re PR fortran/33162 (INTRINSIC functions as ACTUAL argument)Jerry DeLisle4-30/+102
2007-10-26 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR fortran/33162 * intrinsic.h: Add prototypes for four new functions, gfc_check_datan2, gfc_check_dprod, gfc_check_fn_d, and gfc_check_x_yd. * intrinsic.c (add_functions): Add double precision checks for dabs, dacos, dacosh, dasin, dasinh, datan, datanh, datan2, dbesj0, dbesj1, dbesy0, dbesy1, dcos, dcosh, ddim, derf, derfc, dexp, dgamma, dlgama, dlog, dlog10, dmod, dsign, dsin, dsinh, dsqrt, dtan, and dtanh. Add real check dprod. * check.c (gfc_check_datan2): New function to check for double precision argumants. (gfc_check_dprod, gfc_check_fn_d, and gfc_check_x_yd): Ditto. From-SVN: r129673
2007-10-27throw_allocator.h (throw_allocator<>:: construct<>(pointer, _Args&&...)): Add.Paolo Carlini16-14/+451
2007-10-26 Paolo Carlini <pcarlini@suse.de> * include/ext/throw_allocator.h (throw_allocator<>:: construct<>(pointer, _Args&&...)): Add. * include/ext/pool_allocator.h (__pool_alloc<>:: construct<>(pointer, _Args&&...)): Likewise. (construct(pointer, const _Tp&)): Cast pointer to void*. * include/ext/bitmap_allocator.h (bitmap_allocator<>:: construct<>(pointer, _Args&&...)): Add. (construct(pointer, const _Tp&)): Cast pointer to void*. * include/ext/new_allocator.h (new_allocator<>:: construct<>(pointer, _Args&&...)): Add. (construct(pointer, const _Tp&)): Cast pointer to void*. * include/ext/malloc_allocator.h (malloc_allocator<>:: construct<>(pointer, _Args&&...)): Add. (construct(pointer, const _Tp&)): Cast pointer to void*. * include/ext/array_allocator.h (array_allocator<>:: construct<>(pointer, _Args&&...)): Add. (construct(pointer, const _Tp&)): Cast pointer to void*. * include/ext/mt_allocator.h (__mt_alloc<>:: construct<>(pointer, _Args&&...)): Add. (construct(pointer, const _Tp&)): Cast pointer to void*. * testsuite/util/testsuite_allocator.h (tracker_allocator<>:: construct<>(pointer, _Args&&...)): Add. (construct(pointer, const _Tp&)): Cast pointer to void*. (uneq_allocator<>::construct<>(pointer, _Args&&...)): Add. (construct(pointer, const _Tp&)): Cast pointer to void*. * testsuite/ext/mt_allocator/variadic_construct.cc: New. * testsuite/ext/new_allocator/variadic_construct.cc: Likewise. * testsuite/ext/throw_allocator/variadic_construct.cc: Likewise. * testsuite/ext/malloc_allocator/variadic_construct.cc: Likewise. * testsuite/ext/pool_allocator/variadic_construct.cc: Likewise. * testsuite/ext/bitmap_allocator/variadic_construct.cc: Likewise. * testsuite/ext/array_allocator/variadic_construct.cc: Likewise. From-SVN: r129672
2007-10-27re PR fortran/31608 (wrong types in character array/scalar binop)John David Anglin2-3/+5
PR fortran/31608 * pa.h (ASM_PN_FORMAT): Delete define. From-SVN: r129671
2007-10-27Daily bump.GCC Administrator1-1/+1
From-SVN: r129669
2007-10-26invoke.texi (Option Summary, [...]): Remove -fbounds-check.Janis Johnson2-19/+33
* doc/invoke.texi (Option Summary, optimizations): Remove -fbounds-check. Add -fassociative-math, -freciprocal-math, -ftree-vrp and -funit-at-a-time. Change -fno-split-wide-types to -fsplit-wide-types to match later entry. Break up a long line. (Option Summary, code gen options) Add -fno-stack-limit. Add missing @gol to the end of a line. (Optimization Options): Remove -fbounds-check, which is also documented under Code Generation Options. Remove =n from index entry for -ftree-parallelize-loops. Change -fno-cprop-registers to -fcprop-registers to match other options, and say when it is enabled rather than disabled. Remove extra index entry for -fno-cx-limited-range. Add index entries for -fstack-protector and -fstack-protector-all. (Code Gen Options): Add index entry for -ftls-model. From-SVN: r129664
2007-10-26invoke.texi: Fix typo in -fmax-errors=.Jerry DeLisle2-2/+6
2007-10-26 Jerry DeLisle <jvdelisle@gcc.gnu.org> * invoke.texi: Fix typo in -fmax-errors=. From-SVN: r129663
2007-10-27avr.c (avr_OS_task_function_p): Add new function.Anatoly Sokolov5-53/+40
* config/avr/avr.c (avr_OS_task_function_p): Add new function. (avr_regs_to_save): Handle functions with 'OS_task' attribute. (avr_simple_epilogue, expand_prologue, avr_asm_function_end_prologue, expand_epilogue, output_movhi): Don't handle 'main' function. (avr_attribute_table): Add 'OS_task' function attribute. * config/avr/avr.h (machine_function): Remove 'is_main' field, add 'is_OS_task' field. * config/avr/avr.md (return_from_main_epilogue): Remove insn. (return_from_epilogue, return_from_interrupt_epilogue): Don't handle 'main' function. * config/avr/avr.opt (minit-stack): Remove. From-SVN: r129662
2007-10-26tree-nested.c (get_trampoline_type): Fix thinko.Eric Botcazou2-6/+10
* tree-nested.c (get_trampoline_type): Fix thinko. From-SVN: r129661
2007-10-26re PR c++/24791 (ICE on invalid instantiation of template's static member)Jason Merrill5-34/+65
PR c++/24791 * pt.c (get_template_info): New fn. (template_class_depth): Use it. (push_template_decl_real): Check that the template args of the definition match the args of the previous declaration. From-SVN: r129660
2007-10-26re PR c++/33601 (ICE with pointers to members using "const C" as the class ↵Douglas Gregor4-2/+20
identifier) 2007-10-26 Douglas Gregor <doug.gregor@gmail.com> PR c++/33601 * tree.c (build_offset_type): Build canonical type based on the TYPE_MAIN_VARIANT of the base type. 2007-10-26 Douglas Gregor <doug.gregor@gmail.com> * g++.dg/other/pr33601.C: New. From-SVN: r129659
2007-10-26mk-kinds-h.sh: Add "LANG=C".Tobias Burnus2-0/+6
2007-10-26 Tobias Burnus <burnus@net-b.de> * mk-kinds-h.sh: Add "LANG=C". From-SVN: r129658
2007-10-26re PR c++/31988 (new operator should not permit default first parameter)Paolo Carlini4-7/+65
cp/ 2007-10-26 Paolo Carlini <pcarlini@suse.de> PR c++/31988 * decl2.c (coerce_new_type): Do not allow a default argument for the first parameter. testsuite/ 2007-10-26 Paolo Carlini <pcarlini@suse.de> PR c++/31988 * g++.dg/init/new25.C: New. From-SVN: r129657
2007-10-26re PR c++/33839 (ICE with decltype)Douglas Gregor4-9/+30
2007-10-26 Douglas Gregor <doug.gregor@gmail.com> PR c++/33839 * parser.c (cp_parser_decltype): Return ERROR_MARK_NODE if we don't see the leading '('. Only lookup names if we get an IDENTIFIER_NODE. 2007-10-26 Douglas Gregor <doug.gregor@gmail.com> * g++.dg/cpp0x/pr33839.C: New. From-SVN: r129656
2007-10-26unordered_map: Fix for parallel mode.Benjamin Kosnik3-2/+7
2007-10-26 Benjamin Kosnik <bkoz@redhat.com> * include/std/unordered_map: Fix for parallel mode. * include/std/unordered_set: Same. From-SVN: r129654