OSDN Git Service

pf3gnuchains/gcc-fork.git
16 years ago2005-02-15 Eric Christopher <echristo@redhat.com>
echristo [Tue, 15 Feb 2005 23:18:04 +0000 (23:18 +0000)]
2005-02-15  Eric Christopher  <echristo@redhat.com>

PR preprocessor/19077
* macro.c (cpp_macro_definition): Move handling of whitespace
to PREV_WHITE conditional. Remove overloading of len
variable.

2005-02-15  Eric Christopher  <echristo@redhat.com>

* gcc.dg/cpp/20050215-1.c: New file.

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

16 years ago PR target/19019
dje [Tue, 15 Feb 2005 23:16:49 +0000 (23:16 +0000)]
    PR target/19019
        * config/rs6000/darwin-ldouble.c (_xlqadd): Rename to __gcc_qadd.
        (_xlqsub): Rename to __gcc_qsub.
        (_xlqmul): Rename to __gcc_qmul.
        (_xlqdiv): Rename to __gcc_qdiv.
        Provide versioned symbol aliases with old names.
        * config/rs6000/libgcc-ppc64.ver: Rename symbols.
        * config/rs6000/rs6000.c (rs6000_init_libfuncs): Rename symbols.
        * config/rs6000/t-aix43 (LIB2FUNCS_EXTRA): New.
        * config/rs6000/t-aix52 (LIB2FUNCS_EXTRA): New.
        * config/rs6000/t-newas (LIB2FUNCS_EXTRA): New.

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

16 years ago2005-02-15 Mark Wielaard <mark@klomp.org>
mark [Tue, 15 Feb 2005 22:38:59 +0000 (22:38 +0000)]
2005-02-15  Mark Wielaard  <mark@klomp.org>

       * java/util/jar/Attributes.java (Name.CLASS_PATH): Document that
       file path elements are separated by spaces.

2005-02-15  Mark Wielaard  <mark@klomp.org>

       * java/util/jar/Attributes.java (Attributes.Name): Add documentation
       to describe attributes without a constant field value in this class.

2005-02-15  Michael Koch  <konqueror@gmx.de>

       * java/util/jar/Attributes.java
       (CREATED_BY, JAVA_BEAN, MAGIC): Removed.

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

16 years ago * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Just use
mark [Tue, 15 Feb 2005 22:17:33 +0000 (22:17 +0000)]
   * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Just use
       space for parsing CLASS_PATH attribute.

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

16 years ago * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Don't look
mark [Tue, 15 Feb 2005 22:08:40 +0000 (22:08 +0000)]
   * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Don't look
       aside for "GCJLIBS" in directory where jarfiles are loaded.
       (JarURLLoader.getClass): Removed method.
       (JarURLLoader.toString): Removed method.
       (FileResource.toString): Removed method.

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

16 years ago * javax/net/ssl/SSLContext.java (getInstance): Add exception message
mark [Tue, 15 Feb 2005 22:05:04 +0000 (22:05 +0000)]
   * javax/net/ssl/SSLContext.java (getInstance): Add exception message
       and/or cause before throwing.

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

16 years ago2005-02-15 James A. Morrison <phython@gcc.gnu.org>
phython [Tue, 15 Feb 2005 21:58:21 +0000 (21:58 +0000)]
2005-02-15  James A. Morrison  <phython@gcc.gnu.org>

        * fold-const.c (fold): Fold -(~A) to A + 1.  Fold ~(-A) to A - 1.
        Fold ~(A - 1) and ~(A + -1) to -A.

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

16 years ago2005-02-15 James A. Morrison <phython@gcc.gnu.org>
phython [Tue, 15 Feb 2005 20:52:13 +0000 (20:52 +0000)]
2005-02-15  James A. Morrison  <phython@gcc.gnu.org>

       PR pch/14940
       PR target/19300
       * config/host-linux.c (linux_gt_pch_use_address): Copy from
       config/pa/pa-host.c:pa_gt_pch_use_address.

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

16 years ago2005-02-15 Daniel Berlin <dberlin@dberlin.org>
dberlin [Tue, 15 Feb 2005 20:09:31 +0000 (20:09 +0000)]
2005-02-15  Daniel Berlin  <dberlin@dberlin.org>

* tree-vn.c (get_value_handle): Make sure that given an
is_gimple_min_invariant expression, we always return it.

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

16 years agogcc/cp/ChangeLog:
aoliva [Tue, 15 Feb 2005 19:39:31 +0000 (19:39 +0000)]
gcc/cp/ChangeLog:
PR c++/17788
* class.c (add_implicitly_declared_members, check_field_decl)
(check_field_decls, check_bases): Remove arguments, tests and
assignments of cant_have_default_ctor-related variables.
gcc/testsuite/ChangeLog:
PR c++/17788
* g++.dg/init/ctor4.C: New.
* g++.old-deja/g++.bugs/900205_04.C: Adjust.

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

16 years ago* decl2.c (mark_used): Set the source location of the used decl to
aoliva [Tue, 15 Feb 2005 19:37:13 +0000 (19:37 +0000)]
* decl2.c (mark_used): Set the source location of the used decl to
the current input location here...
* method.c (synthesize_method): ... not here.  Set input_location
from the decl instead.

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

16 years ago * passes.c (rest_of_handle_gcse): Fix a comment.
kazu [Tue, 15 Feb 2005 18:56:44 +0000 (18:56 +0000)]
* passes.c (rest_of_handle_gcse): Fix a comment.

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

16 years ago * gcc.dg/overflow-warn-1.c, gcc.dg/overflow-warn-2.c,
jsm28 [Tue, 15 Feb 2005 18:52:15 +0000 (18:52 +0000)]
* gcc.dg/overflow-warn-1.c, gcc.dg/overflow-warn-2.c,
gcc.dg/overflow-warn-3.c, gcc.dg/overflow-warn-4.c: New tests.

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

16 years ago * gcse.c (canon_modify_mem_set_list_set): Kill unnecessary
law [Tue, 15 Feb 2005 17:18:07 +0000 (17:18 +0000)]
    * gcse.c (canon_modify_mem_set_list_set): Kill unnecessary
        bitmap.
        (alloc_gcse_mem, free_gcse_mem): Corresponding changes.
        (canon_list_insert, record_last_mem_set_info): Similarly.
        (clear_modify_mem_tables): Similarly.

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

16 years ago * Makefile.am (libgcj_la_SOURCES): Move all sources ...
rth [Tue, 15 Feb 2005 17:17:44 +0000 (17:17 +0000)]
    * Makefile.am (libgcj_la_SOURCES): Move all sources ...
        (libgcj0_convenience_la_SOURCES): ... here.
        (libgcj_la_LIBADD): Add libgcj0_convenience.la.
        (libgcj_la_DEPENDENCIES): Include libgcj_la_LIBADD.
        * Makefile.in: Regenerate.

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

16 years ago* ada/acats/tests/cxb/cxb30131.c: Include <stdlib.h> to properly
schwab [Tue, 15 Feb 2005 16:20:05 +0000 (16:20 +0000)]
* ada/acats/tests/cxb/cxb30131.c: Include <stdlib.h> to properly
declare malloc.

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

16 years ago * bitmap.c, bitmap.h, lambda-code.c, tree-dfa.c, tree-dump.c,
kazu [Tue, 15 Feb 2005 15:53:52 +0000 (15:53 +0000)]
* bitmap.c, bitmap.h, lambda-code.c, tree-dfa.c, tree-dump.c,
tree-dump.h, tree-ssa-loop-manip.c, value-prof.c,
config/mips/mips.md, config/rs6000/aix.h,
config/rs6000/beos.h, config/rs6000/sysv4.h: Update copyright.

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

16 years ago2005-02-15 Andreas Krebbel <krebbel1@de.ibm.com>
uweigand [Tue, 15 Feb 2005 12:23:40 +0000 (12:23 +0000)]
2005-02-15  Andreas Krebbel  <krebbel1@de.ibm.com>

* gcc.misc-tests/linkage.exp (s390): Check for 64bit added.

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

16 years ago * bb-reorder.c (find_traces_1_round): Force fallthru edge from a
rth [Tue, 15 Feb 2005 09:26:27 +0000 (09:26 +0000)]
    * bb-reorder.c (find_traces_1_round): Force fallthru edge from a
        call to be best_edge.

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

16 years ago * flow.c (recompute_reg_usage): Remove all arguments.
kazu [Tue, 15 Feb 2005 07:19:51 +0000 (07:19 +0000)]
* flow.c (recompute_reg_usage): Remove all arguments.
* passes.c (rest_of_compilation): Adjust the call to
recompute_reg_usage.
* rtl.h: Adjust the prototype for recompute_reg_usage.

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

16 years ago * basic-block.h: Adjust the prototype for find_basic_blocks.
kazu [Tue, 15 Feb 2005 07:18:23 +0000 (07:18 +0000)]
* basic-block.h: Adjust the prototype for find_basic_blocks.
* cfgbuild.c (find_basic_blocks): Remove unused arguments.
* passes.c (rest_of_handle_loop_optimize): Adjust the call to
find_basic_blocks.

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

16 years agoDaily bump.
gccadmin [Tue, 15 Feb 2005 00:16:22 +0000 (00:16 +0000)]
Daily bump.

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

16 years ago PR libstdc++/19946
jakub [Tue, 15 Feb 2005 00:07:53 +0000 (00:07 +0000)]
PR libstdc++/19946
* testsuite/demangle/abi_examples/01.cc (main): Adjust for 2005-02-13
demangler change.
* testsuite/demangle/abi_examples/02.cc (main): Likewise.

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

16 years ago2005-02-14 Daniel Berlin <dberlin@dberlin.org>
dberlin [Mon, 14 Feb 2005 21:32:14 +0000 (21:32 +0000)]
2005-02-14  Daniel Berlin  <dberlin@dberlin.org>

* tree-dump.c (dump_files): Update to reflect new member
of dump_file_info.
(dump_register): Add new argument.
Set glob name.
(dump_switch_p_1): Check against glob name if doglob was passed.
(dump_switch_p): Check against regular first, then glob if
we didn't have any hits on the dump name.
* tree-optimize.c (register_one_dump_file):
Pass in glob name as well.
* tree-pass.h (struct dump_file_info): Add glob
member.

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

16 years ago2005-02-14 Thomas Fitzsimmons <fitzsim@redhat.com>
fitzsim [Mon, 14 Feb 2005 21:08:08 +0000 (21:08 +0000)]
2005-02-14  Thomas Fitzsimmons  <fitzsim@redhat.com>

* jawt.c: New file.
* include/jawt.h: Likewise.
* include/jawt_md.h: Likewise.
* include/Makefile.am (tool_include__HEADERS): Add jawt.h and
jawt_md.h files.
* include/Makefile.in: Regenerate.
* jni/classpath/classpath_jawt.h: Likewise.
* jni/gtk-peer/gtk_jawt.c: Likewise.
* Makefile.am: Build libjawt.so.
* Makefile.in: Regenerate.

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

16 years ago * testsuite/libjava.lang/PR19921.java: Use correct class name.
tromey [Mon, 14 Feb 2005 20:56:11 +0000 (20:56 +0000)]
* testsuite/libjava.lang/PR19921.java: Use correct class name.

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

16 years ago * testsuite/libjava.lang/PR19921.out: Renamed from PR19929.out.
tromey [Mon, 14 Feb 2005 20:51:07 +0000 (20:51 +0000)]
* testsuite/libjava.lang/PR19921.out: Renamed from PR19929.out.
* testsuite/libjava.lang/PR19921.java: Renamed from PR19929.java.

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

16 years ago PR preprocessor/16323
jsm28 [Mon, 14 Feb 2005 20:46:29 +0000 (20:46 +0000)]
PR preprocessor/16323
* doc/invoke.texi: Document that -Wendif-labels is on by default.

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

16 years agoFix typo.
dje [Mon, 14 Feb 2005 20:22:03 +0000 (20:22 +0000)]
Fix typo.

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

16 years ago PR target/19019
dje [Mon, 14 Feb 2005 20:21:10 +0000 (20:21 +0000)]
PR target/19019
* config/rs6000/rs6000.md (trunctfdf2): Change to define_expand.
(trunctfdf2_internal1): New.
(trunctfdf2_internal2): Renamed from trunctfdf2.

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

16 years agogcc/java:
tromey [Mon, 14 Feb 2005 20:04:36 +0000 (20:04 +0000)]
gcc/java:
PR java/19921:
* jcf-write.c (generate_bytecode_insns) <CALL_EXPR>: Note the
stack effect of multianewarray.

libjava:
For PR java/19929:
* testsuite/libjava.lang/PR19929.out: New file.
* testsuite/libjava.lang/PR19929.java: New file.

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

16 years ago PR tree-optimization/19853
dnovillo [Mon, 14 Feb 2005 19:46:08 +0000 (19:46 +0000)]
PR tree-optimization/19853
* tree-dfa.c (add_referenced_var): Always examine DECL_INITIAL.

testsuite/ChangeLog

PR tree-optimization/19853
* gcc.c-torture/compile/pr19853.c: New test.

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

16 years agocp:
nathan [Mon, 14 Feb 2005 17:50:58 +0000 (17:50 +0000)]
cp:
PR c++/19608
* parser.c (cp_parser_late_parsing_for_member): Use
current_function_decl as scope to push to and from.
testsuite:
PR c++/19608
* g++.dg/parse/local-class1.C: New.

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

16 years agore-apply fold_indirect_ref patch
jason [Mon, 14 Feb 2005 16:07:16 +0000 (16:07 +0000)]
re-apply fold_indirect_ref patch

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

16 years ago * passes.c (rest_of_handle_loop_optimize): Remove calls to
kazu [Mon, 14 Feb 2005 15:13:24 +0000 (15:13 +0000)]
* passes.c (rest_of_handle_loop_optimize): Remove calls to
delete_dead_jumptables and cleanup_cfg.

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

16 years ago * reload.c (find_reloads): Swap address_reloaded flags when
uweigand [Mon, 14 Feb 2005 15:07:05 +0000 (15:07 +0000)]
* reload.c (find_reloads): Swap address_reloaded flags when
swapping commutative operands.

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

16 years ago2005-02-14 Andrew Haley <aph@redhat.com>
aph [Mon, 14 Feb 2005 14:58:22 +0000 (14:58 +0000)]
2005-02-14  Andrew Haley  <aph@redhat.com>

        PR java/19907
        * expr.c (expand_byte_code): Call promote_arguments().
        (promote_arguments): New function.
        * decl.c (check_local_unnamed_variable): Remve special case for
        new verifier.
        (find_local_variable): Promote all boolean types to int
        when searching for local variable decls.

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

16 years ago2005-02-14 Anthony Green <green@redhat.com>
green [Mon, 14 Feb 2005 14:57:37 +0000 (14:57 +0000)]
2005-02-14  Anthony Green  <green@redhat.com>

        PR libgcj/18116
        * testsuite/libjava.jni/PR18116.c: New file.
        * testsuite/libjava.jni/PR18116.java: New file.
        * testsuite/libjava.jni/PR18116.out: New file.

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

16 years ago * lambda-code.c (lambda_loopnest_to_gcc_loopnest, perfect_nestify):
spop [Mon, 14 Feb 2005 14:54:37 +0000 (14:54 +0000)]
* lambda-code.c (lambda_loopnest_to_gcc_loopnest, perfect_nestify):
Use standard_iv_increment_position for computing the bsi position
for create_iv.
* tree-ssa-loop-manip.c (create_iv): Add a comment on how to compute
the bsi position.

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

16 years ago * directives.c, files.c, init.c, internal.h, macro.c, pch.c,
kazu [Mon, 14 Feb 2005 14:43:56 +0000 (14:43 +0000)]
* directives.c, files.c, init.c, internal.h, macro.c, pch.c,
traditional.c: Update copyright.

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

16 years ago2005-02-13 Anthony Green <green@redhat.com>
green [Mon, 14 Feb 2005 13:51:29 +0000 (13:51 +0000)]
2005-02-13  Anthony Green  <green@redhat.com>

        * jni.cc (nathash_add): Don't strdup the method signature.
        (_Jv_JNI_RegisterNatives): Convert the slashes to dots in the
        method signature.
        Update copyright.

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

16 years agocp:
nathan [Mon, 14 Feb 2005 13:45:42 +0000 (13:45 +0000)]
cp:
PR c++/19884
* pt.c (check_explicit_specialization): Make sure namespace
binding lookup found an overloaded function.
(lookup_template_function): Just assert FNS is an overloaded
function.

PR c++/19895
* decl.c (grokdeclarator): Check for error mark node in ptrmem
construction.
testsuite:
PR c++/19895
* g++.dg/parse/ptrmem3.C: New.

PR c++/19884
* g++.old-deja/g++.oliva/template6.C: Add another case.
* g++.dg/template/explicit6.C: New.

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

16 years agogcc/cp/ChangeLog:
aoliva [Mon, 14 Feb 2005 12:01:15 +0000 (12:01 +0000)]
gcc/cp/ChangeLog:
PR c++/17816
* decl.c (redeclaration_error_message): Report redefinition of
pure virtual function.
gcc/testsuite/ChangeLog:
PR c++/17816
* g++.dg/other/redecl2.C: New.

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

16 years ago PR target/17428
rakdver [Mon, 14 Feb 2005 11:37:52 +0000 (11:37 +0000)]
PR target/17428
* cfgrtl.c (safe_insert_insn_on_edge): Avoid extending life range of hard
registers.
* value-prof.c (insn_prefetch_values_to_profile): Only scan normal insns.

* value-prof.c (rtl_find_values_to_profile): Do not look for values to
profile in libcalls.

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

16 years agoadd myself to MAINTAINERS file
razya [Mon, 14 Feb 2005 11:21:09 +0000 (11:21 +0000)]
add myself to MAINTAINERS file

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

16 years agocp:
nathan [Mon, 14 Feb 2005 09:36:35 +0000 (09:36 +0000)]
cp:
PR c++/19891
* class.c (build_simple_base_path): Build the component_ref
directly.
(update_vtable_entry_for_fn): Walk the covariant's binfo chain
rather than using lookup_base.
* search.c (dfs_walk_once): Add non-recursive assert check.
* typeck.c (build_class_member_access_expr): It is possible for
the member type to be both const and volatile.
testsuite:
PR c++/19891
* g++.dg/abi/covariant4.C: New.

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

16 years ago * bitmap.h (bitmap_and_compl_into): Return bool.
nathan [Mon, 14 Feb 2005 09:24:41 +0000 (09:24 +0000)]
* bitmap.h (bitmap_and_compl_into): Return bool.
* bitmap.c (bitmap_and_compl_into): Return changed flag.

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

16 years agoinclude:
bonzini [Mon, 14 Feb 2005 08:52:24 +0000 (08:52 +0000)]
include:
2005-02-08  Paolo Bonzini  <bonzini@gnu.org>

PR bootstrap/19818
* ansidecl.h (PARAMS): Guard from redefinition.

libcpp:
2005-02-08  Paolo Bonzini  <bonzini@gnu.org>

PR bootstrap/19818
* configure.ac: Check for declaration of basename and getopt.
* config.in: Regenerate.
* configure: Regenerate.
* internal.h (ustrcspn): New.
* macro.c (create_iso_definition): Fix allocation of memory.
(padding_token): Add cast to remove const-ness.
* pch.c (cpp_read_state): Use ustrcspn.

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

16 years ago2005-02-13 James A. Morrison <phython@gcc.gnu.org>
phython [Mon, 14 Feb 2005 02:27:18 +0000 (02:27 +0000)]
2005-02-13  James A. Morrison  <phython@gcc.gnu.org>

       PR tree-optimization/19944
       * fold-const.c (fold): Re-add ABS_EXPR folding.

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

16 years agoDaily bump.
gccadmin [Mon, 14 Feb 2005 00:16:51 +0000 (00:16 +0000)]
Daily bump.

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

16 years ago PR target/19019
dje [Sun, 13 Feb 2005 21:31:35 +0000 (21:31 +0000)]
    PR target/19019
        * config/rs6000/aix.h ({TARGET,MASK}_XL_CALL): Rename to
        {TARGET,MASK}_XL_COMPAT.
        (SUBTARGET_SWITCHES): Rename xl-call to xl-compat.  Use
        MASK_XL_COMPAT.
        * config/rs6000/beos.h ({TARGET,MASK}_XL_CALL): Remove.
        * config/rs6000/rs6000.c (function_arg): Change TARGET_XL_CALL to
        TARGET_XL_COMPAT.
        (rs6000_arg_partial_bytes): Same.
        (rs6000_generate_compare): Generate PARALLEL for compare if TFmode
        and XL compatibility enabled.
        * config/rs6000/rs6000.h (TARGET_XL_CALL): Rename to TARGET_XL_COMPAT.
        * config/rs6000/rs6000.md (cmptf_internal1): Add !TARGET_XL_COMPAT
        test to final condition.
        (cmptf_internal2): New.
        * doc/invoke.texi (RS/6000 Subtarget Options): Change xl-call to
        xl-compat.  Add TFmode information to description.

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

16 years ago2005-02-13 Andrew Pinski <pinskia@physics.uc.edu>
pinskia [Sun, 13 Feb 2005 20:08:29 +0000 (20:08 +0000)]
2005-02-13  Andrew Pinski  <pinskia@physics.uc.edu>

        PR ada/19942
        * utils.c (gnat_type_for_mode): Return null instead of ICE because we asked
        for an unknown mode.

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

16 years ago * flags.h, read-rtl.c, tree-ssa-live.h: Update copyright.
kazu [Sun, 13 Feb 2005 19:05:03 +0000 (19:05 +0000)]
* flags.h, read-rtl.c, tree-ssa-live.h: Update copyright.

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

16 years agotemporarily revert last changes
jason [Sun, 13 Feb 2005 17:10:47 +0000 (17:10 +0000)]
temporarily revert last changes

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

16 years ago2005-02-13 James A. Morrison <phython@gcc.gnu.org>
phython [Sun, 13 Feb 2005 16:26:11 +0000 (16:26 +0000)]
2005-02-13  James A. Morrison  <phython@gcc.gnu.org>

       * treetree.c (tree_lang_type_for_mode): Return NULL_TREE for all non
       scalar integer types.

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

16 years ago* trans-stmt.c (generate_loop_for_temp_to_lhs,
tobi [Sun, 13 Feb 2005 15:32:45 +0000 (15:32 +0000)]
* trans-stmt.c (generate_loop_for_temp_to_lhs,
generate_loop_for_rhs_to_temp): Remove if whose condition is
always true.

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

16 years ago* typo fix
fche [Sun, 13 Feb 2005 12:58:28 +0000 (12:58 +0000)]
* typo fix

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

16 years ago2005-02-13 Frank Ch. Eigler <fche@redhat.com>
fche [Sun, 13 Feb 2005 12:49:34 +0000 (12:49 +0000)]
2005-02-13  Frank Ch. Eigler  <fche@redhat.com>

PR mudflap/19319
* testsuite/libmudflap.c++/pass55-frag.c: New test.

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

16 years ago2005-02-13 Richard Guenther <rguenth@gcc.gnu.org>
paolo [Sun, 13 Feb 2005 10:25:02 +0000 (10:25 +0000)]
2005-02-13  Richard Guenther  <rguenth@gcc.gnu.org>
    Paolo Carlini  <pcarlini@suse.de>

PR libstdc++/11706
* include/c_std/std_cmath.h (pow): Use __builtin_powi[lf]
for integer overloads.

* testsuite/26_numerics/cmath/powi.cc: New.

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

16 years ago * cp-demangle.c (__cxa_demangle): Change resolution of ambiguous
jason [Sun, 13 Feb 2005 06:58:20 +0000 (06:58 +0000)]
    * cp-demangle.c (__cxa_demangle): Change resolution of ambiguous
        arguments.

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

16 years ago PR mudflap/19319
jason [Sun, 13 Feb 2005 06:43:58 +0000 (06:43 +0000)]
    PR mudflap/19319
        * gimplify.c (gimplify_modify_expr_rhs) [CALL_EXPR]: Make return
        slot explicit.

        PR c++/16405
        * fold-const.c (fold_indirect_ref_1): Split out from...
        (build_fold_indirect_ref): Here.
        (fold_indirect_ref): New fn.
        * tree.h: Declare it.
        * gimplify.c (gimplify_compound_lval): Call fold_indirect_ref.
        (gimplify_modify_expr_rhs): Likewise.
        (gimplify_expr): Likewise.

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

16 years ago2005-02-13 James A. Morrison <phython@gcc.gnu.org>
phython [Sun, 13 Feb 2005 06:41:01 +0000 (06:41 +0000)]
2005-02-13  James A. Morrison  <phython@gcc.gnu.org>

       * gcc.dg/pr15784-1.c, gcc.dg/pr15784-2.c, gcc.dg/pr15784-3.c: New tests.

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

16 years ago2005-02-13 James A. Morrison <phython@gcc.gnu.org>
phython [Sun, 13 Feb 2005 06:21:35 +0000 (06:21 +0000)]
2005-02-13  James A. Morrison  <phython@gcc.gnu.org>

       PR tree-optimization/14303
       PR tree-optimization/15784
       * fold-const.c (fold): Fold ABS_EXPR<x> >= 0 to true, when possible.
       Fold ABS_EXPR<x> < 0 to false.  Fold ABS_EXPR<x> == 0 to x == 0 and
       ABS_EXPR<x> != 0 to x != 0.

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

16 years ago * passes.c (rest_of_handle_gcse): Remove dead assignments to
kazu [Sun, 13 Feb 2005 03:58:21 +0000 (03:58 +0000)]
* passes.c (rest_of_handle_gcse): Remove dead assignments to
tem and tem2.

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

16 years ago * passes.c (rest_of_handle_gcse): Don't run cse_main and
kazu [Sun, 13 Feb 2005 03:49:53 +0000 (03:49 +0000)]
* passes.c (rest_of_handle_gcse): Don't run cse_main and
delete_trivially_dead_insns too many times.

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

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

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

16 years ago * utils.c (gnat_type_for_mode): Return NULL for COMPLEX modes;
rth [Sat, 12 Feb 2005 20:02:35 +0000 (20:02 +0000)]
    * utils.c (gnat_type_for_mode): Return NULL for COMPLEX modes;
        validate SCALAR_INT_MODE_P before calling gnat_type_for_size.

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

16 years ago * gcc.dg/vect/vect-96.c: Fix typo.
dorit [Sat, 12 Feb 2005 19:33:44 +0000 (19:33 +0000)]
    * gcc.dg/vect/vect-96.c: Fix typo.

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

16 years ago* symbol.c (gfc_use_ha_derived): Remove, fold functionality into ...
tobi [Sat, 12 Feb 2005 15:44:01 +0000 (15:44 +0000)]
* symbol.c (gfc_use_ha_derived): Remove, fold functionality into ...
(gfc_use_derived): ... this function.

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

16 years ago PR c++/14479
lerdsuwa [Sat, 12 Feb 2005 15:40:28 +0000 (15:40 +0000)]
PR c++/14479
PR c++/19487
* pt.c (maybe_check_template_type): Remove.
* cp-tree.h (maybe_check_template_type): Remove prototype.
* name-lookup.c (maybe_process_template_type_declaration): Don't
use maybe_check_template_type.

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

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

16 years ago * builtins.c, java-except.h, jcf-parse.c, jv-scan.c, lex.c,
kazu [Sat, 12 Feb 2005 15:21:14 +0000 (15:21 +0000)]
* builtins.c, java-except.h, jcf-parse.c, jv-scan.c, lex.c,
parse-scan.y: Update copyright.

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

16 years ago * c-tree.h, combine.c, expmed.c, flow.c, libgcc2.c,
kazu [Sat, 12 Feb 2005 15:17:56 +0000 (15:17 +0000)]
* c-tree.h, combine.c, expmed.c, flow.c, libgcc2.c,
simplify-rtx.c, tree-ssa-live.h: Fix comment typos.  Follow
spelling conventions.

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

16 years ago Fixes bug libgcj/8170
mark [Sat, 12 Feb 2005 13:51:11 +0000 (13:51 +0000)]
   Fixes bug libgcj/8170
       * java/lang/ClassLoader.java (loadClass): Don't rewrap
       ClassNotFoundException.
       * gnu/java/lang/MainThread.java (run): Chain NoClassDefFoundError.
       * gnu/gcj/runtime/NameFinder.java (remove_interpreter): Removed.
       (remove_internal): New field superceding remove_interpreter.
       (sanitizeStack): Remove all no-package classes starting with "_Jv_".
       Remove no-class methods starting with "_Jv_". And Replace null
       class or method names with the empty string. Stop at either the
       MainThread or a real Thread run() method.
       (newElement): Made static.
       * java/net/URLClassLoader.java (findClass): Throw
       ClassNotFoundExceptions including urls, plus parent using toString().
       (thisString): New field.
       (toString): New method.

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

16 years ago * tree-vectorizer.c (vect_get_base_and_offset): Remove.
dorit [Sat, 12 Feb 2005 12:57:12 +0000 (12:57 +0000)]
    * tree-vectorizer.c (vect_get_base_and_offset): Remove.
        (vect_is_simple_iv_evolution): Remove redundant parameter
        and step check.
        (vect_analyze_scalar_cycles): Call vect_is_simple_iv_evolution
        without last parameter.
        (vect_analyze_pointer_ref_access): Get access_fn as parameter.
        Return pointer step. Call vect_is_simple_iv_evolution without
        last parameter. Check only that the step is multiple of size
        type. Remove stmt_vinfo updates.
        (vect_get_memtag_and_dr): Remove.
        (vect_get_memtag): New function.
        (vect_address_analysis): New function.
        (vect_object_analysis): New function.
        (vect_analyze_data_refs): Call vect_object_analysis and
        vect_get_memtag. Update stmt_vinfo fields.

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

16 years ago * tree-data-ref.c (array_base_name_differ_p): Check that the bases
dorit [Sat, 12 Feb 2005 11:47:19 +0000 (11:47 +0000)]
    * tree-data-ref.c (array_base_name_differ_p): Check that the bases
        exist and are objects. Remove checks for pointer.
        * tree-vectorizer.c (vect_create_addr_base_for_vector_ref): Use
        STMT_VINFO_VECT_DR_BASE_ADDRESS instead of DR_BASE_NAME.
        (vect_create_data_ref_ptr): Likewise.
        (vect_base_addr_differ_p): New function.
        (vect_analyze_data_ref_dependence): Call vect_base_addr_differ_p.
        (vect_analyze_pointer_ref_access): Add output parameter - ptr_init.
        Don't set the DR_BASE_NAME field of data-ref.
        (vect_get_memtag_and_dr): Use ptr_init instead of DR_BASE_NAME.

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

16 years ago * optabs.h (enum optab_index): Add new OTI_ldexp.
uros [Sat, 12 Feb 2005 11:34:24 +0000 (11:34 +0000)]
* optabs.h (enum optab_index): Add new OTI_ldexp.
(ldexp_optab): Define corresponding macro.
* optabs.c (init_optabs): Initialize ldexp_optab.
* genopinit.c (optabs): Implement ldexp_optab using ldexp?f3
patterns.
* builtins.c (expand_builtin_mathfn_2): Handle BUILT_IN_LDEXP{,F,L}
using ldexp_optab.
(expand_builtin): Expand BUILT_IN_LDEXP{,F,L} using
expand_builtin_mathfn_2 if flag_unsafe_math_optimizations is set.

* config/i386/i386.md (ldexpsf3, ldexpdf3, ldexpxf3): New expanders
to implement ldexpf, ldexp and ldexpl built-ins as inline x87
intrinsics.

testsuite:

* gcc.dg/builtins-34.c: Also check ldexp*.

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

16 years ago2005-02-13 Ira Rosen <irar@il.ibm.com>
dorit [Sat, 12 Feb 2005 10:24:40 +0000 (10:24 +0000)]
2005-02-13  Ira Rosen  <irar@il.ibm.com>

        * tree-vectorizer.h (struct _stmt_vec_info): Rename a field: base
        to base_address.
        * tree-vectorizer.c (new_stmt_vec_info): Rename the above field of
        stmt_vec_info.
        (vect_get_base_and_offset): Always return an address.
        (vect_create_addr_base_for_vector_ref): Remove treatment for
        different data reference types.
        (vect_compute_data_ref_alignment): Rename base to base_address in
        stmt_vec_info. Get the object in order to force its alignment.
        (vect_get_memtag_and_dr): Rename base to base_address in
        stmt_vec_info. Extract the object for memtag analysis.

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

16 years ago * gcc.dg/tree-ssa/20040703-1.c: Quote decimal dot.
hp [Sat, 12 Feb 2005 07:46:43 +0000 (07:46 +0000)]
* gcc.dg/tree-ssa/20040703-1.c: Quote decimal dot.

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

16 years ago PR java/15543
bothner [Sat, 12 Feb 2005 06:12:40 +0000 (06:12 +0000)]
PR java/15543
* parse-scan.y (input_location): Remove variable.
(main_input_filename): New - replaces input_filename, which isn't
settable if USE_MAPPED_LOCATION.
* lex.c (java_init_lex): Wrap some more places in #ifndef JC1-LITE,
so we don't reference input_location or wfl_operator in that case.
* jv-scan.c (expand_location): Remove - no longer used.
(main): Set main_input_filename rather than input_filename.

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

16 years ago PR regression/19898.
hp [Sat, 12 Feb 2005 01:08:33 +0000 (01:08 +0000)]
PR regression/19898.
* config/cris/cris.c (cris_notice_update_cc): When testing if insn
changes cc_status, use apply modified_in_p to part of cc_status
and insn, not cris_reg_overlap_mentioned_p on SET_DEST of insn
body.

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

16 years ago * tree-complex.c (expand_complex_libcall): New.
rth [Sat, 12 Feb 2005 00:26:57 +0000 (00:26 +0000)]
    * tree-complex.c (expand_complex_libcall): New.
        (expand_complex_multiplication): Use it for c99 compliance.
        (expand_complex_division): Likewise.
        * fold-const.c (fold_complex_add, fold_complex_mult): New.
        (fold): Call them.
        * builtins.c (built_in_names): Remove const.
        * tree.c (build_common_builtin_nodes): Build complex arithmetic
        builtins.
        * tree.h (BUILT_IN_COMPLEX_MUL_MIN, BUILT_IN_COMPLEX_MUL_MAX): New.
        (BUILT_IN_COMPLEX_DIV_MIN, BUILT_IN_COMPLEX_DIV_MAX): New.
        (built_in_names): Remove const.
        * c-common.c (c_common_type_for_mode): Handle complex modes.
        * flags.h, toplev.c (flag_complex_method): Rename from
        flag_complex_divide_method.
        * libgcc2.c (__divsc3, __divdc3, __divxc3, __divtc3,
        __mulsc3, __muldc3, __mulxc3, __multc3): New.
        * libgcc2.h: Declare them.
        * libgcc-std.ver: Export them.
        * mklibgcc.in (lib2funcs): Build them.

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

16 years agoDaily bump.
gccadmin [Sat, 12 Feb 2005 00:16:59 +0000 (00:16 +0000)]
Daily bump.

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

16 years ago * testsuite/26_numerics/complex/13450.cc: Fix XFAIL selector.
janis [Sat, 12 Feb 2005 00:05:08 +0000 (00:05 +0000)]
* testsuite/26_numerics/complex/13450.cc: Fix XFAIL selector.
* testsuite/26_numerics/complex/complex_value.cc: Ditto.
* testsuite/26_numerics/complex/pow.cc: Ditto.

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

16 years ago * testsuite/lib/libstdc++.exp: Load target-supports-dg.exp.
janis [Fri, 11 Feb 2005 22:40:16 +0000 (22:40 +0000)]
* testsuite/lib/libstdc++.exp: Load target-supports-dg.exp.
* testsuite/26_numerics/complex/13450.cc: XFAIL for broken_cplxf_arg.
* testsuite/26_numerics/complex/complex_value.cc: Ditto.
* testsuite/26_numerics/complex/pow.cc: Ditto.

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

16 years ago * lib/gcc-dg.exp: (dg-require-weak, dg-require-visibility,
janis [Fri, 11 Feb 2005 22:36:53 +0000 (22:36 +0000)]
* lib/gcc-dg.exp: (dg-require-weak, dg-require-visibility,
dg-require-alias, dg-require-gc-sections, dg-require-profiling,
dg-require-dll, dg-require-iconv, dg-require-named-sections,
dg-require-effective-target, dg-skip-if, dg-xfail-if, selector_opd,
selector_list, selector_expression, dg-process-target): Move to new
file target-supports-dg.exp.
* lib/target-supports-dg.exp: New.

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

16 years ago * lib/target-supports.exp (check_effective_target_broken_cplxf_arg):
janis [Fri, 11 Feb 2005 22:34:57 +0000 (22:34 +0000)]
* lib/target-supports.exp (check_effective_target_broken_cplxf_arg):
New.

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

16 years ago * testsuite/libffi.call/cls_align_longdouble.c: Remove dg-options.
janis [Fri, 11 Feb 2005 22:33:16 +0000 (22:33 +0000)]
* testsuite/libffi.call/cls_align_longdouble.c: Remove dg-options.
* testsuite/libffi.call/float.c: Ditto.
* testsuite/libffi.call/float2.c: Ditto.
* testsuite/libffi.call/float3.c: Ditto.

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

16 years ago PR tree-optimization/19876
steven [Fri, 11 Feb 2005 21:52:34 +0000 (21:52 +0000)]
PR tree-optimization/19876
Partially revert my change from 2005-01-14
* tree-ssa-pre.c (compute_antic_aux): Make recursive once again...
(compute_antic): ...and remove the loop here.

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

16 years ago PR c++/19666
jakub [Fri, 11 Feb 2005 21:12:48 +0000 (21:12 +0000)]
PR c++/19666
2004-06-08  Andrew Pinski  <pinskia@physics.uc.edu>
* fold-const.c (fold_convert): Treat OFFSET_TYPE like
POINTER_TYPE and INTEGER_TYPE.

* gcc/testsuite/g++.dg/other/ptrmem6.C: New test.

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

16 years ago PR middle-end/19858
jakub [Fri, 11 Feb 2005 21:08:44 +0000 (21:08 +0000)]
PR middle-end/19858
* fold-const.c (make_bit_field_ref): If bitpos == 0 and bitsize
is number of inner's bits, avoid creating a BIT_FIELD_REF.

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

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

16 years ago * config/rs6000/sysv4.h (ENDFILE_LINUX_SPEC): Use crtendS.o instead of
jakub [Fri, 11 Feb 2005 21:05:28 +0000 (21:05 +0000)]
* config/rs6000/sysv4.h (ENDFILE_LINUX_SPEC): Use crtendS.o instead of
crtend.o if -pie.  Use %{x:a;:b} spec syntax.

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

16 years ago PR c++/19632
rth [Fri, 11 Feb 2005 20:22:23 +0000 (20:22 +0000)]
    PR c++/19632
        * pt.c (get_mostly_instantiated_function_type): Save and restore
        flag_access_control instead of push/pop_access_scope.

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

16 years ago * config/mips/linux-unwind.h (mips_fallback_frame_state): Adjust
drow [Fri, 11 Feb 2005 20:18:59 +0000 (20:18 +0000)]
* config/mips/linux-unwind.h (mips_fallback_frame_state): Adjust
offsets for the big-endian 32-bit case.

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

16 years ago * config/ia64/hpux.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Define.
jsm28 [Fri, 11 Feb 2005 19:55:07 +0000 (19:55 +0000)]
* config/ia64/hpux.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Define.

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

16 years ago2005-02-11 Dale Johannesen <dalej@apple.com>
dalej [Fri, 11 Feb 2005 18:12:33 +0000 (18:12 +0000)]
2005-02-11  Dale Johannesen  <dalej@apple.com>

* cselib.c (cselib_process_insn):  Clear out regs where
HARD_REGNO_CALL_PART_CLOBBERED is true at a call.
* reload.c (find_equiv_reg): Ditto.

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

16 years ago PR c++/19755
mmitchel [Fri, 11 Feb 2005 17:15:50 +0000 (17:15 +0000)]
PR c++/19755
* decl.c (reshape_init): Issue warnings about missing braces.

PR c++/19755
* g++.dg/warn/Wbraces1.C: New test.

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

16 years ago * cp-tree.def, except.c, ptree.c: Update copyright.
kazu [Fri, 11 Feb 2005 16:28:37 +0000 (16:28 +0000)]
* cp-tree.def, except.c, ptree.c: Update copyright.

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

16 years ago * read-rtl.c (read_rtx_1): Give fatal error if we see a vector
ian [Fri, 11 Feb 2005 15:09:53 +0000 (15:09 +0000)]
* read-rtl.c (read_rtx_1): Give fatal error if we see a vector
with no elements.

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

16 years ago * tree.c (build_function_type_list): Work correctly if there are
ian [Fri, 11 Feb 2005 15:07:33 +0000 (15:07 +0000)]
* tree.c (build_function_type_list): Work correctly if there are
no arguments.

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

16 years ago * config/s390/s390.md ("*cmpdi_cct", "*cmpsi_cct", "*cmpdi_ccs",
uweigand [Fri, 11 Feb 2005 14:40:55 +0000 (14:40 +0000)]
* config/s390/s390.md ("*cmpdi_cct", "*cmpsi_cct", "*cmpdi_ccs",
"*cmpsi_ccs"): Use %h instead of %c to print immediate operand.
("*zero_extendhisi2_64", "*zero_extendhisi2_31"): Choose based on
TARGET_ZARCH instead of TARGET_64BIT.

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