- 07 Mar, 2002 10 commits
-
-
* defaults.h (MODE_HAS_NANS, MODE_HAS_INFINITIES): New. (MODE_HAS_SIGNED_ZEROS, MODE_HAS_SIGN_DEPENDENT_ROUNDING): New. * flags.h (HONOR_NANS, HONOR_INFINITIES, HONOR_SIGNED_ZEROS): New. (HONOR_SIGN_DEPENDENT_ROUNDING): New. * builtins.c (expand_builtin_mathfn): Use HONOR_NANS. * c-common.c (truthvalue_conversion): Reduce x - y != 0 to x != y unless x and y could be infinite. (expand_unordered_cmp): New, mostly split from expand_tree_builtin. Check that the common type of both arguments is a real, even for targets without unordered comparisons. Allow an integer argument to be compared against a real. (expand_tree_builtin): Use expand_unordered_cmp. * combine.c (combine_simplify_rtx): Use the new HONOR_... macros. * cse.c (fold_rtx): Likewise. Fix indentation. * fold-const.c (fold_real_zero_addition_p): New. (fold): Use it, and the new HONOR_... macros. * ifcvt.c (noce_try_minmax): Use the new HONOR_... macros. * jump.c (reversed_comparison_code_parts): After searching for the true comparison mode, use HONOR_NANS to decide whether it can be safely reversed. (reverse_condition_maybe_unordered): Remove IEEE check. * simplify-rtx.c (simplify_binary_operation): Use the new macros to decide which simplifications are valid. Allow the following simplifications for IEEE: (-a + b) to (b - a), (a + -b) to (a - b), and (a - -b) to (a + b). (simplify_relational_operation): Use HONOR_NANS. * doc/tm.texi: Document the MODE_HAS_... macros. From-SVN: r50401
Richard Sandiford committed -
* combine.c (simplify_comparison): If simplifying a logical shift right and compare with constant, force the comparison to unsigned. From-SVN: r50400
Richard Earnshaw committed -
From-SVN: r50399
Richard Earnshaw committed -
From-SVN: r50398
GCC Administrator committed -
2002-03-06 Benjamin Kosnik <bkoz@redhat.com> Stephen M. Webb <stephen.webb@bregmasoft.com> * include/bits/stl_tree.h (_S_rb_tree_red): Make enum. (_S_rb_tree_black): Make enum. Clean. Format. * include/bits/stl_bvector.h (__WORD_BIT): To _M_word_bit, enum. * include/bits/stl_algo.h (__stl_chunk_size): _M_chunk_size, enum. (__stl_threshold): _M_threshold, enum. * src/stl-inst.cc: Same. * config/linker-map.gnu: Remove. * testsuite/23_containers/vector_bool.cc: New. Co-Authored-By: Stephen M. Webb <stephen.webb@bregmasoft.com> From-SVN: r50393
Benjamin Kosnik committed -
2002-03-07 Aldy Hernandez <aldyh@redhat.com> * doc/invoke.texi: Add documentation for -mabi=no-altivec. * config/rs6000/rs6000.c (rs6000_parse_abi_options): Add -mabi=no-altivec (alt_reg_names): Remove % for vrsave. From-SVN: r50392
Aldy Hernandez committed -
* java/net/natPlainSocketImpl.cc (_Jv_recv): Removed. (read): Call recv() directly, not _Jv_recv(). From-SVN: r50391
Bryce McKinlay committed -
From-SVN: r50387
Richard Henderson committed -
* genemit.c (gen_exp): New argument used. Invoke copy_rtx if used indicates we've already emitted one copy of an operand. (gen_insn, gen_expand, output_add_clobbers): Supply a null used. (gen_split): Supply a non-null used. From-SVN: r50386
Richard Henderson committed -
splay-tree.c (splay_tree_xmalloc_allocate, [...]): Use K&R-style definitions, not prototyped definitions. * splay-tree.c (splay_tree_xmalloc_allocate, splay_tree_xmalloc_deallocate): Use K&R-style definitions, not prototyped definitions. Mark `data' arguments as unused. From-SVN: r50384
Jim Blandy committed
-
- 06 Mar, 2002 27 commits
-
-
* java/io/natFileDescriptorEcos.cc (init): Don't use GetStdHandle. * java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD is negative. (init): Don't use GetStdHandle. From-SVN: r50383
Tom Tromey committed -
* include/config.h.in: Rebuilt. * configure: Rebuilt. * Makefile.in: Rebuilt. From-SVN: r50381
Tom Tromey committed -
* reload1.c (reload): Unshare all rtl after reload is done. * simplify-rtx.c (simplify_plus_minus): Do not abort, but simply fail if the expression is too complex to simplify. (simplify_gen_binary): Handle simplify_plus_minus failures. From-SVN: r50380
Ulrich Weigand committed -
2002-03-06 Adam Megacz <adam@xwt.org> * java/io/FileDescriptor.java: Initialize in/out/err in init(). * java/io/natFileDescriptorWin32.cc (init()): Added function. * java/io/natFileDescriptorPosix.cc (init()): Added function. * java/io/natFileDescriptorEcos.cc (init()): Added function. From-SVN: r50378
Adam Megacz committed -
2002-03-06 Phil Edwards <pme@gcc.gnu.org> * docs/doxygen/user.cfg.in: Also document deprecated entries. * docs/html/Makefile: Example rule to rebuild porting-howto.html. * docs/html/17_intro/howto.html: "gcc"->"GCC" changes, when referring to the collection as a whole. New section on which macros can be redefined by the user. * docs/html/19_diagnostics/howto.html: Update note for concepts. * docs/html/20_util/howto.html: Update link to SGI. * docs/html/faq/index.html: Update snapshot versions. New entry on why g++ (but not gcc) must currently predefine certain macros. * docs/html/faq/index.txt: Regenerated. * include/bits/basic_string.h (basic_string::_S_construct): Fix names in declaration. (basic_string::compare): These are no longer optional. * include/bits/ostream.tcc: Tweak closing brace placement. * include/bits/stl_algo.h: Lots of initial doxygen comment hooks. * include/std/std_sstream.h: Fix typo in comment. * include/bits/locale_facets.tcc: Remove unneeded header inclusion. * src/locale.cc: Likewise. From-SVN: r50376
Phil Edwards committed -
2002-03-06 Phil Edwards <pme@gcc.gnu.org> PR libstdc++/5734 * include/bits/stl_vector.h (vector::push_back()): Guard with _GLIBCPP_DEPRECATED. From-SVN: r50375
Phil Edwards committed -
* ssa-ccp.c (ssa_fast_dce): Update the DF def-use chains after completing fast dead code elimination. From-SVN: r50374
Jeff Law committed -
* toplev.c (rest_of_compilation): Do jump threading before SSA path; consistently call delete_trivially_dead_insns after CSE and GCSE; fix DFI_life dumping; do jump threading after liveness; do crossjumping after liveness2; update comment in last crossjumping. * cfgcleanup.c (try_crossjump_to_edge): Dirtify block. From-SVN: r50373
Jan Hubicka committed -
* m68k.h (CONST_COSTS): Lower cost of 0.0 when used inside a COMPARE operator. From-SVN: r50372
Jeff Law committed -
From-SVN: r50371
Eric Blake committed -
2002-03-04 Eric Blake <ebb9@email.byu.edu> * scripts/unicode-decomp.pl: Move from chartables.pl, and remove the code for generating include/java-chartables.h. * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and merge with Classpath. * scripts/unicode-muncher.pl: Copy from Classpath. * scritps/MakeCharTables.java: New file. * gnu/gcj/convert/Blocks-3.txt: New file. * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file. * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file. * gnu/java/lang/CharData.java: Copy from Classpath. * Makefile.am (ordinary_java_source_files): Add gnu/java/lang/CharData.java. * configure.in: Remove --enable-fast-character option. * java/lang/Character.java: Merge algorithms and Javadoc with Classpath. * java/lang/natCharacter.cc: Implement Unicode lookup table more efficiently. * include/java-chardecomp.h: Regenerate. * include/java-chartables.h: Regenerate. From-SVN: r50368
Eric Blake committed -
2002-03-06 Phil Edwards <pme@gcc.gnu.org> * libF77/Version.c: Fix misplaced leading blanks on first line. * libI77/Version.c: Likewise. * libU77/Version.c: Likewise. From-SVN: r50367
Phil Edwards committed -
2002-03-06 Phil Edwards <pme@gcc.gnu.org> * version.c: Fix misplaced leading blanks on first line. From-SVN: r50366
Phil Edwards committed -
2002-03-06 Phil Edwards <pme@gcc.gnu.org> * include/bits/c++config: Fix misplaced leading blanks on first line. From-SVN: r50365
Phil Edwards committed -
2002-03-06 Phil Edwards <pme@gcc.gnu.org> * update_version: Don't indent the version string. From-SVN: r50364
Phil Edwards committed -
From-SVN: r50363
Jan Hubicka committed -
* cfgcleanup.c (mentions_nonequal_regs): New function. (thread_jump): Use it. * toplev.c (rest_of_compilation): Run jump threading after liveness. From-SVN: r50361
Jan Hubicka committed -
* ssa-ccp.c (ssa_ccp_substitute_constants): Backout 2002-03-05 patch. From-SVN: r50359
Jakub Jelinek committed -
* predict.c (estimate_bb_frequencies): Do not reload the frequencies from notes. From-SVN: r50356
Jan Hubicka committed -
* cfgrtl.c (delete_insn_and_edges, delete_insn_chain_and_edges): New. * rtl.h (delete_insn_and_edges, delete_insn_chain_and_edges): Declare * basic-block.h (update_life_info, update_life_info_in_dirty_blocks, delete_noop_moves): Return indeger. * flow.c (ndead): New variable. (propagate_block_delete_insn): Use delete_insn_and_edges; remove BB argument; update callers. (propagate_block_delete_libcall): Use delete_insn_chain_and_edges. (life_analysis): Do not call purge_all_dead_edges. (update_life_info): Return number of deleted insns; print statistics. (update_life_info_in_dirty_blocks): likewise. (delete_noop_moves): Use delete_insn_and_edges; print statistics; return number of insns deleted. * cse.c: Include timevar.h (delete_trivially_dead_insns): Kill preserve_basic_blocks argument; iterate until stabilizes; print statistics; return number of killed insns. * Makefile.in: (cse.o): Add timevar.h dependency * rtl.h (delete_trivially_dead_insns): New. * timever.def: Add TV_DELETE_TRIVIALLY_DEAD timer. * toplev.c (rest_of_compilation): Update callers. * cfgcleanup.c (try_optimize_cfg): Kill blocks. (try_optimize_cfg): Do not update liveness. (cleanup-cfg): Loop until try_optimize_cfg and dead code removal stabilizes; use delete_trivially_dead_insns. * cfgrtl.c (verify_flow_info): Sanity check outgoing edges. From-SVN: r50355
Jan Hubicka committed -
From-SVN: r50353
GCC Administrator committed -
* java/awt/MediaTracker.java: Implemented. * Makefile.am: Add MediaTracker. * Makefile.in: Rebuilt. From-SVN: r50349
Bryce McKinlay committed -
cppmain.c (setup_callbacks): Disable #pragma and #ident callbacks when processing assembly language. * cppmain.c (setup_callbacks): Disable #pragma and #ident callbacks when processing assembly language. From-SVN: r50346
Zack Weinberg committed -
From-SVN: r50345
Andrew Cagney committed -
* java/lang/natPosixProcess.cc (fail): Removed. (startProcess): Simplified error-handling. Preserve LD_LIBRARY_PATH across exec. From-SVN: r50342
Tom Tromey committed -
* pa.h (ASM_FILE_END): Define. * som.h (ASM_FILE_END): Delete. * pa.c (function_arg): Don't pass floats in general registers in indirect calls if TARGET_ELF32. From-SVN: r50341
John David Anglin committed -
From-SVN: r50339
Richard Henderson committed
-
- 05 Mar, 2002 3 commits
-
-
* jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not AbstractMethodError. From-SVN: r50337
Tom Tromey committed -
From-SVN: r50336
Danny Smith committed -
From-SVN: r50335
Danny Smith committed
-