GCC Administrator [Fri, 23 Nov 2001 08:16:17 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r47283
Neil Booth [Fri, 23 Nov 2001 07:50:42 +0000 (07:50 +0000)]
cppmacro.c (warn_of_redefinition): Warn regardless of -pedantic.
* cppmacro.c (warn_of_redefinition): Warn regardless of -pedantic.
* gcc.dg/cpp/mi6.c, gcc.dg/cpp/redef2.c: Update.
From-SVN: r47282
Geoffrey Keating [Fri, 23 Nov 2001 07:35:21 +0000 (07:35 +0000)]
old-dejagnu.exp (old-dejagnu): Copy extra source files to the host if it is remote.
* lib/old-dejagnu.exp (old-dejagnu): Copy extra source files
to the host if it is remote. Let tests specify extra headers
they use.
* g++.old-deja/g++.abi/vtable3a.C: This uses 'vtable3.h'.
* g++.old-deja/g++.abi/vtable3b.C: This uses 'vtable3.h'.
* g++.old-deja/g++.abi/vtable3c.C: This uses 'vtable3.h'.
* g++.old-deja/g++.abi/vtable3d.C: This uses 'vtable3.h'.
* g++.old-deja/g++.abi/vtable3e.C: This uses 'vtable3.h'.
* g++.old-deja/g++.abi/vtable3f.C: This uses 'vtable3.h'.
* g++.old-deja/g++.abi/vtable3g.C: This uses 'vtable3.h'.
* g++.old-deja/g++.abi/vtable3h.C: This uses 'vtable3.h'.
* g++.old-deja/g++.abi/vtable3i.C: This uses 'vtable3.h'.
* g++.old-deja/g++.abi/vtable3j.C: This uses 'vtable3.h'.
From-SVN: r47281
Kaveh R. Ghazi [Fri, 23 Nov 2001 04:56:19 +0000 (04:56 +0000)]
* cris.h: Revert thinko in last patch.
From-SVN: r47280
Joseph Myers [Fri, 23 Nov 2001 02:05:19 +0000 (02:05 +0000)]
ChangeLog.0, [...]: Fix spelling errors.
* ChangeLog.0, ChangeLog.2, ChangeLog.3, ChangeLog.4, ChangeLog,
FSFChangeLog.10, c-decl.c, cppfiles.c, cppinit.c, cpplex.c,
cpplib.c, cppmain.c, cse.c, df.c, diagnostic.c, dominance.c,
dwarf2out.c, dwarfout.c, emit-rtl.c, errors.c, except.c, except.h,
explow.c, function.c, gcse.c, genrecog.c, predict.c, regmove.c,
sched-rgn.c, ssa-ccp.c, stmt.c, toplev.c: Fix spelling errors.
From-SVN: r47279
Joseph Myers [Fri, 23 Nov 2001 01:37:07 +0000 (01:37 +0000)]
predict.c, [...]: Fix spelling errors.
gcc:
* predict.c, reg-stack.c: Fix spelling errors.
libstdc++-v3:
* config/locale/moneypunct_members_gnu.cc,
include/bits/locale_facets.h: Fix spelling errors.
From-SVN: r47278
Stephen M. Webb [Thu, 22 Nov 2001 19:19:23 +0000 (19:19 +0000)]
list_capacity.cc: New file.
2001-11-22 Stephen M. Webb <stephen@bregmasoft.com>
* testsuite/23_containers/list_capacity.cc: New file.
* testsuite/23_containers/list_ctor.cc: New file.
* testsuite/23_containers/list_modifiers.cc: New file.
* testsuite/23_containers/list_operators.cc: New file.
2001-11-22 Stephen M. Webb <stephen@bregmasoft.com>
* include/bits/stl_list.h: Reformatted according to C++STYLE rules.
(size): Replaced nonstandard distance() call with the standard one.
(transfer): Uglified to _M_transfer.
From-SVN: r47277
Andrew Haley [Thu, 22 Nov 2001 16:51:47 +0000 (16:51 +0000)]
calls.c (check_sibcall_argument_overlap): Use slot_offset for start of stack slot.
2001-10-09 Andrew Haley <aph@redhat.com>
* calls.c (check_sibcall_argument_overlap): Use slot_offset for
start of stack slot.
From-SVN: r47276
Nick Clifton [Thu, 22 Nov 2001 16:40:42 +0000 (16:40 +0000)]
fix typo in previous delta
From-SVN: r47275
Graham Stott [Thu, 22 Nov 2001 14:30:37 +0000 (14:30 +0000)]
cfgrtl.c (try_redirect_by_replacing_jump): Fix typo, emit replacement jump after original jump.
* cfgrtl.c (try_redirect_by_replacing_jump): Fix typo, emit
replacement jump after original jump.
(verify_flow_info): Remove redundent initialisation.
Handle reaching end of insn list before finding a BARRIER.
Only issue one missing barrier diagnostic.
From-SVN: r47269
Graham Stott [Thu, 22 Nov 2001 14:22:09 +0000 (14:22 +0000)]
* local-alloc.c (combine_regs): Handle SUBREG_REG being a MEM.
From-SVN: r47268
Nick Clifton [Thu, 22 Nov 2001 12:50:16 +0000 (12:50 +0000)]
(in m32rx patch): Replace "." with "@." when preceeded by a capital letter
From-SVN: r47267
Nick Clifton [Thu, 22 Nov 2001 12:44:39 +0000 (12:44 +0000)]
Fix for little endian ARMs
From-SVN: r47266
Richard Kenner [Thu, 22 Nov 2001 12:27:57 +0000 (07:27 -0500)]
Fix typo in last change
From-SVN: r47265
Richard Kenner [Thu, 22 Nov 2001 11:56:35 +0000 (11:56 +0000)]
i386.md (leave, [...]): Have RTL reflect what insn actually does.
* config/i386/i386.md (leave, leave_rex64): Have RTL reflect what
insn actually does.
From-SVN: r47264
Nick Clifton [Thu, 22 Nov 2001 10:08:10 +0000 (10:08 +0000)]
Document -m32r switch. Fix typo -mm32rx=> -m32rx.
From-SVN: r47263
Nick Clifton [Thu, 22 Nov 2001 09:59:43 +0000 (09:59 +0000)]
Only build arm_elf_asm_named_section for elf targets
From-SVN: r47262
Nick Clifton [Thu, 22 Nov 2001 09:51:42 +0000 (09:51 +0000)]
Add necessary header files to tm_file for xscale-ecoff
From-SVN: r47261
GCC Administrator [Thu, 22 Nov 2001 08:16:17 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r47259
Zack Weinberg [Thu, 22 Nov 2001 06:54:45 +0000 (06:54 +0000)]
* rs6000.c (output_cbranch): Use $, not %$, in output template.
From-SVN: r47258
Bryce McKinlay [Thu, 22 Nov 2001 02:33:02 +0000 (02:33 +0000)]
tree-dump.c: Rename from c-dump.c.
* tree-dump.c: Rename from c-dump.c. Include c-tree.h, not c-common.h.
(lang_type_quals): Declare.
(dequeue_and_dump): Use lang_hooks.tree_dump.type_quals function to
retrieve language-specific qualifiers for a type node, instead of
C_TYPE_QUALS. Likewise for lang_hooks.tree_dump.dump_tree instead of
lang_dump_tree.
* tree-dump.h: Rename from c-dump.h.
* c-common.h (C_TYPE_QUALS): Removed.
Move declarations for tree-dump.c interface to...
* tree.h: ... here. Remove lang_dump_tree.
* langhooks.h (struct lang_hooks_for_tree_dump): New.
(struct lang_hooks): Add tree_dump hooks.
* langhooks.c (lhd_tree_dump_dump_tree): New function.
(lhd_tree_dump_type_quals): New function.
* langhooks-def.h (lhd_tree_dump_dump_tree, lhd_tree_dump_type_quals):
Declare.
(LANG_HOOKS_INITIALIZER): Add tree_dump hooks.
* Makefile.in: Move tree-dump.o to language-independent back-end.
cp:
* cp-tree.h (CP_TYPE_QUALS): Removed.
* decl.c (cxx_init_decl_processing): Don't set lang_dump_tree.
* cp-lang.c: Set LANG_HOOKS_TREE_DUMP_DUMP_TREE_FN and
LANG_HOOKS_TREE_DUMP_TYPE_QUALS_FN.
* dump.c (cp_dump_tree): Use void* dump_info argument to match
lang-hooks prototype.
* call.c, cp-tree.h, cvt.c, decl.c, init.c, mangle.c, method.c, pt.c,
rtti.c, semantics.c, tree.c, typeck.c, typeck2.c: All references to
CP_TYPE_QUALS changed to cp_type_quals.
* Make-lang.in: References to c-dump.h changed to tree-dump.h.
(CXX_C_OBJS): Remove c-dump.o.
From-SVN: r47257
Kaveh R. Ghazi [Thu, 22 Nov 2001 02:19:58 +0000 (02:19 +0000)]
1750a.h (DBX_REGISTER_NUMBER): Don't define.
* 1750a.h (DBX_REGISTER_NUMBER): Don't define.
* alpha.h (DBX_REGISTER_NUMBER): Likewise.
* arc.h (DBX_REGISTER_NUMBER): Likewise.
* arm/aout.h (DBX_REGISTER_NUMBER): Likewise.
* avr.h (DBX_REGISTER_NUMBER): Likewise.
* c4x.h (DBX_REGISTER_NUMBER): Likewise.
* clipper.h (DBX_REGISTER_NUMBER): Likewise.
* convex.h (DBX_REGISTER_NUMBER): Likewise.
* cris.h (DBX_REGISTER_NUMBER): Likewise.
* dsp16xx.h (DBX_REGISTER_NUMBER): Likewise.
* elxsi.h (DBX_REGISTER_NUMBER): Likewise.
* fr30.h (DBX_REGISTER_NUMBER): Likewise.
* h8300.h (DBX_REGISTER_NUMBER): Likewise.
* i370.h (DBX_REGISTER_NUMBER): Likewise.
* i860.h (DBX_REGISTER_NUMBER): Likewise.
* i860/paragon.h (DBX_REGISTER_NUMBER): Likewise.
* i860/sysv3.h (DBX_REGISTER_NUMBER): Likewise.
* i860/sysv4.h (DBX_REGISTER_NUMBER): Likewise.
* m32r.h (DBX_REGISTER_NUMBER): Likewise.
* m68hc11.h (DBX_REGISTER_NUMBER): Likewise.
* m88k.h (DBX_REGISTER_NUMBER): Likewise.
* mcore/mcore-elf.h (DBX_REGISTER_NUMBER): Likewise.
* mcore.h (DBX_REGISTER_NUMBER): Likewise.
* mn10200.h (DBX_REGISTER_NUMBER): Likewise.
* mn10300.h (DBX_REGISTER_NUMBER): Likewise.
* pdp11.h (DBX_REGISTER_NUMBER): Likewise.
* romp.h (DBX_REGISTER_NUMBER): Likewise.
* rs6000.h (DBX_REGISTER_NUMBER): Likewise.
* rs6000/sysv4.h (DBX_REGISTER_NUMBER): Likewise.
* s390/linux.h (DBX_REGISTER_NUMBER): Likewise.
* stormy16.h (DBX_REGISTER_NUMBER): Likewise.
* v850.h (DBX_REGISTER_NUMBER): Likewise.
* vax.h (DBX_REGISTER_NUMBER): Likewise.
* we32k.h (DBX_REGISTER_NUMBER): Likewise.
* defaults.h (DBX_REGISTER_NUMBER): Provide a default.
* doc/tm.texi (DBX_REGISTER_NUMBER): Update.
From-SVN: r47256
Bryce McKinlay [Thu, 22 Nov 2001 01:46:54 +0000 (01:46 +0000)]
tree-dump.{c,h} renamed from c-dump.{c,h}.
From-SVN: r47255
H.J. Lu [Thu, 22 Nov 2001 01:03:16 +0000 (01:03 +0000)]
sysv4.h (LIB_SPEC): Fix a typo.
2001-11-21 H.J. Lu <hjl@gnu.org>
* config/rs6000/sysv4.h (LIB_SPEC): Fix a typo.
From-SVN: r47254
Kaveh R. Ghazi [Thu, 22 Nov 2001 00:36:09 +0000 (00:36 +0000)]
s390.c (s390_va_arg): Eliminate ALIGN parameter in call to emit_cmp_and_jump_insns.
* s390.c (s390_va_arg): Eliminate ALIGN parameter in call to
emit_cmp_and_jump_insns.
* stormy16.c (xstormy16_expand_builtin_va_arg,
xstormy16_expand_casesi): Likewise.
From-SVN: r47253
Mark Mitchell [Thu, 22 Nov 2001 00:21:13 +0000 (00:21 +0000)]
re PR c++/3637 (Internal compiler error in finish_member_declaration)
PR c++/3637
* pt.c (lookup_template_class): Ensure that all specializations
are registered on the list corresponding to the most general
template.
From-SVN: r47252
Richard Kenner [Wed, 21 Nov 2001 23:41:40 +0000 (23:41 +0000)]
function.c (keep_stack_depressed): Major rework.
* function.c (keep_stack_depressed): Major rework.
(handle_epilogue_set, emit_equiv_load): New functions.
(thread_prologue_and_epilogue_insns): keep_stack_depressed now
has return value.
* jump.c (returnjump_p_1): Also return 1 if SET with SET_IS_RETURN_P.
* rtl.h (SET_IS_RETURN_P): New macro.
From-SVN: r47250
Richard Kenner [Wed, 21 Nov 2001 23:32:03 +0000 (23:32 +0000)]
expr.c (expand_expr, [...]): Refine slightly and also support TREE_ADDRESSABLE.
* expr.c (expand_expr, case VIEW_CONVERT_EXPR): Refine slightly
and also support TREE_ADDRESSABLE.
* tree.def (VIEW_CONVERT_EXPR): Document TREE_ADDRESSABLE.
From-SVN: r47249
David Edelsohn [Wed, 21 Nov 2001 22:17:27 +0000 (22:17 +0000)]
* rs6000.md (cmptf_internal1): Replace %$ with $.
From-SVN: r47248
Paolo Carlini [Wed, 21 Nov 2001 22:04:53 +0000 (23:04 +0100)]
re PR libstdc++/4548 (When reserving a string to become smaller, program crashes)
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.
From-SVN: r47246
Douglas B Rupp [Wed, 21 Nov 2001 22:03:27 +0000 (17:03 -0500)]
cppfiles.c (STAT_SIZE_TOO_BIG): Define.
* cppfiles.c (STAT_SIZE_TOO_BIG): Define.
(read_include_file): Use STAT_SIZE_TOO_BIG.
From-SVN: r47245
Douglas B Rupp [Wed, 21 Nov 2001 21:55:36 +0000 (16:55 -0500)]
cppinit.c (INO_T_COPY): Define.
* cppinit.c (INO_T_COPY): Define.
(INO_T_EQ): Uppercase parameters.
(append_include_chain): Use INO_T_COPY.
From-SVN: r47244
Richard Sandiford [Wed, 21 Nov 2001 16:02:09 +0000 (16:02 +0000)]
* cfg.c: Fix typos and formatting in the introductory comment.
From-SVN: r47243
Jan 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.
* profile.c (compute_branch_probabilites): Compute probabilities
for entry/exit edges; estimate probabilities for zero counts.
From-SVN: r47242
Jakub Jelinek [Wed, 21 Nov 2001 11:13:14 +0000 (12:13 +0100)]
explow.c (probe_stack_range): Use LCT_NORMAL as second argument to emit_library_call.
* 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.
From-SVN: r47241
Jakub Jelinek [Wed, 21 Nov 2001 11:09:01 +0000 (12:09 +0100)]
c-decl.c (c_expand_deferred_function): Only call c_expand_body if fndecl is still DECL_INLINE and has DECL_RESULT.
* 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.
From-SVN: r47240
GCC Administrator [Wed, 21 Nov 2001 08:16:23 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r47235
Toon Moene [Wed, 21 Nov 2001 06:30:50 +0000 (07:30 +0100)]
g77.texi: egcs was not a `@command'.
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.
From-SVN: r47234
Kaveh R. Ghazi [Wed, 21 Nov 2001 04:57:09 +0000 (04:57 +0000)]
clipper.c (clipper_movstr): Avoid uninitialized warning.
* 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.
From-SVN: r47233
Zack Weinberg [Wed, 21 Nov 2001 02:57:16 +0000 (02:57 +0000)]
config.gcc: Delete powerpcle-*-solaris2* stanza.
* 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.
From-SVN: r47232
Kaveh R. Ghazi [Wed, 21 Nov 2001 02:28:45 +0000 (02:28 +0000)]
sh.md: Avoid uninitialized warnings.
* sh.md: Avoid uninitialized warnings.
* vax.c (vax_rtx_cost): Likewise.
From-SVN: r47231
David Edelsohn [Wed, 21 Nov 2001 02:18:58 +0000 (02:18 +0000)]
Add cmptf missed in patch.
From-SVN: r47230
David O'Brien [Wed, 21 Nov 2001 02:06:45 +0000 (02:06 +0000)]
config.gcc: Add FreeBSD/PowerPC target.
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>
From-SVN: r47229
Aldy Hernandez [Wed, 21 Nov 2001 01:04:44 +0000 (01:04 +0000)]
rs6000.c (direct_return): Check if we are saving altivec registers.
* 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.
From-SVN: r47228
Jeff Law [Wed, 21 Nov 2001 00:50:56 +0000 (17:50 -0700)]
unroll.c (copy_loop_body): Update LABEL_NUSES for the exit label as necessary.
* unroll.c (copy_loop_body): Update LABEL_NUSES for the
exit label as necessary.
From-SVN: r47227
Brad Kaiser [Wed, 21 Nov 2001 00:04:47 +0000 (00:04 +0000)]
reload1.c (elimination_effects): Use function_invariant_p instead of CONSTANT_P when...
* reload1.c (elimination_effects): Use function_invariant_p
instead of CONSTANT_P when considering register equivalences.
From-SVN: r47226
Aldy Hernandez [Tue, 20 Nov 2001 21:15:52 +0000 (21:15 +0000)]
altivec-1.c: Fix typo.
2001-11-17 Aldy Hernandez <aldyh@redhat.com>
* gcc.dg/altivec-1.c: Fix typo.
From-SVN: r47225
David O'Brien [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).
From-SVN: r47224
David O'Brien [Tue, 20 Nov 2001 19:43:28 +0000 (19:43 +0000)]
config.gcc: Add FreeBSD/PowerPC target.
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>
From-SVN: r47223
Graham Stott [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.
* unwind-dw2-fde.c (__deregister_frame_info_bases):
Fix lossage in last change return OB.
From-SVN: r47222
Roger Sayle [Tue, 20 Nov 2001 18:02:25 +0000 (18:02 +0000)]
parse.h (java_expand_switch): Remove old prototype.
2001-11-18 Roger Sayle <roger@eyesopen.com>
* parse.h (java_expand_switch): Remove old prototype.
From-SVN: r47221
Douglas B Rupp [Tue, 20 Nov 2001 17:07:08 +0000 (12:07 -0500)]
xm-vms.h (_POSIX_EXIT): Define.
* config/alpha/xm-vms.h (_POSIX_EXIT): Define.
Remove unneeded exit related macros.
From-SVN: r47219
David Edelsohn [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_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.
From-SVN: r47218
Joseph Myers [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.
From-SVN: r47215
Nick Clifton [Tue, 20 Nov 2001 12:00:10 +0000 (12:00 +0000)]
Treat XScale as ARM
From-SVN: r47214
Richard Kenner [Tue, 20 Nov 2001 11:50:23 +0000 (11:50 +0000)]
* emit-rtl.c (get_mem_attrs): Fix typo.
From-SVN: r47213
Jakub Jelinek [Tue, 20 Nov 2001 11:10:16 +0000 (12:10 +0100)]
c-lang.c (finish_file): Backout 2001-11-16 changes...
* 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.
From-SVN: r47212
Jakub Jelinek [Tue, 20 Nov 2001 11:08:17 +0000 (12:08 +0100)]
unwind-dw2-fde.c (__register_frame_info_bases, [...]): Don't register empty .eh_frame sections.
* 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.
From-SVN: r47211
Geoffrey Keating [Tue, 20 Nov 2001 10:16:09 +0000 (10:16 +0000)]
configure.in (HAVE_AS_GDWARF2_DEBUG_FLAG): Define.
* 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.
From-SVN: r47210
Mark Mitchell [Tue, 20 Nov 2001 09:00:33 +0000 (09:00 +0000)]
re PR c++/3637 (Internal compiler error in finish_member_declaration)
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.
From-SVN: r47209
GCC Administrator [Tue, 20 Nov 2001 08:16:18 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r47206
Loren J. Rittle [Tue, 20 Nov 2001 07:36:29 +0000 (07:36 +0000)]
* config.gcc (*-*-freebsd*): Remove configuration block.
From-SVN: r47205
Loren J. Rittle [Tue, 20 Nov 2001 06:38:53 +0000 (06:38 +0000)]
configure.in: Setup ability to run ./stage[1234]/xgcc in fixinc *as if* it were a proper lang...
bootstrap/4422
* configure.in: Setup ability to run ./stage[1234]/xgcc in
fixinc *as if* it were a proper lang subdirectory.
* configure: Rebuilt.
From-SVN: r47204
Loren J. Rittle [Tue, 20 Nov 2001 05:49:35 +0000 (05:49 +0000)]
* config/freebsd.h: Remove DEFAULT_VTABLE_THUNKS (again).
From-SVN: r47203
Tom Tromey [Tue, 20 Nov 2001 05:16:17 +0000 (05:16 +0000)]
verify.cc (_Jv_BytecodeVerifier::branch_prepass): Uses two operand bytes, not one.
* 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.
From-SVN: r47202
Mark Mitchell [Tue, 20 Nov 2001 05:09:34 +0000 (05:09 +0000)]
re PR c++/4629 (non-constant `sizeof (void*)' cannot be used as template argument)
* 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.
From-SVN: r47201
Loren J. Rittle [Tue, 20 Nov 2001 04:39:13 +0000 (04:39 +0000)]
* Make-lang.in: Complete ``Build g77.1 in $(srcdir)''.
From-SVN: r47198
Kaveh R. Ghazi [Tue, 20 Nov 2001 04:37:12 +0000 (04:37 +0000)]
* 1750a.md: Don't use hex format for a const_int.
From-SVN: r47197
Geoffrey Keating [Tue, 20 Nov 2001 04:12:11 +0000 (04:12 +0000)]
* expmed.c (extract_bit_field): Don't create invalid SUBREGs.
From-SVN: r47196
Geoffrey Keating [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.
From-SVN: r47195
Geoffrey Keating [Tue, 20 Nov 2001 03:51:02 +0000 (03:51 +0000)]
cpp.exp: For testing on a remote host, copy across all the headers.
* 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.
From-SVN: r47194
Phil Edwards [Tue, 20 Nov 2001 00:51:37 +0000 (00:51 +0000)]
Intro.3: More notes.
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.
From-SVN: r47193
Aldy Hernandez [Tue, 20 Nov 2001 00:38:56 +0000 (00:38 +0000)]
* gcc.c-dg/altivec.c: New.
From-SVN: r47191
Tom 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::require_array_type): Special
case for boolean arrays.
* verify.cc (_Jv_BytecodeVerifier::compute_jump): Put PC into
error message.
From-SVN: r47190
Zack Weinberg [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...
* mkconfig.sh: Undefine ENABLE_NLS if GENERATOR_FILE is
defined (prevents link errors when gettext isn't in the system
library).
From-SVN: r47189
Toon Moene [Mon, 19 Nov 2001 22:56:51 +0000 (23:56 +0100)]
cvsignore: Ignore g77.1
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.
From-SVN: r47188
DJ Delorie [Mon, 19 Nov 2001 22:37:12 +0000 (17:37 -0500)]
read-rtl.c (ISDIGIT, ISSPACE): Make sure we have these.
* 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.
From-SVN: r47187
Jakub Jelinek [Mon, 19 Nov 2001 22:34:58 +0000 (23:34 +0100)]
* doc/hostconfig.texi (DUMPFILE_FORMAT): Move into the table.
From-SVN: r47186
Douglas B Rupp [Mon, 19 Nov 2001 22:09:00 +0000 (17:09 -0500)]
toplev.c (DUMPFILE_FORMAT): Define default.
* 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
From-SVN: r47185
Jeff Law [Mon, 19 Nov 2001 21:51:53 +0000 (14:51 -0700)]
gcse.c (cprop_jump): Clear JUMP_LABEL field when we create a nop-jump.
* gcse.c (cprop_jump): Clear JUMP_LABEL field when we create
a nop-jump.
From-SVN: r47183
Neil Booth [Mon, 19 Nov 2001 21:04:49 +0000 (21:04 +0000)]
cppmacro.c (_cpp_backup_tokens): Revert previous check-in.
* 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.
From-SVN: r47182
Jason Wilkins [Mon, 19 Nov 2001 20:55:13 +0000 (20:55 +0000)]
* Makefile.in: Use INSTALL_SCRIPT not INSTALL_PROGRAM.
From-SVN: r47181
Laurent Guerby [Mon, 19 Nov 2001 20:39:10 +0000 (20:39 +0000)]
Makefile.in (INCLUDES_FOR_SUBDIR): Remove redundant system include since it is of no apparent use and cause warnings.
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.
From-SVN: r47180
Richard Kenner [Mon, 19 Nov 2001 20:38:07 +0000 (20:38 +0000)]
tree.def (VIEW_CONVERT_EXPR): New tree code.
* 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.
From-SVN: r47179
Kaveh R. Ghazi [Mon, 19 Nov 2001 18:30:04 +0000 (18:30 +0000)]
unix.h (ASM_FILE_START): Const-ify.
* 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.
From-SVN: r47178
Tom Tromey [Mon, 19 Nov 2001 18:28:28 +0000 (18:28 +0000)]
verify.cc (_Jv_BytecodeVerifier::verify_instructions_0): Shift argument is an int, not a long.
* verify.cc (_Jv_BytecodeVerifier::verify_instructions_0)
[op_lshl, op_lshr, op_lushr]: Shift argument is an int, not a
long.
From-SVN: r47177
Jan Hubicka [Mon, 19 Nov 2001 17:08:48 +0000 (18:08 +0100)]
gcse.c (try_replace_reg): Copy RTX before creating note.
* 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.
From-SVN: r47175
Joseph Myers [Mon, 19 Nov 2001 13:16:39 +0000 (13:16 +0000)]
* gcc_release: Add /usr/local/bin to path when local.
From-SVN: r47173
Joseph Myers [Mon, 19 Nov 2001 12:42:28 +0000 (12:42 +0000)]
fragments.texi, [...]: Remove links to old installation chapter.
* 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.
From-SVN: r47172
Douglas B Rupp [Mon, 19 Nov 2001 12:17:28 +0000 (07:17 -0500)]
xm-vms.h: Don't define macros that autoconf handles.
* 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.
From-SVN: r47170
Jason Merrill [Mon, 19 Nov 2001 11:28:52 +0000 (06:28 -0500)]
cppmacro.c (_cpp_backup_tokens): Pop cur_run before decrementing cur_token, not after.
* 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.
From-SVN: r47169
GCC Administrator [Mon, 19 Nov 2001 08:16:15 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r47166
Tom Tromey [Mon, 19 Nov 2001 07:08:36 +0000 (07:08 +0000)]
verify.cc (type::to_array): New method.
* verify.cc (type::to_array): New method.
(_Jv_BytecodeVerifier::verify_instructions_0) [op_anewarray]:
Construct new array type.
From-SVN: r47165
Kaveh R. Ghazi [Mon, 19 Nov 2001 02:43:32 +0000 (02:43 +0000)]
mmix.c (mmix_cc1_ignored_option): Const-ify.
* 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.
From-SVN: r47164
Tom Tromey [Mon, 19 Nov 2001 02:13:08 +0000 (02:13 +0000)]
verify.cc (_Jv_BytecodeVerifier::branch_prepass): Skip a short, not a byte.
* verify.cc (_Jv_BytecodeVerifier::branch_prepass) [op_sipush]:
Skip a short, not a byte.
[op_newarray]: Skip a byte, not a short.
From-SVN: r47163
Tom Tromey [Mon, 19 Nov 2001 01:37:28 +0000 (01:37 +0000)]
verify.cc (_Jv_BytecodeVerifier::get_type_val_for_signature): Added `B' case.
* verify.cc (_Jv_BytecodeVerifier::get_type_val_for_signature):
Added `B' case.
From-SVN: r47162
Tom Tromey [Mon, 19 Nov 2001 01:04:15 +0000 (01:04 +0000)]
verify.cc (_Jv_BytecodeVerifier::get_ushort): Use `jint' for temporary values.
* 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.
From-SVN: r47161
Tom Tromey [Mon, 19 Nov 2001 00:31:37 +0000 (00:31 +0000)]
verify.cc (_Jv_BytecodeVerifier::pop_type): Put PC into error message.
* 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.
From-SVN: r47158
Craig Rodrigues [Mon, 19 Nov 2001 00:24:52 +0000 (00:24 +0000)]
re PR bootstrap/4448 (make bootstrap failed: gthr-win32.h erroneous)
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.
From-SVN: r47157
Tom Tromey [Mon, 19 Nov 2001 00:13:36 +0000 (00:13 +0000)]
re PR java/1401 (+= semantics not correct (when generating bytecode))
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.
From-SVN: r47156