Paolo Carlini
2bf8accc31
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
2004-11-15 23:33:05 +00:00
Andrew Pinski
e09a5d6295
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
2004-11-15 14:46:25 -08:00
Eric Christopher
4c2b2906b0
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
2004-11-15 22:23:29 +00:00
Joseph Myers
37b2f2904b
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
2004-11-15 22:13:21 +00:00
Joseph Myers
d134f39eeb
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
2004-11-15 22:10:16 +00:00
Janis Johnson
9cbee3faac
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
2004-11-15 22:04:38 +00:00
Matthias Klose
3ebf2ebafe
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
2004-11-15 21:59:18 +00:00
Tom Tromey
35d7f8f422
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
2004-11-15 21:31:47 +00:00
Aldy Hernandez
e5f9d91646
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
2004-11-15 20:20:09 +00:00
Andreas Tobler
507148866c
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
2004-11-15 21:02:08 +01:00
Benjamin Kosnik
fcb94d103b
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
2004-11-15 19:11:59 +00:00
Janis Johnson
2301511d44
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
2004-11-15 19:04:45 +00:00
Janis Johnson
8e0933b18b
* lib/gcc-dg.exp (dg-target-list): Remove.
...
From-SVN: r90679
2004-11-15 19:03:02 +00:00
Steve Ellcey
4fd7b3cb10
* gcc.dg/ia64-postinc.c: New test.
...
From-SVN: r90677
2004-11-15 16:33:04 +00:00
Paul Brook
c4759ce320
* trans-types.c (gfc_get_dtype): Remove obsolete TODO.
...
From-SVN: r90676
2004-11-15 16:32:20 +00:00
Steve Ellcey
e77ee95db8
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
2004-11-15 16:29:54 +00:00
Mark Mitchell
dbdd0cf309
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
2004-11-15 16:11:19 +00:00
Mark Mitchell
11559c7515
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
2004-11-15 16:08:15 +00:00
Mark Mitchell
6e70657aac
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
2004-11-15 15:58:13 +00:00
Mark Mitchell
9c0787e298
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
2004-11-15 15:55:45 +00:00
Nick Clifton
f15dc49f0a
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
2004-11-15 13:33:38 +00:00
Nick Clifton
ea87f349b7
(TARGET_CPU_CPP_BUILTINS): Add builtin assert of cpu=xstormy16.
...
From-SVN: r90666
2004-11-15 13:19:50 +00:00
Nathan Sidwell
cf6b9ef196
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
2004-11-15 12:15:47 +00:00
Kriang Lerdsuwanakij
461c6fce56
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
2004-11-15 10:34:06 +00:00
Paolo Carlini
e24b3cc0aa
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
2004-11-15 09:05:27 +00:00
Eric Botcazou
23e09df4c8
* gcc.dg/intmax_t-1.c: XFAIL on Solaris 2.5.1.
...
From-SVN: r90654
2004-11-15 07:39:35 +00:00
Eric Botcazou
c7bfff32f3
Fix latest entry.
...
From-SVN: r90653
2004-11-15 07:16:26 +00:00
Richard Henderson
8df3dbb75b
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
2004-11-14 20:04:03 -08:00
Zdenek Dvorak
18522563e0
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
2004-11-15 00:18:37 +00:00
GCC Administrator
4d6079e03d
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r90644.2
2004-11-15 00:16:47 +00:00
GCC Administrator
1223dd7cc9
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r90643.2
2004-11-15 00:16:13 +00:00
Eric Botcazou
a6ac87c14f
* doc/rtl.texi (SUBREG): Adjust BYTENUM value in example.
...
From-SVN: r90639
2004-11-14 23:38:04 +00:00
Kazu Hirata
3a7c155d2e
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
2004-11-14 23:35:03 +00:00
Joseph Myers
efcc66f02c
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
2004-11-14 23:24:14 +00:00
Paolo Carlini
509228203e
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
2004-11-14 22:54:24 +00:00
Dorit Naishlos
fceb80bf94
* gcc.dg/vect/vect-78.c: Now vectorized on powerpc*.
...
From-SVN: r90635
2004-11-14 22:42:16 +00:00
Kazu Hirata
4924302529
* cfgrtl.c: Fix a comment typo.
...
From-SVN: r90632
2004-11-14 21:25:37 +00:00
Dorit Naishlos
f7f021251d
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
2004-11-14 20:44:52 +00:00
Stan Shebs
594a51febe
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
2004-11-14 20:28:58 +00:00
Andrew Pinski
1e1b864906
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
2004-11-14 10:54:18 -08:00
Dorit Naishlos
d6f6ef21b2
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
2004-11-14 18:30:36 +00:00
Dorit Naishlos
4951c3fd4c
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
2004-11-14 18:25:33 +00:00
Zdenek Dvorak
9beeb4ee4c
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
2004-11-14 18:04:25 +00:00
Eric Botcazou
3021a627c5
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
2004-11-14 16:52:48 +00:00
Andreas Schwab
fd3fe0a11b
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
2004-11-14 16:24:28 +00:00
Kazu Hirata
daa956d01f
* cselib.c, expr.c: Fix comment typos.
...
From-SVN: r90620
2004-11-14 13:05:19 +00:00
Kazu Hirata
c1dc94c40a
c-common.c (walk_stmt_tree): Remove.
...
* c-common.c (walk_stmt_tree): Remove.
* c-common.h: Remove the corresponding prototype.
From-SVN: r90619
2004-11-14 12:55:15 +00:00
Kazu Hirata
29eb4ac9ad
c-common.c (walk_stmt_tree): Remove.
...
* c-common.c (walk_stmt_tree): Remove.
* c-common.h: Remove the corresponding prototype.
From-SVN: r90618
2004-11-14 12:53:30 +00:00
Eric Botcazou
6b870fa9f4
* g++.dg/other/packed1.C: UnXFAIL on SPARC, PA, MIPS and PowerPC.
...
From-SVN: r90617
2004-11-14 11:28:14 +00:00
Giovanni Bajo
d6b75f7070
* g++.dg/expr/unary1.C, g++.dg/expr/unary2.C: New tests.
...
From-SVN: r90616
2004-11-14 10:58:50 +00:00