Richard Sandiford
969c6c43ac
* config/mips/mips.md: Fix comment typo.
...
From-SVN: r66420
2003-05-03 08:40:07 +00:00
Richard Sandiford
b259a9a6f7
mips.c (mips_integer_op): New structure.
...
* config/mips/mips.c (mips_integer_op): New structure.
(MIPS_MAX_INTEGER_OPS): Define.
(mips_const_insns): Use mips_build_integer to determine the number
of instructions needed to load a CONST_INT.
(move_operand): Reject compound CONST_INTs.
(mips_build_shift, mips_build_lower, mips_build_integer): New fns.
(mips_move_integer): New fn.
(mips_legitimize_const_move): Pass CONST_INTs to mips_move_integer.
(mips_legitimize_move): Only legitimize constants when moving
word or subword values.
From-SVN: r66419
2003-05-03 08:10:17 +00:00
Loren J. Rittle
d4c67b6ee3
* testsuite/thread/pthread1.cc: Remove special case for FreeBSD.
...
From-SVN: r66418
2003-05-03 07:42:22 +00:00
Matt Kraai
28068c2c91
* Makefile.in (gcov-iov.h): Use move-if-change and a stamp.
...
From-SVN: r66417
2003-05-03 05:43:34 +00:00
Tom Tromey
73cb3b5a41
re PR java/10491 (gcjh should make enclosing class a "friend" of inner classes)
...
PR java/10491:
* gjavah.c (HANDLE_INNERCLASSES_ATTRIBUTE): New macro.
(handle_inner_classes): New function.
From-SVN: r66416
2003-05-03 02:29:26 +00:00
Chris Demetriou
de7222559c
Makefile.tpl: Require "makeinfo" from texinfo 4.2 or later.
...
2003-05-02 Chris Demetriou <cgd@broadcom.com>
* Makefile.tpl: Require "makeinfo" from texinfo 4.2 or later.
* Makefile.in: Regenerate.
From-SVN: r66415
2003-05-02 18:29:54 -07:00
Tom Tromey
fcc8cecb81
re PR java/10459 (ICE with certain expressions as 3rd clause of for loop)
...
PR java/10459:
* parse.y (finish_for_loop): Do nothing if update expression is a
EXPR_WFL_NODE wrapping nothing.
(java_complete_lhs) <COMPOUND_EXPR>: Likewise.
From-SVN: r66411
2003-05-03 00:35:06 +00:00
Tom Tromey
a6f1f688a6
re PR java/10459 (ICE with certain expressions as 3rd clause of for loop)
...
PR java/10459:
* libjava.compile/pr10459_2.java: New file.
* libjava.compile/pr10459.java: New file.
From-SVN: r66410
2003-05-03 00:33:18 +00:00
Kaveh R. Ghazi
685828f786
builtins.c (expand_builtin_stpcpy): Copy `arglist' before modifying it.
...
* builtins.c (expand_builtin_stpcpy): Copy `arglist' before
modifying it.
From-SVN: r66409
2003-05-03 00:25:59 +00:00
GCC Administrator
43e9b64bf5
Daily bump.
...
From-SVN: r66407
2003-05-03 00:16:15 +00:00
Falk Hueffner
d9e95c6349
contrib.texi (Contributors): Add Zdenek Dvorak, Aldy Hernandez, and Kazu Hirata.
...
* doc/contrib.texi (Contributors): Add Zdenek Dvorak, Aldy
Hernandez, and Kazu Hirata. Update Richard Henderson.
Co-Authored-By: Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
From-SVN: r66405
2003-05-02 23:53:19 +00:00
Benjamin Kosnik
53c2acdf21
Makefile.am (CLEANFILES): Remove PCH files in target directory.
...
2003-05-02 Benjamin Kosnik <bkoz@redhat.com>
* include/Makefile.am (CLEANFILES): Remove PCH files in target
directory.
* include/Makefile.in: Regenerate.
From-SVN: r66403
2003-05-02 23:18:09 +00:00
Paolo Carlini
4571fbb1ec
std_sstream.h (str()): Tidy.
...
2003-05-02 Paolo Carlini <pcarlini@unitus.it>
* include/std/std_sstream.h (str()): Tidy.
From-SVN: r66402
2003-05-02 23:02:03 +00:00
Richard Kenner
07a0a04486
Remove myself as ARC maintainer.
...
From-SVN: r66397
2003-05-02 15:23:41 -04:00
Geoffrey Keating
b86fe7b492
rs6000.c (rs6000_attribute_table): Add 'extern' to tentative declaration.
...
* config/rs6000/rs6000.c (rs6000_attribute_table): Add 'extern'
to tentative declaration.
From-SVN: r66396
2003-05-02 18:36:50 +00:00
Nathan Myers
0992fb51ae
streambuf.tcc (__copy_streambufs): Rewrote.
...
2003-05-02 Nathan Myers <ncm@cantrip.org>
Paolo Carlini <pcarlini@unitus.it>
* include/bits/streambuf.tcc (__copy_streambufs): Rewrote.
Co-Authored-By: Paolo Carlini <pcarlini@unitus.it>
From-SVN: r66395
2003-05-02 18:35:24 +00:00
Geoffrey Keating
20bfcd6924
sysv4.h (SYMBOL_FLAG_SMALL_V4): Delete.
...
* config/rs6000/sysv4.h (SYMBOL_FLAG_SMALL_V4): Delete.
(SYMBOL_FLAG_SMALL_V4): Delete.
* config/rs6000/rs6000.c (small_data_operand): Use SYMBOL_REF_SMALL_P.
(rs6000_elf_encode_section_info): Don't set SYMBOL_FLAG_SMALL_V4.
(rs6000_elf_in_small_data_p): Add extra section names. Add
comment about TREE_PUBLIC test.
From-SVN: r66393
2003-05-02 18:32:49 +00:00
Geoffrey Keating
7454096f70
c-semantics.c (genrtl_switch_stmt, [...]): Call expand_stmt on result of expand_unreachable_stmt.
...
* c-semantics.c (genrtl_switch_stmt, genrtl_if_stmt): Call
expand_stmt on result of expand_unreachable_stmt.
From-SVN: r66392
2003-05-02 18:07:01 +00:00
Wolfgang Bangerth
96c4a00231
MAINTAINERS (GNATS only): Add Falk Hueffner.
...
2003-05-02 Wolfgang Bangerth <bangerth@dealii.org>
* MAINTAINERS (GNATS only): Add Falk Hueffner.
From-SVN: r66390
2003-05-02 10:33:48 -06:00
Jonathan Wakely
8515a6007c
basic_string.h (swap): Remove redundant template parameters from declaration of non-template member...
...
2003-05-02 Jonathan Wakely <redi@gcc.gnu.org>
* include/bits/basic_string.h (swap): Remove redundant template
parameters from declaration of non-template member function.
From-SVN: r66389
2003-05-02 16:50:53 +01:00
Gerald Pfeifer
3f4a3170f1
* doc/contrib.texi (Contributors): Add Daniel Berlin.
...
From-SVN: r66388
2003-05-02 15:27:06 +00:00
David Edelsohn
473f51b66a
{603.md,6xx.md,7450.md,7xx.md,rs64.md}: Decrease number of automata.
...
* config/rs6000/{603.md,6xx.md,7450.md,7xx.md,rs64.md}: Decrease
number of automata.
* config/rs6000/rs6000.c (symbol_ref_operand): Check
SYMBOL_REF_FUNCTION_P on AIX.
(current_file_function_operand): Same.
* config/rs6000/rs6000.md (call,call_value): Force non-function
symbol_ref into register on AIX.
From-SVN: r66385
2003-05-02 10:49:52 -04:00
Michael Koch
13a564b36d
2003-05-02 Michael Koch <konqueror@gmx.de>
...
* java/net/URI.java
(create): Doesnt throws any exceptions.
* java/net/URLConnection.java
(URLConnection): Commend added.
(getExpiration): The header field is called "expires" not
"expiration".
(getHeaderField): Merged documentation with classpath.
(getHeaderFieldInt): Likewise.
(getHeaderFieldDate): Likewise.
(getHeaderFieldKey): Likewise.
(getPermission): Likewise.
(setDefaultUseCaches): Likewise.
(setRequestProperty): Likewise.
(addRequestProperty): Likewise.
(getRequestProperty): Likewise.
(getRequestProperties): Likewise.
(setDefaultRequestProperty): Likewise.
(getDefaultRequestProperty): Likewise.
(guessContentTypeFromStream): Likewise.
(getFileNameMap): Likewise.
(setFileNameMap): Likewise.
(setDoInput): Merged implementation and documentation with classpath.
(setDoOutput): Likewise.
(setAllowUserInteraction): Likewise.
(setDefaultAllowUserInteraction): Likewise.
(setContentHandlerFactory): Made it synchronized, merged documentation
with classpath.
(guessContentTypeFromName): Renamed argument fname to filename to
match classpath, merged documentation with classpath.
From-SVN: r66384
2003-05-02 14:23:21 +00:00
Alan Modra
e79498768f
calls.c (struct arg_data): Move offset, slot_offset, size and alignment_pad to struct locate_and_pad_arg_data.
...
* calls.c (struct arg_data): Move offset, slot_offset, size and
alignment_pad to struct locate_and_pad_arg_data. Update all refs.
(initialize_argument_information): Adjust call to locate_and_pad_parm.
Delete alignment_pad var. Don't calculate slot_offset here.
(emit_library_call_value_1): Delete alignment_pad, offset and size
vars. Use struct locate_and_pad_arg_data instead. Adjust refs.
Adjust call to locate_and_pad_parm. Don't tweak arg size for
partial in-regs here. Formatting fixes.
* expr.h (struct locate_and_pad_arg_data): New struct.
(locate_and_pad_parm): Adjust declaration.
* function.c (assign_parms): Localize vars. Use "locate" instead of
other arg location vars. Don't invoke FUNCTION_ARG or
FUNCTION_INCOMING_ARG unless pretend_named is different from
named_arg. Heed MUST_PASS_IN_STACK and set up "partial" before
calling locate_and_pad_parm. Adjust locate_and_pad_parm call.
Use slot_offset for stack home of reg parms. Correct test for
parm passed in memory. Formatting fixes.
(locate_and_pad_parm): Add "partial" to params. Replace offset_ptr
arg_size_ptr and alignment pad with "locate". Set slot_offset here.
Correct initial_offset_ptr handling. Localize vars. Always pad
locate->offset even when in_regs.
From-SVN: r66383
2003-05-02 23:52:09 +09:30
Wolfgang Bangerth
5ca5a6554e
Clarify the comment before the abort we hit when a translated string contains invalid formats.
...
From-SVN: r66381
2003-05-02 07:34:52 -06:00
Kriang Lerdsuwanakij
f2ba7ecb31
* g++.dg/lookup/using5.C: Fix testcase error.
...
From-SVN: r66380
2003-05-02 12:33:30 +00:00
Michael Koch
e23c953ac1
2003-05-02 Michael Koch <konqueror@gmx.de>
...
* java/net/JarURLConnection.java
(JarURLConnection): Class documentation merged with classpath.
(getJarFileURL): Moved and documentation merged with classpath.
(getEntryName): Likewise.
(JarURLConnection): Documentation merged with classpath.
(getJarEntry): Likewise.
(getJarFile): Likewise.
* java/net/PlainDatagramSocketImpl.java:
Class documentation moved.
* java/net/URLConnection.java
(fileNameMap): Moved and documentation merged with classpath.
(factory): Likewise.
(defaultAllowUserInteraction): Likewis.
(defaultUseCaches): Likewise.
(allowUserInteraction): Likewise.
(connected): Likewise.
(url): Likewise.
(connect): Documentation merged with classpath.
(getURL): Likewise.
(getContentLength): Likewise.
(getContentType): Likewise.
(getContentEncoding): Likewise.
(getExpiration): Likewise.
(getDate): Likewise.
(getLastModified): Likewise.
(getHeaderField): Likewise.
(getContent): Likewise.
(getPermission): Likewise.
(getInputStream): Likewise.
(getOutputStream): Likewise.
(toString): Likewise.
(getDoInput): Likewise.
(getDoOutput): Likewise.
(setAllowUserInteraction): Likewise.
(getAllowUserInteraction): Likewise.
(setDefaultAllowUserInteraction): Likewise.
(getDefaultAllowUserInteraction): Likewise.
(setUseCaches): Likewise.
(getUseCaches): Likewise.
(setIfModifiedSince): Likewise.
(getIfModifiedSince): Likewise.
(setDefaultRequestProperty): Likewise.
(getDefaultRequestProperty): Likewise.
(setContentHandlerFactory): Likewise.
(setFileNameMap): Likewise.
From-SVN: r66379
2003-05-02 12:32:40 +00:00
Nathan Sidwell
6060edcbe2
Makefile.in (TREE_H): Replace location.h with input.h.
...
* Makefile.in (TREE_H): Replace location.h with input.h.
(GTFILES) Remove location.h
(gt-lists.h): Replace gt-location.h with gt-input.h
* input.h (input_filename, input_line): Remove variables.
(location_s, location_t): Move from location.h.
(input_location): New.
(input_filename, input_line): New #defines.
* location.h: Remove.
* tree.h: Replace location.h with input.h.
(input_filename, input_line): Remove.
* diagnostic.h: Replace location.h with input.h.
* gcc.h (input_filename, input_filename_length): Remove declarations.
* toplev.c (input_filename, input_line): Remove.
(input_location): Define.
(push_srcloc, pop_srcloc): Adjust.
* diagnostic.c (diagnostic_report_current_module): Adjust.
f:
* lex.c (ffelex_file_pop_): Adjust file_stack member use.
(ffelex_file_push_): Likewise.
(ffelex_hash_): Likewise.
java:
* lex.h (input_lineno): Remove declaration.
* parse-scan.y: #include input.h.
(input_filename): Remove declaration.
(input_location): Add definition.
(input_line): Remove definition.
From-SVN: r66378
2003-05-02 11:33:06 +00:00
Gerald Pfeifer
ce61bf7ba7
update_version (IGNORE_BRANCHES): Add.
...
* update_version (IGNORE_BRANCHES): Add.
(BRANCHES): Do not consider branches matching $IGNORE_BRANCHES.
From-SVN: r66377
2003-05-02 09:41:47 +00:00
Michael Koch
143f596a09
InetAddress.java: Merged class documentation with classpath.
...
2003-05-02 Michael Koch <konqueror@gmx.de>
* java/net/InetAddress.java:
Merged class documentation with classpath.
* java/net/JarURLConnection.java:
Explicitely import all used classes.
* java/net/URL.java:
Reformatting.
* java/net/ServerSocket.java,
java/net/Socket.java:
New versions from classpath.
From-SVN: r66376
2003-05-02 09:27:59 +00:00
Gerald Pfeifer
9ab94a932c
update_version: Add a trace of which branch we are currently working on.
...
* update_version: Add a trace of which branch we are currently
working on.
From-SVN: r66375
2003-05-02 09:13:52 +00:00
Nick Clifton
f8000836d3
Add xstormy16 to list of targets that has a nop instruction and hence which can...
...
Add xstormy16 to list of targets that has a nop instruction and hence which
can be tested to see if the assembler supports the --gdwarf2 switch.
From-SVN: r66374
2003-05-02 07:49:26 +00:00
Michael Koch
4b6eac52d5
2003-05-02 Michael Koch <konqueror@gmx.de>
...
* gnu/java/nio/FileChannelImpl.java
(read): New implementation.
(implRead): New methods.
(write): New implementation, call other write insteal of read method.
(implWrite): New methods.
(map): Added comment.
(transferFrom): Implemented.
(transferTo): Implemented.
(lock): Added checks to throw exceptions.
(truncate): Added check to throw exception.
* gnu/java/nio/natFileChannelImpl.cc
(implRead): New method.
(implWrite): New method.
* java/nio/ByteBuffer.java
(hashCode): Fixed comment.
(get): Fixed exception documentation.
(put): Fixed exception documentation.
* java/nio/CharBuffer.java:
Added comment for later optimizations.
From-SVN: r66373
2003-05-02 05:35:57 +00:00
Phil Edwards
c67528fe19
acconfig.h (_GLIBCPP_USE_NLS): New symbol.
...
2003-05-01 Phil Edwards <pme@gcc.gnu.org>
* acconfig.h (_GLIBCPP_USE_NLS): New symbol.
* configure.in: Move libintl.h header test...
* acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): ...to here. Gather all
the NLS-related test results into one symbol.
* src/functexcept.cc: Use it here.
* aclocal.m4, config.h.in, configure: Regenerated.
From-SVN: r66372
2003-05-02 02:53:28 +00:00
Chris Demetriou
7c1fdbe4d1
mips-abi.exp (is_meabi_config): Remove, since MEABI is no longer supported.
...
2003-05-01 Chris Demetriou <cgd@broadcom.com>
* gcc.dg/special/mips-abi.exp (is_meabi_config): Remove,
since MEABI is no longer supported. Remove all vestiges
of MEABI from the test.
From-SVN: r66370
2003-05-01 18:56:10 -07:00
Falk Hueffner
409f52d3d4
re PR target/8257 ([Alpha] frame pointer computation wrong on alpha (cross-compiler))
...
PR target/8257
* config/alpha/alpha.c (alpha_sa_mask, alpha_expand_prologue,
alpha_start_function, alpha_expand_epilogue, unicosmk_gen_dsib):
Avoid undefined shifts by making the shift operand unsigned.
From-SVN: r66367
2003-05-01 18:05:43 -07:00
DJ Delorie
57458e8a15
reload.c (find_reloads): Also check that all of a multi-reg value is in the class.
...
* reload.c (find_reloads): Also check that all of a multi-reg
value is in the class.
From-SVN: r66366
2003-05-01 20:53:45 -04:00
GCC Administrator
c4dec8d5a8
Daily bump.
...
From-SVN: r66365
2003-05-02 00:17:06 +00:00
Paolo Carlini
74843551df
sstream.tcc (overflow): Instead of calling str()...
...
2003-05-01 Paolo Carlini <pcarlini@unitus.it>
* include/bits/sstream.tcc (overflow): Instead of calling
str(), then _M_string.reserve, thus copying the contents
of the current buffer two times, just copy the latter in
a temporary, then use the 'swap trick'.
From-SVN: r66358
2003-05-02 00:14:49 +00:00
Paolo Carlini
e70b1b7788
std_sstream.h (str()): Revert the best of the previous 'improvement'...
...
2003-05-01 Paolo Carlini <pcarlini@unitus.it>
* include/std/std_sstream.h (str()): Revert the best of the
previous 'improvement', incorrect due to the COW nature of
v3 basic_string; simplify.
From-SVN: r66357
2003-05-01 23:20:33 +00:00
Paolo Carlini
f4731b64d2
streambuf.tcc (__copy_streambufs): Adjust the type of __avail to ptrdiff_t to avoid signed-unsigned warning.
...
2003-05-01 Paolo Carlini <pcarlini@unitus.it>
* include/bits/streambuf.tcc (__copy_streambufs): Adjust the
type of __avail to ptrdiff_t to avoid signed-unsigned warning.
From-SVN: r66356
2003-05-01 22:53:13 +00:00
Benjamin Kosnik
e78d8df476
abi_check.cc (check_version): Update known versions.
...
2003-05-01 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/abi_check.cc (check_version): Update known versions.
Check added symbols for version_name != base version. Add missing
symbols to incompatible list.
From-SVN: r66352
2003-05-01 22:17:23 +00:00
Tom Tromey
06b021af7b
re PR libgcj/10582 (array assignment fails in some situations)
...
PR libgcj/10582:
* verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow):
Removed.
(type::compatible): Use _Jv_IsAssignableFrom.
* java/lang/natClass.cc (iindex_mutex_initialized): Now static.
(_Jv_IsAssignableFrom): Work even when source or target class is
not prepared.
From-SVN: r66348
2003-05-01 21:36:18 +00:00
Tom Tromey
c93139b826
re PR libgcj/10582 (array assignment fails in some situations)
...
PR libgcj/10582:
* libjava.lang/assign.java: New file.
* libjava.lang/assign.out: New file.
From-SVN: r66347
2003-05-01 21:31:58 +00:00
Benjamin Kosnik
947bd823aa
acinclude.m4 (GLIBCPP_EXPORT_FLAGS): Remove -Winline.
...
2003-05-01 Benjamin Kosnik <bkoz@redhat.com>
* acinclude.m4 (GLIBCPP_EXPORT_FLAGS): Remove -Winline.
* aclocal.m4: Regenerated.
* configure: Regenerated.
From-SVN: r66345
2003-05-01 20:19:18 +00:00
Nathan Sidwell
774cb6d136
* scan.h (lineno): Revert the rename here.
...
From-SVN: r66344
2003-05-01 19:24:14 +00:00
Nathan Sidwell
561712fe49
trans.c (tree_transform, [...]): Rename lineno to input_line.
...
* trans.c (tree_transform, build_unit_elab,
set_lineno): Rename lineno to input_line.
From-SVN: r66343
2003-05-01 18:44:48 +00:00
Stan Shebs
e1a4211d22
darwin.c (darwin_encode_section_info): Call default_encode_section_info.
...
* config/darwin.c (darwin_encode_section_info): Call
default_encode_section_info.
From-SVN: r66339
2003-05-01 18:00:50 +00:00
Nathan Sidwell
3489e0614d
missed from my previous checkin
...
From-SVN: r66337
2003-05-01 17:15:23 +00:00
David Edelsohn
02ca759501
rs6000.md (define_attr "type"): Add mfjmpr.
...
* config/rs6000/rs6000.md (define_attr "type"): Add mfjmpr.
(movsi_internal1): Use new mfjmpr attribute.
(movhi_internal): Same.
(movqi_internal): Same.
(movcc_internal1): Same.
(movdi_internal64): Same.
* config/rs6000/{40x.md,603.md,6xx.md,7450.md,7xx.md,mpc.md,
power4.md,rios1.md,rios2.md,rs64.md}: Add mfjmpr.
* config/rs6000/40x.md: Add fpu_405.
* config/rs6000/power4.md: Merge power4lsu and power4disp automata
into power4misc automata. Remove extraneous parentheses.
* config/rs6000/440.md: New file.
* config/rs6000/rs6000.c (processor_target_table): Add 440,
440fp. Rename 405f to 405fp.
(function_arg_padding): Correct formatting.
(rs6000_rtx_costs): Add PROCESSOR_PPC440 cases.
From-SVN: r66336
2003-05-01 13:05:18 -04:00