1. 09 May, 2003 15 commits
    • reload1.c (reload_cse_move2add): Don't turn an implicit truncation into a… · f8a30250
      reload1.c (reload_cse_move2add): Don't turn an implicit truncation into a self-set in the narrow mode.
      
      * reload1.c (reload_cse_move2add): Don't turn an implicit
      truncation into a self-set in the narrow mode.
      
      From-SVN: r66638
      Alexandre Oliva committed
    • * arm.md (clzsi2): The CLZ instruction is predicable. · e912eadf
      From-SVN: r66637
      Richard Earnshaw committed
    • * config/xtensa/xtensa.c: Formatting. · 638db43e
      From-SVN: r66636
      Bob Wilson committed
    • tree-dump.c (dequeue_and_dump): Use CONSTRUCTOR_ELTS... · 5675294b
      
      	* tree-dump.c (dequeue_and_dump): Use CONSTRUCTOR_ELTS,
      	instead of TREE_OPERAND to access the operand of a
      	CONSTRUCTOR node.
      
      From-SVN: r66635
      Diego Novillo committed
    • PR c++/10555, c++/10576 · 88e98cfe
      	PR c++/10555, c++/10576
      	* pt.c (lookup_template_class): Handle class template with
      	multiple levels of parameters when one of the levels contain
      	errors.
      
      	* g++.dg/template/memclass1.C: New test.
      
      From-SVN: r66634
      Kriang Lerdsuwanakij committed
    • update_version (ADD_BRANCHES): Add, set to MAIN and tree-ssa-20020619-branch. · f4e12a7c
      	* update_version (ADD_BRANCHES): Add, set to MAIN and
      	tree-ssa-20020619-branch.
      	(BRANCHES): Always consider branches given by $ADD_BRANCHES.
      
      From-SVN: r66633
      Gerald Pfeifer committed
    • tree-dump.c (dequeue_and_dump): CONSTRUCTOR nodes contain only one operand. · ec0f4995
      
      	* tree-dump.c (dequeue_and_dump): CONSTRUCTOR nodes contain only
      	one operand.
      
      From-SVN: r66630
      Diego Novillo committed
    • toplev.h (warning_with_file_and_line): Don't declare. · 3c4b6438
      	* toplev.h (warning_with_file_and_line): Don't declare.
      	(error_with_file_and_line): Likewise.
      	* diagnostic.c (error_with_file_and_line): Remove.
      	(warning_with_file_and_line): Likewise.
      
      From-SVN: r66628
      Gabriel Dos Reis committed
    • c-parse.in (if_stmt_locus): New object. · 49468c8b
      	* c-parse.in (if_stmt_locus): New object.
      	(if_prefix rule): Use it.  Don't use warning_with_file_and_line.
      	(select_or_iter_stmt rule): Likewise.
      	(if_stmt_file): Remove.
      	(if_stmt_line): Likewise.
      	* jump.c: include "diagnostic.h"
      	(never_reached_warning): Don't use warning_with_file_and_line.
      	* Makefile.in (jump.o): Add dependce on diagnostic.h
      
      From-SVN: r66627
      Gabriel Dos Reis committed
    • 2003-05-09 Michael Koch <konqueror@gmx.de> · 2c478ce3
      	* gnu/java/nio/ByteBufferImpl.java
      	(nio_cast): Removed.
      	(ByteBufferImpl): Removed.
      	(nio_get_Byte): Removed.
      	(nio_put_Byte): Removed.
      	(asByteBuffer): Removed.
      	(asCharBuffer): Removed implementation and throw exception.
      	(asShortBuffer): Likewise.
      	(asIntBuffer): Likewise.
      	(asLongBuffer): Likewise.
      	(asFloatBuffer): Likewise.
      	(asDoubleBuffer): Likewise.
      	* gnu/java/nio/CharBufferImpl.java
      	(CharBufferImpl): Removed.
      	(nio_get_Byte): Removed.
      	(nio_put_Byte): Removed.
      	(asByteBuffer): Removed.
      	* gnu/java/nio/DoubleBufferImpl.java
      	(DoubleBufferImpl): Removed.
      	(nio_get_Byte): Removed.
      	(nio_put_Byte): Removed.
      	(asByteBuffer): Removed.
      	* gnu/java/nio/FloatBufferImpl.java
      	(FloatBufferImpl): Removed.
      	(nio_get_Byte): Removed.
      	(nio_put_Byte): Removed.
      	(asByteBuffer): Removed.
      	* gnu/java/nio/IntBufferImpl.java
      	(IntBufferImpl): Removed.
      	(nio_get_Byte): Removed.
      	(nio_put_Byte): Removed.
      	(asByteBuffer): Removed.
      	* gnu/java/nio/LongBufferImpl.java
      	(LongBufferImpl): Removed.
      	(nio_get_Byte): Removed.
      	(nio_put_Byte): Removed.
      	(asByteBuffer): Removed.
      	* gnu/java/nio/ShortBufferImpl.java
      	(ShortBufferImpl): Removed.
      	(nio_get_Byte): Removed.
      	(nio_put_Byte): Removed.
      	(asByteBuffer): Removed.
      	* gnu/java/nio/natByteBufferImpl.cc
      	(nio_cast): Removed.
      	(nio_get_Byte): Removed.
      	(nio_put_Byte): Removed.
      	* gnu/java/nio/natCharBufferImpl.cc
      	(nio_get_Byte): Removed.
      	(nio_put_Byte): Removed.
      
      From-SVN: r66626
      Michael Koch committed
    • 2003-05-09 Michael Koch <konqueror@gmx.de> · 44db872c
      	* java/net/JarURLConnection.java
      	(getJarEntry): Merged documentation from classpath.
      	(getJarFile): Likewise.
      	(getMainAttributes): Likewise.
      	(getAttributes): Likewise.
      	(getManifest): Likewise.
      	(getCertificates): Reformatted.
      	* java/net/URLConnection.java:
      	Little classpath merge.
      
      From-SVN: r66625
      Michael Koch committed
    • 2003-05-09 Michael Koch <konqueror@gmx.de> · d8048dc2
      	* java/io/DataOutputStream.java
      	(writeShort): Made it synchronized.
      	(writeChar): Likewise.
      	(writeInt): Likewise.
      	(writeLong): Liekwise.
      	(writeUTF): Made it synchronized, renamed argument to match classpath.
      	* java/io/InputStreamReader.java
      	(converter): Added documentation.
      	(read): Merged documentation from classpath.
      	* java/io/OutputStreamWriter.java
      	(OutputStreamWriter): Merged documentation from classpath.
      	(close): Reformatted.
      	(getEncoding): Likewise.
      	(flush): Likewise.
      	(write): Merged documentation from classpath, reformatted.
      
      From-SVN: r66624
      Michael Koch committed
    • expr.c (move_block_from_reg): Remove "size" parm. · c6b97fac
      	* expr.c (move_block_from_reg): Remove "size" parm.  Localize vars.
      	Move code handling pieces not larger than a word to..
      	* function.c (assign_parms): ..here, but use change_address instead
      	of adjust_address and operand_subword, and expand_binop instead of
      	expand_shift.  Adjust calls to move_block_from_reg.
      	* expr.h (move_block_from_reg): Update declaration.
      	(copy_blkmode_from_reg): Formatting.
      	* Makefile.in (function.o): Add $(OPTABS_H) to deps.
      	* config/alpha/alpha.c (alpha_setup_incoming_varargs): Adjust
      	move_block_from_reg calls.
      	* config/arc/arc.c (arc_setup_incoming_varargs): Likewise.
      	* config/i960/i960.c (i960_setup_incoming_varargs): Likewise.
      	* config/m32r/m32r.c (m32r_setup_incoming_varargs): Likewise.
      	* config/m88k/m88k.c (m88k_builtin_saveregsk): Likewise.
      	* config/mips/mips.c (mips_setup_incoming_varargs): Likewise.
      	* config/pa/pa.c (hppa_builtin_saveregs): Likewise.
      	* config/romp/romp.h (SETUP_INCOMING_VARARGS): Likewise.
      	* config/rs6000/rs6000.c (setup_incoming_varargs): Likewise.
      	* config/sh/sh.c (sh_builtin_saveregs): Likewise.
      
      From-SVN: r66623
      Alan Modra committed
    • Daily bump. · 8ac3815a
      From-SVN: r66621
      GCC Administrator committed
    • stormy16.c (xstormy16_expand_builtin_va_arg): Fix to handle arguments for which… · 06d22853
      stormy16.c (xstormy16_expand_builtin_va_arg): Fix to handle arguments for which MUST_PASS_IN_STACK is true (e.g....
      
      * config/stormy16/stormy16.c (xstormy16_expand_builtin_va_arg): Fix
      to handle arguments for which MUST_PASS_IN_STACK is true (e.g.,
      variable-sized types).
      (xstormy16_function_arg): New.  Pass them that way too.
      * config/stormy16/stormy16-protos.h (xstormy16_function_arg): New.
      * config/stormy16/stormy16.h (FUNCTION_ARG): Call it.
      
      From-SVN: r66619
      DJ Delorie committed
  2. 08 May, 2003 20 commits
  3. 07 May, 2003 5 commits
    • crtbegin.asm (__do_jv_register_classes): Don't forget to preserve gp. · c35b64c2
              * config/ia64/crtbegin.asm (__do_jv_register_classes): Don't
              forget to preserve gp.
              * config/ia64/crtend.asm (__do_global_ctors_au): Ditto.
      
              * config/ia64/crtbegin.asm (__do_jv_register_classes): Add missing
              .prologue directive.
              Use .skip instead of data8 for .bss section to make Intel
              Assembler (ias) happy.  Minor whitespace fixups.  Make "nop 0"
              explicit in the .mib bundles and remove the unnecessary stop
              bits.  Replace local labels with normal labels, to make ias
              happy.  Don't register __do_global_ctors_aux here, do it in
              crtend.asm instead.
      
              * config/ia64/crtend.asm [HAVE_INIT_FINI_ARRAY]: Register
              __do_global_ctors_aux in .init_array section instead of
              declaring it as a hidden global.  Replace local labels with
              ordinary labels to make ias happy.
      
      From-SVN: r66584
      David Mosberger committed
    • except.c: Revert 04-01 and 04-02 forced-unwind changes. · a944ceb9
      gcc/
              * except.c: Revert 04-01 and 04-02 forced-unwind changes.
              * flags.h, toplev.c, doc/invoke.texi: Likewise.
      
              * unwind-dw2.c (_Unwind_GetCFA): Fix ptr->int conversion warning.
              * unwind.inc (_Unwind_DeleteException): Check for null
              exception_cleanup.
      
              * unwind-sjlj.c (_Unwind_SjLj_Resume_or_Rethrow): New.
              * unwind.inc (_Unwind_Resume_or_Rethrow): New.
              * unwind.h: Declare them.
              * libgcc-std.ver (GCC_3.3): Export them.
      
      gcc/cp/
              * cfns.gperf: Comment out POSIX thread cancellation points,
              plus abort and raise.
              * cfns.h: Regenerate.
      
      gcc/testsuite/
              * g++.dg/eh/forced1.C: Expect catch-all handlers to run.
              Verify exception_cleanup not called for rethrows.
              * g++.dg/eh/forced2.C: Test that exception_cleanup is called
              when exiting catch block without rethrowing.
              * g++.dg/eh/forced3.C: New.
              * g++.dg/eh/forced4.C: New.
      
      libstdc++-v3/
              * libsupc++/eh_catch.cc (__cxa_begin_catch): Handle foreign exceptions.
              (__cxa_end_catch): Likewise.
              * libsupc++/eh_throw.cc (__cxa_rethrow): Likewise.  Use
              _Unwind_Resume_or_Rethrow.
              * libsupc++/eh_personality.cc (empty_exception_spec): New.
              (PERSONALITY_FUNCTION): Don't ignore terminate or catch-all
              for _UA_FORCE_UNWIND.  Honor empty filter spec for foreign
              exceptions.  Don't push terminate/unexpected to cxa functions.
              (__cxa_call_unexpected): Remove foreign exception fixmes.
      
      From-SVN: r66583
      Richard Henderson committed
    • Fix typo in last changelog entry. · a21d83cd
      From-SVN: r66582
      Richard Henderson committed
    • unwind-dw2.c (_Unwind_GetGR): Cast pointer to _Unwind_Ptr, not _Unwind_Word. · 9330e977
              * unwind-dw2.c (_Unwind_GetGR): Cast pointer to _Unwind_Ptr,
              not _Unwind_Word.
      
      From-SVN: r66581
      Richard Henderson committed
    • cons: New. · 79680975
      
      2003-05-07  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* testsuite/27_io/ios_base/cons: New.
      	* testsuite/27_io/ios_base/cons/assign_neg.cc: New.
      	* testsuite/27_io/ios_base/cons/copy_neg.cc: New.
      
      From-SVN: r66580
      Benjamin Kosnik committed