OSDN Git Service

pf3gnuchains/gcc-fork.git
22 years ago * rs6000.md (cmptf_internal1): Replace %$ with $.
dje [Wed, 21 Nov 2001 22:17:27 +0000 (22:17 +0000)]
    * rs6000.md (cmptf_internal1): Replace %$ with $.

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

22 years ago2001-11-21 Paolo Carlini <pcarlini@unitus.it>
pme [Wed, 21 Nov 2001 22:04:53 +0000 (22:04 +0000)]
2001-11-21  Paolo Carlini  <pcarlini@unitus.it>

PR libstdc++/4548
* include/bits/basic_string.tcc (basic_string::reserve):  Never shrink
below the current size.
* testsuite/21_strings/capacity.cc (test02):  Add test.

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

22 years ago * cppfiles.c (STAT_SIZE_TOO_BIG): Define.
kenner [Wed, 21 Nov 2001 22:03:27 +0000 (22:03 +0000)]
* cppfiles.c (STAT_SIZE_TOO_BIG): Define.
(read_include_file): Use STAT_SIZE_TOO_BIG.

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

22 years ago * cppinit.c (INO_T_COPY): Define.
kenner [Wed, 21 Nov 2001 21:55:36 +0000 (21:55 +0000)]
* cppinit.c (INO_T_COPY): Define.
(INO_T_EQ): Uppercase parameters.
(append_include_chain): Use INO_T_COPY.

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

22 years ago * cfg.c: Fix typos and formatting in the introductory comment.
rsandifo [Wed, 21 Nov 2001 16:02:09 +0000 (16:02 +0000)]
* cfg.c: Fix typos and formatting in the introductory comment.

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

22 years ago * profile.c (compute_branch_probabilites): Compute probabilities
hubicka [Wed, 21 Nov 2001 11:47:02 +0000 (11:47 +0000)]
* profile.c (compute_branch_probabilites):  Compute probabilities
for entry/exit edges; estimate probabilities for zero counts.

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

22 years ago * explow.c (probe_stack_range): Use LCT_NORMAL as second argument
jakub [Wed, 21 Nov 2001 11:13:14 +0000 (11:13 +0000)]
* explow.c (probe_stack_range): Use LCT_NORMAL as second argument
to emit_library_call.
* function.c (expand_main_function, expand_function_start,
expand_function_end): Likewise.
* profile.c (output_func_start_profiler): Likewise.
* stmt.c (expand_nl_goto_receivers): Use LCT_NORETURN as
second argument to emit_library_call.
* optabs.c (prepare_cmp_insn): Use LCT_CONST_MAKE_BLOCK
as second argument to emit_library_call.
* calls.c (emit_library_call): Update fn_type description.

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

22 years ago * c-decl.c (c_expand_deferred_function): Only call c_expand_body
jakub [Wed, 21 Nov 2001 11:09:01 +0000 (11:09 +0000)]
* c-decl.c (c_expand_deferred_function): Only call c_expand_body
if fndecl is still DECL_INLINE and has DECL_RESULT.

* gcc.c-torture/compile/20011119-1.c: New test.
* gcc.c-torture/compile/20011119-2.c: New test.

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

22 years agoDaily bump.
gccadmin [Wed, 21 Nov 2001 08:16:23 +0000 (08:16 +0000)]
Daily bump.

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

22 years ago2001-11-21 Toon Moene <toon@moene.indiv.nluug.nl>
toon [Wed, 21 Nov 2001 06:30:50 +0000 (06:30 +0000)]
2001-11-21  Toon Moene  <toon@moene.indiv.nluug.nl>

* g77.texi: egcs was not a `@command'.
* invoke.texi: Ditto.
* news.texi: Substitute `@command' for `@code'
and `@option' for `@samp' where appropriate.

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

22 years ago * clipper.c (clipper_movstr): Avoid uninitialized warning.
ghazi [Wed, 21 Nov 2001 04:57:09 +0000 (04:57 +0000)]
* clipper.c (clipper_movstr): Avoid uninitialized warning.
* i960.c (is_mask, legitimize_address): Likewise.
* m88k.c (m88k_expand_prologue): Likewise.
* m88k.md: Likewise.
* mcore.c (emit_new_cond_insn): Likewise.
* stormy16.c (xstormy16_emit_cbranch): Likewise.

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

22 years ago * config.gcc: Delete powerpcle-*-solaris2* stanza.
zack [Wed, 21 Nov 2001 02:57:16 +0000 (02:57 +0000)]
* config.gcc: Delete powerpcle-*-solaris2* stanza.
* config/rs6000/eabi.asm, config/rs6000/rs6000.c,
config/rs6000/rs6000.h, config/rs6000/rs6000.md,
config/rs6000/sol-ci.asm, config/rs6000/sol-cn.asm,
config/rs6000/sysv4.h, config/rs6000/t-ppccomm,
config/rs6000/t-ppcos: Expunge all references to Solaris.

* config/rs6000/sol-c0.c, config/rs6000/sol2.h: Delete.

* config/rs6000/rs6000.md: Replace '%$' with '$' in all
output templates.
* config/rs6000/rs6000.h: Define DEFAULT_PCC_STRUCT_RETURN to 0,
and change RETURN_IN_MEMORY to just check AGGREGATE_TYPE_P.

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

22 years ago * sh.md: Avoid uninitialized warnings.
ghazi [Wed, 21 Nov 2001 02:28:45 +0000 (02:28 +0000)]
* sh.md: Avoid uninitialized warnings.
* vax.c (vax_rtx_cost): Likewise.

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

22 years agoAdd cmptf missed in patch.
dje [Wed, 21 Nov 2001 02:18:58 +0000 (02:18 +0000)]
Add cmptf missed in patch.

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

22 years ago2001-11-20 David O'Brien <obrien@FreeBSD.org>
obrien [Wed, 21 Nov 2001 02:06:45 +0000 (02:06 +0000)]
2001-11-20  David O'Brien  <obrien@FreeBSD.org>
* config.gcc: Add FreeBSD/PowerPC target.
(powerpc64-*-linux*, powerpc-*-sysv*, powerpc-*-netbsd*,
powerpc-*-chorusos*, powerpc-*-eabiaix*, powerpc-*-eabisim*,
powerpc-*-elf*, powerpc-*-eabi*, powerpc-*-rtems*,
powerpc-*-linux*libc1, powerpc-*-linux*, powerpc-wrs-vxworks*,
powerpcle-wrs-vxworks*, powerpcle-*-sysv*, powerpcle-*-elf*,
powerpcle-*-eabisim*, powerpcle-*-eabi*, powerpcle-*-solaris2*): Add
freebsd-spec.h to tm_file.
(rs6000-*-lynxos*): Add lynx.h to tm_file.
* config/freebsd.h: Tidy up.
(USING_CONFIG_FREEBSD): Define.
(FBSD_SWITCH_TAKES_ARG, FBSD_WORD_SWITCH_TAKES_ARG,
FBSD_CPP_PREDEFINES, FBSD_CPP_SPEC, FBSD_STARTFILE_SPEC,
FBSD_ENDFILE_SPEC, FBSD_LIB_SPEC): Remove (moved to freebsd-spec.h).
(TARGET_HAS_F_SETLKW): Define.
(ASM_OUTPUT_IDENT): Delete, the elfos.h definition is fine.
* config/freebsd-spec.h: New file.
* config/rs6000/freebsd.h: New file.
* config/rs6000/rs6000.h (TARGET_VERSION): Do not define.
* config/rs6000/rs6000.c: Test for USING_ELFOS_H rather than
USING_SVR4_H to know when to turn on ELF support.
* config/rs6000/sysv4.h (TARGET_VERSION, CPP_PREDEFINES): Don't undef,
define only if not already defined.
Add FreeBSD support.
* config/rs6000/aix.h (TARGET_VERSION): Define.
* config/rs6000/beos.h: Likewise.
* config/rs6000/darwin.h: Likewise.
* config/rs6000/mach.h: Likewise.
* config/rs6000/lynx.h (TARGET_VERSION): Likewise.
Don't include lynx.h directly.

Approved by:  Geoff Keating <geoffk@geoffk.org>
              Message-Id: <200111192053.MAA11977@geoffk.org>
  Stan Shebs <shebs@apple.com>  (Darwin bits)
              Message-ID: <3BF95F29.794BC924@apple.com>

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

22 years ago * rs6000.c (direct_return): Check if we are saving altivec
aldyh [Wed, 21 Nov 2001 01:04:44 +0000 (01:04 +0000)]
* rs6000.c (direct_return): Check if we are saving altivec
registers.
(first_altivec_reg_to_save): New.
Updated stack frame layout comments.
(rs6000_stack_info): Calculate altivec register save size.
Save link register if we saved some altivec registers.
(rs6000_stack_info): Align save size to 16 if altivec abi or
abi_darwin.
(rs6000_stack_info): Calculate altivec register offsets.
(rs6000_stack_info): Add altivec info to save_size.
(debug_stack_info): Add altivec debug info.
(rs6000_emit_prologue): Save altivec registers and vrsave.
(compute_vrsave_mask): New.
(altivec_expand_builtin): Remove unused variables.
(rs6000_parse_abi_options): Add static qualifier.
(rs6000_expand_builtin): Remove unused parameters.
(altivec_expand_builtin): Cast bdesc_2arg to get rid of warning.
(altivec_init_builtins): Same.
(is_altivec_return_reg): New.
(vrsave_operation): New.
(ALTIVEC_REG_BIT): New.
(generate_set_vrsave): New.

* rs6000.md (get_vrsave): New.
(set_vrsave): New.
(*set_vrsave_internal): New.

* rs6000.h (rs6000_stack): Add first_altivec_reg_save,
altivec_save_offset, vrsave_save_offset, altive_size, vrsave_size,
altivec_padding_size, vrsave_mask.
(TOTAL_ALTIVEC_REGS): New.
(EPILOGUE_USES): Add VRSAVE_REGNO.

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

22 years ago * unroll.c (copy_loop_body): Update LABEL_NUSES for the
law [Wed, 21 Nov 2001 00:50:56 +0000 (00:50 +0000)]
    * unroll.c (copy_loop_body): Update LABEL_NUSES for the
        exit label as necessary.

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

22 years ago * reload1.c (elimination_effects): Use function_invariant_p
rth [Wed, 21 Nov 2001 00:04:47 +0000 (00:04 +0000)]
    * reload1.c (elimination_effects): Use function_invariant_p
        instead of CONSTANT_P when considering register equivalences.

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

22 years ago2001-11-17 Aldy Hernandez <aldyh@redhat.com>
aldyh [Tue, 20 Nov 2001 21:15:52 +0000 (21:15 +0000)]
2001-11-17  Aldy Hernandez  <aldyh@redhat.com>

        * gcc.dg/altivec-1.c: Fix typo.

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

22 years agoAdd the part of the freebsd-ppc patch that was rejected by patch(1).
obrien [Tue, 20 Nov 2001 19:49:28 +0000 (19:49 +0000)]
Add the part of the freebsd-ppc patch that was rejected by patch(1).

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

22 years ago2001-11-20 David O'Brien <obrien@FreeBSD.org>
obrien [Tue, 20 Nov 2001 19:43:28 +0000 (19:43 +0000)]
2001-11-20  David O'Brien  <obrien@FreeBSD.org>
* config.gcc: Add FreeBSD/PowerPC target.
(powerpc64-*-linux*, powerpc-*-sysv*, powerpc-*-netbsd*,
powerpc-*-chorusos*, powerpc-*-eabiaix*, powerpc-*-eabisim*,
powerpc-*-elf*, powerpc-*-eabi*, powerpc-*-rtems*,
powerpc-*-linux*libc1, powerpc-*-linux*, powerpc-wrs-vxworks*,
powerpcle-wrs-vxworks*, powerpcle-*-sysv*, powerpcle-*-elf*,
powerpcle-*-eabisim*, powerpcle-*-eabi*, powerpcle-*-solaris2*): Add
freebsd-spec.h to tm_file.
(rs6000-*-lynxos*): Add lynx.h to tm_file.
* config/freebsd.h: Tidy up.
(USING_CONFIG_FREEBSD): Define.
(FBSD_SWITCH_TAKES_ARG, FBSD_WORD_SWITCH_TAKES_ARG,
FBSD_CPP_PREDEFINES, FBSD_CPP_SPEC, FBSD_STARTFILE_SPEC,
FBSD_ENDFILE_SPEC, FBSD_LIB_SPEC): Remove (moved to freebsd-spec.h).
(TARGET_HAS_F_SETLKW): Define.
(ASM_OUTPUT_IDENT): Delete, the elfos.h definition is fine.
* config/freebsd-spec.h: New file.
* config/rs6000/freebsd.h: New file.
* config/rs6000/rs6000.h (TARGET_VERSION): Do not define.
* config/rs6000/rs6000.c: Test for USING_ELFOS_H rather than
USING_SVR4_H to know when to turn on ELF support.
* config/rs6000/sysv4.h (TARGET_VERSION, CPP_PREDEFINES): Don't undef,
define only if not already defined.
Add FreeBSD support.
* config/rs6000/aix.h (TARGET_VERSION): Define.
* config/rs6000/beos.h: Likewise.
* config/rs6000/darwin.h: Likewise.
* config/rs6000/mach.h: Likewise.
* config/rs6000/lynx.h (TARGET_VERSION): Likewise.
Don't include lynx.h directly.

Approved by:  Geoff Keating <geoffk@geoffk.org>
              Message-Id: <200111192053.MAA11977@geoffk.org>
  Stan Shebs <shebs@apple.com>  (Darwin bits)
              Message-ID: <3BF95F29.794BC924@apple.com>

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

22 years ago * unwind-dw2-fde.c (__deregister_frame_info_bases):
grahams [Tue, 20 Nov 2001 18:14:19 +0000 (18:14 +0000)]
* unwind-dw2-fde.c (__deregister_frame_info_bases):
Fix lossage in last change return OB.

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

22 years ago2001-11-18 Roger Sayle <roger@eyesopen.com>
tromey [Tue, 20 Nov 2001 18:02:25 +0000 (18:02 +0000)]
2001-11-18  Roger Sayle <roger@eyesopen.com>

* parse.h (java_expand_switch): Remove old prototype.

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

22 years ago * config/alpha/xm-vms.h (_POSIX_EXIT): Define.
kenner [Tue, 20 Nov 2001 17:07:08 +0000 (17:07 +0000)]
* config/alpha/xm-vms.h (_POSIX_EXIT): Define.
Remove unneeded exit related macros.

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

22 years ago * rs6000.c (rs6000_emit_eh_toc_restore): Remove ALIGN parm.
dje [Tue, 20 Nov 2001 16:13:07 +0000 (16:13 +0000)]
    * rs6000.c (rs6000_emit_eh_toc_restore): Remove ALIGN parm.

        * rs6000.c (rs6000_emit_move): Add TFmode case.
        * sysv4.h (MASK_LONG_DOUBLE_128, TARGET_LONG_DOUBLE_128,
        LONG_DOUBLE_TYPE_SIZE, MAX_LONG_DOUBLE_TYPE_SIZE,
        LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Move from here...
        * rs6000.h: ... to here.
        * rs6000.md (movtf, extenddftf2, extendsftf2, trunctfdf2,
        trunctfsf2, floatditf2, floatsitf2, fix_trunctfdi2,
        fix_trunctfsi2, negtf2, abstf2, nabstf2): New patterns.

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

22 years ago * gcc.dg/c90-intconst-1.c, gcc.dg/c99-intconst-1.c: New tests.
jsm28 [Tue, 20 Nov 2001 12:29:30 +0000 (12:29 +0000)]
* gcc.dg/c90-intconst-1.c, gcc.dg/c99-intconst-1.c: New tests.

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

22 years agoTreat XScale as ARM
nickc [Tue, 20 Nov 2001 12:00:10 +0000 (12:00 +0000)]
Treat XScale as ARM

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

22 years ago * emit-rtl.c (get_mem_attrs): Fix typo.
kenner [Tue, 20 Nov 2001 11:50:23 +0000 (11:50 +0000)]
* emit-rtl.c (get_mem_attrs): Fix typo.

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

22 years ago * c-lang.c (finish_file): Backout 2001-11-16
jakub [Tue, 20 Nov 2001 11:10:16 +0000 (11:10 +0000)]
* c-lang.c (finish_file): Backout 2001-11-16
changes, instead set DECL_DEFER_OUTPUT for static inline functions
before calling c_expand_deferred_function.

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

22 years ago * unwind-dw2-fde.c (__register_frame_info_bases, __register_frame):
jakub [Tue, 20 Nov 2001 11:08:17 +0000 (11:08 +0000)]
* unwind-dw2-fde.c (__register_frame_info_bases, __register_frame):
Don't register empty .eh_frame sections.
(__deregister_frame_info_bases, __deregister_frame): Don't
unregister them either.

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

22 years ago * configure.in (HAVE_AS_GDWARF2_DEBUG_FLAG): Define.
geoffk [Tue, 20 Nov 2001 10:16:09 +0000 (10:16 +0000)]
* configure.in (HAVE_AS_GDWARF2_DEBUG_FLAG): Define.
(HAVE_AS_GSTABS_DEBUG_FLAG): Define.
* configure: Regenerate.
* config.in: Add dummy definitions of new flags.
* toplev.c (PREFERRED_DEBUGGING_TYPE): Move definition to...
* defaults.h (PREFERRED_DEBUGGING_TYPE): ... here.
* gcc.c (ASM_DEBUG_SPEC): New macro.
(asm_debug): New static variable.
(default_compilers): Add asm_debug when assembling from
user input.
(static_specs): Add asm_debug.

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

22 years ago PR c++/3637
mmitchel [Tue, 20 Nov 2001 09:00:33 +0000 (09:00 +0000)]
PR c++/3637
* call.c (non_reference): Add documentation.
(convert_class_to_reference): Do not strip reference types
from conversion operators.
(maybe_handle_ref_bind): Simplify.
(compare_ics): Correct handling of references.

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

22 years agoDaily bump.
gccadmin [Tue, 20 Nov 2001 08:16:18 +0000 (08:16 +0000)]
Daily bump.

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

22 years ago * config.gcc (*-*-freebsd*): Remove configuration block.
ljrittle [Tue, 20 Nov 2001 07:36:29 +0000 (07:36 +0000)]
* config.gcc (*-*-freebsd*): Remove configuration block.

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

22 years ago bootstrap/4422
ljrittle [Tue, 20 Nov 2001 06:38:53 +0000 (06:38 +0000)]
bootstrap/4422
* configure.in: Setup ability to run ./stage[1234]/xgcc in
fixinc *as if* it were a proper lang subdirectory.
* configure: Rebuilt.

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

22 years ago * config/freebsd.h: Remove DEFAULT_VTABLE_THUNKS (again).
ljrittle [Tue, 20 Nov 2001 05:49:35 +0000 (05:49 +0000)]
* config/freebsd.h: Remove DEFAULT_VTABLE_THUNKS (again).

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

22 years ago * verify.cc (_Jv_BytecodeVerifier::branch_prepass) [op_iinc]:
tromey [Tue, 20 Nov 2001 05:16:17 +0000 (05:16 +0000)]
* verify.cc (_Jv_BytecodeVerifier::branch_prepass) [op_iinc]:
Uses two operand bytes, not one.
[op_arraylength]: Has no operands in bytecode.
(_Jv_BytecodeVerifier::push_jump): Fixed call to
check_no_uninitialized_objects.
(_Jv_BytecodeVerifier::push_exception_jump): Likewise.
(_Jv_BytecodeVerifier::handle_ret_insn): Likewise.
(_Jv_BytecodeVerifier::handle_jsr_insn): Likewise.

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

22 years ago * dump.c (dump_op): New function.
mmitchel [Tue, 20 Nov 2001 05:09:34 +0000 (05:09 +0000)]
* dump.c (dump_op): New function.
(cp_dump_tree): Dump CLASSTYPE_TEMPLATE_SPECIALIZATION.  Use
dump_op.  Dump DECL_MUTABLE, access and staticness for VAR_DECLs.
DECL_PURE_VIRTUAL_P, DECL_VIRTUAL_P,

PR4629
* semantics.c (finish_sizeof): Make sure that expression created
while processing a template do not have a type.
(finish_alignof): Likewise.
* typeck.c (c_sizeof): Likewise.
(expr_sizeof): Likewise.

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

22 years ago * Make-lang.in: Complete ``Build g77.1 in $(srcdir)''.
ljrittle [Tue, 20 Nov 2001 04:39:13 +0000 (04:39 +0000)]
* Make-lang.in: Complete ``Build g77.1 in $(srcdir)''.

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

22 years ago * 1750a.md: Don't use hex format for a const_int.
ghazi [Tue, 20 Nov 2001 04:37:12 +0000 (04:37 +0000)]
* 1750a.md: Don't use hex format for a const_int.

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

22 years ago * expmed.c (extract_bit_field): Don't create invalid SUBREGs.
geoffk [Tue, 20 Nov 2001 04:12:11 +0000 (04:12 +0000)]
* expmed.c (extract_bit_field): Don't create invalid SUBREGs.

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

22 years agoIndex: f/ChangeLog
geoffk [Tue, 20 Nov 2001 04:03:52 +0000 (04:03 +0000)]
Index: f/ChangeLog

* g77spec.c (lang_specific_driver) [ENABLE_SHARED_LIBGCC]: Add
libgcc_s.so if libf2c is used.
* Make-lang.in (g77spec.o): Use DRIVER_DEFINES.

Index: testsuite/ChangeLog

* lib/g77.exp: Don't specify --rpath-link.

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

22 years ago * gcc.dg/cpp/cpp.exp: For testing on a remote host, copy
geoffk [Tue, 20 Nov 2001 03:51:02 +0000 (03:51 +0000)]
* gcc.dg/cpp/cpp.exp: For testing on a remote host, copy
across all the headers.
* gcc.dg/format/format.exp: For testing on a remote host,
copy format.h.

* gcc.c-torture/execute/20011008-3.c: Allow for small STACK_SIZE.
* gcc.c-torture/execute/930406-1.c: Likewise.
* gcc.c-torture/execute/comp-goto-1.c: Likewise.

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

22 years ago2001-11-19 Phil Edwards <pme@gcc.gnu.org>
pme [Tue, 20 Nov 2001 00:51:37 +0000 (00:51 +0000)]
2001-11-19  Phil Edwards  <pme@gcc.gnu.org>

* docs/doxygen/Intro.3:  More notes.
* docs/doxygen/style.css:  Update to default style from Doxygen 1.2.10.
* include/bits/stl_algobase.h:  Add doxygen hooks for functions.
* include/ext/hash_map:  Add @file hook.
* include/ext/hash_set:  Likewise.
* include/ext/rope:  Likewise.
* include/ext/ropeimpl.h:  Likewise.
* include/ext/slist:  Likewise.
* include/ext/stl_hash_fun.h:  Likewise.
* include/ext/stl_hashtable.h:  Likewise.
* include/ext/stl_rope.h:  Likewise.

* docs/html/17_intro/license.html:  Remove "experimental" sentence.
* docs/html/19_diagnostics/howto.html:  Document new verbose
terminate handler.
* testsuite/27_io/filebuf.cc:  Fix comment, move tweakable parameter
to more visible (closer to description) position.

* libsupc++/eh_type.cc:  Formatting tweak.
* libsupc++/exception:  Likewise.
* src/vterminate.cc:  Likewise.

* docs/html/17_intro/porting.html:  Regenerate.
* docs/html/faq/index.txt:  Regenerate.

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

22 years ago * gcc.c-dg/altivec.c: New.
aldyh [Tue, 20 Nov 2001 00:38:56 +0000 (00:38 +0000)]
    * gcc.c-dg/altivec.c: New.

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

22 years ago * verify.cc (_Jv_BytecodeVerifier::require_array_type): Special
tromey [Tue, 20 Nov 2001 00:38:40 +0000 (00:38 +0000)]
* verify.cc (_Jv_BytecodeVerifier::require_array_type): Special
case for boolean arrays.

* verify.cc (_Jv_BytecodeVerifier::compute_jump): Put PC into
error message.

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

22 years ago * mkconfig.sh: Undefine ENABLE_NLS if GENERATOR_FILE is
zack [Mon, 19 Nov 2001 23:12:41 +0000 (23:12 +0000)]
* mkconfig.sh: Undefine ENABLE_NLS if GENERATOR_FILE is
defined (prevents link errors when gettext isn't in the system
library).

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

22 years ago2001-11-19 Toon Moene <toon@moene.indiv.nluug.nl>
toon [Mon, 19 Nov 2001 22:56:51 +0000 (22:56 +0000)]
2001-11-19  Toon Moene <toon@moene.indiv.nluug.nl>

* .cvsignore: Ignore g77.1
* g77.texi: Substitute `@command' for `@code'
where appropriate.
* invoke.texi: Ditto.

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

22 years ago* read-rtl.c (ISDIGIT, ISSPACE): Make sure we have these.
dj [Mon, 19 Nov 2001 22:37:12 +0000 (22:37 +0000)]
* read-rtl.c (ISDIGIT, ISSPACE): Make sure we have these.
(validate_const_int): New.
(read_rtx): Validate constant integers.
* config/i386/i386.md (pmulhrwv4hi3): Use decimal constants.

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

22 years ago * doc/hostconfig.texi (DUMPFILE_FORMAT): Move into the table.
jakub [Mon, 19 Nov 2001 22:34:58 +0000 (22:34 +0000)]
* doc/hostconfig.texi (DUMPFILE_FORMAT): Move into the table.

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

22 years ago * toplev.c (DUMPFILE_FORMAT): Define default.
kenner [Mon, 19 Nov 2001 22:09:00 +0000 (22:09 +0000)]
* toplev.c (DUMPFILE_FORMAT): Define default.
(open_dump_file): Use DUMPFILE_FORMAT in sprintf.
(close_dump_file, compile_file): Likewise.
* config/alpha/xm-vms.h (DUMPFILE_FORMAT): Define.
* doc/hostconfig.texi (DUMPFILE_FORMAT): Document

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

22 years ago * gcse.c (cprop_jump): Clear JUMP_LABEL field when we create
law [Mon, 19 Nov 2001 21:51:53 +0000 (21:51 +0000)]
* gcse.c (cprop_jump): Clear JUMP_LABEL field when we create
a nop-jump.

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

22 years ago * cppmacro.c (_cpp_backup_tokens): Revert previous check-in.
neil [Mon, 19 Nov 2001 21:04:49 +0000 (21:04 +0000)]
* cppmacro.c (_cpp_backup_tokens): Revert previous check-in.
Don't fall off the base token run.
* gcc.dg/cpp/fpreprocessed.c: New test case.

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

22 years ago * Makefile.in: Use INSTALL_SCRIPT not INSTALL_PROGRAM.
neil [Mon, 19 Nov 2001 20:55:13 +0000 (20:55 +0000)]
* Makefile.in: Use INSTALL_SCRIPT not INSTALL_PROGRAM.

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

22 years ago2001-11-19 Laurent Guerby <guerby@acm.org>
guerby [Mon, 19 Nov 2001 20:39:10 +0000 (20:39 +0000)]
2001-11-19  Laurent Guerby  <guerby@acm.org>

* Makefile.in (INCLUDES_FOR_SUBDIR): Remove redundant system include
since it is of no apparent use and cause warnings.

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

22 years ago * tree.def (VIEW_CONVERT_EXPR): New tree code.
kenner [Mon, 19 Nov 2001 20:38:07 +0000 (20:38 +0000)]
* tree.def (VIEW_CONVERT_EXPR): New tree code.
* tree.h (handled_component_p): New declaration.
* alias.c (handled_component_p): Move function from here ...
* expr.c (handled_component_p): ... to here and non longer static.
(is_zeros_p, case VIEW_CONVERT_EXPR): New case.
(store_field): Remove unneeded MEM_COPY_ATTRIBUTES call.
(get_inner_reference): Handle VIEW_CONVERT_EXPR.
(expand_expr, case VAR_DECL): Clean up handling of re-layout case.
(expand_expr, case VIEW_CONVERT_EXPR): New case.
(expand_expr, cse ADDR_EXPR): No need to copy if already
BIGGEST_ALIGNMENT.
* fold-const.c (fold, case VIEW_CONVERT_EXPR): New case.
* varasm.c (initializer_constant_value_p, case VIEW_CONVERT_EXPR): New.
(output_constant): Handle VIEW_CONVERT_EXPR.
* dwarf2out.c (loc-descriptor_from_tree, add_bound_info):
Add new case for VIEW_CONVERT_EXPR.

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

22 years ago * a29k/unix.h (ASM_FILE_START): Const-ify.
ghazi [Mon, 19 Nov 2001 18:30:04 +0000 (18:30 +0000)]
* a29k/unix.h (ASM_FILE_START): Const-ify.
* i386/beos-elf.h (INCLUDE_DEFAULTS): Remove semi-colon.
* i386/isc.h (ASM_FILE_START): Const-ify.
* i386/sun386.h (ASM_FILE_START): Likewise.
* m32r.md: Likewise.
* m68k/auxas.h (ADDITIONAL_REGISTER_NAMES): Add missing brackets.
* m68k/auxgas.h ADDITIONAL_REGISTER_NAMES): Likewise.
* m68k/tower.h (REGISTER_NAMES): Remove semi-colon.
* mn10200.md: Initialize variable.

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

22 years ago * verify.cc (_Jv_BytecodeVerifier::verify_instructions_0)
tromey [Mon, 19 Nov 2001 18:28:28 +0000 (18:28 +0000)]
* verify.cc (_Jv_BytecodeVerifier::verify_instructions_0)
[op_lshl, op_lshr, op_lushr]: Shift argument is an int, not a
long.

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

22 years ago * gcse.c (try_replace_reg): Copy RTX before creating note.
hubicka [Mon, 19 Nov 2001 17:08:48 +0000 (17:08 +0000)]
* gcse.c (try_replace_reg): Copy RTX before creating note.

* df.h (df_ref_flags): New uenum.
(DF_REF_FLAGS): New macro.
(struct ref): Add field "flags".
* df.c (HANDLE_SUBREG): Remove.
(df_ref_create): Likewise; set flags field of ref.
(df_def_record_1): Strip down read_write subreg; remove
commented out code; set READ_WRITE flag.
(read_modify_subreg_p): New static function.
(df_uses_record): Cleanup SET handling; set READ_WRITE flag;
new argument "flags".
(df_insn_refs_record): Update call of df_uses_record.
(df_insn_modify): Avoid #if 0 around comment.
(df_dump): Dump the read/write flag.

* predict.c (propagate_freq): Make cyclic_probability and frequency
volatile

* i386.c (ix86_cc_mode): Accept USE.

* cfgrtl.c (purge_dead_edges):  Cleanup EDGE_ABNORMAL flag if computed
jump is turned into simplejump.

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

22 years ago * gcc_release: Add /usr/local/bin to path when local.
jsm28 [Mon, 19 Nov 2001 13:16:39 +0000 (13:16 +0000)]
* gcc_release: Add /usr/local/bin to path when local.

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

22 years ago * doc/fragments.texi, doc/trouble.texi: Remove links to old
jsm28 [Mon, 19 Nov 2001 12:42:28 +0000 (12:42 +0000)]
* doc/fragments.texi, doc/trouble.texi: Remove links to old
installation chapter.
* doc/gcc.texi: Don't claim that this manual documents
installation.  Mark Installation menu entry as being out of date.

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

22 years ago * config/alpha/xm-vms.h: Don't define macros that autoconf handles.
kenner [Mon, 19 Nov 2001 12:17:28 +0000 (12:17 +0000)]
* config/alpha/xm-vms.h: Don't define macros that autoconf handles.
(SUCCESS_EXIT_CODE, FATAL_EXIT_CODE): Define for posix compatibility.
* gcc.c (exit): Remove definition for VMS; moved to xm-vms.h.

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

22 years ago * cppmacro.c (_cpp_backup_tokens): Pop cur_run before decrementing
jason [Mon, 19 Nov 2001 11:28:52 +0000 (11:28 +0000)]
    * cppmacro.c (_cpp_backup_tokens): Pop cur_run before decrementing
        cur_token, not after.

        * config/clipper/clix.h, config/h8300/elf.h, config/mips/linux.h:
        Lose ASM_OUTPUT_CONSTRUCTOR.
        * system.h: Poison it and INT_ASM_OP.
        * c-lang.c (finish_file): Don't check for it.
        * libgcc2.c (L_ctors): Check TARGET_ASM_CONSTRUCTOR instead.

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

22 years agoDaily bump.
gccadmin [Mon, 19 Nov 2001 08:16:15 +0000 (08:16 +0000)]
Daily bump.

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

22 years ago * verify.cc (type::to_array): New method.
tromey [Mon, 19 Nov 2001 07:08:36 +0000 (07:08 +0000)]
* verify.cc (type::to_array): New method.
(_Jv_BytecodeVerifier::verify_instructions_0) [op_anewarray]:
Construct new array type.

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

22 years ago * mmix.c (mmix_cc1_ignored_option): Const-ify.
ghazi [Mon, 19 Nov 2001 02:43:32 +0000 (02:43 +0000)]
* mmix.c (mmix_cc1_ignored_option): Const-ify.
(mmix_init_machine_status): Make static to match declaration.
(mmix_unique_section): Const-ify.
(mmix_output_quoted_string): Avoid automatic aggregate
initialization.
(mmix_output_register_setting): Likewise.
(mmix_output_shiftvalue_op_from_str): Likewise.

* mmix.h (mmix_cc1_ignored_option): Const-ify.
(ASM_OUTPUT_BYTE): Fix format specifier warning.
(ASM_GENERATE_INTERNAL_LABEL): Likewise.

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

22 years ago * verify.cc (_Jv_BytecodeVerifier::branch_prepass) [op_sipush]:
tromey [Mon, 19 Nov 2001 02:13:08 +0000 (02:13 +0000)]
* verify.cc (_Jv_BytecodeVerifier::branch_prepass) [op_sipush]:
Skip a short, not a byte.
[op_newarray]: Skip a byte, not a short.

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

22 years ago * verify.cc (_Jv_BytecodeVerifier::get_type_val_for_signature):
tromey [Mon, 19 Nov 2001 01:37:28 +0000 (01:37 +0000)]
* verify.cc (_Jv_BytecodeVerifier::get_type_val_for_signature):
Added `B' case.

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

22 years ago * verify.cc (_Jv_BytecodeVerifier::get_ushort): Use `jint' for
tromey [Mon, 19 Nov 2001 01:04:15 +0000 (01:04 +0000)]
* verify.cc (_Jv_BytecodeVerifier::get_ushort): Use `jint' for
temporary values.
(_Jv_BytecodeVerifier::get_short): Likewise.
(_Jv_BytecodeVerifier::get_int): Likewise.
(_Jv_BytecodeVerifier::check_return_type): Reverse ordering of
`compatible' call.

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

22 years ago * verify.cc (_Jv_BytecodeVerifier::pop_type): Put PC into error
tromey [Mon, 19 Nov 2001 00:31:37 +0000 (00:31 +0000)]
* verify.cc (_Jv_BytecodeVerifier::pop_type): Put PC into error
message.
(_Jv_BytecodeVerifier::pop64): Likewise.
(_Jv_BytecodeVerifier::pop32): Likewise.
(_Jv_BytecodeVerifier::pop_raw): Likewise.
(_Jv_BytecodeVerifier::pop_type): Promote the match type.
(type::set_initialized): Only modify uninitialized types.
(type::set_uninitialized): Fix shadowing bug.  Simplify code.

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

22 years ago2001-11-18 Craig Rodrigues <rodrigc@gcc.gnu.org>
rodrigc [Mon, 19 Nov 2001 00:24:52 +0000 (00:24 +0000)]
2001-11-18  Craig Rodrigues  <rodrigc@gcc.gnu.org>

PR c/4448
* gthr-win32.h: (__gthread_objc_thread_exit): Fix variable
name __objc_thread_exit_status so that it matches the
variable defined in objc/thr.h.

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

22 years ago Fix for PR java/1401:
tromey [Mon, 19 Nov 2001 00:13:36 +0000 (00:13 +0000)]
Fix for PR java/1401:
* jcf-write.c (generate_bytecode_insns) [binop]: Handle case where
arg0 is null.
(generate_bytecode_insns) [MODIFY_EXPR]: Handle `OP=' case
correctly.

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

22 years ago * verify.cc: Include StringBuffer.h.
tromey [Sun, 18 Nov 2001 23:04:28 +0000 (23:04 +0000)]
* verify.cc: Include StringBuffer.h.
(verify_fail): Added pc argument.  Use StringBuffer to construct
exception message.
(_Jv_BytecodeVerifier::verify_instructions_0): Put PC into error
message.
(_Jv_BytecodeVerifier::check_return_type): Likewise.
(_Jv_BytecodeVerifier::handle_field_or_method): Likewise.
(_Jv_BytecodeVerifier::check_constant): Likewise.
(_Jv_BytecodeVerifier::check_class_constant): Likewise.
(_Jv_BytecodeVerifier::check_pool_index): Likewise.
(_Jv_BytecodeVerifier::get_variable): Likewise.
(_Jv_BytecodeVerifier::branch_prepass): Likewise.  Also, correctly
check exception handler endpoint.
(_Jv_BytecodeVerifier::verify_instructions_0): Correctly handle
wide arguments to current method.
(_Jv_BytecodeVerifier::check_wide_constant): New method.
(_Jv_BytecodeVerifier::verify_instructions_0) [op_ldc2_w]: Use
it.

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

22 years ago2001-11-18 Craig Rodrigues <rodrigc@gcc.gnu.org>
rodrigc [Sun, 18 Nov 2001 22:08:32 +0000 (22:08 +0000)]
2001-11-18  Craig Rodrigues  <rodrigc@gcc.gnu.org>

PR bootstrap/4020
* mklibgcc.in: Add missing semi-colons.
* Makefile.in: Same.

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

22 years ago * expr.c (expand_expr, case VAR_DECL): Update alignment of DECL_RTL
kenner [Sun, 18 Nov 2001 21:44:26 +0000 (21:44 +0000)]
* expr.c (expand_expr, case VAR_DECL): Update alignment of DECL_RTL
after re-laying out decl in incomplete case.
(expand_expr, case ADDR_EXPR): Fix typo in copy case.

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

22 years ago2001-11-18 Toon Moene <toon@moene.indiv.nluug.nl>
toon [Sun, 18 Nov 2001 20:37:36 +0000 (20:37 +0000)]
2001-11-18  Toon Moene  <toon@moene.indiv.nluug.nl>

* Make-lang.in: Remove all references to LANGUAGES
and the stamp files that depend on its value.

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

22 years ago * doc/install-old.texi: Move some sections out to ...
jsm28 [Sun, 18 Nov 2001 19:46:58 +0000 (19:46 +0000)]
* doc/install-old.texi: Move some sections out to ...
* doc/collect2.texi, doc/configfiles.texi, doc/headerdirs.texi:
... here.  New files.  Make into chapters rather than sections.
* doc/gcc.texi: Include the new files and add menu entries for
them.
* Makefile.in ($(docdir)/gcc.info, gcc.dvi): Update dependencies.

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

22 years ago * tree.h (TYPE_ALIGN_OK): New flag.
kenner [Sun, 18 Nov 2001 19:36:01 +0000 (19:36 +0000)]
* tree.h (TYPE_ALIGN_OK): New flag.
* emit-rtl.c (set_mem_attributes): Handle it.
* expr.c (emit_single_push_insn): Only set to alias set 0 if
doing sibcall optimization.
(expand_expr, case COMPONENT_REF): Call set_mem_attributes on case
when make temporary.
(expand_expr, case CONVERT_EXPR): Simplify convert-to-union case.
(expand_expr, case ADDR_EXPR): Abort if TYPE_ALIGN_OK and need copy.

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

22 years ago * sdbout.c (sdbout_symbol): Avoid warning due to &DECL_RTL.
kenner [Sun, 18 Nov 2001 19:08:43 +0000 (19:08 +0000)]
* sdbout.c (sdbout_symbol): Avoid warning due to &DECL_RTL.

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

22 years ago * c-decl.c (c_decode_option): Give deprecation warning for
jsm28 [Sun, 18 Nov 2001 17:16:24 +0000 (17:16 +0000)]
* c-decl.c (c_decode_option): Give deprecation warning for
-traditional.
* doc/invoke.texi (-traditional): Note that this option is
deprecated.

testsuite:
* gcc.dg/cpp/assert_trad1.c, gcc.dg/cpp/tr-paste.c,
gcc.dg/cpp/tr-str.c: Use -traditional-cpp instead of -traditional.
* gcc.dg/ext-glob.c: Expect -traditional deprecation warning.

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

22 years ago * config/alpha/alpha.c (alpha_start_function, VMS): Cast shift
kenner [Sun, 18 Nov 2001 12:43:14 +0000 (12:43 +0000)]
* config/alpha/alpha.c (alpha_start_function, VMS): Cast shift
arg to HOST_WIDE_INT, not long.

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

22 years ago * config/alpha/vms.h (DIR_SEPARATOR, PREFIX). Don't define.
kenner [Sun, 18 Nov 2001 12:35:28 +0000 (12:35 +0000)]
* config/alpha/vms.h (DIR_SEPARATOR, PREFIX). Don't define.
(HAS_INIT_SECTION): Define.
(REAL_ARITHMETIC): Don't undefine.

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

22 years ago2001-11-18 Egor Duda <deo@logos-m.ru>
billingd [Sun, 18 Nov 2001 12:06:41 +0000 (12:06 +0000)]
2001-11-18  Egor Duda  <deo@logos-m.ru>

* config/i386/cygwin.h: Strip leading '*' from name, if any.

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

22 years ago * Makefile.in: Update.
neil [Sun, 18 Nov 2001 11:11:52 +0000 (11:11 +0000)]
* Makefile.in: Update.

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

22 years ago * Makefile.in (c-parse.o, c-common.o): Update dependencies.
neil [Sun, 18 Nov 2001 11:04:53 +0000 (11:04 +0000)]
* Makefile.in (c-parse.o, c-common.o): Update dependencies.
* c-common.c: Include diagnostic.h.
(c_common_finish): New.
* c-common.h (c_common_finish): New.
* c-lang.c (LANG_HOOKS_FINISH): Override.
* c-parse.in: Don't include diagnostic.h.
(finish_parse): Remove.
* langhooks.h: Update comments.
* toplev.c (lang_dependent_init): New prototype.
(finalize): New.
(compile_file): Split cleanup code out to finalize.
(lang_dependent_init): Stop if lang_hooks.init fails.
(toplev_main): Update.
* tree.h (finish_parse): Remove.

ada: * misc.c (gnat_decode_option, gnat_init_options): Make definitions
static too.
(gnat_init): Don't return NULL.
(finish_parse): Remove.
cp: * lex.c (cxx_finish): Call c_common_finish.
(finish_parse): Remove.
f: * com.c (finish_parse): Remove.
(ffe_finish): Move body of finish_parse.
java: * lang.c (finish_parse): Rename to java_finish.
(LANG_HOOKS_FINISH, java_finish): New.
objc: * objc-act.c (LANG_HOOKS_FINISH): Override.

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

22 years agoDaily bump.
gccadmin [Sun, 18 Nov 2001 08:16:11 +0000 (08:16 +0000)]
Daily bump.

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

22 years ago * decl.c (create_array_type_for_decl): Check if NAME is NULL_TREE
lerdsuwa [Sun, 18 Nov 2001 06:31:20 +0000 (06:31 +0000)]
* decl.c (create_array_type_for_decl): Check if NAME is NULL_TREE
when displaying error message about missing array bounds.

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

22 years ago * mangle.c (write_expression): Handle CAST_EXPR, STATIC_CAST_EXPR,
lerdsuwa [Sun, 18 Nov 2001 06:24:45 +0000 (06:24 +0000)]
* mangle.c (write_expression): Handle CAST_EXPR, STATIC_CAST_EXPR,
CONST_CAST_EXPR.
* operators.def: Add CAST_EXPR, STATIC_CAST_EXPR, CONST_CAST_EXPR.

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

22 years ago * config/alpha/t-vms (LIB2FUNCS_EXTRA): Add vms_tramp.asm.
kenner [Sun, 18 Nov 2001 04:27:50 +0000 (04:27 +0000)]
* config/alpha/t-vms (LIB2FUNCS_EXTRA): Add vms_tramp.asm.
* config/alpha/vms_tramp.asm: New file.
* config/alpha/vms-tramp.asm: Removed.

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

22 years ago * c-common.c (struct disabled_builtin, disabled_builtins,
jsm28 [Sun, 18 Nov 2001 03:30:57 +0000 (03:30 +0000)]
* c-common.c (struct disabled_builtin, disabled_builtins,
disable_builtin_function, builtin_function_disabled_p): New.
(builtin_function_2): Check for disabled built-in functions.
* c-common.h (disable_builtin_function): Declare.
* c-decl.c (c_decode_option): Handle -fno-builtin-FUNCTION.
* doc/invoke.texi: Document -fno-builtin-FUNCTION.
* doc/extend.texi: Mention -fno-builtin-FUNCTION.

testsuite:
* gcc.dg/no-builtin-1.c: New test.

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

22 years ago * libsupc++/eh_personality.cc (__cxa_call_unexpected): Take void*.
jason [Sun, 18 Nov 2001 02:09:23 +0000 (02:09 +0000)]
    * libsupc++/eh_personality.cc (__cxa_call_unexpected): Take void*.
        * libsupc++/eh_catch.cc (__cxa_begin_catch): Likewise.
        * libsupc++/unwind-cxx.h: Adjust.
        * src/Makefile.am (strstream.o): Pass -Wno-deprecated.

        * libsupc++/eh_type.cc (__cxa_current_exception_type): New file.
        * libsupc++/cxxabi.h: Declare it.
        * libsupc++/Makefile.am (sources): Add it.
        * src/vterminate.cc (verbose_terminate_handler): New file.
        * libsupc++/exception: Declare it.
        * src/Makefile.am (sources): Add it.

        * src/Makefile.am (VPATH): Check the src directory before the top one.

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

22 years ago2001-11-17 Craig Rodrigues <rodrigc@gcc.gnu.org>
rodrigc [Sun, 18 Nov 2001 01:18:55 +0000 (01:18 +0000)]
2001-11-17  Craig Rodrigues  <rodrigc@gcc.gnu.org>

* MAINTAINERS (GNATS only accounts): Remove self.

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

22 years ago2001-11-17 Craig Rodrigues <rodrigc@gcc.gnu.org>
rodrigc [Sun, 18 Nov 2001 00:14:52 +0000 (00:14 +0000)]
2001-11-17  Craig Rodrigues  <rodrigc@gcc.gnu.org>

PR target/4606
* config.gcc: Remove reference to va-clipper.h.

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

22 years agoObvious jni weak reference fix
green [Sat, 17 Nov 2001 21:32:22 +0000 (21:32 +0000)]
Obvious jni weak reference fix

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

22 years ago * config/rs6000/rs6000.h (REG_CLASS_CONTENTS): Fix the
shebs [Sat, 17 Nov 2001 21:17:53 +0000 (21:17 +0000)]
    * config/rs6000/rs6000.h (REG_CLASS_CONTENTS): Fix the
        AltiVec-related bitfields.

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

22 years ago * except.c (enum eh_region_type): Add ERT_UNKNOWN.
kenner [Sat, 17 Nov 2001 17:33:57 +0000 (17:33 +0000)]
* except.c (enum eh_region_type): Add ERT_UNKNOWN.
(mark_eh_region, case ERT_UKNONW): New case.

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

22 years agoAdd extra name.
cgf [Sat, 17 Nov 2001 17:25:34 +0000 (17:25 +0000)]
Add extra name.

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

22 years ago* config/i386/cygwin.h: Search target specific include directory for w32api
cgf [Sat, 17 Nov 2001 17:19:11 +0000 (17:19 +0000)]
* config/i386/cygwin.h: Search target specific include directory for w32api
stuff, if appropriate.

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

22 years ago * config/alpha/vms.h (REG_ALLOC_ORDER): Redefine.
kenner [Sat, 17 Nov 2001 13:17:03 +0000 (13:17 +0000)]
* config/alpha/vms.h (REG_ALLOC_ORDER): Redefine.

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

22 years ago2001-11-17 Laurent Guerby <guerby@acm.org>
guerby [Sat, 17 Nov 2001 11:35:08 +0000 (11:35 +0000)]
2001-11-17  Laurent Guerby  <guerby@acm.org>

* Make-lang.in (GNATLIBFLAGS): Add -W -Wall.
* gigi.h (init_decl_processing): Rename to gnat_init_decl_processing.
* io-aux.c: Provide K&R prototypes to all functions, reformat code.
* lang-spec.h: Add missing struct field to silence warnings.
* sysdep.c (rts_get_*): Provide K&R prototype.
* sysdep.c (Unlock_Task, Lock_Task): Move to K&R prototype.
* traceback.c (Unlock_Task, Lock_Task): Likewise.
* tracebak.c (__gnat_backtrace): Remove unused variable.
* utils.c (end_subprog_body): Move to K&R style.

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