Commit Graph

63297 Commits

Author SHA1 Message Date
Richard Earnshaw
7bff66a715 arm.c (arm_handle_notshared_attribute): Wrap declaration and use with #if TARGET_DLLIMPORT_DECL_ATTRIBUTES.
* arm.c (arm_handle_notshared_attribute): Wrap declaration and use
with #if TARGET_DLLIMPORT_DECL_ATTRIBUTES.

From-SVN: r90272
2004-11-08 17:17:30 +00:00
Paolo Carlini
adb31ad60d istream.tcc (getline(char_type*, streamsize, char_type), [...]): Restore a generic version of the functions...
2004-11-08  Paolo Carlini  <pcarlini@suse.de>

	* include/bits/istream.tcc (getline(char_type*, streamsize,
	char_type), ignore(streamsize), ignore(streamsize, int_type)):
	Restore a generic version of the functions, not using the
	protected members of basic_streambuf.
	* include/std/std_istream.h (getline(char_type*, streamsize,
	char_type), ignore(streamsize), ignore(streamsize, int_type)):
	Declare optimized specializations for char and wchar_t.
	* src/istream.cc: New file, define the latter.
	* src/Makefile.am: Add.
	* src/Makefile.in: Regenerate.

From-SVN: r90268
2004-11-08 15:46:28 +00:00
Kazu Hirata
1b7cd4a5e5 tree-if-conv.c (tree_if_convert_cond_expr): Remove two "if" statements that always trigger.
* tree-if-conv.c (tree_if_convert_cond_expr): Remove two "if"
	statements that always trigger.

From-SVN: r90267
2004-11-08 15:02:14 +00:00
Kazu Hirata
f7b529fae7 arith.c, [...]: Fix comment formatting.
* arith.c, array.c, decl.c, expr.c, f95-lang.c, gfortran.h,
	gfortranspec.c, interface.c, intrinsic.c, iresolve.c, match.c,
	module.c, parse.c, parse.h, primary.c, resolve.c, scanner.c,
	trans-array.c, trans-array.h, trans-expr.c, trans-intrinsic.c,
	trans-io.c, trans-stmt.c, trans.h: Fix comment formatting.

From-SVN: r90266
2004-11-08 14:56:41 +00:00
Kazu Hirata
03fd3f84d8 class.c, [...]: Fix comment formatting.
* class.c, decl.c, lex.c, name-lookup.c, parser.c, pt.c,
	search.c, typeck2.c: Fix comment formatting.

From-SVN: r90265
2004-11-08 14:48:02 +00:00
Andrew Pinski
517f199e1e decl.c (end_java_method): Remove duplicated code.
2004-11-08  Andrew Pinski  <pinskia@physics.uc.edu>

        * decl.c (end_java_method): Remove duplicated code.

From-SVN: r90264
2004-11-08 06:27:36 -08:00
Rainer Orth
0506cb1c00 * a-numaux-x86.adb (Tan): Fix fdivp syntax.
From-SVN: r90263
2004-11-08 14:03:44 +00:00
Kazu Hirata
bb29d95124 tree-cfg.c, [...]: Replace TREE_CHAIN with PHI_CHAIN where appropriate.
* tree-cfg.c, tree-if-conv.c, tree-into-ssa.c,
	tree-scalar-evolution.c, tree-ssa-loop-im.c,
	tree-ssa-loop-ivopts.c, tree-ssa-loop-manip.c, tree-ssa.c,
	tree-vectorizer.c: Replace TREE_CHAIN with PHI_CHAIN where
	appropriate.

From-SVN: r90262
2004-11-08 13:54:41 +00:00
Ben Elliston
1590235e1e cgraph.h (cgraph_calls_p): Remove.
* cgraph.h (cgraph_calls_p): Remove.
	* cgraph.c (cgraph_calls_p): Likewise.

	* varray.h (varray_copy): Remove.
	* varray.c (varray_copy): Likewise.

From-SVN: r90261
2004-11-08 18:42:56 +11:00
Andrew Pinski
b8a55285ff re PR target/18269 (-m64 -fPIC does not work on ppc-darwin)
2004-11-07  Andrew Pinski  <pinskia@physics.uc.edu>

        PR target/18269
        * config/darwin.c (machopic_indirect_data_reference):
        Call gen_macho_high and gen_macho_low instead of
        checking the mode and calling gen_macho_high_di directly.
        * config/rs6000/rs6000.c (rs6000_emit_move): Likewise.
        * config/rs6000/rs6000.md: Move most of TARGET_MACHO expand/insns
        to darwin.md.
        (movdf_low, movsf_low, movsf_low_st, movsi_low, macho_correct_pic,
        load_macho_picbase, macho_low, macho_high): Removed.
        (builtin_setjmp_receiver): Call gen_macho_high and
        gen_macho_low instead of checking the mode and calling
        gen_macho_high_di directly.
        * config/rs6000/darwin.md (load_macho_picbase_di): Use the MD constant.
        (movdf_low_si, movsf_low_si, movsf_low_st_si, movsi_low_st):
        Moved from rs6000.md.
        (macho_high): New expander.
        (macho_high_si): Renamed version of macho_high from rs6000.md.
        (macho_low): New expander.
        (macho_low_si): Renamed version of macho_low from rs6000.md.
        (load_macho_picbase): New expander.
        (load_macho_picbase_si): Renamed version of load_macho_picbase
        from rs6000.md.
        (macho_correct_pic): New expander.
        (macho_correct_pic_si): Renamed version of macho_correct_pic
        from rs6000.md.

From-SVN: r90257
2004-11-07 20:42:36 -08:00
Hans-Peter Nilsson
79fd859270 Mention configure in last entry
From-SVN: r90256
2004-11-08 01:40:10 +00:00
Hans-Peter Nilsson
20d11df6b7 configure.in (noconfigdirs): Disable target-libgfortran.
* configure.in (noconfigdirs) [mmix-*-*]: Disable
	target-libgfortran.

From-SVN: r90252
2004-11-08 01:27:56 +00:00
GCC Administrator
1a89f1b506 Daily bump.
[[Split portion of a mixed commit.]]

From-SVN: r90249.2
2004-11-08 00:16:15 +00:00
GCC Administrator
c167992a3c Daily bump.
[[Split portion of a mixed commit.]]

From-SVN: r90248.2
2004-11-08 00:16:10 +00:00
David Edelsohn
68c70f15da config-ml.in: Pass FCFLAGS for multilibs, handle GFORTRAN like CC.
* config-ml.in: Pass FCFLAGS for multilibs, handle GFORTRAN
        like CC.

From-SVN: r90246
2004-11-07 18:37:28 -05:00
Joseph Myers
517685772f * de.po: Update.
From-SVN: r90241
2004-11-07 19:52:20 +00:00
James A. Morrison
328a2a74da README: Update website URL.
2004-11-07  James A. Morrison  <phython@gcc.gnu.org>

        * README: Update website URL.

From-SVN: r90239
2004-11-07 17:08:09 +00:00
Mark Wielaard
d060a30bf8 [multiple changes]
2004-11-07  Michael Koch  <konqueror@gmx.de>

       * java/lang/Process.java:
       Import cleanups.

2004-11-07  Jeroen Frijters  <jeroen@frijters.net>

       * java/util/zip/ZipEntry.java
       (KNOWN_SIZE, KNOWN_CSIZE, KNOWN_CRC, KNOWN_TIME): Made final.

From-SVN: r90231
2004-11-07 13:05:53 +00:00
Robert Schuster
c2914ce5bf Fixes bug #10908
2004-11-07  Robert Schuster  <theBohemian@gmx.net>

       Fixes bug #10908
       * gnu/java/beans/IntrospectionIncubator.java:
       (addMethod): static methods are discarded now, too.

From-SVN: r90230
2004-11-07 12:38:03 +00:00
Paolo Carlini
32890afef4 ifstream_getline-2.cc: New.
2004-11-07  Paolo Carlini  <pcarlini@suse.de>

	* testsuite/performance/27_io/ifstream_getline-2.cc: New.

From-SVN: r90229
2004-11-07 12:35:48 +00:00
Andrew John Hughes
43962ff925 2004-11-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
* java/util/GregorianCalendar.java
       Added/amended documentation.

From-SVN: r90228
2004-11-07 11:55:09 +00:00
Andrew John Hughes
70c67ff596 2004-11-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
* java/util/Collections.java
       Added documentation.
       * java/util/SortedMap.java
       Clarified some method examples.
       * java/util/SortedSet.java
       Clarified some method examples.

From-SVN: r90227
2004-11-07 11:42:22 +00:00
Andrew John Hughes
bfda8308a5 2004-11-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
* java/util/Currency.java
       Documented variables and methods more fully.
       Caches the currency instances, so that a request
       for a locale, l, only ever returns the same
       instance (i.e. successive calls to getInstance(l)
       are reference equivalent (==)).

From-SVN: r90226
2004-11-07 11:29:03 +00:00
Andrew John Hughes
6dd70904fb 2004-11-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
* java/util/Date.java
       Added missing documentation.

From-SVN: r90225
2004-11-07 11:17:46 +00:00
Andreas Schwab
426e7d289b * Makefile.in (install-gnatlib): Remove spurious hyphen.
From-SVN: r90221
2004-11-07 01:34:55 +00:00
Michael Koch
d56ab5d287 CheckedInputStream.java, [...]: Import cleanups.
2004-11-06  Michael Koch  <konqueror@gmx.de>

        * java/util/zip/CheckedInputStream.java,
        java/util/zip/InflaterInputStream.java,
        java/util/zip/ZipFile.java,
        java/util/zip/ZipInputStream.java:
        Import cleanups.

From-SVN: r90220
2004-11-07 01:25:48 +00:00
Joseph Myers
cc0b9d525c c-decl.c (finish_struct): Use complete sentences for diagnostic for structures or unions with no members...
* c-decl.c (finish_struct): Use complete sentences for diagnostic
	for structures or unions with no members or named members.

From-SVN: r90217
2004-11-07 00:33:59 +00:00
Joseph Myers
abb54d14c0 c-typeck.c (build_unary_op): Replace unreachable diagnostic for taking address of bit-field by assertion.
* c-typeck.c (build_unary_op): Replace unreachable diagnostic for
	taking address of bit-field by assertion.

From-SVN: r90216
2004-11-07 00:31:55 +00:00
GCC Administrator
d5d9e59836 Daily bump.
[[Split portion of a mixed commit.]]

From-SVN: r90213.2
2004-11-07 00:16:18 +00:00
GCC Administrator
476782f316 Daily bump.
[[Split portion of a mixed commit.]]

From-SVN: r90212.2
2004-11-07 00:16:12 +00:00
Ulrich Weigand
b628bd8e9d s390.md (attribute "op_type"): Default to "NN".
* config/s390/s390.md (attribute "op_type"): Default to "NN".
	(attribute "atype"): Default to "agen".
	(attribute "length"): Default to 6.
	(define_asm_attibutes): Remove.
	("movti", "*movdi_64", "*movdi_31", "*movsi_zarch", "*movsi_esa",
	"*movhi", "*movqi", "*movdf_64", "*movdf_31", "movsf",
	"*clc", "*mvc", "*nc", "*oc", "*xc", "*xc_zero"):
	Do not set type attribute to "cs" where already default.
	("*cmpint_si", "*cmpint_di", "fix_truncdfsi2_ibm", "floatsidf2_ibm",
	"*negdi2_31"):
	Do not set type attribute to "other" where already default.
	("movti", "*movdi_64", "*movdi_31", "*movdf_31",
	"*strlendi", "*strlensi",
	"*movmem_long_64", "*movmem_long_31",
	"*clrmem_long_64", "*clrmem_long_31",
	"*cmpmem_long_64", "*cmpmem_long_31",
	"*cmpint_si", "*cmpint_di",
	"addti3", "*adddi3_31z", "*adddi3_31",
	"subti3", "*subdi3_31z", "*subdi3_31", "*negdi2_31",
	"*sconddi", "*scondsi", "*sconddi_neg", "*scondsi_neg",
	"fix_truncdfsi2_ibm", "floatsidf2_ibm", "extendsfdf2_ibm",
	"*pool_entry", "pool_align", "pool_section_start",
	"pool_section_end", "main_pool", "reload_base_31", "pool"):
	Do not set op_type attribute to "NN" where already default.
	("*extractqi", "*extracthi", "*zero_extendhisi2_31",
	"*zero_extendqisi2_31", "*zero_extendqihi2_31",
	"fix_truncdfsi2_ibm", "floatsidf2_ibm"):
	Do not set atype attribute to "agen" where already default.
	("*movmem_short", "*clrmem_short", "*cmpmem_short"): Don't set op_type.

From-SVN: r90208
2004-11-07 00:01:19 +00:00
Tom Tromey
9ec0f3c8f5 UnicastConnectionManager.java (clients): Now package-private.
* gnu/java/rmi/server/UnicastConnectionManager.java (clients): Now
	package-private.
	(connections): Likewise.
	(scavenger): Likewise.
	* gnu/java/rmi/server/ConnectionRunnerPool.java (freelist): Now
	package-private.
	* gnu/java/rmi/server/UnicastRemoteCall.java (vec): Now
	package-private.
	(ptr): Likewise.
	* gnu/classpath/ServiceFactory.java (log): Now package-private.

From-SVN: r90206
2004-11-06 23:38:51 +00:00
Tom Tromey
ab6036c8fb BasicAttributes.java (attributes): Now package-private.
* javax/naming/directory/BasicAttributes.java (attributes): Now
	package-private.
	* javax/imageio/spi/ServiceRegistry.java (categories): Now
	package-private.

From-SVN: r90204
2004-11-06 23:29:12 +00:00
Tom Tromey
92002f50bd URLClassLoader.java (URLClassLoader): Now package-private.
* java/net/URLClassLoader.java (URLClassLoader): Now
	package-private.
	* java/nio/charset/CoderResult.java (CoderResult): Now
	package-private.
	(get): Likewise.
	(Cache): Likewise.  Don't synchronize on `this'.
	* java/rmi/server/RMIClassLoader.java (MyClassLoader): Now
	package-private.
	* java/util/TimeZone.java (timezones): Now package-private.

From-SVN: r90203
2004-11-06 23:22:05 +00:00
Tom Tromey
96859aa470 Permissions.java (perms): Now package-private.
* java/security/Permissions.java (perms): Now package-private.
	* java/security/UnresolvedPermission.java (permissions): Now
	package-private.

From-SVN: r90202
2004-11-06 23:11:47 +00:00
Tom Tromey
d28f307870 * java/io/FilePermission.java: Reindented.
From-SVN: r90201
2004-11-06 23:07:45 +00:00
Tom Tromey
7771b8da33 ObjectOutputStream.java (currentObjectStreamClass): Now package-private.
* java/io/ObjectOutputStream.java (currentObjectStreamClass): Now
	package-private.
	(setBlockDataMode): Likewise.

From-SVN: r90198
2004-11-06 22:56:38 +00:00
Richard Sandiford
58368ea708 * config/mips/t-iris6 (tp-bit.c): Fix target filename.
From-SVN: r90197
2004-11-06 22:45:24 +00:00
Tom Tromey
91229668e3 ISO_8859_1.java (Decoder): Now package-private.
* gnu/java/nio/charset/ISO_8859_1.java (Decoder): Now
	package-private.
	(Encoder): Likewise.
	* gnu/java/nio/charset/UTF_8.java (Decoder): Now package-private.
	(Encoder): Likewise.
	* gnu/java/nio/charset/US_ASCII.java (Decoder): Now
	package-private.
	(Encoder): Likewise.

From-SVN: r90196
2004-11-06 22:44:47 +00:00
Richard Sandiford
28e9a3f375 re PR target/16830 (Including <sys/immu.h> with -mabi=n32 causes an error.)
PR target/16830
	* config/mips/mips.h (TARGET_CPU_CPP_BUILTINS): Don't define the
	R3000 and R4000 macros on IRIX.

From-SVN: r90195
2004-11-06 22:34:00 +00:00
Andreas Schwab
3c871f3f9a re PR target/16286 (Compile errors on altivec ops after #undef vector)
PR target/16286
	* config/rs6000/altivec.h: Replace bool by __bool and pixel by
	__pixel.

testsuite:
	* gcc.dg/pr16286.c: Also test for bool and pixel.

From-SVN: r90194
2004-11-06 20:18:55 +00:00
Joseph Myers
fccf8fc6d1 anon-struct-6.c, [...]: New tests.
* gcc.dg/anon-struct-6.c, gcc.dg/anon-struct-7.c,
	gcc.dg/anon-struct-8.c, gcc.dg/bitfld-10.c, gcc.dg/bitfld-11.c,
	gcc.dg/bitfld-12.c, gcc.dg/func-outside-1.c,
	gcc.dg/func-outside-2.c, gcc.dg/label-decl-1.c,
	gcc.dg/label-decl-2.c, gcc.dg/label-decl-3.c,
	gcc.dg/label-decl-4.c, gcc.dg/struct-empty-1.c,
	gcc.dg/struct-empty-2.c, gcc.dg/struct-empty-3.c,
	gcc.dg/struct-semi-1.c, gcc.dg/struct-semi-2.c,
	gcc.dg/struct-semi-3.c: New tests.

From-SVN: r90193
2004-11-06 20:01:42 +00:00
Eric Botcazou
d43844e2d6 Fix wrong entry.
From-SVN: r90192
2004-11-06 19:59:33 +00:00
Kazu Hirata
5bd92c6d98 * tree-ssa-copyrename.c (rename_ssa_copies): Make it static.
From-SVN: r90191
2004-11-06 19:59:19 +00:00
Ulrich Weigand
29a74354b0 2064.md ("z_int", "z_agen"): Ensure the condition matches no insns already matched by other reservations.
* config/s390/2064.md ("z_int", "z_agen"): Ensure the condition
	matches no insns already matched by other reservations.
	* config/s390/2084.md ("x_int", "x_agen"): Ensure the condition
	matches no insns already matched by other reservations.
	("x_ss"): Remove, replace by ...
	("x_cs"): ... this new reservation.  Check type instead of op_type.
	Update bypasses to use x_cs instead of x_ss.
	("x_nn"): Remove, replace by ...
	("x_other"): ... this new reservation.  Check type instead of op_type.
	Add x_other and x_branch to bypasses.
	("x_vs"): New reservation.
	* config/s390/s390.md (attribute "type"): Default according to op_type.
	("*execute"): Set type to "cs".

From-SVN: r90190
2004-11-06 19:57:41 +00:00
Eric Botcazou
a8f48325ac * g++.dg/opt/nothrow1.C: Use -42 instead of 42.
From-SVN: r90189
2004-11-06 19:47:09 +00:00
Eric Botcazou
cd27e3d811 generate-random.c (generate_random_data unsafe_state): Do not use C99 designators.
* gcc.dg/compat/generate-random.c (generate_random_data unsafe_state):
	Do not use C99 designators.

From-SVN: r90188
2004-11-06 19:28:43 +00:00
Kazu Hirata
703201ea4e fold-const.c (non_lvalue): Don't construct NON_LVALUE_EXPR if we are in GIMPLE.
* fold-const.c (non_lvalue): Don't construct NON_LVALUE_EXPR
	if we are in GIMPLE.

From-SVN: r90187
2004-11-06 19:16:59 +00:00
Eric Botcazou
e78980b724 * g++.dg/other/pragma-re-1.C (p, q): Fix type and remove cast.
From-SVN: r90185
2004-11-06 18:58:02 +00:00
Eric Botcazou
432be03772 simd-5.c: Do not XFAIL on SPARC 64-bit.
* gcc.c-torture/compile/simd-5.c: Do not XFAIL on SPARC 64-bit.
	* gcc.c-torture/execute/20020227-1.x: Likewise.
	* gcc.c-torture/execute/simd-5.x: Remove.

From-SVN: r90184
2004-11-06 18:54:40 +00:00