1. 01 Mar, 2003 21 commits
  2. 28 Feb, 2003 19 commits
    • flags.h: Add flag_eliminate_unused_debug_types. · 73c68f61
              * flags.h: Add flag_eliminate_unused_debug_types.
              * toplev.c: Add flag_eliminate_unused_debug_types.
              (f_options): Add -feliminate-unused-debug-types.
              * dwarf2out.c (struct file_table): Add emitted member.
              (splice_child_die): Fix the parent pointer for the child being
              spliced.
              (lookup_filename): Maintain file_table.emitted array.  Don't
              output .file directive here.
              (maybe_emit_file): (new)
              (init_file_table): Set up file_table.emitted.
              (dwarf2out_source_line): Use maybe_emit_file.
              (dwarf2out_start_source_file): Use maybe_emit_file.
              (dwarf2out_init): Use maybe_emit_file.
              (prune_unused_types_walk_attribs): (new)
              (prune_unused_types_mark): (new)
              (prune_unused_types_walk): (new)
              (prune_unused_types_prune): (new)
              (prune_unused_types): (new)
              (dwarf2out_finish): Call prune_unused_types if
              flag_eliminate_unused_debug_types is set.
              * doc/invoke.texi (Option Summary): Add
              -feliminate-unused-debug-types.
              (Debugging Options): Likewise.
      
      From-SVN: r63588
      Scott Snyder committed
    • In gcc/: 2003-02-28 Geoffrey Keating <geoffk@apple.com> · d8fad4ea
      In gcc/:
      2003-02-28  Geoffrey Keating  <geoffk@apple.com>
      
      	* doc/invoke.texi: Change .pch to .gch.
      	* cppfiles.c (open_file_pch): Likewise.
      	* gcc.c (default_compilers): Likewise.
      
      In gcc/testsuite/:
      2003-02-28  Geoffrey Keating  <geoffk@apple.com>
      
      	* gcc.dg/pch/pch.exp: Change .pch to .gch.
      	* g++.dg/pch/pch.exp: Likewise.
      
      From-SVN: r63587
      Geoffrey Keating committed
    • floatlib.c: Remove. · 9855905c
      2003-02-28  Aldy Hernandez  <aldyh@redhat.com>
      
              * floatlib.c: Remove.
      
      From-SVN: r63586
      Aldy Hernandez committed
    • stor-layout.c (variable_size): Leave a minus 1 outside the SAVE_EXPR. · 3695c25f
              * stor-layout.c (variable_size): Leave a minus 1 outside the
              SAVE_EXPR.
      
      From-SVN: r63585
      Jason Merrill committed
    • re PR java/9695 (Inner class bug prevent GNU Classpath from compiling) · 0ea05c0d
      	PR java/9695:
      	* class.c (maybe_layout_super_class): Always pass a WFL to
      	do_resolve_class.
      	* parse.y (do_resolve_class): Updated comment to explain
      	parameters.
      
      From-SVN: r63584
      Tom Tromey committed
    • Make-lang.in (install-gnatlib): Change to ada directory before running make… · 8c108db2
      Make-lang.in (install-gnatlib): Change to ada directory before running make instead of using ada/Makefile directly.
      
      	* Make-lang.in (install-gnatlib): Change to ada directory before
      	running make instead of using ada/Makefile directly.
      
      From-SVN: r63582
      Andreas Schwab committed
    • re PR c++/9879 (ICE / endless compile with "new int[2]()") · 1cb8292f
      	PR c++/9879
      	* cp-tree.h (build_zero_init): Add parameter.
      	* decl.c (cp_finish_decl): Adjust call.
      	* init.c (build_zero_init): Add nelts parameter.  Adjust recursive
      	calls.
      	(build_default_init): Add nelts parameter.  Adjust calls to
      	build_zero_init.
      	(build_new_1): Adjust call to build_default_init.
      	* typeck2.c (process_init_constructor): Adjust call to build_zero_init.
      
      	PR c++/9879
      	* testsuite/g++.dg/init/new4.C: New test.
      
      From-SVN: r63579
      Mark Mitchell committed
    • * config/rs6000/power4.md: Add compare bypass. · f8f0e566
      From-SVN: r63575
      David Edelsohn committed
    • netbsd.h: Update copyright years. · 35501efe
      * config/netbsd.h: Update copyright years.
      (NETBSD_CPP_SPEC): Define _REENTRANT and _PTHREADS if
      -pthread is specified on the command line.
      
      From-SVN: r63573
      Jason Thorpe committed
    • loop.c (struct movable): Add insert_temp, shrink savemode. · 8f7ee471
      2003-02-28  Dale Johannesen <dalej@apple.com>
      
            * loop.c (struct movable): Add insert_temp, shrink savemode.
            (scan_loop): Accept invariants that require copying; mark as
            insert_temp.
            (combine_movables): Don't combine insert_temp movables.
            (move_movables): Insert copies for insert_temp movables.
            Don't record the info based on regno for insert_temp's.
      
      From-SVN: r63572
      Dale Johannesen committed
    • PR 9638/other · 67c2b45f
      2003-02-28  Joel Sherrill <joel@OARcorp.com>
      
      	PR 9638/other
      	* config/i386/i386.c (DEFAULT_PCC_STRUCT_RETURN): Ensure the
      	this constant defaults to 1.
      
      From-SVN: r63569
      Joel Sherrill committed
    • Makefile.tpl: Rearrange. · df0f0674
      	* Makefile.tpl: Rearrange.
      	* Makefile.in: Regenerate.
      
      From-SVN: r63567
      Nathanael Nerode committed
    • natMethod.cc (_Jv_CallAnyMethodA): Allocate a full jvalue for each argument. · a6fdf2d3
      	* java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Allocate a full
              jvalue for each argument. Simplify.
      	* testsuite/libjava.jni/calls.c (docall),
      	testsuite/libjava.jni/calls.java (longpb_f): check for argument
      	misalignment.
      
      From-SVN: r63563
      Hans Boehm committed
    • arm.md (mulhisi3, [...]): Enable for any ARMv5e processor, not just for XScale. · b8c53e96
      * arm.md (mulhisi3, mulhisi3addsi, mulhidi3adddi): Enable for any
      ARMv5e processor, not just for XScale.  Instructions are predicable.
      (mulhisi3tb, mulhisi3bt, mulhisi3tt): New patterns for ARMv5e.
      
      From-SVN: r63562
      Richard Earnshaw committed
    • h8300.md (*tst_extzv_bitqi_1_n): Accept the test of bit 7. · 3c042316
      	* config/h8300/h8300.md (*tst_extzv_bitqi_1_n): Accept the
      	test of bit 7.
      	(*tst_extzv_memqi_1_n): Likewise.
      	(a peephole2): New.
      
      From-SVN: r63558
      Kazu Hirata committed
    • Makefile.am (nat_source_files): Remove java/io/natObjectOutputStream.cc. · 4480b3dc
              * Makefile.am (nat_source_files): Remove
              java/io/natObjectOutputStream.cc.
              * Makefile.in: Regenerated.
              * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests.
              * java/io/ObjectStreamField.java (typename): New field.
              (ObjectStreamField(String, Class)): Initialize new field.
              (ObjectStreamField(String, String)): New Constructor.
              (getTypeCode): Use new field.
              (getTypeString): Use new field.
              * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal
              ObjectStreamExceptions. Remember and reset old BlockDataMode.
              Handle reading of Proxy classes. Never drain(), just write
              TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions.
              (drain): Check writeDataAsBlocks before calling writeBlockDataHeader.
              (flush): Call flush(), not just drain().
              (writeBoolean): Always use blockDataOutput.
              (writeByte): Likewise.
              (writeShort): Likewise.
              (writeChar): Likewise.
              (writeInt): Likewise.
              (writeLong): Likewise.
              (writeFloat): Likewise.
              (writeDouble): Likewise.
              (writeBytes): Likewise.
              (putfield (put(String,Object))): Throw IllegalArgumentException if
              field cannot be found.
              (putfield (write(ObjectOutput))): Remember old BlockDataMode.
              (writeArraySizeAndElements): Write byte[] in one go.
              (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise
              set BlockDataMode to false.
              (annotateProxyClass): New method.
              (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2
              (getField): No longer native.
              (getMethod): Likewise.
              (setBlockDataMode): Always drain() on switch, return old mode.
              (static): New static code block.
              * java/io/natObjectOutputStream.cc: Removed.
              * java/io/ObjectInputStream.java (getField): No longer native.
              (getMethod): Likewise.
              (readObject): Remember and reset old BlockDataMode. Track whether
              object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and
              TC_LONGSTRING.
              (defaultReadObject): Set BlockDataMode to false during readFields.
              (resolveClass): Create new SecurityManager if necessary.
              Use Class.forName() if null ClassLoader found.
              (read(byte[],int,int): Copy remaining bytes to data before calling
              readNextBlock().
              (readFields): Set and reset BlockDataMode on call_read_method.
              Catch NoSuchFieldErrors.
              (setBlockDataMode): Return old mode.
              (static): New static code block.
              * java/io/natObjectInputStream.cc (getField): Removed.
              (getMethod): Likewise.
      
      From-SVN: r63556
      Mark Wielaard committed