]> git.ipfire.org Git - thirdparty/gcc.git/log
thirdparty/gcc.git
19 years agolibiberty.h (ACONCAT): Properly cast value of alloca().
Gabriel Dos Reis [Tue, 24 May 2005 20:48:25 +0000 (20:48 +0000)] 
libiberty.h (ACONCAT): Properly cast value of alloca().

include/
2005-05-24  Gabriel Dos Reis  <gdr@integrable-solutions.net>

* libiberty.h (ACONCAT): Properly cast value of alloca().

* ansidecl.h (ATTRIBUTE_UNUSED_LABEL): Don't define if
__cplusplus.

libiberty/
2005-05-24  Gabriel Dos Reis  <gdr@integrable-solutions.net>

* configure.ac: Check declarations for calloc(), getenv(),
malloc(), realloc() and sbrk().
* config.in: Regenerate.
* configure: Likewise.

* alloca.c (C_alloca): Change "new" to "new_storage".  Use XNEWVEC
instead of xmalloc.
* choose-temp.c (choose_temp_base): Use XNEWVEC instea od xmalloc.
* concat.c (liiberty_concat_ptr): Surround definition with an
extern "C" block, if __cplusplus.
(concat): Use XNEWVEC instead of xmalloc.
(reconcat): Likewise.
* cp-demangle.c (struct d_print_template): Rename member
"template" to "template_decl".  Adjust use throughout the file.
(d_print_resize): Properly cast return value of realloc().
(cplus_demangle_print): Same for malloc().
(d_demangle): Likewise.
* cp-demint.c (cplus_demangle_fill_builtin_type): Rename parameter
"typename" to "type_name".
* cplus-dem.c (grow_vect): Use XRESIZEVEC instead of xrealloc().
(work_stuff_copy_to_from): Use XNEWVEC insteand of xmalloc().
(demangle_template_value_parm): Likewise.
(demangle_template): Likewise.
(recursively_demangle): Likewise.
(do_hpacc_template_literal): Likewise.
(do_arg): Likewise.
(remember_type): Likewise.
(remember_Ktype): Likewise.
(register_Btype): Likewise.
(string_need): Use XRESIZEVEC instead of xrealloc().
* dyn-string.c (dyn_string_init): Use XNEWVEC.
(dyn_string_new): Use XNEW.
(dyn_string_resize): Use XRESIZEVEC.
* fnmatch.c (fnmatch): Rename local variable "not" to "negate".
* getopt.c (getenv): Declare only if !__cplusplus and !getenv.
Otherwise include <stdlib.h>.
(exchange): Cast return value of malloc().
* hashtab.c (htab_size): Define as both macro and non-inline
function.
(htab_elements): Likewise.
* getpwd.c (getpwd): Use XNEWVEC.
(htab_create_alloc_ex): Use C90 prototype-style.
* lrealpath.c (lrealpath): Appropriately cast return value of
malloc().
* make-relative-prefix.c (save_string): Likewise.
* make-temp-file.c (try_dir): Rename from "try".  Adjust use in
the file.
(choose_tmpdir): Use XNEWVEC.
* mkstemps.c (mkstemps): Rename parameter "template" to "pattern".
* pex-common.c (pex_init_common): Use XNEW.
(pex_add_remove): Use XRESIZEVEC.
(pex_run): Likewise.
(pex_get_status_and_time): Likewise.
* pex-djgpp.c (pex_djgpp_exec_child): Likewise.
* pex-msdos.c (pex_init): Use XNEW.
(pex_msdos_exec_child): Likewise.
(pex_msdos_exec_child): Use XRESIZEVEC.
* pex-unix.c (pex_wait): Use XNEW.
* pex-win32.c (fix_argv): Use XNEWVEC.
* pexecute.c (pwait): Likewise.
* setenv.c (setenv): Properly cast return value of malloc().
* sigsetmask.c (sigsetmask): Rename local variables "old" and
"new" to "old_sig" and "new_sig".
* sort.c (main): Use XNEWVEC.
* spaces.c (spaces): Cast return value of malloc().
* strndup.c (strndup): Likewise.
* ternary.c (ternary_insert): Use XNEW.
* xmalloc.c (malloc, realloc, calloc, sbrk): Surround declaration
with an extern "C" block if __cplusplus.
* xstrdup.c (xstrdup): Cast return value of memcpy().
* xstrerror.c (strerror): Enclose declaration in an extern "C"
block if __cplusplus.
* xstrndup.c (xstrndup): Use XNEW. Cast return value of memcpy().

From-SVN: r100115

19 years ago* libgfortran/ChangeLog: Corrected author name.
Peter Wainwright [Tue, 24 May 2005 20:46:54 +0000 (20:46 +0000)] 
* libgfortran/ChangeLog: Corrected author name.

From-SVN: r100114

19 years agoia64intrin.h: Define nothing for C++: overloaded builtins have been ported to C++.
Paolo Carlini [Tue, 24 May 2005 20:38:40 +0000 (20:38 +0000)] 
ia64intrin.h: Define nothing for C++: overloaded builtins have been ported to C++.

2005-05-24  Paolo Carlini  <pcarlini@suse.de>

* config/ia64/ia64intrin.h: Define nothing for C++:
overloaded builtins have been ported to C++.

From-SVN: r100112

19 years agoallocator.h: Change ___glibcxx_base_allocator to __glibcxx_base_allocator.
Benjamin Kosnik [Tue, 24 May 2005 20:28:55 +0000 (20:28 +0000)] 
allocator.h: Change ___glibcxx_base_allocator to __glibcxx_base_allocator.

2005-05-24  Benjamin Kosnik  <bkoz@redhat.com>

* include/bits/allocator.h: Change ___glibcxx_base_allocator to
__glibcxx_base_allocator.
* config/allocator/bitmap_allocator_base.h: Same.
* config/allocator/malloc_allocator_base.h: Same.
* config/allocator/mt_allocator_base.h: Same.
* config/allocator/new_allocator_base.h: Same.
* config/allocator/pool_allocator_base.h: Same.

From-SVN: r100111

19 years agotree-nested.c (build_addr): New "context" argument.
Jeff Law [Tue, 24 May 2005 20:19:13 +0000 (14:19 -0600)] 
tree-nested.c (build_addr): New "context" argument.

        * tree-nested.c (build_addr): New "context" argument.  Temporarily
        set current_function_decl around the call to build the ADDR_EXPR.
        (get_static_chain): Pass proper context to build_addr.
        (convert_nl_goto_reference): Likewise.
        (convert_tramp_reference): Likewise.
        (final_nesting_tree_1): Likewise.
        * tree-profile.c (tree_gen_interval_profiler): Likewise.
        (tree_gen_pow2_profiler): Likewise.
        (tree_gen_one_value_profiler): Likewise.
        * tree-ssa-loop-ivopts.c (build_addr_strip_iref): Likewise.
        * tree.h (build_addr): Update prototype.

From-SVN: r100110

19 years agotree-flow.h (bb_ann_d): Remove has_escape_site.
Kazu Hirata [Tue, 24 May 2005 19:57:52 +0000 (19:57 +0000)] 
tree-flow.h (bb_ann_d): Remove has_escape_site.

* tree-flow.h (bb_ann_d): Remove has_escape_site.
* tree-ssa-alias.c (compute_points_to_addr_escape): Don't
write to has_escape_site.

From-SVN: r100109

19 years agobuiltins.c (define_builtin): Don't call make_decl_rtl.
Richard Henderson [Tue, 24 May 2005 19:22:03 +0000 (12:22 -0700)] 
builtins.c (define_builtin): Don't call make_decl_rtl.

        * builtins.c (define_builtin): Don't call make_decl_rtl.
        * constants.c (build_constant_data_ref): Likewise.
        * class.c (build_utf8_ref): Likewise.
        (build_fieldref_cache_entry, build_static_field_ref): Likewise.
        (get_dispatch_table, layout_class_method): Likewise.
        (build_class_ref): Likewise. Don't set DECL_SIZE or DECL_SIZE_UNIT
        by hand.
        (make_local_function_alias): Don't SET_DECL_ASSEMBLER_NAME.
        (make_method_value): Use METHOD_ABSTRACT instead of DECL_RTL_SET_P
        to determine if we need a non-zero address.
        * decl.c (builtin_function): Don't call make_decl_rtl.
        (give_name_to_locals): Don't SET_DECL_ASSEMBLER_NAME.
        * expr.c (build_known_method_ref): Don't call make_decl_rtl.
        * resource.c (compile_resource_data): Likewise.
        * parse.y (resolve_field_access): Re-word comment to avoid
        building DECL_RTL.

From-SVN: r100108

19 years agoclass.c (registered_class): Take it out of class_roots; turn into a vec of trees.
Richard Henderson [Tue, 24 May 2005 19:18:51 +0000 (12:18 -0700)] 
class.c (registered_class): Take it out of class_roots; turn into a vec of trees.

        * class.c (registered_class): Take it out of class_roots; turn into
        a vec of trees.
        (register_class): Make static.  Don't duplicate decl node.  Use
        VEC_safe_push.
        (emit_register_classes): Use VEC_iterate.  Use output_constant
        instead of assemble_integer.  Don't call mark_decl_referenced
        directly.
        * java-tree.h (register_class): Remove decl.

From-SVN: r100107

19 years agore PR c++/21645 (C++ ICE in cxx_types_compatible_p)
Andrew Pinski [Tue, 24 May 2005 19:06:20 +0000 (19:06 +0000)] 
re PR c++/21645 (C++ ICE in cxx_types_compatible_p)

2005-05-24  Andrew Pinski  <pinskia@physics.uc.edu>

        PR C++/21645
        * g++.dg/init/ctor5.C: New test.

2005-05-24  Andrew Pinski  <pinskia@physics.uc.edu>

        PR C++/21645
        * optimize.c (update_cloned_parm): Copy the TYPE also from the
        original one.

From-SVN: r100106

19 years agoMakefile.in (tree-cfg.o): Depend on tree-ssa-propagate.h.
Jeff Law [Tue, 24 May 2005 14:06:04 +0000 (08:06 -0600)] 
Makefile.in (tree-cfg.o): Depend on tree-ssa-propagate.h.

        * Makefile.in (tree-cfg.o): Depend on tree-ssa-propagate.h.
        * tree-cfg.c: Include tree-ssa-propagate.h.
        (replace_uses_by): Call recompute_tree_invarant_for_addr_expr as
        needed.

From-SVN: r100103

19 years agovect-none.c: Split into vect-106.c...
Ira Rosen [Tue, 24 May 2005 11:56:58 +0000 (11:56 +0000)] 
vect-none.c: Split into vect-106.c...

* gcc.dg/vect/vect-none.c: Split into vect-106.c, vect-107.c,
        vect-108.c, vect-109.c, vect-110.c, vect-111.c, vect-112.c,
        vect-113.c, vect-114.c.

From-SVN: r100102

19 years ago[multiple changes]
Paolo Carlini [Tue, 24 May 2005 10:58:22 +0000 (10:58 +0000)] 
[multiple changes]

2005-05-24  Jonathan Wakely  <redi@gcc.gnu.org>

* include/debug/string (class basic_string): Add missing
default template arguments; provide typedefs for char
and wchar_t.
(operator[]): Allow s[s.size()] in debug mode, but not
pedantic mode.

2005-05-24  Paolo Carlini  <pcarlini@suse.de>

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

* include/bits/stl_algo.h (count): Correct concept checks.
(search_n) : Likewise.
* testsuite/25_algorithms/search_n/check_type.cc: New.

* testsuite/testsuite_iterators.h
(random_access_iterator_wrapper::operator+): Move out of
class to external function, and add symmetric version.

2005-03-14  Christopher Jefferson  <chris@bubblescope.net>

* testsuite/testsuite_iterators.h (WritableObject::WritableObject):
Add const.

2005-02-01  Christopher Jefferson  <chris@bubblescope.net>

* testsuite/testsuite_iterators.h (random_access_iterator_wrapper::
operator--): Fix typo.
(OutputContainer::OutputContainer): Correct zeroing array.
(WritableObject::operator==): Fix typo.
        (WritableObject::operator=): make operator= templated
to allow differing types to be assigned.
(WritableObject::operator++): Fix checking if iterator is
written to multiple times.
(random_access_iterator_wrapper::operator+): Add const.
(random_access_iterator_wrapper::operator-): Likewise.
(random_access_iterator_wrapper::operator[]): Add dereference.

From-SVN: r100101

19 years ago(rs6000_cpu_cpp_builtins): Define __NO_FPRS__ when 'f' class registers will
Nick Clifton [Tue, 24 May 2005 09:09:07 +0000 (09:09 +0000)] 
(rs6000_cpu_cpp_builtins): Define __NO_FPRS__ when 'f' class registers will
not be available.

From-SVN: r100097

19 years agom32r.c (m32r_expand_block_move): Return 0 if nothing was done.
Kazuhiro Inaoka [Tue, 24 May 2005 07:45:24 +0000 (07:45 +0000)] 
m32r.c (m32r_expand_block_move): Return 0 if nothing was done.

* config/m32r/m32r.c (m32r_expand_block_move):  Return 0 if nothing was done.
* config/m32r/m32r.md (movmemsi):  If m32r_expand_block_move did nothing then FAIL.
* config/m32r/m32r/m32r-protos.h  (m32r_expand_block_move): Update prototype.

From-SVN: r100095

19 years ago* gcc.dg/const-elim-1.c: Remove xfails.
Adam Nemet [Tue, 24 May 2005 05:57:46 +0000 (05:57 +0000)] 
* gcc.dg/const-elim-1.c: Remove xfails.

From-SVN: r100093

19 years agotree-ssa-dom.c (cprop_into_stmt): Do not call recompute_tree_invariant_for_addr_expr...
Jeff Law [Tue, 24 May 2005 02:54:06 +0000 (20:54 -0600)] 
tree-ssa-dom.c (cprop_into_stmt): Do not call recompute_tree_invariant_for_addr_expr here.

* tree-ssa-dom.c (cprop_into_stmt): Do not call
recompute_tree_invariant_for_addr_expr here.
(optimize_stmt): Call it here instead and do so if anything
at all has changed in the statement and the RHS is an ADDR_EXPR.
* tree-ssa-forwprop.c (tidy_after_forward_propagate_addr): If
needed, call recompute_tree_invariant_for_addr_expr.
* tree-ssa-propagate.c (substitute_and_fold): Call
recompute_tree_invariant_for_addr_expr as needed.

* gcc.c-torture/compile/pr21638.c: New test.
* gcc.c-torture/compile/20050520-1.c: New test.

From-SVN: r100092

19 years agoDaily bump.
GCC Administrator [Tue, 24 May 2005 00:16:15 +0000 (00:16 +0000)] 
Daily bump.

[[Split portion of a mixed commit.]]

From-SVN: r100090.2

19 years agotweak comment
Jason Merrill [Mon, 23 May 2005 23:02:53 +0000 (19:02 -0400)] 
tweak comment

From-SVN: r100088

19 years agodebug.html: Explain that _GLIBXX_DEBUG_PEDANTIC had to be defined for pedantic mode...
Jonathan Wakely [Mon, 23 May 2005 21:53:46 +0000 (22:53 +0100)] 
debug.html: Explain that _GLIBXX_DEBUG_PEDANTIC had to be defined for pedantic mode in 3.4...

* docs/html/debug.html: Explain that _GLIBXX_DEBUG_PEDANTIC
had to be defined for pedantic mode in 3.4 and 4.0.0.

From-SVN: r100087

19 years agos390.c (s390_optimize_prologue): Don't replace an insn saving less registers than...
Andreas Krebbel [Mon, 23 May 2005 16:43:06 +0000 (16:43 +0000)] 
s390.c (s390_optimize_prologue): Don't replace an insn saving less registers than the replacement.

2005-05-23  Andreas Krebbel  <krebbel1@de.ibm.com>

* config/s390/s390.c (s390_optimize_prologue): Don't replace an insn
saving less registers than the replacement.

From-SVN: r100081

19 years ago* tree-flow.h (stmt_ann_d): Kill GTY ((skip)) mark on BB.
Jan Hubicka [Mon, 23 May 2005 12:37:47 +0000 (14:37 +0200)] 
* tree-flow.h (stmt_ann_d): Kill GTY ((skip)) mark on BB.

From-SVN: r100080

19 years ago20020720-1.x: Fix m32r target selector to be a proper triple, ie: m32r*-*-*.
Nick Clifton [Mon, 23 May 2005 08:41:57 +0000 (08:41 +0000)] 
20020720-1.x: Fix m32r target selector to be a proper triple, ie: m32r*-*-*.

* gcc.c-torture/execute/20020720-1.x: Fix m32r target selector to be a proper
    triple, ie: m32r*-*-*.
* g++.old-deja/g++.jason/thunk3.C: Likewise.

From-SVN: r100078

19 years agosparc-protos.h (sparc_expand_move): New prototype.
Eric Botcazou [Mon, 23 May 2005 07:09:03 +0000 (09:09 +0200)] 
sparc-protos.h (sparc_expand_move): New prototype.

* config/sparc/sparc-protos.h (sparc_expand_move): New prototype.
* config/sparc/sparc.c (sparc_expand_move): New function.
(sparc_emit_set_const64): Rewrite assert condition on entry.
(legitimate_constant_p) <CONST_VECTOR>: New case.
(legitimize_pic_address): Use TARGET_ARCH64 to select the mode.
* config/sparc/sparc.md (movqi, movhi, movsi, movdi, movV32,
movV64, movtf): Use nonimmediate_operand for the first operand.
Rewrite.  Only invoke sparc_expand_move.
* config/sparc/predicates.md (input_operand): Reorder tests.

From-SVN: r100077

19 years agogthr-posix.h (__gthread_recursive_mutex_init_function): Add missing return statement.
Jan Beulich [Mon, 23 May 2005 06:42:19 +0000 (06:42 +0000)] 
gthr-posix.h (__gthread_recursive_mutex_init_function): Add missing return statement.

gcc/
2005-05-23  Jan Beulich  <jbeulich@novell.com>

* gthr-posix.h (__gthread_recursive_mutex_init_function): Add
missing return statement.

From-SVN: r100075

19 years ago* gfortran.texi: Document some more GNU extensions.
Roger Sayle [Mon, 23 May 2005 03:20:19 +0000 (03:20 +0000)] 
* gfortran.texi: Document some more GNU extensions.

From-SVN: r100074

19 years agoDaily bump.
GCC Administrator [Mon, 23 May 2005 00:16:15 +0000 (00:16 +0000)] 
Daily bump.

[[Split portion of a mixed commit.]]

From-SVN: r100072.2

19 years ago* error.c (gfc_warning): Fix typo in comment.
Francois-Xavier Coudert [Sun, 22 May 2005 22:12:48 +0000 (00:12 +0200)] 
* error.c (gfc_warning): Fix typo in comment.

From-SVN: r100070

19 years agore PR libfortran/21376 (libfortran "E" output format causes FPE)
Peter Wainwright [Sun, 22 May 2005 21:17:42 +0000 (21:17 +0000)] 
re PR libfortran/21376 (libfortran "E" output format causes FPE)

PR libfortran/21376
* io/write.c (output_float): Rework logic to avoid call to log10
with argument equal to zero.

From-SVN: r100068

19 years agore PR bootstrap/21683 (build failure on i386-mingw (sys/wait.h header))
Danny Smith [Sun, 22 May 2005 17:01:02 +0000 (17:01 +0000)] 
re PR bootstrap/21683 (build failure on i386-mingw (sys/wait.h header))

        PR target/21683
        * fixincl.c: Don't include <sys/wait.h> if SEPARATE_FIX_PROC.

From-SVN: r100066

19 years agosparc.c (sparc_emit_float_lib_cmp): Use emit_move_insn for moves to TFmode stack...
Eric Botcazou [Sun, 22 May 2005 07:34:37 +0000 (09:34 +0200)] 
sparc.c (sparc_emit_float_lib_cmp): Use emit_move_insn for moves to TFmode stack slots.

* config/sparc/sparc.c (sparc_emit_float_lib_cmp): Use
emit_move_insn for moves to TFmode stack slots.

From-SVN: r100058

19 years agomprec.c (mult, [...]): Add parenthesis to avoid warnings.
Andreas Jaeger [Sun, 22 May 2005 06:55:21 +0000 (08:55 +0200)] 
mprec.c (mult, [...]): Add parenthesis to avoid warnings.

* java/lang/mprec.c (mult, lshift, b2d, d2b): Add parenthesis to
avoid warnings.

From-SVN: r100057

19 years agoGive credit, where credit is due.
Ziemowit Laski [Sun, 22 May 2005 02:41:42 +0000 (02:41 +0000)] 
Give credit, where credit is due.

From-SVN: r100056

19 years agoDaily bump.
GCC Administrator [Sun, 22 May 2005 00:16:31 +0000 (00:16 +0000)] 
Daily bump.

[[Split portion of a mixed commit.]]

From-SVN: r100053.2

19 years agocrontab: Spread snapshot building more evenly throughout the week.
Gerald Pfeifer [Sat, 21 May 2005 21:56:24 +0000 (21:56 +0000)] 
crontab: Spread snapshot building more evenly throughout the week.

* crontab: Spread snapshot building more evenly throughout the
week.

From-SVN: r100051

19 years agore PR middle-end/21331 (Incorrect folding of comparison)
Andrew Pinski [Sat, 21 May 2005 16:57:24 +0000 (16:57 +0000)] 
re PR middle-end/21331 (Incorrect folding of comparison)

2004-05-21  Andrew Pinski  <pinskia@physics.uc.edu>

        PR middle-end/21331
        PR tree-opt/21293
        * gcc.c-torture/compile/pr21293.c: New test.
        * gcc.c-torture/execute/pr21331.c: New test.

From-SVN: r100045

19 years ago* testsuite/libjava.jacks/jacks.xfail: Remove 3.10.2-round-6.
Ranjit Mathew [Sat, 21 May 2005 13:57:49 +0000 (13:57 +0000)] 
* testsuite/libjava.jacks/jacks.xfail: Remove 3.10.2-round-6.

From-SVN: r100044

19 years agotree-stdarg.c (execute_optimize_stdarg): Handle references to va_list of the form...
Richard Guenther [Sat, 21 May 2005 12:35:55 +0000 (12:35 +0000)] 
tree-stdarg.c (execute_optimize_stdarg): Handle references to va_list of the form &va[0].

2005-05-21  Richard Guenther  <rguenth@gcc.gnu.org>

* tree-stdarg.c (execute_optimize_stdarg): Handle references
to va_list of the form &va[0].

From-SVN: r100043

19 years agoconfigure.ac: Check for trunc and truncf in libm.
Eric Botcazou [Sat, 21 May 2005 06:44:50 +0000 (08:44 +0200)] 
configure.ac: Check for trunc and truncf in libm.

* configure.ac: Check for trunc and truncf in libm.
* configure: Regenerate.
* config.h.in: Likewise.
* intrinsics/c99_functions.c (trunc, truncf): New functions.
* c99_protos.h (trunc, truncf): Declare them.

From-SVN: r100040

19 years agoDaily bump.
GCC Administrator [Sat, 21 May 2005 00:16:30 +0000 (00:16 +0000)] 
Daily bump.

[[Split portion of a mixed commit.]]

From-SVN: r100038.2

19 years ago* g++.dg/other/stdarg3.C: Spell "hpux*" correctly.
Richard Henderson [Fri, 20 May 2005 23:52:46 +0000 (16:52 -0700)] 
* g++.dg/other/stdarg3.C: Spell "hpux*" correctly.

From-SVN: r100036

19 years agoGive credit, where credit is due.
Ziemowit Laski [Fri, 20 May 2005 23:42:07 +0000 (23:42 +0000)] 
Give credit, where credit is due.

From-SVN: r100035

19 years agoobj-c++-dg.exp: Add.
Mike Stump [Fri, 20 May 2005 22:14:16 +0000 (22:14 +0000)] 
obj-c++-dg.exp: Add.

        * obj-c++-dg.exp: Add.
        * obj-c++.exp: Add.
        * obj-c++.dg/dg.exp: Add.

From-SVN: r100031

19 years agoMakefile.in (insn-emit.o): Add basic-block.h dependency.
Jan Hubicka [Fri, 20 May 2005 21:17:48 +0000 (23:17 +0200)] 
Makefile.in (insn-emit.o): Add basic-block.h dependency.

* Makefile.in (insn-emit.o): Add basic-block.h dependency.
* genemit.c (main): Make insn-emit to include basic-block.h too.

From-SVN: r100028

19 years agostubs.c: Also implement fabsf/fabsl if not present in the system libraries.
Jan Beulich [Fri, 20 May 2005 14:00:06 +0000 (14:00 +0000)] 
stubs.c: Also implement fabsf/fabsl if not present in the system libraries.

libstdc++-v3/
2005-05-20  Jan Beulich  <jbeulich@novell.com>

* libmath/stubs.c: Also implement fabsf/fabsl if not present in the
system libraries.

From-SVN: r100013

19 years agostl_algo.h (__rotate<_RandomAccessIterator>): Don't qualify __tmp as const, _ValueTyp...
Paolo Carlini [Fri, 20 May 2005 08:58:23 +0000 (08:58 +0000)] 
stl_algo.h (__rotate<_RandomAccessIterator>): Don't qualify __tmp as const, _ValueType is not necessarily Assignable.

2005-05-20  Paolo Carlini  <pcarlini@suse.de>

* include/bits/stl_algo.h (__rotate<_RandomAccessIterator>):
Don't qualify __tmp as const, _ValueType is not necessarily
Assignable.
* include/bits/stl_algobase.h (swap, __iter_swap<false>):
Likewise, as an harmless extension.

From-SVN: r100011

19 years agothunk3.C: XFAIL on m32r*-*.
Nick Clifton [Fri, 20 May 2005 08:25:49 +0000 (08:25 +0000)] 
thunk3.C: XFAIL on m32r*-*.

* g++.old-deja/g++.jason/thunk3.C: XFAIL on m32r*-*.
* gcc.c-torture/execute/20020720-1.x: Add xfail for m32r*-*.
* gcc.c-torture/execute/20020720-1.x: Add xfail for avr-*-*.

From-SVN: r100010

19 years ago* cgraphunit.c (cgraph_expand_function): Force function being lowered.
Jan Hubicka [Fri, 20 May 2005 08:05:07 +0000 (10:05 +0200)] 
* cgraphunit.c (cgraph_expand_function): Force function being lowered.

From-SVN: r100009

19 years agoMakefile.def (configure-gcc): Depend on binutils having been built.
Paolo Bonzini [Fri, 20 May 2005 07:10:30 +0000 (07:10 +0000)] 
Makefile.def (configure-gcc): Depend on binutils having been built.

2005-05-20  Paolo Bonzini  <bonzini@gnu.org>

* Makefile.def (configure-gcc): Depend on binutils having been built.
(all-gcc): No need to do it here.
* Makefile.in: Regenerate.

From-SVN: r100007

19 years ago* g++.dg/other/stdarg3.C: Only use -mlp64 for hpux.
Richard Henderson [Fri, 20 May 2005 05:00:29 +0000 (22:00 -0700)] 
* g++.dg/other/stdarg3.C: Only use -mlp64 for hpux.

From-SVN: r100006

19 years agoalpha.c (emit_unlikely_jump, [...]): Split out from ...
Richard Henderson [Fri, 20 May 2005 02:38:56 +0000 (19:38 -0700)] 
alpha.c (emit_unlikely_jump, [...]): Split out from ...

        * config/alpha/alpha.c (emit_unlikely_jump, emit_load_locked,
        emit_store_conditional): Split out from ...
        (alpha_split_atomic_op): ... here.
        (alpha_split_compare_and_swap): New; extract from .md file.
        (alpha_split_lock_test_and_set): Likewise.
        * config/alpha/alpha-protos.h: Update.
        * config/alpha/sync.md (sync_compare_and_swap<I48MODE>): Move
        split code into alpha.c.
        (sync_lock_test_and_set<I48MODE>): Likewise.

From-SVN: r100005

19 years ago* exception.cc: Revert 05-17 gcc_unreachable change.
Richard Henderson [Fri, 20 May 2005 01:28:35 +0000 (18:28 -0700)] 
* exception.cc: Revert 05-17 gcc_unreachable change.

From-SVN: r100004

19 years ago* exception.c: Revert last change.
Richard Henderson [Fri, 20 May 2005 01:26:56 +0000 (18:26 -0700)] 
* exception.c: Revert last change.

From-SVN: r100003

19 years ago* libsupc++/unwind-cxx.h: Revert gcc_unreachable change.
Richard Henderson [Fri, 20 May 2005 01:24:50 +0000 (18:24 -0700)] 
* libsupc++/unwind-cxx.h: Revert gcc_unreachable change.

From-SVN: r100002

19 years ago* unwind.h, unwind-pe.h: Revert gcc_unreachable change of 05-17.
Richard Henderson [Fri, 20 May 2005 00:59:02 +0000 (17:59 -0700)] 
* unwind.h, unwind-pe.h: Revert gcc_unreachable change of 05-17.

From-SVN: r100001

19 years agoDaily bump.
GCC Administrator [Fri, 20 May 2005 00:16:22 +0000 (00:16 +0000)] 
Daily bump.

[[Split portion of a mixed commit.]]

From-SVN: r99999.2

19 years ago* gcc.dg/altivec-21.c: Use dg-error only for ilp32.
Janis Johnson [Thu, 19 May 2005 23:23:27 +0000 (23:23 +0000)] 
* gcc.dg/altivec-21.c: Use dg-error only for ilp32.

From-SVN: r99997

19 years ago* gcc.dg/vect/vect-dv-2.c: Remove dg-do directive.
Janis Johnson [Thu, 19 May 2005 23:22:23 +0000 (23:22 +0000)] 
* gcc.dg/vect/vect-dv-2.c: Remove dg-do directive.

From-SVN: r99996

19 years agonatClassLoader.cc (_Jv_NewClass): Use _Jv_RegisterInitiatingLoader to register array...
Bryce McKinlay [Thu, 19 May 2005 22:24:26 +0000 (22:24 +0000)] 
natClassLoader.cc (_Jv_NewClass): Use _Jv_RegisterInitiatingLoader to register array classes, not _Jv_RegisterClass.

* java/lang/natClassLoader.cc (_Jv_NewClass): Use
_Jv_RegisterInitiatingLoader to register array classes, not
_Jv_RegisterClass.
(_Jv_RegisterInitiatingLoader): Give up if called very early during
bootstrapping. Add a FIXME to handle this case better.

From-SVN: r99993

19 years agoMakefile.am (libgcj0_convenience_la): Removed.
Bryce McKinlay [Thu, 19 May 2005 21:46:39 +0000 (21:46 +0000)] 
Makefile.am (libgcj0_convenience_la): Removed.

* Makefile.am (libgcj0_convenience_la): Removed. Don't build a
libgcj convenience library.
(libgcj_la_SOURCES): New. Move sources here.
(libgcj.la): Remove rule.

From-SVN: r99988

19 years agosse.md (mulv4si3): Use all register inputs.
Richard Henderson [Thu, 19 May 2005 21:28:02 +0000 (14:28 -0700)] 
sse.md (mulv4si3): Use all register inputs.

        * config/i386/sse.md (mulv4si3): Use all register inputs.
        (mulv2di3): Likewise.

From-SVN: r99986

19 years ago* de.po, zh_CN.po: Update.
Joseph Myers [Thu, 19 May 2005 20:42:12 +0000 (21:42 +0100)] 
* de.po, zh_CN.po: Update.

From-SVN: r99984

19 years agoconfigure.in: Rewrite misleading error message when requested language cannot be...
Paul Brook [Thu, 19 May 2005 20:03:22 +0000 (20:03 +0000)] 
configure.in: Rewrite misleading error message when requested language cannot be built.

2005-05-19  Paul Brook  <paul@codesourcery.com>

* configure.in: Rewrite misleading error message when requested
language cannot be built.
* configure: Regenerate.

From-SVN: r99982

19 years agotree-ssa-loop-ivopts.c (determine_base_object): Use build_fold_addr_expr to generate...
Richard Guenther [Thu, 19 May 2005 19:17:49 +0000 (19:17 +0000)] 
tree-ssa-loop-ivopts.c (determine_base_object): Use build_fold_addr_expr to generate trees of correct type.

2005-05-19  Richard Guenther  <rguenth@gcc.gnu.org>

* tree-ssa-loop-ivopts.c (determine_base_object): Use
build_fold_addr_expr to generate trees of correct type.
Use fold_buildN if possible.

From-SVN: r99981

19 years agoexception.c: Include tsystem.h for unwind.h.
David Ayers [Thu, 19 May 2005 12:22:21 +0000 (14:22 +0200)] 
exception.c: Include tsystem.h for unwind.h.

2005-05-19  David Ayers  <d.ayers@inode.at>

* exception.c: Include tsystem.h for unwind.h.

From-SVN: r99978

19 years agore PR java/17845 (More problems with simple type names as superclasses)
Paolo Bonzini [Thu, 19 May 2005 11:16:27 +0000 (11:16 +0000)] 
re PR java/17845 (More problems with simple type names as superclasses)

2005-05-19  Paolo Bonzini  <bonzini@gnu.org>

PR java/17845

* parse.y (register_package, package_list): Remove.
(package_declaration): Do not call register_package.
(do_resolve_class): Do not use package_list.

From-SVN: r99977

19 years agobasic-block.h (REG_BR_PROB_BASE): Define.
Jan Hubicka [Thu, 19 May 2005 10:38:42 +0000 (12:38 +0200)] 
basic-block.h (REG_BR_PROB_BASE): Define.

* basic-block.h (REG_BR_PROB_BASE): Define.
* cgraph.c (cgraph_create_edge): Initialize loop_nest and count.
(dump_cgraph_node): Dump count.
(cgraph_clone_edge): Rescale counts.
(cgraph_clone_node): Likewise.
* cgraph.h: Include basic-block.h
(cgraph_node): Add count.
(cgraph_edge): Add count and loop_nest.
(cgraph_node, cgraph_edge, cgraph_clone_edge, cgraph_clone_node):
Update prototypes.
* cgraphunit.c: Kill now redundant inlining comment.
(cgraph_create_edges): Make static, maintain current basic block;
fix pasto.
(record_call_1): Fill in new fields.
* ipa-inline.c (cgraph_clone_inlined_nodes): Update call of
cgraph_clone_node.
(cgraph_decide_recursive_inlining): Likewise.
* rtl.h (REG_BR_PROB_BASE): Kill.
* tree-inline.c (copy_body_r): Update call of cgraph_clone_edge.
(expand_call_inline): Update call of cgraph_create_edge.
* tree-optimize.c (tree_rest_of_compilation): Likewise.

From-SVN: r99976

19 years agoeabispe.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Use the new rs6000_explicit_options structure.
Nick Clifton [Thu, 19 May 2005 10:28:30 +0000 (10:28 +0000)] 
eabispe.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Use the new rs6000_explicit_options structure.

* config/rs6000/eabispe.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Use the new
rs6000_explicit_options structure.

From-SVN: r99974

19 years agore PR target/21390 (alphaev68-dec-osf5.1b long double optimization bug with gcc-4...
Richard Henderson [Thu, 19 May 2005 09:49:55 +0000 (02:49 -0700)] 
re PR target/21390 (alphaev68-dec-osf5.1b long double optimization bug with gcc-4.0.0)

        PR target/21390
        * config/alpha/alpha.c (alpha_emit_conditional_branch): Move
        TFmode code swapping ...
        (alpha_emit_xfloating_compare): ... here.
        (alpha_emit_setcc): Update to match.
        (alpha_lookup_xfloating_lib_func): Assert TARGET_HAS_XFLOATING_LIBS.

From-SVN: r99972

19 years agore PR target/21657 (TLS reference miscompiled)
Richard Henderson [Thu, 19 May 2005 09:42:23 +0000 (02:42 -0700)] 
re PR target/21657 (TLS reference miscompiled)

        PR target/21657
        * config/ia64/ia64.c (ia64_expand_tls_address): Remove extra
        memory indirection in local-dynamic case.

From-SVN: r99971

19 years agobasic_string.h (operator[]): Allow s[s.size()] in debug mode, but not pedantic mode.
Jonathan Wakely [Thu, 19 May 2005 08:59:46 +0000 (09:59 +0100)] 
basic_string.h (operator[]): Allow s[s.size()] in debug mode, but not pedantic mode.

* include/bits/basic_string.h (operator[]): Allow s[s.size()] in
debug mode, but not pedantic mode.

From-SVN: r99967

19 years agobfin.c (branch_dest): Add comment why it's necessary.
Jie Zhang [Thu, 19 May 2005 08:42:26 +0000 (08:42 +0000)] 
bfin.c (branch_dest): Add comment why it's necessary.

* config/bfin/bfin.c (branch_dest): Add comment why it's
necessary.
* config/bfin/bfin.md (attr "length" default): Change the offset of
forward conditional branch of length 4 from 4096 to 4092.

Co-Authored-By: Bernd Schmidt <bernd.schmidt@analog.com>
From-SVN: r99966

19 years agore PR c++/21495 (internal compiler error: Segmentation fault)
Jakub Jelinek [Thu, 19 May 2005 07:37:45 +0000 (09:37 +0200)] 
re PR c++/21495 (internal compiler error: Segmentation fault)

PR c++/21495
* decl.c (grokdeclarator): Fix "storage class specified for"
error reporting.

* g++.dg/parse/extern1.C: New test.
* g++.dg/tls/diag-2.C: Adjust expected error message wording.

From-SVN: r99960

19 years agoAdd missing period.
Eric Botcazou [Thu, 19 May 2005 07:12:05 +0000 (07:12 +0000)] 
Add missing period.

From-SVN: r99957

19 years agore PR target/19933 (Problem with define of HUGE_VAL in math_c99.)
Eric Botcazou [Thu, 19 May 2005 07:05:45 +0000 (09:05 +0200)] 
re PR target/19933 (Problem with define of HUGE_VAL in math_c99.)

fixincludes/
PR target/19933
PR target/21315
* inclhack.def: New fixes solaris_math_[1-9].
* fixincl.x: Regenerate.
* tests/base/iso/math_c99.h: New.

gcc/testsuite/
* gcc.dg/c99-math.h: New
* gcc.dg/c99-math-float-1.c: New test.
* gcc.dg/c99-math-double-1.c: Likewise.
* gcc.dg/c99-math-long-double-1.c: Likewise.

Co-Authored-By: Joseph Myers <joseph@codesourcery.com>
From-SVN: r99953

19 years agounwind-compat.c: Include tconfig.h and tsystem.h.
Jan Beulich [Thu, 19 May 2005 06:47:50 +0000 (06:47 +0000)] 
unwind-compat.c: Include tconfig.h and tsystem.h.

gcc/
2005-05-19  Jan Beulich  <jbeulich@novell.com>

* unwind-compat.c: Include tconfig.h and tsystem.h.
* unwind-dw2-fde-compat.c: Likewise.

libstdc++-v3/
2005-05-19  Jan Beulich  <jbeulich@novell.com>

* libsupc++/unwind-cxx.h: Include cstdlib.
(gcc_unreachable): #define.
* libsupc++/eh_personality.cc (gcc_unreachable): Remove #define.

From-SVN: r99952

19 years agore PR tree-optimization/21541 (gcc.c-torture/execute/20031215-1.c compilation fails)
Richard Henderson [Thu, 19 May 2005 06:29:45 +0000 (23:29 -0700)] 
re PR tree-optimization/21541 (gcc.c-torture/execute/20031215-1.c compilation fails)

        PR 21541
        * ifcvt.c (noce_process_if_block): Avoid conversion when the
        memory destination is readonly.

From-SVN: r99951

19 years agoMark PR number.
Richard Henderson [Thu, 19 May 2005 04:24:19 +0000 (21:24 -0700)] 
Mark PR number.

From-SVN: r99950

19 years ago* gcc.dg/tree-ssa/20031015-1.c: Expect one V_MUST_DEF.
Richard Henderson [Thu, 19 May 2005 04:13:38 +0000 (21:13 -0700)] 
* gcc.dg/tree-ssa/20031015-1.c: Expect one V_MUST_DEF.

From-SVN: r99949

19 years agotree-ssa-operands.c (opf_non_specific): New.
Richard Henderson [Thu, 19 May 2005 04:10:09 +0000 (21:10 -0700)] 
tree-ssa-operands.c (opf_non_specific): New.

        * tree-ssa-operands.c (opf_non_specific): New.
        (get_asm_expr_operands): Set it.
        (add_call_clobber_ops, add_call_read_ops): Likewise.
        (add_stmt_operand): Test it instead of opf_kill_def when
        considering unmodifiable variables.

        * tree-ssa-operands.c (get_expr_operands): Fix exact test.

From-SVN: r99948

19 years agoaccross.m4: Delete file.
Kelley Cook [Thu, 19 May 2005 03:45:17 +0000 (03:45 +0000)] 
accross.m4: Delete file.

2005-05-19  Kelley Cook  <kcook@gcc.gnu.org>

* accross.m4: Delete file.

From-SVN: r99946

19 years agoaclocal.m4: Remove superfluous reference to accross.m4.
Kelley Cook [Thu, 19 May 2005 03:38:34 +0000 (03:38 +0000)] 
aclocal.m4: Remove superfluous reference to accross.m4.

2005-05-19  Kelley Cook  <kcook@gcc.gnu.org>

* aclocal.m4: Remove superfluous reference to accross.m4.

From-SVN: r99945

19 years agocfgexpand.c, [...]: Fix comment typos.
Kazu Hirata [Thu, 19 May 2005 03:05:49 +0000 (03:05 +0000)] 
cfgexpand.c, [...]: Fix comment typos.

gcc/
* cfgexpand.c, tree-cfg.c, tree-inline.c, tree-optimize.c,
tree-ssa-forwprop.c: Fix comment typos.
* doc/invoke.texi: Fix a typo.

cp/
* parser.c: Fix comment typos.

From-SVN: r99944

19 years agoconfig.gcc (powerpc-*-linux*): Include linux64.opt when including linux64.h.
Richard Henderson [Thu, 19 May 2005 01:10:13 +0000 (18:10 -0700)] 
config.gcc (powerpc-*-linux*): Include linux64.opt when including linux64.h.

        * config.gcc (powerpc-*-linux*): Include linux64.opt when
        including linux64.h.

From-SVN: r99943

19 years agotree-cfg.c (pass_remove_useless): Revert last change.
Richard Henderson [Thu, 19 May 2005 01:05:06 +0000 (18:05 -0700)] 
tree-cfg.c (pass_remove_useless): Revert last change.

        * tree-cfg.c (pass_remove_useless): Revert last change.
        * tree-optimize.c (init_tree_optimization_passes): Initialize
        all_lowering_passes with PROP_gimple_any.

From-SVN: r99942

19 years agocrontab: Don't build 3.3 branch snapshots.
Joseph Myers [Thu, 19 May 2005 00:33:47 +0000 (01:33 +0100)] 
crontab: Don't build 3.3 branch snapshots.

* crontab: Don't build 3.3 branch snapshots.
* update_version (IGNORE_BRANCHES): Add gcc-3_3-branch.

From-SVN: r99941

19 years agoDaily bump.
GCC Administrator [Thu, 19 May 2005 00:16:28 +0000 (00:16 +0000)] 
Daily bump.

[[Split portion of a mixed commit.]]

From-SVN: r99939.2

19 years agors6000.md (insvsi_internal1): Subtract shift from the mask end.
Devang Patel [Wed, 18 May 2005 23:54:36 +0000 (16:54 -0700)] 
rs6000.md (insvsi_internal1): Subtract shift from the mask end.

       * config/rs6000/rs6000.md (insvsi_internal1): Subtract shift from
       the mask end.
       * g++.dg/opt/20050511-1.C: New test.

From-SVN: r99936

19 years agotree-ssa-forwprop.c (cfg_changed): New.
Richard Henderson [Wed, 18 May 2005 23:21:17 +0000 (16:21 -0700)] 
tree-ssa-forwprop.c (cfg_changed): New.

        * tree-ssa-forwprop.c (cfg_changed): New.
        (tidy_after_forward_propagate_addr): New.
        (forward_propagate_addr_expr): Use it, and fold_stmt_inplace.
        (forward_propagate_addr_into_variable_array_index): Likewise.
        (tree_ssa_forward_propagate_single_use_vars): Cleanup cfg if
        edges were removed.

From-SVN: r99935

19 years agore PR libstdc++/19495 (basic_string::_M_rep() can produce an unnaturally aligned...
Paolo Carlini [Wed, 18 May 2005 22:11:24 +0000 (22:11 +0000)] 
re PR libstdc++/19495 (basic_string::_M_rep() can produce an unnaturally aligned pointer to _Rep)

2005-05-18  Paolo Carlini  <pcarlini@suse.de>
    Nathan Myers  <ncm@cantrip.org>

PR libstdc++/19495
* include/bits/basic_string.h (_Raw_bytes_alloc): Rebind to
size_type instead of char and rename to _Raw_alloc.
* include/bits/basic_string.tcc (_Rep::_M_destroy, _Rep::_S_create):
Use the above.
* src/bitmap_allocator.cc: Add instantiation for size_type.
* src/mt_allocator.cc: Likewise.
* src/pool_allocator.cc: Likewise.
* include/ext/array_allocator.h: Tweak slightly, avoid assuming
the existence of an _Array::begin() and size() members.
* testsuite/ext/array_allocator/2.cc: Tweak to use an allocator
of size_type, instead of char, thus avoiding problems with
rebinds, not treated correctly by array_allocator.

Co-Authored-By: Nathan Myers <ncm@cantrip.org>
From-SVN: r99933

19 years agoFix forgotten ChangeLog entries.
Jan Hubicka [Wed, 18 May 2005 21:04:17 +0000 (21:04 +0000)] 
Fix forgotten ChangeLog entries.

From-SVN: r99930

19 years agodummy-checksum.c: New.
Geoffrey Keating [Wed, 18 May 2005 20:45:26 +0000 (20:45 +0000)] 
dummy-checksum.c: New.

2005-05-18  Geoffrey Keating  <geoffk@apple.com>

* dummy-checksum.c: New.
* genchecksum.c: New.
* c.opt (print_pch_checksum): New flag.
* c-pch.c (struct c_pch_validity): Make much shorter.
(no_checksum): New.
(host_machine): Remove.
(target_machine): Remove.
(get_ident): Change PCH version number.
(pch_init): When -fverbose-asm, print out the compiler fingerprint.
Don't put triplets or version string in PCH validity data.
Do put the compiler checksum in the validity data.
(c_common_valid_pch): Don't check triplets or version string.  Do
check checksum.
(c_common_print_pch_checksum): New.
* c-opts.c (c_common_handle_option): Add OPT_print_pch_checksum.
Print fingerprint with -v.
* c-common.h (c_common_print_pch_checksum): New.
(executable_checksum): New.
* Makefile.in (STAGEMOVESTUFF): Add cc1*-dummy, *-checksum.c.
(cc1-dummy): New rule.
(cc1-checksum.c): New rule.
(cc1-checksum.o): New rule.
(cc1): Add checksum support.
(build/genchecksum): New.
(build/genchecksum.o): New.
(dummy-checksum.o): New.
(genobjnames): Add genchecksum.o.
(mostlyclean): Remove *-checksum.c.
(gnucompare): Add libgcc to list of directories checked.
Make comparison problems in libgcc/ and with checksum files only
be warnings.
* doc/invoke.texi (Precompiled Headers): Remove caution.
Document that it must be the exact same binary.  Add a few
known-safe flags to the list.

In cp/:
2005-05-18  Geoffrey Keating  <geoffk@apple.com>

* Make-lang.in (cc1plus-dummy): New.
(cc1plus-checksum.c): New.
(cc1plus-checksum.o): New.
(cc1plus): Add cc1plus-checksum.o.

In objc/:
2005-05-18  Geoffrey Keating  <geoffk@apple.com>

* Make-lang.in (cc1obj-dummy): New.
(cc1obj-checksum.c): New.
(cc1obj-checksum.o): New.
(cc1obj): Add cc1obj-checksum.o.

In objcp/:
2005-05-18  Geoffrey Keating  <geoffk@apple.com>

* Make-lang.in (cc1objplus-dummy): New.
(cc1objplus-checksum.c): New.
(cc1objplus-checksum.o): New.
(cc1objplus): Add cc1objplus-checksum.o.

From-SVN: r99928

19 years agopredicates.md (fix_trunc_dest_operand): New.
Geoffrey Keating [Wed, 18 May 2005 20:36:02 +0000 (20:36 +0000)] 
predicates.md (fix_trunc_dest_operand): New.

* rs6000/predicates.md (fix_trunc_dest_operand): New.
* rs6000/rs6000.md (fix_truncdfsi2): Use fix_trunc_dest_operand.
Check that a memory operand is valid before trying to use it.

From-SVN: r99927

19 years agore PR libfortran/21127 (reshape of complex broken)
Thomas Koenig [Wed, 18 May 2005 20:35:25 +0000 (20:35 +0000)] 
re PR libfortran/21127 (reshape of complex broken)

2005-05-18  Thomas Koenig  <Thomas.Koenig@online.de>

        PR libfortran/21127
        * Makefile.am:  Really commit.
        * Makefile.in:  Really commit.

From-SVN: r99926

19 years agore PR libfortran/21127 (reshape of complex broken)
Thomas Koenig [Wed, 18 May 2005 20:24:32 +0000 (20:24 +0000)] 
re PR libfortran/21127 (reshape of complex broken)

2005-05-18  Thomas Koenig  <Thomas.Koenig@online.de>

        PR libfortran/21127
        * Makefile.am:  Add generated/reshape_c4.c and
        generated/reshape_c8.c.
        * Makefile.in:  Regenerated.
        * m4/iparm.m4:  Define rtype_ccode to be c4 or c8 for
        complex types, 4 or 8 otherwise.
        * m4/reshape.m4:  Use rtype_ccode instead of rtype_kind
        in function name.
        * generated/reshape_c4.c: New file.
        * generated/reshape_c8.c: New file.

2005-05-18  Thomas Koenig  <Thomas.Koenig@online.de>

        PR libfortran/21127
        * fortran/iresolve.c (gfc_resolve_reshape): Add
        gfc_type_letter (BT_COMPLEX) for complex to
        to resolved function name.

2005-05-18  Thomas Koenig  <Thomas.Koenig@online.de>

        PR libfortran/21127
        * gfortran.dg/reshape-complex.f90:  New test.

From-SVN: r99925

19 years ago* tree-cfg.c (pass_remove_useless): This pass works on trees.
Geoffrey Keating [Wed, 18 May 2005 20:23:26 +0000 (20:23 +0000)] 
* tree-cfg.c (pass_remove_useless): This pass works on trees.

From-SVN: r99924

19 years agotree.c (build1_stat): Don't try to handle two-operand tree codes.
Richard Guenther [Wed, 18 May 2005 20:11:20 +0000 (20:11 +0000)] 
tree.c (build1_stat): Don't try to handle two-operand tree codes.

2005-05-18  Richard Guenther  <rguenth@gcc.gnu.org>

* tree.c (build1_stat): Don't try to handle two-operand
tree codes.

From-SVN: r99923

19 years agore PR objc/21641 (cris-axis-elf, cris-axis-linux-gnu, mmix-knuth-mmixware, x86_64...
Mike Stump [Wed, 18 May 2005 20:02:27 +0000 (20:02 +0000)] 
re PR objc/21641 (cris-axis-elf, cris-axis-linux-gnu, mmix-knuth-mmixware, x86_64-unknown-linux-gnu broken libobjc/Object.m)

        PR objc/21641
        * objc-act.c (struct interface_tuple): Mark it up for GC.
        (interface_htab): It is really a struct interface_tuple.

From-SVN: r99922

19 years agoFix date on ChangeLog entry
Tobias Schlüter [Wed, 18 May 2005 19:21:46 +0000 (21:21 +0200)] 
Fix date on ChangeLog entry

From-SVN: r99920

19 years agoarray.c (gfc_match_array_constructor): Support [ ...
Erik Edelmann [Wed, 18 May 2005 19:20:31 +0000 (22:20 +0300)] 
array.c (gfc_match_array_constructor): Support [ ...

fortran/
* array.c (gfc_match_array_constructor): Support [ ... ]
style array constructors.
testsuite/
* gfortran.dg/array_constructor_1.f90: New test.
* gfortran.dg/array_constructor_2.f90: New test.

From-SVN: r99919

19 years agoconfig.gcc (sh*-*-*): Define SUPPORT_* macros to 1.
Richard Sandiford [Wed, 18 May 2005 18:43:53 +0000 (18:43 +0000)] 
config.gcc (sh*-*-*): Define SUPPORT_* macros to 1.

* config.gcc (sh*-*-*): Define SUPPORT_* macros to 1.
* config/sh/sh.h: Update mask names throughout.
(target_flags, ISIZE_BIT, DALIGN_BIT, SH1_BIT, SH2_BIT, SH3_BIT)
(SH_E_BIT, HARD_SH4_BIT, FPU_SINGLE_BIT, SH4_BIT, SH4A_BIT, FMOVD_BIT)
(SH5_BIT, SPACE_BIT, BIGTABLE_BIT, RELAX_BIT, USERMODE_BIT)
(HITACHI_BIT, NOMACSAVE_BIT, PREFERGOT_BIT, PADSTRUCT_BIT)
(LITTLE_ENDIAN_BIT, IEEE_BIT, SAVE_ALL_TR_BIT, HARD_SH2A_BIT)
(HARD_SH2A_DOUBLE_BIT, INDEXED_ADDRESS_BIT, PT_FIXED_BIT)
(INVALID_SYMBOLS_BIT, ADJUST_UNROLL_BIT, TARGET_DUMPISIZE)
(TARGET_ALIGN_DOUBLE, TARGET_SH1, TARGET_SH2, TARGET_SH3)
(TARGET_HARD_SH4, TARGET_FPU_SINGLE, TARGET_SH5, TARGET_FMOVD)
(TARGET_IEEE, TARGET_SMALLCODE, TARGET_BIGTABLE, TARGET_RELAX)
(TARGET_HITACHI, TARGET_NOMACSAVE, TARGET_PADSTRUCT)
(TARGET_LITTLE_ENDIAN, TARGET_USERMODE, TARGET_PREFERGOT)
(TARGET_SAVE_ALL_TARGET_REGS, TARGET_ALLOW_INDEXED_ADDRESS)
(TARGET_PT_FIXED, TARGET_INVALID_SYMBOLS, TARGET_ADJUST_UNROLL)
(TARGET_SWITCH_SH1, TARGET_SWITCH_SH2, TARGET_SWITCH_SH2E)
(TARGET_SWITCH_SH2A, TARGET_SWITCH_SH2A_SINGLE_ONLY)
(TARGET_SWITCH_SH2A_SINGLE, TARGET_SWITCH_SH2A_NOFPU)
(TARGET_SWITCH_SH3, TARGET_SWITCH_SH3E, TARGET_SWITCH_SH4_SINGLE_ONLY)
(TARGET_SWITCH_SH4_SINGLE, TARGET_SWITCH_SH4_NOFPU, TARGET_SWITCH_SH4)
(TARGET_SWITCH_SH4A, TARGET_SWITCH_SH4A_SINGLE_ONLY)
(TARGET_SWITCH_SH4A_SINGLE, TARGET_SWITCH_SH4A_NOFPU)
(TARGET_SWITCH_SH4AL, TARGET_SWITCH_SH5_64MEDIA)
(TARGET_SWITCH_SH5_64MEDIA_NOFPU, TARGET_SWITCHES_SH5_32MEDIA)
(TARGET_SWITCHES_SH5_32MEDIA_NOFPU, TARGET_SWITCH_SH5_32_ANY_EXTRA)
(TARGET_SWITCH_SH5_MEDIA_ANY_EXTRA, TARGET_SWITCHES)
(SUBTARGET_SWITCHES): Delete.
(TARGET_SH2E, TARGET_SH2A, TARGET_SH2A_SINGLE, TARGET_SH2A_DOUBLE)
(TARGET_SH3E, TARGET_CACHE32, TARGET_SUPERSCALAR, TARGET_HARVARD)
(TARGET_FPU_DOUBLE, TARGET_SH4A_ARCH, TARGET_SHMEDIA32)
(TARGET_SHMEDIA64): Redefine using other TARGET_* macros.
(TARGET_SH4): Undefine options.h definition and check MASK_SH1 as well.
(SUPPORT_SH1, SUPPORT_SH2E, SUPPORT_SH4, SUPPORT_SH4_SINGLE)
(SUPPORT_SH2A, SUPPORT_SH2A_SINGLE): Make numeric.
(SUPPORT_SH2): Define to 1 if SUPPORT_SH1.
(SUPPORT_SH3): Likewise SUPPORT_SH2.
(SUPPORT_SH4_NOFPU): Likewise SUPPORT_SH3.
(SUPPORT_SH4A_NOFPU, SUPPORT_SH4AL, SUPPORT_SH2A_NOFPU): Likewise
SUPPORT_SH4_NOFPU.
(SUPPORT_SH3E): Likewise SUPPORT_SH2E.
(SUPPORT_SH4_SINGLE_ONLY, SUPPORT_SH4A_SINGLE_ONLY)
(SUPPORT_SH2A_SINGLE_ONLY): Likewise SUPPORT_SH3E.
(SUPPORT_SH4A): Likewise SUPPORT_SH4.
(SUPPORT_SH4A_SINGLE): Likewise SUPPORT_SH4_SINGLE.
(SUPPORT_SH5_32MEDIA): Likewise SUPPORT_SH5_COMPACT.
(SUPPORT_SH5_32MEDIA_NOFPU): Likewise SUPPORT_SH5_COMPACT_NOFPU.
(SUPPORT_ANY_SH5_32MEDIA, SUPPORT_ANY_SH5_64MEDIA)
(SUPPORT_ANY_SH5): New macros.
(TARGET_NONE): Replace with...
(MASK_ARCH): ...this new macro.
* config/sh/elf.h: Update mask names
* config/sh/linux.h: Likewise.
* config/sh/little.h: Likewise.
* config/sh/netbsd-elf.h: Likewise.
* config/sh/symbian-pre.h: Likewise.
* config/sh/sh.c (sh_handle_option): New function.
(TARGET_DEFAULT_TARGET_FLAGS, TARGET_HANDLE_OPTION): Override defaults.
(calc_live_regs): Use MASK_FPU_SINGLE instead of FPU_SINGLE_BIT.
(sh_target_switches, target_switches): Delete.
(sh_pch_valid_p): Check for specific differences in the target_flags
settings.
(sh_init_cumulative_args): Use MASK_HITACHI instead of HITACHI_BIT.
* config/sh/sh.opt: New file.

From-SVN: r99916