]> git.ipfire.org Git - thirdparty/gcc.git/log
thirdparty/gcc.git
22 years ago * builtins.c (expand_builtin): Don't expand a pure or const
sayle [Sun, 20 Apr 2003 03:11:14 +0000 (03:11 +0000)] 
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65843 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoDaily bump.
gccadmin [Sun, 20 Apr 2003 00:17:05 +0000 (00:17 +0000)] 
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65841 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoAdd my entry
jkj [Sat, 19 Apr 2003 21:30:21 +0000 (21:30 +0000)] 
Add my entry

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65834 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoChangeLog entry for part of the SCO patches.
jkj [Sat, 19 Apr 2003 21:24:12 +0000 (21:24 +0000)] 
ChangeLog entry for part of the SCO patches.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65833 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoPart 2 of the SCO port update. This is everything I have approval for.
jkj [Sat, 19 Apr 2003 21:23:20 +0000 (21:23 +0000)] 
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65832 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * java/sql/Date.java, java/sql/DriverManager.java,
tromey [Sat, 19 Apr 2003 21:17:50 +0000 (21:17 +0000)] 
* java/sql/Date.java, java/sql/DriverManager.java,
java/sql/Time.java, java/sql/Timestamp.java: New versions from
Classpath.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65831 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoPart 1 of the checkins for the SCO port update. This is the fixinclude
jkj [Sat, 19 Apr 2003 21:10:08 +0000 (21:10 +0000)] 
Part 1 of the checkins for the SCO port update. This is the fixinclude
stuff.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65830 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * Makefile.in: Rebuilt.
tromey [Sat, 19 Apr 2003 20:54:55 +0000 (20:54 +0000)] 
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65829 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2003-04-19 Scott Gilbertson <scottg@mantatest.com>
tromey [Sat, 19 Apr 2003 19:54:39 +0000 (19:54 +0000)] 
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65827 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2003-04-19 Jerry Quinn <jlquinn@optonline.net>
tromey [Sat, 19 Apr 2003 19:26:41 +0000 (19:26 +0000)] 
2003-04-19  Jerry Quinn  <jlquinn@optonline.net>

* java/math/BigInteger.java (probablePrime): New.
* java/math/BigDecimal.java (unscaledValue): New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65825 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2003-04-19 Ranjit Mathew <rmathew@hotmail.com>
tromey [Sat, 19 Apr 2003 19:08:49 +0000 (19:08 +0000)] 
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65823 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * Makefile.in: Change $(target-alias) to $(target_alias) in
kraai [Sat, 19 Apr 2003 18:57:23 +0000 (18:57 +0000)] 
* Makefile.in: Change $(target-alias) to $(target_alias) in
        comment.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65822 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2003-04-19 Scott Gilbertson <scottg@mantatest.com>
tromey [Sat, 19 Apr 2003 17:59:40 +0000 (17:59 +0000)] 
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65821 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2003-04-19 Scott Gilbertson <scottg@mantatest.com>
tromey [Sat, 19 Apr 2003 17:52:15 +0000 (17:52 +0000)] 
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65820 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * cpphash.h (struct cpp_buffer): Remove backup_to.
neil [Sat, 19 Apr 2003 16:34:33 +0000 (16:34 +0000)] 
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65819 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * README.Portability: Move to a new section and obsolete K+R
kraai [Sat, 19 Apr 2003 15:53:44 +0000 (15:53 +0000)] 
* README.Portability: Move to a new section and obsolete K+R
portability issues.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65818 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * rtlanal.c (subreg_offset_representable_p): Fix call of
hubicka [Sat, 19 Apr 2003 12:57:36 +0000 (12:57 +0000)] 
* rtlanal.c (subreg_offset_representable_p):  Fix call of
subreg_lowpart.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65817 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * cpphash.h (struct cpp_reader): New member warned_dollar.
neil [Sat, 19 Apr 2003 11:59:44 +0000 (11:59 +0000)] 
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65816 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoInstall proper version.
kenner [Sat, 19 Apr 2003 11:57:59 +0000 (11:57 +0000)] 
Install proper version.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65815 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * calls.c (expand_call): Provide init for old_stack_pointer_delta.
kenner [Sat, 19 Apr 2003 11:56:13 +0000 (11:56 +0000)] 
* calls.c (expand_call): Provide init for old_stack_pointer_delta.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65814 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * doc/invoke.texi (-fprofile-arcs): Mention -lgcov, locking and
nathan [Sat, 19 Apr 2003 11:43:31 +0000 (11:43 +0000)] 
* doc/invoke.texi (-fprofile-arcs): Mention -lgcov, locking and
fork behaviour.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65813 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * g++.dg/other/stdbool-if.C: Remove.
neil [Sat, 19 Apr 2003 10:40:06 +0000 (10:40 +0000)] 
* g++.dg/other/stdbool-if.C: Remove.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65812 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * cppexp.c (eval_token): Permit true and false even if pedantic.
neil [Sat, 19 Apr 2003 10:04:47 +0000 (10:04 +0000)] 
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65811 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * cpplex.c (skip_whitespace): Rearrange to avoid stage1 ICE.
neil [Sat, 19 Apr 2003 07:56:41 +0000 (07:56 +0000)] 
* cpplex.c (skip_whitespace): Rearrange to avoid stage1 ICE.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65810 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * skip_whitespace: Rearrange to avoid stage1 ICE.
neil [Sat, 19 Apr 2003 07:41:15 +0000 (07:41 +0000)] 
* skip_whitespace: Rearrange to avoid stage1 ICE.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65809 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * cppfiles.c (ENABLE_VALGRIND_CHECKING, VALGRIND_DISCARD,
neil [Sat, 19 Apr 2003 00:22:51 +0000 (00:22 +0000)] 
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65808 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoDaily bump.
gccadmin [Sat, 19 Apr 2003 00:17:04 +0000 (00:17 +0000)] 
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65807 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoAdd missing ChangeLog from 3/19/03
kenner [Fri, 18 Apr 2003 23:03:19 +0000 (23:03 +0000)] 
Add missing ChangeLog from 3/19/03

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65800 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * unwind-dw2-fde.c (__register_frame_info_bases): Check for
kenner [Fri, 18 Apr 2003 22:43:28 +0000 (22:43 +0000)] 
* unwind-dw2-fde.c (__register_frame_info_bases): Check for
null begin parameter (as well as pointer to null).
(__deregister_frame_info_bases): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65799 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * function.c (purge_addressof_1): For ADDRESSOF, see if SUB is a
kenner [Fri, 18 Apr 2003 22:39:23 +0000 (22:39 +0000)] 
* function.c (purge_addressof_1): For ADDRESSOF, see if SUB is a
hard or virtual register and copy into pseudo if replacement fails.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65798 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * cfgcleanup.c (flow_find_cross_jump): Use INSN_P,not active_insn_p.
kenner [Fri, 18 Apr 2003 22:34:20 +0000 (22:34 +0000)] 
* cfgcleanup.c (flow_find_cross_jump): Use INSN_P,not active_insn_p.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65797 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * expmed.c (mask_rtx): Avoid undefined shifts for BITSIZE of 0.
kenner [Fri, 18 Apr 2003 22:27:18 +0000 (22:27 +0000)] 
* expmed.c (mask_rtx): Avoid undefined shifts for BITSIZE of 0.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65796 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * calls.c (expand_call): Move special case for constructor calls
kenner [Fri, 18 Apr 2003 22:20:55 +0000 (22:20 +0000)] 
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65795 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * integrate.c (expand_inline_function): Ensure non-const actuals
kenner [Fri, 18 Apr 2003 22:11:57 +0000 (22:11 +0000)] 
    * 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65794 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * dwarf2out.c (loc_descriptor_from_tree): Treat all *_MOD_EXPR
kenner [Fri, 18 Apr 2003 22:05:48 +0000 (22:05 +0000)] 
    * dwarf2out.c (loc_descriptor_from_tree): Treat all *_MOD_EXPR
        and *_DIV_EXPR as TRUNC_*_EXPR.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65793 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * cfgrtl.c (try_redirect_by_replacing_jump): Create a basic block
mmitchel [Fri, 18 Apr 2003 22:04:12 +0000 (22:04 +0000)] 
* cfgrtl.c (try_redirect_by_replacing_jump): Create a basic block
for orphaned jump tables.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65792 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * cfgrtl.c (try_redirect_by_replacing_jump): Create a basic block
mmitchel [Fri, 18 Apr 2003 22:04:10 +0000 (22:04 +0000)] 
* cfgrtl.c (try_redirect_by_replacing_jump): Create a basic block
for orphaned jump tables.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65791 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * reload1.c: Revert my previous patch on 2002-04-17.
kazu [Fri, 18 Apr 2003 20:30:24 +0000 (20:30 +0000)] 
* reload1.c: Revert my previous patch on 2002-04-17.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65790 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * doc/contrib.texi (Contributors): Prefer "bug fix" over "bugfix".
gerald [Fri, 18 Apr 2003 19:49:17 +0000 (19:49 +0000)] 
* doc/contrib.texi (Contributors): Prefer "bug fix" over "bugfix".
Add Segher Boessenkool.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65788 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago PR c/9177
gerald [Fri, 18 Apr 2003 19:39:29 +0000 (19:39 +0000)] 
PR c/9177
* c-decl.c (c_expand_body): Don't garbage collect the function
body if we are going to dump it later.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65787 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * Makefile.tpl (MAKEINFOFLAGS): Default to --split-size=5000000.
gerald [Fri, 18 Apr 2003 18:26:20 +0000 (18:26 +0000)] 
* Makefile.tpl (MAKEINFOFLAGS): Default to --split-size=5000000.
* Makefile.in: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65786 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * config/alpha/alpha.c (SYMBOL_FLAG_NEAR, SYMBOL_FLAG_SAMEGP): Remove.
rth [Fri, 18 Apr 2003 18:16:40 +0000 (18:16 +0000)] 
    * config/alpha/alpha.c (SYMBOL_FLAG_NEAR, SYMBOL_FLAG_SAMEGP): Remove.
        (alpha_end_function): Don't set them.
        (decl_in_text_section): Remove.
        (alpha_encode_section_info): Remove.
        (samegp_function_operand): Use SYMBOL_REF LOCAL_P and EXTERNAL_P.
        (direct_call_operand): Use SYMBOL_REF_DECL and compare actual
        sections, rather than decl_in_text_section results.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65785 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2003-04-18 Paolo Carlini <pcarlini@unitus.it>
paolo [Fri, 18 Apr 2003 13:55:22 +0000 (13:55 +0000)] 
2003-04-18  Paolo Carlini  <pcarlini@unitus.it>

According to 5.9 para 2 (second bullet) for pointers p, q
pointing to the same type, with  p == 0 and q == 0, (p < q)
is false.
* include/bits/fstream.tcc (close, overflow, _M_really_overflow,
seekoff): Remove redundant NULL pointer checks from tests
involving _M_out_* and _M_in_*, const qualify bool variables.
(showmanyc, pbackfail, _M_convert_to_external, imbue): Const
qualify bool variables.
* include/bits/streambuf.tcc (sbumpc, sputbackc, sungetc, sputc):
Remove redundant NULL pointer checks from tests involving
_M_out_* and _M_in_*, const qualify bool variables.
* include/std/std_fstream.h (sync): Likewise.
(_M_is_indeterminate): Const qualify bool variables.
* include/std/std_streambuf.h (sgetc, uflow): Remove redundant
NULL pointer checks from tests involving _M_out_* and _M_in_*,
const qualify bool variables.
(_M_in_cur_move, _M_out_cur_move, uflow): Const qualify bool
variables.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65783 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * rtlanal.c (reg_overlap_mentioned_p): Handle ZERO_EXTRACT
sayle [Fri, 18 Apr 2003 13:30:26 +0000 (13:30 +0000)] 
* rtlanal.c (reg_overlap_mentioned_p): Handle ZERO_EXTRACT
and SIGN_EXTRACT.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65782 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * configure.in (powerpc64*-*-linux*): Remove.
jakub [Fri, 18 Apr 2003 12:32:36 +0000 (12:32 +0000)] 
* configure.in (powerpc64*-*-linux*): Remove.
* configure: Rebuilt.
libffi/
* include/ffi.h.in (POWERPC64): Define if 64-bit.
(enum ffi_abi): Add FFI_LINUX64 on POWERPC.
Make it the default on POWERPC64.
(FFI_TRAMPOLINE_SIZE): Define to 24 on POWERPC64.
* configure.in: Change powerpc-*-linux* into powerpc*-*-linux*.
* configure: Rebuilt.
* src/powerpc/ffi.c (hidden): Define.
(ffi_prep_args_SYSV): Renamed from
ffi_prep_args.  Cast pointers to unsigned long to shut up warnings.
(NUM_GPR_ARG_REGISTERS64, NUM_FPR_ARG_REGISTERS64,
ASM_NEEDS_REGISTERS64): New.
(ffi_prep_args64): New function.
(ffi_prep_cif_machdep): Handle FFI_LINUX64 ABI.
(ffi_call): Likewise.
(ffi_prep_closure): Likewise.
(flush_icache): Surround by #ifndef POWERPC64.
(ffi_dblfl): New union type.
(ffi_closure_helper_SYSV): Use it to avoid aliasing problems.
(ffi_closure_helper_LINUX64): New function.
* src/powerpc/ppc_closure.S: Surround whole file by #ifndef
__powerpc64__.
* src/powerpc/sysv.S: Likewise.
(ffi_call_SYSV): Rename ffi_prep_args to ffi_prep_args_SYSV.
* src/powerpc/linux64.S: New file.
* src/powerpc/linux64_closure.S: New file.
* Makefile.am (EXTRA_DIST): Add src/powerpc/linux64.S and
src/powerpc/linux64_closure.S.
(TARGET_SRC_POWERPC): Likewise.

* src/ffitest.c (closure_test_fn, closure_test_fn1, closure_test_fn2,
closure_test_fn3): Fix result printing on big-endian 64-bit
machines.
(main): Print tst2_arg instead of uninitialized tst2_result.

* src/ffitest.c (main): Hide what closure pointer really points to
from the compiler.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65781 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * docs/html/17_intro/porting.texi (_GLIBCPP_USE_C99_CHECK): New macro.
ljrittle [Fri, 18 Apr 2003 09:53:58 +0000 (09:53 +0000)] 
* docs/html/17_intro/porting.texi (_GLIBCPP_USE_C99_CHECK): New macro.
(_GLIBCPP_USE_C99_DYNAMIC): New macro.
(_GLIBCPP_USE_C99_LONG_LONG_CHECK): New macro.
(_GLIBCPP_USE_C99_LONG_LONG_DYNAMIC): New macro.
* config/os/bsd/freebsd/os_defines.h (_GLIBCPP_USE_C99_CHECK):
New macro.
(_GLIBCPP_USE_C99_DYNAMIC): New macro.
(_GLIBCPP_USE_C99_LONG_LONG_CHECK): New macro.
(_GLIBCPP_USE_C99_LONG_LONG_DYNAMIC): New macro.
* include/c_std/std_cstdlib.h: Use new macros.
* include/c_std/std_cstdio.h: Use new macros.
* include/c_std/std_cwchar.h: Use new macros.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65778 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * include/c_std/std_cmath.h (C99 FP capture): Only undefine said
ljrittle [Fri, 18 Apr 2003 06:58:42 +0000 (06:58 +0000)] 
* include/c_std/std_cmath.h (C99 FP capture): Only undefine said
C99 FP macros, if actually captured.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65777 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago PR optimization/7675
ebotcazou [Fri, 18 Apr 2003 06:45:15 +0000 (06:45 +0000)] 
PR optimization/7675
* c-typeck.c (build_external_ref): Set the DECL_NONLOCAL flag
on VAR_DECL, PARM_DECL and FUNCTION_DECL from within
nested functions if they refer to declarations from parent functions.
* stmt.c (expand_decl): Don't put automatic variables in registers
if the DECL_NONLOCAL flag is set.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65774 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2003-04-17 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Fri, 18 Apr 2003 03:46:44 +0000 (03:46 +0000)] 
2003-04-17  Benjamin Kosnik  <bkoz@redhat.com>

PR libstdc++/9555
* include/bits/ostream.tcc: Catch all exceptions for formatted
output, instead of std::exception and derivatives.
* include/bits/istream.tcc: Same.
* testsuite/27_io/basic_ostream/inserters_arithmetic/char/9555-oa.cc:
* testsuite/27_io/basic_ostream/inserters_character/char/9555-oc.cc:
* testsuite/27_io/basic_ostream/inserters_other/char/9555-oo.cc:
* testsuite/27_io/basic_istream/extractors_arithmetic/char/9555-ia.cc:
* testsuite/27_io/basic_istream/extractors_character/char/9555-ic.cc:
* testsuite/27_io/basic_istream/extractors_other/char/9555-io.cc:
New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65770 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2003-04-17 Phil Edwards <pme@gcc.gnu.org>
pme [Fri, 18 Apr 2003 02:41:06 +0000 (02:41 +0000)] 
2003-04-17  Phil Edwards  <pme@gcc.gnu.org>

* include/bits/c++config:  Minor cosmetic tweaks.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65768 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * testsuite_flags.in (PCHFLAGS): Find PCH in new home.
ljrittle [Fri, 18 Apr 2003 02:03:52 +0000 (02:03 +0000)] 
* testsuite_flags.in (PCHFLAGS): Find PCH in new home.
* include/Makefile.am (pch_input): Find in ${target_builddir}.
(pch_output): Rename to...
(pch_output_builddir): ..this.  Find in ${target_builddir}.
(pch_source): Tweak.
(pch_build): Key off a built file.
(pch_output rule): Rename to...
(pch_input rule): ...this.  Produce ${pch_output_builddir}
instead of ${pch_output}.
(install-pch rule): Install ${pch_output_builddir}.
* include/Makefile.in: Regenerated.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65767 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * gcse.c (compute_ld_motion_mems): For MEM destinations, only
hp [Fri, 18 Apr 2003 01:29:19 +0000 (01:29 +0000)] 
* gcse.c (compute_ld_motion_mems): For MEM destinations, only
consider those to be movable where the source matches
want_to_gcse_p.
(update_ld_motion_stores): In comment, refer to
compute_ld_motion_mems for validity of replacement.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65766 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoDaily bump.
gccadmin [Fri, 18 Apr 2003 00:17:06 +0000 (00:17 +0000)] 
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65765 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * gcov-dump.c (tag_summary): Remove max_sum
hubicka [Thu, 17 Apr 2003 23:33:05 +0000 (23:33 +0000)] 
* gcov-dump.c (tag_summary): Remove max_sum
* gcov-io.h (gcov_summary, gcov_write_summary, gcov_read_summary): Kill
max_sum.
* libgcov.c (gcov_exit): Do one pass over the data.  Make error message
more verbose.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65758 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * emit-rtl.c (subreg_hard_regno): Check that register is representable.
hubicka [Thu, 17 Apr 2003 23:31:41 +0000 (23:31 +0000)] 
* emit-rtl.c (subreg_hard_regno):  Check that register is representable.
* reload.c (reload_inner_reg_of_subreg):  When register is not
representable, reload the whole thing.
(find_reloads): Likewsie.
* rtlanal.c (subreg_representable_p):  New function.

* profile.c (compute_branch_probabilities):  Cleanup sanity checking;
allow negative probabilities for edges from the call to exit.
(branch_prob): Do not add fake edges for functions that may return twice

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65757 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago* toplev.c (target_options): Add value field.
dj [Thu, 17 Apr 2003 23:18:58 +0000 (23:18 +0000)] 
* toplev.c (target_options): Add value field.
(set_target_switch): Handle target options with values.
* doc/tm.texi: Document how fixed vs variable target
options work.
* config/alpha/alpha.h, config/arc/arc.h, config/avr/avr.h,
config/c4x/c4x.h, config/cris/aout.h, config/cris/cris.h,
config/d30v/d30v.h, config/dsp16xx/dsp16xx.h,
config/frv/frv.h, config/i386/i386.h, config/ia64/ia64.h,
config/m32r/m32r.h, config/m68hc11/m68hc11.h,
config/m68k/m68k.h, config/m88k/m88k.h, config/mcore/mcore.h,
config/mips/mips.h, config/mmix/mmix.h, config/pa/pa.h,
config/rs6000/rs6000.h, config/rs6000/sysv4.h,
config/s390/s390.h, config/sparc/sparc.h, config/v850/v850.h:
Add value initializer to target options.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65756 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * cpppch.c (cpp_valid_state): Unconditionally initialize nl.
ljrittle [Thu, 17 Apr 2003 23:10:17 +0000 (23:10 +0000)] 
* cpppch.c (cpp_valid_state): Unconditionally initialize nl.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65755 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * reload1.c (move2add_last_cc0): New.
kazu [Thu, 17 Apr 2003 21:42:19 +0000 (21:42 +0000)] 
* reload1.c (move2add_last_cc0): New.
(reload_cse_move2add): Detect implicit sets.
(move2add_note_store): Notice a store into cc0.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65754 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2003-04-17 Roger Sayle <roger@eyesopen.com>
sayle [Thu, 17 Apr 2003 21:27:37 +0000 (21:27 +0000)] 
2003-04-17  Roger Sayle  <roger@eyesopen.com>

PR c/10375
* c-decl.c (duplicate_decls): Preserve "const" and "noreturn"
function attributes.

* cp/decl.c (duplicate_decls): Preserve "const", "noreturn"
and "nothrow" function attributes.

* f/com.c (duplicate_decls): Preserve "const" and "noreturn"
function attributes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65753 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2003-04-17 Phil Edwards <pme@gcc.gnu.org>
pme [Thu, 17 Apr 2003 21:04:05 +0000 (21:04 +0000)] 
2003-04-17  Phil Edwards  <pme@gcc.gnu.org>

* Makefile.tpl (GCC_STRAP_TARGETS):  New variable containing all the
previous bootstrap targets, plus bubblestrap, quickstrap, cleanstrap,
and restrap.
* Makefile.in:  Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65752 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agofix date in previous entry
janis [Thu, 17 Apr 2003 20:05:06 +0000 (20:05 +0000)] 
fix date in previous entry

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65749 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2003-04-17 Janis Johnson <janis187@us.ibm.com>
janis [Thu, 17 Apr 2003 20:04:32 +0000 (20:04 +0000)] 
2003-04-17  Janis Johnson  <janis187@us.ibm.com>

* doc/sourcebuild.texi (Test Suites): Document support for testing
binary compatibility (moved from testsuite/README.compat).

* testsuite/README.compat: Remove; content now in doc/sourcebuild.texi.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65748 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * config/ia64/ia64.c (ia64_in_small_data_p): Disallow strings.
rth [Thu, 17 Apr 2003 19:54:03 +0000 (19:54 +0000)] 
    * config/ia64/ia64.c (ia64_in_small_data_p): Disallow strings.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65747 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * doc/include/gpl.texi: Fix double-spacing after "MA" to match
gerald [Thu, 17 Apr 2003 16:36:06 +0000 (16:36 +0000)] 
* doc/include/gpl.texi: Fix double-spacing after "MA" to match
the one provided by the FSF.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65745 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * doc/install.texi (Binaries): Update URL and list of platforms
gerald [Thu, 17 Apr 2003 14:12:33 +0000 (14:12 +0000)] 
* doc/install.texi (Binaries): Update URL and list of platforms
provided by ftp.thewrittenword.com.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65743 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago PR c++/10347
lerdsuwa [Thu, 17 Apr 2003 14:05:54 +0000 (14:05 +0000)] 
PR c++/10347
* pt.c (type_dependent_expression_p): Handle array new.

g++.dg/template/dependent-name1.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65742 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * gcc.dg/warn-1.c (tourist_guide): New array,
amylaar [Thu, 17 Apr 2003 11:46:56 +0000 (11:46 +0000)] 
* gcc.dg/warn-1.c (tourist_guide): New array,
contains a pointer to bar.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65741 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2003-04-17 Paolo Carlini <pcarlini@unitus.it>
paolo [Thu, 17 Apr 2003 11:29:15 +0000 (11:29 +0000)] 
2003-04-17  Paolo Carlini  <pcarlini@unitus.it>

* include/std/std_streambuf.h (setp): _M_out_lim, being
the end limit of used put area, is set equal to _M_out_beg.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65740 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * config/xtensa/xtensa.c (xtensa_encode_section_info): Remove.
rth [Thu, 17 Apr 2003 11:24:04 +0000 (11:24 +0000)] 
    * config/xtensa/xtensa.c (xtensa_encode_section_info): Remove.
        (call_insn_operand): Use SYMBOL_REF_LOCAL_P.
        * config/xtensa/xtensa.md (call, call_value): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65739 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * config/v850/v850.c (print_operand): Use SYMBOL_REF_[ZST]DA.
rth [Thu, 17 Apr 2003 11:16:30 +0000 (11:16 +0000)] 
    * config/v850/v850.c (print_operand): Use SYMBOL_REF_[ZST]DA.
        (print_operand_address): Likewise.
        (ep_memory_operand): Likewise.
        (special_symbolref_operand): Likewise.
        (v850_encode_data_area): Use SYMBOL_REF_FLAGS.
        (v850_encode_section_info): Call default_encode_section_info.
        (v850_strip_name_encoding): Remove.
        * config/v850/v850.h (EXTRA_CONSTRAINT): Use SYMBOL_REF_[ZST]DA.
        (ASM_OUTPUT_LABELREF): Remove.
        (ZDA_NAME_FLAG_CHAR, ZDA_NAME_P): Remove.
        (SDA_NAME_FLAG_CHAR, SDA_NAME_P): Remove.
        (TDA_NAME_FLAG_CHAR, TDA_NAME_P): Remove.
        (ENCODED_NAME_P): Remove.
        (SYMBOL_FLAG_ZDA, SYMBOL_REF_ZDA_P): New.
        (SYMBOL_FLAG_SDA, SYMBOL_REF_SDA_P): New.
        (SYMBOL_FLAG_TDA, SYMBOL_REF_TDA_P): New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65738 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * config/stormy16/stormy16.c (xstormy16_encode_section_info): Kill.
rth [Thu, 17 Apr 2003 10:35:08 +0000 (10:35 +0000)] 
    * config/stormy16/stormy16.c (xstormy16_encode_section_info): Kill.
        * config/stormy16/stormy16.h (ASM_OUTPUT_SYMBOL_REF): Use                       SYMBOL_REF_FUNCTION_P.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65737 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * config/sparc/sparc.c (sparc_encode_section_info): Remove.
rth [Thu, 17 Apr 2003 10:31:01 +0000 (10:31 +0000)] 
    * config/sparc/sparc.c (sparc_encode_section_info): Remove.
        (data_segment_operand): Use SYMBOL_REF_FUNCTION_P.
        (text_segment_operand): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65736 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * config/sh/sh.c (gen_datalabel_ref): Don't add SH_DATALABEL_ENCODING.
rth [Thu, 17 Apr 2003 10:24:59 +0000 (10:24 +0000)] 
    * config/sh/sh.c (gen_datalabel_ref): Don't add SH_DATALABEL_ENCODING.
        (tls_symbolic_operand): Use SYMBOL_REF_TLS_MODEL.
        (legitimize_pic_address): Use SYMBOL_REF_LOCAL_P.
        (sh_encode_section_info): Remove.
        (sh_strip_name_encoding): Remove.
        * config/sh/sh.h (SH_DATALABEL_ENCODING): Remove.
        (DATALABEL_SYMNAME_P, STRIP_DATALABEL_ENCODING): Remove.
        (SH_TLS_ENCODING, TLS_SYMNAME_P, STRIP_TLS_ENCODING): Remove.
        (ASM_OUTPUT_LABELREF): Remove.
        (ASM_OUTPUT_SYMBOL_REF): Use SYMBOL_REF_FUNCTION_P.
        * config/sh/sh.md (*): Use SYMBOL_REF_LOCAL_P.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65735 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * config/s390/s390.c (SYMBOL_FLAG_ALIGN1): New.
rth [Thu, 17 Apr 2003 09:59:32 +0000 (09:59 +0000)] 
    * config/s390/s390.c (SYMBOL_FLAG_ALIGN1): New.
        (tls_model_chars): Remove.
        (larl_operand): Use SYMBOL_REF_FLAGS.
        (tls_symbolic_operand): Use SYMBOL_REF_TLS_MODEL.
        (legitimize_pic_address): Use SYMBOL_REF_LOCAL_P.
        (s390_output_mi_thunk): Likewise.
        (s390_emit_prologue): Set SYMBOL_FLAG_LOCAL as needed.
        (s390_function_profiler): Likewise.
        (s390_encode_section_info): Use default_encode_section_info
        and SYMBOL_FLAG_ALIGN1.
        (s390_strip_name_encoding): Remove.
        * config/s390/s390.h (ASM_OUTPUT_LABELREF): Remove.
        * config/s390/s390.md (call, call_value): Use SYMBOL_REF_LOCAL_P.
        (builtin_setjmp_receiver): Set SYMBOL_FLAG_LOCAL as needed.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65734 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * config/ns32k/ns32k.c (ns32k_encode_section_info): Remove.
rth [Thu, 17 Apr 2003 09:25:19 +0000 (09:25 +0000)] 
    * config/ns32k/ns32k.c (ns32k_encode_section_info): Remove.
        (global_symbolic_reference_mentioned_p): Use SYMBOL_REF_LOCAL_P.
        (print_operand_address): Likewise.

        * config/ns32k/ns32k.h (CANNOT_CHANGE_MODE_CLASS): Add CLASS argument.
        * config/ns32k/ns32k.c (expand_block_move): Don't check
        flag_unroll_loops.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65733 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * config/mcore/mcore.c (mcore_encode_section_info): Don't set
rth [Thu, 17 Apr 2003 08:57:13 +0000 (08:57 +0000)] 
    * config/mcore/mcore.c (mcore_encode_section_info): Don't set
        SYMBOL_REF_FLAG.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65732 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * rtl.h (SYMBOL_FLAG_MACH_DEP_SHIFT): New.
rth [Thu, 17 Apr 2003 08:49:53 +0000 (08:49 +0000)] 
    * rtl.h (SYMBOL_FLAG_MACH_DEP_SHIFT): New.

        * config/m32r/m32r.c (SYMBOL_FLAG_MODEL_SHIFT): New.
        (SYMBOL_REF_MODEL): New.
        (LIT_NAME_P): Move from m32r.h.
        (m32r_select_section): Remove.
        (m32r_encode_section_info): Use SYMBOL_REF_FLAGS.
        (m32r_strip_name_encoding): Remove.
        (m32r_in_small_data_p): New.
        (small_data_operand): Use SYMBOL_REF_SMALL_P.
        (addr24_operand): Use SYMBOL_REF_MODEL.
        (call26_operand): Likewise.
        (addr32_operand): Tidy.
        (m32r_print_operand): Use HOST_WIDE_INT_PRINT_HEX.
        * config/m32r/m32r.h (RODATA_SECTION_ASM_OP): Remove.
        (SDATA_SECTION_ASM_OP, SBSS_SECTION_ASM_OP): Remove.
        (READONLY_DATA_SECTION_ASM_OP): Remove.
        (EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS): Remove.
        (SDATA_SECTION_FUNCTION, SBSS_SECTION_FUNCTION): Remove.
        (TARGET_ASM_SELECT_SECTION): Remove.
        (SDATA_FLAG_CHAR, MEDIUM_FLAG_CHAR, LARGE_FLAG_CHAR): Remove.
        (SDATA_NAME_P, SMALL_NAME_P, MEDIUM_NAME_P): Remove.
        (LARGE_NAME_P, ENCODED_NAME_P): Remove.
        (ASM_OUTPUT_LABELREF): Remove.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65731 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * config/ip2k/ip2k.c (is_regfile_address): Use SYMBOL_REF_FUNCTION_P.
rth [Thu, 17 Apr 2003 07:39:56 +0000 (07:39 +0000)] 
    * config/ip2k/ip2k.c (is_regfile_address): Use SYMBOL_REF_FUNCTION_P.
        (encode_section_info): Remove.
        * config/ip2k/ip2k-protos.h: Update.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65730 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * varasm.c (default_encode_section_info): Don't set
rth [Thu, 17 Apr 2003 07:34:34 +0000 (07:34 +0000)] 
    * varasm.c (default_encode_section_info): Don't set
        SYMBOL_FLAG_EXTERNAL if not TREE_PUBLIC.
        * config/i370/i370.c (i370_encode_section_info): Remove.
        * config/i370/i370.h (CONSTANT_ADDRESS_P): Use SYMBOL_REF_EXTERNAL_P.
        (PRINT_OPERAND, PRINT_OPERAND_ADDRESS): Likewise.
        * config/i370/i370.md (movsi): Likewise.

        * config/i370/t-i370: Add missing backslash.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65728 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * doc/invoke.texi (inline-limit): Fix pasto.
ebotcazou [Thu, 17 Apr 2003 07:28:28 +0000 (07:28 +0000)] 
* doc/invoke.texi (inline-limit): Fix pasto.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65727 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * config/h8300/h8300.c (SYMBOL_FLAG_FUNCVEC_FUNCTION): New.
rth [Thu, 17 Apr 2003 07:16:15 +0000 (07:16 +0000)] 
    * config/h8300/h8300.c (SYMBOL_FLAG_FUNCVEC_FUNCTION): New.
        (small_call_insn_operand): Use it.
        (SYMBOL_FLAG_EIGHTBIT_DATA): New.
        (h8300_eightbit_constant_address_p): Use it.
        (SYMBOL_FLAG_TINY_DATA): New.
        (h8300_tiny_constant_address_p): Use it.
        (h8300_encode_label, h8300_strip_name_encoding): Remove.
        (h8300_encode_section_info): Set SYMBOL_REF_FLAGS.
        * config/h8300/h8300.h (TINY_DATA_NAME_P): Remove.
        (ASM_OUTPUT_LABELREF): Remove.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65726 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * config/frv/frv.c (symbol_ref_small_data_p): Remove. Replace
rth [Thu, 17 Apr 2003 06:50:02 +0000 (06:50 +0000)] 
    * config/frv/frv.c (symbol_ref_small_data_p): Remove.  Replace
        all users with SYMBOL_REF_SMALL_P.
        (const_small_data_p): Use SYMBOL_REF_SMALL_P.
        (frv_encode_section_info): Remove.
        (frv_strip_name_encoding): Remove.
        (frv_in_small_data_p): Merge tests from encode_section_info.
        (frv_print_operand): Use '@' not SDATA_FLAG_CHAR.
        * config/frv/frv.h (SDATA_FLAG_CHAR): Remove.
        (SDATA_NAME_P): Remove.
        (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Use SIZE not SDATA_NAME_P.
        (ASM_OUTPUT_LABELREF): Remove.
        (PRINT_OPERAND_PUNCT_VALID_P): Use '@' not SDATA_FLAG_CHAR.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65725 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * config/frv/frv.c (frv_asm_out_constructor): New.
rth [Thu, 17 Apr 2003 06:44:15 +0000 (06:44 +0000)] 
    * config/frv/frv.c (frv_asm_out_constructor): New.
        (frv_asm_out_destructor): New.
        * config/frv/frv.h (CTORS_SECTION_ASM_OP): New.
        (DTORS_SECTION_ASM_OP): New.
        (ASM_OUTPUT_CONSTRUCTOR): Remove.
        (ASM_OUTPUT_DESTRUCTOR): Remove.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65724 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * config/cris/cris.c (cris_gotless_symbol, cris_got_symbol): Use
rth [Thu, 17 Apr 2003 05:53:21 +0000 (05:53 +0000)] 
    * config/cris/cris.c (cris_gotless_symbol, cris_got_symbol): Use
        SYMBOL_REF_LOCAL_P; abort if not pic.
        (cris_encode_section_info): Remove.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65721 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * config/c4x/c4x.c (c4x_encode_section_info): Remove.
rth [Thu, 17 Apr 2003 05:08:01 +0000 (05:08 +0000)] 
    * config/c4x/c4x.c (c4x_encode_section_info): Remove.
        (c4x_T_constraint): Use SYMBOL_REF_FUNCTION_P.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65720 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * config/c4x/c4x.h (TARGET_CPU_CPP_BUILTINS): Declare
rth [Thu, 17 Apr 2003 05:07:35 +0000 (05:07 +0000)] 
    * config/c4x/c4x.h (TARGET_CPU_CPP_BUILTINS): Declare
        flag_inline_trees.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65719 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * config/avr/avr.c (avr_encode_section_info): Remove.
rth [Thu, 17 Apr 2003 04:52:57 +0000 (04:52 +0000)] 
    * config/avr/avr.c (avr_encode_section_info): Remove.
        (avr_insert_attributes): New.
        (print_operand_address): Use SYMBOL_REF_FUNCTION_P.
        (avr_assemble_integer): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65718 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2003-04-16 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Thu, 17 Apr 2003 03:27:05 +0000 (03:27 +0000)] 
2003-04-16  Benjamin Kosnik  <bkoz@redhat.com>

        * acinclude.m4 (GLIBCPP_CHECK_PCH): New.
        * aclocal.m4: Regenerated.
        * configure.in: Remove old demangler bits.
        Call pch checks.
        * configure: Regenerate.
        * config.h.in: Regenerate.
        * include/Makefile.am (allstamps): Now allstamped.
        (allcreated): Define this.
        (all-local): Use 'em.
        Conditionally define pch_build, pch_install based on
        GLIBCPP_BUILD_PCH.
        (${pch_output}): New rule.
        (install-pch): New rule.
        (install-headers): New rule.
        (install-data-local): Install headers and conditionally pch.
        * include/Makefile.in: Regenerate.
        * testsuite_flags.in (--build-cxx): Use pch file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65717 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * arc.c (arc_encode_section_info): Remove.
rth [Thu, 17 Apr 2003 01:38:28 +0000 (01:38 +0000)] 
    * arc.c (arc_encode_section_info): Remove.
        (arc_assemble_integer): Use SYMBOL_REF_FUNCTION_P.
        (arc_print_operand, arc_print_operand_address): Likewise.
        * arc.h (EXTRA_CONSTRAINT): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65716 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2003-04-16 Roger Sayle <roger@eyesopen.com>
sayle [Thu, 17 Apr 2003 01:22:51 +0000 (01:22 +0000)] 
2003-04-16  Roger Sayle  <roger@eyesopen.com>

* c-semantics.c (find_reachable_label): New function to find a
potentially reachable label in an expression.
(expand_unreachable_if_stmt): Similar to expand_if_stmt but
assumes the start of the IF_STMT is unreachable (dead) code.
(expand_unreachable_stmt): Similar to expand_stmt but assumes
the start of the statement list is unreachable (dead) code.
(genrtl_if_stmt):  If the controlling expression of the IF
is constant, use expand_unreachable_stmt for the THEN or ELSE
clause as appropriate.
(genrtl_switch_stmt):  Use expand_unreachable_stmt to expand
the body of a SWITCH statement.
(expand_stmt): The code immediately following a "return",
"break", "continue" or "goto" is unreachable.
* Makefile.in (c-semantics.o): Depend upon tree-inline.h.

* gcc.dg/Wunreachable-5.c: New test case for PR c/10175.
* gcc.c-torture/execute/medce-1.c: New test case.
* gcc.c-torture/execute/medce-2.c: New test case.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65715 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * rtl.h (MEM_ALIAS_SET): Update documentation.
rth [Thu, 17 Apr 2003 01:11:21 +0000 (01:11 +0000)] 
    * rtl.h (MEM_ALIAS_SET): Update documentation.
        * doc/rtl.texi (Special Accessors): New node.
        (SYMBOL_REF_FLAG): Note relationship with SYMBOL_REF_FLAGS.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65714 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago* reload1.c (reload_cse_noop_set_p): Return false if mode of
aoliva [Thu, 17 Apr 2003 01:07:12 +0000 (01:07 +0000)] 
* reload1.c (reload_cse_noop_set_p): Return false if mode of
SET_DEST is not the same as that returned by...
* cselib.h (cselib_reg_set_mode): ... new function.
* cselib.c (cselib_reg_set_mode): Define it.
(REG_VALUES): Document semantics of first element as set mode.
(cselib_subst_to_values): Skip first element if ELT is NULL.
(cselib_lookup): Likewise.  Insert past the first element.
(cselib_invalidate_regno): NULLify first element.
(cselib_record_set): Set first element.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65713 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoDaily bump.
gccadmin [Thu, 17 Apr 2003 00:17:04 +0000 (00:17 +0000)] 
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65712 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * configure.in (funcs, AC_CHECK_FUNCS): Add snprintf and
ghazi [Wed, 16 Apr 2003 22:42:07 +0000 (22:42 +0000)] 
* configure.in (funcs, AC_CHECK_FUNCS): Add snprintf and
vsnprintf.
* snprintf.c, vsnprintf.c: New files.
* Makefile.in (CFILES): Add snprintf.c and vsnprintf.c.
(CONFIGURED_OFILES): Add snprintf.o and vsnprintf.o.
Regenerate dependencies.

* functions.texi, configure, config.in: Regenerated.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65704 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * tree.c (skip_simple_arithmetics_at, saved_expr_p): New functions.
kenner [Wed, 16 Apr 2003 21:33:19 +0000 (21:33 +0000)] 
    * tree.c (skip_simple_arithmetics_at, saved_expr_p): New functions.
        (save_expr): Replace loop by call to skip_simple_arithmetics_at.
        * tree.h: Add prototypes for the two new functions.
        * fold-const.c (fold_binary_op_with_conditional_arg): Replace test
        updates introduced in the previous revision by call to saved_expr_p.
        * stor-layout.c (put_pending_size): Use skip_simple_arithmetics_at.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65702 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * expr.c (store_field): Force usage of bitfield instructions when
kenner [Wed, 16 Apr 2003 21:30:35 +0000 (21:30 +0000)] 
    * expr.c (store_field): Force usage of bitfield instructions when
        the field position requires it, whatever SLOW_UNALIGNED_ACCESS.
        (expand_expr, case BIT_FIELD_REF): likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65701 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago PR middle-end/8866
mmitchel [Wed, 16 Apr 2003 20:39:12 +0000 (20:39 +0000)] 
PR middle-end/8866
* cfgtrl.c (try_redirect_by_replacing_jump): Do not delete
jumptables.

PR middle-end/8866
* libjava.lang/PR8866.java: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65698 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * config/ia64/ia64.c (sdata_symbolic_operand): Use
rth [Wed, 16 Apr 2003 19:53:13 +0000 (19:53 +0000)] 
    * config/ia64/ia64.c (sdata_symbolic_operand): Use
        SYMBOL_REF_SMALL_P and SYMBOL_REF_LOCAL_P.
        (tls_symbolic_operand): Use SYMBOL_REF_TLS_MODEL.
        (function_operand): Use SYMBOL_REF_FUNCTION_P.
        (ia64_expand_load_address): Likewise.
        (ia64_assemble_integer): Likewise.
        (ia64_encode_section_info): Remove.
        (ia64_strip_name_encoding): Remove.
        * config/ia64/ia64.h (ENCODE_SECTION_INFO_CHAR): Remove.
        * config/ia64/sysv4.h (ASM_OUTPUT_LABELREF): Don't strip it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65697 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * config/alpha/alpha.c (SYMBOL_FLAG_NEAR, SYMBOL_FLAG_SAMEGP): New.
rth [Wed, 16 Apr 2003 19:34:02 +0000 (19:34 +0000)] 
    * config/alpha/alpha.c (SYMBOL_FLAG_NEAR, SYMBOL_FLAG_SAMEGP): New.
        (samegp_function_operand): Use SYMBOL_FLAG_SAMEGP.
        (direct_call_operand): Use SYMBOL_FLAG_NEAR.
        (local_symbolic_operand): Use SYMBOL_REF_LOCAL_P.
        (small_symbolic_operand): Use SYMBOL_REF_SMALL_P.
        (global_symbolic_operand): Similarly.
        (tls_symbolic_operand_1): Use SYMBOL_REF_TLS_MODEL.
        (tls_symbolic_operand_type): Likewise.
        (alpha_encode_section_info): Use default_encode_section_info.
        (alpha_strip_name_encoding): Remove.
        (get_tls_get_addr): Split out from ...
        (alpha_legitimize_address): ... here.
        (alpha_emit_xfloating_libcall): Use init_one_libfunc.
        (get_some_local_dynamic_name_1): Use SYMBOL_REF_TLS_MODEL.
        (alpha_initialize_trampoline): Use init_one_libfunc.
        (alpha_setup_incoming_varargs): Mark unused parameters.
        (alpha_initial_elimination_offset): Likewise.
        (alpha_end_function): Use SYMBOL_FLAG_NEAR, SYMBOL_FLAG_SAMEGP.
        (unicosmk_unique_section): Use default_strip_name_encoding.
        (unicosmk_ssib_name, unicosmk_output_externs): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65696 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2003-04-16 Aldy Hernandez <aldyh@redhat.com>
aldyh [Wed, 16 Apr 2003 18:58:08 +0000 (18:58 +0000)] 
2003-04-16  Aldy Hernandez  <aldyh@redhat.com>

        * config.gcc: Add t-spe for eabispe.

        * config/rs6000/t-spe: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65695 138bc75d-0d04-0410-961f-82ee72b054a4