OSDN Git Service
uweigand [Wed, 22 Sep 2004 13:57:40 +0000 (13:57 +0000)]
2004-09-22 P.J. Darcy <darcypj@us.ibm.com>
* config/s390/s390-protos.h (s390_emit_tpf_eh_return): Add prototype.
* config/s390/s390.c (s390_emit_tpf_eh_return): New function.
* config/s390/s390.h (TARGET_TPF): New macro.
* config/s390/s390.md ("eh_return"): New expander.
* config/s390/t-tpf (LIB2ADDEH): Use unwind-dw2-fde.c rather than
unwind-dw2-fde-glibc.c. Add config/s390/tpf-eh.c.
(LIB2ADDEHDEP): Remove unwind-dw2-fde.c.
* config/s390/tpf.h (TARGET_TPF): Define to 1.
(STACK_POINTER_OFFSET): Increase to 448.
(TARGET_DEFAULT): Set -mtpf-trace on as default.
(TPF_LOC_DIFF_OFFSET): New macro.
(ASM_PREFERRED_EH_DATA_FORMAT): Redefine to always use absolute
encoding.
(__isPATrange): Add prototype.
(MD_FALLBACK_FRAME_STATE_FOR): Define.
* config/s390/tpf-eh.c: New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87857
138bc75d-0d04-0410-961f-
82ee72b054a4
dnovillo [Wed, 22 Sep 2004 11:40:12 +0000 (11:40 +0000)]
* fold-const.c (fold): Avoid non INTEGER_TYPEs when widening
operands in an integer comparison.
* tree-cfg.c (find_taken_edge): Call fold() to determine
whether the predicate is known.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87855
138bc75d-0d04-0410-961f-
82ee72b054a4
kcook [Wed, 22 Sep 2004 11:21:21 +0000 (11:21 +0000)]
gcc/
2004-09-22 Kelley Cook <kcook@gcc.gnu.org>
* aclocal.m4: Import AM_PROG_CC_C_O and AM_AUX_DIR_EXPAND.
* configure.ac: Call AM_PROG_CC_C_O instead of AC_PROG_CC_C_O.
Create build and doc directories along with the language directories.
Don't create doc directory separately.
* configure: Regenerate.
* Makefile.in: Create all object and executables files built
with the build compiler in a build/ directory.
(genobjnames): Add missing build objects.
(STAGESTUFF): Don't stage the gen* programs.
(ggc-none.o): Define dependencies for the target compiler.
(build-print-rtl.o): Rename to build/print-rtl.o.
(build-errors.o): Rename to build/errors.o.
(build-varray.o): Rename to build/varray.o.
(maintainerclean): Delete the contents of the build directory.
($(genobjs): %.o): Explicitly use -o.
(build/insn-conditions.o): Delete specfic rule to use generic rule.
(build/gengtype-lex.o): Likewise.
(build/gengtype-yacc.o): Likewise.
(build/gcov-iov.o): Likewise.
gcc/java
2004-09-22 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in: Revert the gcc-none.o change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87854
138bc75d-0d04-0410-961f-
82ee72b054a4
nathan [Wed, 22 Sep 2004 10:55:21 +0000 (10:55 +0000)]
* cp-tree.h (struct lang_type_class): Remove marked flags, add
diamond_shaped and repeated_base flags. Reorder to keep 8-bit blocks.
(TYPE_MARKED_P): New.
(CLASSTYPE_DIAMOND_SHAPED_P, CLASSTYPE_REPEATED_BASE_P): New.
(CLASSTYPE_MARKED_N, SET_CLASSTYPE_MARKED_N,
CLEAR_CLASSTYPE_MARKED_N): Remove.
(CLASSTYPE_MARKED_*, SET_CLASSTYPE_MARKED_*,
CLEAR_CLASSTYPE_MARKED_*): Remove.
* decl.c (xref_basetypes): Use TYPE_MARKED_P. Determine diamond
shaped and repeated base properties.
* lex.c (cxx_make_type): Don't clear TYPE_ALIAS_SET.
* rtti.c (dfs_class_hint_mark, dfs_class_hint_unmark,
class_hint_flags): Remove.
(get_pseudo_ti_init): Use CLASSTYPE_REPEATED_BASE_P and
CLASSTYPE_DIAMOND_SHAPED_P.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87853
138bc75d-0d04-0410-961f-
82ee72b054a4
nathan [Wed, 22 Sep 2004 10:51:42 +0000 (10:51 +0000)]
* vec.h (VEC_space): Return true if there _is_ space.
(VEC_reserve): Adjust.
* java/parse.y (patch_anonymous_class): VEC_space returns true if
there is space.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87852
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Wed, 22 Sep 2004 07:27:51 +0000 (07:27 +0000)]
* config/mips/mips.c (mips_function_value): For o32, o64, n32 and n64,
use FPRs for scalar, complex and vector types only.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87848
138bc75d-0d04-0410-961f-
82ee72b054a4
zlaski [Wed, 22 Sep 2004 06:11:20 +0000 (06:11 +0000)]
[gcc/cp/ChangeLog]
2004-09-21 Ziemowit Laski <zlaski@apple.com>
* cp-lang.c (LANG_HOOKS_FOLD_OBJ_TYPE_REF): Moved here from
cp-objcp-common.h.
(objcp_tsubst_copy_and_build): Reformat function signature.
* cp-objcp-common.h (objcp_tsubst_copy_and_build): Likewise.
(LANG_HOOKS_FOLD_OBJ_TYPE_REF): Moved to cp-lang.c.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87846
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 22 Sep 2004 04:12:01 +0000 (04:12 +0000)]
* tree-ssa-dom.c (opt_stats): Move so that it lives just after
the opt_stats_d structure.
(vrp_data): Change from a varray into a hash table.
(vrp_hash_elt): New structure for elements in the vrp hash table.
(vrp_hash, vrp_eq):New functions for hashing and testing equality
in the vrp hash table.
(tree_ssa_dominator_optimize): Initialize VRP_DATA. Reorganize
initialization slightly to make it easier to read. No longer need
to grow/clear the varray. Instead empty and delete the hash table.
(dom_opt_finalize_block): Update due to change of VRP_DATA from
a varray to a hash table.
(simplify_cond_and_loop_avail_expr, record_range): Similarly.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87845
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 22 Sep 2004 04:07:23 +0000 (04:07 +0000)]
* tree-ssa-ccp.c (get_default_value): If we have a constant
value recorded for an SSA_NAME, then use that constant as
the initial lattice value.
(substitute_and_fold): Transfer equivalences discovered into
SSA_NAME_EQUIV.
* tree.h (SSA_NAME_EQUIV): Add comments.
(SET_SSA_NAME_EQUIV): Similarly.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87844
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Wed, 22 Sep 2004 04:05:12 +0000 (04:05 +0000)]
* config/rs6000/linux64.h (PROCESSOR_DEFAULT64): Default to POWER4.
* config/rs6000/rs6000.c (rs6000_adjust_cost): dep_insn is used.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87843
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Wed, 22 Sep 2004 02:24:06 +0000 (02:24 +0000)]
* c-decl.c (implicitly_declare): Call maybe_apply_renaming_pragma.
(finish_decl): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87840
138bc75d-0d04-0410-961f-
82ee72b054a4
dpatel [Wed, 22 Sep 2004 01:16:20 +0000 (01:16 +0000)]
* tree.def (VEC_COND_EXPR): New tree node.
* tree-ssa-operands.c (get_expr_operands): Handle VEC_COND_EXPR.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87839
138bc75d-0d04-0410-961f-
82ee72b054a4
zlaski [Wed, 22 Sep 2004 01:13:07 +0000 (01:13 +0000)]
[gcc/objc/ChangeLog]
2004-09-21 Ziemowit Laski <zlaski@apple.com>
* objc-act.c (objc_fold_objc_type_ref): New function.
* objc-act.h (objc_fold_objc_type_ref): New prototype.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87838
138bc75d-0d04-0410-961f-
82ee72b054a4
shebs [Wed, 22 Sep 2004 01:06:29 +0000 (01:06 +0000)]
* config/rs6000/darwin-tramp.asm: Add __ppc64__ case.
* config/rs6000/darwin-world.asm: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87836
138bc75d-0d04-0410-961f-
82ee72b054a4
dberlin [Wed, 22 Sep 2004 01:03:40 +0000 (01:03 +0000)]
2004-09-21 Daniel Berlin <dberlin@dberlin.org>
* tree-ssa.c (verify_def): Use print_generic_stmt,
not debug_generic_stmt.
(verify_use): Ditto.
(verify_phi_args): Ditto.
(verify_ssa): Ditto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87835
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Wed, 22 Sep 2004 00:16:17 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87833
138bc75d-0d04-0410-961f-
82ee72b054a4
pbrook [Tue, 21 Sep 2004 23:40:21 +0000 (23:40 +0000)]
* varasm.c (default_assemble_integer): Return false for values wider
than the target word size. Works around GAS bug.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87827
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Tue, 21 Sep 2004 22:23:46 +0000 (22:23 +0000)]
* java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
Indentation fix.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87825
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Tue, 21 Sep 2004 20:46:57 +0000 (20:46 +0000)]
* parser.c (cp_lexer_peek_token, cp_lexer_consume_token):
Don't handle CPP_PRAGMA tokens specially.
(cp_lexer_handle_pragma): Use cp_lexer_consume_token. Don't
purge the token; do clear token->value after processing. Add
assertion at beginning that token->value is nonzero.
(cp_parser_statement, cp_parser_declaration_seq_opt): Handle
CPP_PRAGMA as a full statement or declaration in its own right.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87822
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Tue, 21 Sep 2004 20:34:43 +0000 (20:34 +0000)]
* reg-notes.def (REG_DEP_TRUE): New entry, place first so it
gets value 0.
* print-rtl.c (print_rtx): Print the name of a REG_NOTE even
if it has value 0.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87821
138bc75d-0d04-0410-961f-
82ee72b054a4
andreast [Tue, 21 Sep 2004 18:43:25 +0000 (18:43 +0000)]
2004-09-21 Michael Koch <konqueror@gmx.de>
* java/net/Socket.java
(getLocalAddress): Return InetAddress.ANY_IF if not bound yet.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87817
138bc75d-0d04-0410-961f-
82ee72b054a4
andreast [Tue, 21 Sep 2004 18:37:44 +0000 (18:37 +0000)]
2004-09-21 Casey Marshall <csm@gnu.org>
* javax/crypto/MacSpi.java (clone): Provide meaningful
implementation.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87816
138bc75d-0d04-0410-961f-
82ee72b054a4
austern [Tue, 21 Sep 2004 18:27:29 +0000 (18:27 +0000)]
Fix bootstrap.
* gjavah.c (free_method_name_list): Fix function definition so
it's a proper C prototype.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87815
138bc75d-0d04-0410-961f-
82ee72b054a4
austern [Tue, 21 Sep 2004 17:24:44 +0000 (17:24 +0000)]
PR c++/15049
* cp/decl.c (grokvardecl): Accept declarations of global variables
using anonymous types.
* testsuite/g++.dg/other/anon3.C: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87814
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Tue, 21 Sep 2004 17:00:56 +0000 (17:00 +0000)]
PR libgcj/16869:
* Makefile.in: Rebuilt.
* Makefile.am (MOSTLYCLEANFILES): Removed.
(mostlyclean-local): Remove header files.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87813
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Tue, 21 Sep 2004 16:28:40 +0000 (16:28 +0000)]
PR java/17575:
* gjavah.c (free_method_name_list): New method.
(main): Call it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87812
138bc75d-0d04-0410-961f-
82ee72b054a4
andreast [Tue, 21 Sep 2004 16:27:30 +0000 (16:27 +0000)]
2004-09-21 Mark Wielaard <mark@klomp.org>
* java/util/TreeMap.java (root): Don't initialize.
(TreeMap(Comparator)): Call fabricateTree(0).
(fabricateTree): Initialize root and size when count is 0.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87811
138bc75d-0d04-0410-961f-
82ee72b054a4
sayle [Tue, 21 Sep 2004 16:20:12 +0000 (16:20 +0000)]
PR c++/7503
* tree.c (lvalue_p_1): Disallow MIN_EXPR and MAX_EXPR as lvalues
if either operand has side-effects.
* typeck.c (rationalize_conditional_expr): Assert that neither
operand of MIN_EXPR or MAX_EXPR has side-effects.
(build_modify_expr): Add support for MIN_EXPR and MAX_EXPR.
Check that the "lhs" is a valid lvalue, i.e. that neither operand
of a MIN_EXPR or MAX_EXPR has a side-effect.
* g++.dg/opt/pr7503-1.C: New testcase for COND_EXPR lvalues.
* g++.dg/opt/pr7503-2.C: New testcase for <? and >? lvalues.
* g++.dg/opt/pr7503-3.C: New testcase for invalid <? lvalue errors.
* g++.dg/opt/pr7503-4.C: New testcase for <?= and >?= assignments.
* g++.dg/opt/pr7503-5.C: New testcase for side-effects with <?=.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87810
138bc75d-0d04-0410-961f-
82ee72b054a4
dberlin [Tue, 21 Sep 2004 15:42:44 +0000 (15:42 +0000)]
2004-09-21 Daniel Berlin <dberlin@dberlin.org>
* c-typeck.c (build_function_call): Give name of object
we are attempting to call in error message.
* c-objc-common.c (c_tree_printer): Call pp_expression,
not return false, for 'E' case.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87809
138bc75d-0d04-0410-961f-
82ee72b054a4
nathan [Tue, 21 Sep 2004 15:39:00 +0000 (15:39 +0000)]
* cp-tree.h (struct lang_type_header): Remove
uses_multiple_inheritance field.
(TYPE_USES_MULTIPLE_INHERITANCE): Remove.
(TYPE_BASE_CONVS_MAY_REQUIRE_CODE_P): Remove.
(TYPE_USES_VIRTUAL_BASECLASSES): Remove.
(DECL_NEEDS_VTT_PARM_P): Use CLASSTYPE_VBASECLASSES.
(TYPE_CONTAINS_VPTR_P): Likewise.
* call.c (add_template_candidate_real): Use
CLASSTYPE_VBASECLASSES.
(build_special_member_call): Likewise.
* class.c (finish_struct_bits): Remove
TYPE_BASE_CONVS_MAY_REQUIRE_CODE_P & TYPE_USES_VIRTUAL_BASECLASSES
bookkeeping.
(check_bases_and_members): Use TYPE_CONTAINS_VPTR_P.
(create_vtable_ptr): Remove TYPE_BASE_CONVS_MAY_REQUIRE_CODE_P
bookkeeping.
(build_vtt_inits): Use CLASSTYPE_VBASECLASSES.
(accumulate_vtbl_inits, build_vbase_offset_vtbl_entries):
Likewise.
* decl.c (xref_basetypes): Remove TYPE_USES_MULTIPLE_INHERITANCE,
TYPE_BASE_CONVS_MAY_REQUIRE_CODE_P, TYPE_USES_VIRTUAL_BASECLASSES
bookkeeping.
(cxx_maybe_build_cleanup): Use CLASSTYPE_VBASECLASSES.
* decl2.c (maybe_retrofit_in_chrg): Likewise.
* init.c (expand_member, push_base_cleanups): Likewise.
* pt.c (instantiate_class_template): Remove
TYPE_USES_MULTIPLE_INHERITANCE,
TYPE_BASE_CONVS_MAY_REQUIRE_CODE_P, TYPE_USES_VIRTUAL_BASECLASSES
bookkeeping.
* ptree.c (cxx_print_type): Remove TYPE_USES_MULTIPLE_INHERITANCE
check.
* typeck2.c (process_init_constructor): Replace some sorrys with
asserts.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87808
138bc75d-0d04-0410-961f-
82ee72b054a4
charlet [Tue, 21 Sep 2004 15:34:36 +0000 (15:34 +0000)]
2004-09-21 Olivier Hainque <hainque@act-europe.fr>
* decl.c (gnat_to_gnu_entity) <E_General_Access_Type>: Check for a
dummy designated type via TYPE_MODE instead of COMPLETE_TYPE_P. This
ensures proper handling of types with rep clauses, which might have
their TYPE_SIZE set already.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87807
138bc75d-0d04-0410-961f-
82ee72b054a4
charlet [Tue, 21 Sep 2004 15:31:03 +0000 (15:31 +0000)]
2004-09-21 Robert Dewar <dewar@gnat.com>
* decl.c (gnat_to_gnu_type, case E_Modular_Integer_Type): Wrap modular
packed array types in both little- and big-endian cases. This change
ensures that we no longer count on the unused bits being initialized
for such types (and in particular ensures that equality testing will
only read the relevant bits).
Change name TYPE_LEFT_JUSTIFIED_MODULAR_P to TYPE_JUSTIFIED_MODULAR_P
These changes mean that we no longer need to initialize small packed
arrays.
(gnat_to_gnu_entity) <E_Record_Subtype>: Apply the same
optimization to an LJM field as to its parent field.
* ada-tree.h:, trans.c, utils.c, utils2.c:
Change name TYPE_LEFT_JUSTIFIED_MODULAR_P to TYPE_JUSTIFIED_MODULAR_P
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87806
138bc75d-0d04-0410-961f-
82ee72b054a4
andreast [Tue, 21 Sep 2004 15:30:20 +0000 (15:30 +0000)]
2004-09-21 Casey Marshall <csm@gnu.org>
* java/security/cert/X509CRLSelector.java:
(match): remove unreachable try-catch clauses.
Reported by: Dalibor Topic <robilad@kaffe.org>
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87805
138bc75d-0d04-0410-961f-
82ee72b054a4
andreast [Tue, 21 Sep 2004 13:50:13 +0000 (13:50 +0000)]
2004-09-21 Sven de Marothy <sven@physto.se>
* java/nio/ByteBuffer.java (hashCode): Implemented.
* java/nio/CharBuffer.java: Likewise.
* java/nio/DoubleBuffer.java: Likewise.
* java/nio/FloatBuffer.java: Likewise.
* java/nio/LongBuffer.java: Likewise.
* java/nio/IntBuffer.java: Likewise.
* java/nio/ShortBuffer.java: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87804
138bc75d-0d04-0410-961f-
82ee72b054a4
tobi [Tue, 21 Sep 2004 12:38:34 +0000 (12:38 +0000)]
2004-09-21 Steven G. Kargl <kargls@comcast.net>
* libgfortran.h: define gfc_alloca()
* intrinsics/env.c (getenv, get_environment_variable_i4): Use it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87801
138bc75d-0d04-0410-961f-
82ee72b054a4
andreast [Tue, 21 Sep 2004 11:25:26 +0000 (11:25 +0000)]
2004-09-21 Andreas Tobler <a.tobler@schweiz.ch>
* javax/security/auth/x500/X500Principal.java: Fix some merge glitches.
2004-09-21 Michael Koch <konqueror@gmx.de>
* javax/net/ssl/SSLServerSocket.java:
Removed comment about "Do not edit this file, it's generated.".
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87800
138bc75d-0d04-0410-961f-
82ee72b054a4
bdavis [Tue, 21 Sep 2004 11:22:47 +0000 (11:22 +0000)]
2004-09-21 Bud Davis <bdavis9659@comcast.net>
PR fortran/17286
* io/list_read.c (namelist_read): ignore spaces after
the '=' for namelist reads.
2004-09-21 Bud Davis <bdavis9659@comcast.net>
PR fortran/17286
* gfortran.dg/pr17286.f90: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87799
138bc75d-0d04-0410-961f-
82ee72b054a4
andreast [Tue, 21 Sep 2004 09:22:00 +0000 (09:22 +0000)]
2004-09-21 Andreas Tobler <a.tobler@schweiz.ch>
* decl.c (reshape_init_array): Initialize max_index_cst to fix
bootstrap failure.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87798
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Tue, 21 Sep 2004 09:06:08 +0000 (09:06 +0000)]
2004-09-21 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/12882 (cont)
* acinclude.m4 (GLIBCXX_CHECK_LFS): Check for fstat64 too.
* configure: Regenerate.
* config/io/basic_file_stdio.cc (__basic_file<>::showmanyc): When
_GLIBCXX_USE_LFS use fstat64 and lseek64, thus providing a non
trivial showmanyc for large files too.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87797
138bc75d-0d04-0410-961f-
82ee72b054a4
andreast [Tue, 21 Sep 2004 08:35:11 +0000 (08:35 +0000)]
2004-09-21 Andreas Tobler <a.tobler@schweiz.ch>
* javax/security/auth/x500/X500Principal.java: Replaced with GNU
Crypto's version.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87796
138bc75d-0d04-0410-961f-
82ee72b054a4
andreast [Tue, 21 Sep 2004 08:33:35 +0000 (08:33 +0000)]
2004-09-21 Andreas Tobler <a.tobler@schweiz.ch>
Import the big Crypto/Jessie/Security merge from Classpath.
* Makefile.am: Add imported files.
* Makefile.in: Regenerate.
2004-08-14 Casey Marshall <csm@gnu.org>
The Big Crypto Merge of 2004.
* javax/security/auth/x500/X500Principal.java: Replaced with GNU
Crypto's version.
Files imported from GNU Crypto.
* javax/crypto/BadPaddingException.java
* javax/crypto/Cipher.java
* javax/crypto/CipherInputStream.java
* javax/crypto/CipherOutputStream.java
* javax/crypto/CipherSpi.java
* javax/crypto/EncryptedPrivateKeyInfo.java
* javax/crypto/ExemptionMechanism.java
* javax/crypto/ExemptionMechanismException.java
* javax/crypto/ExemptionMechanismSpi.java
* javax/crypto/IllegalBlockSizeException.java
* javax/crypto/KeyAgreement.java
* javax/crypto/KeyAgreementSpi.java
* javax/crypto/KeyGenerator.java
* javax/crypto/KeyGeneratorSpi.java
* javax/crypto/Mac.java
* javax/crypto/MacSpi.java
* javax/crypto/Makefile.am
* javax/crypto/NoSuchPaddingException.java
* javax/crypto/NullCipher.java
* javax/crypto/NullCipherImpl.java
* javax/crypto/SealedObject.java
* javax/crypto/SecretKey.java
* javax/crypto/SecretKeyFactory.java
* javax/crypto/SecretKeyFactorySpi.java
* javax/crypto/ShortBufferException.java
* javax/crypto/interfaces/DHKey.java
* javax/crypto/interfaces/DHPrivateKey.java
* javax/crypto/interfaces/DHPublicKey.java
* javax/crypto/interfaces/PBEKey.java
* javax/crypto/spec/DESKeySpec.java
* javax/crypto/spec/DESedeKeySpec.java
* javax/crypto/spec/DHGenParameterSpec.java
* javax/crypto/spec/DHParameterSpec.java
* javax/crypto/spec/DHPrivateKeySpec.java
* javax/crypto/spec/DHPublicKeySpec.java
* javax/crypto/spec/IvParameterSpec.java
* javax/crypto/spec/PBEKeySpec.java
* javax/crypto/spec/PBEParameterSpec.java
* javax/crypto/spec/RC2ParameterSpec.java
* javax/crypto/spec/RC5ParameterSpec.java
* javax/crypto/spec/SecretKeySpec.java
* javax/security/auth/AuthPermission.java
* javax/security/auth/DestroyFailedException.java
* javax/security/auth/Destroyable.java
* javax/security/auth/Policy.java
* javax/security/auth/PrivateCredentialPermission.java
* javax/security/auth/RefreshFailedException.java
* javax/security/auth/Refreshable.java
* javax/security/auth/Subject.java
* javax/security/auth/SubjectDomainCombiner.java
* javax/security/auth/callback/Callback.java
* javax/security/auth/callback/CallbackHandler.java
* javax/security/auth/callback/ChoiceCallback.java
* javax/security/auth/callback/ConfirmationCallback.java
* javax/security/auth/callback/LanguageCallback.java
* javax/security/auth/callback/NameCallback.java
* javax/security/auth/callback/PasswordCallback.java
* javax/security/auth/callback/TextInputCallback.java
* javax/security/auth/callback/TextOutputCallback.java
* javax/security/auth/callback/UnsupportedCallbackException.java
* javax/security/auth/login/AccountExpiredException.java
* javax/security/auth/login/AppConfigurationEntry.java
* javax/security/auth/login/Configuration.java
* javax/security/auth/login/CredentialExpiredException.java
* javax/security/auth/login/FailedLoginException.java
* javax/security/auth/login/LoginContext.java
* javax/security/auth/login/LoginException.java
* javax/security/auth/login/NullConfiguration.java
* javax/security/auth/x500/X500PrivateCredential.java
* javax/security/sasl/AuthenticationException.java
* javax/security/sasl/AuthorizeCallback.java
* javax/security/sasl/RealmCallback.java
* javax/security/sasl/RealmChoiceCallback.java
* javax/security/sasl/Sasl.java
* javax/security/sasl/SaslClient.java
* javax/security/sasl/SaslClientFactory.java
* javax/security/sasl/SaslException.java
* javax/security/sasl/SaslServer.java
* javax/security/sasl/SaslServerFactory.java
* org/ietf/jgss/ChannelBinding.java
* org/ietf/jgss/GSSContext.java
* org/ietf/jgss/GSSCredential.java
* org/ietf/jgss/GSSException.java
* org/ietf/jgss/GSSManager.java
* org/ietf/jgss/GSSName.java
* org/ietf/jgss/MessageProp.java
* org/ietf/jgss/Oid.java
* org/ietf/jgss/MessagesBundle.properties
Files imported from Jessie <http://www.nongnu.org/jessie/>
* javax/net/ServerSocketFactory.java
* javax/net/SocketFactory.java
* javax/net/VanillaServerSocketFactory.java
* javax/net/VanillaSocketFactory.java
* javax/net/ssl/HandshakeCompletedEvent.java
* javax/net/ssl/HandshakeCompletedListener.java
* javax/net/ssl/HostnameVerifier.java
* javax/net/ssl/HttpsURLConnection.java
* javax/net/ssl/KeyManager.java
* javax/net/ssl/KeyManagerFactory.java
* javax/net/ssl/KeyManagerFactorySpi.java
* javax/net/ssl/ManagerFactoryParameters.java
* javax/net/ssl/SSLContext.java
* javax/net/ssl/SSLContextSpi.java
* javax/net/ssl/SSLException.java
* javax/net/ssl/SSLHandshakeException.java
* javax/net/ssl/SSLKeyException.java
* javax/net/ssl/SSLPeerUnverifiedException.java
* javax/net/ssl/SSLPermission.java
* javax/net/ssl/SSLProtocolException.java
* javax/net/ssl/SSLServerSocket.java
* javax/net/ssl/SSLServerSocketFactory.java
* javax/net/ssl/SSLSession.java
* javax/net/ssl/SSLSessionBindingEvent.java
* javax/net/ssl/SSLSessionBindingListener.java
* javax/net/ssl/SSLSessionContext.java
* javax/net/ssl/SSLSocket.java
* javax/net/ssl/SSLSocketFactory.java
* javax/net/ssl/TrivialHostnameVerifier.java
* javax/net/ssl/TrustManager.java
* javax/net/ssl/TrustManagerFactory.java
* javax/net/ssl/TrustManagerFactorySpi.java
* javax/net/ssl/X509KeyManager.java
* javax/net/ssl/X509TrustManager.java
* javax/security/cert/Certificate.java
* javax/security/cert/CertificateEncodingException.java
* javax/security/cert/CertificateException.java
* javax/security/cert/CertificateExpiredException.java
* javax/security/cert/CertificateNotYetValidException.java
* javax/security/cert/CertificateParsingException.java
* javax/security/cert/X509CertBridge.java
* javax/security/cert/X509Certificate.java
2004-08-20 Casey Marshall <csm@gnu.org>
* java/security/cert/X509CRLSelector.java: New file.
* java/security/cert/X509CertSelector.java: New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87795
138bc75d-0d04-0410-961f-
82ee72b054a4
steven [Tue, 21 Sep 2004 07:48:29 +0000 (07:48 +0000)]
PR rtl-optimization/17482
* postreload-gcse.c (reg_avail_info, oprs_unchanged_p,
load_killed_in_block_p): Clarify comments.
(record_last_reg_set_info): Make static inline.
(mark_call, mark_set, mark_clobber, mark_oprs_set): Remove.
(record_opr_changes): New function to replace the above.
(compute_hash_table): Clarify comments. Use record_opr_changes.
(reg_set_between_after_reload_p): Clean up.
(reg_used_between_after_reload_p): Likewise.
(eliminate_partially_redundant_load): Clarify comments.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87794
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Tue, 21 Sep 2004 05:57:55 +0000 (05:57 +0000)]
PR rtl-optimization/17266
* regmove.c (optimize_reg_copy_3): Make a new SUBREG for each insn.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87793
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Tue, 21 Sep 2004 05:44:10 +0000 (05:44 +0000)]
PR c++/17530
* pt.c (tsubst): Fix parentheses to accomodate emacs.
(tsubst_baselink): If we get a single function, mark it as used.
PR c++/17530
* g++.dg/template/static7.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87791
138bc75d-0d04-0410-961f-
82ee72b054a4
uros [Tue, 21 Sep 2004 05:10:54 +0000 (05:10 +0000)]
PR rtl-optimization/14851
* rtlanal.c (commutative_operand_precedence): Calculate
precedence of stripped constant.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87788
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 21 Sep 2004 03:19:00 +0000 (03:19 +0000)]
* tree-ssanames.c (make_ssa_name): No longer need to clear, then
initialize key elements here.
(release_ssa_name): Zero the released SSA_NAME here.
* tree.h (SSA_NAME_EQUIV, SET_SSA_NAME_EQUIV): New macros.
(struct tree_ssa_name): Add new "equiv" field.
* tree-ssa-dom.c (const_and_copies): Kill the global varray.
(tree_ssa_dominator_optimize): No longer allocate, resize or
clear CONST_AND_COPIES.
(get_value_for, set_value_for): Kill.
(thread_across_edge): Get/set the equivalency using
SSA_NAME_EQUIV and SET_SSA_NAME_EQUIV.
(restore_vars_to_original_value): Likewise.
(record_equivalences_from_phis): Likewise.
(record_dominating_conditions): Likewise.
(record_const_or_copy, record_equality): Likewise.
(lookup_avail_expr): Likewise.
(record_equivalences_from_stmt, cprop_operand): Likewise.
(cprop_into_successor_phis): No longer need to pass around
CONST_AND_COPIES. Callers updated. Get equivalences via
SSA_NAME_EQUIV.
(cprop_into_phis): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87787
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Tue, 21 Sep 2004 02:22:45 +0000 (02:22 +0000)]
2004-09-20 Matt Austern <austern@apple.com>
Zack Weinberg <zack@codesourcery.com>
* c-common.c (fix_string_type): Build the unqualified array
type unconditionally, then use c_build_qualified_type to get
the proper const-qualified variant, and set its
TYPE_MAIN_VARIANT to refer to the unqualified type.
* c-lex.c (c_lex_return_raw_string): New global.
(c_lex_with_flags): Honor it.
* c-pragma.h: Declare it.
cp:
* decl.c (make_rtl_for_nonlocal_decl, start_preparsed_function):
Apply lbasename to input_filename before passing to get_fileinfo.
* semantics.c (begin_class_definition): Likewise.
* lex.c (handle_pragma_interface): Apply get_fileinfo to the
correct filename. Rename variables to be less confusing.
(handle_pragma_implementation): Likewise. Disable "appears
after file is included" diagnostic.
* parser.c (struct cp_token): Add in_system_header fiag.
(CP_TOKEN_BLOCK_NUM_TOKENS, struct cp_token_block)
(CP_TOKEN_BUFFER_SIZE, cp_token_cache_push_token)
(CPP_NONE, cp_lexer_read_token): Delete.
(struct cp_lexer): Remove first_token, string_tokens,
main_lexer_p fields. Clarify comments.
(struct cp_token_cache): Now just a pair of pointers.
(CP_LEXER_BUFFER_SIZE): New #define.
(CPP_PURGED): New fake token type.
(cp_lexer_new_from_token_array, cp_lexer_destroy)
(cp_lexer_peek_token_emit_debug_info, cp_lexer_skip_purged_tokens)
(cp_lexer_handle_pragma, cp_token_cache_new, cp_parser_string_literal):
New functions.
(cp_lexer_new_from_tokens): Now a simple wrapper around
cp_lexer_new_from_token_array.
(cp_lexer_set_source_position_from_token): Also update
in_system_header.
(cp_lexer_next_token, cp_lexer_prev_token, cp_lexer_advance_token):
Don't wrap round.
(cp_lexer_token_difference): Dont handle wrapping round.
(cp_lexer_new_main): Enable pragma deferral and raw strings,
read the entire translation unit through c_lex_with_flags into
this lexer's buffer, then turn raw strings back off again.
(cp_lexer_grow_buffer): Adjust for buffer no longer being circular.
(cp_lexer_get_preprocessor_token): No need to handle not being
the main lexer. Set token->in_system_header too.
(cp_lexer_peek_token): Skip purged tokens. Feed pragma tokens
to cp_lexer_handle_pragma. No need to call cp_lexer_read_token.
(cp_lexer_peek_nth_token): Likewise.
(cp_lexer_purge_token): Mark the token PURGED, don't shift all
the other tokens down.
(cp_lexer_purge_tokens_after): Likewise.
(cp_lexer_save_tokens, cp_lexer_rollback_tokens): Don't worry
about there being no tokens.
(cp_lexer_print_token): Revise to give useful information on
all tokens.
(struct cp_parser): Add field translate_strings_p.
(cp_parser_new): Initialize it.
(cp_parser_translation_unit): Destroy the lexer when done.
(cp_parser_parameter_declaration): Restructure saving of
default arguments.
(cp_parser_save_member_function_body): Likewise.
(cp_parser_check_for_invalid_template_id)
(cp_parser_nested_name_specifier_opt, cp_parser_template_id):
Adjust calls to cp_lexer_advance_token.
(cp_parser_skip_to_closing_parenthesis, cp_parser_declaration):
No need to fiddle c_lex_string_translate.
(cp_parser_primary_expression, cp_parser_linkage_specification)
(cp_parser_asm_definition, cp_parser_asm_specification_opt)
(cp_parser_asm_operand_list, cp_parser_asm_clobber_list)
Use cp_parser_string_literal.
(cp_parser_attribute_list): Save and restore
parser->translate_strings_p, not c_lex_string_translate.
(cp_parser_cache_group): Delete.
(cp_parser_cache_group_1): Rename cp_parser_cache_group. Do
not take a cache argument.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87786
138bc75d-0d04-0410-961f-
82ee72b054a4
dberlin [Tue, 21 Sep 2004 01:00:11 +0000 (01:00 +0000)]
2004-09-20 Daniel Berlin <dberlin@dberlin.org>
* Makefile.in: Fix flags.h dependencies to be $(FLAGS_H).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87785
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Tue, 21 Sep 2004 00:16:13 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87783
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Tue, 21 Sep 2004 00:08:53 +0000 (00:08 +0000)]
PR middle-end/17126
* tree-optimize.c (update_inlined_to_pointers): Fix the recursion.
(tree_rest_of_compilation): Cleanup.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87780
138bc75d-0d04-0410-961f-
82ee72b054a4
uweigand [Mon, 20 Sep 2004 23:42:00 +0000 (23:42 +0000)]
* config/s390/s390.c (s390_select_rtx_section): Remove.
(TARGET_ASM_SELECT_RTX_SECTION): Do not redefine.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87779
138bc75d-0d04-0410-961f-
82ee72b054a4
kkojima [Mon, 20 Sep 2004 23:10:00 +0000 (23:10 +0000)]
* config/sh/sh.c (sh_expand_prologue): Add a REG_FRAME_RELATED_EXPR
note to pretend a direct save from the original register when an
intermediate register is used for the save.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87778
138bc75d-0d04-0410-961f-
82ee72b054a4
giovannibajo [Mon, 20 Sep 2004 23:05:40 +0000 (23:05 +0000)]
PR c++/14179
* decl.c (reshape_init): Extract array handling into...
(reshape_init_array): New function. Use integers instead of trees
for indices. Handle out-of-range designated initializers.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87777
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Mon, 20 Sep 2004 22:23:12 +0000 (22:23 +0000)]
* tsystem.h (alloca): Provide a default definition.
Revert:
2001-08-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* unwind-dw2.c: Call __builtin_alloca, not alloca.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87775
138bc75d-0d04-0410-961f-
82ee72b054a4
steven [Mon, 20 Sep 2004 21:03:56 +0000 (21:03 +0000)]
* lex.c (cxx_init): Don't set the ridpointer for RID_NULL
to null_node.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87774
138bc75d-0d04-0410-961f-
82ee72b054a4
pinskia [Mon, 20 Sep 2004 20:58:23 +0000 (20:58 +0000)]
2004-09-20 Andrew Pinski <pinskia@physics.uc.edu>
PR tree-opt/17558
* gcc.c-torture/compile/pr17558.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87773
138bc75d-0d04-0410-961f-
82ee72b054a4
pinskia [Mon, 20 Sep 2004 20:53:08 +0000 (20:53 +0000)]
2004-09-20 Andrew Pinski <pinskia@physics.uc.edu>
PR tree-opt/17558
* tree-ssa-copy.c (may_propagate_copy): Only allow if the
aliasing sets are the same rather than just conflicting.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87772
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Mon, 20 Sep 2004 20:41:20 +0000 (20:41 +0000)]
* cgraph.c (cgraph_unnest_node): New function.
(c_finalize): Rename to ....
(c_warn_unused_result_recursivly): ... this one; do only the warning
(finish_function): Finalize the toplevel function; do not lower nested tree.
* cgraph.h (cgraph_unnest_node): Declare.
* cgraphunit.c (decide_is_function_needed): Do not use cgraph
nestedness datastructure.
* cse.c (cse_insn): Do not cprop nonlocal LABEL_REFs.
* reload1.c (set_label_offsets): Fix call of set_label_offsets.
* tree-nested.c (finlize_nesting_tree_1): Use un-nesting code.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87771
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Mon, 20 Sep 2004 20:38:29 +0000 (20:38 +0000)]
PR middle-end/16460
* cgraph.c (cgraph_unnest_node): New function.
(c_finalize): Rename to ....
(c_warn_unused_result_recursivly): ... this one; do only the warning
(finish_function): Finalize the toplevel function; do not lower nested tree.
* cgraph.h (cgraph_unnest_node): Declare.
* cgraphunit.c (decide_is_function_needed): Do not use cgraph
nestedness datastructure.
* cse.c (cse_insn): Do not cprop nonlocal LABEL_REFs.
* reload1.c (set_label_offsets): Fix call of set_label_offsets.
* tree-nested.c (finlize_nesting_tree_1): Use un-nesting code.
* utils.c (gnat_finalize): Remove.
(end_subprog_body): Directly call cgraph_finalize_function;
do not lower the nested functions.
* trans-decl.c (build_entry_thunks): Finalize the function; do not lower
tree.
(gfc_generate_function_code): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87770
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Mon, 20 Sep 2004 20:13:39 +0000 (20:13 +0000)]
* config/alpha/alpha.c (some_small_symbolic_operand_int): Rename
from some_small_symbolic_operand_1; export.
(some_small_symbolic_operand): Remove.
* config/alpha/alpha.md (some_small_symbolic_operand splitter): Remove
extra C check.
* config/alpha/predicates.md (some_small_symbolic_operand): New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87769
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Mon, 20 Sep 2004 18:43:30 +0000 (18:43 +0000)]
* predict.c (return_prediction): New function.
(apply_return_prediction): Likewise.
(tree_bb_level_predictions): Likewise.
(tree_estimate_probability): Add noreturn exit edges; call
bb_level_predictions; fix logic of return heuristics.
(predict_paths_leading_to): Rescuesce from old CVS version of
process_note_prediction function.
* predict.def (PRED_TREE_EARLY_RETURN): New predictor.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87768
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Mon, 20 Sep 2004 18:02:53 +0000 (18:02 +0000)]
* gcc.dg/compat/sdata-section.h (SDATA_SECTION): Don't use an attribute
if SKIP_ATTRIBUTE is defined.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87766
138bc75d-0d04-0410-961f-
82ee72b054a4
uweigand [Mon, 20 Sep 2004 17:25:39 +0000 (17:25 +0000)]
2004-09-20 Andreas Krebbel <krebbel1@de.ibm.com>
* config/s390/s390.c (s390_frame_info): Added alignment statement for
floating point register area on stack.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87765
138bc75d-0d04-0410-961f-
82ee72b054a4
tobi [Mon, 20 Sep 2004 17:22:50 +0000 (17:22 +0000)]
fortran/
PR fortran/15957
* simplify.c (gfc_simplify_reshape): Set shape of return value
correctly.
testsuite/
PR fortran/15957
* gfortran.dg/pr15957.f90: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87764
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Mon, 20 Sep 2004 16:56:12 +0000 (16:56 +0000)]
* predict.c (expr_expected_value): Use *_CLASS_P macros.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87763
138bc75d-0d04-0410-961f-
82ee72b054a4
dorit [Mon, 20 Sep 2004 16:26:24 +0000 (16:26 +0000)]
* gcc.dg/vect/vect-74.c: Avoid floating point precision error
in comparison.
* gcc.dg/vect/vect-79.c: Likewise.
* gcc.dg/vect/vect-80.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87762
138bc75d-0d04-0410-961f-
82ee72b054a4
dberlin [Mon, 20 Sep 2004 15:45:21 +0000 (15:45 +0000)]
2004-09-20 Daniel Berlin <dberlin@dberlin.org>
* tree-ssa-pre.c (compute_antic_aux): Use malloc'd worklist, to avoid
generating useless garbage.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87760
138bc75d-0d04-0410-961f-
82ee72b054a4
bonzini [Mon, 20 Sep 2004 14:47:20 +0000 (14:47 +0000)]
2004-09-20 Paolo Bonzini <bonzini@gnu.org>
* builtins.c (fold_builtin): Call the new omonymous
target hook for machine-dependent built-ins.
* target-def.h (TARGET_FOLD_BUILTIN): New.
* target.h (struct gcc_target): Add the fold_builtin hook.
* targhooks.c (default_fold_builtin): New.
* targhooks.h (default_fold_builtin): Declare it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87756
138bc75d-0d04-0410-961f-
82ee72b054a4
charlet [Mon, 20 Sep 2004 12:07:47 +0000 (12:07 +0000)]
2004-09-20 Robert Dewar <dewar@gnat.com>
PR ada/17540
* freeze.adb (Check_Address_Clause): Reset Is_Imported and Is_Public
if an address clause is present, since that means that the Import
should be ignored.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87755
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Mon, 20 Sep 2004 11:17:22 +0000 (11:17 +0000)]
* cfg.c, tree-ssa-threadupdate.c, tree-vectorizer.c: Fix
comment typos.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87753
138bc75d-0d04-0410-961f-
82ee72b054a4
tobi [Mon, 20 Sep 2004 11:09:47 +0000 (11:09 +0000)]
PR fortran/15750
* gfortran.fortran-torture/execute/iolength_2.f90: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87752
138bc75d-0d04-0410-961f-
82ee72b054a4
charlet [Mon, 20 Sep 2004 08:43:00 +0000 (08:43 +0000)]
* 5tsystem.ads: Removed, no longer used.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87751
138bc75d-0d04-0410-961f-
82ee72b054a4
dorit [Mon, 20 Sep 2004 07:17:06 +0000 (07:17 +0000)]
2004-09-20 Ira Rosen <irar@il.ibm.com>
* gcc.dg/vect/vect-13.c: Added xfail for non ppc platforms.
* gcc.dg/vect/vect-74.c: Split into 3 tests (vect-79.c, vect-80.c).
* gcc.dg/vect/vect-62.c: New testcase.
* gcc.dg/vect/vect-63.c: New testcase.
* gcc.dg/vect/vect-64.c: New testcase.
* gcc.dg/vect/vect-65.c: New testcase.
* gcc.dg/vect/vect-66.c: New testcase.
* gcc.dg/vect/vect-67.c: New testcase.
* gcc.dg/vect/vect-68.c: New testcase.
* gcc.dg/vect/vect-69.c: New testcase.
* gcc.dg/vect/vect-79.c: New testcase.
* gcc.dg/vect/vect-80.c: New testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87745
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Mon, 20 Sep 2004 06:54:52 +0000 (06:54 +0000)]
PR target/17565
* config/mips/mips.md (define_asm_attributes): Set can_delay to no.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87744
138bc75d-0d04-0410-961f-
82ee72b054a4
sayle [Mon, 20 Sep 2004 00:58:42 +0000 (00:58 +0000)]
* config/mh-x86omitfp: New host makefile fragment. Add
-fomit-frame-pointer to the default BOOT_CFLAGS.
* configure.in: Use it to speed up bootstrap on some IA-32 hosts.
* configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87741
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Mon, 20 Sep 2004 00:16:14 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87739
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Mon, 20 Sep 2004 00:05:38 +0000 (00:05 +0000)]
* predict.c (estimate_probability): Remove unnecesary code.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87736
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Sun, 19 Sep 2004 23:18:19 +0000 (23:18 +0000)]
* decl2.c (determine_visibility): Allow class visibility
directives to override targetm.cxx.export_class_data.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87735
138bc75d-0d04-0410-961f-
82ee72b054a4
dorit [Sun, 19 Sep 2004 18:01:51 +0000 (18:01 +0000)]
2004-09-19 Ira Rosen <irar@il.ibm.com>
* tree-vectorizer.h (stmt_vec_info): Add vect_dr_base field.
(STMT_VINFO_VECT_DR_BASE): Declare.
(VECT_SMODULO): Declare.
* tree-vectorizer.c (vect_compute_array_ref_alignment): New function.
(vect_compute_array_base_alignment): New function.
(vect_analyze_data_ref_access): Check array indices. Remove one
dimensional arrays restriction.
(vect_get_ptr_offset): New function.
(vect_get_symbl_and_dr): New function.
(vect_get_base_and_bit_offset): Support additional data refs. Renamed
(former name vect_get_base_decl_and_bit_offset).
(vect_create_index_for_array_ref): Removed.
(vect_create_index_for_vector_ref): New function.
(vect_create_addr_base_for_vector_ref): New function.
(vect_create_data_ref): Handle additional data refs. Call
vect_create_index_for_vector_ref and vect_create_addr_base_for_vector_ref.
(vect_compute_data_ref_alignment): Support the changes. Call
vect_get_base_and_bit_offset.
(vect_analyze_data_refs): Call vect_get_symbl_and_dr. Support additional
data refs. Store vect_dr_base.
(vect_analyze_data_ref_accesses): Support nonconstant init.
(new_stmt_vec_info): Initialize vect_dr_base field.
(vect_is_simple_iv_evolution): Call initial_condition_in_loop_num.
(get_vectype_for_scalar_type): Check for BLKmode.
* tree-chrec.h (initial_condition_in_loop_num): Declare.
* tree-chrec.c (initial_condition_in_loop_num): New function.
(chrec_component_in_loop_num): New function.
(evolution_part_in_loop_num): Call chrec_component_in_loop_num.
* tree-data-ref.c (analyze_array_indexes): Change parameter (access_fns)
to be pointer to varray_type.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87731
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Sun, 19 Sep 2004 16:04:03 +0000 (16:04 +0000)]
* basic-block.h (update_bb_profile_after_threading): Declare.
* cfg.c (update_bb_profile_after_threading): Break out from ...
* cfgcleanup.c (try_forward_edges): ... here; use it.
* tree-ssa-dom.c (thread_across_edge): Use it.
* tree-ssa-threadupdate.c (create_block_for_threading): Zero out
profile of the new BB.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87730
138bc75d-0d04-0410-961f-
82ee72b054a4
dberlin [Sun, 19 Sep 2004 13:57:35 +0000 (13:57 +0000)]
2004-09-19 Daniel Berlin <dberlin@dberlin.org>
* tree-ssa-pre.c (insert_into_set): Don't put
is_gimple_min_invariant values into the set.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87725
138bc75d-0d04-0410-961f-
82ee72b054a4
aj [Sun, 19 Sep 2004 06:09:41 +0000 (06:09 +0000)]
* tree-ssa-dom.c (restore_nonzero_vars_to_original_value): Fix
prototype.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87721
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Sun, 19 Sep 2004 04:02:34 +0000 (04:02 +0000)]
* config/cris/cris.h: Preserve the original spelling in a
quote.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87720
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sun, 19 Sep 2004 02:51:15 +0000 (02:51 +0000)]
* tree-ssa-dom.c (nonzero_vars_stack, vrp_variables_stack): New
global varrays to replace the block local varrays.
(struct dom_walk_block_data): Remove, no longer used.
(get_eq_expr_value): No longer need to pass around pointers to local
varrays. Callers updated. Unused markers added to unused parameters.
(record_range, record_equivalences_from_stmt): Likewise.
(record_equivalences_from_incoming_edge): Likewise.
(record_var_is_nonzero): Likewise. Update now that we have a
single global varray of SSA_NAMEs that need restoring.
(dom_opt_initialize_block_local_data): Kill, no longer used.
(tree_ssa_dominator_optimize): Initialize new global varrays.
Update callbacks in dominator walker structure.
(dom_opt_initialize_block): Add markers to NONZERO_VAR_STACK and
VRP_VARIABLES_STACK.
(restore_nonzero_vars_to_original_value): Update now that we have
a single global varray of SSA_NAMEs that need restoring.
(dom_opt_finalize_block): Similarly for VRP_VARIABLES_STACK.
Remove unused variables.
(optimize_stmt): Remove unused variable.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87719
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sun, 19 Sep 2004 00:16:13 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87717
138bc75d-0d04-0410-961f-
82ee72b054a4
pbrook [Sat, 18 Sep 2004 23:55:22 +0000 (23:55 +0000)]
2004-09-15 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
* config.h.in: Regenerate.
* configure: Regenerate.
* configure.ac (AC_CHECK_HEADERS): Check for sys/mman.h.
* unix.c: Include stdio.h.
(HAVE_SYS_MMAN_H): Check.
(PROT_READ, PROT_WRITE): Provide default definitions.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87714
138bc75d-0d04-0410-961f-
82ee72b054a4
pbrook [Sat, 18 Sep 2004 22:58:12 +0000 (22:58 +0000)]
* g++.old-deja/g++.pt/static11.C: XFAIL on arm*-*-eabi.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87712
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Sat, 18 Sep 2004 21:54:53 +0000 (21:54 +0000)]
* tree-cfg.c (thread_jumps): Fix updating of the profile.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87709
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Sat, 18 Sep 2004 21:53:00 +0000 (21:53 +0000)]
* tree-optimize.c (tree_rest_of_compilation): Kill forgotten
verify_cgraph call.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87708
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Sat, 18 Sep 2004 19:47:10 +0000 (19:47 +0000)]
* alias.c, crtstuff.c, dbxout.c, domwalk.c, domwalk.h, gcc.c,
gcse.c, global.c, lambda-code.c, loop.c, mips-tdump.c,
optabs.h, predict.c, reg-stack.c, regclass.c, sched-rgn.c,
tree-optimize.c, tree-ssa-dom.c, tree-ssa-forwprop.c,
tree-ssa-operands.c, tree-ssa-phiopt.c,
tree-ssa-threadupdate.c: Fix comment typos.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87707
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Sat, 18 Sep 2004 19:19:40 +0000 (19:19 +0000)]
* config/darwin-c.c, config/arc/arc.c, config/arc/arc.md,
config/arm/README-interworking, config/arm/arm-cores.def,
config/arm/arm.c, config/arm/arm.h, config/arm/pe.c,
config/arm/vfp.md, config/c4x/c4x.c, config/c4x/c4x.h,
config/cris/cris.c, config/cris/cris.h, config/fr30/fr30.c,
config/fr30/fr30.h, config/fr30/fr30.md, config/frv/frv.c,
config/frv/frv.md, config/i386/winnt.c,
config/ia64/unwind-ia64.c, config/iq2000/iq2000.c,
config/iq2000/iq2000.h, config/m68hc11/m68hc11.c,
config/m68hc11/m68hc11.md, config/m68k/m68k.c,
config/mcore/mcore.c, config/mips/mips.h,
config/mn10300/mn10300.md, config/pa/pa.c,
config/pa/pa64-regs.h, config/pdp11/pdp11.c,
config/rs6000/rs6000.c, config/sh/symbian.c,
config/sparc/sparc.h: Fix comment typos. Follow spelling
conventions.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87706
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Sat, 18 Sep 2004 18:28:14 +0000 (18:28 +0000)]
PR c/17424
* c-typeck.c (c_expr_sizeof_expr): Check for error_mark_node.
testsuite:
* gcc.dg/pr17424-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87705
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Sat, 18 Sep 2004 17:23:59 +0000 (17:23 +0000)]
* call.c, semantics.c: Follow spelling conventions.
* class.c: Fix a comment typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87704
138bc75d-0d04-0410-961f-
82ee72b054a4
dnovillo [Sat, 18 Sep 2004 13:56:23 +0000 (13:56 +0000)]
* tree-ssa-alias.c (setup_pointers_and_addressables): Don't
remove TREE_ADDRESSABLE from RESULT_DECL.
testsuite/ChangeLog
* g++.dg/tree-ssa/pr17153.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87703
138bc75d-0d04-0410-961f-
82ee72b054a4
dnovillo [Sat, 18 Sep 2004 13:53:31 +0000 (13:53 +0000)]
* tree-ssa-alias.c (dump_alias_info): Ignore NULL SSA_NAMEs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87702
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Sat, 18 Sep 2004 07:31:30 +0000 (07:31 +0000)]
* tree-into-ssa.c (rewrite_ssa_into_ssa): Expect ssa_name to return
NULL.
* tree-ssa-alias.c (init_alias_info): Likewise.
* tree-ssa.c (verify_flow_sensitive_alias_info): Likewise.
(verify_ssa): Likewise.
* tree-ssanames.c (make_ssa_name): Clear out ssa_names arrays.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87698
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Sat, 18 Sep 2004 07:29:06 +0000 (07:29 +0000)]
* i386.c (legitimize_pic_address): Fix splitting of PLUS with
huge offset.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87697
138bc75d-0d04-0410-961f-
82ee72b054a4
kkojima [Sat, 18 Sep 2004 06:43:09 +0000 (06:43 +0000)]
* config/sh/linux.h (ASM_PREFERRED_EH_DATA_FORMAT): Remove.
* config/sh/sh.h (ASM_PREFERRED_EH_DATA_FORMAT): Use
DW_EH_PE_sdata* for data.
(ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87696
138bc75d-0d04-0410-961f-
82ee72b054a4
geoffk [Sat, 18 Sep 2004 05:50:52 +0000 (05:50 +0000)]
* tree-inline.c (copy_tree_r): Don't duplicate constants, they're
shared anyway.
PR pch/13361
* c-typeck.c (constructor_asmspec): Delete.
(struct initializer_stack): Delete field 'asmspec'.
(start_init): Delete saving of asmspec.
(finish_init): Don't update constructor_asmspec.
* dwarf2out.c (rtl_for_decl_location): Duplicate string from tree.
* stmt.c (expand_asm): Duplicate strings from tree.
(expand_asm_operands): Likewise.
* tree.c (tree_size): Update computation of size of STRING_CST.
(make_node): Don't make STRING_CST nodes.
(build_string): Allocate string with tree node.
(tree_code_size): Clean up assertions, don't allow requests
for "the size of a STRING_CST".
* tree.def (STRING_CST): Update comment.
* tree.h (TREE_STRING_POINTER): Adjust for change to STRING_CST.
(tree_string): Place contents of string in tree node.
* config/sh/sh.c (sh_handle_sp_switch_attribute): Duplicate string
from tree.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87695
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Sat, 18 Sep 2004 01:07:25 +0000 (01:07 +0000)]
* Makefile.in (c-parse.o): Depend on $(C_PRAGMA_H).
* objc/Make-lang.in (objc/objc-parse.o): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87689
138bc75d-0d04-0410-961f-
82ee72b054a4