platform/upstream/linaro-gcc.git
19 years ago * tree-nrv.c (tree_nrv): Fix to check assignments to the
jason [Fri, 24 Jun 2005 19:30:20 +0000 (19:30 +0000)]
    * tree-nrv.c (tree_nrv): Fix to check assignments to the
        RESULT_DECL rather than just RETURN_EXPRs.
        (finalize_nrv_r): Adjust.

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

19 years ago * tree-optimize.c (init_tree_optimization_passes): Fix flags of
hubicka [Fri, 24 Jun 2005 15:14:04 +0000 (15:14 +0000)]
* tree-optimize.c (init_tree_optimization_passes): Fix flags of
all_passes and all_ipa_passes.

* c-common.c: Include cgraph.h
(handle_externally_visible_attribute): New function.
(c_common_att): Add "externally_visible" attribute.
* cgraph.c (decide_is_variable_needed): Obey externally
visible flag.
(cgraph_varpool_finalize_decl): Avoid redundant checking.
* cgraph.h (struct cgraph_node): New flag externally_visible.
(decide_is_function_needed): Obey externally visible flag.
(cgraph_finalize_function): Avoid redundant checks.
(cgraph_function_and_variable_visibility): Bring symbols local
when asked for.
* common.opt (fwhole-program): New flag.

* doc/invoke.texi (-fwhole-program): Document.

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

19 years agotweak comment
jason [Fri, 24 Jun 2005 14:21:13 +0000 (14:21 +0000)]
tweak comment

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

19 years ago PR 22171
mmitchel [Fri, 24 Jun 2005 13:52:35 +0000 (13:52 +0000)]
PR 22171
* tree-ssa-operands (get_expr_operands): Check s_ann for NULL
before use.

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

19 years ago PR 22171
mmitchel [Fri, 24 Jun 2005 13:27:25 +0000 (13:27 +0000)]
PR 22171
* tree-ssa-operands.c (get_expr_operands): Check s_ann for NULL
before use.

PR 22171
* gcc.dg/tree-ssa/pr22171.c: New test.

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

19 years ago PR 22000
mmitchel [Fri, 24 Jun 2005 03:38:05 +0000 (03:38 +0000)]
PR 22000
* tree-ssa-operands.c (get_expr_operands): Check the volatility of
the FIELD_DECL and set s_ann->has_volatile_ops accordingly.

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

19 years ago2005-06-24 Feng Wang <fengwang@nudt.edu.cn>
fengwang [Fri, 24 Jun 2005 03:23:04 +0000 (03:23 +0000)]
2005-06-24  Feng Wang  <fengwang@nudt.edu.cn>

        * simplify.c (gfc_simplify_modulo): Don't clear before get result.

2005-06-24  Feng Wang  <fengwang@nudt.edu.cn>

        * gfortran.dg/simplify_modulo.f90: New.

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

19 years ago * opts.c (decode_options): Enable unit-at-a-time by default at -O1.
hubicka [Fri, 24 Jun 2005 03:09:54 +0000 (03:09 +0000)]
* opts.c (decode_options): Enable unit-at-a-time by default at -O1.

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

19 years ago[gcc/testsuite/ChangeLog]
zlaski [Fri, 24 Jun 2005 01:03:21 +0000 (01:03 +0000)]
[gcc/testsuite/ChangeLog]
2005-06-23  Ziemowit Laski  <zlaski@apple.com>

        * obj-c++.dg/proto-lossage-[1-4].mm: New.

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

19 years ago[gcc/testsuite/ChangeLog]
zlaski [Fri, 24 Jun 2005 00:22:52 +0000 (00:22 +0000)]
[gcc/testsuite/ChangeLog]
2005-06-23  Ziemowit Laski  <zlaski@apple.com>

        * obj-c++.dg/typedef-alias-1.mm: New.
        * objc.dg/typedef-alias-1.m: New.

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

19 years agoDaily bump.
gccadmin [Fri, 24 Jun 2005 00:16:16 +0000 (00:16 +0000)]
Daily bump.

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

19 years ago * tree-optimize.c (init_tree_optimization_passes): Move
law [Thu, 23 Jun 2005 22:00:44 +0000 (22:00 +0000)]
    * tree-optimize.c (init_tree_optimization_passes): Move
        copy prop pass to run just before VRP.
        * tree-vrp.c (remove_range_assertions): Remove copies created
        by ASSERT_EXPR removal.

        * gcc.dg/tree-ssa/vrp16.c: New test.

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

19 years ago * intrinsics/c99_functions.c (log10l): New log10l function for
fxcoudert [Thu, 23 Jun 2005 18:50:25 +0000 (18:50 +0000)]
* intrinsics/c99_functions.c (log10l): New log10l function for
systems where this is not available.
* c99_protos.h: Prototype for log10l function.
* libgfortran.h: Use generated kinds.h to define GFC_INTEGER_*,
GFC_UINTEGER_*, GFC_LOGICAL_*, GFC_REAL_*, GFC_COMPLEX_*. Update
prototypes for gfc_itoa and xtoa.
* io/io.h: Update prototypes for set_integer and max_value.
* io/list_read.c (convert_integer): Use new
GFC_(INTEGER|REAL)_LARGEST type.
* io/read.c (set_integer): Likewise.
(max_value): Likewise.
(convert_real): Likewise.
(real_l): Likewise.
(next_char): Likewise.
(read_decimal): Likewise.
(read_radix): Likewise.
(read_f): Likewise.
* io/write.c (extract_int): Use new GFC_INTEGER_LARGEST type.
(extract_real): Use new GFC_REAL_LARGEST type.
(calculate_exp): Likewise.
(calculate_G_format): Likewise.
(output_float): Likewise. Use log10l for long double values.
Add comment for sprintf format. Use GFC_REAL_LARGEST_FORMAT.
(write_l): Use new GFC_INTEGER_LARGEST type.
(write_float): Use new GFC_REAL_LARGEST type.
(write_int): Remove useless special case for (len < 8).
(write_decimal): Use GFC_INTEGER_LARGEST.
(otoa): Use GFC_UINTEGER_LARGEST as argument.
(btoa): Use GFC_UINTEGER_LARGEST as argument.
* runtime/error.c (gfc_itoa): Use GFC_INTEGER_LARGEST as
argument.
(xtoa): Use GFC_UINTEGER_LARGEST as argument.
* Makefile.am: Use mk-kinds-h.sh to generate header kinds.h
with all Fortran kinds available.
* configure.ac: Check for strtold and log10l.
* Makefile.in: Regenerate.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* config.h.in: Regenerate.
* mk-kinds-h.sh: Configuration script for available integer
and real kinds.
* lib/target-supports.exp: Add
check_effective_target_fortran_large_real and
check_effective_target_fortran_large_int to check for
corresponding effective targets.
* gfortran.dg/large_integer_kind_1.f90: New test.
* gfortran.dg/large_real_kind_1.f90: New test.

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

19 years ago PR libstdc++/22109
jakub [Thu, 23 Jun 2005 16:49:00 +0000 (16:49 +0000)]
PR libstdc++/22109
* src/compatibility.cc (_GLIBCXX_SYMVER_COMPATIBILITY): Remove.
(istreambuf_iterator, basic_fstream, basic_ifstream, basic_ofstream,
_M_copy, _M_move, _M_assign, _M_disjunct, _M_check_length,
_M_set_length_and_sharable, ignore, eq): Define to XX suffixed
variants.
(ignore (streamsize)): Remove _W prefixed aliases.
(_GLIBCXX_3_4_SYMVER_SPECIAL, _GLIBCXX_3_4_5_SYMVER_SPECIAL,
_GLIBCXX_APPLY_SYMVER_SPECIAL): Remove.
(_GLIBCXX_3_4_SYMVER, _GLIBCXX_3_4_5_SYMVER): Add XXname argument.
Use #XXname instead of #name as the alias argument.
* config/abi/compatibility.h: Replace uses of
_GLIBCXX_APPLY_SYMVER_SPECIAL with _GLIBCXX_APPLY_SYMVER.  Always
pass 2 arguments to the _GLIBCXX_APPLY_SYMVER macro.
* include/bits/char_traits.h (char_traits::eq): Revert 2005-06-15
change.
* acinclude.m4: Decrease glibcxx_min_gnu_ld_version back to 21400.
* configure: Rebuilt.

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

19 years agogcc/
kazu [Thu, 23 Jun 2005 16:04:09 +0000 (16:04 +0000)]
gcc/
PR tree-optimization/22117
* tree-vrp.c (extract_range_from_binary_expr): Compute a
correct range when adding two pointers.

testsuite/
PR tree-optimization/22117
* gcc.dg/tree-ssa/pr22117.c: New.

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

19 years ago2005-06-23 James A. Morrison <phython@gcc.gnu.org>
phython [Thu, 23 Jun 2005 15:08:38 +0000 (15:08 +0000)]
2005-06-23  James A. Morrison  <phython@gcc.gnu.org>

        PR testsuite/22123
        * gcc.dg/fold-mod-1.c: Accept fffffff8 as well.

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

19 years ago PR java/20697
bryce [Thu, 23 Jun 2005 15:00:50 +0000 (15:00 +0000)]
PR java/20697
* parse.y (find_most_specific_methods_list): Remove special case for
inner classes.

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

19 years ago PR c++/19317
jason [Thu, 23 Jun 2005 14:44:21 +0000 (14:44 +0000)]
    PR c++/19317
        Leave the return slot target in the MODIFY_EXPR rather than making
        it an argument, but only use it if the CALL_EXPR has a flag set.
        * tree.h (CALL_EXPR_HAS_RETURN_SLOT_ADDR): Rename to
        CALL_EXPR_RETURN_SLOT_OPT.
        * calls.c (expand_call): Adjust.
        * tree-inline.c (expand_call_inline): Adjust.
        * tree-pretty-print.c (dump_generic_node): Adjust.

        And set the flag as appropriate.
        * gimplify.c (gimplify_modify_expr_rhs): Set
        CALL_EXPR_HAS_RETURN_SLOT_ADDR where the LHS is obviously safe.
        * tree-nrv.c (execute_return_slot_opt): Set
        CALL_EXPR_HAS_RETURN_SLOT_ADDR based on escape analysis.
        * tree-pass.h: Declare pass_return_slot.
        * tree-optimize.c (init_tree_optimization_passes): Add it.

        * cp/semantics.c (simplify_aggr_init_expr): Use
        CALL_EXPR_RETURN_SLOT_OPT, not CALL_EXPR_HAS_RETURN_SLOT_ADDR.

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

19 years ago PR target/21760
dje [Thu, 23 Jun 2005 13:24:14 +0000 (13:24 +0000)]
    PR target/21760
        * config/rs6000/rs6000.h (PPC405_ERRATUM77): New.
        * config/rs6000/rs6000.md: Move atomic instructions to ...
        * config/rs6000/sync.md: Here.
        Change sync_compare_and_swap<mode> to define_expand.  All stwcx
        patterns test PPC405_ERRATUM77.

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

19 years ago * gcc.dg/rs6000-fpint-2.c: Only compile on Darwin and Linux.
dje [Thu, 23 Jun 2005 13:20:18 +0000 (13:20 +0000)]
    * gcc.dg/rs6000-fpint-2.c: Only compile on Darwin and Linux.

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

19 years ago * tree-inline.c (copy_body_r): Remap labels correctly.
hubicka [Thu, 23 Jun 2005 13:20:02 +0000 (13:20 +0000)]
* tree-inline.c (copy_body_r): Remap labels correctly.

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

19 years ago * tree-inline.c (copy_body_r): Remap labels correctly.
hubicka [Thu, 23 Jun 2005 13:10:37 +0000 (13:10 +0000)]
* tree-inline.c (copy_body_r): Remap labels correctly.

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

19 years ago2005-06-22 Paolo Bonzini <bonzini@gnu.org>
bonzini [Thu, 23 Jun 2005 07:31:23 +0000 (07:31 +0000)]
2005-06-22  Paolo Bonzini  <bonzini@gnu.org>

* Makefile.def (stagefeedback): Come after profile.
Define profiledbootstrap target.
* Makefile.tpl (profiledbootstrap): Remove.
(stageprofile-end): Zap stagefeedback.
(stagefeedback-start): Copy all .gcda files, not only GCC's.
* Makefile.in: Regenerate.

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

19 years ago2005-06-23 David Billinghurst <David.Billinghurst@riotinto.com>
billingd [Thu, 23 Jun 2005 03:57:24 +0000 (03:57 +0000)]
2005-06-23  David Billinghurst  <David.Billinghurst@riotinto.com>

* gfortran.dg/f2c_4.f90:  Add tests for complex functions
* gfortran.dg/f2c_4.c: Likewise

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

19 years ago2005-06-23 David Billinghurst <David.Billinghurst@riotinto.com>
billingd [Thu, 23 Jun 2005 03:01:57 +0000 (03:01 +0000)]
2005-06-23  David Billinghurst  <David.Billinghurst@riotinto.com>

* gfortran.dg/f2c_4.f90:  Add tests for complex functions
* gfortran.dg/f2c_4.c: Likewise

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

19 years ago * config/rs6000/sysv4.h (TARGET_ASM_EXCEPTION_SECTION): Delete.
amodra [Thu, 23 Jun 2005 02:35:01 +0000 (02:35 +0000)]
* config/rs6000/sysv4.h (TARGET_ASM_EXCEPTION_SECTION): Delete.

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

19 years agoDaily bump.
gccadmin [Thu, 23 Jun 2005 00:16:21 +0000 (00:16 +0000)]
Daily bump.

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

19 years ago * pt.c (register_specialization): Remove superfluous assertion.
reichelt [Wed, 22 Jun 2005 22:47:26 +0000 (22:47 +0000)]
* pt.c (register_specialization): Remove superfluous assertion.

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

19 years ago2005-06-22 Paul Brook <paul@codesourcery.com>
pbrook [Wed, 22 Jun 2005 15:34:02 +0000 (15:34 +0000)]
2005-06-22 Paul Brook  <paul@codesourcery.com>

PR fortran/21034
* symbol.c (gfc_is_var_automatic): New function.
(save_symbol): Use it.
testsuite/
* gfortran.dg/auto_save_1.f90: New test.

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

19 years ago * gcc.target/x86-64/abi: New directory.
matz [Wed, 22 Jun 2005 14:51:07 +0000 (14:51 +0000)]
    * gcc.target/x86-64/abi: New directory.
        * gcc.target/x86-64/abi/abi-x86_64.exp: New testsuite.
        * gcc.target/x86-64/abi/README.gcc: New file.
        * gcc.target/x86-64/abi/{args.h,defines.h,macros.h}: New headers.
        * gcc.target/x86-64/abi/asm-support.s: New file.
        * gcc.target/x86_64/abi/test_3_element_struct_and_unions.c: New test.
        * gcc.target/x86_64/abi/test_basic_alignment.c: New test.
        * gcc.target/x86_64/abi/test_basic_array_size_and_align.c: New test.
        * gcc.target/x86_64/abi/test_basic_returning.c: New test.
        * gcc.target/x86_64/abi/test_basic_sizes.c: New test.
        * gcc.target/x86_64/abi/test_basic_struct_size_and_align.c: New test.
        * gcc.target/x86_64/abi/test_basic_union_size_and_align.c: New test.
        * gcc.target/x86_64/abi/test_bitfields.c: New test.
        * gcc.target/x86_64/abi/test_complex_returning.c: New test.
        * gcc.target/x86_64/abi/test_passing_floats.c: New test.
        * gcc.target/x86_64/abi/test_passing_integers.c: New test.
        * gcc.target/x86_64/abi/test_passing_structs_and_unions.c: New test.
        * gcc.target/x86_64/abi/test_passing_structs.c: New test.
        * gcc.target/x86_64/abi/test_passing_unions.c: New test.
        * gcc.target/x86_64/abi/test_struct_returning.c: New test.
        * gcc.target/x86_64/abi/test_varargs.c: New test.

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

19 years ago2005-06-22 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
pinskia [Wed, 22 Jun 2005 13:38:19 +0000 (13:38 +0000)]
2005-06-22  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>

        PR middle-end/20593
        * varasm.c (compute_reloc_for_constant): Treat VIEW_CONVER_EXPR
        the same as the other cast operands.
        (output_addressed_constants): Likewise.

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

19 years ago2005-06-22 Kelley Cook <kcook@gcc.gnu.org>
kcook [Wed, 22 Jun 2005 01:30:12 +0000 (01:30 +0000)]
2005-06-22  Kelley Cook  <kcook@gcc.gnu.org>

* Makefile.am (SUBDIRS): Use append for conditional.
(toolexeclib_LTLIBRARIES): Likewise.
(lib_gnu_java_awt_peer_gtk_la_SOURCES): Directly define with
a conditional append.
* Makefile.in: Regenerate.

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

19 years agoDaily bump.
gccadmin [Wed, 22 Jun 2005 00:16:28 +0000 (00:16 +0000)]
Daily bump.

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

19 years ago * g++.dg/abi/mangle24.C, g++.dg/abi/mangle25.C: Pass -mmmx for
jsm28 [Tue, 21 Jun 2005 23:00:45 +0000 (23:00 +0000)]
* g++.dg/abi/mangle24.C, g++.dg/abi/mangle25.C: Pass -mmmx for
32-bit i?86 and x86_64.

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

19 years ago[gcc/testsuite/ChangeLog]
zlaski [Tue, 21 Jun 2005 21:13:46 +0000 (21:13 +0000)]
[gcc/testsuite/ChangeLog]
2005-06-21  Ziemowit Laski  <zlaski@apple.com>

        * obj-c++.dg/const-str-[1-9].mm: New tests.

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

19 years ago * nl.po: Update.
jsm28 [Tue, 21 Jun 2005 20:57:16 +0000 (20:57 +0000)]
* nl.po: Update.

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

19 years agonamelist_use_2.msg
pault [Tue, 21 Jun 2005 20:53:00 +0000 (20:53 +0000)]
namelist_use_2.msg

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

19 years agonamelist_use_1.msg
pault [Tue, 21 Jun 2005 20:48:20 +0000 (20:48 +0000)]
namelist_use_1.msg

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

19 years ago * tree-vrp.c (extract_range_from_unary_expr): Handle type
law [Tue, 21 Jun 2005 18:46:33 +0000 (18:46 +0000)]
    * tree-vrp.c (extract_range_from_unary_expr): Handle type
        conversions better.

        * gcc.dg/tree-ssa/vrp15.c: New test.

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

19 years ago * genopinit.c (vec_shl_optab, vec_shr_optab): Initialize new optabs.
dorit [Tue, 21 Jun 2005 09:02:00 +0000 (09:02 +0000)]
    * genopinit.c (vec_shl_optab, vec_shr_optab): Initialize new optabs.
        (reduc_plus_optab): Removed.  Replcaed with...
        (reduc_splus_optab, reduc_uplus_optab): Initialize new optabs.
        * optabs.c (optab_for_tree_code): Return reduc_splus_optab or
        reduc_uplus_optab instead of reduc_plus_optab.
        (expand_vec_shift_expr): New function.
        (init_optabs): Initialize new optabs. Remove initialization of
        reduc_plus_optab.
        (optab_for_tree_code): Return vec_shl_optab/vec_shr_optab
        for VEC_LSHIFT_EXPR/VEC_RSHIFT_EXPR.
        * optabs.h (OTI_reduc_plus): Removed. Replaced with...
        (OTI_reduc_splus, OTI_reduc_uplus): New.
        (reduc_plus_optab): Removed.  Replcaed with...
        (reduc_splus_optab, reduc_uplus_optab): New optabs.
        (vec_shl_optab, vec_shr_optab): New optabs.
        (expand_vec_shift_expr): New function declaration.

        * tree.def (VEC_LSHIFT_EXPR, VEC_RSHIFT_EXPR): New tree-codes.
        * tree-inline.c (estimate_num_insns_1): Handle new tree-codes.
        * expr.c (expand_expr_real_1): Handle new tree-codes.
        * tree-pretty-print.c (dump_generic_node, op_symbol, op_prio): Likewise.
        * tree-vect-generic.c (expand_vector_operations_1): Add assert.

        * tree-vect-transform.c (vect_create_epilog_for_reduction): Add two
        alternatives for generating reduction epilog code.
        (vectorizable_reduction): Don't fail of direct reduction support is
        not available.
        (vectorizable_target_reduction_pattern): Likewise.

        * config/rs6000/altivec.md (reduc_smax_v4si, reduc_smax_v4sf,
        reduc_umax_v4si, reduc_smin_v4si, reduc_smin_v4sf, reduc_umin_v4si,
        reduc_plus_v4si, reduc_plus_v4sf): Removed.
        (vec_shl_<mode>, vec_shr_<mode>, altivec_vsumsws_nomode,
        reduc_splus_<mode>, reduc_uplus_v16qi): New.

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

19 years ago2005-06-21 Tobias Schl"uter <tobias.schlueter@physik.uni-muenchen.de>
tobi [Tue, 21 Jun 2005 08:46:33 +0000 (08:46 +0000)]
2005-06-21  Tobias Schl"uter  <tobias.schlueter@physik.uni-muenchen.de>
Paul Thomas  <pault@gcc.gnu.org>

* gfortran.dg/func_derived_2.f90, gfortran.dg/func_derived_3.f90:
New tests.

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

19 years ago2005-06-20 Daniel Berlin <dberlin@dberlin.org>
dberlin [Tue, 21 Jun 2005 00:59:17 +0000 (00:59 +0000)]
2005-06-20  Daniel Berlin  <dberlin@dberlin.org>

* c-typeck.c (build_function_call): Set fundecl = function again.
* tree-ssa-alias.c (find_used_portions): Address taking causes the
entire variable to be used.
* tree-ssa-structalias.c (do_structure_copy): Fix handling of
unknown size variables, and structure copies from addressof
operations.  Simplify how we do *a = *b type structure copies.
(init_base_vars): Add ANYTHING = &ANYTHING constraint the right
way.  READONLY's address is not taken by default.
INTEGER dereference should point to anything.
(create_variable_info_for): It's okay for the first field to not start
at 0.

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

19 years agoIndex: include/ChangeLog
geoffk [Tue, 21 Jun 2005 00:24:59 +0000 (00:24 +0000)]
Index: include/ChangeLog
2005-06-20  Geoffrey Keating  <geoffk@apple.com>

* libiberty.h (strverscmp): Prototype.

Index: libiberty/ChangeLog
2005-06-20  Geoffrey Keating  <geoffk@apple.com>

* strverscmp.c: New.
* Makefile.in (CFILES): Add strverscmp.c.
(CONFIGURED_OFILES): Add strverscmp.o.
(strverscmp.o): New rule.
(stamp-functions): Add $(srcdir) to files in source directory.
* configure.ac (funcs): Add strverscmp.
(AC_CHECK_FUNCS): Add strverscmp.
* configure: Regenerate.
* functions.texi: Regenerate.

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

19 years ago config/sh/linux.h (FUNCTION_PROFILER): Constify a char*.
kkojima [Tue, 21 Jun 2005 00:16:42 +0000 (00:16 +0000)]
config/sh/linux.h (FUNCTION_PROFILER): Constify a char*.

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

19 years agoDaily bump.
gccadmin [Tue, 21 Jun 2005 00:16:18 +0000 (00:16 +0000)]
Daily bump.

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

19 years ago[gcc/objcp/ChangeLog]
zlaski [Tue, 21 Jun 2005 00:04:57 +0000 (00:04 +0000)]
[gcc/objcp/ChangeLog]
2005-06-20  Ziemowit Laski  <zlaski@apple.com>

        * config-lang.in (gtfiles): Add cp/rtti.c.

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

19 years ago * gfortran.h: Add flag_backslash compile-time option.
fxcoudert [Mon, 20 Jun 2005 20:14:20 +0000 (20:14 +0000)]
* gfortran.h: Add flag_backslash compile-time option.
* lang.opt: Add support for -fbackslash option.
* options.c: Likewise.
* primary.c: Implement behavior for -fno-backslash.
* invoke.texi: Add doc for -fbackslash option.
* gfortran.texi: Remove mention of -fno-backslash as a
possible extension.
* gfortran.dg/backslash_1.f90: New test.
* gfortran.dg/backslash_2.f90: New test.

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

19 years ago* gfortran.dg/duplicate_labels.f90: New test.
kargl [Mon, 20 Jun 2005 19:20:10 +0000 (19:20 +0000)]
* gfortran.dg/duplicate_labels.f90: New test.

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

19 years ago PR fortran/21257
kargl [Mon, 20 Jun 2005 19:17:32 +0000 (19:17 +0000)]
PR fortran/21257
(Ported from g95)
* match.c (gfc_match_label): Detect duplicate labels.

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

19 years agoPR 22077.
fjahanian [Mon, 20 Jun 2005 17:59:35 +0000 (17:59 +0000)]
PR 22077.
Oked by Roger Sayle.

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

19 years ago * intrinsic.c (check_intrinsic_standard): Fix spelling error
fxcoudert [Mon, 20 Jun 2005 13:02:51 +0000 (13:02 +0000)]
* intrinsic.c (check_intrinsic_standard): Fix spelling error
in a warning message.

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

19 years agomake
bkoz [Mon, 20 Jun 2005 06:48:28 +0000 (06:48 +0000)]
make
2005-06-19  Benjamin Kosnik  <bkoz@redhat.com>

PR libstdc++/22111
* acinclude.m4 (GLIBCXX_CONFIGURE_TESTSUITE): Remove
GLIBCXX_TEST_ABI. Remove duplicate _GLIBCXX_ASM_SYMVER define.
Don't enable abi testing unless versioned.
* configure: Regenerate.
* testsuite/Makefile.am (check-abi): Remove conditional.
* testsuite/Makefile.in: Regenerate.
* testsuite/libstdc++-abi/abi.exp: Call build_support, then check
v3-symver before proceeding.
* testsuite/lib/libstdc++.exp (libstdc++-dg-test): Set v3-symvers
if _GLIBCXX_SYMVER.

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

19 years agogcc/
jbeulich [Mon, 20 Jun 2005 06:45:27 +0000 (06:45 +0000)]
gcc/
2005-06-20  Jan Beulich  <jbeulich@novell.com>

* config/i386/netware-libgcc.def: Update copyright.
* config/i386/netware-libgcc.exp (__divdc3, __divsc3, __divxc3,
__muldc3, __mulsc3, __mulxc3, __powidf2, __powisf2, __powixf2): Add.
* config/i386/netware.c (gen_stdcall_decoration,
gen_fastd_decoration): Merge into ...
(gen_stdcall_or_fastcall_decoration): ... this. Adjust to match
WinNT's changes.
(gen_regparm_prefix): Adjust to match i386_nlm_encode_section_info.
(i386_nlm_encode_section_info): Adjust to match WinNT's changes.
* config/i386/t-nwld (SHLIB_LINK): Also create libgcc.imp alias of
libgcc_s.imp. Use 'expr' rather than $(()) shell expressions.
* gthr-nks.h (__gthread_objc_mutex_allocate): Kill another dubious
use of NX_MUTEX_RECURSIVE.

gcc/testsuite/
2005-06-20  Jan Beulich  <jbeulich@novell.com>

* g++.old-deja/g++.jason/thunk2.C: On NetWare, also account for
unsupportable relocations.
* g++.old-deja/g++.other/store-expr1.C: Likewise.
* gcc.dg/20050321-2.c: xfail for NetWare.

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

19 years ago * gcc.target/i386/sseregparm-1.c, gcc.target/i386/sseregparm-2.c,
aj [Mon, 20 Jun 2005 04:37:58 +0000 (04:37 +0000)]
* gcc.target/i386/sseregparm-1.c, gcc.target/i386/sseregparm-2.c,
gcc.target/i386/fastcall-sseregparm.c,
gcc.target/i386/regparm-stdcall.c: Run only on 32-bit x86.

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

19 years ago * fold-const.c (swap_tree_comparison): Add support for unordered
sayle [Mon, 20 Jun 2005 02:33:52 +0000 (02:33 +0000)]
* fold-const.c (swap_tree_comparison): Add support for unordered
floating point comparisons.
* tree-vrp.c (opposite_comparison): Delete.
(extract_range_from_assert): Replace calls to opposite_comparison
with calls to swap_tree_comparison.
(register_edge_assert_for): Likewise.
(vrp_evaluate_conditional): Likewise.

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

19 years ago * integrate.c (allocate_initial_values): Update the references
kkojima [Mon, 20 Jun 2005 01:28:33 +0000 (01:28 +0000)]
* integrate.c (allocate_initial_values): Update the references
to global_live_at_start and global_live_at_end.

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

19 years agoDaily bump.
gccadmin [Mon, 20 Jun 2005 00:16:14 +0000 (00:16 +0000)]
Daily bump.

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

19 years ago * gcc.dg/tree-ssa/pr21985.c: Use size_t.
rth [Sun, 19 Jun 2005 23:59:55 +0000 (23:59 +0000)]
    * gcc.dg/tree-ssa/pr21985.c: Use size_t.

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

19 years ago * cfgloop.h (DLTHE_RECORD_COPY_NUMBER): New flag.
hubicka [Sun, 19 Jun 2005 22:40:34 +0000 (22:40 +0000)]
* cfgloop.h (DLTHE_RECORD_COPY_NUMBER): New flag.
* cfgloopmanip.c (duplicate_loop_to_header_edge): Set aux flags only
when asked for.
* loop-unroll.c (peel_loop_completely, unroll_loop_constant_iterations,
unroll_loop_runtime_iterations, peel_loop_simple, unroll_loop_stupid):
Update call of duplicate_loop_to_header_edge.
(apply_opt_in_copies): Clear out aux pointers.

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

19 years ago * config/i386/i386.c (TARGET_MANGLE_FUNDAMENTAL_TYPE): Define.
jsm28 [Sun, 19 Jun 2005 20:12:16 +0000 (20:12 +0000)]
* config/i386/i386.c (TARGET_MANGLE_FUNDAMENTAL_TYPE): Define.
(ix86_mangle_fundamental_type): New.
* config/ia64/ia64.c (TARGET_MANGLE_FUNDAMENTAL_TYPE): Define.
(ia64_mangle_fundamental_type): New.

testsuite:
* g++.dg/abi/mangle24.C, g++.dg/abi/mangle25.C: New tests.

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

19 years ago * de.po: Update.
jsm28 [Sun, 19 Jun 2005 18:24:42 +0000 (18:24 +0000)]
* de.po: Update.

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

19 years ago PR c++/22115
aldyh [Sun, 19 Jun 2005 17:23:33 +0000 (17:23 +0000)]
    PR c++/22115
        * g++.dg/conversion/simd2.C: Change expected error message.

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

19 years ago * c-decl.c (grokdeclarator): Only check TREE_OVERFLOW on
sayle [Sun, 19 Jun 2005 16:55:22 +0000 (16:55 +0000)]
* c-decl.c (grokdeclarator): Only check TREE_OVERFLOW on
INTEGER_CST nodes.
* c-typeck.c (build_c_cast): Only preserve TREE_OVERFLOW on
CONSTANT_CLASS_P nodes.

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

19 years ago * config/ia64/vect.md (vec_extractv2sf_1): Fix cut-and-paste error;
rth [Sun, 19 Jun 2005 16:36:46 +0000 (16:36 +0000)]
    * config/ia64/vect.md (vec_extractv2sf_1): Fix cut-and-paste error;
        the shift is always required.

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

19 years ago * config/ia64/ia64-modes.def (V4SF): Add.
rth [Sun, 19 Jun 2005 16:10:49 +0000 (16:10 +0000)]
    * config/ia64/ia64-modes.def (V4SF): Add.
        * config/ia64/ia64.c (ia64_legitimate_constant_p): Handle CONST_VECTOR.
        * config/ia64/ia64.h (CANNOT_CHANGE_MODE_CLASS): Allow vector to
        integer mode changes in fp regs.
        * config/ia64/ia64.md (UNSPEC_VECT_EXTR): New.
        * config/ia64/vect.md (smaxv2sf3, sminv2sf3): Fix typos in names.
        (reduc_plus_v2sf, reduc_smax_v2sf, reduc_smin_v2sf): New.
        (vcondv2sf): Use gen_fpack
        (fpack): Remove * from name.
        (fswap, fmix_l, fmix_r, fmix_lr): New.
        (vec_setv2sf, vec_extractv2sf_0_le, vec_extractv2sf_0_be): New.
        (vec_extractv2sf_1, vec_extractv2sf): New.

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

19 years ago * testsuite/libmudflap.c/externs-1.c (main): Add return statement.
uweigand [Sun, 19 Jun 2005 16:01:03 +0000 (16:01 +0000)]
* testsuite/libmudflap.c/externs-1.c (main): Add return statement.

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

19 years ago2005-06-19 Andreas Krebbel <krebbel1@de.ibm.com>
uweigand [Sun, 19 Jun 2005 13:29:45 +0000 (13:29 +0000)]
2005-06-19  Andreas Krebbel  <krebbel1@de.ibm.com>

* combine.c (make_compound_operation): Use simplify_subreg.  Delete
a optimization already done by simplify_subreg.

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

19 years ago * loop.c (scan_loop): Do not consider insns setting the frame
uweigand [Sun, 19 Jun 2005 13:27:04 +0000 (13:27 +0000)]
* loop.c (scan_loop): Do not consider insns setting the frame
pointer to be candidates for hoisting.

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

19 years ago2005-06-19 Uros Bizjak <uros@kss-loka.si>
rth [Sun, 19 Jun 2005 08:51:54 +0000 (08:51 +0000)]
2005-06-19  Uros Bizjak  <uros@kss-loka.si>

        * config/i386/i386.md (*cmpfp_0_sf, *cmpfp_0_df, cmpfp_0_xf):
        Remove instruction patterns.
        (*cmpfp_0): New instruction pattern. Set "unit" attribute to "i387".
        (*cmpfp_sf, *cmpfp_df, *cmpfp_xf, *cmpfp_u, *_cmpfp_<mode>):
        Set "unit" attribute to "i387".
        (*pushsf, *pushsf_rex64, *pushdf_nointeger, *pushdf_integer)
        (*pushxf_nointeger, *pushxf_integer): Set "unit" attribute to "i387"
        for alternative 0.
        (*truncdfsf_mixed, *truncdfsf_i387, *truncxfsf2_mixed)
        (*truncxfsf2_i387, *truncxfdf2_mixed, *truncxfdf2_i387): Set "unit"
        attribute to "i387" when "type" attribute equals "multi".
        (*floathisf2_i387, *floatsisf2_mixed, *floatsisf2_i387)
        (*floatdisf2_mixed, *floatdisf2_i387, *floathidf2_i387)
        (*floatsidf2_mixed, *floatsidf2_i387, *floatdidf2_mixed)
        (*floatdidf2_i387, floathixf2, floatsixf2, floatdixf2): Set "unit"
        attribute to "i387" when "type" attribute equals "multi".
        * config/i386/mmx.md (*mov<mode>_internal_rex64)
        (*mov<mode>_internal, *movv2sf_internal_rex64, *movv2sf_internal):
        Set "unit" attribute to "mmx" when "type" attribute equals "ssecvt".
        (mmx_pmovmskb): Correct wrong "type" and "mode" attributes.
        * config/i386/sse.md (sse_cvtps2pi, sse_cvttps2pi, sse_cvtpd2di)
        (sse_cvttpd2pi): Set "unit" attribute to "mmx".
        (sse2_cvtpi2pd): Split register constraints. Set "unit" attribute
        to "mmx" for "y" operand 1.

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

19 years ago2005-06-16 Uros Bizjak <uros@kss-loka.si>
rth [Sun, 19 Jun 2005 08:26:50 +0000 (08:26 +0000)]
2005-06-16  Uros Bizjak  <uros@kss-loka.si>

        * config/i386/i386.c (ix86_function_arg_regno_p): Add MMX_REGNO_P
        for TARGET_MMX.  Use MMX_REGPARM_MAX and SSE_REGPARM_MAX for MMX
        and SSE registers to determine if regno is valid.
        (ix86_function_value_regno_p): Depend FIRST_FLOAT_REG on
        TARGET_FLOAT_RETURNS_IN_80387 also for TARGET_64BIT. Clean up.

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

19 years ago * tree-complex.c (init_dont_simulate_again): Clear DONT_SIMULATE_AGAIN
rth [Sun, 19 Jun 2005 06:35:52 +0000 (06:35 +0000)]
    * tree-complex.c (init_dont_simulate_again): Clear DONT_SIMULATE_AGAIN
        for control-altering statements; set it again for returns.
        (complex_visit_stmt): Return SSA_PROP_VARYING for stmts that are
        not MODIFY_EXPR.

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

19 years ago PR tree-opt/22116
rth [Sun, 19 Jun 2005 06:32:31 +0000 (06:32 +0000)]
    PR tree-opt/22116
        * tree-ssa-pre.c (create_expression_by_pieces): Set
        DECL_COMPLEX_GIMPLE_REG_P.
        (insert_into_preds_of_block): Likewise.

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

19 years ago * tr.po: Update.
jsm28 [Sun, 19 Jun 2005 00:37:09 +0000 (00:37 +0000)]
* tr.po: Update.

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

19 years agoDaily bump.
gccadmin [Sun, 19 Jun 2005 00:16:15 +0000 (00:16 +0000)]
Daily bump.

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

19 years ago * Makefile.in: Fix tree-cfgcleanup.c dependencies.
steven [Sat, 18 Jun 2005 22:50:56 +0000 (22:50 +0000)]
* Makefile.in: Fix tree-cfgcleanup.c dependencies.

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

19 years ago * expr.c (store_constructor): Use store of 0 to indicate value
rth [Sat, 18 Jun 2005 22:40:49 +0000 (22:40 +0000)]
    * expr.c (store_constructor): Use store of 0 to indicate value
        death instead of a clobber.

        * config/i386/i386.c (ix86_expand_reduc_v4sf): New.
        * config/i386/i386-protos.h (ix86_expand_reduc_v4sf): Declare.
        * config/i386/sse.md (reduc_plus_v4sf): New.
        (reduc_smax_v4sf, reduc_smin_v4sf): New.

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

19 years ago * tr.po, vi.po: Update.
jsm28 [Sat, 18 Jun 2005 21:50:11 +0000 (21:50 +0000)]
* tr.po, vi.po: Update.

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

19 years ago * gcc.dg/vect/vect-reduc-1.c: Add cleanup-tree-dump.
dorit [Sat, 18 Jun 2005 21:27:47 +0000 (21:27 +0000)]
    * gcc.dg/vect/vect-reduc-1.c: Add cleanup-tree-dump.
        * gcc.dg/vect/vect-reduc-2.c: Likewise.
        * gcc.dg/vect/vect-reduc-3.c: Likewise.

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

19 years ago * unix.c (stream_at_bof): Don't assume that all non-mmapped files
fxcoudert [Sat, 18 Jun 2005 20:09:28 +0000 (20:09 +0000)]
* unix.c (stream_at_bof): Don't assume that all non-mmapped files
are non-seekable.
(stream_at_eof): Likewise.

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

19 years ago2005-06-18 James A. Morrison <phython@gcc.gnu.org>
phython [Sat, 18 Jun 2005 19:57:12 +0000 (19:57 +0000)]
2005-06-18  James A. Morrison  <phython@gcc.gnu.org>

        * fold_const (fold_binary): Fold X % (2**N) to X & (2**N - 1) for
        nonnegative values of X.

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

19 years agoPR fortran/19926
kargl [Sat, 18 Jun 2005 18:27:05 +0000 (18:27 +0000)]
PR fortran/19926
* gfortran.dg/pr19926.f90: New test.

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

19 years agoPR fortran/19926
kargl [Sat, 18 Jun 2005 18:16:22 +0000 (18:16 +0000)]
PR fortran/19926
* primary.c (gfc_match_rvalue):  expr_type can be EXPR_CONSTANT
  for an array; check that sym->as is NULL.

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

19 years ago* intrinsic.c (gfc_intrinsic_func_interface): Enable errors for generic
kargl [Sat, 18 Jun 2005 17:59:31 +0000 (17:59 +0000)]
* intrinsic.c (gfc_intrinsic_func_interface): Enable errors for generic
  functions whose simplification routine return FAILURE.

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

19 years ago * doc/md.texi (Standard Names): Change insn pattern name
ebotcazou [Sat, 18 Jun 2005 15:21:19 +0000 (15:21 +0000)]
* doc/md.texi (Standard Names): Change insn pattern name
from truncM2 to btruncM2 for 'trunc' built-in description.
Add rintM2 insn pattern description.

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

19 years ago * c-decl.c (locate_old_decl): Add format attribute.
ghazi [Sat, 18 Jun 2005 15:07:28 +0000 (15:07 +0000)]
* c-decl.c (locate_old_decl): Add format attribute.
(implicit_decl_warning): Likewise.

cp:
* call.c (convert_like_real): Add format attribute.
* typeck.c (check_for_casting_away_constness,
build_static_cast_1): Likewise.
* typeck2.c (readonly_error, cxx_incomplete_type_diagnostic):
Likewise.

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

19 years ago * diagnostic.h (verbatim): Move ...
ghazi [Sat, 18 Jun 2005 15:03:56 +0000 (15:03 +0000)]
* diagnostic.h (verbatim): Move ...
* toplev.h (verbatim): ... here.  Add ATTRIBUTE_GCC_DIAG.
* pretty-print.h (pp_verbatim): Add ATTRIBUTE_GCC_PPDIAG.

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

19 years ago PR target/22083
sayle [Sat, 18 Jun 2005 13:26:20 +0000 (13:26 +0000)]
PR target/22083
* config/rs6000/aix51.h (TARGET_C99_FUNCTIONS): Remove definition.

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

19 years ago * tree.def (REDUC_MAX_EXPR, REDUC_MIN_EXPR, REDUC_PLUS_EXPR): New
dorit [Sat, 18 Jun 2005 13:18:52 +0000 (13:18 +0000)]
    * tree.def (REDUC_MAX_EXPR, REDUC_MIN_EXPR, REDUC_PLUS_EXPR): New
        tree-codes.
        * optabs.h (OTI_reduc_smax, OTI_reduc_umax, OTI_reduc_smin,
        OTI_reduc_umin, OTI_reduc_plus): New optabs for reduction.
        (reduc_smax_optab, reduc_umax_optab, reduc_smin_optab, reduc_umin_optab,
        reduc_plus_optab): New optabs for reduction.
        * expr.c (expand_expr_real_1): Handle new tree-codes.
        * tree-inline.c (estimate_num_insns_1): Handle new tree-codes.
        * tree-pretty-print.c (dump_generic_node, op_prio, op_symbol): Handle
        new tree-codes.
        * optabs.c (optab_for_tree_code): Handle new tree-codes.
        (init_optabs): Initialize new optabs.
        * genopinit.c (optabs): Define handlers for new optabs.

        * tree-vect-analyze.c (vect_analyze_operations): Fail vectorization in
        case of a phi that is marked as relevant. Call vectorizable_reduction.
        (vect_mark_relevant): Phis may be marked as relevant.
        (vect_mark_stmts_to_be_vectorized): The use corresponding to the
        reduction variable in a reduction stmt does not mark its defining phi
        as relevant. Update documentation accordingly.
        (vect_can_advance_ivs_p): Skip reduction phis.
        * tree-vect-transform.c (vect_get_vec_def_for_operand): Takes
        additional argument. Handle reduction.
        (vect_create_destination_var): Update call to vect_get_new_vect_var.
        Handle non-vector argument.
        (get_initial_def_for_reduction): New function.
        (vect_create_epilog_for_reduction): New function.
        (vectorizable_reduction): New function.
        (vect_get_new_vect_var): Handle new vect_var_kind.
        (vectorizable_assignment, vectorizable_operation, vectorizable_store,
        vectorizable_condition): Update call to vect_get_new_vect_var.
        (vect_transform_stmt): Call vectorizable_reduction.
        (vect_update_ivs_after_vectorizer): Skip reduction phis.
        (vect_transform_loop): Skip if stmt is both not relevant and not live.
        * tree-vectorizer.c (reduction_code_for_scalar_code): New function.
        (vect_is_simple_reduction): Was empty - added implementation.
        * tree-vectorizer.h (vect_scalar_var): New enum vect_var_kind value.
        (reduc_vec_info_type): New enum vect_def_type value.
        * config/rs6000/altivec.md (reduc_smax_v4si, reduc_smax_v4sf,
        reduc_umax_v4si, reduc_smin_v4si, reduc_umin_v4sf, reduc_smin_v4sf,
        reduc_plus_v4si, reduc_plus_v4sf): New define_expands.

        * tree-vect-analyze.c (vect_determine_vectorization_factor): Remove
        ENABLE_CHECKING around gcc_assert.
        * tree-vect-transform.c (vect_do_peeling_for_loop_bound,
        (vect_do_peeling_for_alignment, vect_transform_loop,
        vect_get_vec_def_for_operand): Likewise.

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

19 years ago * config/ia64/ia64.c (ia64_function_arg): Set up a PARALLEL for a
jsm28 [Sat, 18 Jun 2005 11:56:42 +0000 (11:56 +0000)]
* config/ia64/ia64.c (ia64_function_arg): Set up a PARALLEL for a
big-endian unnamed __float80 value.

testsuite:
* gcc.target/ia64/float80-varargs-1.c: New test.

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

19 years ago PR tree-opt/22035
tobi [Sat, 18 Jun 2005 11:51:47 +0000 (11:51 +0000)]
PR tree-opt/22035
* gfortran.dg/f2c_6.f90: New test.

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

19 years ago PR tree-opt/22103
rth [Sat, 18 Jun 2005 08:51:44 +0000 (08:51 +0000)]
    PR tree-opt/22103
        * tree-sra.c (generate_copy_inout): Handle SSA_NAME complex
        destinations.

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

19 years ago2005-06-17 Jakub Jelinek <jakub@redhat.com>
bkoz [Sat, 18 Jun 2005 06:14:43 +0000 (06:14 +0000)]
2005-06-17  Jakub Jelinek  <jakub@redhat.com>
            Benjamin Kosnik  <bkoz@redhat.com>

* config/abi/alpha-linux-gnu/baseline_symbols.txt: Update.
* config/abi/hppa-linux-gnu/baseline_symbols.txt: Same.
* config/abi/mips-linux-gnu/baseline_symbols.txt: Same.
* config/abi/sparc-linux-gnu/baseline_symbols.txt: Same.

* config/abi/alpha-freebsd5/baseline_symbols.txt: Remove.
* config/abi/i386-freebsd4/baseline_symbols.txt: Same.
* config/abi/i386-freebsd5/baseline_symbols.txt: Same.
* config/abi/sparc-freebsd5/baseline_symbols.txt: Same.

* config/abi/arm-linux-gnu/baseline_symbols.txt: Remove.
* config/abi/m68k-linux-gnu/baseline_symbols.txt: Same.

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

19 years agoDaily bump.
gccadmin [Sat, 18 Jun 2005 00:16:21 +0000 (00:16 +0000)]
Daily bump.

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

19 years ago2005-06-17 Geoffrey Keating <geoffk@apple.com>
geoffk [Fri, 17 Jun 2005 22:13:33 +0000 (22:13 +0000)]
2005-06-17  Geoffrey Keating  <geoffk@apple.com>

PR c++/17413
* pt.c (type_unification_real): Apply template type deduction even
to procedure parameters that are not dependent on a template
parameter.

Index: testsuite/ChangeLog
2005-06-17  Geoffrey Keating  <geoffk@apple.com>

PR c++/17413
* g++.dg/template/local5.C: New.

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

19 years ago * tree-vect-transform.c (vect_do_peeling_for_loop_bound): Use
rth [Fri, 17 Jun 2005 22:05:47 +0000 (22:05 +0000)]
    * tree-vect-transform.c (vect_do_peeling_for_loop_bound): Use
        initialize_original_copy_tables and free_original_copy_tables.
        (vect_do_peeling_for_alignment): Likewise.

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

19 years ago2005-06-17 Paolo Carlini <pcarlini@suse.de>
paolo [Fri, 17 Jun 2005 21:51:34 +0000 (21:51 +0000)]
2005-06-17  Paolo Carlini  <pcarlini@suse.de>

        Port from libstdcxx_so_7-branch:
2005-01-12  Christopher Jefferson <chris@bubblescope.net>

* include/bits/stl_function.h (mem_fun_t, const_mem_fun_t,
mem_fun_ref_t, const_mem_fun_ref_t, mem_fun1_t, const_mem_fun1_t,
mem_fun1_ref_t, const_mem_fun1_ref_t): Remove overloads for void
return type, just an old HP/SGI workaround.
* testsuite/20_util/functional/binders.cc: Move to...
* testsuite/20_util/functional/binders/3113.cc: ...here.
* testsuite/20_util/functional/binders/1.cc: New.

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

19 years ago2005-06-17 Pat Haugen <pthaugen@us.ibm.com>
dje [Fri, 17 Jun 2005 21:42:08 +0000 (21:42 +0000)]
2005-06-17  Pat Haugen  <pthaugen@us.ibm.com>

        * bb-reorder.c (find_traces_1_round): Use succ block frequency
        instead of edge frequency for calls to better_edge_p.

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

19 years ago2005-06-17 Andrew Pinski <pinskia@physics.uc.edu>
pinskia [Fri, 17 Jun 2005 21:33:51 +0000 (21:33 +0000)]
2005-06-17  Andrew Pinski  <pinskia@physics.uc.edu>

        PR tree-opt/22105
        * tree-ssa-loop-im.c (for_each_index): Handle COMPLEX_CST.

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

19 years ago * es.po: Update.
jsm28 [Fri, 17 Jun 2005 21:18:17 +0000 (21:18 +0000)]
* es.po: Update.

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

19 years ago * gcc.dg/sync-2.c (do_qi): Cast negative results to char.
rth [Fri, 17 Jun 2005 20:58:28 +0000 (20:58 +0000)]
    * gcc.dg/sync-2.c (do_qi): Cast negative results to char.

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