OSDN Git Service

pf3gnuchains/gcc-fork.git
16 years ago2007-10-28 Richard Guenther <rguenther@suse.de>
rguenth [Sun, 28 Oct 2007 19:03:05 +0000 (19:03 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129702 138bc75d-0d04-0410-961f-82ee72b054a4

16 years agofortran/
tobi [Sun, 28 Oct 2007 18:53:27 +0000 (18:53 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129701 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago2007-10-28 Andrew Pinski <pinskia@gmail.com>
pinskia [Sun, 28 Oct 2007 17:00:54 +0000 (17:00 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129700 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago2007-10-28 Richard Guenther <rguenther@suse.de>
rguenth [Sun, 28 Oct 2007 16:14:44 +0000 (16:14 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129699 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago2007-10-28 Paolo Carlini <pcarlini@suse.de>
paolo [Sun, 28 Oct 2007 16:03:06 +0000 (16:03 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129698 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago PR tree-optimization/33920
uros [Sun, 28 Oct 2007 14:57:50 +0000 (14:57 +0000)]
    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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129696 138bc75d-0d04-0410-961f-82ee72b054a4

16 years agogcc/
rsandifo [Sun, 28 Oct 2007 11:37:50 +0000 (11:37 +0000)]
gcc/
* config/mips/mips.md: Add combiner patterns for DImode extensions
of HImode and QImode truncations.  Reformat HImode <- QImode pattern
for consistency.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129695 138bc75d-0d04-0410-961f-82ee72b054a4

16 years agogcc/
rsandifo [Sun, 28 Oct 2007 11:19:49 +0000 (11:19 +0000)]
gcc/
PR target/33895
* config/mips/mips.c (mips_output_dwarf_dtprel): Add ATTRIBUTE_UNUSED.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129694 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago2007-10-28 Andreas Krebbel <krebbel1@de.ibm.com>
krebbel [Sun, 28 Oct 2007 10:14:21 +0000 (10:14 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129693 138bc75d-0d04-0410-961f-82ee72b054a4

16 years agoDaily bump.
gccadmin [Sun, 28 Oct 2007 00:17:15 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129690 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago2007-10-27 H.J. Lu <hongjiu.lu@intel.com>
hjl [Sat, 27 Oct 2007 23:22:57 +0000 (23:22 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129687 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago2007-10-27 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Sat, 27 Oct 2007 18:25:43 +0000 (18:25 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129686 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago2007-10-27 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Sat, 27 Oct 2007 17:59:59 +0000 (17:59 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129685 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago * g++.dg/other/i386-2.C: Include bmmintrin.h. Add -msse5 to dg-options.
uros [Sat, 27 Oct 2007 16:17:49 +0000 (16:17 +0000)]
    * 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129684 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago * error.c (reinit_cxx_pp): Initialize cxx_pp->enclosing_scope
jakub [Sat, 27 Oct 2007 15:56:49 +0000 (15:56 +0000)]
* error.c (reinit_cxx_pp): Initialize cxx_pp->enclosing_scope
to current_function_decl rather than 0.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129683 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago PR c++/33844
jakub [Sat, 27 Oct 2007 15:55:34 +0000 (15:55 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129682 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago PR c++/5247
jason [Sat, 27 Oct 2007 15:19:45 +0000 (15:19 +0000)]
    PR c++/5247
        * call.c (convert_default_arg): Detect recursion.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129681 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago2007-10-27 Tobias Burnus <burnus@net-b.de>
burnus [Sat, 27 Oct 2007 14:43:53 +0000 (14:43 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129680 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago2007-10-27 Tobias Burnus <burnus@net-b.de>
burnus [Sat, 27 Oct 2007 14:07:14 +0000 (14:07 +0000)]
2007-10-27  Tobias Burnus  <burnus@net-b.de>

       * mk-kinds-h.sh: Change LANG=C to LC_ALL=C.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129679 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago2007-10-27 Paolo Carlini <pcarlini@suse.de>
paolo [Sat, 27 Oct 2007 12:07:04 +0000 (12:07 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129678 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago PR c++/33842
jakub [Sat, 27 Oct 2007 11:58:26 +0000 (11:58 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129677 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago * g++.dg/tree-ssa/ivopts-1.C: Also search for "offset: 4294967292".
uros [Sat, 27 Oct 2007 11:54:19 +0000 (11:54 +0000)]
    * g++.dg/tree-ssa/ivopts-1.C: Also search for "offset: 4294967292".

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129676 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago2007-10-27 Richard Guenther <rguenther@suse.de>
rguenth [Sat, 27 Oct 2007 11:10:09 +0000 (11:10 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129675 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago2007-10-26 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Sat, 27 Oct 2007 00:57:26 +0000 (00:57 +0000)]
2007-10-26  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR fortran/33162
* gfortran.dg/argument_checking_9.f90: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129674 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago2007-10-26 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Sat, 27 Oct 2007 00:54:20 +0000 (00:54 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129673 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago2007-10-26 Paolo Carlini <pcarlini@suse.de>
paolo [Sat, 27 Oct 2007 00:41:21 +0000 (00:41 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129672 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago PR fortran/31608
danglin [Sat, 27 Oct 2007 00:21:02 +0000 (00:21 +0000)]
PR fortran/31608
* pa.h (ASM_PN_FORMAT): Delete define.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129671 138bc75d-0d04-0410-961f-82ee72b054a4

16 years agoDaily bump.
gccadmin [Sat, 27 Oct 2007 00:17:28 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129669 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago * doc/invoke.texi (Option Summary, optimizations): Remove
janis [Fri, 26 Oct 2007 22:03:57 +0000 (22:03 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129664 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago2007-10-26 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Fri, 26 Oct 2007 21:59:07 +0000 (21:59 +0000)]
2007-10-26  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

* invoke.texi: Fix typo in -fmax-errors=.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129663 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago * config/avr/avr.c (avr_OS_task_function_p): Add new function.
aesok [Fri, 26 Oct 2007 21:36:25 +0000 (21:36 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129662 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago * tree-nested.c (get_trampoline_type): Fix thinko.
ebotcazou [Fri, 26 Oct 2007 21:20:36 +0000 (21:20 +0000)]
* tree-nested.c (get_trampoline_type): Fix thinko.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129661 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago PR c++/24791
jason [Fri, 26 Oct 2007 19:54:10 +0000 (19:54 +0000)]
    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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129660 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago2007-10-26 Douglas Gregor <doug.gregor@gmail.com>
dgregor [Fri, 26 Oct 2007 19:34:03 +0000 (19:34 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129659 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago2007-10-26 Tobias Burnus <burnus@net-b.de>
burnus [Fri, 26 Oct 2007 19:01:42 +0000 (19:01 +0000)]
2007-10-26  Tobias Burnus  <burnus@net-b.de>

       * mk-kinds-h.sh: Add "LANG=C".

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129658 138bc75d-0d04-0410-961f-82ee72b054a4

16 years agocp/
paolo [Fri, 26 Oct 2007 18:32:41 +0000 (18:32 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129657 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago2007-10-26 Douglas Gregor <doug.gregor@gmail.com>
dgregor [Fri, 26 Oct 2007 17:53:56 +0000 (17:53 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129656 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago2007-10-26 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Fri, 26 Oct 2007 14:38:12 +0000 (14:38 +0000)]
2007-10-26  Benjamin Kosnik  <bkoz@redhat.com>

* include/std/unordered_map: Fix for parallel mode.
* include/std/unordered_set: Same.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129654 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago * reorg.c (emit_delay_sequence): Move insn locator from the
drow [Fri, 26 Oct 2007 12:19:34 +0000 (12:19 +0000)]
* reorg.c (emit_delay_sequence): Move insn locator from the
first insn to the sequence.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129651 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago PR c++/33744
jakub [Fri, 26 Oct 2007 11:57:46 +0000 (11:57 +0000)]
PR c++/33744
* parser.c (cp_parser_parenthesized_expression_list): Set
greater_than_is_operator_p to true in between the parens.

* g++.dg/template/arg6.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129648 138bc75d-0d04-0410-961f-82ee72b054a4

16 years agocp/
paolo [Fri, 26 Oct 2007 09:57:12 +0000 (09:57 +0000)]
cp/
2007-10-26  Paolo Carlini  <pcarlini@suse.de>

PR c++/31747
* decl.c (grokdeclarator): In case of conflicting specifiers
just return error_mark_node.

testsuite/
2007-10-26  Paolo Carlini  <pcarlini@suse.de>

PR c++/31747
* g++.dg/parse/crash39.C: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129647 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago * g++.dg/tree-ssa/ivopts-1.C: Remove xfail on the search for
uros [Fri, 26 Oct 2007 08:33:39 +0000 (08:33 +0000)]
* g++.dg/tree-ssa/ivopts-1.C: Remove xfail on the search for
"&x\\\[5\\\]" pattern.  Search for "offset: 0x0f+fc" insetad of
"offset: -4B".

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129646 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago gcc/cp/
aaw [Fri, 26 Oct 2007 08:19:14 +0000 (08:19 +0000)]
gcc/cp/
* expr.c (cxx_expand_expr): Removed.
* cp-tree.h (exx_expand_expr): Removed.
* cp-objcp-common.h (LANK_HOOKS_EXPAND_EXPR): Replace cxx_expand_expr
with c_expand_expr.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129645 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago * ipa-pure-const.c (check_decl): Return immediately when
uros [Fri, 26 Oct 2007 07:08:05 +0000 (07:08 +0000)]
    * ipa-pure-const.c (check_decl): Return immediately when
        pure_const_state has been set to IPA_NEITHER.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129644 138bc75d-0d04-0410-961f-82ee72b054a4

16 years agoDaily bump.
gccadmin [Fri, 26 Oct 2007 00:17:11 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129642 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago * g++.dg/tree-ssa/copyprop-1.C: Remove xfail.
daney [Fri, 26 Oct 2007 00:06:51 +0000 (00:06 +0000)]
* g++.dg/tree-ssa/copyprop-1.C: Remove xfail.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129639 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago2007-10-25 Paolo Carlini <pcarlini@suse.de>
paolo [Thu, 25 Oct 2007 23:42:49 +0000 (23:42 +0000)]
2007-10-25  Paolo Carlini  <pcarlini@suse.de>

PR c++/33843
* cxx-pretty-print.c (pp_cxx_unqualified_id): Deal with BIT_NOT_EXPR.

2007-10-25  Paolo Carlini  <pcarlini@suse.de>

PR c++/33843
* g++.dg/template/error32.C: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129637 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago * libgfortran.h (GFC_REAL_*_HUGE, GFC_REAL_*_DIGITS,
fxcoudert [Thu, 25 Oct 2007 23:32:07 +0000 (23:32 +0000)]
* libgfortran.h (GFC_REAL_*_HUGE, GFC_REAL_*_DIGITS,
GFC_REAL_*_RADIX): Remove.
* mk-kinds-h.sh: Define GFC_REAL_*_HUGE, GFC_REAL_*_DIGITS and
GFC_REAL_*_RADIX. Don't define GFC_REAL_LARGEST_FORMAT and
GFC_REAL_LARGEST.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129636 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago PR fortran/29784
fxcoudert [Thu, 25 Oct 2007 23:27:12 +0000 (23:27 +0000)]
PR fortran/29784
* gfortran.texi: Document that there is no logical/integer
conversion performed during I/O operations.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129635 138bc75d-0d04-0410-961f-82ee72b054a4

16 years agoUpdate my email address.
devans [Thu, 25 Oct 2007 21:07:12 +0000 (21:07 +0000)]
Update my email address.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129633 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago PR libgomp/33275
jakub [Thu, 25 Oct 2007 20:25:12 +0000 (20:25 +0000)]
PR libgomp/33275
* testsuite/libgomp.fortran/omp_parse3.f90 (test_threadprivate):
Make x and y integers rather than (implicit) reals.  Add private (j)
clause to the last omp parallel.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129631 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago2007-10-25 Andreas Tobler <a.tobler@schweiz.org>
andreast [Thu, 25 Oct 2007 20:22:40 +0000 (20:22 +0000)]
2007-10-25  Andreas Tobler  <a.tobler@schweiz.org>

* include/Makefile.am (parallel_headers): Remove timing.h.
* include/Makefile.in: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129630 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago2007-10-25 Johannes Singler <singler@ira.uka.de>
singler [Thu, 25 Oct 2007 17:07:56 +0000 (17:07 +0000)]
2007-10-25  Johannes Singler  <singler@ira.uka.de>

      * include/parallel/multiway_merge.h: Removed Timing<inactive_tag>
      * include/parallel/random_shuffle.h: Same
      * include/parallel/set_operations.h: Same
      * include/parallel/tree.h: Same
      * include/parallel/multiway_mergesort.h: Same
      * include/parallel/timing.h: Removed completely

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129629 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago PR tree-optimization/33833
irar [Thu, 25 Oct 2007 16:41:45 +0000 (16:41 +0000)]
PR tree-optimization/33833
* tree-vect-analyze.c (vect_analyze_data_refs): Use POINTER_PLUS_EXPR
and convert init to sizetype in inner_base construction.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129628 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago * gcc.dg/tree-ssa/20040204-1.c: Un-xfail for mips*-*-*.
daney [Thu, 25 Oct 2007 16:11:27 +0000 (16:11 +0000)]
* gcc.dg/tree-ssa/20040204-1.c: Un-xfail for mips*-*-*.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129627 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago2007-10-25 Richard Guenther <rguenther@suse.de>
rguenth [Thu, 25 Oct 2007 12:38:38 +0000 (12:38 +0000)]
2007-10-25  Richard Guenther  <rguenther@suse.de>

* tree-flow.h (mem_sym_stats): Remove.
(dump_mem_sym_stats_for_var): Declare.
* tree-dfa.c (dump_variable): Call dump_mem_sym_stats_for_var.
(mem_sym_stats): Move ...
* tree-ssa-alias.c (mem_sym_stats): ... here and make it static.
(mem_sym_score): Rename from ...
(pscore): ... this.  Remove.
(dump_mem_sym_stats_for_var): New function.  Dump the score, but
not the frequencies.
(compare_mp_info_entries): Make sort stable by disambiguating
on DECL_UID.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129625 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago2007-10-25 Paolo Carlini <pcarlini@suse.de>
paolo [Thu, 25 Oct 2007 10:11:58 +0000 (10:11 +0000)]
2007-10-25  Paolo Carlini  <pcarlini@suse.de>

* include/bits/stl_algo.h (__lg<>(_Size)): Slightly tweak.
(__lg(int), __lg(long), __lg(long long)): Add, overloads
exploiting __builtin_clz*.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129624 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago PR tree-optimization/33866
irar [Thu, 25 Oct 2007 07:25:55 +0000 (07:25 +0000)]
PR tree-optimization/33866
* tree-vect-transform.c (vectorizable_store): Check operands of all the
stmts in the group of strided accesses. Get def stmt type for each store
in the group and pass it to vect_get_vec_def_for_stmt_copy ().

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129623 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago * config/i386/constraints.md (Y0): Rename register constraint to Yz.
uros [Thu, 25 Oct 2007 05:41:37 +0000 (05:41 +0000)]
    * config/i386/constraints.md (Y0): Rename register constraint to Yz.
        (Yt): Rename register constraint to Y2.
        * config/i386/sse.md: Use renamed register constraints.
        * config/i386/mmx.md: Ditto.
        * config/i386/i386.md: Ditto.

        * config/i386/i386.md (*dummy_extendsfdf2): Fix operand 1 constraint.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129622 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago * MAINTAINERS (mercury): Remove entry.
bje [Thu, 25 Oct 2007 01:19:52 +0000 (01:19 +0000)]
* MAINTAINERS (mercury): Remove entry.
(Write After Approval): Add Fergus Henderson <fjh@cs.mu.oz.au>.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129621 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago * dwarf2out.c (base_type_die): Use DW_ATE_unsigned_fixed or
chaoyingfu [Thu, 25 Oct 2007 01:02:35 +0000 (01:02 +0000)]
* dwarf2out.c (base_type_die): Use DW_ATE_unsigned_fixed or
DW_ATE_signed_fixed to describe FIXED_POINT_TYPE.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129620 138bc75d-0d04-0410-961f-82ee72b054a4

16 years agoDaily bump.
gccadmin [Thu, 25 Oct 2007 00:17:27 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129618 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago2007-10-24 Samuel Tardieu <sam@rfc1149.net>
olga [Wed, 24 Oct 2007 21:49:27 +0000 (21:49 +0000)]
2007-10-24  Samuel Tardieu  <sam@rfc1149.net>
            Olga Golovanevsky <olga@il.ibm.com>

* ipa-struct-reorg.c (replace_field_acc): Make it clear to
the compiler that wr.wrap and wr.domain are initialized in
any case.

2007-10-24  Samuel Tardieu  <sam@rfc1149.net>

* ipa-struct-reorg.c (sum_counts): Use HOST_WIDEST_PRINT_DEC
to print gcov_type values.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129615 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago * config/avr/avr.h: Do not include progmem_section definition when
aesok [Wed, 24 Oct 2007 21:00:41 +0000 (21:00 +0000)]
* config/avr/avr.h: Do not include progmem_section definition when
building with IN_TARGET_LIBS.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129614 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago Forgot one file from my previous commit.
uros [Wed, 24 Oct 2007 20:57:14 +0000 (20:57 +0000)]
Forgot one file from my previous commit.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129613 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago * gcc.target/i386/pr11001-*.c: Remove -m32 from compile flags.
uros [Wed, 24 Oct 2007 20:55:28 +0000 (20:55 +0000)]
    * gcc.target/i386/pr11001-*.c: Remove -m32 from compile flags.
        Add -w to compile flags to suppress "call-clobbered register" warnings
        and remove dg-warning directives.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129612 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago * gcc.dg/sms-2.c: Cleanup sms dump file.
uros [Wed, 24 Oct 2007 20:23:35 +0000 (20:23 +0000)]
    * gcc.dg/sms-2.c: Cleanup sms dump file.
        * gcc.dg/tree-prof/tracer-1.c: Cleanup tracer dump file after the
        profile-use step.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129611 138bc75d-0d04-0410-961f-82ee72b054a4

16 years agocomment typo
jason [Wed, 24 Oct 2007 19:58:57 +0000 (19:58 +0000)]
comment typo

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129610 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago * gcc.dg/tree-ssa/update-threading.c: Remove xfail.
daney [Wed, 24 Oct 2007 18:02:34 +0000 (18:02 +0000)]
* gcc.dg/tree-ssa/update-threading.c: Remove xfail.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129608 138bc75d-0d04-0410-961f-82ee72b054a4

16 years agogcc/
rsandifo [Wed, 24 Oct 2007 17:52:16 +0000 (17:52 +0000)]
gcc/
PR target/33755
* config/mips/mips.c (mips_lo_sum_offset): New structure.
(mips_hash_base, mips_lo_sum_offset_hash, mips_lo_sum_offset_eq)
(mips_lo_sum_offset_lookup, mips_record_lo_sum)
(mips_orphaned_high_part_p: New functions.
(mips_avoid_hazard): Don't check INSN_P here.
(mips_avoid_hazards): Rename to...
(mips_reorg_process_insns): ...this.  Cope with
!TARGET_EXPLICIT_RELOCS.  Delete orphaned high-part relocations,
or turn them into nops.
(mips_reorg): Remove TARGET_EXPLICIT_RELOCS check from calls to
dbr_schedule and mips_avoid_hazards/mips_reorg_process_insns.
(mips_set_mips16_mode): Don't set flag_delayed_branch here.
(mips_override_options): Set flag_delayed_branch to 0.

gcc/testsuite/
PR target/33755
* gcc.target/mips/pr33755.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129606 138bc75d-0d04-0410-961f-82ee72b054a4

16 years agogcc/
rsandifo [Wed, 24 Oct 2007 17:46:39 +0000 (17:46 +0000)]
gcc/
* config/mips/mips.h (MOVE_MAX): Use UNITS_PER_WORD and describe
MIPS-specific implementation details.
(MIPS_MAX_MOVE_BYTES_PER_LOOP_ITER): New macro.
(MIPS_MAX_MOVE_BYTES_STRAIGHT): Likewise.
(MOVE_RATIO): Define to MIPS_MAX_MOVE_BYTES_STRAIGHT / UNITS_PER_WORD
for targets with movmemsi.
(MOVE_BY_PIECES_P): Define.
* config/mips/mips.c (MAX_MOVE_REGS, MAX_MOVE_BYTES): Delete.
(mips_block_move_loop): Add a bytes_per_iter argument.
(mips_expand_block_move): Use MIPS_MAX_MOVE_BYTES_STRAIGHT.
Update call to mips_block_move_loop.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129605 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago2007-10-24 Paolo Carlini <pcarlini@suse.de>
paolo [Wed, 24 Oct 2007 15:21:22 +0000 (15:21 +0000)]
2007-10-24  Paolo Carlini  <pcarlini@suse.de>

* include/tr1_impl/array (_M_instance): Align naturally.
* testsuite/ext/array_allocator/1.cc: Use ext/vstring,
more solid than our current basic_string vs alignment.
* testsuite/ext/array_allocator/2.cc: Likewise.
* testsuite/ext/array_allocator/3.cc: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129604 138bc75d-0d04-0410-961f-82ee72b054a4

16 years agocomment typo
jason [Wed, 24 Oct 2007 14:58:49 +0000 (14:58 +0000)]
comment typo

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129603 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago PR debug/33868
matz [Wed, 24 Oct 2007 12:54:24 +0000 (12:54 +0000)]
    PR debug/33868
        * var-tracking.c (variable_union): Don't break after one loop
        * iteration
        but only when a difference is found.
        (dump_variable): Also print DECL_UID.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129602 138bc75d-0d04-0410-961f-82ee72b054a4

16 years agoFogot to commit ipa-struct-reorg.c ipa-struct-reorg.h.
olga [Wed, 24 Oct 2007 12:48:41 +0000 (12:48 +0000)]
Fogot to commit ipa-struct-reorg.c ipa-struct-reorg.h.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129601 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago2007-10-24 Olga Golovanevsky <olga@il.ibm.com>
olga [Wed, 24 Oct 2007 10:36:30 +0000 (10:36 +0000)]
2007-10-24  Olga Golovanevsky  <olga@il.ibm.com>

      * ipa-type-escape.h: Expose function
      is_array_access_through_pointer_and_index.
      * ipa-type-escape.c
      (is_array_access_through_pointer_and_index):
      Add three new parameters. Add support of
      POINTER_PLUS_EXPR tree code.

2007-10-24  Olga Golovanevsky  <olga@il.ibm.com>

      * ipa-struct-reorg.c, ipa-struct-reorg.h: New files.
      * tree-pass.h: Add pass_ipa_struct_reorg.
      * common.opt: Add ipa-struct-reorg flag.
      * Makefile.in: Add ipa-strcut-reorg.o compilation.
      * passes.c: Add pass pass_ipa_struct_reorg.
      * params.h:  Add STRUCT_REORG_COLD_STRUCT_RATIO.
      * params.def: Add PARAM_STRUCT_REORG_COLD_STRUCT_RATIO.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129600 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago PR tree-optimization/33804
irar [Wed, 24 Oct 2007 09:35:00 +0000 (09:35 +0000)]
PR tree-optimization/33804
* tree-vect-transform.c (vectorizable_operation): Remove the
checks that the vectorization is worthwhile from the transformation
phase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129599 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago * tree-vect-analyze.c (vect_build_slp_tree): Return false if
irar [Wed, 24 Oct 2007 07:51:09 +0000 (07:51 +0000)]
* tree-vect-analyze.c (vect_build_slp_tree): Return false if
vectype cannot be determined for the scalar type.
(vect_analyze_slp_instance): Likewise.
* tree-vect-transform.c (vect_model_reduction_cost): Change the
return type to bool. Return false if vectype cannot be determined
for the scalar type.
(vect_get_constant_vectors): Return false if vectype cannot be
determined for the scalar type.
(get_initial_def_for_induction, vect_get_vec_def_for_operand,
get_initial_def_for_reduction, vect_create_epilog_for_reduction,
vectorizable_reduction): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129598 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago PR c++/25950 (DR 391)
jason [Wed, 24 Oct 2007 03:45:37 +0000 (03:45 +0000)]
    PR c++/25950 (DR 391)
        * call.c (struct conversion): Remove check_copy_constructor_p.
        (reference_binding): Always bind a reference directly to a
        compatible class rvalue.  Pass down LOOKUP_NO_TEMP_BIND during
        temporary creation.
        (check_constructor_callable): Remove.
        (convert_like_real): Don't call it.
        (initialize_reference): Don't call check_constructor_callable.
        (standard_conversion): Check LOOKUP_NO_CONVERSION instead of
        LOOKUP_CONSTRUCTOR_CALLABLE.  Don't require a temporary for base
        conversions if LOOKUP_NO_TEMP_BIND.
        (implicit_conversion): Pass through LOOKUP_NO_TEMP_BIND.
        (build_user_type_conversion_1): Pass through LOOKUP_NO_TEMP_BIND for
        second conversion.
        * cp-tree.h (LOOKUP_CONSTRUCTOR_CALLABLE): Remove.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129596 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago2007-10-23 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Wed, 24 Oct 2007 03:39:03 +0000 (03:39 +0000)]
2007-10-23  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR forrtran/33849
gfortran.dg/generic_actual_arg.f90: Fix dg-error message.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129595 138bc75d-0d04-0410-961f-82ee72b054a4

16 years agoDaily bump.
gccadmin [Wed, 24 Oct 2007 00:17:28 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129593 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago * config.gcc: For a FreeBSD target, parse the value of ${target}
rodrigc [Tue, 23 Oct 2007 23:53:31 +0000 (23:53 +0000)]
* config.gcc: For a FreeBSD target, parse the value of ${target}
to determine the value of FBSD_MAJOR, instead of adding an
explicit check for every possible FreeBSD major version.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129590 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago PR rtl-optimization/33846
uros [Tue, 23 Oct 2007 20:15:04 +0000 (20:15 +0000)]
    PR rtl-optimization/33846
        * combine.c (simplify_shift_const_1) [NOT]: Skip vector modes.

testsuite/ChangeLog:

        PR rtl-optimization/33846
        * gcc.dg/vect/pr33846.c: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129589 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago PR tree-optimization/33860
dorit [Tue, 23 Oct 2007 19:50:18 +0000 (19:50 +0000)]
    PR tree-optimization/33860
        * tree-vect-transform.c (vect_analyze_data_ref_access): Don't allow
        interleaved accesses in case the dr is inside the inner-loop during
        outer-loop vectorization.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129587 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago * doc/rtl.texi (Flags): Fix MEM_SCALAR_P entry.
ebotcazou [Tue, 23 Oct 2007 19:24:13 +0000 (19:24 +0000)]
* doc/rtl.texi (Flags): Fix MEM_SCALAR_P entry.
Document MEM_POINTER.  Replace mentions of "integrated"
field with "return_val".  Delete outdated stuff.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129584 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago * misc.c (gnat_handle_option): Replace call to abort with
ebotcazou [Tue, 23 Oct 2007 17:36:51 +0000 (17:36 +0000)]
* misc.c (gnat_handle_option): Replace call to abort with
call to gcc_unreachable.
(gnat_init): Likewise.
(gnat_expand_expr): Likewise.
(fp_prec_to_size): Likewise.
(fp_size_to_prec): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129583 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago * config/rs6000/rs6000.c (rs6000_override_options): Set
dje [Tue, 23 Oct 2007 17:12:01 +0000 (17:12 +0000)]
    * config/rs6000/rs6000.c (rs6000_override_options): Set
        rs6000_altivec_abi on AIX.
        (conditional_register_usage): Set VR20:31 fixed on AIX.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129582 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago * Makefile.def (dependencies): Make configure-gdb depend on
drow [Tue, 23 Oct 2007 15:53:18 +0000 (15:53 +0000)]
* Makefile.def (dependencies): Make configure-gdb depend on
all-intl.
* Makefile.in: Regenerated.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129581 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago2007-10-23 Richard Guenther <rguenther@suse.de>
rguenth [Tue, 23 Oct 2007 11:20:56 +0000 (11:20 +0000)]
2007-10-23  Richard Guenther  <rguenther@suse.de>

* alias.c (get_alias_set): For INDIRECT_REFs, deal with
SSA_NAME pointers.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129577 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago2007-10-23 Richard Guenther <rguenther@suse.de>
rguenth [Tue, 23 Oct 2007 08:54:56 +0000 (08:54 +0000)]
2007-10-23  Richard Guenther  <rguenther@suse.de>

        PR bootstrap/33608
        * tracebak.c: #undef abort after including system.h.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129576 138bc75d-0d04-0410-961f-82ee72b054a4

16 years agoSMS: Add new testcase
revitale [Tue, 23 Oct 2007 07:53:42 +0000 (07:53 +0000)]
SMS: Add new testcase

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129575 138bc75d-0d04-0410-961f-82ee72b054a4

16 years agogcc/:
davem [Tue, 23 Oct 2007 04:33:26 +0000 (04:33 +0000)]
gcc/:

2007-10-22  Seongbae Park <seongbae.park@gmail.com>
David S. Miller  <davem@davemloft.net>

* df-scan.c (df_get_call_refs): Mark global registers as both a
DF_REF_REG_USE and a non-clobber DF_REF_REG_DEF.

gcc/testsuite/:

2007-10-22  David S. Miller  <davem@davemloft.net>

* gcc.dg/globalreg-1.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129572 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago PR tree-optimization/33834
dorit [Tue, 23 Oct 2007 03:24:06 +0000 (03:24 +0000)]
    PR tree-optimization/33834
        PR tree-optimization/33835
        * tree-vect-analyze.c (vect_analyze_operations): RELEVANT and LIVE stmts
        need to be checked for success seperately.
        * tree-vect-transform.c (vectorizable_call, vectorizable_conversion):
        Remove the check that stmt is not LIVE.
        (vectorizable_assignment, vectorizable_induction): Likewise.
        (vectorizable_operation, vectorizable_type_demotion): Likewise.
        (vectorizable_type_promotion, vectorizable_load, vectorizable_store):
        Likewise.
        (vectorizable_live_operation): Check that op is not NULL.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129571 138bc75d-0d04-0410-961f-82ee72b054a4

16 years agoDaily bump.
gccadmin [Tue, 23 Oct 2007 00:17:13 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129568 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago * doc/invoke.texi (Optimization Options): In the summary, show
janis [Mon, 22 Oct 2007 23:21:49 +0000 (23:21 +0000)]
* doc/invoke.texi (Optimization Options): In the summary, show
that the value for options -falign-jumps, -falign-labels,
-falign-loops, -falign-functions, -fsched-stalled-insns, and
-fsched-stalled-insns-dep is optional.  In the summary, show that
-fsched-stalled-insns takes an optional argument and that
-fparallelize-loops takes an argument.  Add opindex for several
optimization options, and fix typos in the opindex commands for
several others.  In the descriptions for -fsched-stalled-insns
and -fsched-stalled-insns-dep, show the options with and without
values.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129565 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago2007-10-22 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Mon, 22 Oct 2007 23:08:16 +0000 (23:08 +0000)]
2007-10-22  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR fortran/33849
* resolve.c (resolve_actual_arglist): Fix error message text.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129564 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago2007-10-22 Steven G. Kargl <kargl@gcc.gnu.org>
kargl [Mon, 22 Oct 2007 22:23:33 +0000 (22:23 +0000)]
2007-10-22  Steven G. Kargl  <kargl@gcc.gnu.org>

        * MAINTAINERS (Fortran maintainer): Remove myself.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129562 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago2007-10-22 Steven G. Kargl <kargl@gcc.gnu.org>
kargl [Mon, 22 Oct 2007 22:10:42 +0000 (22:10 +0000)]
2007-10-22  Steven G. Kargl  <kargl@gcc.gnu.org>

        PR fortran/31244
        * gfortran.h (gfc_data_value): Change repeat from unsigned int
        to mpz_t.
        * decl.c(top_val_list): Remove msg variable.  Use mpz_t for
        repeat count.
        * resolve.c (values):  Change left from unsigned int to mpz_t.
        (next_data_value): Change for mpz_t.
        (check_data_variable): Change ??? to FIXME in a comment.  Use
        "mpz_t left".
        (resolve_data ): Use "mpz_t left".

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129561 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago * include/jvm.h (_Jv_SetGCFreeSpaceDivisor): Declare new function.
daney [Mon, 22 Oct 2007 21:24:35 +0000 (21:24 +0000)]
* include/jvm.h (_Jv_SetGCFreeSpaceDivisor): Declare new function.
* boehm.cc (_Jv_SetGCFreeSpaceDivisor): Define it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129560 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago * config/avr/avr.c (avr_mcu_types): Remove ATmega603 which was never
aesok [Mon, 22 Oct 2007 19:58:16 +0000 (19:58 +0000)]
* config/avr/avr.c (avr_mcu_types): Remove ATmega603 which was never
produced.
* config/avr/avr.h (LINK_SPEC): Likewise.
(CRT_BINUTILS_SPECS): Likewsie.
* config/avr/t-avr (MULTILIB_MATCHES): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129557 138bc75d-0d04-0410-961f-82ee72b054a4