Mark Mitchell [Tue, 22 May 2001 03:03:26 +0000 (03:03 +0000)]
tree.h (type_num_arguments): Declare it.
* tree.h (type_num_arguments): Declare it.
* tree.c (type_num_arguments): New function.
From-SVN: r42418
Jason Merrill [Tue, 22 May 2001 01:17:23 +0000 (21:17 -0400)]
* mt-linux (CXXFLAGS_FOR_TARGET): Lose -fvtable-thunks.
From-SVN: r42415
Jason Merrill [Tue, 22 May 2001 00:52:58 +0000 (20:52 -0400)]
lose START_CATCH_STMT
From-SVN: r42414
Mark Mitchell [Tue, 22 May 2001 00:31:36 +0000 (00:31 +0000)]
call.c (build_op_delete_call): Ignore exception-specifications when looking for matching delete operators.
* call.c (build_op_delete_call): Ignore exception-specifications
when looking for matching delete operators.
* init.c (build_new_1): Compute whether or not the allocation
function used is a placement allocation function or not, and
communicate this information to build_op_delete_call.
From-SVN: r42413
Richard Henderson [Mon, 21 May 2001 23:30:51 +0000 (16:30 -0700)]
dwarf2out.c (current_funcdef_number): Move outside dwarf2 conditional ifdef.
* dwarf2out.c (current_funcdef_number): Move outside dwarf2
conditional ifdef.
From-SVN: r42411
Per Bothner [Mon, 21 May 2001 21:37:36 +0000 (14:37 -0700)]
jcf-parse.c (read_class): If class is from .class or .zip file and it's already been read...
* jcf-parse.c (read_class): If class is from .class or .zip file
and it's already been read, don't push/pop parser context.
From-SVN: r42407
Geoffrey Keating [Mon, 21 May 2001 20:38:05 +0000 (20:38 +0000)]
920520-1.x: Merge previous contents into this file.
* gcc.c-torture/compile/920520-1.x: Merge previous contents into
this file.
From-SVN: r42406
Tom Tromey [Mon, 21 May 2001 19:27:10 +0000 (19:27 +0000)]
* gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Now public.
From-SVN: r42405
Geoffrey Keating [Mon, 21 May 2001 18:38:25 +0000 (18:38 +0000)]
rs6000.md (maxsf3): Use rs6000_emit_minmax.
* config/rs6000/rs6000.md (maxsf3): Use rs6000_emit_minmax.
(maxsf3+1): Delete.
(minsf3): Use rs6000_emit_minmax.
(minsf3+1): Generalize to handle both SMIN and SMAX. Use
rs6000_emit_minmax.
(movsfcc): Use rs6000_emit_cmove.
(fselsfsf4): Don't compare a CONST_INT with a floating-point value.
Don't generate emit_fselsfsf4.
(fseldfsf4): Likewise.
(maxdf3): Use rs6000_emit_minmax.
(maxdf3+1): Delete.
(mindf3): Use rs6000_emit_minmax.
(mindf3+1): Generalize to handle both SMIN and SMAX. Use
rs6000_emit_minmax.
(movdfcc): Use rs6000_emit_cmove.
(fseldfdf4): Don't compare a CONST_INT with a floating-point value.
Don't generate emit_fselsfsf4.
(fselsfdf4): Likewise.
* config/rs6000/rs6000.c (zero_fp_constant): New predicate.
(min_max_operator): New predicate.
(rs6000_emit_cmove): New function.
(rs6000_emit_minmax): New function.
* config/rs6000/rs6000-protos.h: Prototype new functions.
* config/rs6000/rs6000.h (PREDICATE_CODES): Add zero_fp_constant
and min_max_operator.
* config/rs6000/rs6000.c (output_cbranch): Handle all
conditional types in the switch statement.
From-SVN: r42404
Mark Mitchell [Mon, 21 May 2001 18:36:57 +0000 (18:36 +0000)]
c-decl.c (finish_decl): Don't set DECL_C_HARD_REGISTER for non-register variables.
* c-decl.c (finish_decl): Don't set DECL_C_HARD_REGISTER for
non-register variables.
* extend.texi: Document that asm-specifications do not make sense
for non-static local variables.
From-SVN: r42403
Andrew Haley [Mon, 21 May 2001 16:59:42 +0000 (16:59 +0000)]
dwarf2-signal.h: New file.
2001-05-18 Andrew Haley <aph@cambridge.redhat.com>
* include/dwarf2-signal.h: New file.
* configure.in (SYSDEP_SOURCES): Add dwarf2-signal.h for PPC.
* configure.host (EXCEPTIONSPEC): Don't use sjlj on PPC.
* configure: Rebuilt.
From-SVN: r42400
Jason Merrill [Mon, 21 May 2001 16:06:37 +0000 (12:06 -0400)]
fix comment
From-SVN: r42396
Jason Merrill [Mon, 21 May 2001 15:55:40 +0000 (11:55 -0400)]
class.c (build_vtable_entry_ref): Lose vtbl parm.
* class.c (build_vtable_entry_ref): Lose vtbl parm. Fix for new abi.
(build_vtbl_ref): Adjust.
(dfs_accumulate_vtbl_inits): Set TREE_CONSTANT on the vtable address.
* decl2.c (lang_f_options): Remove huge-objects, vtable-thunks.
Re-add vtable-gc.
(unsupported_options): Correspondingly.
* decl2.c (maybe_make_one_only): Check flag_weak, not
supports_one_only().
From-SVN: r42393
Jason Merrill [Mon, 21 May 2001 15:54:33 +0000 (11:54 -0400)]
class.c (build_vtable): Set DECL_ASSEMBLER_NAME for vtables here.
* class.c (build_vtable): Set DECL_ASSEMBLER_NAME for vtables here.
(get_vtable_decl, build_vtt): Not here.
From-SVN: r42392
Jason Merrill [Mon, 21 May 2001 15:48:49 +0000 (11:48 -0400)]
dbxout.c (MINIMAL_DEBUG, [...]): Lose.
* dbxout.c (MINIMAL_DEBUG, flag_minimal_debug): Lose.
(dbxout_type_fields): Lose minimal_debug support.
(dbxout_type_methods, dbxout_type): Likewise.
From-SVN: r42391
Jason Merrill [Mon, 21 May 2001 15:41:05 +0000 (11:41 -0400)]
add vague linkage node
From-SVN: r42389
Jason Merrill [Mon, 21 May 2001 15:39:19 +0000 (11:39 -0400)]
cp-tree.def (START_CATCH_STMT): Lose.
* cp-tree.def (START_CATCH_STMT): Lose.
* dump.c (cp_dump_tree): Don't dump it. Do dump HANDLER_PARMS.
* tree.c (cp_statement_code_p): Don't case it.
* semantics.c (cp_expand_stmt): Likewise.
* except.c (expand_start_catch_block): Don't start any blocks.
Return the type.
(expand_end_catch_block): Don't end any blocks.
* parse.y (handler): Don't pass anything from finish_handler_parms
to finish_handler.
* pt.c (tsubst_expr): Likewise.
* semantics.c (begin_handler): Call note_level_for_catch here.
(finish_handler_parms): Don't return anything.
(genrtl_catch_block, begin_catch_block): Lose.
(genrtl_handler): Call expand_start_catch here.
* cp-tree.h (START_CATCH_TYPE): Lose.
(HANDLER_TYPE): New.
From-SVN: r42388
Jason Merrill [Mon, 21 May 2001 13:17:58 +0000 (09:17 -0400)]
tweak formatting
From-SVN: r42387
Andrew Haley [Mon, 21 May 2001 12:31:14 +0000 (12:31 +0000)]
linux.h (MD_FALLBACK_FRAME_STATE_FOR): New.
2001-05-17 Andrew Haley <aph@redhat.com>
* config/rs6000/linux.h (MD_FALLBACK_FRAME_STATE_FOR): New.
From-SVN: r42386
Stephane Carrez [Mon, 21 May 2001 12:20:51 +0000 (14:20 +0200)]
msp.c (A_SIZE): Define according to STACK_SIZE;
* gcc.c-torture/unsorted/msp.c (A_SIZE): Define according to
STACK_SIZE;
* gcc.c-torture/compile/991214-2.c (HISTO_SIZE): Define according
to STACK_SIZE; Use it to define size of add_histo array.
* gcc.c-torture/compile/920723-1.c (GITT_SIZE): Define according
to STACK_SIZE.
(f): Use GITT_SIZE to define size of gitt local table.
* gcc.c-torture/compile/930621-1.c (BYTEMEM_SIZE): Define according
to STACK_SIZE; Use it to define size of bytemem array.
From-SVN: r42384
Stephane Carrez [Mon, 21 May 2001 12:06:52 +0000 (14:06 +0200)]
20000804-1.x: New file, this test fails on 68HC11/HC12 due to the asm instruction.
* gcc.c-torture/compile/
20000804-1.x: New file, this test fails
on 68HC11/HC12 due to the asm instruction.
* gcc.c-torture/compile/
20001205-1.x: New file, ditto.
* gcc.c-torture/compile/920520-1.x: Likewise.
* gcc.c-torture/compile/
20001226-1.x: New file, this test fails
on 68HC11/HC12 because the function is larger than 64K.
* gcc.c-torture/compile/961203-1.x: New file, this test fails
on 68HC11/HC12 because the structure is too large.
From-SVN: r42381
Bryce McKinlay [Mon, 21 May 2001 08:37:04 +0000 (08:37 +0000)]
configure.in: Update boehm-gc include dir for new GC version.
* configure.in: Update boehm-gc include dir for new GC version.
* configure: Rebuilt.
* exception.cc: Only include <gc.h>. Remove TRUE/FALSE hacks and
extern "C" wrapper.
* boehm.cc: Update includes for new GC version. MAKE_PROC is now
GC_MAKE_PROC. mark_proc is now GC_mark_proc.
* posix-threads.cc: Only include <gc.h>. Don't need to wrap with
extern "C".
From-SVN: r42380
Bryce McKinlay [Mon, 21 May 2001 08:35:14 +0000 (08:35 +0000)]
Imported version version 6.0alpha7.
* README, README.Mac, README.OS2, README.QUICK, README.alpha,
README.amiga, README.debugging, README.dj, README.hp, README.linux,
README.rs6000, README.sgi, README.solaris2, README.uts,
README.win32, SCoptions.amiga, backptr.h, barrett_diagram,
dbg_mlc.h, gc.h, gc.man, gc_alloc.h, gc_cpp.h, gc_hdrs.h, gc_mark.h,
gc_priv.h, gc_private.h, gc_typed.h, gcconfig.h,
hpux_irix_threads.c, makefile.depend, nursery.c,
solaris_threads.h, test.c, test_cpp.cc, weakpointer.h, cord/README,
cord/SCOPTIONS.amiga, cord/SMakefile.amiga, cord/cord.h,
cord/ec.h, cord/gc.h, cord/private/cord_pos.h, include/backptr.h,
include/gc_copy_descr.h, include/gc_nursery.h: Remove obsolete/moved
files.
From-SVN: r42379
GCC Administrator [Mon, 21 May 2001 07:16:41 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r42378
Richard Henderson [Mon, 21 May 2001 07:03:42 +0000 (00:03 -0700)]
dwarf2out.c (DEBUG_FRAME_SECTION): Rename from FRAME_SECTION.
* dwarf2out.c (DEBUG_FRAME_SECTION): Rename from FRAME_SECTION.
Update all users.
From-SVN: r42376
Bryce McKinlay [Mon, 21 May 2001 06:39:25 +0000 (07:39 +0100)]
This commit was generated by cvs2svn to compensate for changes in r42373,
which included commits to RCS files with non-trunk default branches.
From-SVN: r42374
Bryce McKinlay [Mon, 21 May 2001 06:39:23 +0000 (07:39 +0100)]
Initial revision
From-SVN: r42370
Richard Henderson [Mon, 21 May 2001 03:14:31 +0000 (20:14 -0700)]
dwarf2out.c (DEBUG_ABBREV_SECTION, [...]): Rename from s/DEBUG_//.
* dwarf2out.c (DEBUG_ABBREV_SECTION, DEBUG_ARANGES_SECTION,
DEBUG_MACINFO_SECTION, DEBUG_LOC_SECTION, DEBUG_PUBNAMES_SECTION,
DEBUG_STR_SECTION): Rename from s/DEBUG_//. Update all users.
* dwarfout.c (DEBUG_SFNAMES_SECTION, DEBUG_SRCINFO_SECTION,
DEBUG_MACINFO_SECTION, DEBUG_PUBNAMES_SECTION, DEBUG_ARANGES_SECTION):
Likewise.
* config/mips/iris6.h (DEBUG_SFNAMES_SECTION, DEBUG_SRCINFO_SECTION,
DEBUG_MACINFO_SECTION, DEBUG_PUBNAMES_SECTION, DEBUG_ARANGES_SECTION,
DEBUG_FRAME_SECTION, DEBUG_ABBREV_SECTION): Rename as above.
(DEBUG_LOC_SECTION, DEBUG_STR_SECTION): New.
* config/ia64/ia64.h (DEBUG_ABBREV_SECTION, DEBUG_ARANGES_SECTION,
DEBUG_PUBNAMES_SECTION): Rename as above.
(DEBUG_MACINFO_SECTION, DEBUG_LOC_SECTION, DEBUG_STR_SECTION): New.
From-SVN: r42368
Richard Henderson [Mon, 21 May 2001 01:36:21 +0000 (18:36 -0700)]
New test.
From-SVN: r42367
Richard Henderson [Mon, 21 May 2001 01:33:53 +0000 (18:33 -0700)]
optabs.c (emit_cmp_and_jump_insns): Don't swap commutative operands unless the operation is commutative.
* optabs.c (emit_cmp_and_jump_insns): Don't swap commutative
operands unless the operation is commutative.
From-SVN: r42366
Kaveh R. Ghazi [Mon, 21 May 2001 01:21:23 +0000 (01:21 +0000)]
fold-const.c (tree_expr_nonnegative_p): Detect more non-negative cases.
* fold-const.c (tree_expr_nonnegative_p): Detect more
non-negative cases.
testsuite:
* g++.old-deja/g++.warn/compare1.C: New test.
* gcc.dg/compare4.c: New test.
From-SVN: r42365
Joseph Myers [Sun, 20 May 2001 23:21:59 +0000 (00:21 +0100)]
re PR other/930 (Out of date docs for C99 features as extensions)
* extend.texi: Clarify documentation of extensions included in ISO
C99. Prefer C99 terminology and syntax to old GNU terminology and
syntax. Add more index entries. Document mixed declarations and
code as an extension in C89 mode. Warn about future changes to
semantics of inline functions. Fixes PR other/930.
From-SVN: r42363
Hans Boehm [Sun, 20 May 2001 22:36:34 +0000 (22:36 +0000)]
configure.host: Build with -fexceptions.
* configure.host: Build with -fexceptions.
* linux_threads.c: Remember which thread stopped world for
From-SVN: r42362
Richard Kenner [Sun, 20 May 2001 21:36:35 +0000 (21:36 +0000)]
expr.c (expand_expr, [...]): Don't fold constant access if EXPAND_CONST_ADDRESS or EXPAND_INITIALIZER.
* expr.c (expand_expr, case ARRAY_REF): Don't fold constant
access if EXPAND_CONST_ADDRESS or EXPAND_INITIALIZER.
(expand_expr, case COMPONENT_REF): Do copy if misaligned even
if EXPAND_CONST_ADDRESS or EXPAND_INITIALIZER.
From-SVN: r42361
Richard Kenner [Sun, 20 May 2001 20:41:49 +0000 (20:41 +0000)]
* stmt.c (expand_decl): Set mode, alignment, and sizes for CONST_DECL.
From-SVN: r42360
Richard Henderson [Sun, 20 May 2001 20:03:15 +0000 (13:03 -0700)]
sched-deps.c (sched_analyze_insn): Force volatile memory reads to be output before a branch.
* sched-deps.c (sched_analyze_insn): Force volatile memory reads
to be output before a branch.
From-SVN: r42358
Richard Henderson [Sun, 20 May 2001 19:56:31 +0000 (12:56 -0700)]
* Makefile.in (dwarf2asm.o): Depend on $(TREE_H).
From-SVN: r42357
Richard Henderson [Sun, 20 May 2001 19:54:04 +0000 (12:54 -0700)]
att.h (ASM_SHORT, ASM_LONG): Add trailing \t.
* config/i386/att.h (ASM_SHORT, ASM_LONG): Add trailing \t.
(ASM_DOUBLE): Remove.
* config/i386/bsd.h, config/i386/sco5.h: Likewise.
* config/i386/sun386.h: Likewise.
* config/i386/i386.h (UNALIGNED_SHORT_ASM_OP): New.
(UNALIGNED_INT_ASM_OP, INT_ASM_OP): New.
* config/i386/cygwin.h (INT_ASM_OP): Remove.
* config/i386/freebsd-aout.h, config/i386/i386-aout.h: Likewise.
* config/i386/i386-coff.h, config/i386/i386-interix.h: Likewise.
* config/i386/netbsd.h, config/i386/openbsd.h: Likewise.
* config/i386/cygwin.h: Adjust uses of ASM_LONG for trailing \t.
* config/i386/djgpp.h, config/i386/i386.h: Likewise.
* config/i386/i386elf.h, config/i386/ptx4-i.h: Likewise.
* config/i386/sco5.h, config/i386/svr3gas.h: Likewise.
* config/i386/sysv4.h, config/i386/vsta.h: Likewise.
* config/i386/win32.h: Likewise.
From-SVN: r42355
Alexandre Oliva [Sun, 20 May 2001 18:55:59 +0000 (18:55 +0000)]
ltconfig, [...]: Upgraded to libtool 1.4a 1.641.2.254.
* ltconfig, ltmain.sh, libtool.m4, ltcf-c.sh, ltcf-cxx.sh,
ltcf-gcj.sh: Upgraded to libtool 1.4a 1.641.2.254. Rebuilt a number
of subdir/configure scripts to use the new libtool.m4.
From-SVN: r42351
Joseph Myers [Sun, 20 May 2001 17:08:38 +0000 (18:08 +0100)]
* invoke.texi: Add more options to summary list.
From-SVN: r42349
Joseph Myers [Sun, 20 May 2001 13:50:44 +0000 (14:50 +0100)]
re PR other/567 ("make dvi" fails)
ch:
* Make-lang.in (chill.dvi): Remove bogus dependencies. Don't cd
to ch; include both $(srcdir)/ch and $(srcdir) in TEXINPUTS.
Don't move chill.dvi after creating it. Fixes PR other/567 and
PR other/1018.
f:
* Make-lang.in (f/g77.dvi): Include $(srcdir) in TEXINPUTS.
From-SVN: r42345
Nathan Sidwell [Sun, 20 May 2001 13:41:34 +0000 (13:41 +0000)]
re PR c++/2781 (bad code generated for reference call with -O2 (regression from 2.95))
cp:
PR c++/2781
* optimize.c (update_cloned_parm): Copy addressability and other
flags.
testsuite:
* g++.old-deja/g++.other/optimize1.C: New test.
From-SVN: r42344
Kriang Lerdsuwanakij [Sun, 20 May 2001 13:22:24 +0000 (13:22 +0000)]
pt.c (determine_specialization): Ignore artificial functions.
2001-05-20 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
* pt.c (determine_specialization): Ignore artificial functions.
2001-05-20 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
* g++.old-deja/g++.pt/spec41.C: New test.
From-SVN: r42342
Joseph Myers [Sun, 20 May 2001 12:49:31 +0000 (13:49 +0100)]
re PR c/2291 (Pedantic may be too pedantic)
* invoke.texi: Document meaning of -pedantic when -std=gnu* is
used. Fixes PR c/2291.
* gcc.1: Regenerate.
From-SVN: r42340
Stephane Carrez [Sun, 20 May 2001 11:37:11 +0000 (13:37 +0200)]
m68hc11.c (m68hc11_override_options): Ignore the -fpic and -fPIC options, clear flag_pic.
* config/m68hc11/m68hc11.c (m68hc11_override_options): Ignore
the -fpic and -fPIC options, clear flag_pic.
From-SVN: r42339
Neil Booth [Sun, 20 May 2001 08:13:32 +0000 (08:13 +0000)]
hashtable.c (calc_hash): Fix HASHSTEP definition.
* hashtable.c (calc_hash): Fix HASHSTEP definition.
* stringpool.c (make_identifier): No statistics here anymore.
* objc-act.c (steup_string_decl): Remove redundant check.
From-SVN: r42337
GCC Administrator [Sun, 20 May 2001 07:16:37 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r42336
Neil Booth [Sun, 20 May 2001 06:26:45 +0000 (06:26 +0000)]
Makefile.in (OBJS, [...]): Update.
* Makefile.in (OBJS, LIBCPP_OBJS, LIBCPP_DEPS,
cpplib.o, cpphash.o, fix-header): Update.
(hashtable.o): New target.
* c-common.h: Include cpplib.h. Define C_RID_CODE and
struct c_common_identifier here.
* c-lang.c (c_init_options): Update. Call set_identifier_size.
* c-lex.c (c_lex): Update.
* c-pragma.h: Update.
* c-tree.h (struct lang_identifier): Contain c_common_identifier.
Delete rid_code.
(C_RID_CODE): Delete.
* cpphash.c: Rewrite to use hashtable.c.
* cpphash.h: Update include guards.
(struct cpp_reader): Remove hashtab.
hash_ob and buffer_ob are no longer pointers. Add hash_table
and our_hashtable.
(HASHSTEP, _cpp_init_hashtable, _cpp_lookup_with_hash): Delete.
(_cpp_cleanup_hashtable): Rename _cpp_destroy_hashtable.
(_cpp_cleanup_stacks): Rename _cpp_init_directives.
* cppinit.c (cpp_create_reader): Update.
* cpplex.c (cpp_ideq, parse_identifier, cpp_output_token): Update.
(cpp_interpret_charconst): Eliminate warning.
* cpplib.c (do_pragma, do_endif, push_conditional,
cpp_push_buffer, cpp_pop_buffer): Update.
(_cpp_init_stacks): Rename cpp_init_directives.
(_cpp_cleanup_stacks): Remove.
* cpplib.h: Update include guards. Include tree-core.h and c-rid.h.
(cpp_hashnode, cpp_token, NODE_LEN, NODE_NAME,
cpp_forall_identifiers, cpp_create_reader): Update.
(C_RID_CODE, cpp_make_node): New.
(c_common_identifier): New identifier node for C front ends.
* cppmain.c (main): Update.
* fix-header.c (read_scan_file): Update.
* flags.h (id_clash_len): Make unsigned.
* ggc.h (ggc_mark_nonnull_tree): New.
* hashtable.c: New.
* hashtable.h: New.
* stringpool.c: Update comments and copyright. Update to use
hashtable.c.
* toplev.c (approx_sqrt): Move to hashtable.c.
(id_clash_len): Make unsigned.
* toplev.h (ident_hash): New.
* tree.c (gcc_obstack_init): Move to hashtable.c.
* tree.h: Include hashtable.h.
(IDENTIFIER_POINTER, IDENTIFIER_LENGTH): Update.
(GCC_IDENT_TO_HT_IDENT, HT_IDENT_TO_GCC_IDENT): New.
(struct tree_identifier): Update.
(make_identifier): New.
cp:
* cp-tree.h (struct lang_identifier, C_RID_YYCODE): Update.
(C_RID_CODE): Remove.
* lex.c (cxx_init_options): Call set_identifier_size. Update.
(init_parse): Don't do it here.
objc:
* objc-act.c (objc_init_options): Call set_identifier_size. Update.
From-SVN: r42334
Richard Henderson [Sun, 20 May 2001 00:35:24 +0000 (17:35 -0700)]
except.c (dw2_build_landing_pads): Use word_mode, not Pmode, as ncessary.
* except.c (dw2_build_landing_pads): Use word_mode, not Pmode,
as ncessary.
(expand_eh_return): Convert between word_mode and Pmode.
* unwind-dw2.c (extract_cie_info): Do not assume words and pointers
are the same size.
(execute_stack_op): Likewise.
(execute_cfa_program): Likewise.
(uw_frame_state_for): Likewise.
(uw_update_context_1): Likewise.
* unwind.inc (_Unwind_Reason_Code): Likewise.
* config/mips/mips.h (EH_RETURN_DATA_REGNO): Define.
(EH_RETURN_STACKADJ_RTX): Likewise.
* config/mips/mips.c (compute_frame_size): Make space for saving
EH return registers.
(mips_expand_epilogue): Handle EH stack adjustments.
* config/mips/mips.md (eh_return): New pattern.
(eh_set_lr_si): Likewise.
(eh_set_lr_di): Likewise.
Add splitter to perform EH return after reload.
From-SVN: r42332
Mark Mitchell [Sat, 19 May 2001 23:54:07 +0000 (23:54 +0000)]
* jump.c (mark_jump_label): Tidy previous change.
From-SVN: r42327
Bruce Korb [Sat, 19 May 2001 23:18:21 +0000 (23:18 +0000)]
open stdin for those building with a closed one.
From-SVN: r42326
Bruce Korb [Sat, 19 May 2001 22:43:38 +0000 (22:43 +0000)]
Do not use two warnings when one will do
From-SVN: r42323
Mark Mitchell [Sat, 19 May 2001 21:16:51 +0000 (21:16 +0000)]
jump.c (jump_optimize_1): Tidy.
* jump.c (jump_optimize_1): Tidy.
(mark_jump_label): When changing the label in a LABEL_REF, change
update any REG_EQUAL notes as well.
From-SVN: r42318
Phil Edwards [Sat, 19 May 2001 20:27:36 +0000 (20:27 +0000)]
acinclude.m4: Fix --help spacing, correct comments.
2001-05-19 Phil Edwards <pme@sources.redhat.com>
* acinclude.m4: Fix --help spacing, correct comments.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* mkcheck.in: Add usage comments.
* docs/html/documentation.html: Point to doxygen'd tarball.
From-SVN: r42316
Joseph Myers [Sat, 19 May 2001 20:19:24 +0000 (21:19 +0100)]
re PR c/166 (C syntax problem in gcc)
* c-parse.in (parm_declarator): Split into
parm_declarator_starttypename and parm_declarator_nostarttypename.
(parm_declarator_starttypename, parm_declarator_nostarttypename):
New. Allow parenthesised sub-declarators which don't begin with a
TYPENAME. Fixes PR c/166.
testsuite:
* gcc.c-torture/compile/
20010114-1.x: Remove.
From-SVN: r42315
Matt Kraai [Sat, 19 May 2001 19:38:14 +0000 (19:38 +0000)]
* MAINTAINERS (Write After Approval): Add myself.
From-SVN: r42314
Toon Moene [Sat, 19 May 2001 18:09:56 +0000 (20:09 +0200)]
Make-lang.in: Have $(MAKEINFO) look into the parent directory for includes.
2001-05-19 Toon Moene <toon@moene.indiv.nluug.nl>
* Make-lang.in: Have $(MAKEINFO) look into the parent
directory for includes.
* g77.texi: Use the GFDL.
From-SVN: r42313
Mark Mitchell [Sat, 19 May 2001 17:56:48 +0000 (17:56 +0000)]
defaults.h (TARGET_ALLOWS_PROFILING_WITHOUT_FRAME_POINTER): New macro.
* defaults.h (TARGET_ALLOWS_PROFILING_WITHOUT_FRAME_POINTER): New
macro.
* tm.texi (TARGET_ALLOWS_PROFILING_WITHOUT_FRAME_POINTER):
Document it.
* toplev.c (main): If the target does not allow profiling without
a frame pointer, issue an error message.
* config/i386/linux.h (TARGET_ALLOWS_PROFILING_WITHOUT_FRAME_POINTER):
Define it to false.
From-SVN: r42312
Richard Kenner [Sat, 19 May 2001 11:51:32 +0000 (11:51 +0000)]
recog.c (general_operand): Modify last change to allow it if reload has completed.
* recog.c (general_operand): Modify last change to allow it if reload
has completed.
From-SVN: r42309
Jan Hubicka [Sat, 19 May 2001 08:24:50 +0000 (10:24 +0200)]
recog.c (general_operand): Prohibit nonzero subreg bytes on subregs containing mem.
* recog.c (general_operand): Prohibit nonzero subreg bytes on
subregs containing mem.
From-SVN: r42308
GCC Administrator [Sat, 19 May 2001 07:16:09 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r42306
Denis Chertykov [Sat, 19 May 2001 05:59:52 +0000 (05:59 +0000)]
regrename.c (regrename_optimize): frame pointer register can use a few hardregs.
* regrename.c (regrename_optimize): frame pointer register can
use a few hardregs.
From-SVN: r42305
Alexandre Petit-Bianco [Sat, 19 May 2001 05:43:00 +0000 (22:43 -0700)]
posix-threads.h (_Jv_CondInit): `0' used in place of `NULL.'
2001-05-18 Alexandre Petit-Bianco <apbianco@redhat.com>
* include/posix-threads.h (_Jv_CondInit): `0' used in place of `NULL.'
(_Jv_MutexInit): Likewise.
(http://gcc.gnu.org/ml/java-patches/2001-q2/msg00245.html )
From-SVN: r42303
Benjamin Kosnik [Sat, 19 May 2001 03:44:03 +0000 (03:44 +0000)]
configure.in (libstdcxx_flags): Remove reference to libstdc++.INC.
2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
* configure.in (libstdcxx_flags): Remove reference to libstdc++.INC.
From-SVN: r42299
Benjamin Kosnik [Sat, 19 May 2001 03:42:53 +0000 (03:42 +0000)]
README: Add notes.
2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/README: Add notes.
* src/Makefile.am (libstdc++.INC): Remove.
* src/Makefile.in: Regenerate.
Phil Edwards <pedwards@disaster.jaj.com>
* mkcheck.in: Add missing '#'.
From-SVN: r42298
Diego Novillo [Sat, 19 May 2001 03:05:15 +0000 (03:05 +0000)]
decl2.c (finish_objects): Use the original SYMBOL_REF from the function declaration to avoid stripping...
2001-05-18 Diego Novillo <dnovillo@redhat.com>
* decl2.c (finish_objects): Use the original SYMBOL_REF from the
function declaration to avoid stripping the symbol's attributes.
From-SVN: r42297
Jason Merrill [Fri, 18 May 2001 23:37:25 +0000 (19:37 -0400)]
add emacs magic comment
From-SVN: r42294
Jason Merrill [Fri, 18 May 2001 23:32:45 +0000 (19:32 -0400)]
fix
From-SVN: r42292
Jason Merrill [Fri, 18 May 2001 22:39:38 +0000 (18:39 -0400)]
* README.DWARF: Move into dwarfout.c.
From-SVN: r42290
Stan Shebs [Fri, 18 May 2001 22:33:26 +0000 (22:33 +0000)]
* gcc.c-torture/compile/
20010518-1.c: New test.
From-SVN: r42289
Dale Johannesen [Fri, 18 May 2001 22:01:54 +0000 (22:01 +0000)]
rs6000.c (secondary_reload_class): Fix Darwin specific misuse of r0 as a reload address.
2001-05-18 Dale Johannesen <dalej@apple.com>
* config/rs6000/rs6000.c (secondary_reload_class): Fix Darwin
specific misuse of r0 as a reload address.
From-SVN: r42287
Jan Hubicka [Fri, 18 May 2001 21:04:56 +0000 (23:04 +0200)]
combine.c (combine_simplify_rtx): Clear op0_mode if simplification suceeded.
* combine.c (combine_simplify_rtx): Clear op0_mode if simplification
suceeded.
From-SVN: r42286
Richard Kenner [Fri, 18 May 2001 20:53:55 +0000 (20:53 +0000)]
genrecog.c (enum decision_type): Add DT_elt_zero-wide_safe.
* genrecog.c (enum decision_type): Add DT_elt_zero-wide_safe.
(add_to_sequence): Make that decision type.
(maybe_both_true_2, nodes_identical_1, factor_tests): Use it.
(write_switch, write_cond, debug_decision_2): Likewise.
From-SVN: r42285
Richard Kenner [Fri, 18 May 2001 20:48:28 +0000 (16:48 -0400)]
Merge in proper ChangeLog
From-SVN: r42284
Richard Kenner [Fri, 18 May 2001 20:43:43 +0000 (20:43 +0000)]
/tmp/pl
From-SVN: r42283
Tom Tromey [Fri, 18 May 2001 19:22:05 +0000 (19:22 +0000)]
Makefile.in: Rebuilt.
* Makefile.in: Rebuilt.
* Makefile.am (awt_java_source_files): Added Polygon.java.
From-SVN: r42276
Stan Shebs [Fri, 18 May 2001 19:14:19 +0000 (19:14 +0000)]
configure.in (gcc_cv_as_eh_frame): Cope with old assemblers.
* configure.in (gcc_cv_as_eh_frame): Cope with old assemblers.
* configure: Regenerate.
From-SVN: r42274
Angela Marie Thomas [Fri, 18 May 2001 18:55:44 +0000 (18:55 +0000)]
libstdc++-v3-dg.exp (libstdc++-v3-init): Set flags appropriately for remote testing and testing installed files without...
2001-05-18 Angela Marie Thomas <angela@cygnus.com>
* testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set flags
appropriately for remote testing and testing installed files without
a build dir.
From-SVN: r42272
Per Bothner [Fri, 18 May 2001 18:34:51 +0000 (11:34 -0700)]
jvspec.c (lang_specific_pre_link): Re-arrange the linker command line so the jvgenmain-generated main program...
* jvspec.c (lang_specific_pre_link): Re-arrange the linker
command line so the jvgenmain-generated main program comes first.
From-SVN: r42270
Per Bothner [Fri, 18 May 2001 18:30:40 +0000 (11:30 -0700)]
Changes needed for java/jvspec.c
Changes needed for java/jvspec.c
* gcc.h (n_infiles, outfiles): Add declarations.
* gcc.c (n_infiles, outfiles): Mske no longer static.
From-SVN: r42269
Jeffrey A Law [Fri, 18 May 2001 16:12:34 +0000 (16:12 +0000)]
* config/pa/som.h (EXCEPTION_SECTION): Define.
From-SVN: r42268
Daniel Berlin [Fri, 18 May 2001 15:39:11 +0000 (15:39 +0000)]
dwarf2out.c: Add dw_loc_list_ref, a reference to a location list.
2001-05-18 Daniel Berlin <dan@cgsoftware.com>
* dwarf2out.c: Add dw_loc_list_ref, a reference to a location
list.
Add have_location_lists, a variable to determine whether we need a
.debug_loc section or not.
(enum dw_val_class): Add dw_val_class_loc_list.
(dw_val_struct): Add val_loc_list.
(dw_loc_list_struct): New structure, represents location lists.
(new_loc_list): New function, return a new location list, given
the range and location expression.
(add_loc_descr_to_loc_list): New function, add a location
expression to a location list, given the expression and range.
(output_loc_list): New function, output a location list.
(gen_internal_sym): Modified to take symbol prefix, so we can
reuse it for location list symbols.
(add_AT_loc_list): New function, add a location list to a DIE at
the named attribute.
(AT_loc_list): New function, return the location list reference
for a given attribute, if it's a location list.
(print_die): Handle dw_val_class_loc_list.
(size_of_die): Ditto.
(value_format): Ditto.
(output_die): Ditto.
(output_location_lists): New function, output all of the location
lists for a DIE and it's children.
(dwarf2out_finish): Call output_location_lists if we have location
lists.
From-SVN: r42266
Nathan Sidwell [Fri, 18 May 2001 15:00:29 +0000 (15:00 +0000)]
re PR c++/2526 (internal compiler error (version 2.95.3 and 3.0))
cp:
PR c++/2526
* decl.c (pushdecl): Adjust error string.
(xref_tag): Adjust friend class injection warning. Remove the
inherited name from the class shadowed scope.
testsuite:
* g++.old-deja/g++.pt/inherit2.C: Remove XFAIL.
* g++.old-deja/g++.pt/crash67.C: New test.
From-SVN: r42265
Jan Hubicka [Fri, 18 May 2001 13:43:27 +0000 (15:43 +0200)]
gcse.c (try_replace_reg): First try global replace, later try to simplify the expression.
* gcse.c (try_replace_reg): First try global replace, later try to
simplify the expression.
* gcse.c (find_used_regs): Change calling convention; work via
note_uses.
(cprop_insn): Update call of find_used_regs; work for CALL_INSNs too.
From-SVN: r42264
Bernd Schmidt [Fri, 18 May 2001 12:45:03 +0000 (12:45 +0000)]
Revert an incorrect change
From-SVN: r42262
Andreas Jaeger [Fri, 18 May 2001 07:45:56 +0000 (09:45 +0200)]
Makefile.in (stamp-h): Only create config.h, touch stamp-h.
* libI77/Makefile.in (stamp-h): Only create config.h, touch stamp-h.
(${srcdir}/config.h.in): Add true rule.
* libI77/stamp-h.in: Added.
From-SVN: r42258
Andreas Jaeger [Fri, 18 May 2001 07:44:34 +0000 (09:44 +0200)]
* gcc_update: Add rules for libf2c/libI77.
From-SVN: r42257
Mark Mitchell [Fri, 18 May 2001 07:25:50 +0000 (07:25 +0000)]
function.c (expand_function_start): Avoid creating BLKmode pseudos.
* function.c (expand_function_start): Avoid creating BLKmode
pseudos.
* dwarf2out.c (output_comp_unit): Always output a compilation-unit
DIE, even if it has no children.
(dwarf2out_finish): Always output the line-number table, even if
it has no content.
From-SVN: r42254
Benjamin Kosnik [Fri, 18 May 2001 07:24:24 +0000 (07:24 +0000)]
acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir amd glibcpp_prefixdir with absolute paths.
2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
* acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
amd glibcpp_prefixdir with absolute paths.
* include/bits/c++config (__GLIBCPP__): Bump.
* acinclude.m4 (GLIBCPP_CONFIGURE): Correct version number.
From-SVN: r42253
GCC Administrator [Fri, 18 May 2001 07:16:19 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r42251
Bryce McKinlay [Fri, 18 May 2001 06:29:11 +0000 (07:29 +0100)]
[multiple changes]
2001-05-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
* include/jvm.h: Move "#pragma GCC java_exceptions" to ...
* gcj/javaprims.h: ... here.
* gnu/gcj/io/shs.cc: Add "#pragma GCC java_exceptions".
2001-05-17 Martin Kahlert <martin.kahlert@infineon.com>
* java/lang/natClass.cc (_Jv_FindIIndex): Fix an off by one error
with length of ioffset table.
(_Jv_IsAssignableFrom): Likewise.
From-SVN: r42248
David Edelsohn [Fri, 18 May 2001 05:55:52 +0000 (05:55 +0000)]
* rs6000.md (movsfcc,movdfcc): Remove NE case.
From-SVN: r42247
Gabriel Dos Reis [Fri, 18 May 2001 05:49:20 +0000 (05:49 +0000)]
Oops, forgot the ChangeLog entry.
From-SVN: r42246
Gabriel Dos Reis [Fri, 18 May 2001 05:47:46 +0000 (05:47 +0000)]
std_valarray.h (valarray<>::operator[] const): Return a const reference.
* include/bits/std_valarray.h (valarray<>::operator[] const):
Return a const reference.
* testsuite/26_numerics/valarray_const_bracket.cc: New test.
From-SVN: r42245
Alexandre Oliva [Fri, 18 May 2001 05:46:30 +0000 (05:46 +0000)]
configure.target (ATOMICITYH): Actually use AIX-specific code on earlier versions of AIX 4.*.
* configure.target (ATOMICITYH): Actually use AIX-specific code on
earlier versions of AIX 4.*.
From-SVN: r42244
Angela Marie Thomas [Fri, 18 May 2001 05:37:43 +0000 (05:37 +0000)]
libstdc++-v3-dg.exp (libstdc++-v3-dg-test): Set output_file based on the name of the testcase.
2001-05-18 Angela Marie Thomas <angela@cygnus.com>
* testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-dg-test): Set
output_file based on the name of the testcase.
2001-05-18 Angela Marie Thomas <angela@cygnus.com>
* testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Build
gluefile and use it if needs_status_wrapper is set.
From-SVN: r42240
Alexandre Oliva [Fri, 18 May 2001 04:50:27 +0000 (04:50 +0000)]
configure.target (ATOMICITYH): Use cpu/generic code on earlier versions of AIX.
* configure.target (ATOMICITYH): Use cpu/generic code on earlier
versions of AIX.
From-SVN: r42237
Bruce Korb [Fri, 18 May 2001 03:13:20 +0000 (03:13 +0000)]
regeneration based on new engine
From-SVN: r42236
Bruce Korb [Fri, 18 May 2001 02:54:25 +0000 (02:54 +0000)]
Upgrade to AutoGen 5 Template
From-SVN: r42235
Brendan Conoboy [Fri, 18 May 2001 02:02:37 +0000 (02:02 +0000)]
accept local directory for fixincl in fixincl.sh script
Co-Authored-By: Bruce Korb <bkorb@gnu.org>
From-SVN: r42234