Commit Graph

62627 Commits

Author SHA1 Message Date
Michael Koch
3238d4f99a OID.java, [...]: Import statements cleaned up.
2004-10-17  Michael Koch  <konqueror@gmx.de>

	* gnu/java/security/OID.java,
	gnu/java/security/provider/DSAParameters.java,
	gnu/java/security/provider/DSASignature.java,
	gnu/java/security/x509/X500DistinguishedName.java,
	gnu/java/security/x509/X509CRL.java:
	Import statements cleaned up.

From-SVN: r89166
2004-10-17 08:00:11 +00:00
Jakub Jelinek
bc54ef99a2 pointer-set.c (hash1): Use integer part of 2^64 / phi instead 2^32 / phi if long is 64-bit.
* pointer-set.c (hash1): Use integer part of 2^64 / phi
	instead 2^32 / phi if long is 64-bit.

From-SVN: r89165
2004-10-17 09:15:53 +02:00
Giovanni Bajo
9596e0648d re PR c++/17743 (dependent expressions in attributes)
PR c++/17743
	* decl2.c (grokfield): Apply attributes also to TYPE_DECLs.

	PR c++/17743
	* g++.dg/ext/attrib17.C: New test.

From-SVN: r89164
2004-10-17 04:39:46 +00:00
GCC Administrator
375e216644 Daily bump.
[[Split portion of a mixed commit.]]

From-SVN: r89162.2
2004-10-17 00:16:15 +00:00
GCC Administrator
b2bce34f38 Daily bump.
[[Split portion of a mixed commit.]]

From-SVN: r89161.2
2004-10-17 00:16:10 +00:00
Joseph Myers
13ceb6d14c Fix typo in last entry.
From-SVN: r89159
2004-10-17 00:20:42 +01:00
Joseph Myers
da5b307a57 c-common.c (enum rid): Remove RID_PTRBASE, RID_PTREXTENT and RID_PTRVALUE.
* c-common.c (enum rid): Remove RID_PTRBASE, RID_PTREXTENT and
	RID_PTRVALUE.
	* c-parse.in (PTR_VALUE, PTR_BASE, PTR_EXTENT): Remove %token
	declarations.
	(reswords): Remove __ptrbase, __ptrbase__, __ptrextent,
	__ptrextent__, __ptrvalue and __ptrvalue__.
	(rid_to_yy): Remove RID_PTRBASE, RID_PTREXTENT and RID_PTRVALUE
	entries.

From-SVN: r89158
2004-10-17 00:19:07 +01:00
Dale Johannesen
4fe52ce98c c-common.c (c_common_get_alias_set): Use GGC for type_hash_table.
2004-10-16  Dale Johannesen  <dalej@apple.com>

        * c-common.c (c_common_get_alias_set):  Use GGC for type_hash_table.

From-SVN: r89156
2004-10-16 22:58:45 +00:00
Michael Koch
410c47a4d1 NIODatagramSocket.java, [...]: Reorganized import statements.
2004-10-16  Michael Koch  <konqueror@gmx.de>

	* gnu/java/nio/NIODatagramSocket.java,
	gnu/java/nio/ServerSocketChannelImpl.java:
	Reorganized import statements.

From-SVN: r89154
2004-10-16 18:32:21 +00:00
Michael Koch
86b28213d4 RMIMarshalledObjectOutputStream.java [...]: File headers and import statements cleaned up.
2004-10-16  Michael Koch  <konqueror@gmx.de>

	* gnu/java/rmi/RMIMarshalledObjectOutputStream.java
	gnu/java/rmi/rmic/RMIC.java,
	gnu/java/rmi/server/RMIHashes.java,
	gnu/java/rmi/server/RMIObjectInputStream.java,
	gnu/java/rmi/server/RMIObjectOutputStream.java,
	gnu/java/rmi/server/UnicastConnection.java,
	gnu/java/rmi/server/UnicastConnectionManager.java,
	gnu/java/rmi/server/UnicastRemoteCall.java,
	gnu/java/rmi/server/UnicastServer.java,
	gnu/java/rmi/server/UnicastServerRef.java,
	java/rmi/MarshalledObject.java,
	java/rmi/Naming.java,
	java/rmi/RMISecurityManager.java,
	java/rmi/Remote.java,
	java/rmi/activation/Activatable.java,
	java/rmi/activation/ActivationDesc.java,
	java/rmi/activation/ActivationGroup.java,
	java/rmi/activation/ActivationGroupDesc.java,
	java/rmi/activation/ActivationGroupID.java,
	java/rmi/activation/ActivationID.java,
	java/rmi/activation/ActivationInstantiator.java,
	java/rmi/activation/ActivationMonitor.java,
	java/rmi/activation/ActivationSystem.java,
	java/rmi/activation/Activator.java,
	java/rmi/dgc/DGC.java,
	java/rmi/dgc/Lease.java,
	java/rmi/dgc/VMID.java,
	java/rmi/registry/LocateRegistry.java,
	java/rmi/registry/Registry.java,
	java/rmi/registry/RegistryHandler.java,
	java/rmi/server/LoaderHandler.java,
	java/rmi/server/LogStream.java,
	java/rmi/server/ObjID.java,
	java/rmi/server/Operation.java,
	java/rmi/server/RMIClassLoader.java,
	java/rmi/server/RMIClassLoaderSpi.java,
	java/rmi/server/RMIClientSocketFactory.java,
	java/rmi/server/RMIFailureHandler.java,
	java/rmi/server/RMIServerSocketFactory.java,
	java/rmi/server/RMISocketFactory.java,
	java/rmi/server/RemoteCall.java,
	java/rmi/server/RemoteObject.java,
	java/rmi/server/RemoteRef.java,
	java/rmi/server/RemoteServer.java,
	java/rmi/server/RemoteStub.java,
	java/rmi/server/ServerRef.java,
	java/rmi/server/Skeleton.java,
	java/rmi/server/SkeletonMismatchException.java,
	java/rmi/server/UID.java,
	java/rmi/server/UnicastRemoteObject.java,
	java/rmi/server/Unreferenced.java:
	File headers and import statements cleaned up.

From-SVN: r89153
2004-10-16 18:27:51 +00:00
Hans-Peter Nilsson
e86d9e4bca expr.c (expr_add_location): Move declaration to before all statements.
* expr.c (expr_add_location): Move declaration to before all
	statements.
	* parse.y (java_expand_classes): Ditto.
	* lex.c (java_peek_unicode): Ditto.

From-SVN: r89152
2004-10-16 18:27:32 +00:00
Michael Koch
d8d3480a29 UTF_16.java, [...]: Cleanup.
2004-10-16  Michael Koch  <konqueror@gmx.de>

	* libjava/gnu/java/nio/charset/UTF_16.java,
	libjava/gnu/java/nio/charset/UTF_16BE.java,
	libjava/gnu/java/nio/charset/UTF_16LE.java,
	libjava/java/nio/ByteOrder.java,
	libjava/java/nio/MappedByteBuffer.java,
	libjava/java/nio/channels/Channels.java,
	libjava/java/nio/channels/spi/SelectorProvider.java,
	libjava/java/nio/charset/Charset.java:
	Cleanup.

From-SVN: r89151
2004-10-16 18:06:03 +00:00
Michael Koch
752ef8732d 2004-10-16 Michael Koch <konqueror@gmx.de>
* gnu/java/nio/charset/UTF_16Encoder.java
	(UTF_16Encoder): Fixed maxBytesPerChar handling.

From-SVN: r89150
2004-10-16 17:58:01 +00:00
Michael Koch
7af8968e98 BigDecimal.java, [...]: Reorganized import statements, removed redundant and reorganized modifiers.
2004-10-16  Michael Koch  <konqueror@gmx.de>

	* java/math/BigDecimal.java, java/math/BigInteger.java:
	Reorganized import statements, removed redundant and
	reorganized modifiers.

From-SVN: r89149
2004-10-16 17:51:45 +00:00
Michael Koch
f3bf84759c ExplicitBeanInfo.java: Explicitely import java.awt.Image.
2004-10-16  Michael Koch  <konqueror@gmx.de>

	* gnu/java/beans/ExplicitBeanInfo.java:
	Explicitely import java.awt.Image.
	(getIcon): Fixed off-by-one error.

From-SVN: r89148
2004-10-16 17:48:57 +00:00
Zdenek Dvorak
fce22de5d2 re PR tree-optimization/17766 (cc1 hangs in with -O3, works with -O2)
PR tree-optimization/17766
	* basic-block.h (enum dom_state): DOM_CONS_OK removed.
	(dom_info_available_p): Declare.
	* cfghooks.c (split_block, make_forwarder_block): Use
	dom_info_available_p.
	* dominance.c (compute_dom_fast_query, calculate_dominance_info,
	free_dominance_info, verify_dominators): Ditto.
	(dom_info_available_p): New function.
	* tree-cfg.c (cleanup_control_expr_graph): Free dominance information.
	(thread_jumps): Use dom_info_available_p.
	* tree-complex.c (expand_complex_div_wide): Ditto.
	* tree-mudflap.c (mf_build_check_statement_for): Ditto.

From-SVN: r89147
2004-10-16 16:58:59 +00:00
Zdenek Dvorak
80cad5faeb tree-ssa-loop-ivopts.c (struct ivopts_data): New field important_candidates.
* tree-ssa-loop-ivopts.c (struct ivopts_data): New field important_candidates.
	(find_best_candidate): Take also important candidates into account.
	(find_optimal_iv_set): Initialize important_candidates bitmap.

From-SVN: r89146
2004-10-16 16:49:53 +00:00
Zdenek Dvorak
f59b0bd4e6 re PR tree-optimization/17560 (Infinite recursion in tree-scalar-evolution with -Os)
PR tree-optimization/17560
	* predict.c (tree_estimate_probability): Mark irreducible
	loops.

From-SVN: r89145
2004-10-16 16:45:38 +00:00
Zdenek Dvorak
71068e3124 re PR rtl-optimization/17723 (gcc segfaults with -O2)
PR rtl-optimization/17723
	* cfgcleanup.c (merge_memattrs): Handle case when
	MEM_SIZE == NULL_RTX.

From-SVN: r89144
2004-10-16 16:42:31 +00:00
Benjamin Kosnik
cd9333a726 [multiple changes]
2004-10-16  Benjamin Kosnik  <bkoz@redhat.com>

	* include/tr1/array: Don't use layout_type.

2004-10-16  Sashan Govender  <sashang@gmail.com>

	* include/tr1/array (array::end const): Fix casting from iterator
	to const_iterator.

From-SVN: r89139
2004-10-16 13:48:34 +00:00
Eric Botcazou
051a600204 * gcc.dg/bf-spl1.c: Use 'float' as the base type for FP types.
From-SVN: r89136
2004-10-16 11:47:46 +00:00
Giovanni Bajo
1ed3dfd55d re PR c++/10479 (alignof and sizeof (and other expressions) in attributes does not compile inside template classes)
PR c++/10479
	* parser.c (cp_parser_parenthesized_expression_list): Fold
	non-dependent expressions in attribute lists.

	PR c++/10479
	* g++.dg/ext/attrib16.C: New test.

From-SVN: r89135
2004-10-16 11:04:58 +00:00
Andrew Pinski
29c431a17d toplev.c (dump_file_name): Change type to be const.
2004-10-15  Andrew Pinski  <pinskia@physics.uc.edu>

        * toplev.c (dump_file_name): Change type to be const.

From-SVN: r89131
2004-10-15 17:57:01 -07:00
GCC Administrator
85e5c2cfa4 Daily bump.
[[Split portion of a mixed commit.]]

From-SVN: r89127.2
2004-10-16 00:16:22 +00:00
GCC Administrator
15c3297f17 Daily bump.
[[Split portion of a mixed commit.]]

From-SVN: r89126.2
2004-10-16 00:16:17 +00:00
Joseph Myers
dee3cda5ba c-typeck.c (build_compound_expr, [...]): Don't try to use non_lvalue to stop something being a null pointer constant.
* c-typeck.c (build_compound_expr, build_c_cast): Don't try to use
	non_lvalue to stop something being a null pointer constant.

From-SVN: r89120
2004-10-15 22:32:03 +01:00
Mark Mitchell
d6b4201fab re PR c++/17042 (Duplicated symbol in assembly output)
PR c++/17042
	* decl.c (declare_global_var): Use the return value from pushdecl.

	PR c++/14667
	* parser.c (cp_parser_simple_declaration): Do not diagnose invalid
	type names if we have already found a valid type.
	(cp_parser_member_declaration): Likewise.

	PR c++/17852
	* parser.c (cp_parser_member_specification_opt): Handle
	CPP_PRAGMA.

	PR c++/17042
	* g++.dg/init/dso_handle1.C: New test.

	PR c++/17852
	* g++.dg/parse/pragma1.C: New test.

	PR c++/14667
	* g++.dg/parse/typedef6.C: New test.

From-SVN: r89119
2004-10-15 21:18:07 +00:00
Mark Mitchell
de3fe73c4f re PR c++/17042 (Duplicated symbol in assembly output)
PR c++/17042
	* decl.c (declare_global_var): Use the return value from pushdecl.

	PR c++/14667
	* parser.c (cp_parser_simple_declaration): Do not diagnose invalid
	type names if we have already found a valid type.
	(cp_parser_member_declaration): Likewise.

	PR c++/17852
	* parser.c (cp_parser_member_specification_opt): Handle
	CPP_PRAGMA.

	PR c++/17042
	* g++.dg/init/dso_handle1.C: New test.

	PR c++/17852
	* g++.dg/parse/pragma1.C: New test.

	PR c++/14667
	* g++.dg/parse/typedef6.C: New test.

From-SVN: r89118
2004-10-15 21:11:50 +00:00
Aldy Hernandez
7832e66155 * gcc.c-torture/execute/ieee/ieee.exp: Disable on powerpc-*-*spe.
From-SVN: r89113
2004-10-15 19:25:59 +00:00
Aldy Hernandez
b2df7d08b1 rs6000.h (FUNCTION_ARG_REGNO_P): FPRs are only available for TARGET_FPRS.
* config/rs6000/rs6000.h (FUNCTION_ARG_REGNO_P): FPRs are only
	available for TARGET_FPRS.
	(FUNCTION_VALUE_REGNO_P): Same.

From-SVN: r89112
2004-10-15 18:50:55 +00:00
Geoffrey Keating
7088c6e474 invoke.texi (RS/6000 and PowerPC Options): Document -maltivec in same style as other ISA options.
* doc/invoke.texi (RS/6000 and PowerPC Options): Document
	-maltivec in same style as other ISA options.

From-SVN: r89111
2004-10-15 18:46:52 +00:00
Ranjit Mathew
a1402da35c parse.y (parse_warning_context): Remove ATTRIBUTE_PRINTF_2 and rename parameter 'msg' to 'msgid' in function...
* parse.y (parse_warning_context): Remove ATTRIBUTE_PRINTF_2 and
	rename parameter 'msg' to 'msgid' in function declaration.
	(issue_warning_error_from_context): Likewise.
	(yyerror): Rename parameter 'msg' to 'msgid'.
	(all over): Use new quoting style for diagnostics.

	* check-init.c: Use %<, %> and %q for quoting in diagnostics,
	if possible, else convert `foo' to 'foo'.
	* class.c: Likewise.
	* decl.c: Likewise.
	* expr.c: Likewise.
	* jcf-io.c: Likewise.
	* jcf-parse.c: Likewise.
	* lang.c: Likewise.
	* lex.c: Likewise.
	* parse.h: Likewise.

From-SVN: r89110
2004-10-15 18:43:10 +00:00
Steve Ellcey
e68a07e8d5 struct-layout-1_generate.c (switchfiles): Use -fno-common when on HPPA HP-UX platforms.
* gcc.dg/compat/struct-layout-1_generate.c (switchfiles):  Use
	-fno-common when on HPPA HP-UX platforms.

From-SVN: r89107
2004-10-15 17:22:41 +00:00
Jon Grimm
eff41b9f95 host-linux.c (TRY_EMPTY_VM_SPACE): Add __powerpc__ definition.
2004-10-15  Jon Grimm <jgrimm2@us.ibm.com>

        * config/host-linux.c (TRY_EMPTY_VM_SPACE): Add __powerpc__
        definition.

From-SVN: r89106
2004-10-15 13:22:02 -04:00
Jakub Jelinek
1ebfb3cf38 struct-layout-1.h: Don't include complex.h nor stdint.h.
other/16820
	* gcc.dg/compat/struct-layout-1.h: Don't include complex.h nor
	stdint.h.
	* gcc.dg/compat/struct-layout-1_x1.h (TX): Cast to long instead of
	uintptr_t.

From-SVN: r89105
2004-10-15 17:02:58 +00:00
Andrew Haley
b08fd659ae Makefile.am (nat_files, [...]): New.
2004-10-15  Andrew Haley  <aph@redhat.com>

        * Makefile.am (nat_files, xlib_nat_files): New.
        * Makefile.in: Regenerate.

From-SVN: r89104
2004-10-15 17:01:19 +00:00
Kazu Hirata
10a351590f boehm.c, [...]: Update copyright.
* boehm.c, builtins.c, java-except.h, jcf-io.c, jcf-path.c,
	jcf.h, lang-specs.h, lex.c, lex.h, resource.c, win32-host.c:
	Update copyright.

From-SVN: r89100
2004-10-15 14:55:00 +00:00
Kazu Hirata
80c48076bf * dump.c, g++spec.c, repo.c: Update copyright.
From-SVN: r89098
2004-10-15 14:49:30 +00:00
Kazu Hirata
f30278e8b4 bitmap.c, [...]: Update copyright.
* bitmap.c, bitmap.h, builtin-attrs.def, cfglayout.h,
	collect2.h, conflict.c, coretypes.h, coverage.h, errors.h,
	gcc.h, gcov-dump.c, gen-protos.c, gencheck.c, gencodes.c,
	genconstants.c, gengenrtl.c, genmodes.c, genpeep.c,
	gensupport.h, graph.h, gthr-gnat.c, gthr-gnat.h, gthr-posix.c,
	gthr-posix.h, hard-reg-set.h, hwint.h, integrate.h, libgcc2.c,
	lists.c, machmode.def, mips-tdump.c, opts.h, params.c,
	predict.def, predict.h, protoize.c, reload.h, resource.h,
	rtl-error.c, sbitmap.c, sbitmap.h, sreal.c, tlink.c,
	tree-dump.h, tree-inline.h, unwind-dw2-fde.c, unwind-dw2.c,
	unwind-sjlj.c, value-prof.h: Update copyright.

From-SVN: r89097
2004-10-15 14:47:12 +00:00
Kazu Hirata
06b6044526 * decl.c: Fix a comment typo.
From-SVN: r89095
2004-10-15 14:39:24 +00:00
Kazu Hirata
ed8b755833 * pointer-set.c, tree-vectorizer.c: Fix comment typos.
From-SVN: r89094
2004-10-15 14:36:32 +00:00
Andrew Pinski
db3a95196c [multiple changes]
2004-10-13  Andrew Pinski  <pinskia@physics.uc.edu>

        PR c++/16301
        * name-lookup.c (parse_using_directive): If we have a
        error_mark_node, do not set the decl namespace associations
        on it.

2004-10-14  Andrew Pinski  <pinskia@physics.uc.edu>

        PR c++/16301
        * g++.dg/lookup/strong-using-4.C: New test.

From-SVN: r89093
2004-10-15 07:30:21 -07:00
Andrew Pinski
f0602b16b7 re PR middle-end/16567 (Nested function and variable-sized structure ICE)
2004-10-14  Andrew Pinski  <pinskia@physics.uc.edu>

        PR middle-end/16567
        * gcc.c-torture/compile/nested-1.c: New test.

From-SVN: r89092
2004-10-15 06:49:02 -07:00
Paolo Carlini
0d6b41f2dd bitmap_allocator.h: Qualify ::operator delete.
2004-10-15  Paolo Carlini  <pcarlini@suse.de>

	* include/ext/bitmap_allocator.h: Qualify ::operator delete.
	* src/bitmap_allocator.cc: Likewise.
	* src/mt_allocator.cc: Use ::operator delete, not delete,
	consistently with ::operator new.

	* include/ext/bitmap_allocator.h (deallocate): Check for null
	pointer.
	* testsuite/ext/bitmap_allocator/check_deallocate_null.cc: New.
	* testsuite/testsuite_allocator.h (check_deallocate_null): Add test.

From-SVN: r89089
2004-10-15 10:54:57 +00:00
Dorit Naishlos
31246b8f0d vect-44.c: xfail on i?86-*-*...
* testsuite/gcc.dg/vect/vect-44.c: xfail on i?86-*-*, x86_64-*-*,
        and mipsisa64*-*-* (until support for misaligned loads is added).
        * testsuite/gcc.dg/vect/vect-50.c: Likewise.
        * testsuite/gcc.dg/vect/vect-52.c: Likewise.
        * testsuite/gcc.dg/vect/vect-54.c: Likewise.
        * testsuite/gcc.dg/vect/vect-58.c: Likewise.
        * testsuite/gcc.dg/vect/vect-60.c: Likewise.
        * testsuite/gcc.dg/vect/vect-80.c: Likewise.

From-SVN: r89088
2004-10-15 09:45:45 +00:00
Paolo Bonzini
ad643a75f7 re PR other/17991 (Two-process fixincludes broken: pz_mn_name_pat undefined)
2004-08-14  Paolo Bonzini  <bonzini@gnu.org>

        PR other/17991

	* Makefile.in (ALLOBJ, TESTOBJ, FIXOBJ): Add fixopts.o.
	Update copyright year.
	* fixfixes.c (main): Call initialize_opts from fixopts.c.
	* fixincl.c (initialize): Call initialize_opts from fixopts.c,
	do not include code for parsing options (environment vars).
	(fix_with_system): Use a search path for applyfix, so that you
	can run the test suite with two-process fixincludes.
	* fixopts.c: New file.
	* configure.ac: Add --enable-twoprocess.  Export ac_exeext
	to config.h.  Default to --enable-twoprocess for MinGW32.
	* config.h.in: Regenerate.
	* configure: Regenerate.

From-SVN: r89087
2004-10-15 07:58:38 +00:00
Diego Novillo
e26ce7eddf tree-optimize.c (execute_one_pass): Stop timer right after executing the pass.
* tree-optimize.c (execute_one_pass): Stop timer right after
	executing the pass.

From-SVN: r89086
2004-10-15 01:00:37 -04:00
Mark Mitchell
745d26d9ac re PR c++/17976 (Calls the dtor twice)
PR c++/17976
	* decl.c (cp_finish_decl): Do not call expand_static_init more
	than once for a single variable.

	PR c++/17976
	* g++.dg/init/dtor3.C: New test.

From-SVN: r89081
2004-10-15 04:18:01 +00:00
Andrew Pinski
53e782e542 revert: re PR middle-end/17967 (Expand is considered slower? (remove_useless_stmts is considered part of expand))
2004-10-14  Andrew Pinski  <pinskia@physics.uc.edu>

        Revert:
        2004-10-14  Andrew Pinski  <pinskia@physics.uc.edu>
        PR middle-end/17967
        Revert:
                * tree-cfg.c (remove_usless_stmts_cond):  Fold statement.
                (remove_useless_stmts_1):  Fold trees we know how to fold.

From-SVN: r89080
2004-10-14 21:15:43 -07:00
David Edelsohn
d2ab3e372b configure.ac: Add .machine power4 directive when testing for mfcr field.
* configure.ac: Add .machine power4 directive when testing for
        mfcr field.
        * configure: Regenerate.

From-SVN: r89076
2004-10-14 22:26:15 -04:00