Commit Graph

14812 Commits

Author SHA1 Message Date
Dave Love
9101297d83 * configure.in: Add AC_ARG_ENABLE for Haifa as documentation.
From-SVN: r16593
1997-11-20 00:39:57 -07:00
Jason Merrill
f2d773a2fd decl.c (start_decl): Don't just complain about a mismatched scope, fix it.
* decl.c (start_decl): Don't just complain about a mismatched
	scope, fix it.

From-SVN: r16591
1997-11-19 23:43:53 -05:00
Jason Merrill
5951f637bc decl.c (make_implicit_typename): Handle case where t is not actually from context.
* decl.c (make_implicit_typename): Handle case where t is not
 	actually from context.
	* tree.c (get_type_decl): Lose identifier case.
	* spew.c (yylex): Lose useless call to identifer_typedecl_value.
	* parse.y (nonnested_type): Just use lookup_name.
	(complex_type_name): Just use IDENTIFIER_GLOBAL_VALUE.

Wed Nov 19 11:45:07 1997  Michael Tiemann  <tiemann@axon.cygnus.com>

	* error.c (dump_function_name): Test DECL_LANG_SPECIFIC in case
	T was built in C language context (for example, by
	output_func_start_profiler).

From-SVN: r16589
1997-11-19 23:07:26 -05:00
Michael Meissner
77643ab814 Add doc about SHORT_IMMEDIATES_SIGN_EXTEND
From-SVN: r16586
1997-11-19 22:20:01 +00:00
Philippe De Muyter
2ed2af28e4 dwarf2out.c (CIE_LENGTH_LABEL, [...]): New macros.
Wed Nov 19 12:03:04 1997  Philippe De Muyter  <phdm@macqel.be>

	* dwarf2out.c (CIE_LENGTH_LABEL, FDE_LENGTH_LABEL): New macros.
	(ASM_OUTPUT_DWARF_VALUE4): New macro.
	(ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL): Define if SET_ASM_OP is
	defined.
	(output_call_frame_info): Do not output forward label differences
	if ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL is defined.
	* m68k/mot3300.h (SET_ASM_OP): Define when not using gas.

From-SVN: r16584
1997-11-19 14:53:32 -05:00
Michael Meissner
f422e9a0f6 Size filler array smaller if STACK_SIZE is defined.
From-SVN: r16582
1997-11-19 19:36:18 +00:00
Jason Merrill
bd2a82a625 decl.c (make_implicit_typename): New fn.
* decl.c (make_implicit_typename): New fn.
	(lookup_name_real): Use it.  Use current_class_type as the context.

From-SVN: r16581
1997-11-19 13:42:13 -05:00
Jeff Law
8d31729fce New test.
From-SVN: r16578
1997-11-19 09:20:12 -07:00
J"orn Rennecke
4dff12bfa2 sh.md (attribute "type"): Add nil.
* sh.md (attribute "type"): Add nil.
        (movsi_ie): y/y alternative is type nil.
        (movsf_ie): Replace ry/yr/X alternative by r/y/X , y/r/X and y/y/X
        alternatives.
        (movsf_ie+1): Delete.

From-SVN: r16575
1997-11-19 00:36:12 +00:00
Jim Wilson
218c2cdbed Fix gcc2 irix5 c-torture failures, EH/large frame errors
Fix gcc2 irix5 c-torture failures, EH/large frame errors
	* mips/mips.c (save_restore_insns): If gp_offset or fp_offset are
	large_int, emit two insns instead of one splitable insn.
	* dwarf2out.c (dwarf2out_frame_debug): When set cfa_store_offset
	from cfa_temp_value, use cfa_offset.  Add assert checking that
	cfa_reg is SP.

From-SVN: r16573
1997-11-18 15:42:00 -08:00
Jeff Law
15ec072935 Various changes from devo.
From-SVN: r16568
1997-11-18 12:36:21 -07:00
H.J. Lu
8677f9876b * stdstrbufs.cc (DEF_STDFILE): Use STD_VTABLE.
From-SVN: r16567
1997-11-18 09:53:45 -07:00
Mumit Khan
68660571fc close.c (f_exit): Reset f__init so that f_clos does not (incorrectly) think there is an I/O...
* libI77/close.c (f_exit): Reset f__init so that f_clos does not
        (incorrectly) think there is an I/O recursion when program is
        interrupted.

From-SVN: r16565
1997-11-18 09:48:12 -07:00
Bruno Haible
8baa713c4f pt.c (do_poplevel): Don't prohibit jumps into this contour.
Mon Nov 17 23:42:03 1997  Bruno Haible <haible@ilog.fr>

	* pt.c (do_poplevel): Don't prohibit jumps into this contour.

From-SVN: r16558
1997-11-18 03:07:55 -05:00
Tom Tromey
d5b7936247 From Tom Tromey
* cccp.c (deps_output): Properly quote file names for make.

From-SVN: r16555
1997-11-17 15:41:05 -08:00
Jeffrey A Law
de1ea87ac2 * t-h8300 (MULTILIB_EXCEPTIONS): Define.
From-SVN: r16553
1997-11-17 13:20:59 -07:00
Jason Merrill
37130ac372 search.c (dfs_record_inheritance): Ignore template type parms.
* search.c (dfs_record_inheritance): Ignore template type parms.

Fixes 13688.

	* friend.c (do_friend): Warn about non-template friends in templates.

	* call.c (build_op_delete_call): Fix handling of inherited delete.

From-SVN: r16551
1997-11-17 14:36:41 -05:00
Robert Lipe
cb0112a7f3 * i386/sco5.h (HAVE_ATEXIT): Delete definition.
From-SVN: r16536
1997-11-16 23:54:20 -07:00
Jeffrey A Law
85c3ba60dd cse.c (cse_insn): Don't look at JUMP_LABEL field of a conditionl return.
* cse.c (cse_insn): Don't look at JUMP_LABEL field of a conditionl
        return.
        (cse_end_of_basic_block): Similarly.

From-SVN: r16534
1997-11-16 23:51:20 -07:00
J. Kean Johnston
9155d500fb sco5.h (ASM_OUTPUT_ALIGNED_BSS): Define.
* i386/sco5.h (ASM_OUTPUT_ALIGNED_BSS): Define.
        (SELECT_RTX_SECTION): Define.
        (LIBGCC_SPEC, LIB_SPEC): Do the right thing for PIC.

From-SVN: r16532
1997-11-16 23:01:57 -07:00
Manfred Hollstein
4931312c08 Makefile.in (compare, [...]): Define $stage for each shell command.
* Makefile.in (compare, compare-lean): Define $stage for each
        shell command.
        (gnucompare, gnucompare-lean): Likewise.

From-SVN: r16530
1997-11-16 22:46:29 -07:00
Jeffrey A Law
9671be8f8a * Makefile.in (SHLIB): Build with CC instead of CXX.
From-SVN: r16528
1997-11-16 22:41:36 -07:00
Richard Henderson
8dfe3c6245 win-nt.h (TRAMPOLINE_TEMPLATE): Fix offsets.
* alpha/win-nt.h (TRAMPOLINE_TEMPLATE): Fix offsets.

        * alpha.h (ASM_OUTPUT_ADDR_DIFF_ELT): Add an L for the local label
        to correspond with the change to ASM_GENERATE_INTERNAL_LABEL.

From-SVN: r16526
1997-11-16 22:04:23 -07:00
Jason Merrill
da4768fe2e call.c (build_new_op): Fix copy error.
* call.c (build_new_op): Fix copy error.
	(build_op_new_call): New fn.
	(build_op_delete_call): New fn.
	* cp-tree.h: Declare them.
	* init.c (build_new): Use them.  Support placement delete.
	(build_x_delete): Use build_op_delete_call.
	(build_delete): Likewise.
	* decl2.c (delete_sanity): Likewise.
	(coerce_delete_type): Don't complain about placement delete.

Support placement delete.

From-SVN: r16501
1997-11-15 03:36:38 -05:00
Jeff Law
df4791b95d add missing comment from devo.
From-SVN: r16499
1997-11-14 10:59:57 -07:00
Fred Fish
874a8709bf dwarfout.c (byte_size_attribute): Add local var upper_bound and add case to handle STRING_TYPE.
* dwarfout.c (byte_size_attribute):  Add local var upper_bound
        and add case to handle STRING_TYPE.
        * dwarfout.c (output_string_type_die):  Fix code to generate
        correct string length attribute for fixed length strings.
        Still needs support for varying length strings.

From-SVN: r16498
1997-11-14 09:07:17 -07:00
Jeffrey A Law
ea46619609 * toplev.c (get_run_time): Do something sensible for cygwin32.
From-SVN: r16497
1997-11-14 08:44:56 -07:00
Dave Love
79cf8f5e2c intrin.def: Supply gfrt for CPU_TIME.
1997-11-14  Dave Love  <d.love@dl.ac.uk>

	* intrin.def: Supply gfrt for CPU_TIME.  Generalize arg types of
	INT2, INT8, per doc.

From-SVN: r16496
1997-11-14 08:13:42 -07:00
Richard Henderson
f35bcbc5d0 expr.c (expand_builtin_setjmp): Set current_function_has_nonlocal_label.
* expr.c (expand_builtin_setjmp): Set
        current_function_has_nonlocal_label.
        * stupid.c (stupid_life_analysis): If has_nonlocal_label, kill
        call-saved registers across calls.

        * alpha.md (exception_receiver): Remove.
        (nonlocal_goto_receiver_osf): New
        (nonlocal_goto_receiver_vms): Renamed from nonlocal_goto_receiver.
        (nonlocal_goto_receiver): New, select _osf or _vms.

From-SVN: r16492
1997-11-14 07:51:00 -07:00
Richard Henderson
531ea24eef alpha.c (output_prolog [*]): Prefix entry labels with '$' to keep them from being propogated to the object file.
* alpha.c (output_prolog [*]): Prefix entry labels with '$' to
        keep them from being propogated to the object file.
        (alpha_write_linkage): Likewise.
        * alpha.md (call_vms): Likewise.
        (call_value_vms): Likewise.
        (unnamed osf call insns): Likewise.

        * alpha.h (ASM_OUTPUT_INTERNAL_LABEL): Don't omit L from local label.
        (ASM_GENERATE_INTERNAL_LABEL): Likewise.

From-SVN: r16490
1997-11-14 07:43:14 -07:00
Richard Henderson
202f590eca alpha.c (call_operand): Any reg is valid for WinNT.
* alpha.c (call_operand): Any reg is valid for WinNT.
        * alpha.md (call_nt, call_value_nt): Don't force address into $27.
        (anon nt calls): Add 'R' alternative.
        * alpha/win-nt.h (TRAMPOLINE_TEMPLATE, TRAMPOLINE_SIZE,
        INITIALIZE_TRAMPOLINE): Handle lack of original $27 and 32-bit ptrs.

From-SVN: r16487
1997-11-14 07:23:25 -07:00
Jeffrey A Law
f78b5ca112 * calls.c (expand_call): Handle pcc_struct_value correctly for C++.
From-SVN: r16485
1997-11-14 07:06:07 -07:00
Jeffrey A Law
238ad62b9f xm-cygwin32.h (HAVE_FILE_H, [...]): Delete defines.
* i386/xm-cygwin32.h (HAVE_FILE_H, HAVE_RUSAGE): Delete defines.
        * i386/xm-mingw32.h (HAVE_FILE_H, HAVE_RUSAGE): Likewise.
        * rs6000/xm-cygwin32.h (HAVE_FILE_H, HAVE_RUSAGE): Likewise.

From-SVN: r16484
1997-11-14 06:59:51 -07:00
Michael Meissner
da27534458 reload1.c (new_spill_reg): Improve fixed or forbidden register spill error message.
* reload1.c (new_spill_reg): Improve fixed or forbidden register
        spill error message.

From-SVN: r16483
1997-11-13 20:36:47 -07:00
Kaveh R. Ghazi
1f1e15454f prefix.c: Use stdarg.h only ifdef __STDC__.
* prefix.c: Use stdarg.h only ifdef __STDC__.  Otherwise,
        use varargs.h.  Wrap header with <>, not "".

From-SVN: r16482
1997-11-13 20:27:55 -07:00
Jeffrey A Law
daa4b71743 integrate.c (save_for_inline_copying): Add return value from savealloc.
* integrate.c (save_for_inline_copying): Add return value from
        savealloc.

From-SVN: r16481
1997-11-13 20:20:11 -07:00
Brendan Kehoe
9bb5394eca fixincludes: Be a little more restrictive on what we will substitute to replace definitions...
* fixincludes: Be a little more restrictive on what we will
        substitute to replace definitions of MAXINT for HPUX.

From-SVN: r16480
1997-11-13 19:13:03 -07:00
Jeff Law
d863830b53 Add -frepo docs.
From-SVN: r16478
1997-11-13 18:56:51 -07:00
Jeff Law
966f5dffab Minor spacing nit.
From-SVN: r16477
1997-11-13 18:42:45 -07:00
Jeff Law
c39de8184c Comment change.
From-SVN: r16476
1997-11-13 18:41:19 -07:00
Michael Meissner
9571f69bfd dbxout.c (dbxout_symbol_location): Don't assume that variables whose address is the stack or argument pointers are...
* dbxout.c (dbxout_symbol_location): Don't assume that variables
        whose address is the stack or argument pointers are indirect
        pointers.

From-SVN: r16475
1997-11-13 18:39:43 -07:00
Paul Eggert
e7cbb6b66e cccp.c, cpplib.c (compare_defs): Don't complain about arg name respellings unless pedantic.
* cccp.c, cpplib.c (compare_defs):
        Don't complain about arg name respellings unless pedantic.
        * cpplib.c (compare_defs): Accept pfile as new arg.
        All callers changed.
Bring over from the FSF.

From-SVN: r16474
1997-11-13 18:33:27 -07:00
J"orn Rennecke
9f29ca789b * fold-const.c (fold_truthop): Fix bug in last change.
From-SVN: r16473
1997-11-14 00:38:08 +00:00
Paul Eggert
41c9120baf patch from paul eggert to fix -0.0/0.0 confusion that breaks glibc
* real.h (REAL_VALUES_IDENTICAL): New macro.
	* expr.c (is_zeros_p): Don't consider -0.0 to be all zeros.
	* fold-const.c (operand_equal_p): Don't consider -0.0 to be
	identical to 0.0.
	* tree.c (simple_cst_equal): Don't consider -0.0 to have the
	same tree structure as 0.0.
	* varasm.c (immed_real_const_1): Use new REAL_VALUES_IDENTICAL
	macro instead of doing it by hand.

From-SVN: r16472
1997-11-13 16:07:27 -08:00
Jeffrey A Law
323d8e7b66 lib1funcs.asm: Minor whitespace changes.
* v850/lib1funcs.asm: Minor whitespace changes.
        * v850.c: Fix minor formatting problems in many places.
        (construct_restore_jr, construct_save_jarl): Remove unwanted aborts.

From-SVN: r16471
1997-11-13 16:55:08 -07:00
Jeff Law
5a75af6284 Whitespace changes.
From-SVN: r16470
1997-11-13 16:49:41 -07:00
Jeffrey A Law
8930b06354 flow.c (find_basic_blocks): During marking phase...
* flow.c (find_basic_blocks): During marking phase, if we encounter
        an insn with a REG_LABEL note, make the target block live and
        create an edge from the insn to the target block.  Do not make
        edges from all blocks to the target block.

From-SVN: r16469
1997-11-13 16:09:27 -07:00
Jim Wilson
13529ea4fe mips.h (GO_IF_LEGITIMATE_ADDRESS): Delete code swapping xplus0 and xplus1 when xplus0 is not a register.
* mips.h (GO_IF_LEGITIMATE_ADDRESS): Delete code swapping xplus0 and
	xplus1 when xplus0 is not a register.

From-SVN: r16467
1997-11-13 14:09:05 -07:00
Jason Merrill
9babbf20ae removed unused parm to build_new_function_call
From-SVN: r16464
1997-11-13 15:01:21 -05:00
Jason Merrill
fac138ead1 tweak
From-SVN: r16463
1997-11-13 14:17:55 -05:00