Paolo Carlini
6f9106c2ec
howto.html ('LWG Issues'): Add issues 19, 90, 171, 231, 271.
...
2003-04-20 Paolo Carlini <pcarlini@unitus.it>
* docs/html/ext/howto.html ('LWG Issues'):
Add issues 19, 90, 171, 231, 271.
From-SVN: r65863
2003-04-20 22:18:49 +00:00
Neil Booth
41c32c985f
cpphash.h (NOTE_ESC_NL, [...]): Remove.
...
* cpphash.h (NOTE_ESC_NL, NOTE_ESC_SPACE_NL, NOTE_TRIGRAPH,
NOTE_NEWLINE): Remove.
* cpplex.c (_cpp_clean_line, _cpp_process_line_notes): Update
to handle new form of line note type.
From-SVN: r65860
2003-04-20 19:02:53 +00:00
Zack Weinberg
c6a2438aaf
target.h (encode_section_info): Add new argument carrying the RTL to be modified by the hook.
...
* target.h (encode_section_info): Add new argument carrying
the RTL to be modified by the hook.
* varasm.c (make_decl_rtl, output_constant_def): Update calls
to encode_section_info.
(default_encode_section_info): Take and use RTL argument,
don't use TREE_CST_RTL or DECL_RTL.
* output.h: Update prototype of default_encode_section_info.
* config/darwin.h (ASM_DECLARE_OBJECT_NAME)
(ASM_DECLARE_FUNCTION_NAME, ASM_OUTPUT_ALIGNED_DECL_LOCAL):
Update calls to encode_section_info.
* config/darwin.c, config/arm/arm.c, config/arm/pe.c
* config/h8300/h8300.c, config/i386/winnt.c, config/m32r/m32r.c
* config/m68hc11/m68hc11.c, config/m88k/m88k.c, config/mcore/mcore.c
* config/mips/mips.c, config/mmix/mmix.c, config/pa/pa.c
* config/romp/romp.c, config/rs6000/rs6000.c, config/s390/s390.c
* config/v850/v850.c (TARGET_ENCODE_SECTION_INFO definitions):
Take and use RTL argument, don't use TREE_CST_RTL or DECL_RTL,
except for PE dllimport/dllexport. Update calls to
default_encode_section_info.
* config/darwin-protos.h, config/arm/arm-protos.h, config/i386-protos.h:
Update prototypes.
* doc/tm.texi (TARGET_ENCODE_SECTION_INFO): Update.
From-SVN: r65859
2003-04-20 18:20:39 +00:00
John David Anglin
8c7d377fa2
pa.md (movccfp): New expander.
...
PR/8705
* pa.md (movccfp): New expander.
(setccfp0, setccfp1): Rename to movccfp0 and movccfp1, respectively.
Reverse fcmp conditions.
From-SVN: r65858
2003-04-20 17:18:03 +00:00
Paolo Carlini
5e77a35767
sstream.tcc (pbackfail): Remove redundant NULL pointer check from test involving _M_in_*.
...
2003-04-20 Paolo Carlini <pcarlini@unitus.it>
* include/bits/sstream.tcc (pbackfail): Remove redundant
NULL pointer check from test involving _M_in_*.
(overflow, seekoff, seekpos): Const qualify bool variables.
* include/std/std_sstream.h (underflow): Remove redundant
NULL pointer check from test involving _M_in_*.
(_M_really_sync): Const qualify bool variables.
* src/fstream.cc (_M_underflow_common): Remove redundant
NULL pointer check from test involving _M_in_*, const qualify
bool variables.
* include/std/std_streambuf.h (sgetc): Remove redundant
variable.
From-SVN: r65853
2003-04-20 13:54:45 +00:00
Marek Michalkiewicz
1052bb09b8
avr.md (*cmpqi_sign_extend): Handle negative values of operand 1 correctly.
...
* config/avr/avr.md (*cmpqi_sign_extend): Handle negative values
of operand 1 correctly.
From-SVN: r65850
2003-04-20 13:24:06 +00:00
Nathan Sidwell
299f79b5a0
cpplex.c (_cpp_lex_direct): Set BOL for CPP_EOF tokens.
...
.: * cpplex.c (_cpp_lex_direct): Set BOL for CPP_EOF tokens.
* gcov.c (output_lines): Don't be so fussy about going past EOF.
cp:
* cp/decl2.c (start_static_storage_duration_function): Take count
arg, don't check if it wraps round.
(generate_ctor_or_dtor_function): Add locus arg, use it.
(generate_ctor_and_dtor_functions_for_priority): Data arg is a
locus.
(finish_file): Set line numbers to past EOF for synthesized
functions.
From-SVN: r65847
2003-04-20 11:57:38 +00:00
Nathan Sidwell
de0c0e694f
re PR c++/10405 (Segfault in setup_class_bindings)
...
cp:
PR c++/10405
* search.c (lookup_field_1): Final scan goes backwards for
types, forwards for non-types.
testsuite:
PR c++/10405
* g++.dg/lookup/struct-hack1.C: New test.
From-SVN: r65846
2003-04-20 11:48:36 +00:00
Neil Booth
1613e52bdd
Makefile.in (LIBCPP_OBJS): Add cppcharset.o.
...
* Makefile.in (LIBCPP_OBJS): Add cppcharset.o.
(cppcharset.o): New target.
* c-lex.c (is_extended_char): Move to cppcharset.c.
(utf8_extend_token): Delete.
* cppcharset.c: New file.
* cpphash.h (_cpp_valid_ucn): New.
* cpplex.c (lex_identifier): Update prototype.
(continues_identifier_p): Rename forms_identifier_p. Handle UCN
escapes.
(maybe_read_ucs): Rename maybe_read_ucn. Update to use code
in cppcharset.c.
(lex_number, lex_identifier, cpp_parse_escape): Update.
(_cpp_lex_direct): Update to handle UCNs.
(cpp_avoid_paste): Don't paste to form a UCN.
testsuite:
* ucs.c: Update diagnostic messages.
From-SVN: r65845
2003-04-20 07:29:23 +00:00
Roger Sayle
0a45ec5c78
builtins.c (expand_builtin): Don't expand a pure or const built-in function if...
...
* builtins.c (expand_builtin): Don't expand a pure or const
built-in function if the result will be ignored and none of
its arguments are volatile.
From-SVN: r65843
2003-04-20 03:11:14 +00:00
GCC Administrator
4049c77a01
Daily bump.
...
From-SVN: r65841
2003-04-20 00:17:05 +00:00
Kean Johnston
ccbae82adf
Add my entry
...
From-SVN: r65834
2003-04-19 21:30:21 +00:00
Kean Johnston
16477cc5e6
ChangeLog entry for part of the SCO patches.
...
From-SVN: r65833
2003-04-19 21:24:12 +00:00
Kean Johnston
ac24fc99ac
Part 2 of the SCO port update. This is everything I have approval for.
...
There are two outstanding patches I await approval to check in.
From-SVN: r65832
2003-04-19 21:23:20 +00:00
Tom Tromey
a8ada98685
Date.java, [...]: New versions from Classpath.
...
* java/sql/Date.java, java/sql/DriverManager.java,
java/sql/Time.java, java/sql/Timestamp.java: New versions from
Classpath.
From-SVN: r65831
2003-04-19 21:17:50 +00:00
Kean Johnston
de0656cf30
Part 1 of the checkins for the SCO port update.
...
Part 1 of the checkins for the SCO port update. This is the fixinclude
stuff.
From-SVN: r65830
2003-04-19 21:10:08 +00:00
Tom Tromey
7451c1559e
Makefile.in: Rebuilt.
...
* Makefile.in: Rebuilt.
* Makefile.am (ordinary_java_source_files): Added new files.
* java/security/AlgorithmParameterGenerator.java,
java/security/AlgorithmParameters.java, java/security/Engine.java,
java/security/Identity.java, java/security/IdentityScope.java,
java/security/KeyFactory.java,
java/security/KeyPairGenerator.java, java/security/KeyStore.java,
java/security/MessageDigest.java, java/security/Policy.java,
java/security/ProtectionDomain.java,
java/security/SecureRandom.java, java/security/Security.java,
java/security/Signature.java, java/security/SignatureSpi.java,
java/security/SignedObject.java, java/security/Signer.java,
java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
java/security/spec/PSSParameterSpec.java,
java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java,
java/security/spec/RSAOtherPrimeInfo.java: New versions from
Classpath.
From-SVN: r65829
2003-04-19 20:54:55 +00:00
Scott Gilbertson
9e9e204234
XGraphics.java (XGraphics): Use new GC.create.
...
2003-04-19 Scott Gilbertson <scottg@mantatest.com>
* gnu/awt/xlib/XGraphics.java (XGraphics): Use new GC.create.
(dispose): Null metrics.
* gnu/awt/xlib/XToolkit.java (sync): Implement.
* gnu/gcj/xlib/Clip.java (dispose): Change name of native from
finalize.
(finalize): Call dispose.
* gnu/gcj/xlib/Drawable.java (gcCache): New field.
(gcCachedCount): New field.
(finalize): New method.
(putGCInCache): New method.
(getGCFromCache): New method.
* gnu/gcj/xlib/GC.java (GC): Make protected.
(clone): Get new GC from cache if possible.
(create): New static method.
(dispose): Save old GC in cache.
* gnu/gcj/xlib/natClip.cc (dispose): Check for null before
deleting.
* gnu/gcj/xlib/natGC.cc (initStructure): Call XCreateGC only if gc
is null.
* gnu/gcj/xlib/Pixmap.java (Pixmap): Use new GC.create.
* java/awt/Container.java (visitChild): Dispose gfx2 when
finished.
From-SVN: r65827
2003-04-19 19:54:39 +00:00
Jerry Quinn
afd4910af1
BigInteger.java (probablePrime): New.
...
2003-04-19 Jerry Quinn <jlquinn@optonline.net>
* java/math/BigInteger.java (probablePrime): New.
* java/math/BigDecimal.java (unscaledValue): New.
From-SVN: r65825
2003-04-19 19:26:41 +00:00
Ranjit Mathew
f1a1591b9e
File.java (getAbsolutePath): On Windows, take care of paths like "C:", "G:foo\bar", etc.
...
2003-04-19 Ranjit Mathew <rmathew@hotmail.com>
* java/io/File.java (getAbsolutePath): On Windows, take care
of paths like "C:", "G:foo\bar", etc.
(getName): Make it work correctly on Windows.
(getParent): Make it work correctly on Windows. For UNIX,
fix bug that causes "/" to be returned as the parent of "/",
instead of null as returned by Sun's JRE.
* java/io/natFileWin32.cc: Change copyright owner to FSF.
From-SVN: r65823
2003-04-19 19:08:49 +00:00
Matt Kraai
30f45f509f
Makefile.in: Change $(target-alias) to $(target_alias) in comment.
...
* Makefile.in: Change $(target-alias) to $(target_alias) in
comment.
From-SVN: r65822
2003-04-19 18:57:23 +00:00
Scott Gilbertson
1230b94d56
XGraphicsConfiguration.java (FontMetricsCache): New inner class.
...
2003-04-19 Scott Gilbertson <scottg@mantatest.com>
* gnu/awt/xlib/XGraphicsConfiguration.java (FontMetricsCache): New
inner class.
(CACHE_SIZE_PER_DISPLAY): New field
(fontMetricsCache): New field
(getXFontMetrics): Use fontMetricsCache to cache fonts. Prefer
loading ISO10646-1 fonts.
From-SVN: r65821
2003-04-19 17:59:40 +00:00
Scott Gilbertson
3b2288059d
natFont.cc (getStringWidth): Support 16-bit characters.
...
2003-04-19 Scott Gilbertson <scottg@mantatest.com>
* libjava/gnu/gcj/xlib/natFont.cc (getStringWidth): Support 16-bit
characters.
* libjava/gnu/gcj/xlib/natGC.cc (drawString): Support 16-bit
characters.
From-SVN: r65820
2003-04-19 17:52:15 +00:00
Neil Booth
6f572ac229
cpphash.h (struct cpp_buffer): Remove backup_to.
...
* cpphash.h (struct cpp_buffer): Remove backup_to.
* cpplex.c (BACKUP, get_effective_char): Die.
(_cpp_skip_block_comment): Assume '*' is location on entry.
(continues_identifier_p): Respect -fno-dollars-in-identifiers.
(IF_NEXT_IS): Update.
(_cpp_lex_direct): Don't use backup_to; look ahead directly.
From-SVN: r65819
2003-04-19 16:34:33 +00:00
Matt Kraai
ced2ad7687
README.Portability: Move to a new section and obsolete K+R portability issues.
...
* README.Portability: Move to a new section and obsolete K+R
portability issues.
From-SVN: r65818
2003-04-19 15:53:44 +00:00
Jan Hubicka
070154442e
rtlanal.c (subreg_offset_representable_p): Fix call of subreg_lowpart.
...
* rtlanal.c (subreg_offset_representable_p): Fix call of
subreg_lowpart.
From-SVN: r65817
2003-04-19 12:57:36 +00:00
Neil Booth
bced6edfc6
cpphash.h (struct cpp_reader): New member warned_dollar.
...
* cpphash.h (struct cpp_reader): New member warned_dollar.
* cpplex.c (continues_identifier_p): New function.
(parse_identifier, parse_number, parse_string): Rename lex_identifer,
lex_number and lex_string, and simplify.
(parse_slow, unescaped_terminator_p): Die.
(_cpp_lex_direct): Update.
From-SVN: r65816
2003-04-19 11:59:44 +00:00
Richard Kenner
f1d1b741e8
Install proper version.
...
From-SVN: r65815
2003-04-19 07:57:59 -04:00
Richard Kenner
a259f21876
* calls.c (expand_call): Provide init for old_stack_pointer_delta.
...
From-SVN: r65814
2003-04-19 07:56:13 -04:00
Nathan Sidwell
8555daffa5
invoke.texi (-fprofile-arcs): Mention -lgcov, locking and fork behaviour.
...
* doc/invoke.texi (-fprofile-arcs): Mention -lgcov, locking and
fork behaviour.
From-SVN: r65813
2003-04-19 11:43:31 +00:00
Neil Booth
cb4cfe5dc1
* g++.dg/other/stdbool-if.C: Remove.
...
From-SVN: r65812
2003-04-19 10:40:06 +00:00
Neil Booth
4e1f0f8e1f
cppexp.c (eval_token): Permit true and false even if pedantic.
...
* cppexp.c (eval_token): Permit true and false even if pedantic.
testsuite:
* gcc.dg/cpp/truefalse.cpp: New test.
* gcc.dg/cpp/cpp.exp: Update.
From-SVN: r65811
2003-04-19 10:04:47 +00:00
Neil Booth
bf805def61
* cpplex.c (skip_whitespace): Rearrange to avoid stage1 ICE.
...
From-SVN: r65810
2003-04-19 07:56:41 +00:00
Neil Booth
f7d151fbe1
* skip_whitespace: Rearrange to avoid stage1 ICE.
...
From-SVN: r65809
2003-04-19 07:41:15 +00:00
Neil Booth
26aea0737b
cppfiles.c (ENABLE_VALGRIND_CHECKING, [...]): Remove.
...
* cppfiles.c (ENABLE_VALGRIND_CHECKING, VALGRIND_DISCARD,
MMAP_THRESHOLD, TEST_THRESHOLD, SHOULD_MMAP): Remove.
(struct include_file): Remove fefcnt, mapped members.
(open_file, stack_include_file, _cpp_pop_file_buffer): Disable caching.
(read_include_file): Don't use mmap, terminate buffers in '\r'.
(purge_cache): Don't use munmap.
* cpphash.h (CPP_BUF_COLUMN): Update.
(lexer_state): Remove lexing_comment.
(struct _cpp_line_note): New.
(struct cpp_buffer): New members cur_note, notes_used, notes_cap,
next_line and need_line. Remove col_adjust and saved_flags.
(_cpp_process_line_notes, _cpp_clean_line, _cpp_get_fresh_line,
_cpp_skip_block_comment, scan_out_logical_line): New.
(_cpp_init_mbchar): Remove.
* cppinit.c (init_library): Remove call to _cpp_init_mbchar.
(cpp_read_main_file): Set line to 1 earlier.
(post_options): -traditional-cpp doesn't want trigraphs.
* cpplex.c (MULTIBYTE_CHARS): Remove code predicated on this.
(add_line_note, _cpp_clean_line, _cpp_process_line_notes,
_cpp_get_fresh_line): New.
(handle_newline, skip_escaped_newlines, trigraph_p,
continue_after_nul, _cpp_init_mbchar): Remove.
(get_effective_char): Update.
(_cpp_skip_block_comment): Rename from skip_block_comment, simplify.
(skip_line_comment): Simplify.
(skip_whitespace, parse_identifier, parse_slow, parse_number,
parse_string): Update.
(cpp_lex_direct): Use clean lines and process line notes. Update.
(cpp_interpret_charconst): No MULTIBYTE_CHARS.
* cpplib.c (prepare_directive_trad): Call scan_out_logical_line
directly.
(_cpp_handle_directive): Don't set saved_flags.
(run_directive, destringize_and_run, cpp_define, cpp_define_builtin,
cpp_undef, handle_assertion, cpp_push_buffer): Update.
(_cpp_pop_buffer): Free notes.
* cppmacro.c (builtin_macro, paste_tokens): \n terminate buffer.
* cpppch.c (cpp_read_state): \n terminate buffer.
* cpptrad.c (skip_escaped_newlines, handle_newline): Remove.
(copy_comment): Use _cpp_skip_block_comment.
(skip_whitespace, lex_identifier, _cpp_read_logical_line_trad):
Simplify.
(_cpp_overlay_buffer, _cpp_remove_overlay, push_replacement_text,
save_replacement_text): Update.
(scan_out_logical_line): Update to use clean lines and process
line notes.
* fix-header.c (read_scan_file): Update.
testsuite:
* gcc.dg/cpp/_Pragma4.c: Remove stray space.
* gcc.dg/cpp/trad/escaped-eof.c: Correct line number.
From-SVN: r65808
2003-04-19 00:22:51 +00:00
GCC Administrator
606c999123
Daily bump.
...
From-SVN: r65807
2003-04-19 00:17:04 +00:00
Richard Kenner
22672fc483
Add missing ChangeLog from 3/19/03
...
From-SVN: r65800
2003-04-18 19:03:19 -04:00
Douglas B Rupp
7008a11bab
unwind-dw2-fde.c (__register_frame_info_bases): Check for null begin parameter (as well as pointer to null).
...
* unwind-dw2-fde.c (__register_frame_info_bases): Check for
null begin parameter (as well as pointer to null).
(__deregister_frame_info_bases): Likewise.
From-SVN: r65799
2003-04-18 18:43:28 -04:00
Richard Kenner
34d21fe305
function.c (purge_addressof_1): For ADDRESSOF...
...
* function.c (purge_addressof_1): For ADDRESSOF, see if SUB is a
hard or virtual register and copy into pseudo if replacement fails.
From-SVN: r65798
2003-04-18 18:39:23 -04:00
Richard Kenner
dd4ff203fa
* cfgcleanup.c (flow_find_cross_jump): Use INSN_P,not active_insn_p.
...
From-SVN: r65797
2003-04-18 18:34:20 -04:00
Richard Kenner
21102f257e
* expmed.c (mask_rtx): Avoid undefined shifts for BITSIZE of 0.
...
From-SVN: r65796
2003-04-18 18:27:18 -04:00
Olivier Hainque
38afb23f55
calls.c (expand_call): Move special case for constructor calls to right place.
...
* calls.c (expand_call): Move special case for constructor calls
to right place. Ensures constructor calls used to initialize
arguments get a clean outgoing argument block for themselves.
Move check for stack deallocation completeness until after last
deallocation. Add stack_pointer_delta to set of state
variables saved and restored along with current stack_level.
From-SVN: r65795
2003-04-18 18:20:55 -04:00
Olivier Hainque
e59baa1f83
integrate.c (expand_inline_function): Ensure non-const actuals don't end up const in the caller's flow after...
...
* integrate.c (expand_inline_function): Ensure non-const actuals
don't end up const in the caller's flow after conversion to possibly
const formal type.
From-SVN: r65794
2003-04-18 18:11:57 -04:00
Vincent Celier
8dcea3f35a
dwarf2out.c (loc_descriptor_from_tree): Treat all *_MOD_EXPR and *_DIV_EXPR as TRUNC_*_EXPR.
...
* dwarf2out.c (loc_descriptor_from_tree): Treat all *_MOD_EXPR
and *_DIV_EXPR as TRUNC_*_EXPR.
From-SVN: r65793
2003-04-18 18:05:48 -04:00
Mark Mitchell
eb5b8ad452
cfgrtl.c (try_redirect_by_replacing_jump): Create a basic block for orphaned jump tables.
...
* cfgrtl.c (try_redirect_by_replacing_jump): Create a basic block
for orphaned jump tables.
From-SVN: r65792
2003-04-18 22:04:12 +00:00
Mark Mitchell
3e378f1467
cfgrtl.c (try_redirect_by_replacing_jump): Create a basic block for orphaned jump tables.
...
* cfgrtl.c (try_redirect_by_replacing_jump): Create a basic block
for orphaned jump tables.
[[Split portion of a mixed commit.]]
From-SVN: r65791.2
2003-04-18 22:04:10 +00:00
Kazu Hirata
1b0d0e8481
* reload1.c: Revert my previous patch on 2002-04-17.
...
From-SVN: r65790
2003-04-18 20:30:24 +00:00
Gerald Pfeifer
906042f559
contrib.texi (Contributors): Prefer "bug fix" over "bugfix".
...
* doc/contrib.texi (Contributors): Prefer "bug fix" over "bugfix".
Add Segher Boessenkool.
From-SVN: r65788
2003-04-18 19:49:17 +00:00
Alexander Sotirov
38a314251e
re PR c/9177 (-fdump-translation-unit: C front end deletes function_decl AST nodes and breaks debugging dumps.)
...
PR c/9177
* c-decl.c (c_expand_body): Don't garbage collect the function
body if we are going to dump it later.
From-SVN: r65787
2003-04-18 19:39:29 +00:00
Gerald Pfeifer
2f50999f20
Makefile.tpl (MAKEINFOFLAGS): Default to --split-size=5000000.
...
* Makefile.tpl (MAKEINFOFLAGS): Default to --split-size=5000000.
* Makefile.in: Regenerate.
From-SVN: r65786
2003-04-18 18:26:20 +00:00