1. 18 Sep, 2003 6 commits
    • LineNumberReader (read): Don't reset pos & limit when markPos is 0. · f5e2e1ad
      2003-09-18  David P Grove  <groved@us.ibm.com>
      
      	* java/io/LineNumberReader (read): Don't reset pos & limit when
      	markPos is 0.
      
      From-SVN: r71507
      David P Grove committed
    • [multiple changes] · 1216e03b
      2003-09-18  Dalibor Topic  <robilad@kaffe.org>
      
      	* gnu/java/rmi/rmic/Compile_gcj.java (COMPILER_ARGS): New private
      	constant.
      	(computeArguments): use computeTypicalArguments.
      
      	* gnu/java/rmi/rmic/Makefile.am (EXTRA_DIST): Add Compile_kjc.java,
      	Compile_jikes.java and RMICException.java.
      	* gnu/java/rmi/rmic/Compile_kjc.java: New file.
      	* gnu/java/rmi/rmic/Compile_jikes.java: Likewise.
      	* gnu/java/rmi/rmic/RMICException.java: Likewise.
      
      	* gnu/java/rmi/rmic/Compiler.java (getDestination): New method.
      
      	* gnu/java/rmi/rmic/CompilerProcess.java: Import java.io.InputStream.
      	(computeTypicalArguments): New method.
      	(compile): Print compiler output to System.out. Collect compiler
      	error output and use it in exception message.
      
      	* gnu/java/rmi/rmic/RMIC.java: Import java.util.Set.
      	(destination): Initialize to null.
      	(run): Replace file separator with '.' when processing class.
      	(processClass): Replace '.' with file separator when compiling
      	classes.
      	(findClass): Use SystemClassLoader to load class.
      	(generateStub): Use full class name for generated stub, that puts
      	it in right path.  Replace '.' with file separator when generating
      	stub file name. Write just the stub class name without package
      	information as class name, and constructor name. Write only
      	interface names for interfaces extending java.rmi.Remote as
      	implemented.
      	(generateSkel): Use full class name for generated skel, that puts
      	it in right path.  Replace '.' with file separator when generating
      	stub file name. Write just the stub class name without package
      	information as class name.
      
      2003-09-18  Michael Koch  <konqueror@gmx.de>
      
      	* Makefile.am (rmi_java_source_files):
      	Added gnu/java/rmi/rmic/Compile_kjc.java,
      	gnu/java/rmi/rmic/Compile_jikes.java and
      	gnu/java/rmi/rmic/RMICException.java
      	* Makefile.in: Regenerated.
      
      From-SVN: r71506
      Michael Koch committed
    • mn10300.md (andsi3, [...]): Make them set_zn. · feb297fe
      * config/mn10300/mn10300.md (andsi3, iorsi3, xorsi3,
      one_complsi2, bit-clear, bit-set, iorqi3): Make them set_zn.
      
      From-SVN: r71499
      Alexandre Oliva committed
    • tree-optimize.c (tree_rest_of_compilation): Save and restore input_location. · 5d4854c8
              * tree-optimize.c (tree_rest_of_compilation): Save and restore
              input_location.
      
              * semantics.c (expand_body): Don't save/restore input_location.
      
      From-SVN: r71498
      Richard Henderson committed
    • Daily bump. · 3b51279d
      From-SVN: r71493
      GCC Administrator committed
  2. 17 Sep, 2003 23 commits
  3. 16 Sep, 2003 11 commits
    • cfgcleanup.c (label_is_jump_target_p): Correct use of table returned by tablejump_p. · 1dd61cb4
      	* cfgcleanup.c (label_is_jump_target_p): Correct use of table
      	returned by tablejump_p.
      
      From-SVN: r71443
      Ian Lance Taylor committed
    • * dwarf2asm.c (dw2_asm_output_nstring): Add comment. · 1e290ba1
      From-SVN: r71442
      Joel Brobecker committed
    • MAINTAINERS (Write After Approval): Add myself to write after approval list. · a080d12b
             * MAINTAINERS (Write After Approval): Add myself to write after
             approval list.
      
      From-SVN: r71441
      Joel Brobecker committed
    • re PR bootstrap/12269 (Mainline failed to bootstrap on Linux/ia64) · 0c6d17ec
      
      	PR bootstrap/12269
      	* simplify-rtx.c (simplify_gen_relational): Allow the cmp_mode
      	argument to be VOIDmode, taking the mode of the comparison from
      	the operands.  Only call simplify_relational_operation if we
      	know the mode of the comparison.  Honor FLOAT_STORE_FLAG_VALUE
      	if comparison has a floating point result.  Ensure that the
      	result is always of the specified mode.
      	(simplify_replace_rtx): Simplify call to simplify_gen_relational.
      	(simplify_unary_operation): Ensure the correct mode and cmp_mode
      	are always passed to simplify_gen_relational.  Simplify NOT of
      	comparison operator in any mode, not just BImode.
      	(simplify_ternary_operation): Correct tests on the return value
      	of simplify_relational_operation to use const_true_rtx, not
      	const1_rtx.  Abort if it ever returns a non-constant result.
      
      	* cfgloopanal.c (count_strange_loop_iterations): Use the function
      	simplify_relational_operation, not simplify_gen_relational, if
      	we're only interested in constant comparisons and will ignore
      	non-constant results.
      
      From-SVN: r71439
      Roger Sayle committed
    • fold-const.c (tree_swap_operands_p): New function to determine the prefered ordering of operands. · 37af03cb
      
      	* fold-const.c (tree_swap_operands_p): New function to determine
      	the prefered ordering of operands.
      	(fold): Numerous clean-ups.  Use tree_swap_operands_p when swapping
      	operands to commutative, comparison or ternary operators.  Replace
      	uses of TREE_SET_CODE with recursive call to fold.  Remove duplicate
      	transformation of A ? B : C into !A ? C : B.
      
      From-SVN: r71438
      Roger Sayle committed
    • re PR c++/7939 (ICE on function template specialization) · ae8803a8
      	PR c++/7939
      	* typeck.c (comptypes): Don't ICE when its first argument is
      	error_mark_node.
      	(compparms): Reverse the arguments of same_type_p.
      
      	* g++.dg/template/crash11.C: New test.
      
      From-SVN: r71432
      Kriang Lerdsuwanakij committed
    • MAINTAINERS (Write After Approval): Add myself · 6cd2fc59
      From-SVN: r71427
      Dorit Naishlos committed
    • MAINTAINERS (Write After Approval): Add myself. · 49ed4fd4
      From-SVN: r71426
      Dorit Naishlos committed
    • linux.h (LINK_GCC_C_SEQUENCE_SPEC): Define. · 42df2193
      	* config/linux.h (LINK_GCC_C_SEQUENCE_SPEC): Define.
      	* config/alpha/linux.h (LINK_GCC_C_SEQUENCE_SPEC): Define.
      	* config/arm/linux-elf.h (LINK_GCC_C_SEQUENCE_SPEC): Define.
      	* config/rs6000/linux.h (LINK_GCC_C_SEQUENCE_SPEC): Define.
      	* config/rs6000/linux64.h (LINK_GCC_C_SEQUENCE_SPEC): Define.
      	* config/sh/linux.h (LINK_GCC_C_SEQUENCE_SPEC): Define.
      	* config/sparc/linux.h (LINK_GCC_C_SEQUENCE_SPEC): Define.
      	* config/sparc/linux64.h (LINK_GCC_C_SEQUENCE_SPEC): Define.
      
      From-SVN: r71425
      Jakub Jelinek committed
    • c-common.c (handle_warn_unused_result_attribute): New function. · 72954a4f
      	* c-common.c (handle_warn_unused_result_attribute): New function.
      	(c_common_attribute_table): Add warn_unused_result.
      	(c_expand_expr): Issue warning when result of inlined function
      	with warn_unused_result attribute is ignored.
      	* calls.c (expand_call): Issue warning when result of function
      	with warn_unused_result attribute is ignored.
      	* c-common.h (STMT_EXPR_WARN_UNUSED_RESULT): Define.
      	* expr.c (expr_wfl_stack): Define.
      	(expand_expr) <case EXPR_WITH_FILE_LOCATION>: If ignore,
      	pass const0_rtx as target.  Chain locations into expr_wfl_stack.
      	* tree-inline.c (expand_call_inline): Set STMT_EXPR_WARN_UNUSED_RESULT
      	bit if inlined function has warn_unused_result attribute.
      	* input.h (expr_wfl_stack): Declare.
      	* doc/extend.texi: Document warn_unused_result attribute.
      
      	* gcc.dg/attr-warn-unused-result.c: New test.
      
      Co-Authored-By: Jakub Jelinek <jakub@redhat.com>
      
      From-SVN: r71424
      Jason Merrill committed
    • Index: include/ChangeLog · c9fbef12
      2003-09-15  Andrew Cagney  <cagney@redhat.com>
      
      	* floatformat.h (floatformat_to_double): Make input buffer constant.
      	(floatformat_from_double, floatformat_is_valid): Ditto.
      
      Index: libiberty/ChangeLog
      2003-09-15  Andrew Cagney  <cagney@redhat.com>
      
      	* floatformat.c (get_field): Make "data" constant.
      	(floatformat_is_valid, floatformat_to_double): Make "from"
      	constant, fix casts.
      	(floatformat_from_double): Make "from" constant.
      
      From-SVN: r71422
      Andrew Cagney committed