1. 28 Mar, 2002 14 commits
    • * checks.ads: · 8cbb664e
      	(Remove_Checks): New procedure
      
      	* checks.adb:
      	(Remove_Checks): New procedure
      
      	* exp_util.adb:
      	Use new Duplicate_Subexpr functions
      	(Duplicate_Subexpr_No_Checks): New procedure
      	(Duplicate_Subexpr_No_Checks_Orig): New procedure
      	(Duplicate_Subexpr): Restore original form (checks duplicated)
      	(Duplicate_Subexpr): Call Remove_Checks
      
      	* exp_util.ads:
      	(Duplicate_Subexpr_No_Checks): New procedure
      	(Duplicate_Subexpr_No_Checks_Orig): New procedure
      	Add 2002 to copyright notice
      
      	* sem_util.adb: Use new Duplicate_Subexpr functions
      
      	* sem_eval.adb:
      	(Eval_Indexed_Component): This is the place to call
      	Constant_Array_Ref and to replace the value. We simply merge
      	the code of this function in here, since it is now no longer
      	used elsewhere. This fixes the problem of the back end not
      	realizing we were clever enough to see that this was
      	constant.
      	(Expr_Val): Remove call to Constant_Array_Ref
      	(Expr_Rep_Val): Remove call to Constant_Array_Ref
      	Minor reformatting
      	(Constant_Array_Ref): Deal with string literals (patch
      	suggested by Zack Weinberg on the gcc list)
      
      	* exp_util.adb: Duplicate_Subexpr_No_Checks_Orig =>
      	Duplicate_Subexpr_Move_Checks.
      
      	* exp_util.ads: Duplicate_Subexpr_No_Checks_Orig =>
      	Duplicate_Subexpr_Move_Checks.
      
      	* sem_eval.adb: (Constant_Array_Ref): Verify that constant
      	value of array exists before retrieving it (it may a private
      	protected component in a function).
      
      From-SVN: r51513
      Matthew Gingell committed
    • prj-pp.adb: New file. · 792c4e74
      	* prj-pp.adb : New file.
      
      	* prj-pp.ads : New file.
      
      From-SVN: r51512
      Geert Bosch committed
    • * Makefile.in (stamp-sdefault): Fix path for Makefile. · 915e8bad
      From-SVN: r51510
      Andreas Jaeger committed
    • rtlanal.c: Include flags.h · f5eb5fd0
      	* rtlanal.c: Include flags.h
      	(may_trap_p): Do not mark FP operations if trapping
      	if !flag_trapping_math
      	* Makefile.in (rtlanal.o): Add dependency on flag.h
      	* ifcvt.c (noce_operand_ok): Avoid the lameness.
      
      From-SVN: r51508
      Jan Hubicka committed
    • Daily bump. · ac43cbb5
      From-SVN: r51507
      GCC Administrator committed
    • * misc.c (gnat_expand_expr): Move prototype. · 0840811c
      From-SVN: r51503
      Neil Booth committed
    • mips.md: Use dconst1, not 1.0, as first argument of REAL_VALUE_LDEXP. · 81b4c798
      	* mips.md: Use dconst1, not 1.0, as first argument of
      	REAL_VALUE_LDEXP.  Don't use union real_extract.
      
      From-SVN: r51502
      Zack Weinberg committed
    • parse.y (resolve_package): Initialize "decl". · c187b20e
      2002-03-28  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
      
      	* parse.y (resolve_package): Initialize "decl".
      	(lookup_package_type): Remove unused function.
      
      From-SVN: r51500
      Bryce McKinlay committed
    • re PR java/5993 (crashes on Hello World) · 2f418289
      	Fix for PR java/5993:
      	* parse.y (resolve_package): Return the decl if resolution was
      	successful. Don't special case "java.lang" and "java.lang.reflect"
      	packages. Set type_name to the merged identifier.
      	(resolved_qualified_expression_name): Print error using "name" if
      	resolve_package returns NULL_TREE.
      
      From-SVN: r51497
      Bryce McKinlay committed
    • hex.c: Add documentation. · 96adcacb
      * hex.c: Add documentation.
      (_hex_value): Provide non-ASCII empty table.
      (hex_init): Initialize the non-ASCII table.
      * functions.texi: Regenerate.
      
      From-SVN: r51496
      DJ Delorie committed
    • ostream.tcc (ostream::operator<<(_CharT)): Always allocate at least a byte. · a3ebd14d
      2002-03-27  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* include/bits/ostream.tcc (ostream::operator<<(_CharT)): Always
      	allocate at least a byte.
      
      	* testsuite/18_support/numeric_limits.cc (test_extrema): Make
      	debugger-friendly.
      	* testsuite/27_io/streambuf.cc (test07): Fix.
      	(test06): Enable.
      
      From-SVN: r51494
      Benjamin Kosnik committed
    • * java/net/PlainDatagramSocketImpl.java · 47d0866c
      	(close): Use native implementation.
      	(finalize): New method.
      
      	* java/net/PlainSocketImpl.java (finalize): New method.
      
      	* java/net/natPlainDatagramSocketImpl.cc
      	(java/io/FileDescriptor.h): Don't include.
      	(close): Implement method here.
      	(create): Don't assign fd.
      
      	* java/net/natPlainSocketImpl.cc
      	(java/io/FileDescriptor.h): Don't include.
      	(create): Don't assign fd.
      	(accept): Likewise.
      	(close): Synchronize.
      
      From-SVN: r51492
      Jeff Sturm committed
    • instantiate1.C: Use scan-assembler, not link errors. · 1b58660a
              * g++.dg/ext/instantiate1.C: Use scan-assembler, not link errors.
              * g++.dg/ext/instantiate2.C, g++.dg/ext/instantiate3.C: Likewise;
              move from g++.old-deja/g++.ext/.
      
      From-SVN: r51491
      Richard Henderson committed
    • configure.in (gcc_cv_as): Use $target_alias in directory searchs rather than $target. · 55a2ea2a
      	* configure.in (gcc_cv_as): Use $target_alias in directory searchs
      	rather than $target.  Heed program_prefix and
      	program_transform_name.  Search for gas in cross-compiler case too.
      	"test -x" rather than "test -f".
      	(gcc_cv_ld): Likewise.
      	(gcc_cv_nm): Heed program_prefix and program_transform_name.
      	(gcc_cv_objdump): Likewise.
      	* configure: Regenerate.
      
      From-SVN: r51489
      Alan Modra committed
  2. 27 Mar, 2002 26 commits