OSDN Git Service

pf3gnuchains/gcc-fork.git
18 years agoRemove extra white spacing at end of lines.
mrs [Tue, 14 Jun 2005 20:01:59 +0000 (20:01 +0000)]
Remove extra white spacing at end of lines.

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

18 years ago2005-05-23 Alfred M. Szmidt <ams@gnu.org>
fche [Tue, 14 Jun 2005 19:18:16 +0000 (19:18 +0000)]
2005-05-23  Alfred M. Szmidt  <ams@gnu.org>

PR libmudflap/21724
* Makefile.am (AM_MAKEFLAGS): Pass includedir.
* Makefile.in: Amend.

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

18 years ago2005-06-14 Frank Ch. Eigler <fche@redhat.com>
fche [Tue, 14 Jun 2005 19:12:24 +0000 (19:12 +0000)]
2005-06-14  Frank Ch. Eigler  <fche@redhat.com>

PR mudflap/21023
* tree-mudflap.c (mudflap_finish_file): Exclude non-public
rather than static objects (!) from libmudflap registration.

* testsuite/libmudflap.c/externs.exp, externs-{1,2}.c: New test files.
* testsuite/libmudflap.c/cfrags.exp: Bypass new sources.

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

18 years ago * java/lang/Class.java (getClasses): New method.
tromey [Tue, 14 Jun 2005 18:51:54 +0000 (18:51 +0000)]
* java/lang/Class.java (getClasses): New method.
(internalGetClasses): Likewise.
(getClassLoader): Updated documentation.
(getDeclaredClasses): New overload; old overload no longer
native.
(_getConstructors): Removed.
(resourcePath): Updated.
* java/lang/natClass.cc (getClasses): Removed.
* java/lang/Class.h (getDeclaredClasses, getDeclaredConstructors):
Updated.
(_getConstructors): Removed.

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

18 years agoRemove vect-ifcvt-1.c
dpatel [Tue, 14 Jun 2005 18:47:36 +0000 (18:47 +0000)]
Remove vect-ifcvt-1.c

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

18 years ago2005-06-14 Frank Ch. Eigler <fche@redhat.com>
fche [Tue, 14 Jun 2005 18:37:20 +0000 (18:37 +0000)]
2005-06-14  Frank Ch. Eigler  <fche@redhat.com>

PR libmudflap/21094
* testsuite/libmudflap.c++/*.exp: Assert build tree g++.

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

18 years ago2005-06-14 Frank Ch. Eigler <fche@redhat.com>
fche [Tue, 14 Jun 2005 18:36:50 +0000 (18:36 +0000)]
2005-06-14  Frank Ch. Eigler  <fche@redhat.com>

PR mudflap/22064
* mf-impl.h (mudflap_mode, violation_mode): Make these ordinary
unsigned vars with #defines instead of enums.

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

18 years ago PR c++/21929
nathan [Tue, 14 Jun 2005 16:04:30 +0000 (16:04 +0000)]
PR c++/21929
* g++.dg/parse/crash11.C: Update

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

18 years agoRemoved, no longer compatible with latest Ada 2005 issues.
charlet [Tue, 14 Jun 2005 15:07:26 +0000 (15:07 +0000)]
Removed, no longer compatible with latest Ada 2005 issues.

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

18 years ago * opt-functions.awk (global_state_p, needs_state_p, static_var): New.
rsandifo [Tue, 14 Jun 2005 14:37:49 +0000 (14:37 +0000)]
* opt-functions.awk (global_state_p, needs_state_p, static_var): New.
(var_ref): Take the option's flags as a second parameter.  Check
static_var.
* optc-gen.awk: Declare local state variables.  Pass flags to var_ref.

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

18 years ago * decl.c (grokdeclarator): Only check TREE_OVERFLOW on INTEGER_CST.
sayle [Tue, 14 Jun 2005 13:31:26 +0000 (13:31 +0000)]
* decl.c (grokdeclarator): Only check TREE_OVERFLOW on INTEGER_CST.

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

18 years ago PR target/20301
ebotcazou [Tue, 14 Jun 2005 13:07:42 +0000 (13:07 +0000)]
PR target/20301
* config/sparc/sol2.h (ASM_GENERATE_INTERNAL_LABEL): Emit
unsigned index numbers.

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

18 years agoRevert hunk accidentally commited.
ebotcazou [Tue, 14 Jun 2005 13:04:03 +0000 (13:04 +0000)]
Revert hunk accidentally commited.

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

18 years agoIndex: ChangeLog
geoffk [Tue, 14 Jun 2005 09:03:46 +0000 (09:03 +0000)]
Index: ChangeLog
2005-06-13  Geoffrey Keating  <geoffk@apple.com>

* Makefile.in (install-man): Doesn't really depend on installdirs.
(various rules for installing manpages): Do depend on installdirs.

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

* Make-lang.in (c++.install-man): Doesn't really depend on installdirs.
(rule for installing g++.1 manpage): Does depend on installdirs.

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

* Make-lang.in (fortran.install-man): Doesn't depend on installdirs.
(rule for installing f95.1 manpage): Does depend on installdirs.

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

* Make-lang.in (rule for installing gcj.1): Depends on installdirs.

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

18 years ago * unwind-dw2-fde-darwin.c (examine_objects): Fix aliasing in
nathan [Tue, 14 Jun 2005 08:25:18 +0000 (08:25 +0000)]
* unwind-dw2-fde-darwin.c (examine_objects): Fix aliasing in
read_encoded_value_with_base call.
* unwind-dw2-fde-glibc.c (_Unwind_IteratePhdrCallback): Likewise.
* unwind-dw2-fde.c (_Unwind_Find_FDE): Likewise.
* unwind-dw2.c (extract_cie_info): Fix aliasing in
read_encoded_value call.
(execute_cfa_program, uw_frame_state_for): Likewise.

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

18 years ago PR rtl-optimization/22053
sayle [Tue, 14 Jun 2005 05:57:26 +0000 (05:57 +0000)]
PR rtl-optimization/22053
* reg-stack.c (compensate_edge): Correct mistake in the assertion
checking of EDGE_ABNORMAL_CALL edges; complex return values can
result in the top two stack slots, st(0) and st(1), being live.

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

18 years ago * gnu/classpath/jdwp/id/ArrayId.java: New file.
kseitz [Tue, 14 Jun 2005 00:28:08 +0000 (00:28 +0000)]
    * gnu/classpath/jdwp/id/ArrayId.java: New file.
        * gnu/classpath/jdwp/id/ArrayReferenceTypeId.java: New file.
        * gnu/classpath/jdwp/id/ClassLoaderId.java: New file.
        * gnu/classpath/jdwp/id/ClassObjectId.java: New file.
        * gnu/classpath/jdwp/id/ClassReferenceTypeId.java: New file.
        * gnu/classpath/jdwp/id/InterfaceReferenceTypeId.java: New file.
        * gnu/classpath/jdwp/id/JdwpId.java: New file.
        * gnu/classpath/jdwp/id/ObjectId.java: New file.
        * gnu/classpath/jdwp/id/ReferenceTypeId.java: New file.
        * gnu/classpath/jdwp/id/StringId.java: New file.
        * gnu/classpath/jdwp/id/ThreadGroupId.java: New file.
        * gnu/classpath/jdwp/id/ThreadId.java: New file.

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

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

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

18 years ago * tree-ssa-dom.c (simplify_rhs_and_lookup_avail_expr): No longer
law [Mon, 13 Jun 2005 23:24:47 +0000 (23:24 +0000)]
    * tree-ssa-dom.c (simplify_rhs_and_lookup_avail_expr): No longer
        simplify DIV, MOD or ABS expressions using VRP information.
        Remove WALK_DATA parameter.  Prototype and all callers updated.
        (eliminate_redundant_computations): Remove WALK_DATA parameter.
        Prototype and all callers updated.
        (optimize_stmt): WALK_DATA parameter is now unused.

        * tree-vrp.c (local_fold): New function.  Like fold, but
        strips useless type conversions in the result.
        (simplify_using_ranges): New function, largely cribbed from
        tree-ssa-dom.c::simplify_rhs_and_lookup_avail_expr.
        (vrp_finalize): Call simplify_using_ranges.

        * gcc.dg/tree-ssa/20030807-10.c: VRP is now expected to
        perform the desired transformations.
        * gcc.dg/tree-ssa/20030806-6.c: Similarly.
        * gcc.dg/tree-ssa/20040514-2.c: Similarly.

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

18 years ago2005-06-12 Thomas Koenig <Thomas.Koenig@online.de>
tkoenig [Mon, 13 Jun 2005 22:37:39 +0000 (22:37 +0000)]
2005-06-12  Thomas Koenig  <Thomas.Koenig@online.de>

        PR libfortran/21594
        * intrinsics/eoshift0.c:  Add prototype for eoshift0.
        * intrinsics/eoshift2.c:  Add prototype for eoshift2.

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

18 years ago * config/i386/x86-64.h (ASM_SPEC): Explicitly pass --64 to the
mmitchel [Mon, 13 Jun 2005 22:32:18 +0000 (22:32 +0000)]
* config/i386/x86-64.h (ASM_SPEC): Explicitly pass --64 to the
assembler in 64-bit mode.

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

18 years ago2005-06-13 Jim Huang <jserv@kaffe.org>
tromey [Mon, 13 Jun 2005 20:23:11 +0000 (20:23 +0000)]
2005-06-13  Jim Huang  <jserv@kaffe.org>

PR libgcj/22036:
* jni.cc (_Jv_JNI_NewObjectV): Use chars() method.
(_Jv_JNI_NewObject): Likewise.

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

18 years ago * expr.c (int highest_label_pc_this_method,
bothner [Mon, 13 Jun 2005 19:30:47 +0000 (19:30 +0000)]
* expr.c (int highest_label_pc_this_method,
start_label_pc_this_method): New globals.
(lookup_label): Add start_label_pc_this_method to pc for label, and
update highest_label_pc_this_method.  This prevents conflicts between
labels from different methods.
* java-tree.h: Declare new globals.
* jcf-parse.c (parse_class_file): If needed bump
start_label_pc_this_method and reset highest_label_pc_this_method.

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

18 years ago PR java/21844:
tromey [Mon, 13 Jun 2005 19:21:56 +0000 (19:21 +0000)]
PR java/21844:
* testsuite/libjava.lang/pr21844.java: New file.
* testsuite/libjava.lang/pr21844.out: New file.

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

18 years ago PR java/21844:
tromey [Mon, 13 Jun 2005 19:20:22 +0000 (19:20 +0000)]
PR java/21844:
* parse.y (nested_field_access_p): Handle case where outer field
is inherited by enclosing class.

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

18 years ago * MAINTAINERS: Update my email address.
rsandifo [Mon, 13 Jun 2005 19:06:49 +0000 (19:06 +0000)]
* MAINTAINERS: Update my email address.

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

18 years agofortran/
tobi [Mon, 13 Jun 2005 18:23:46 +0000 (18:23 +0000)]
fortran/
2005-06-13  Jakub Jelinek  <jakub@redhat.com>

PR fortran/22038
* trans-stmt.c (gfc_trans_forall_loop): Only increment maskindex
in the innermost loop.

testsuite/
2005-06-13  Tobias Schl"uter  <tobias.schlueter@physik.uni-muenchen.de>

PR fortran/22038
* gfortran.dg/forall_1.f90: Un-XFAIL.

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

18 years agocp:
nathan [Mon, 13 Jun 2005 15:58:10 +0000 (15:58 +0000)]
cp:
PR c++/20789
* decl.c (cp_finish_decl): Clear runtime runtime initialization if
in-class decl's initializer is bad.

PR c++/21929
* parser.c (struct cp_parser): Document that scope could be
error_mark.
(cp_parser_diagnose_invalid_type_name): Cope with error_mark for
scope.
(cp_parser_nested_name_specifier): Return NULL_TREE on error.
(cp_parser_postfix_expression): Deal with null or error_mark
scope.
(cp_parser_elaborated_type_specifier): Adjust
cp_parser_nested_name_specifier call.

* parser (cp_parser_skip_to_end_of_block_or_statement): Cleanup.
testsuite:
PR c++/21929
* g++.dg/parse/crash26.C: New.

PR c++/20789
* g++.dg/init/member1.C: New.

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

18 years ago Revert scc_operand patch.
dje [Mon, 13 Jun 2005 15:49:51 +0000 (15:49 +0000)]
Revert scc_operand patch.
* config/rs6000/predicates.md (scc_operand): Delete.
* config/rs6000/rs6000.md (scc_operand): Change to scc_eq_operand.

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

18 years ago * trans-expr.c (gfc_conv_function_call): Return int instead of
jakub [Mon, 13 Jun 2005 15:24:54 +0000 (15:24 +0000)]
* trans-expr.c (gfc_conv_function_call): Return int instead of
void.  Use a local variable for has_alternate_specifier and
return it.  Avoid modification of function type's return value
in place, since it may be shared.
* trans.h (has_alternate_specifier): Remove.
(gfc_conv_function_call): Change return type.
* trans-stmt.c (has_alternate_specifier): Remove.
(gfc_trans_call): Add a local has_alternate_specifier variable,
set it from gfc_conv_function_call return value.

* gfortran.dg/altreturn_1.f90: New test.

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

18 years ago PR middle-end/21985
rakdver [Mon, 13 Jun 2005 14:59:40 +0000 (14:59 +0000)]
PR middle-end/21985
* fold-const.c (split_address_to_core_and_offset): Always return
the address of the base object.

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

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

18 years ago 2005-06-12 Rafael ?vila de Esp?ndola <rafael.espindola@gmail.com>
phython [Mon, 13 Jun 2005 12:45:53 +0000 (12:45 +0000)]
 2005-06-12  Rafael ?vila de Esp?ndola   <rafael.espindola@gmail.com>

         * treetree.c (tree_code_get_expression): Call build_function_call_expr
to build function calls.

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

18 years ago * doc/invoke.texi (Blackfin Options): Document -mlong-calls.
bernds [Mon, 13 Jun 2005 09:40:55 +0000 (09:40 +0000)]
* doc/invoke.texi (Blackfin Options): Document -mlong-calls.

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

18 years agotop level:
zack [Mon, 13 Jun 2005 08:26:05 +0000 (08:26 +0000)]
top level:
* depcomp: Update from automake CVS.  Add 'ia64hp' stanza.
In 'cpp' stanza, support '#line' as well as '# '.
config:
* depstand.m4, lead-dot.m4: New files.
libcpp:
* configure.ac: Invoke ZW_CREATE_DEPDIR and
ZW_PROG_COMPILER_DEPENDENCIES.
* aclocal.m4, configure: Regenerate.
* Makefile.in (DEPMODE, DEPDIR, depcomp, COMPILE.base, COMPILE):
New variables.
(distclean): Clean up $(DEPDIR) and its contents.
(.c.o): Use $(COMPILE).
Include $(DEPDIR)/*.Po for most object->header dependencies.

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

18 years ago * trans-array.c (gfc_conv_descriptor_data_get): Rename from
rth [Mon, 13 Jun 2005 06:18:15 +0000 (06:18 +0000)]
    * trans-array.c (gfc_conv_descriptor_data_get): Rename from
        gfc_conv_descriptor_data.  Cast the result to the DATAPTR type.
        (gfc_conv_descriptor_data_set, gfc_conv_descriptor_data_addr): New.
        (gfc_trans_allocate_array_storage): Use them.
        (gfc_array_allocate, gfc_array_deallocate): Likewise.
        (gfc_trans_dummy_array_bias, gfc_conv_expr_descriptor): Likewise.
        (gfc_trans_deferred_array): Likewise.
        * trans-expr.c (gfc_conv_function_call): Likewise.
        (gfc_trans_subcomponent_assign): Likewise.
        (gfc_trans_pointer_assignment): Likewise.
        * trans-intrinsic.c (gfc_conv_allocated): Likewise.
        * trans-types.c (gfc_array_descriptor_base): New.
        (gfc_get_element_type): Use GFC_TYPE_ARRAY_DATAPTR_TYPE.
        (gfc_get_array_descriptor_base): Break out from ...
        (gfc_get_array_type_bounds): ... here.  Create type variants.
        * trans-array.h (gfc_conv_descriptor_data_get): Declare.
        (gfc_conv_descriptor_data_set, gfc_conv_descriptor_data_addr): Declare.

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

18 years agoNew test.
rth [Mon, 13 Jun 2005 06:13:39 +0000 (06:13 +0000)]
New test.

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

18 years ago PR tree-opt/21994
rth [Mon, 13 Jun 2005 06:10:49 +0000 (06:10 +0000)]
    PR tree-opt/21994
        * tree-complex.c (update_complex_components_on_edge): New.
        (update_parameter_components): Use it.
        (update_phi_components): Likewise.
        (expand_complex_move): Likewise for is_ctrl_altering_stmt.

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

18 years ago2005-06-12 James A. Morrison <phython@gcc.gnu.org>
phython [Mon, 13 Jun 2005 00:18:41 +0000 (00:18 +0000)]
2005-06-12  James A. Morrison  <phython@gcc.gnu.org>

        PR tree-optimization/14796
        * fold-const (fold_binary): Transform (X << C) >> C into X & (-1>>C)
        for unsigned types.

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

18 years agoDaily bump.
gccadmin [Mon, 13 Jun 2005 00:16:44 +0000 (00:16 +0000)]
Daily bump.

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

18 years ago PR c++/21930
sayle [Sun, 12 Jun 2005 23:46:46 +0000 (23:46 +0000)]
PR c++/21930
* error.c (dump_expr): UNARY_PLUS_EXPR need not handle void types.
Treat CONVERT_EXPR identically to NOP_EXPR.

* g++.dg/other/error10.C: New test case.

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

18 years ago2005-06-12 Steven G. Kargl <kargls@comcast.net>
tkoenig [Sun, 12 Jun 2005 21:00:57 +0000 (21:00 +0000)]
2005-06-12  Steven G. Kargl <kargls@comcast.net>
    Thomas Koenig  <Thomas.Koenig@online.de>

PR libfortran/PR21797
* m4/cexp.m4 (csqrt`'q):  Add type qualifyer to
sqrt and fabs.
* generated/exp_c4.c:  Regenerated.

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

18 years ago2005-06-12 Thomas Koenig <Thomas.Koenig@online.de>
tkoenig [Sun, 12 Jun 2005 20:27:59 +0000 (20:27 +0000)]
2005-06-12  Thomas Koenig  <Thomas.Koenig@online.de>

PR libfortran/21333
* Changelog: Really update.

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

18 years ago PR libfortran/19155
fxcoudert [Sun, 12 Jun 2005 19:59:17 +0000 (19:59 +0000)]
PR libfortran/19155
* io/read.c (read_f): Take care of spaces after initial sign.
* gfortran.dg/pr19155.f: Add test.

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

18 years ago * class.c (inherits_from_p): Do load_class if needed.
bothner [Sun, 12 Jun 2005 19:54:59 +0000 (19:54 +0000)]
* class.c (inherits_from_p): Do load_class if needed.

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

18 years ago * gfortran.dg/forall_1.f90: XFAILed.
tobi [Sun, 12 Jun 2005 15:42:14 +0000 (15:42 +0000)]
* gfortran.dg/forall_1.f90: XFAILed.

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

18 years agoCorrect previously checked-in testcase.
tobi [Sun, 12 Jun 2005 15:35:20 +0000 (15:35 +0000)]
Correct previously checked-in testcase.

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

18 years agofortran/
tobi [Sun, 12 Jun 2005 15:21:12 +0000 (15:21 +0000)]
fortran/
* trans-expr.c (gfc_conv_variable): POINTER results don't need f2c
calling conventions.  Look at sym instead of sym->result.
* trans-types.c (gfc_sym_type): Remove workaround for frontend bug.
Remove condition which is always false with workaround removed.
(gfc_return_by_reference): Always look at sym, never at sym->result.
testsuite/
* gfortran.dg/f2c_7.f90: New test.

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

18 years ago * cgraphunit.c, tree-ssa-loop-ivopts.c,
kazu [Sun, 12 Jun 2005 14:03:01 +0000 (14:03 +0000)]
* cgraphunit.c, tree-ssa-loop-ivopts.c,
tree-ssa-structalias.c, tree-vectorizer.c, tree-vectorizer.h,
config/sparc/sparc.c: Fix comment typos.

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

18 years ago * arm/ieee754-df.s (aeabi_dcmpeq, aeabi_dcmplt, aeabi_dcmple)
rearnsha [Sun, 12 Jun 2005 08:32:50 +0000 (08:32 +0000)]
* arm/ieee754-df.s (aeabi_dcmpeq, aeabi_dcmplt, aeabi_dcmple)
(aeabi_dcmpge, aeabi_dcmpgt): Maintain 8-byte stack alignment.
* arm/ieee754-sf.s (aeabi_l2f, aeabi_fcmpeq, aeabi_fcmplt)
(aeabi_fcmple, aeabi_fcmpge, aeabi_fcmpgt): Likewise.

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

18 years ago2005-06-12 James A. Morrison <phython@gcc.gnu.org>
phython [Sun, 12 Jun 2005 08:03:23 +0000 (08:03 +0000)]
2005-06-12  James A. Morrison  <phython@gcc.gnu.org>

        PR tree-optimization/14796
        * fold-const.c (fold_binary): Transform (A >> C) << C into
        one BIT_AND_EXPR.
        <shift>: Transform (A OP c1) OP c2 into A OP (c1 + c2).

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

18 years ago * config/rs6000/predicates.md (reg_or_arith_cint_operand): Delete.
geoffk [Sun, 12 Jun 2005 03:43:12 +0000 (03:43 +0000)]
* config/rs6000/predicates.md (reg_or_arith_cint_operand): Delete.
(reg_or_add_cint_operand): Rename from reg_or_add_cint64_operand.
Handle SImode.
(reg_or_sub_cint_operand): Likewise.
(mask_operand): Handle DImode.
(mask64_operand): Delete.
(and64_operand): Delete.
* config/rs6000/rs6000.c (num_insns_constant): Use mask_operand
instead of mask64_operand.
(print_operand): Likewise.
(rs6000_rtx_costs): Use mask_operand and reg_or_add_cint_operand and
reg_or_sub_cint_operand instead of *64_* variants.
* config/rs6000/rs6000.h (EXTRA_CONSTRAINT): Use mask_operand
instead of mask64_operand.
* config/rs6000/rs6000.md: Use mask_operand and and_operand instead
of *64_* variants.
(FP): New.
(add_op2): Delete.
(add<mode>3): Use reg_or_add_cint_operand.
(sub_op2): Delete.
(sub<mode>3): Use reg_or_sub_cint_operand.
(udiv<mode>3, div<mode>3, div<mode>3_no_mq, mod<mode>3,
mov<mode>_internal2, mov<mode>, cmp<mode>, cmp<mode>,
cmp<mode>_internal1, indirect_jump<mode>, ctr<mode>,
ctr<mode>_internal1, ctr<mode>_internal2, ctr<mode>_internal5,
ctr<mode>_internal6, save_fpregs_<mode>, return_internal_<mode>,
return_and_restore_fpregs_<mode>, eh_set_lr_<mode>,
various unnamed patterns): New.
(udivsi3, divsi3, divsi3_no_mq, modsi3, movsi_internal2, movsi,
cmpsi, cmpsi_internal1, indirect_jumpsi, ctrsi, ctrsi_internal1,
ctrsi_internal2, ctrsi_internal5, ctrsi_internal6, save_fpregs_si,
return_internal_si, return_and_restore_fpregs_si, eh_set_lr_si,
udivdi3, divdi3, divdi3_no_mq, moddi3, movdi_internal2, movdi,
cmpdi, cmpdi_internal1, indirect_jumpdi, ctrdi, ctrdi_internal1,
ctrdi_internal2, ctrdi_internal5, ctrdi_internal6, save_fpregs_di,
return_internal_di, return_and_restore_fpregs_di, eh_set_lr_di,
movhi, movqi, cmpsf, cmpdf, cmptf, various unnamed patterns):
Delete.

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

18 years ago2005-06-11 Daniel Berlin <dberlin@dberlin.org>
dberlin [Sun, 12 Jun 2005 03:19:26 +0000 (03:19 +0000)]
2005-06-11  Daniel Berlin  <dberlin@dberlin.org>

Fix PR tree-optimization/22005
Fix PR tree-optimization/22025

* tree-ssa-structalias.c (struct variable_info): Add has_union
member.
(create_variable_info_for):  Mark variables containing unions.
Don't sort the field stack if notokay is true.
(find_what_p_points_to): Convert variables containing unions back
to their SFT's if necessary.

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

18 years agoDaily bump.
gccadmin [Sun, 12 Jun 2005 00:16:13 +0000 (00:16 +0000)]
Daily bump.

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

18 years ago PR fortran/17792
kargl [Sat, 11 Jun 2005 22:33:11 +0000 (22:33 +0000)]
PR fortran/17792
PR fortran/21375
* gfortran.dg/deallocate_statO.f90:  New test.

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

18 years ago * rtl.h (to_rtx_code): Remove.
gdr [Sat, 11 Jun 2005 22:30:16 +0000 (22:30 +0000)]
    * rtl.h (to_rtx_code): Remove.
        * machmode.h (to_machine_mode): Likewise.
        * read-rtl.c (apply_mode_macro): Replace to_machine_mode with
        explicit cast.
        (apply_mode_maps): Likewise.
        (read_rtx_1): Likewise.
        (apply_code_macro): Replace to to_rtx_code with explicit cast.
        (check_code_macro): Likewise.
        (read_rtx_1): Likewise.

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

18 years agoPR fortran/17792
kargl [Sat, 11 Jun 2005 22:29:17 +0000 (22:29 +0000)]
PR fortran/17792
PR fortran/21375
* trans-array.c (gfc_array_deallocate): pstat is new argument
  (gfc_array_allocate): update gfc_array_deallocate() call.
  (gfc_trans_deferred_array): ditto.
* trans-array.h: update gfc_array_deallocate() prototype.
* trans-decl.c (gfc_build_builtin_function_decls): update declaration
* trans-stmt.c (gfc_trans_deallocate): Implement STAT= feature.

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

18 years ago * c-typeck.c (convert_for_assignment): Avoid cheking
gdr [Sat, 11 Jun 2005 19:47:01 +0000 (19:47 +0000)]
    * c-typeck.c (convert_for_assignment): Avoid cheking
        OPT_Wc___compat, as it is always true.

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

18 years ago2005-06-11 Thomas Koenig <Thomas.Koenig@onlinde.de>
tkoenig [Sat, 11 Jun 2005 19:39:13 +0000 (19:39 +0000)]
2005-06-11  Thomas Koenig  <Thomas.Koenig@onlinde.de>

PR libfortran/21333
* Makefile.am: Add in_pack_c4.c, in_pack_c8.c, in_unpack_c4.c
and in_unpack_c8.c.
* Makefile.in: Regenerate.
* libgfortran.h:  Declare internal_pack_c4, internal_pack_c8,
internal_unpack_c4 and internal_unpack_c8.
* m4/in_pack.m4: Use rtype_ccode insteald of rtype_kind
in function name.
Use sizeof (rtype_name) as size for memory allocation.
* m4/in_unpack.m4: Use rtype_ccode insteald of rtype_kind
in function name.
Use sizeof (rtype_name) for calculation of sizes for memcpy.
* runtime/in_pack_generic.c:  For real, integer and logical
call internal_pack_4 if size==4 and internal_pack_8 if
size==8.
For complex, call internal_pack_c4 if size==8 and
internal_pack_c8 if size==16.
* runtime/in_unpack_generic.c: For real, integer and logical
        call internal_unpack_4 if size==4 and internal_unpack_8 if
        size==8.
        For complex, call internal_unpack_c4 if size==8 and
        internal_unpack_c8 if size==16.
* generated/in_pack_i4.c:  Regenerated.
* generated/in_pack_i8.c:  Regenerated.
* generated/in_unpack_i4.c:  Regenerated.
* generated/in_unpack_i8.c:  Regenerated.
* generated/in_pack_c4.c:  New file.
* generated/in_pack_c8.c:  New file.
* generated/in_unpack_c4.c:  New file.
* generated/in_unpack_c8.c:  New file.

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

* gfortran.fortran-torture/execute/in-pack.f90:  New test.

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

18 years ago * config/rs6000/rs6000.md (eq<mode>_compare): Restrict to Pmode.
dje [Sat, 11 Jun 2005 19:07:05 +0000 (19:07 +0000)]
    * config/rs6000/rs6000.md (eq<mode>_compare): Restrict to Pmode.

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

18 years ago2005-06-11 Daniel Berlin <dberlin@dberlin.org>
dberlin [Sat, 11 Jun 2005 15:28:35 +0000 (15:28 +0000)]
2005-06-11  Daniel Berlin  <dberlin@dberlin.org>

* lambda-code.c (replace_uses_equiv_to_x_with_y): Verify the step
is an INTEGER_CST before calling int_cst_value.

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

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

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

18 years ago PR target/21981
rth [Fri, 10 Jun 2005 21:45:12 +0000 (21:45 +0000)]
PR target/21981
* config/i386/i386.c (ix86_function_value_regno_p): Return true
for FIRST_MMX_REG if TARGET_MMX.
(ix86_return_in_memory): Return 1 for MMX/3dNow vectors. Delete
wrong comment.
(ix86_struct_value_rtx): Emit warning for MMX ABI violations.
(ix86_value_regno): Return FIRST_MMX_REG for MMX vector modes.

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

18 years ago2005-06-10 Daniel Berlin <dberlin@dberlin.org>
dberlin [Fri, 10 Jun 2005 21:34:07 +0000 (21:34 +0000)]
2005-06-10  Daniel Berlin  <dberlin@dberlin.org>

* lambda-code.c (replace_uses_equiv_to_x_with_y): Check step
and access function against chrec_dont_know.

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

18 years ago2005-06-10 Daniel Berlin <dberlin@dberlin.org>
dberlin [Fri, 10 Jun 2005 19:23:26 +0000 (19:23 +0000)]
2005-06-10  Daniel Berlin  <dberlin@dberlin.org>

* lambda-code.c (replace_uses_of_x_with_y): Renamed and rewritten
        slightly.
(exit_phi_for_loop_p): New function.
(can_put_in_inner_loop): Ditto.
(can_convert_to_perfect_nest): Ditto.
(perfect_nestify): Create iv with right type.
Rewrite statements in correct order.

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

18 years ago2005-06-10 Keith Besaw <kbesaw@us.ibm.com>
dorit [Fri, 10 Jun 2005 17:44:22 +0000 (17:44 +0000)]
2005-06-10  Keith Besaw  <kbesaw@us.ibm.com>

        * tree-ssa-alias.c (new_type_alias): Use existing type
        tag if VAR has just one in its may_aliases list.

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

18 years ago PR c++/10611
aldyh [Fri, 10 Jun 2005 17:35:37 +0000 (17:35 +0000)]
    PR c++/10611
        * cvt.c (build_expr_type_conversion): Same.
        * typeck.c (build_binary_op): Handle vectors.
        (common_type): Same.
        (type_after_usual_arithmetic_conversions): Same.
        * testsuite/g++.dg/conversion/simd2.C: New.

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

18 years ago PR 17961
aldyh [Fri, 10 Jun 2005 17:04:09 +0000 (17:04 +0000)]
PR 17961
* config/rs6000/sysv4.h (ROUND_TYPE_ALIGN): Remove.
* config/rs6000/linux64.h (ROUND_TYPE_ALIGN): Remove vector check.
* testsuite/gcc.dg/simd-3.c: New.

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

18 years agoUse scc_operand predicate for eq:SI in powerpc.
fjahanian [Fri, 10 Jun 2005 15:01:59 +0000 (15:01 +0000)]
Use scc_operand predicate for eq:SI in powerpc.
Oked by David Edelsohn.

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

18 years ago * tree-vect-analyze.c (vect_analyze_data_ref_dependence): DRs whose
dorit [Fri, 10 Jun 2005 14:52:01 +0000 (14:52 +0000)]
    * tree-vect-analyze.c (vect_analyze_data_ref_dependence): DRs whose
        dependence-distance modulo VF is 0 are recorded in the
        SAME_ALIGN_REFs VEC in each DR.
        (vect_enhance_data_refs_alignment): Avoid 80 column overflow. The
        alignment information of DRs that are in the SAME_ALIGN_REFs VEC of the
        DR we want to peel for, is set to 0.
        * tree-vect-transform.c (vect_do_peeling_for_loop_bound): Fix printout.
        * tree-vectorizer.c (destroy_loop_vec_info): Free the SAME_ALIGN_REFs
        VEC.
        * tree-vectorizer.h (dr_p): New type. Defined to use the VEC API.
        (_stmt_vec_info): Added new field same_align_refs.
        (STMT_VINFO_SAME_ALIGN_REFS): New macro.

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

18 years ago * vec.h (VEC_safe_grow): Append MEM_STAT_INFO.
nathan [Fri, 10 Jun 2005 12:02:22 +0000 (12:02 +0000)]
* vec.h (VEC_safe_grow): Append MEM_STAT_INFO.

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

18 years ago * config/rs6000/linux.h (NO_PROFILE_COUNTERS): Define.
amodra [Fri, 10 Jun 2005 01:44:59 +0000 (01:44 +0000)]
* config/rs6000/linux.h (NO_PROFILE_COUNTERS): Define.
* config/rs6000/linux64.h (NO_PROFILE_COUNTERS): Define as 1.
* config/rs6000/rs6000.c (output_function_profiler): Obey
NO_PROFILE_COUNTERS.  Handle TARGET_SECURE_PLT.  Use "bcl 20,31"
for -fPIC.  Delete save_lr and substitute its value into strings.

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

18 years ago2005-06-09 Dale Johannesen <dalej@apple.com>
dalej [Fri, 10 Jun 2005 01:16:52 +0000 (01:16 +0000)]
2005-06-09  Dale Johannesen  <dalej@apple.com>

        * config/i386/i386.c (optimization_options):  Make -fno-math-errno
        the default on Darwin.
        * config/rs6000/rs6000.c (optimization_options):  Ditto.
        * doc/invoke.texi (-fno-math-errno): Document.

2005-06-09  Dale Johannesen  <dalej@apple.com>

        * config/rs6000/rs6000.c (TARGET_INSN_VALID_WITHIN_DOLOOP):
        Change to TARGET_INVALID_WITHIN_DOLOOP.

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

18 years ago * config/rs6000/rs6000.md (eq): Convert to define_insn_and_split.
dje [Fri, 10 Jun 2005 01:11:43 +0000 (01:11 +0000)]
    * config/rs6000/rs6000.md (eq): Convert to define_insn_and_split.
        * config/rs6000/predicates.md (scc_eq_operand): New.

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

18 years agoDaily bump.
gccadmin [Fri, 10 Jun 2005 00:16:17 +0000 (00:16 +0000)]
Daily bump.

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

18 years ago * config/sh/sh.md (mextr_rl): Set buffer size properly.
kkojima [Thu, 9 Jun 2005 23:42:29 +0000 (23:42 +0000)]
* config/sh/sh.md (mextr_rl): Set buffer size properly.
(*mextr_lr): Likewise.

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

18 years agoFix email address
gdr [Thu, 9 Jun 2005 22:27:41 +0000 (22:27 +0000)]
Fix email address

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

18 years ago PR c/21759
gdr [Thu, 9 Jun 2005 22:21:48 +0000 (22:21 +0000)]
    PR c/21759
        * c.opt (Wc++-compat): New.
        * doc/invoke.texi (-Wc++-compat): Document.
        * c-typeck.c (convert_for_assignment): Check for implicit
        conversion void* -> T*.
testsuite/
        * gcc.dg/Wcxx-compat-1.c: New.

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

18 years ago2005-06-09 Thomas Koenig <Thomas.Koenig@online.de>
tkoenig [Thu, 9 Jun 2005 19:43:27 +0000 (19:43 +0000)]
2005-06-09  Thomas Koenig  <Thomas.Koenig@online.de>

PR libfortran/21480
* m4/reshape.m4:  Use sizeof (rtype_name) for sizes to be passed
to reshape_packed.
* generated/reshape_c4.c:  Regenerated.
* generated/reshape_c8.c:  Regenerated.
* generated/reshape_i4.c:  Regenerated.
* generated/reshape_i8.c:  Regenerated.

2005-06-09  Thomas Koenig  <Thomas.Koenig@online.de>

PR libfortran/21480
* gfortran.dg/reshape-complex.f90:  Add a test for a packed
complex array.

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

18 years ago * machmode.h (to_machine_mode): New.
gdr [Thu, 9 Jun 2005 17:41:37 +0000 (17:41 +0000)]
    * machmode.h (to_machine_mode): New.
        * rtl.h (to_rtx_code): Likewise.
        * read-rtl.c (apply_mode_macro): Convert mode to machine_mode.
        (print_c_condition): Convert return value of htab_find().
        (apply_code_macro): Add explicit cast when convertin to enums.
        (apply_mode_maps): Likewise.
        (check_code_macro): Likewise.
        (read_rtx_1): Likewise.

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

18 years ago * config/ia64/ia64.c (update_set_flags): Just return for IF_THEN_ELSE.
rth [Thu, 9 Jun 2005 17:38:06 +0000 (17:38 +0000)]
    * config/ia64/ia64.c (update_set_flags): Just return for IF_THEN_ELSE.
        Use SCALAR_FLOAT_MODE_P.
        * config/ia64/vect.md (vcondv2sf): Remove code check on comparison.
        (fselect): Rename from fpcmp; use %F.
        (fpcmp): New.

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

18 years ago * cgraphunit.c (cgraph_create_edges): Do not walk BLOCK; finalize
hubicka [Thu, 9 Jun 2005 16:21:36 +0000 (16:21 +0000)]
* cgraphunit.c (cgraph_create_edges): Do not walk BLOCK; finalize
local statics when doing unit-at-a-time.
(cgraph_varpool_assemble_pending_decls): Output debug info.
* dwarf2out.c (decls_for_scope): Skip local statics.
(dwarf2out_decl): Handle local statics.
* passes.c (rest_of_decl_compilation): Do not differentiate
local and global statics in unit-at-a-time.
* tree-inline.c (remap_decls): Put local static into
unexpanded_vars_list rather than introducing duplicated VAR_DECL
node.

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

18 years ago2005-06-09 Daniel Berlin <dberlin@dberlin.org>
dberlin [Thu, 9 Jun 2005 14:23:28 +0000 (14:23 +0000)]
2005-06-09  Daniel Berlin  <dberlin@dberlin.org>

* config/rs6000/rs6000.c: (rs6000_insn_valid_within_doloop): Fix
prototype.

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

18 years ago2005-06-08 Daniel Berlin <dberlin@dberlin.org>
dberlin [Thu, 9 Jun 2005 13:05:39 +0000 (13:05 +0000)]
2005-06-08  Daniel Berlin  <dberlin@dberlin.org>

* Makefile.in (OBJS-common): Add tree-ssa-structalias.o.
* tree-flow.h (find_what_p_points_to): Add prototype.
(push_fields_onto_fieldstack): Ditto.
(sort_fieldstack): Ditto.
* tree-optimize.c (init_tree_optimization_passes): Add
pass_build_pta and pass_del_pta.
* tree-pass.h (pass_build_pta): New structure.
(pass_del_pta): Ditto.
* tree-ssa-alias.c (compute_flow_sensitive_aliasing): Disambiguate
using new alias analyzer.
(push_fields_onto_fieldstack): Removed from here.
(bitpos_of_field): Ditto.
(fieldoff_compare): Ditto.
* tree-ssa-structalias.c: New file.
* tree-ssa-structalias.h: Ditto.

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

18 years ago/:
nathan [Thu, 9 Jun 2005 11:36:12 +0000 (11:36 +0000)]
/:
* c-typeck.c (build_c_cast): Check type punning on COMPONENT_REF
too.
testsuite:
* gcc.dg/alias-8.c: New.

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

18 years ago * config/bfin/bfin.c (enum bfin_builtins): Moved here from...
bernds [Thu, 9 Jun 2005 11:26:16 +0000 (11:26 +0000)]
* config/bfin/bfin.c (enum bfin_builtins): Moved here from...
* config/bfin/bfin.h (enum bfin_builtins): ... here.

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

18 years ago2005-06-09 Adrian Straetling <straetling@de.ibm.com>
uweigand [Thu, 9 Jun 2005 11:17:23 +0000 (11:17 +0000)]
2005-06-09  Adrian Straetling  <straetling@de.ibm.com>

* target.h (insn_valid_within_doloop): Rename into
"invalid_within_doloop".  Change return type to "const char *".
Update Comment.
* targhooks.h (default_insn_valid_within_doloop): Rename into
"default_invalid_within_doloop".
* targhooks.c (default_insn_valid_within_doloop): Likewise.
Update Comment.
* target-def.h (TARGET_INSN_VALID_WITHIN_DOLOOP): Rename target hook
into "TARGET_INVALID_WITHIN_DOLOOP". Default it to
"default_invalid_within_doloop".
* hooks.c (hook_constcharptr_rtx_null): New function.
(hook_bool_rtx_true): Remove.
* hooks.h (hook_constcharptr_rtx_null): Declare.
(hook_bool_rtx_true): Remove.
* loop-doloop.c (doloop_valid_p): Temporarily store return value of
"invalid_within_doloop" and print error message if non-null.
Update Comment.
* doc/tm.texi: Update documentation.
* config/s390/s390.c: Adjust to new hook name and new default hook.
* config/rs6000/rs6000.c: (rs6000_insn_valid_within_doloop): Rename
into "rs6000_invalid_within_doloop".
(rs6000_invalid_within_doloop): Change return type to "static const
char *" and replace return values.  Update Comment.

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

18 years ago * config/bfin/bfin.opt (mlong-calls): New.
bernds [Thu, 9 Jun 2005 11:12:44 +0000 (11:12 +0000)]
* config/bfin/bfin.opt (mlong-calls): New.
* config/bfin/predicates.md (call_insn_operand): Disallow SYMBOL_REF
if TARGET_LONG_CALLS.

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

18 years ago * gjavah.c (error): Add ATTRIBUTE_PRINTF_1.
ghazi [Thu, 9 Jun 2005 10:55:02 +0000 (10:55 +0000)]
* gjavah.c (error): Add ATTRIBUTE_PRINTF_1.
* java-tree.h (parse_error_context): Move...
* parse.h (parse_error_context): ... here, add ATTRIBUTE_GCC_DIAG.
* parse.y (parse_warning_context): Add ATTRIBUTE_GCC_DIAG.
* verify-impl.c (debug_print): Add ATTRIBUTE_PRINTF_1.

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

18 years ago PR tree-opt/20610
rth [Thu, 9 Jun 2005 07:43:40 +0000 (07:43 +0000)]
    PR tree-opt/20610
        * tree.h (DECL_COMPLEX_GIMPLE_REG_P): New.
        (struct tree_decl): Add gimple_reg_flag.
        * integrate.c (copy_decl_for_inlining): Copy it.
        * gimplify.c (internal_get_tmp_var): Set it.
        (gimplify_bind_expr): Likewise.
        (gimplify_function_tree): Likewise.
        (gimplify_modify_expr_complex_part): New.
        (gimplify_modify_expr): Use it.
        * tree-gimple.c (is_gimple_reg_type): Allow complex.
        (is_gimple_reg): Allow complex with DECL_COMPLEX_GIMPLE_REG_P set.

        * tree-complex.c (complex_lattice_t): New.
        (complex_lattice_values, complex_variable_components): New.
        (some_nonzerop, find_lattice_value, is_complex_reg,
        init_parameter_lattice_values, init_dont_simulate_again,
        complex_visit_stmt, complex_visit_phi, create_components,
        update_complex_components, update_parameter_components,
        update_phi_components, update_all_vops, expand_complex_move): New.
        (extract_component): Handle INDIRECT_REF, COMPONENT_REF, ARRAY_REF,
        SSA_NAME.
        (update_complex_assignment): Use update_complex_components;
        handle updates of return_expr properly.
        (expand_complex_addition): Use complex lattice values.
        (expand_complex_multiplication): Likewise.
        (expand_complex_division): Likewise.
        (expand_complex_libcall): Use update_complex_components.
        (expand_complex_comparison): Use update_stmt.
        (expand_complex_operations_1): Use expand_complex_move, retrieve
        lattice values.
        (tree_lower_complex): Compute lattice values.
        (tree_lower_complex_O0): Duplicate from tree_lower_complex.
        (pass_lower_complex_O0): Rename from pass_lower_complex.
        (pass_lower_complex, gate_no_optimization): New.
        * tree-optimize.c (init_tree_optimization_passes): Update for
        complex pass changes.
        * tree-pass.h (pass_lower_complex_O0): Declare.

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

18 years ago2005-06-08 Dale Johannesen <dalej@apple.com>
dalej [Thu, 9 Jun 2005 03:53:24 +0000 (03:53 +0000)]
2005-06-08  Dale Johannesen  <dalej@apple.com>

        * config/darwin.c (darwin_binds_local_p):  New.
        * config/darwin-protos.h (darwin_binds_local_p):  Declare it.
        * config/i386/i386.c (TARGET_BINDS_LOCAL_P):  Use it for TARGET_MACHO.
        * config/rs6000/rs6000.c (rs6000_binds_local_p):  Remove.
        (TARGET_BINDS_LOCAL_P):  Change it to darwin_binds_local_p.

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

18 years ago * typeck.c (convert): Only clear TREE_OVERFLOW on INTEGER_CST nodes.
sayle [Thu, 9 Jun 2005 03:38:09 +0000 (03:38 +0000)]
* typeck.c (convert): Only clear TREE_OVERFLOW on INTEGER_CST nodes.

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

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

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

18 years agoAdd PR number to ChangeLog entry.
bryce [Thu, 9 Jun 2005 00:15:43 +0000 (00:15 +0000)]
Add PR number to ChangeLog entry.

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

18 years ago * java/rmi/server/RMIClassLoader.java (getClassLoader): Make public.
bryce [Thu, 9 Jun 2005 00:02:37 +0000 (00:02 +0000)]
* java/rmi/server/RMIClassLoader.java (getClassLoader): Make public.
From Gary Benson.

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

18 years ago * config/rs6000/rs6000.h: Remove rs6000_long_double_size_string,
aldyh [Wed, 8 Jun 2005 23:45:45 +0000 (23:45 +0000)]
    * config/rs6000/rs6000.h: Remove rs6000_long_double_size_string,
        rs6000_isel, rs6000_spe, rs6000_alignment_string,
        rs6000_sched_restricted_insns_priority_str,
        rs6000_sched_restricted_insns_priority, rs6000_abi_string.

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

18 years ago * tree-ssa-address.c (addr_for_mem_ref): Use LAST_VIRTUAL_REGISTER
rakdver [Wed, 8 Jun 2005 22:47:07 +0000 (22:47 +0000)]
* tree-ssa-address.c (addr_for_mem_ref): Use LAST_VIRTUAL_REGISTER
instead of FIRST_PSEUDO_REGISTER for creating pseudoregisters.
* tree-ssa-loop-ivopts.c (add_cost, multiply_by_cost,
multiplier_allowed_in_address_p, get_address_cost): Ditto.

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

18 years ago * config/ia64/ia64.h (NO_PROFILE_COUNTERS): New.
rth [Wed, 8 Jun 2005 21:29:36 +0000 (21:29 +0000)]
    * config/ia64/ia64.h (NO_PROFILE_COUNTERS): New.
        * config/ia64/ia64.c (ia64_output_function_profiler): Honor it.
        Emit out3 load right after alloc.

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

18 years ago * config/rs6000/linuxspe.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Use
aldyh [Wed, 8 Jun 2005 20:14:19 +0000 (20:14 +0000)]
* config/rs6000/linuxspe.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Use
rs6000_explicit_options.

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

18 years ago * config/ia64/ia64.h (FUNCTION_PROFILER): Move implementation ...
rth [Wed, 8 Jun 2005 19:23:07 +0000 (19:23 +0000)]
* config/ia64/ia64.h (FUNCTION_PROFILER): Move implementation ...
        * config/ia64/ia64.c (ia64_output_function_profiler): ... here; add
        unwind markup.
        * config/ia64/ia64-protos.h (ia64_output_function_profiler): Declare.

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

18 years ago2005-06-08 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Wed, 8 Jun 2005 17:29:44 +0000 (17:29 +0000)]
2005-06-08  Benjamin Kosnik  <bkoz@redhat.com>

PR libstdc++/21955
* include/std/std_sstream.h (basic_stringbuf::showmanyc): Add.
Remove unnecessary this->_M_mode decoration.
* include/bits/fstream.tcc: Adjust line spacing.
* testsuite/27_io/basic_streambuf/in_avail/char/1.cc: New, test
base class behavior.
* testsuite/27_io/basic_streambuf/in_avail/wchar_t/1.cc: Same.
* testsuite/27_io/basic_stringbuf/in_avail/char/21955.cc: New.
* testsuite/27_io/basic_stringbuf/in_avail/char/1.cc: Match
filebuf behavior.
* testsuite/27_io/basic_stringbuf/in_avail/wchar_t/1.cc: Same.
* testsuite/27_io/basic_stringbuf/str/wchar_t/1.cc: Same.
* testsuite/27_io/basic_stringbuf/str/char/1.cc: Same.
* testsuite/27_io/basic_streambuf/in_avail/char/9701-3.cc: Move...
* testsuite/27_io/basic_filebuf/in_avail/char/9701-3.cc: ...here.

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