Kelley Cook [Tue, 16 Nov 2004 00:57:01 +0000 (00:57 +0000)]
config.guess, config.sub: Import from savannnah.
2004-11-15 Kelley Cook <kcook@gcc.gnu.org>
* config.guess, config.sub: Import from savannnah.
From-SVN: r90709
GCC Administrator [Tue, 16 Nov 2004 00:16:23 +0000 (00:16 +0000)]
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r90707.2
GCC Administrator [Tue, 16 Nov 2004 00:16:19 +0000 (00:16 +0000)]
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r90706.2
Kazu Hirata [Tue, 16 Nov 2004 00:08:04 +0000 (00:08 +0000)]
tree-cfg.c (bsi_commit_edge_inserts): Remove an argument.
* tree-cfg.c (bsi_commit_edge_inserts): Remove an argument.
(tree_flow_call_edges_add): Update the call to
bsi_commit_edge_inserts.
* lambda-code.c (lambda_loopnest_to_gcc_loopnest): Likewise.
* profile.c (branch_prob): Likewise.
* tree-mudflap.c (mf_decl_cache_locals): Likewise.
* tree-sra.c (scalarize_function): Likewise.
* tree-ssa-loop-im.c (loop_commit_inserts): Likewise.
* tree-ssa-pre.c (fini_pre): Likewise.
* tree-flow.h: Update the prototype for
bsi_commit_edge_inserts.
From-SVN: r90704
Kazu Hirata [Tue, 16 Nov 2004 00:05:30 +0000 (00:05 +0000)]
tree-cfg.c (verify_expr): Replace TREE_OPERAND with COND_EXPR_COND.
* tree-cfg.c (verify_expr): Replace TREE_OPERAND with
COND_EXPR_COND.
* tree-if-conv.c (tree_if_convert_cond_expr): Likewise.
* tree-ssa-dom.c (thread_across_edge): Likewise.
* tree-vectorizer.c (vect_transform_loop_bound): Replace
TREE_OPERAND with COND_EXPR_COND, COND_EXPR_THEN, or
COND_EXPR_ELSE.
From-SVN: r90703
Kelley Cook [Mon, 15 Nov 2004 23:50:05 +0000 (23:50 +0000)]
Makefile.am: Remove -no-dependencies.
2004-11-15 Kelley Cook <kcook@gcc.gnu.org>
* Makefile.am: Remove -no-dependencies.
* Makefile.in: Regenerate.
From-SVN: r90702
Paolo Carlini [Mon, 15 Nov 2004 23:33:05 +0000 (23:33 +0000)]
streambuf.tcc (__copy_streambufs): Provide a generic version of the function...
2004-11-15 Paolo Carlini <pcarlini@suse.de>
* include/bits/streambuf.tcc (__copy_streambufs): Provide
a generic version of the function, not using the protected
members of basic_streambuf.
* include/std/std_streambuf.h (__copy_streambufs): Declare
optimized specializations for char and wchar_t.
* src/streambuf.cc: New file, define the latter.
* src/Makefile.am: Add.
* src/Makefile.in: Regenerate.
From-SVN: r90701
Andrew Pinski [Mon, 15 Nov 2004 22:46:25 +0000 (22:46 +0000)]
cp-gimplify.c: Include pointer-set.h
2004-11-15 Andrew Pinski <pinskia@physics.uc.edu>
* cp-gimplify.c: Include pointer-set.h
(cp_genericize_r): Use pointer_sets instead of a hashtable.
Also instert the new statement for CLEANUP_STMT.
(cp_genericize): Use pointer_sets instead of a hashtable.
* Make-lang.in (cp-gimplify.o): Depend on pointer-set.h.
From-SVN: r90699
Eric Christopher [Mon, 15 Nov 2004 22:23:29 +0000 (22:23 +0000)]
sched-deps.c (set_sched_group_p): Delete.
2004-11-15 Eric Christopher <echristo@redhat.com>
* sched-deps.c (set_sched_group_p): Delete.
(delete_all_dependencies): New function.
(fixup_sched_groups): Use. New function.
(sched_analyze_insn): Use.
From-SVN: r90698
Joseph Myers [Mon, 15 Nov 2004 22:13:21 +0000 (22:13 +0000)]
c-common.c (binary_op_error): Don't allow LROTATE_EXPR, RROTATE_EXPR or unknown code.
* c-common.c (binary_op_error): Don't allow LROTATE_EXPR,
RROTATE_EXPR or unknown code.
* c-typeck.c (build_binary_op): Don't allow RROTATE_EXPR,
LROTATE_EXPR, MAX_EXPR, MIN_EXPR, UNORDERED_EXPR, ORDERED_EXPR,
UNLT_EXPR, UNLE_EXPR, UNGT_EXPR, UNGE_EXPR, UNEQ_EXPR, LTGT_EXPR
or unknown code.
From-SVN: r90697
Joseph Myers [Mon, 15 Nov 2004 22:10:16 +0000 (22:10 +0000)]
re PR c/18498 (gcc allows non-integral bitfield types)
PR c/18498
* c-decl.c (grokdeclarator): Call check_bitfield_type_and_width
after processing the declarator.
testsuite:
* gcc.dg/bitfld-13.c: New test.
From-SVN: r90696
Janis Johnson [Mon, 15 Nov 2004 22:04:38 +0000 (22:04 +0000)]
tree-vect.h: (check_vect): Test symbols defined for powerpc*-*-linux*.
* gcc.dg/vect/tree-vect.h: (check_vect): Test symbols defined for
powerpc*-*-linux*.
From-SVN: r90695
Matthias Klose [Mon, 15 Nov 2004 21:59:18 +0000 (21:59 +0000)]
run_doxygen: Add --build_alias option, substitute it in docs/doxygen/user.cfg.in.
2004-11-13 Matthias Klose <doko@debian.org>
* docs/doxygen/run_doxygen: Add --build_alias option,
substitute it in docs/doxygen/user.cfg.in.
* docs/doxygen/user.cfg.in: Use build_alias.
* Makefile.am: Pass --build_alias to run_doxygen
* Makefile.in: Regenerate.
From-SVN: r90694
Tom Tromey [Mon, 15 Nov 2004 21:31:47 +0000 (21:31 +0000)]
decl.c (instn_ptr_type_node): Removed.
* decl.c (instn_ptr_type_node): Removed.
(lineNumbers_ptr_type_node): Removed.
(jint_type): Removed.
(jint_ptr_type): Removed.
From-SVN: r90693
Aldy Hernandez [Mon, 15 Nov 2004 20:20:09 +0000 (20:20 +0000)]
altivec.md ("altivec_vsplth"): Rewrite with vec_duplicate.
* config/rs6000/altivec.md ("altivec_vsplth"): Rewrite with
vec_duplicate.
(altivec_vspltb): Same.
(altivec_vspltw): Same.
(altivec_vspltisb): Same.
(altivec_vspltish): Same.
(altivec_vspltisw): Same.
(altivec_vspltisw_v4sf): Same.
(define_constants): Remove UNSPEC_VSPLTISB, UNSPEC_VSPLTISW,
UNSPEC_VSPLTISH.
Move "End of vector xor's" comment to the right place.
From-SVN: r90683
Andreas Tobler [Mon, 15 Nov 2004 20:02:08 +0000 (21:02 +0100)]
004-11-15 Andreas Tobler <a.tobler@schweiz.ch>
Import/Merge the X.509 certificate code from Classpath.
* Makefile.am: Add imported files.
* Makefile.in: Regenerate.
2004-11-07 Casey Marshall <csm@gnu.org>
* gnu/java/security/provider/Gnu.java(<init>): Add entries in a
priviliged action. Add new algorithms.
* gnu/java/security/provider/X509CertificateFactory.java
(engineGenerateCertificate): Chain exceptions.
(engineGenerateCertificates): Likewise.
(engineGenerateCRL): Likewise.
(engineGenerateCRLs): Likewise.
(engineGenerateCertPath): New methods.
(generateCert): Throw exception if 'inStream' is null.
(generateCRL): Likewise.
* gnu/java/security/x509/X500DistinguishedName.java: Replaced with
version from GNU Crypto CVS.
* gnu/java/security/x509/X509CRL.java: Likewise.
* gnu/java/security/x509/X509CRLEntry.java: Likewise.
* gnu/java/security/x509/X509Certificate.java: Likewise.
* java/security/cert/TrustAnchor.java: Call 'toString' and not
toRFC2253.
* gnu/java/security/provider/CollectionCertStoreImpl.java,
* gnu/java/security/provider/EncodedKeyFactory.java,
* gnu/java/security/provider/GnuDHPublicKey.java,
* gnu/java/security/provider/GnuRSAPrivateKey.java,
* gnu/java/security/provider/GnuRSAPublicKey.java,
* gnu/java/security/provider/MD2withRSA.java,
* gnu/java/security/provider/MD4withRSA.java,
* gnu/java/security/provider/MD5withRSA.java,
* gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
* gnu/java/security/provider/RSA.java,
* gnu/java/security/provider/RSAKeyFactory.java,
* gnu/java/security/provider/SHA1withRSA.java,
* gnu/java/security/x509/GnuPKIExtension.java,
* gnu/java/security/x509/PolicyNodeImpl.java,
* gnu/java/security/x509/Util.java,
* gnu/java/security/x509/X509CRLSelectorImpl.java,
* gnu/java/security/x509/X509CertPath.java,
* gnu/java/security/x509/X509CertSelectorImpl.java,
* gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
* gnu/java/security/x509/ext/BasicConstraints.java,
* gnu/java/security/x509/ext/CRLNumber.java,
* gnu/java/security/x509/ext/CertificatePolicies.java,
* gnu/java/security/x509/ext/ExtendedKeyUsage.java,
* gnu/java/security/x509/ext/Extension.java,
* gnu/java/security/x509/ext/GeneralNames.java,
* gnu/java/security/x509/ext/IssuerAlternativeNames.java,
* gnu/java/security/x509/ext/KeyUsage.java,
* gnu/java/security/x509/ext/PolicyConstraint.java,
* gnu/java/security/x509/ext/PolicyMappings.java,
* gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java,
* gnu/java/security/x509/ext/ReasonCode.java,
* gnu/java/security/x509/ext/SubjectAlternativeNames.java,
* gnu/java/security/x509/ext/SubjectKeyIdentifier.java: New files.
2004-11-07 Casey Marshall <csm@gnu.org>
* gnu/java/security/x509/X509CRL.java:
Missed import statements in previous checkin.
2004-11-07 Casey Marshall <csm@gnu.org>
* gnu/java/security/x509/X509CertPath.java (parse): Fixed reference
to 'X509CertificateImpl' from previous checkin.
From-SVN: r90682
Benjamin Kosnik [Mon, 15 Nov 2004 19:11:59 +0000 (19:11 +0000)]
testsuite_abi.cc (check_version): Add GLIBCXX_3.4.4.
2004-11-15 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/testsuite_abi.cc (check_version): Add GLIBCXX_3.4.4.
From-SVN: r90681
Janis Johnson [Mon, 15 Nov 2004 19:04:45 +0000 (19:04 +0000)]
ppc64-abi-1.c: Skip if not lp64.
* gcc.dg/ppc64-abi-1.c: Skip if not lp64.
* gcc.dg/ppc64-abi-2.c: Ditto.
* gcc.dg/ppc64-abi-3.c: Ditto.
From-SVN: r90680
Janis Johnson [Mon, 15 Nov 2004 19:03:02 +0000 (19:03 +0000)]
* lib/gcc-dg.exp (dg-target-list): Remove.
From-SVN: r90679
Steve Ellcey [Mon, 15 Nov 2004 16:33:04 +0000 (16:33 +0000)]
* gcc.dg/ia64-postinc.c: New test.
From-SVN: r90677
Paul Brook [Mon, 15 Nov 2004 16:32:20 +0000 (16:32 +0000)]
* trans-types.c (gfc_get_dtype): Remove obsolete TODO.
From-SVN: r90676
Steve Ellcey [Mon, 15 Nov 2004 16:29:54 +0000 (16:29 +0000)]
ia64.md (*movtf_internal): Use destination_operand instead of nonimmediate_operand.
* config/ia64/ia64.md (*movtf_internal): Use destination_operand
instead of nonimmediate_operand.
From-SVN: r90675
Mark Mitchell [Mon, 15 Nov 2004 16:11:19 +0000 (16:11 +0000)]
sol2.h (ASM_OUTPUT_CALL): Use print_operand.
2004-11-15 Mark Mitchell <mark@codesourcery.com>
* config/i386/sol2.h (ASM_OUTPUT_CALL): Use print_operand.
* config/sparc/sol2.h (ASM_OUTPUT_CALL): Likewise.
* config/sol2.c (solaris_output_init_fini): Update calls to
ASM_OUTPUT_CALL. Include "rtl.h".
From-SVN: r90674
Mark Mitchell [Mon, 15 Nov 2004 16:08:15 +0000 (16:08 +0000)]
sol2-c.c (cmn_err_char_table): Add "p".
2004-11-15 Mark Mitchell <mark@codesourcery.com>
* config/sol2-c.c (cmn_err_char_table): Add "p".
testsuite:
2004-11-15 Mark Mitchell <mark@codesourcery.com>
* gcc.dg/format/cmn-err-1.c: Add tests for "%p".
From-SVN: r90673
Mark Mitchell [Mon, 15 Nov 2004 15:58:13 +0000 (15:58 +0000)]
sol2.h (SUPPORTS_INIT_PRIORITY): Remove.
2004-11-15 Mark Mitchell <mark@codesourcery.com>
* config/sparc/sol2.h (SUPPORTS_INIT_PRIORITY): Remove.
* config/sol2.h (SUPPORTS_INIT_PRIORITY): Define here.
From-SVN: r90670
Mark Mitchell [Mon, 15 Nov 2004 15:55:45 +0000 (15:55 +0000)]
t-slibgcc-sld (SHLIB_LINK): Make symlinks entirely within the multilib directory.
2004-11-15 Mark Mitchell <mark@codesourcery.com>
* config/t-slibgcc-sld (SHLIB_LINK): Make symlinks entirely
within the multilib directory.
From-SVN: r90669
Nick Clifton [Mon, 15 Nov 2004 13:33:38 +0000 (13:33 +0000)]
g++.dg/opt/strength-reduce.C...
g++.dg/opt/strength-reduce.C: Replace 0x7fffffff with __INT_MAX__ so that
the test can be compiled by toolchains targeted at 16-bit processors.
* gcc.dg/
20040625-1.c: Use long constants rather than integers when
performing arithmetic that will overflow 16-bits.
* gcc.dg/i386-sse-8.c: Expect this test to fail for the xstormy16.
It does not support 128-bit vector operations.
* gcc.dg/ultrasp4.c: Replace all occurrences of the type 'long' with the
macro PTR_TYPE. Define this macro to an integer type suitable for
holding a pointer.
* gcc.dg/compat/struct-align-1_x.c: Use shorter integers if the target
is a 16-bit processor.
* gcc.dg/cpp/if-2.c: Expect a different warning message from 16-bit
targets where the character constant will be too long.
* g++.dg/opt/asm1.C: Expect this test to fail on the xstormy16 where
the double will not be directly addressable.
From-SVN: r90667
Nick Clifton [Mon, 15 Nov 2004 13:19:50 +0000 (13:19 +0000)]
(TARGET_CPU_CPP_BUILTINS): Add builtin assert of cpu=xstormy16.
From-SVN: r90666
Nathan Sidwell [Mon, 15 Nov 2004 12:15:47 +0000 (12:15 +0000)]
tree-ssa-pre.c (bitmap_print_value_set): Fix uninitialized variable.
* tree-ssa-pre.c (bitmap_print_value_set): Fix uninitialized
variable.
From-SVN: r90658
Kriang Lerdsuwanakij [Mon, 15 Nov 2004 10:34:06 +0000 (10:34 +0000)]
Friend class name lookup 1/n, PR c++/18471
Friend class name lookup 1/n, PR c++/18471
* decl.c (lookup_and_check_tag): New function.
(xref_tag, start_enum): Use it.
(check_elaborated_type_specifier): Move TEMPLATE_TYPE_PARM check
before !DECL_IMPLICIT_TYPEDEF_P. Also display previously declared
location.
* name-lookup.c (lookup_name_current_level): Rename to ...
(lookup_name_innermost_nonclass_level): ... this.
(lookup_type_scope): New function.
* name-lookup.h (lookup_name_current_level): Rename to ...
(lookup_name_innermost_nonclass_level): ... this.
(lookup_type_scope): Add declaration.
* g++.dg/lookup/struct1.C: Adjust expected error.
* g++.dg/parse/elab1.C: Likewise.
* g++.dg/parse/elab2.C: Likewise.
* g++.dg/parse/int-as-enum1.C: Likewise.
* g++.dg/parse/struct-as-enum1.C: Likewise.
* g++.dg/parse/typedef1.C: Likewise.
* g++.dg/parse/typedef3.C: Likewise.
* g++.dg/parse/typedef4.C: Likewise.
* g++.dg/parse/typedef5.C: Likewise.
* g++.dg/template/nontype4.C: Likewise.
* g++.old-deja/g++.benjamin/typedef01.C: Likewise.
* g++.old-deja/g++.other/elab1.C: Likewise.
* g++.old-deja/g++.other/syntax4.C: Likewise.
From-SVN: r90657
Paolo Carlini [Mon, 15 Nov 2004 09:05:27 +0000 (09:05 +0000)]
lwg-active.html, [...]: Import Revision 33.
2004-11-15 Paolo Carlini <pcarlini@suse.de>
* docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 33.
From-SVN: r90655
Eric Botcazou [Mon, 15 Nov 2004 07:39:35 +0000 (08:39 +0100)]
* gcc.dg/intmax_t-1.c: XFAIL on Solaris 2.5.1.
From-SVN: r90654
Eric Botcazou [Mon, 15 Nov 2004 07:16:26 +0000 (07:16 +0000)]
Fix latest entry.
From-SVN: r90653
Richard Henderson [Mon, 15 Nov 2004 04:04:03 +0000 (20:04 -0800)]
re PR middle-end/18480 (ICE in emit_group_move with recent change)
PR 18480
* calls.c (struct arg_data): Add parallel_value.
(precompute_register_parameters): Set it.
(load_register_parameters): Use it.
(store_one_arg): Also set it here.
From-SVN: r90649
Zdenek Dvorak [Mon, 15 Nov 2004 00:18:37 +0000 (01:18 +0100)]
re PR tree-optimization/18431 (Code for arrays and pointers are not the same)
PR tree-optimization/18431
* fold-const.c (associate_trees): Do not produce x + 0.
(fold_widened_comparison, fold_sign_changed_comparison): New functions.
(fold): Use them.
* tree-ssa-loop-niter.c (upper_bound_in_type, lower_bound_in_type):
Moved ...
* tree.c (upper_bound_in_type, lower_bound_in_type): Here.
* tree.h (upper_bound_in_type, lower_bound_in_type): Declare.
* testsuite/gcc.c-torture/execute/
20041114-1.c: New test.
From-SVN: r90646
GCC Administrator [Mon, 15 Nov 2004 00:16:47 +0000 (00:16 +0000)]
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r90644.2
GCC Administrator [Mon, 15 Nov 2004 00:16:13 +0000 (00:16 +0000)]
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r90643.2
Eric Botcazou [Sun, 14 Nov 2004 23:38:04 +0000 (00:38 +0100)]
* doc/rtl.texi (SUBREG): Adjust BYTENUM value in example.
From-SVN: r90639
Kazu Hirata [Sun, 14 Nov 2004 23:35:03 +0000 (23:35 +0000)]
global.c, [...]: Fix comment typos.
* global.c, tree-ssa-copy.c, tree-ssa-loop-ivopts.c,
value-prof.c: Fix comment typos.
From-SVN: r90638
Joseph Myers [Sun, 14 Nov 2004 23:24:14 +0000 (23:24 +0000)]
c99-flex-array-5.c, [...]: New tests.
* gcc.dg/c99-flex-array-5.c, gcc.dg/c99-fordecl-3.c,
gcc.dg/comp-goto-1.c, gcc.dg/comp-goto-2.c, gcc.dg/comp-goto-3.c,
gcc.dg/format/strfmon-2.c, gcc.dg/pointer-arith-1.c,
gcc.dg/pointer-arith-2.c, gcc.dg/pointer-arith-3.c,
gcc.dg/pointer-arith-4.c, gcc.dg/switch-5.c, gcc.dg/switch-6.c,
gcc.dg/switch-7.c: New tests.
From-SVN: r90637
Paolo Carlini [Sun, 14 Nov 2004 22:54:24 +0000 (22:54 +0000)]
streambuf_iterator.h (istreambuf_iterator::_M_get): Slightly tweak for clarity (also leads to measurably better code).
2004-11-14 Paolo Carlini <pcarlini@suse.de>
* include/bits/streambuf_iterator.h (istreambuf_iterator::_M_get):
Slightly tweak for clarity (also leads to measurably better code).
From-SVN: r90636
Dorit Naishlos [Sun, 14 Nov 2004 22:42:16 +0000 (22:42 +0000)]
* gcc.dg/vect/vect-78.c: Now vectorized on powerpc*.
From-SVN: r90635
Kazu Hirata [Sun, 14 Nov 2004 21:25:37 +0000 (21:25 +0000)]
* cfgrtl.c: Fix a comment typo.
From-SVN: r90632
Dorit Naishlos [Sun, 14 Nov 2004 20:44:52 +0000 (20:44 +0000)]
re PR tree-optimization/18400 (wrong unrolling after vectorization due to invalid loop->nb_iterations)
2004-11-14 Dorit Naishlos <dorit@il.ibm.com>
PR tree-opt/18400
* gcc.dg/vect/pr18400.c: New test.
2004-11-14 Dorit Naishlos <dorit@il.ibm.com>
Andrew Pinski <pinskia@physics.uc.edu>
PR tree-opt/18425
* gcc.dg/vect/pr18425.c: New test.
Co-Authored-By: Andrew Pinski <pinskia@physics.uc.edu>
From-SVN: r90631
Stan Shebs [Sun, 14 Nov 2004 20:28:58 +0000 (20:28 +0000)]
Basic ABI changes for passing structs by value in 64-bit Darwin.
* config/rs6000/rs6000.c (rs6000_darwin64_abi): New flag.
(rs6000_override_options): Set it for 64-bit Darwin.
(rs6000_parse_abi_options): Add testing options to change it.
(rs6000_return_in_memory): Test whether the type is one
that can be passed in registers.
(darwin64_function_arg_advance): New.
(function_arg_advance): Call it, plus add recursion depth
argument and test when counting off arguments.
(rs6000_darwin64_function_arg): New.
(function_arg): Call it.
(setup_incoming_varargs): Add argument to function_arg_advance.
(rs6000_darwin64_function_value): New.
(rs6000_function_value): Call it.
* config/rs6000/rs6000.h (FUNCTION_ARG_ADVANCE): Pass depth arg.
* config/rs6000/rs6000-protos.h: Update decl of
function_arg_advance.
From-SVN: r90629
Andrew Pinski [Sun, 14 Nov 2004 18:54:18 +0000 (18:54 +0000)]
re PR target/17279 (internal compiler error with 128 bit integers)
2004-11-14 Andrew Pinski <pinskia@physics.uc.edu>
PR c/17279
* c-common.c (c_common_nodes_and_builtins): Ask the back-end if we
support TImode before adding __int128_t and __uint128_t types.
From-SVN: r90627
Dorit Naishlos [Sun, 14 Nov 2004 18:30:36 +0000 (18:30 +0000)]
re PR tree-optimization/18400 (wrong unrolling after vectorization due to invalid loop->nb_iterations)
PR tree-opt/18400
* tree-vectorizer.c (make_loop_iterate_ntimes): Set loop->nb_iterations.
(vect_transform_loop_bound): Set loop->nb_iterations.
From-SVN: r90626
Dorit Naishlos [Sun, 14 Nov 2004 18:25:33 +0000 (18:25 +0000)]
re PR tree-optimization/18425 (ICE in vector.tcc when -ftree-vectorize enabled)
2004-11-14 Dorit Naishlos <dorit@il.ibm.com>
Andrew Pinski <pinskia@physics.uc.edu>
PR tree-opt/18425
* tree-vectorize.c (vect_build_loop_niters): Do not insert
NULL into the instruction stream. Initialize new_bb to NULL.
(vect_update_ivs_after_vectorizer): Likewise.
(vect_gen_niters_for_prolog_loop): Likewise.
Co-Authored-By: Andrew Pinski <pinskia@physics.uc.edu>
From-SVN: r90625
Zdenek Dvorak [Sun, 14 Nov 2004 18:04:25 +0000 (19:04 +0100)]
re PR tree-optimization/18431 (Code for arrays and pointers are not the same)
PR tree-optimization/18431
* tree-flow.h (stmt_references_memory_p): Declare.
* tree-ssa-loop-im.c (stmt_cost): Use stmt_references_memory_p.
* tree-ssa.c (stmt_references_memory_p): New function.
From-SVN: r90624
Eric Botcazou [Sun, 14 Nov 2004 16:52:48 +0000 (17:52 +0100)]
alias-1.c: Remove dg-warning on the SPARC.
* gcc.dg/tls/alias-1.c: Remove dg-warning on the SPARC.
Guard with dg-require-alias and dg-require-visibility.
From-SVN: r90623
Andreas Schwab [Sun, 14 Nov 2004 16:24:28 +0000 (16:24 +0000)]
Makefile.in (lambda-code.o, [...]): Depend on $(EXPR_H).
* Makefile.in (lambda-code.o, tree-loop-linear.o): Depend on
$(EXPR_H).
From-SVN: r90621
Kazu Hirata [Sun, 14 Nov 2004 13:05:19 +0000 (13:05 +0000)]
* cselib.c, expr.c: Fix comment typos.
From-SVN: r90620
Kazu Hirata [Sun, 14 Nov 2004 12:55:15 +0000 (12:55 +0000)]
c-common.c (walk_stmt_tree): Remove.
* c-common.c (walk_stmt_tree): Remove.
* c-common.h: Remove the corresponding prototype.
From-SVN: r90619
Kazu Hirata [Sun, 14 Nov 2004 12:53:30 +0000 (12:53 +0000)]
c-common.c (walk_stmt_tree): Remove.
* c-common.c (walk_stmt_tree): Remove.
* c-common.h: Remove the corresponding prototype.
From-SVN: r90618
Eric Botcazou [Sun, 14 Nov 2004 11:28:14 +0000 (12:28 +0100)]
* g++.dg/other/packed1.C: UnXFAIL on SPARC, PA, MIPS and PowerPC.
From-SVN: r90617
Giovanni Bajo [Sun, 14 Nov 2004 10:58:50 +0000 (10:58 +0000)]
* g++.dg/expr/unary1.C, g++.dg/expr/unary2.C: New tests.
From-SVN: r90616
Kriang Lerdsuwanakij [Sun, 14 Nov 2004 10:57:00 +0000 (10:57 +0000)]
re PR c++/17344 (completely wacky error with matching template template classes and default arguments)
PR c++/17344
* pt.c (coerce_template_parms): Only emit error message about
invalid template argument when TF_ERROR.
* g++.dg/template/defarg5.C: New test.
From-SVN: r90615
Hans-Peter Nilsson [Sun, 14 Nov 2004 06:31:00 +0000 (06:31 +0000)]
* gcc_update (touch_files): Explicitly pass --no-print-directory.
From-SVN: r90614
Richard Henderson [Sun, 14 Nov 2004 06:22:56 +0000 (22:22 -0800)]
calls.c (precompute_register_parameters): Force all PARALLELs into pseudo registers.
* calls.c (precompute_register_parameters): Force all PARALLELs
into pseudo registers.
(load_register_parameters): Copy PARALLELs into hard registers.
* function.c (assign_parm_setup_block): Copy PARALLELS into
pseudo registers. Do emit_group_store in conversion_insns.
* expr.c (emit_group_load_1): Rename from emit_group_load, take
tmps as an argument. Move final copy loop ...
(emit_group_load): ... here. New function.
(emit_group_load_into_temps, emit_group_move_into_temps): New.
* expr.h: Declare them.
From-SVN: r90613
Kazu Hirata [Sun, 14 Nov 2004 04:08:11 +0000 (04:08 +0000)]
tree-cfg.c, [...]: Replace TREE_CHAIN with PHI_CHAIN where appropriate.
* tree-cfg.c, tree-if-conv.c, tree-ssa-loop-ivopts.c,
tree-ssa-loop-manip.c, tree-vectorizer.c: Replace TREE_CHAIN
with PHI_CHAIN where appropriate.
From-SVN: r90611
Dale Johannesen [Sun, 14 Nov 2004 03:35:13 +0000 (03:35 +0000)]
tree-flow.h (bsi_commit_one_edge_insert): Remove name from prototype.
2004-11-13 Dale Johannesen <dalej@apple.com>
* tree-flow.h (bsi_commit_one_edge_insert): Remove name from prototype.
(tree_block_label): Ditto.
(flush_pending_stmts): Ditto.
(insert_edge_copies): Ditto.
(expr_invariant_in_loop_p): Ditto.
(TDF_USE_OPS): Parenthesize definition.
(TDF_USE_VOPS): Ditto.
From-SVN: r90610
David Edelsohn [Sun, 14 Nov 2004 03:32:11 +0000 (03:32 +0000)]
aix51.h (ASM_CPU_SPEC): Add 970 and G5.
* config/rs6000/aix51.h (ASM_CPU_SPEC): Add 970 and G5.
* config/rs6000/aix52.h (ASM_CPU_SPEC): Same.
* config/rs6000/t-aix52 (BOOT_LDFLAGS): Define.
From-SVN: r90609
Joseph Myers [Sun, 14 Nov 2004 00:38:32 +0000 (00:38 +0000)]
i386.c (override_options): Move loop to set default tuning to correct place.
* config/i386/i386.c (override_options): Move loop to set default
tuning to correct place.
From-SVN: r90606
GCC Administrator [Sun, 14 Nov 2004 00:16:19 +0000 (00:16 +0000)]
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r90604.2
GCC Administrator [Sun, 14 Nov 2004 00:16:13 +0000 (00:16 +0000)]
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r90603.2
Eric Botcazou [Sat, 13 Nov 2004 23:33:20 +0000 (00:33 +0100)]
cast1.C: Run only on ILP32.
* g++.dg/parse/cast1.C: Run only on ILP32.
* g++.old-deja/g++.mike/p784.C: Likewise.
From-SVN: r90601
Zak Kipling [Sat, 13 Nov 2004 23:09:08 +0000 (15:09 -0800)]
re PR target/18300 (Infinite loop when passing object with 3+ base classes by value)
PR target/18300
* config/i386/i386.c (classify_argument): Fix infinite loop when
passing object with 3 or more base classes by value.
From-SVN: r90600
Eric Botcazou [Sat, 13 Nov 2004 22:28:46 +0000 (23:28 +0100)]
md.texi (constraints): Mention that it is useless when the two alternatives are strictly identical.
* doc/md.texi (constraints) <% modifier>: Mention that it is
useless when the two alternatives are strictly identical.
From-SVN: r90598
Richard Henderson [Sat, 13 Nov 2004 22:10:47 +0000 (14:10 -0800)]
expmed.c (extract_split_bit_field): Temporarily disable call to extract_force_align_mem_bit_field.
* expmed.c (extract_split_bit_field): Temporarily disable call to
extract_force_align_mem_bit_field.
From-SVN: r90597
Kazu Hirata [Sat, 13 Nov 2004 21:11:04 +0000 (21:11 +0000)]
c-cppbuiltin.c, [...]: Fix comment typos.
* c-cppbuiltin.c, cgraph.c, domwalk.h, except.c, gimplify.c,
lambda-code.c, postreload.c, predict.c, tree-sra.c,
tree-ssa-loop-manip.c, tree.c: Fix comment typos.
From-SVN: r90596
Kazu Hirata [Sat, 13 Nov 2004 20:48:45 +0000 (20:48 +0000)]
bitmap.c, [...]: Fix comment formatting.
* bitmap.c, bitmap.h, expmed.c, tree-cfg.c: Fix comment
formatting.
From-SVN: r90595
Joseph Myers [Sat, 13 Nov 2004 20:41:01 +0000 (20:41 +0000)]
inclhack.def (hpux_maxint, [...]): Remove.
* inclhack.def (hpux_maxint, limits_ifndefs, math_huge_val_ifndef,
svr4__p, undefine_null): Remove.
* fixincl.x: Regenerate.
* tests/base/AvailabilityMacros.h, tests/base/com_err.h: New.
* tests/base/sys/param.h: Remove.
* tests/base/curses.h, tests/base/math.h, tests/base/testing.h,
tests/base/sys/limits.h: Update.
From-SVN: r90594
Kelley Cook [Sat, 13 Nov 2004 20:14:21 +0000 (20:14 +0000)]
install.texi (automake): Correctly document that everything now will use automake 1.9.3.
2004-11-13 Kelley Cook <kcook@gcc.gnu.org>
* doc/install.texi (automake): Correctly document that everything now
will use automake 1.9.3.
From-SVN: r90593
Hans-Peter Nilsson [Sat, 13 Nov 2004 19:52:55 +0000 (19:52 +0000)]
re PR target/18347 (mmix-knuth-mmixware testsuite failure: gcc.dg/uninit-C.c)
PR target/18347
* config/mmix/mmix.c (mmix_function_outgoing_value): Handle
TImode. Sorry for other non-complex larger-than-64-bit modes.
* config/mmix/mmix.h (MIN_UNITS_PER_WORD): Do not define.
From-SVN: r90592
Kelley Cook [Sat, 13 Nov 2004 19:11:37 +0000 (19:11 +0000)]
install.texi (automake): Document that everything now uses 1.9.
2004-11-13 Kelley Cook <kcook@gcc.gnu.org>
* doc/install.texi (automake): Document that everything now uses 1.9.
From-SVN: r90591
Mike Stump [Sat, 13 Nov 2004 17:29:03 +0000 (17:29 +0000)]
Fix typo, html is generated in the build directory, not the source directory.
From-SVN: r90590
Mike Stump [Sat, 13 Nov 2004 17:27:49 +0000 (17:27 +0000)]
Unify html generation with other frontends.
From-SVN: r90589
Bernd Schmidt [Sat, 13 Nov 2004 17:13:37 +0000 (17:13 +0000)]
* gcc.c-torture/execute/
20041113-1.c: New test.
From-SVN: r90588
Bernd Schmidt [Sat, 13 Nov 2004 17:11:02 +0000 (17:11 +0000)]
cse.c (cse_insn): Stores in a libcall sequence can invalidate previous loads.
* cse.c (cse_insn): Stores in a libcall sequence can invalidate
previous loads.
From-SVN: r90587
Scott Robert Ladd [Sat, 13 Nov 2004 17:08:27 +0000 (17:08 +0000)]
Fixed missing space in ChangeLog entry
From-SVN: r90586
Scott Robert Ladd [Sat, 13 Nov 2004 17:03:37 +0000 (17:03 +0000)]
Added self as write-after-approval maintainer
From-SVN: r90585
Mike Stump [Sat, 13 Nov 2004 17:00:09 +0000 (17:00 +0000)]
Revert Index->Manual Index until --no-split is removed...
From-SVN: r90584
Kelley Cook [Sat, 13 Nov 2004 16:38:04 +0000 (16:38 +0000)]
Makefile.am: Define ACLOCAL_AMFLAGS.
2004-11-13 Kelley Cook <kcook@gcc.gnu.org>
* Makefile.am: Define ACLOCAL_AMFLAGS.
* acinclude.m4: Remove unnecessary sinclude.
* aclocal.m4, Makefile.in, configure: Regenerate (autoreconf 1.9.3).
From-SVN: r90583
Kazu Hirata [Sat, 13 Nov 2004 15:38:38 +0000 (15:38 +0000)]
* tree.h: Fix a comment typo.
From-SVN: r90582
Kazu Hirata [Sat, 13 Nov 2004 15:33:36 +0000 (15:33 +0000)]
* tree.h: Fix a comment typo.
From-SVN: r90581
Steven Bosscher [Sat, 13 Nov 2004 14:18:04 +0000 (14:18 +0000)]
cse.c (CHEAP_REGNO): Redefine using REGNO_PTR_FRAME_P and HARD_REGISTER_NUM_P.
* cse.c (CHEAP_REGNO): Redefine using REGNO_PTR_FRAME_P and
HARD_REGISTER_NUM_P.
* cselib.c (new_cselib_val): Make comment correct and more detailed.
* flow.c (mark_set_1): Likewise.
* except.c (duplicate_eh_region_1, duplicate_eh_region_2,
duplicate_eh_regions): Remove.
* except.h (duplicate_eh_regions): Remove prototype.
* integrate.c (get_label_from_map, copy_rtx_and_substitute,
global_const_equiv_varray): Remove.
* integrate.h (get_label_from_map, copy_rtx_and_substitute,
global_const_equiv_varray, set_label_in_map): Remove prototypes,
extern declaration, and #define.
(MAYBE_EXTEND_CONST_EQUIV_VARRAY, SET_CONST_EQUIV_DATA): Remove.
(struct inline_remap): Remove.
* varray.c (struct element): Remove entry for const_equiv_data.
* varray.h (struct const_equiv_data): Remove.
(enum varray_data_enum) <VARRAY_DATA_CONST_EQUIV>: Remove.
(union varray_data_tag) <const_equiv>: Remove.
(VARRAY_CONST_EQUIV_INIT, VARRAY_CONST_EQUIV,
VARRAY_PUSH_CONST_EQUIV, VARRAY_TOP_CONST_EQUIV): Remove.
* regstack.c (record_label_references): Remove unused function.
* rtl.def (VALUE): Update comment.
(LABEL_REF): Remove unused operand 2.
* rtl.h (struct rtx_def): Update for removed accessor macros.
(XCADVFLAGS, INSN_DEAD_CODE_P, LINE_NUMBER, CONTAINING_INSN,
REG_LOOP_TEST_P): Remove.
(ADDR_DIFF_VEC_FLAGS, CSELIB_VAL_PTR, LABEL_NEXTREF): Add comments.
* web.c (entry_register): Don't copy REG_LOOP_TEST_P.
* doc/rtl.texi (INSN_DEAD_CODE_P, REG_LOOP_TEST_P): Remove.
From-SVN: r90580
James A. Morrison [Sat, 13 Nov 2004 13:42:45 +0000 (13:42 +0000)]
re PR target/18230 (SPARC VIS instructions are not generated by GCC)
PR target/18230
* gcc.dg/vect/tree-vect.h (check_vect): Add SPARC-specific test.
* gcc.dg/vect/vect-2.c, gcc.dg/vect/vect-7.c, gcc.dg/vect/vect-9.c,
gcc.dg/vect/vect-10.c, gcc.dg/vect/vect-12.c, gcc.dg/vect/vect-14.c,
gcc.dg/vect/vect-15.c, gcc.dg/vect/vect-17.c, gcc.dg/vect/vect-18.c,
gcc.dg/vect/vect-19.c, gcc.dg/vect/vect-20.c, gcc.dg/vect/vect-21.c,
gcc.dg/vect/vect-22.c, gcc.dg/vect/vect-23.c, gcc.dg/vect/vect-24.c,
gcc.dg/vect/vect-25.c, gcc.dg/vect/vect-26.c, gcc.dg/vect/vect-32.c,
gcc.dg/vect/vect-33.c, gcc.dg/vect/vect-34.c, gcc.dg/vect/vect-35.c,
gcc.dg/vect/vect-36.c, gcc.dg/vect/vect-37.c, gcc.dg/vect/vect-62.c,
gcc.dg/vect/vect-63.c, gcc.dg/vect/vect-64.c, gcc.dg/vect/vect-65.c,
gcc.dg/vect/vect-66.c, gcc.dg/vect/vect-67.c, gcc.dg/vect/vect-68.c,
gcc.dg/vect/vect-69.c, gcc.dg/vect/vect-73.c, gcc.dg/vect/vect-75.c,
gcc.dg/vect/vect-76.c, gcc.dg/vect/vect-78.c: Enable for
SPARC.
From-SVN: r90579
James A. Morrison [Sat, 13 Nov 2004 13:25:09 +0000 (13:25 +0000)]
re PR target/18230 (SPARC VIS instructions are not generated by GCC)
PR target/18230
* config/sparc/sparc.c (sparc_rtx_costs): Handle the NAND vector
patterns.
* config/sparc/sparc.md (V64I): New macro for 64-bit modes.
(V32I): New macro for 32-bit modes.
(anddi3, anddi_sp32, anddi_sp64, and_not_di_sp32, and_not_di_sp64,
iordi3, iordi3_sp32, iordi_sp64, or_not_di_sp32, or_not_di_sp64,
xordi3, xordi3_sp32, xordi3_sp64, {AND, IOR, XOR} DI splitter,
xor_not_di_sp32, xordi_not_di_sp64, one_cmpldi2, one_cmpldi_sp32,
one_cmpldi_sp64): Use V64I instead of DI.
(andsi3, andsi_sp32, andsi_sp64, and_not_si, iorsi3, or_not_si,
xorsi3, xor_not_si, one_cmplsi2): Use V32I instead of SI.
(addv2si3, addv4hi3, addv2hi3): Remove % modifier.
(nandv64i_vis, nandv32i_vis): New patterns.
Co-Authored-By: Eric Botcazou <ebotcazou@libertysurf.fr>
From-SVN: r90578
Mike Stump [Sat, 13 Nov 2004 07:35:55 +0000 (07:35 +0000)]
Makefile.in: Add html support.
* Makefile.in: Add html support.
* java/Make-lang.in: Likewise.
* fortran/Make-lang.in: Likewise.
* treelang/Make-lang.in: Likewise.
* doc/install.texi: Likewise.
* doc/makefile.texi: Likewise.
* doc/sourcebuild.texi: Likewise.
From-SVN: r90577
Mike Stump [Sat, 13 Nov 2004 07:33:27 +0000 (07:33 +0000)]
* Makefile.in (html): Add html generation support.
From-SVN: r90576
Mike Stump [Sat, 13 Nov 2004 07:32:48 +0000 (07:32 +0000)]
Makefile.def: Add html support.
* Makefile.def: Add html support.
* Makefile.tpl: Likewise.
* Makefile.in: Regenerate.
From-SVN: r90575
Kazu Hirata [Sat, 13 Nov 2004 07:13:48 +0000 (07:13 +0000)]
* tree-ssa-loop-manip.c: Fix a comment typo.
From-SVN: r90574
Mike Stump [Sat, 13 Nov 2004 06:46:45 +0000 (06:46 +0000)]
cppinternals.texi (Index): Fix html generation with makeinfo by renaming this node to Concept Index.
* doc/cppinternals.texi (Index): Fix html generation with makeinfo by
renaming this node to Concept Index.
* doc/gccint.texi (Index): Likewise. Also minor formatting tweaks
to more closely match gcc.texi.
From-SVN: r90573
Mike Stump [Sat, 13 Nov 2004 06:34:59 +0000 (06:34 +0000)]
* Makefile.in (libiberty.html): Fix html generation.
From-SVN: r90572
Mike Stump [Sat, 13 Nov 2004 06:20:01 +0000 (06:20 +0000)]
libiberty.texi (Index): Fix html generation with makeinfo by renaming this node to Manual Index.
* libiberty.texi (Index): Fix html generation with makeinfo by
renaming this node to Manual Index.
From-SVN: r90571
Jeff Law [Sat, 13 Nov 2004 04:18:54 +0000 (21:18 -0700)]
tree-cfg.c (hashtab.h): Include.
* tree-cfg.c (hashtab.h): Include.
(struct edge_to_case_leader_elt): New structure.
(edge_to_case_leader): New.
(edge_to_case_leader_hash): New hashtable hasing function.
(edge_to_case_leader_eq): New hashtable equality function.
(record_switch_edge): New function.
(get_case_leader_for_edge, get_case_leader_for_edge): New functions.
(make_switch_expr_edges): Build the edge-to-case-leader
hash table. Tear down the hash table when we're done.
(cleanup_dead_labels): Use CASE_LEADER_OR_LABEL instead of
CASE_LABEL.
(tree_node_can_be_shared): Allow sharing of CASE_LABEL_EXPR nodes.
(tree_redirect_edge_and_branch, case SWITCH_EXPR): Update
to use new concept of case leaders to reduce overhead of
redirecting outgoing edges from switch statements.
* tree.c (get_case_label): New function.
* tree.h (CASE_LABEL): Define in terms of get_case_label.
(CASE_LEADER_OR_LABEL): Define.
From-SVN: r90570
Ziemowit Laski [Sat, 13 Nov 2004 02:08:44 +0000 (02:08 +0000)]
varasm.c (output_addressed_constants): For CONST_DECLs, output the initializer if present.
[gcc/ChangeLog]
2004-11-12 Ziemowit Laski <zlaski@apple.com>
* varasm.c (output_addressed_constants): For CONST_DECLs,
output the initializer if present.
[gcc/testsuite/ChangeLog]
2004-11-12 Ziemowit Laski <zlaski@apple.com>
* objc.dg/const-str-8.m, objc.dg/const-str-9.m:
New tests.
From-SVN: r90569
Ziemowit Laski [Sat, 13 Nov 2004 01:25:36 +0000 (01:25 +0000)]
darwin.h: Fix confusing typo in comment.
[gcc/ChangeLog]
2004-11-12 Ziemowit Laski <zlaski@apple.com>
* config/rs6000/darwin.h: Fix confusing typo in comment.
From-SVN: r90567
Devang Patel [Sat, 13 Nov 2004 01:09:08 +0000 (17:09 -0800)]
* optabs.c (vector_compare_rtx): Use COMPARISON_CLASS_P.
From-SVN: r90566
Devang Patel [Sat, 13 Nov 2004 01:06:39 +0000 (17:06 -0800)]
tree-if-conv.c (clean_predicate_lists): Use loop header and latch directly.
* tree-if-conv.c (clean_predicate_lists): Use loop header
and latch directly.
From-SVN: r90565