PR target/9700
* config/alpha/alpha.c (alpha_va_start): Account for
current_function_pretend_args_size in the AP offset.
* config/alpha/alpha.h (SETUP_INCOMING_VARARGS): Move out of line.
(INITIAL_ELIMINATION_OFFSET): Move out of line.
* config/alpha/alpha.c (alpha_setup_incoming_varargs): New.
(alpha_initial_elimination_offset) New.
* config/alpha/alpha-protos.h: Update.
* gcc.c-torture/execute/va-arg-23.c: New.
From-SVN: r64367
2003-03-14 Andreas Schwab <schwab@suse.de>
* configure.in: Only append to makefiles that are newly created to
avoid multiple multi-do/multi-clean rules.
* configure: Rebuilt.
From-SVN: r64363
PR optimization/8396
* tree-inline.c (initialize_inlined_parameters): Make sure the value
of read-only constant arguments is passed with the right type.
From-SVN: r64358
2003-02-14 Jeroen Frijters <jeroen@sumatra.nl>
* java/io/ObjectInputStream.java (readObject): Cleaned up the class
hierarchy loop.
(readFields(Object,ObjectStreamField[],boolean)): Changed argument
list to Object,ObjectStreamClass, moved callReadMethod code up into
readObject and added Class argument to all setXxxField calls.
(callReadMethod): Changed Class argument to ObjectStreamClass to be
consistent with ObjectOutputStream and to facilitate caching the
Method in the future.
(setBooleanField): Added Class argument.
(setByteField): Likewise.
(setCharField): Likewise.
(setDoubleField): Likewise.
(setFloatField): Likewise.
(setIntField): Likewise.
(setLongField): Likewise.
(setShortField): Likewise.
(setObjectField): Likewise.
* java/io/ObjectOutputStream.java (writeObject): Cleaned up the
class hierarchy loop.
(defaultWriteObject): Call writeFields with new argument list.
(writeFields(Object,ObjectStreamField[],boolean): Changed argument
list to Object,ObjectStreamClass, moved callWriteMethod up into
writeObject and added Class argument to all getXxxField calls.
(callWriteMethod): Added ObjectStreamClass argument to be able to
get the proper class to call getMethod on (each class can have (or
not have) its own writeObject method).
(getBooleanField): Added Class argument.
(getByteField): Likewise.
(getCharField): Likewise.
(getDoubleField): Likewise.
(getFloatField): Likewise.
(getIntField): Likewise.
(getLongField): Likewise.
(getShortField): Likewise.
(getObjectField): Likewise.
* java/io/ObjectStreamClass.java (hasReadMethod): Added method to
facilitate caching the Method object in the future.
From-SVN: r64351
* gcc.dg/dll-1.c: Remove thumb target. Change exp to _exp.
* gcc.dg/dll-2.c: Enable for cygwin and mingw. Remove
thumb target,
* gcc.dg/dll-3.c: Likewise. Adjust scan-assembler
to accept newer _imp__ prefix and additional
newline in .drectve section.
* gcc.dg/dll-4.c: Likewise.
* gcc.dg/dll-5.c: New file to test -mnop-fun-dllimport
switch.
From-SVN: r64337
2003-03-13 Aldy Hernandez <aldyh@redhat.com>
* config/rs6000/rs6000.c (rs6000_dwarf_register_span):
Differentiate endianness.
(s6000_override_options): Use cpu type instead of TARGET_SPE.
From-SVN: r64308
* config/rs6000/rs6000.c (rs6000_flag_pic): Delete.
(rs6000_xcoff_encode_section_info): #ifdef TARGET_XCOFF.
(rs6000_binds_local_p, TARGET_BINDS_LOCAL_P): #if TARGET_MACHO.
(rs6000_override_options): Don't clear flag_pic for ABI_AIX.
(rs6000_legitimize_address): Formatting.
(rs6000_emit_move): Likewise.
(rs6000_return_addr): Test ABI_AIX as well as flag_pic.
(rs6000_emit_prologue <save_LR_around_toc_setup>): Likewise.
(rs6000_elf_select_section): Comment reason for shlib being
set for ABI_AIX.
(rs6000_elf_unique_section): Likewise.
(rs6000_elf_encode_section_info): Test !TARGET_AIX as well as ABI_AIX.
* config/rs6000/rs6000.h (LEGITIMATE_LO_SUM_ADDRESS_P): Test ABI_AIX
as well as flag_pic.
* config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Likewise.
(MINIMAL_TOC_SECTION_ASM_OP): Likewise.
* config/rs6000/linux64.h (TARGET_ENCODE_SECTION_INFO): Don't define.
From-SVN: r64304
* config/c4x/c4x-c.c, config/c4x/c4x-modes.def,
config/c4x/c4x-protos.h, config/c4x/c4x.c, config/c4x/c4x.h,
config/c4x/c4x.md, config/c4x/libgcc.S, config/c4x/rtems.h:
GCC, not GNU CC.
From-SVN: r64300
* gcc.dg/special/ecos.exp (gcsec-1.c): Find linker used by gcc.
* gcc.dg/old-style-asm-1.c (dg-final): Add hpux label alternative to
regular expression.
* gcc.dg/funcorder.c (dg-final): Check for "link_error,%r" on hppa*-*-*.
* gcc.dg/inline-1.c (dg-final): Check for "xyzzy?,%r" on hppa*-*-*.
From-SVN: r64299
* config/v850/lib1funcs.asm, config/v850/rtems.h,
config/v850/v850-c.c, config/v850/v850-protos.h,
config/v850/v850.c, config/v850/v850.h, config/v850/v850.md:
GCC, not GNU CC.
From-SVN: r64296
2003-03-12 Jonathan Wakely <redi@gcc.gnu.org>
* docs/html/faq/index.html: Explain memory "leaks" due to allocators.
* docs/html/faq/index.txt: Regenerate.
* docs/html/debug.html: Add a bit to allocator text and fix XHTML.
From-SVN: r64273
PR c++/7050
* expr.c (store_expr): Don't attempt to store void-typed trees,
just evaluate them for side effects.
* cp/expr.c (cxx_expand_expr): Return const0_rtx for throw
expressions.
From-SVN: r64268