Aldy Hernandez
3bd104d1e8
rs6000.c (rs6000_dwarf_register_span): Differentiate endianness.
...
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
2003-03-13 15:04:35 +00:00
Nick Clifton
1ce537697e
Remove redundant writeback test in previous delta.
...
From-SVN: r64307
2003-03-13 13:27:17 +00:00
Nick Clifton
b17fe23365
(print_multi_reg): Do not generate a type 2 LDM instructions with writeback enabled.
...
(print_multi_reg): Do not generate a type 2 LDM instructions with writeback
enabled.
(output_return_instruction): Likewise.
From-SVN: r64306
2003-03-13 12:03:36 +00:00
Nick Clifton
2ed0b52a04
(FIXED_REGISTERS): Remove definition.
...
(CALL_USED_REGISTERS): Remove definition.
(SUBTARGET_CONDITIONAL_REGISTER_USAGE): Define.
From-SVN: r64305
2003-03-13 10:47:28 +00:00
Alan Modra
f138425784
rs6000.c (rs6000_flag_pic): Delete.
...
* 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
2003-03-13 21:05:47 +10:30
Richard Henderson
599aedd920
emit-rtl.c (try_split): Handle 1-1 splits of call insns properly.
...
* emit-rtl.c (try_split): Handle 1-1 splits of call insns properly.
* config/ia64/ia64.c (TARGET_FUNCTION_OK_FOR_SIBCALL): New.
(ia64_gp_save_reg): Remove.
(struct ia64_frame_info): Move to the beginning of the file;
add reg_save_gp.
(ia64_expand_call): Rearrange for new call patterns.
(ia64_reload_gp): New.
(ia64_split_call): New.
(ia64_compute_frame_size): Allocate reg_save_gp.
(ia64_expand_prologue): Save reg_save_gp.
(ia64_expand_epilogue): Don't restore gp.
(ia64_hard_regno_rename_ok): Remove R4 hack.
(ia64_function_ok_for_sibcall): New.
(ia64_output_mi_thunk): Set reload_completed, no_new_pseudos;
call try_split on sibcall pattern.
* config/ia64/ia64-protos.h: Update.
* config/ia64/ia64.md (call_nogp, call_value_nogp, sibcall_nogp):
Rename from nopic versions. Confiscate 2nd argument to call as
a marker.
(call_pic, call_value_pic, sibcall_pic): Remove.
(call_gp, call_value_gp, sibcall_gp): New.
(builtin_setjmp_setup): Remove.
(builtin_setjmp_receiver): Call ia64_reload_gp.
From-SVN: r64303
2003-03-13 01:02:51 -08:00
Andreas Jaeger
7e38bf41d9
* Make-lang.in (tree1$(exeext)): Fix previous patch.
...
From-SVN: r64302
2003-03-13 05:57:07 +01:00
Nathanael Nerode
2ff8f7ac52
dsp16xx-protos.h, [...]: Replace "GNU CC" with "GCC".
...
* config/dsp16xx/dsp16xx-protos.h, config/dsp16xx/dsp16xx.c,
config/dsp16xx/dsp16xx.h, config/dsp16xx/dsp16xx.md: Replace
"GNU CC" with "GCC".
From-SVN: r64301
2003-03-13 04:13:13 +00:00
Nathanael Nerode
4db9c7568a
c4x-c.c, [...]: GCC, not GNU CC.
...
* 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
2003-03-13 04:06:51 +00:00
John David Anglin
aeb11ee523
ecos.exp (gcsec-1.c): Find linker used by gcc.
...
* 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
2003-03-13 03:54:27 +00:00
Nathanael Nerode
63b025a5c3
genattrtab.h, [...]: Replace "GNU CC" with "GCC".
...
* genattrtab.h, hosthooks-def.h, hosthooks.h, langhooks-def.h,
langhooks.h, tree-inline.h: Replace "GNU CC" with "GCC".
From-SVN: r64298
2003-03-13 03:51:01 +00:00
Nathanael Nerode
54a7b5732a
c-pch.c, [...]: Replace "GNU CC" with "GCC".
...
* c-pch.c, dummy-conditions.c, genautomata.c, genconditions.c,
langhooks.c, tree-inline.c, unwind-dw2-fde-darwin.c,
unwind-dw2-fde-glibc.c, unwind-libunwind.c, vmsdbgout.c: Replace
"GNU CC" with "GCC".
From-SVN: r64297
2003-03-13 03:48:31 +00:00
Nathanael Nerode
301ee2f3e5
lib1funcs.asm, [...]: GCC, not GNU CC.
...
* 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-13 03:30:00 +00:00
Nathanael Nerode
e7d9d16b5a
bsd.h, [...]: GCC, not GNU CC.
...
* config/vax/bsd.h, config/vax/elf.h, config/vax/netbsd-elf.h,
config/vax/netbsd.h, config/vax/openbsd.h, config/vax/openbsd1.h,
config/vax/ultrix.h, config/vax/vax-protos.h, config/vax/vax.c,
config/vax/vax.h, config/vax/vax.md, config/vax/vaxv.h: GCC, not
GNU CC.
From-SVN: r64294
2003-03-13 03:23:55 +00:00
Benjamin Kosnik
93c98498fe
cpppch.c (cpp_valid_state): Use DL_WARNING_SYSHDR, not DL_WARNING.
...
2003-03-12 Benjamin Kosnik <bkoz@redhat.com>
* cpppch.c (cpp_valid_state): Use DL_WARNING_SYSHDR, not DL_WARNING.
From-SVN: r64293
2003-03-13 03:12:36 +00:00
Nathanael Nerode
706ae11c9b
fixinc.interix: Remove dead code (most of it).
...
* fixinc/fixinc.interix: Remove dead code (most of it).
* fixinc/fixinc.dgux: Remove.
From-SVN: r64292
2003-03-13 03:01:26 +00:00
Nathanael Nerode
e531258e68
float.h, [...]: GCC, not GNU CC.
...
* ginclude/float.h, ginclude/iso646.h, ginclude/stdarg.h,
ginclude/stdbool.h, ginclude/stddef.h: GCC, not GNU CC.
From-SVN: r64291
2003-03-13 02:58:40 +00:00
Nathanael Nerode
08e247b1d9
* Make-lang.in, Makefile.in, config-lang.in: GCC, not GNU CC.
...
From-SVN: r64290
2003-03-13 02:46:26 +00:00
Nathanael Nerode
201c789012
g77.texi, [...]: GCC, not GNU CC.
...
* g77.texi, invoke.texi, g77spec.c, lang-specs.h: GCC, not
GNU CC. Especially here.
From-SVN: r64289
2003-03-13 02:38:00 +00:00
John David Anglin
eab9e74247
* pa.c (pa_init_builtins): Fix warning.
...
From-SVN: r64286
2003-03-13 01:21:05 +00:00
GCC Administrator
4cc819ab05
Daily bump.
...
From-SVN: r64280
2003-03-13 00:17:09 +00:00
Jonathan Wakely
408e31a2dd
index.html: Explain memory "leaks" due to allocators.
...
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
2003-03-13 00:15:59 +00:00
Steve Ellcey
03d0dce160
ia64.h (ASM_OUTPUT_XDATA_CHAR): Remove.
...
* config/ia64/ia64.h (ASM_OUTPUT_XDATA_CHAR): Remove.
(ASM_OUTPUT_XDATA_SHORT): Remove.
(ASM_OUTPUT_XDATA_INT): Remove.
(ASM_OUTPUT_XDATA_DOUBLE_INT): Remove.
(ASM_OUTPUT_ADDR_DIFF_ELT): Handled 32 bit address diffs.
(ASM_PREFERRED_EH_DATA_FORMAT): Handle 32 bit EH pointers.
(CASE_VECTOR_MODE): Handle 32 bit pointers in case statement.
From-SVN: r64271
2003-03-12 23:05:40 +00:00
Andrew Lewycky
847311f457
re PR c++/7050 (g++ segfaults on: (i ? get_string() : throw))
...
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
2003-03-12 17:24:48 -05:00
Andreas Schwab
ff8b9ca85f
configure.in: Avoid trailing /.
...
2003-03-10 Andreas Schwab <schwab@suse.de>
boehm-gc:
* configure.in: Avoid trailing /. in toolexeclibdir.
* configure: Rebuilt.
libf2c:
* aclocal.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Avoid trailing /. in
glibcpp_toolexeclibdir.
* configure: Rebuilt.
libffi:
* configure.in: Avoid trailing /. in toolexeclibdir.
* configure: Rebuilt.
libjava:
* configure.in: Avoid trailing /. in toolexeclibdir.
* configure: Rebuilt.
libobjc:
* aclocal.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Avoid trailing /. in
glibcpp_toolexeclibdir.
* configure: Rebuilt.
libstdc++-v3:
* acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Avoid trailing /. in
glibcpp_toolexeclibdir.
* aclocal.m4, configure: Rebuilt.
zlib:
* configure.in: Avoid trailing /. in toolexeclibdir.
* configure: Rebuilt.
From-SVN: r64267
2003-03-12 21:34:31 +00:00
Neil Booth
c19b12cb00
cppfiles.c (cpp_rename_file, [...]): New.
...
* cppfiles.c (cpp_rename_file, cpp_push_include): New.
* cppinit.c (push_include): Move with changes to cppfiles.c.
(cpp_read_main_file): Mark named operators here...
(cpp_finish_options): ...not here. Update.
(_cpp_maybe_push_include_file): Update.
* cpplib.h (cpp_push_include, cpp_rename_file): New.
From-SVN: r64266
2003-03-12 21:31:51 +00:00
Nathanael Nerode
ad9c4d9f7b
aclocal.m4: Introduce gcc_GAS_VERSION_GTE_IFELSE, _gcc_COMPUTE_GAS_VERSION.
...
* aclocal.m4: Introduce gcc_GAS_VERSION_GTE_IFELSE,
_gcc_COMPUTE_GAS_VERSION.
* configure.in: Use them.
* configure: Regenerate.
From-SVN: r64263
2003-03-12 20:56:05 +00:00
Bob Wilson
8d49831d20
xtensa.md (adddi3): Don't clobber source operand used to detect carry.
...
* config/xtensa/xtensa.md (adddi3): Don't clobber source operand used
to detect carry.
(subdi3): Reorder emitted instructions.
From-SVN: r64262
2003-03-12 20:50:24 +00:00
Andreas Jaeger
bfa2615fe1
netbsd64.h (TARGET_OS_CPP_BUILTINS): Remove call to NETBSD_OS_CPP_BUILTINS_LP64.
...
* config/i386/netbsd64.h (TARGET_OS_CPP_BUILTINS): Remove call to
NETBSD_OS_CPP_BUILTINS_LP64.
From-SVN: r64261
2003-03-12 21:43:52 +01:00
Nathanael Nerode
73458fb759
Makefile.tpl: Move .NOEXPORT, MAKEOVERRIDES up.
...
(toplev)
* Makefile.tpl: Move .NOEXPORT, MAKEOVERRIDES up. Delete unused
Make macro.
* Makefile.in: Regenerate.
* configure.in: Clean up gxx_include_dir logic.
* configure: Regenerate.
(gcc)
* Makefile.in: Eliminate all.indirect. Update and clean up comments.
Rearrange. Reorganize.
* configure.in: Rearrange.
* configure: Regenerate.
From-SVN: r64260
2003-03-12 20:41:00 +00:00
Andreas Jaeger
00530a212b
c-cppbuiltin.c (cb_register_builtins): Define LP64 builtins for LP64 targets.
...
* c-cppbuiltin.c (cb_register_builtins): Define LP64 builtins for
LP64 targets.
* doc/cpp.texi (Common Predefined Macros): Document __LP64__ and
_LP64.
* config/ia64/ia64.h (TARGET_CPU_CPP_BUILTINS): Do not define
_LP64 macros here.
* config/pa/pa.h (TARGET_CPU_CPP_BUILTINS): Likewise.
* config/alpha/netbsd.h (TARGET_OS_CPP_BUILTINS): Remove call to
NETBSD_OS_CPP_BUILTINS_LP64.
* config/sh/netbsd-elf.h (TARGET_OS_CPP_BUILTINS): Likewise.
* config/sparc/netbsd-elf.h (TARGET_OS_CPP_BUILTINS): Likewise.
* config/netbsd.h (NETBSD_OS_CPP_BUILTINS_LP64): Remove.
From-SVN: r64259
2003-03-12 21:30:06 +01:00
Jan Hubicka
5474eed5c6
* i386.c (ix86_setup_incoming_varargs): Set stack_alignment_needed to 128.
...
From-SVN: r64256
2003-03-12 18:06:29 +00:00
Daniel Jacobowitz
8c35a61a90
Fix date in last log entry
...
From-SVN: r64252
2003-03-12 16:48:50 +00:00
Daniel Jacobowitz
09ebf088fb
* gcc.c-torture/execute/20030224-2.c: New test.
...
From-SVN: r64251
2003-03-12 16:47:07 +00:00
Daniel Jacobowitz
59a7f9bf40
Fix PR target/9797 and PR c/9853.
...
* stmt.c (expand_decl_init): Call push_temp_slots () and
pop_temp_slots ().
From-SVN: r64250
2003-03-12 16:45:25 +00:00
Jan Hubicka
cd22e4af59
* hashtab.c (htab_expand): Fix warning.
...
From-SVN: r64249
2003-03-12 16:43:21 +00:00
J"orn Rennecke
1aa03f3810
sh.c: Include basic-block.h.
...
* sh.c: Include basic-block.h.
(sh_output_mi_thunk, emit_load_ptr): New functions.
(TARGET_ASM_OUTPUT_MI_THUNK, TARGET_ASM_CAN_OUTPUT_MI_THUNK): Redefine.
From-SVN: r64248
2003-03-12 16:33:20 +00:00
Andrew Haley
68566610af
gjavah.c (is_first_data_member): New global variable.
...
2003-03-04 Andrew Haley <aph@redhat.com>
* gjavah.c (is_first_data_member): New global variable.
(print_c_decl): If it's the first data member, align it as the
superclass.
(process_file): Set is_first_data_member.
From-SVN: r64247
2003-03-12 16:14:01 +00:00
Jan Hubicka
0a8e3de3c8
hashtab.c (htab_expand): Compute the size of hashtable based on the number of elements actually used.
...
* hashtab.c (htab_expand): Compute the size of hashtable based
on the number of elements actually used.
(htab_traverse): Call htab_expand when table is too empty.
From-SVN: r64246
2003-03-12 14:15:09 +00:00
Ansgar Esztermann
32cf27e58e
* MAINTAINERS (Write After Approval): Add myself.
...
From-SVN: r64245
2003-03-12 13:58:36 +01:00
Nick Clifton
6f8c9bd153
(FIXED_REGISTERS): Add Maverick registers.
...
(CALL_USED_REGISTERS): Likewise.
(FIRST_PSEUDO_REGISTER): Update comment describing how this value is calculated.
From-SVN: r64243
2003-03-12 12:38:35 +00:00
Hans-Peter Nilsson
cb49b9adf8
Actually regenerate (using autoheader) this time.
...
From-SVN: r64242
2003-03-12 12:28:34 +00:00
Hans-Peter Nilsson
b2522d2b72
configure.in (rlim_t): Define to long if no valid definition found in sys/resource.h.
...
* configure.in (rlim_t): Define to long if no valid definition
found in sys/resource.h.
* config.in, configure: Regenerate.
From-SVN: r64241
2003-03-12 12:19:25 +00:00
Neil Booth
f7248b51e3
/home/neil/diffs/mcore.log
...
From-SVN: r64240
2003-03-12 11:46:56 +00:00
Eric Botcazou
8a7d6cb3d8
re PR c/9928 (ICE on duplicate enum declaration)
...
PR c/9928
* c-decl.c (duplicate_decls): Discard the initializer of the new decl
only if it is a VAR_DECL.
From-SVN: r64235
2003-03-12 09:54:38 +00:00
Eric Botcazou
db1077d307
re PR rtl-optimization/9888 (-mcpu=k6 -Os produces out of range loop instructions)
...
PR optimization/9888
* config/i386/i386.md (jcc_1): Fix range.
(jcc_2): Likewise.
(jump): LIkewise.
(doloop_end_internal): Likewise.
From-SVN: r64230
2003-03-12 09:21:47 +00:00
Danny Smith
6ca23bff71
winnt.c (DLL_IMPORT_PREFIX): New define.
...
* config/i386/winnt.c (DLL_IMPORT_PREFIX): New define.
Use throughout instead of DLL_IMPORT_EXPORT_PREFIX and "e."
(DLL_EXPORT_PREFIX): New define. Use throughout instead of
DLL_IMPORT_EXPORT_PREFIX and "i."
(i386_pe_dllexport_name_p): Here.
(i386_pe_dllimport_name_p): Here.
(i386_pe_mark_dllexport): Here. Remove DLL_IMPORT_PREFIX,
not 9 chars when getting identifier name.
(i386_pe_mark_dllimport): Here.
(i386_pe_encode_section_info): Here. Remove DLL_IMPORT_PREFIX,
not 9 chars when getting identifier name. Correct comment.
(i386_pe_strip_name_encoding): Here. Add comments for different
cases.
(gen_fastcall_suffix): Break down xmalloc() argument to
components.
(gen_stdcall_suffix): Likewise.
Update copyright year.
From-SVN: r64227
2003-03-12 08:59:29 +00:00
Eric Botcazou
9b73c90a3b
re PR rtl-optimization/9888 (-mcpu=k6 -Os produces out of range loop instructions)
...
PR optimization/9888
* config/i386/i386.md (movsi_1): Remove special alternatives
for %eax register.
(movsi_1_nointernunit): Likewise.
(movhi_1): Likewise.
* config/i386/i386.c (memory_address_length): Do not use
short displacement when there is no base.
(ix86_attr_length_address_default): Handle LEA instructions.
From-SVN: r64225
2003-03-12 08:53:27 +00:00
Andreas Jaeger
57f989ce5d
* Make-lang.in (tree1$(exeext)): Add c-cppbuiltin.o.
...
From-SVN: r64222
2003-03-12 09:05:52 +01:00
Mark Mitchell
e1145e7f7d
Fix PR number in log message.
...
From-SVN: r64221
2003-03-12 07:29:31 +00:00