OSDN Git Service

pf3gnuchains/gcc-fork.git
19 years ago2003-03-13 Jonathan Wakely <redi@gcc.gnu.org>
redi [Thu, 13 Mar 2003 18:26:23 +0000 (18:26 +0000)]
2003-03-13  Jonathan Wakely  <redi@gcc.gnu.org>

* docs/html/configopts.html, docs/html/documentation.html,
docs/html/explanations.html, docs/html/install.html,
docs/html/19_diagnostics/howto.html, docs/html/faq/index.html: Fix
invalid XHTML and make page header style consistent.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64312 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agooutput_return_instruction: Simplyify test for avoiding type 2 LDMs.
nickc [Thu, 13 Mar 2003 16:55:35 +0000 (16:55 +0000)]
output_return_instruction: Simplyify test for avoiding type 2 LDMs.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64311 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2003-03-13 Ansgar Esztermann <ansgar@thphy.uni-duesseldorf.de>
ansgar [Thu, 13 Mar 2003 16:05:23 +0000 (16:05 +0000)]
2003-03-13  Ansgar Esztermann  <ansgar@thphy.uni-duesseldorf.de>

* Makefile.in (dojump.o): New target.

* dojump.c: New file.
(init_pending_stack_adjust): Moved here from expr.c.
(clear_pending_stack_adjust): Likewise.
(do_pending_stack_adjust): Likewise.
(jumpifnot): Likewise.
(jumpif): Likewise.
(do_jump): Likewise.
(do_jump_by_parts_greater): Likewise.
(do_jump_by_parts_greater_rtx): Likewise.
(do_jump_by_parts_equality): Likewise.
(do_jump_by_parts_equality_rtx): Likewise.
(compare_from_rtx): Likewise.
(do_compare_rtx_and_jump): Likewise.
(do_compare_and_jump): Likewise.

* expr.c (init_pending_stack_adjust): Removed to dojump.c.
(clear_pending_stack_adjust): Likewise.
(do_pending_stack_adjust): Likewise.
(jumpifnot): Likewise.
(jumpif): Likewise.
(do_jump): Likewise.
(do_jump_by_parts_greater): Likewise.
(do_jump_by_parts_greater_rtx): Likewise.
(do_jump_by_parts_equality): Likewise.
(do_jump_by_parts_equality_rtx): Likewise.
(compare_from_rtx): Likewise.
(do_compare_rtx_and_jump): Likewise.
(do_compare_and_jump): Likewise.
(placeholder_list): Made declaration extern.

* expr.h (placeholder_list): Declare.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64309 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2003-03-13 Aldy Hernandez <aldyh@redhat.com>
aldyh [Thu, 13 Mar 2003 15:04:35 +0000 (15:04 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64308 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agoRemove redundant writeback test in previous delta.
nickc [Thu, 13 Mar 2003 13:27:17 +0000 (13:27 +0000)]
Remove redundant writeback test in previous delta.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64307 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago(print_multi_reg): Do not generate a type 2 LDM instructions with writeback
nickc [Thu, 13 Mar 2003 12:03:36 +0000 (12:03 +0000)]
(print_multi_reg): Do not generate a type 2 LDM instructions with writeback
enabled.
(output_return_instruction): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64306 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago(FIXED_REGISTERS): Remove definition.
nickc [Thu, 13 Mar 2003 10:47:28 +0000 (10:47 +0000)]
(FIXED_REGISTERS): Remove definition.
(CALL_USED_REGISTERS): Remove definition.
(SUBTARGET_CONDITIONAL_REGISTER_USAGE): Define.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64305 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * config/rs6000/rs6000.c (rs6000_flag_pic): Delete.
amodra [Thu, 13 Mar 2003 10:35:47 +0000 (10:35 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64304 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * emit-rtl.c (try_split): Handle 1-1 splits of call insns properly.
rth [Thu, 13 Mar 2003 09:02:51 +0000 (09:02 +0000)]
    * 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64303 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * Make-lang.in (tree1$(exeext)): Fix previous patch.
aj [Thu, 13 Mar 2003 04:57:07 +0000 (04:57 +0000)]
* Make-lang.in (tree1$(exeext)): Fix previous patch.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64302 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * config/dsp16xx/dsp16xx-protos.h, config/dsp16xx/dsp16xx.c,
neroden [Thu, 13 Mar 2003 04:13:13 +0000 (04:13 +0000)]
* config/dsp16xx/dsp16xx-protos.h, config/dsp16xx/dsp16xx.c,
config/dsp16xx/dsp16xx.h, config/dsp16xx/dsp16xx.md: Replace
"GNU CC" with "GCC".

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64301 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * config/c4x/c4x-c.c, config/c4x/c4x-modes.def,
neroden [Thu, 13 Mar 2003 04:06:51 +0000 (04:06 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64300 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * gcc.dg/special/ecos.exp (gcsec-1.c): Find linker used by gcc.
danglin [Thu, 13 Mar 2003 03:54:27 +0000 (03:54 +0000)]
* 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*-*-*.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64299 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * genattrtab.h, hosthooks-def.h, hosthooks.h, langhooks-def.h,
neroden [Thu, 13 Mar 2003 03:51:01 +0000 (03:51 +0000)]
* genattrtab.h, hosthooks-def.h, hosthooks.h, langhooks-def.h,
langhooks.h, tree-inline.h: Replace "GNU CC" with "GCC".

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64298 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * c-pch.c, dummy-conditions.c, genautomata.c, genconditions.c,
neroden [Thu, 13 Mar 2003 03:48:31 +0000 (03:48 +0000)]
* 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".

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64297 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * config/v850/lib1funcs.asm, config/v850/rtems.h,
neroden [Thu, 13 Mar 2003 03:30:00 +0000 (03:30 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64296 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * config/vax/bsd.h, config/vax/elf.h, config/vax/netbsd-elf.h,
neroden [Thu, 13 Mar 2003 03:23:55 +0000 (03:23 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64294 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2003-03-12 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Thu, 13 Mar 2003 03:12:36 +0000 (03:12 +0000)]
2003-03-12  Benjamin Kosnik  <bkoz@redhat.com>

* cpppch.c (cpp_valid_state): Use DL_WARNING_SYSHDR, not DL_WARNING.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64293 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * fixinc/fixinc.interix: Remove dead code (most of it).
neroden [Thu, 13 Mar 2003 03:01:26 +0000 (03:01 +0000)]
* fixinc/fixinc.interix: Remove dead code (most of it).
* fixinc/fixinc.dgux: Remove.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64292 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * ginclude/float.h, ginclude/iso646.h, ginclude/stdarg.h,
neroden [Thu, 13 Mar 2003 02:58:40 +0000 (02:58 +0000)]
* ginclude/float.h, ginclude/iso646.h, ginclude/stdarg.h,
ginclude/stdbool.h, ginclude/stddef.h: GCC, not GNU CC.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64291 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * Make-lang.in, Makefile.in, config-lang.in: GCC, not GNU CC.
neroden [Thu, 13 Mar 2003 02:46:26 +0000 (02:46 +0000)]
* Make-lang.in, Makefile.in, config-lang.in: GCC, not GNU CC.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64290 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * g77.texi, invoke.texi, g77spec.c, lang-specs.h: GCC, not
neroden [Thu, 13 Mar 2003 02:38:00 +0000 (02:38 +0000)]
* g77.texi, invoke.texi, g77spec.c, lang-specs.h: GCC, not
GNU CC.  Especially here.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64289 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * pa.c (pa_init_builtins): Fix warning.
danglin [Thu, 13 Mar 2003 01:21:05 +0000 (01:21 +0000)]
* pa.c (pa_init_builtins): Fix warning.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64286 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agoDaily bump.
gccadmin [Thu, 13 Mar 2003 00:17:09 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64280 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2003-03-12 Jonathan Wakely <redi@gcc.gnu.org>
redi [Thu, 13 Mar 2003 00:15:59 +0000 (00:15 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64273 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * config/ia64/ia64.h (ASM_OUTPUT_XDATA_CHAR): Remove.
sje [Wed, 12 Mar 2003 23:05:40 +0000 (23:05 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64271 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago PR c++/7050
jason [Wed, 12 Mar 2003 22:24:48 +0000 (22:24 +0000)]
    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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64268 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2003-03-10 Andreas Schwab <schwab@suse.de>
schwab [Wed, 12 Mar 2003 21:34:31 +0000 (21:34 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64267 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * cppfiles.c (cpp_rename_file, cpp_push_include): New.
neil [Wed, 12 Mar 2003 21:31:51 +0000 (21:31 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64266 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * aclocal.m4: Introduce gcc_GAS_VERSION_GTE_IFELSE,
neroden [Wed, 12 Mar 2003 20:56:05 +0000 (20:56 +0000)]
    * aclocal.m4: Introduce gcc_GAS_VERSION_GTE_IFELSE,
        _gcc_COMPUTE_GAS_VERSION.
        * configure.in: Use them.
        * configure: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64263 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * config/xtensa/xtensa.md (adddi3): Don't clobber source operand used
bwilson [Wed, 12 Mar 2003 20:50:24 +0000 (20:50 +0000)]
    * config/xtensa/xtensa.md (adddi3): Don't clobber source operand used
        to detect carry.
        (subdi3): Reorder emitted instructions.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64262 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * config/i386/netbsd64.h (TARGET_OS_CPP_BUILTINS): Remove call to
aj [Wed, 12 Mar 2003 20:43:52 +0000 (20:43 +0000)]
* config/i386/netbsd64.h (TARGET_OS_CPP_BUILTINS): Remove call to
NETBSD_OS_CPP_BUILTINS_LP64.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64261 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago(toplev)
neroden [Wed, 12 Mar 2003 20:41:00 +0000 (20:41 +0000)]
(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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64260 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * c-cppbuiltin.c (cb_register_builtins): Define LP64 builtins for
aj [Wed, 12 Mar 2003 20:30:06 +0000 (20:30 +0000)]
    * 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64259 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * i386.c (ix86_setup_incoming_varargs): Set stack_alignment_needed to 128.
hubicka [Wed, 12 Mar 2003 18:06:29 +0000 (18:06 +0000)]
* i386.c (ix86_setup_incoming_varargs): Set stack_alignment_needed to 128.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64256 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agoFix date in last log entry
drow [Wed, 12 Mar 2003 16:48:50 +0000 (16:48 +0000)]
Fix date in last log entry

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64252 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * gcc.c-torture/execute/20030224-2.c: New test.
drow [Wed, 12 Mar 2003 16:47:07 +0000 (16:47 +0000)]
* gcc.c-torture/execute/20030224-2.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64251 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago Fix PR target/9797 and PR c/9853.
drow [Wed, 12 Mar 2003 16:45:25 +0000 (16:45 +0000)]
Fix PR target/9797 and PR c/9853.
* stmt.c (expand_decl_init): Call push_temp_slots () and
pop_temp_slots ().

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64250 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * hashtab.c (htab_expand): Fix warning.
hubicka [Wed, 12 Mar 2003 16:43:21 +0000 (16:43 +0000)]
* hashtab.c (htab_expand): Fix warning.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64249 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * sh.c: Include basic-block.h.
amylaar [Wed, 12 Mar 2003 16:33:20 +0000 (16:33 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64248 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2003-03-04 Andrew Haley <aph@redhat.com>
aph [Wed, 12 Mar 2003 16:14:01 +0000 (16:14 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64247 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * hashtab.c (htab_expand): Compute the size of hashtable based
hubicka [Wed, 12 Mar 2003 14:15:09 +0000 (14:15 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64246 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * MAINTAINERS (Write After Approval): Add myself.
ansgar [Wed, 12 Mar 2003 12:58:36 +0000 (12:58 +0000)]
* MAINTAINERS (Write After Approval): Add myself.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64245 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago(FIXED_REGISTERS): Add Maverick registers.
nickc [Wed, 12 Mar 2003 12:38:35 +0000 (12:38 +0000)]
(FIXED_REGISTERS): Add Maverick registers.
(CALL_USED_REGISTERS): Likewise.
(FIRST_PSEUDO_REGISTER): Update comment describing how this value is calculated.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64243 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agoActually regenerate (using autoheader) this time.
hp [Wed, 12 Mar 2003 12:28:34 +0000 (12:28 +0000)]
Actually regenerate (using autoheader) this time.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64242 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * configure.in (rlim_t): Define to long if no valid definition
hp [Wed, 12 Mar 2003 12:19:25 +0000 (12:19 +0000)]
* configure.in (rlim_t): Define to long if no valid definition
found in sys/resource.h.
* config.in, configure: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64241 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago/home/neil/diffs/mcore.log
neil [Wed, 12 Mar 2003 11:46:56 +0000 (11:46 +0000)]
/home/neil/diffs/mcore.log

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64240 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago PR c/9928
ebotcazou [Wed, 12 Mar 2003 09:54:38 +0000 (09:54 +0000)]
PR c/9928
* c-decl.c (duplicate_decls): Discard the initializer of the new decl
only if it is a VAR_DECL.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64235 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago PR optimization/9888
ebotcazou [Wed, 12 Mar 2003 09:21:47 +0000 (09:21 +0000)]
PR optimization/9888
* config/i386/i386.md (jcc_1): Fix range.
(jcc_2): Likewise.
(jump): LIkewise.
(doloop_end_internal): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64230 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * config/i386/winnt.c (DLL_IMPORT_PREFIX): New define.
dannysmith [Wed, 12 Mar 2003 08:59:29 +0000 (08:59 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64227 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago PR optimization/9888
ebotcazou [Wed, 12 Mar 2003 08:53:27 +0000 (08:53 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64225 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * Make-lang.in (tree1$(exeext)): Add c-cppbuiltin.o.
aj [Wed, 12 Mar 2003 08:05:52 +0000 (08:05 +0000)]
* Make-lang.in (tree1$(exeext)): Add c-cppbuiltin.o.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64222 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agoFix PR number in log message.
mmitchel [Wed, 12 Mar 2003 07:29:31 +0000 (07:29 +0000)]
Fix PR number in log message.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64221 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago PR c++/9336
mmitchel [Wed, 12 Mar 2003 07:23:15 +0000 (07:23 +0000)]
PR c++/9336
* g++.dg/parse/namespace8.C: New test.

PR c++/9336
* decl2.c (do_nonmember_using_decl): Do not call duplicate decls
to merge old and new declarations.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64216 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * c-cppbuiltin.c (builtin_define_std): Make non-static.
neil [Wed, 12 Mar 2003 06:58:38 +0000 (06:58 +0000)]
* c-cppbuiltin.c (builtin_define_std): Make non-static.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64215 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago* g++.1: Remove.
aoliva [Wed, 12 Mar 2003 04:18:34 +0000 (04:18 +0000)]
* g++.1: Remove.
* Make-lang.in (c++.generated-manpages): Build cp/g++.1.
(cp/g++.1): Build it from scratch in the build tree.
(c++.install-man): Depend on it.  Install it from the build tree.
(c++.mostlyclean): Clean it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64214 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * config/freebsd-spec.h (FBSD_CPP_PREDEFINES): Remove.
ljrittle [Wed, 12 Mar 2003 02:29:08 +0000 (02:29 +0000)]
* config/freebsd-spec.h (FBSD_CPP_PREDEFINES): Remove.
(FBSD_TARGET_OS_CPP_BUILTINS): New port-specific macro.
(FBSD_TARGET_CPU_CPP_BUILTINS): New port-specific macro.
* config/freebsd.h (CPP_PREDEFINES): Remove.
(TARGET_OS_CPP_BUILTINS): New.
* config/alpha/freebsd.h: Use overridden FBSD_TARGET_CPU_CPP_BUILTINS
instead of TARGET_OS_CPP_BUILTINS.
* config/sparc/freebsd.h (CPP_PREDEFINES): Remove.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64212 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * c-cppbuiltin.c (builtin_define_std): Add ATTRIBUTE_UNUSED.
geoffk [Wed, 12 Mar 2003 01:51:28 +0000 (01:51 +0000)]
* c-cppbuiltin.c (builtin_define_std): Add ATTRIBUTE_UNUSED.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64211 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2003-03-11 Aldy Hernandez <aldyh@redhat.com>
aldyh [Wed, 12 Mar 2003 01:30:56 +0000 (01:30 +0000)]
2003-03-11  Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/rs6000.c (rs6000_stack_info): Remove
        insn_chain_scanned.  Use insn_chain_scanned_p in machine_function.

        * config/rs6000/rs6000.h (machine_function): Add insn_chain_scanned_p.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64210 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago* toplev.c (independent_decode_option): Return success for --help,
aoliva [Wed, 12 Mar 2003 00:19:37 +0000 (00:19 +0000)]
* toplev.c (independent_decode_option): Return success for --help,
--target-help and --version.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64209 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agoDaily bump.
gccadmin [Wed, 12 Mar 2003 00:17:05 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64208 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago* config/mips/linux64.h (DRIVER_SELF_SPECS): Add endian_spec.
aoliva [Tue, 11 Mar 2003 23:31:01 +0000 (23:31 +0000)]
* config/mips/linux64.h (DRIVER_SELF_SPECS): Add endian_spec.
Default to -mips3 on -mabi=64.  Don't add -mips* flag if -march is
specified.
(SUBTARGET_ASM_SPEC): Remove -mips*-adding code obviated by
DRIVER_SELF_SPECS.
(LINK_SPEC): Let endian options affect the linker emulation name.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64201 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago PR c++/9924
mmitchel [Tue, 11 Mar 2003 23:07:45 +0000 (23:07 +0000)]
PR c++/9924
* g++.dg/overload/builtin2.C: New test.

2003-03-11  Mark Mitchell  <mark@codesourcery.com>

PR c++/9924
* decl2.c (do_nonmember_using_decl): Ignore anticipated builtins.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64197 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago PR c++/9820
jason [Tue, 11 Mar 2003 22:43:44 +0000 (22:43 +0000)]
    PR c++/9820
        * search.c (lookup_member): Fix handling of functions in a class
        being defined.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64193 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * sh.md (reload_inqi): Fix mode for source in second set.
amylaar [Tue, 11 Mar 2003 22:37:41 +0000 (22:37 +0000)]
* sh.md (reload_inqi): Fix mode for source in second set.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64192 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * cselib.c (cselib_invalidate_mem_1): Move too ...
hubicka [Tue, 11 Mar 2003 21:52:42 +0000 (21:52 +0000)]
* cselib.c (cselib_invalidate_mem_1): Move too ...
(cselib_invalidate_mem): ... here; use new list
(dummy_val, first_containing_mem): New static variables.
(clear_table): Initialize first_containing_mem.
(discard_useless_values):  Compact the containing_mem list.
(add_mem_for_addr): Add to the list.
* cselib.h (cselib_val): Add next_containing_mem.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64191 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * Makefile.in: Fix typo.
neil [Tue, 11 Mar 2003 21:33:34 +0000 (21:33 +0000)]
* Makefile.in: Fix typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64190 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2003-03-11 Jonathan Wakely <redi@gcc.gnu.org>
redi [Tue, 11 Mar 2003 21:33:30 +0000 (21:33 +0000)]
2003-03-11  Jonathan Wakely  <redi@gcc.gnu.org>

* docs/html/faq/index.html: Update text about location of headers.
* docs/html/faq/index.txt: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64189 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2003-03-11 Aldy Hernandez <aldyh@redhat.com>
aldyh [Tue, 11 Mar 2003 21:26:12 +0000 (21:26 +0000)]
2003-03-11  Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/rs6000.c (rs6000_override_options): Disable string
        instructions for e500.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64188 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * Makefile.in: Update.
neil [Tue, 11 Mar 2003 21:03:58 +0000 (21:03 +0000)]
* Makefile.in: Update.
* c-cppbuiltin.c: Include tm_p.h.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64187 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2003-03-11 Aldy Hernandez <aldyh@redhat.com>
aldyh [Tue, 11 Mar 2003 20:40:54 +0000 (20:40 +0000)]
2003-03-11  Aldy Hernandez  <aldyh@redhat.com>

        * doc/tm.texi (Frame Registers): Document DWARF_REG_TO_UNWIND_COLUMN.

        * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Define.
        (_Unwind_GetGR): Use DWARF_REG_TO_UNWIND_COLUMN.
        (_Unwind_SetGR): Same.
        (_Unwind_GetGRPtr): New.
        (_Unwind_SetGRPtr): New.
        (uw_update_context_1): Use accesor functions instead of accessing
        context->reg[] directly.
        (uw_install_context_1): Same.
        (execute_cfa_program): Same.
        (__frame_state_for): Same.

        * config/rs6000/rs6000.c (spe_synthesize_frame_save): Use 1200 as
        the synthetic register offset.

        * config/rs6000/rs6000.h (DWARF_REG_TO_UNWIND_COLUMN): New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64186 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * parse.y (resolve_field_access): Initialize class if field is
tromey [Tue, 11 Mar 2003 20:37:02 +0000 (20:37 +0000)]
* parse.y (resolve_field_access): Initialize class if field is
found in another static field.
* expr.c (build_class_init): Don't optimize out initialization of
implemented interface.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64185 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * libjava.lang/initfield.java: New file.
tromey [Tue, 11 Mar 2003 20:36:34 +0000 (20:36 +0000)]
* libjava.lang/initfield.java: New file.
* libjava.lang/initfield.out: New file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64184 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2003-03-11 Steven Bosscher <s.bosscher@student.tudelft.nl>
steven [Tue, 11 Mar 2003 20:00:39 +0000 (20:00 +0000)]
2003-03-11  Steven Bosscher  <s.bosscher@student.tudelft.nl>

        * gcc.dg/return-type-3.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64181 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago* cplus-dem.c (demangle_integral_value): Correction to reflect
dj [Tue, 11 Mar 2003 19:55:46 +0000 (19:55 +0000)]
* cplus-dem.c (demangle_integral_value): Correction to reflect
patch of 2002-01-10 in order to also make negative multi-digits
without leading underscore work.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64179 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * config/cris/cris.md: Remove lingering EGCS reference.
hp [Tue, 11 Mar 2003 15:43:25 +0000 (15:43 +0000)]
* config/cris/cris.md: Remove lingering EGCS reference.
("*extopqihi_side_biap"): For HI operation, match
cris_additive_operand_extend_operator, not
cris_operand_extend_operator.  Adjust condition.
("*extopqihi_side", "*extopqihi"): Ditto.
("*extopqisi_side_biap"): Correct operand numbers in condition.
("*extophisi_side_biap", "*extopqisi_swap_side_biap"): Ditto.
("*extophisi_swap_side_biap", "*extopqisi_swap"): Ditto.
("*extophisi_swap"): Ditto.
("*extopqihi_swap_side_biap"): For HI operation, match a simple
PLUS, not cris_operand_extend_operator.  Adjust condition and
output template.
("*extopqihi_swap_side", "*extopqihi_swap"): Ditto.
* config/cris/cris.h (PREDICATE_CODES): Add
cris_additive_operand_extend_operator.
* config/cris/cris.c (cris_additive_operand_extend_operator):
New predicate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64174 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago PR c++/8700
mmitchel [Tue, 11 Mar 2003 15:43:14 +0000 (15:43 +0000)]
PR c++/8700
* call.c (convert_class_to_reference): Adjust usage of
splice_viable.
(any_viable): Remove.
(splice_viable): Combine with any_viable.
(print_z_candidates): Avoid printing duplicates.
(build_user_type_conversion_1): Adjust usage of splice_viable.
(build_new_function_call): Likewise.
(build_operator_new_call): Likewise.
(build_object_call): Likewise.
(build_conditional_expr): Likewise.
(build_new_op): Likewise.
(build_new_method_call): Likewise.
(joust): Remove spurious comment.
* cp-tree.h (DECL_FRIENDLIST): Correct documentation.
* decl2.c (arg_assoc_class): Simplify.
* friend.c (add_friend): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64173 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2003-03-11 Carlo Wood <carlo@alinoe.com>
bkoz [Tue, 11 Mar 2003 13:48:16 +0000 (13:48 +0000)]
2003-03-11  Carlo Wood  <carlo@alinoe.com>

* include/bits/demangle.h: Prepend accessors of
class qualifier with 'get_' in order to fix warnings
when compiling with -Wshadow.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64172 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * gcc.misc-tests/bprob.exp: Disable test cases for h8300-*-* as
kazu [Tue, 11 Mar 2003 12:32:26 +0000 (12:32 +0000)]
* gcc.misc-tests/bprob.exp: Disable test cases for h8300-*-* as
profiling options are not supported.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64171 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2003-03-11 Andrew Haley <aph@redhat.com>
aph [Tue, 11 Mar 2003 11:10:05 +0000 (11:10 +0000)]
2003-03-11  Andrew Haley  <aph@redhat.com>

        * jcf-io.c (caching_stat): Initialize origsep to remove compiler
        warning.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64169 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago PR c++/8660
jason [Tue, 11 Mar 2003 10:34:45 +0000 (10:34 +0000)]
    PR c++/8660
        * decl2.c (check_classfn): A member template only matches a
        member template.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64167 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago PR c++/8660
jason [Tue, 11 Mar 2003 10:33:28 +0000 (10:33 +0000)]
    PR c++/8660
        * decl2.c (check_classfn): A member template only matches a
        member template.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64166 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2003-03-11 Michael Koch <konqueror@gmx.de>
mkoch [Tue, 11 Mar 2003 10:30:52 +0000 (10:30 +0000)]
2003-03-11  Michael Koch  <konqueror@gmx.de>

* gnu/java/nio/ByteBufferImpl.java
(putInt): Use limit() instead of limit.
* gnu/java/nio/CharBufferImpl.java
(slice): Fixed implementation.
(subSequence): Better bounds checking.
* gnu/java/nio/MappedByteFileBuffer.java:
Import all needed classes directly.
* java/nio/ByteBuffer.java
(hashCode): New dummy method.
* java/nio/CharBuffer.java
(array_offset): New member variable.
(hasArray): Fixed documentation.
(arrayOffset): Return array_offset.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64165 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * df.c (read_modify_subreg_p): Change from static to global.
hpenner [Tue, 11 Mar 2003 09:17:38 +0000 (09:17 +0000)]
    * df.c (read_modify_subreg_p): Change from static to global.
        * df.h (read_modify_subreg_p): Add prototype.
        * sched-deps.c (sched_analyze_1): Generate true dependency for
        strict_low_part, certain subregs and zero/sign_extract.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64164 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * config/os/bsd/freebsd/ctype_inline.h: Support _M_table
ljrittle [Tue, 11 Mar 2003 07:07:25 +0000 (07:07 +0000)]
* config/os/bsd/freebsd/ctype_inline.h:  Support _M_table
when so installed.
* testsuite/22_locale/ctype/cons/char/1.cc: Fix typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64163 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * Makefile.in: Update.
neil [Tue, 11 Mar 2003 06:42:21 +0000 (06:42 +0000)]
* Makefile.in: Update.
* c-common.c: Don't include real.h or except.h.
(REGISTER_PREFIX): Remove.
(builtin_define_std, builtin_define_with_value,
builtin_define_with_int_value, builtin_define_with_hex_fp_value,
builtin_define_type_max, builtin_define_type_precision,
builtin_define_float_constants): Move to c-cppbuiltin.c.
(c_stddef_cpp_builtins): New.
* c-common.h (builtin_define_with_value, c_stddef_cpp_builtins): New.
* c-cppbuiltin.c: New, extracted from c-common.c.
(define__GNUC__): New.
* cppspec.c (lang_specific_driver): Remove support of -no-gcc.
* gcc.c: Remove support of %v1, %v2 and %v3 specs.
(cpp_unique_options): Don't support no-gcc.
(do_spec_1): Remove support of version specs.
* doc/invoke.texi: Remove documentation of %v1, %v2 and %v3.
* doc/passes.texi: Update.
* doc/tm.texi: Update.
cp:
* Make-lang.in (CXX_C_OBJS): Update.
* lang-specs.h: Don't define __GNUG__ here.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64162 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * testsuite/testsuite_hooks.h (run_tests_wrapped_env): Do not
ljrittle [Tue, 11 Mar 2003 05:32:56 +0000 (05:32 +0000)]
* testsuite/testsuite_hooks.h (run_tests_wrapped_env): Do not
report lack of setenv().

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64161 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * g++.old-deja/g++.benjamin/16077.C: Adjust warnings.
mmitchel [Tue, 11 Mar 2003 02:37:17 +0000 (02:37 +0000)]
* g++.old-deja/g++.benjamin/16077.C: Adjust warnings.
* g++.old-deja/g++.warn/impint2.C: Likewise.

* call.c (perform_overload_resolution): New function.
(build_new_function_call): Use it.
(build_operator_new_call): Likewise.
(add_candidates): Add explicit_targs and template_only parameters.
(build_new_op): Adjust accordingly.
* cp-tree.h (build_operator_new_call): New function.
(build_function_call_real): Remove.
(build_function_call_maybe): Likewise.
* init.c (build_new_1): Use build_operator_new_call.
* typeck.c (build_function_call_real): Rename to ...
(build_function_call): ... this.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64159 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * dwarf2out.c (multiple_reg_loc_descriptor): Fix thinko.
aldyh [Tue, 11 Mar 2003 02:01:41 +0000 (02:01 +0000)]
    * dwarf2out.c (multiple_reg_loc_descriptor): Fix thinko.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64158 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2003-03-10 Andrew Pinski <apinski@apple.com>
geoffk [Tue, 11 Mar 2003 01:41:11 +0000 (01:41 +0000)]
2003-03-10  Andrew Pinski  <apinski@apple.com>

* config/darwin.c (machopic_function_base_name): If dynamic-no-pic
is on should not get here.
(machopic_indirect_data_reference): If dynamic-no-pic is on just
generate high/low parts of the address.
(machopic_legitimize_pic_address): Change MACHOPIC_PURE to
MACHOPIC_INDIRECT. Dynamic-no-pic uses 0 as the pic base. Generate
symbol and labels with a new reg.  Dynamic-no-pic does not have a
pic_offset_table_rtx.
(machopic_select_section): Change references of flag_pic to
MACHOPIC_INDIRECT.
(machopic_asm_out_destructor): Likewise.
* config/darwin.h (ASM_DECLARE_UNRESOLVED_REFERENCE): Change
reference of flag_pic to MACHOPIC_INDIRECT.
(MACHO_DYNAMIC_NO_PIC_P): Define as TARGET_DYNAMIC_NO_PIC.
(MACHOPIC_INDIRECT): Is also true when dynamic-no-pic is on.
(MACHOPIC_JUST_INDIRECT): Is also true when dynamic-no-pic is on.
(MACHOPIC_PURE): Is not pure when dynamic-no-pic is on.
* config/i386/darwin.h (MASK_MACHO_DYNAMIC_NO_PIC): Define as
0 for right now as dynamic-no-pic is not implemented on Darwin/ia32.
* config/rs6000/darwin.h (MASK_MACHO_DYNAMIC_NO_PIC): Define.
(TARGET_DYNAMIC_NO_PIC): Define.
(SUBTARGET_SWITCHES): Define, have sub-target switches for
dynamic-no-pic.
(SUBTARGET_OVERRIDE_OPTIONS): Move check for -fpic from
rs6000_override_options to here. Dynamic-no-pic overrides
pic.
(CC1_SPEC): Change from not static then pic to not static and not
dynamic-no-pic then pic.
* config/rs6000/rs6000.c (rs6000_override_options): Move the
check for -fpic and DARWIN_ABI to config/rs6000/darwin.h
(rs6000_legitimize_reload_address): Add case for loading floating in
dynamic-no-pic.
(rs6000_emit_move): Add case for dynamic-no-pic.  Change reference
of flag_pic to MACHOPIC_INDIRECT.
(secondary_reload_class): Conditional change the reference of
flag_pic to MACHOPIC_INDIRECT.
(rs6000_output_mi_thunk): Change reference of flag_pic to
MACHOPIC_INDIRECT.
(output_profile_hook): Likewise.
(machopic_output_stub): Non-pure (dynamic-no-pic) is now supported.
* config/rs6000/rs6000.md (movdf_low): Add the case for
MACHO_DYNAMIC_NO_PIC_P.
(call): Change references for flag_pic in TARGET_MACHO to
MACHOPIC_INDIRECT.
(SUBTARGET_OVERRIDE_OPTIONS): Add case where -fpic is on and
-mdynamic-no-pic is on.  Also move case for -fpic from rs6000.c.
* doc/invoke.texi (-mdynamic-no-pic): Document.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64157 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agoRemove extra bits I included, by mistake, in my previous check-in
dpatel [Tue, 11 Mar 2003 01:25:12 +0000 (01:25 +0000)]
Remove extra bits I included, by mistake, in my previous check-in
for PR/9394 fix.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64156 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agoDaily bump.
gccadmin [Tue, 11 Mar 2003 00:17:05 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64153 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agoPR/9394
dpatel [Mon, 10 Mar 2003 23:41:42 +0000 (23:41 +0000)]
PR/9394
        * gcc.c (DEFAULT_SWITCH_TAKES_ARG): Remove.
        (DEFAULT_WORD_SWITCH_TAKES_ARG): Remove.
        * gcc.h (DEFAULT_SWITCH_TAKES_ARG): Add.
        (DEFAULT_WORD_SWITCH_TAKES_ARG): Add.
        * cppspec.c (DEFAULT_SWTICH_TAKES_ARG): Remove.
        (DEFAULT_WORD_SWITCH_TAKES_ARG): Remove.

cp
        * g++spec.c (lang_specific_driver): Use DEFAULT_WORD_SWITCH_TAKES_ARG.

testsuite

        * g++.dg/cpp/c++_cmd_1.C: New test.
        * g++.dg/cpp/c++_cmd_1.h: New file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64144 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2003-03-10 Steven Bosscher <s.bosscher@student.tudelft.nl>
steven [Mon, 10 Mar 2003 23:33:15 +0000 (23:33 +0000)]
2003-03-10  Steven Bosscher  <s.bosscher@student.tudelft.nl>

        PR optimization/7189
        * toplev.c (rest_of_compilation):  Move
        check_function_return_warnings up to just after
        delete_unreachable_blocks.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64143 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * com.c (duplicate_decls): Synchronize with C's duplicate_decls.
sayle [Mon, 10 Mar 2003 23:28:08 +0000 (23:28 +0000)]
* com.c (duplicate_decls): Synchronize with C's duplicate_decls.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64142 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * config/m68hc11/m68hc11.h (HARD_REGNO_RENAME_OK): Define.
ciceron [Mon, 10 Mar 2003 22:10:37 +0000 (22:10 +0000)]
* config/m68hc11/m68hc11.h (HARD_REGNO_RENAME_OK): Define.
* config/m68hc11/m68hc11-protos.h (m68hc11_hard_regno_rename_ok):
Declare.
* config/m68hc11/m68hc11.c (m68hc11_hard_regno_rename_ok): New function
for reg rename optimization to avoid using Z and Y registers.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64134 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago PR c++/9798
jason [Mon, 10 Mar 2003 22:04:09 +0000 (22:04 +0000)]
    PR c++/9798
        * decl.c (push_using_directive): Push before recursing.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64133 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agoadd xfail
jason [Mon, 10 Mar 2003 21:57:02 +0000 (21:57 +0000)]
add xfail

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64131 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * config/m68hc11/m68hc11.md ("*addhi3_68hc12"): Accept any constant
ciceron [Mon, 10 Mar 2003 21:51:02 +0000 (21:51 +0000)]
* config/m68hc11/m68hc11.md ("*addhi3_68hc12"): Accept any constant
when adding to X and Y since leax/leay are fast.
("*addhi3"): Accept 'I' constraint when adding to address register.
("rotlhi3"): Operand 1 must be a register_operand.
(peephole2): New peephole to optimize some adds.
* config/m68hc11/m68hc11.h (CONST_OK_FOR_LETTER_P): Use 'I' constraint
to represent -2 .. 2 small integer range.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64127 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * config/m68hc11/m68hc11.c (m68hc11_gen_rotate): Set carry before
ciceron [Mon, 10 Mar 2003 21:27:46 +0000 (21:27 +0000)]
* config/m68hc11/m68hc11.c (m68hc11_gen_rotate): Set carry before
each 16-bit rotation.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64125 138bc75d-0d04-0410-961f-82ee72b054a4