blob: 9bd9de01a5fd3e529df2419f0b45ab8189817987 [file] [log] [blame]
Sat Oct 31 15:19:54 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* Version 2.3 released.
* Makefile.in (install-libobjc): New target.
($(srcdir)/gcc.dvi, $(srcdir)/cpp.dvi): New targets.
(extraclean): rm *diff, *lose, config/*lose.
(mostlyclean): rm config/core.
* objc-actions.c (OBJC_SELECTORS_WITHOUT_LABELS): Define by default.
Fri Oct 30 20:11:52 1992 James Van Artsdalen (james at bigtex.cactus.org)
* i386.c (output_move_double): Undo 10/25 change. Handle case
where part of a dest reg is used in a src mem rtx, without using
stack.
Fri Oct 30 18:52:57 1992 Michael Meissner (meissner@osf.org)
* mips.h (MIPS_VERSION): Bump meissner version number to 28.
* mips.md (addsi3, subsi3): Don't allow -32768 as the second
operand, the assembler complains if the instruction fills a delay
slot.
Fri Oct 30 16:11:37 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* combine.c (simplify_shift_const):
For a subreg, require subreg_lowpart_p and not paradoxical.
* Makefile.in (install-fixincludes): Ignore dirs that don't exist.
Thu Oct 29 20:15:44 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* gvarargs.h, gstdarg.h [4.3 net 2]: If _VA_LIST_, is undefined
then va_list is already declared.
* i386gas.h (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL):
Override, if NO_UNDERSCORES.
Thu Oct 29 17:30:52 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
* flow.c (life_analysis): Mark FP live at end of function.
* reload1.c (reload): If FP was eliminated, remove it from
being live in any basic block.
* varasm.c (output_constant_pool): Labels can be deleted by being
turned into NOTEs, not just have INSN_DELETED_P.
Thu Oct 29 16:15:47 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* gstdarg.h: Use _ANSI_STDARG_H_, not _ANSI_STDARG_H.
* gstddef.h [4.3 net 2]: If _SIZE_T_, etc. are undefined
then type is already declared.
* m68k.c (print_operand_address) [MOTOROLA !SGS]:
Don't subtract 2 in the address displacement.
Thu Oct 29 14:36:23 1992 Michael Meissner (meissner@osf.org)
* libgcc2.c (__builtin_vec_new): #undef NULL before including
stdio.h to prevent redeclaration message.
(pyramid __enable_execute_stack): Ditto.
* i386rose.h (YES_UNDERSCORES): Define.
(ASM_OUTPUT_LABELREF): Don't redefine.
* mips.h (ASM_FINAL_SPEC): If cross compiling, don't invoke
mips-tfile by default.
* decrose.h (ASM_FINAL_SPEC): If cross compiling, don't invoke
mips-tfile by default.
* mips-tdump.c, mips-tfile.c: Handle the case where CROSS_COMPILE
is defined more gracefully.
Thu Oct 29 12:10:16 1992 Tim Moore (moore at defmacro.cs.utah.edu)
* combine.c (make_extraction): Fix paren error in if for INNER is reg.
Thu Oct 29 13:49:03 1992 Jim Wilson (wilson@sphagnum.cygnus.com)
* xm-mipsbsd.h: Really delete file.
Thu Oct 29 02:48:28 1992 Tom Wood (wood@dg-rtp.dg.com)
* dwarfout.c, arm.c, m88k.c: Include "assert.h" instead of <assert.h>.
Thu Oct 29 00:43:00 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* gstddef.h [4.3 net 2]: Force inclusion of ansi.h.
Undef _SIZE_T_, _PTRDIFF_T_, _WCHAR_T_ at end.
* Makefile.in (libgcc2.a, libgcc1.a): Use || to exit if cp fails.
(install-float-h-cross): Use fi, not done.
Write float.h in $(tmpdir), not in `.'.
(tmpdir): New variable.
* i386gas.h (NO_UNDERSCORES): Test was backwards.
(SDB_DEBUGGING_OUTPUT): Defined.
Wed Oct 28 16:33:34 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* gstdarg.h, gvarargs.h:
On Net 2 system, don't test, define or undef _VA_LIST_.
Use _ANSI_H_, __BSD_NET2__ and ____386BSD____ to test for this.
* i386bsd.h (CPP_PREDEFINES): Add ____386BSD____.
* c-decl.c (pushdecl): Allow redeclaring builtin as any sort of static.
* Makefile.in (install-cross-tools): Fix typo.
(all.build): Dep on xgcc instead of $(GCC_PASSES).
Wed Oct 28 15:25:42 1992 Tom Wood (wood@dg-rtp.dg.com)
* m88k.c (print_operand): When AS_BUG_FLDCR is defined, use alternate
fldcr form.
* m88kdgux.h (AS_BUG_FLDCR): Define to accomodate 4.30 assembler bug.
* m88kv3.h (CPP_PREDEFINES): Add -Dunix.
* m88kdolph.h (SDB_ALLOW_FORWARD_REFERENCES): Don't override.
Wed Oct 28 05:34:11 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu)
* reload1.c (gen_input_reload): In PLUS, if OP0 and OP1 are the
same, use RELOADREG when generating the addition.
* reload.c (find_reloads_address): When copying memref after we've
made recursive calls on it, copy any replacements we made.
* combine.c (can_combine_p): Don't substitute an expression
containing a register that will be clobbered in I3.
* objc/core.c, objc/hash.c: Include tconfig.h, not config.h.
Include gstdarg.h.
* objc/object.m: Include tconfig.h, not config.h.
Include gstdarg.h before stdio.h.
* objc/objc.h: Don't include gstdarg.h here.
* objc/objc-proto.h (CLASS_LOCATION_SHIFT): Use HOST_BITS_PER_LONG,
not BITS_PER_WORD.
(setClassNumber, getClassNumber): `info' field is long, not int.
Wed Oct 28 10:54:50 1992 Michael Meissner (meissner@osf.org)
* libgcc2.c (L_caps_new): Properly close comment.
Wed Oct 28 05:50:10 1992 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu)
* pa.md (mulsi): Input predicates back to srcsi_operands.
Don't handle constants specifically for TARGET_SNAKE, but call
force_reg to put them in registers.
(indexed addressing mode patterns): Remove the patterns with
unscaled index. Switch off patterns that never match.
* longlong.h (file header): Add comment describing sdiv_qrnnd.
(__hppa sub_ddmmss): Swap input operands.
* gcc.c (process_command): Check that we have enough arguments.
Wed Oct 28 00:40:18 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* configure (i[34]86-*-sysv*): Take note of $stabs.
* i386gas.h (SDB_DEBUGGING_INFO): #undef deleted.
(DBX_DEBUGGING_INFO): Definition deleted.
* i386gstabs.h: New file.
* Makefile.in (mostlyclean): Don't delete tmp-limits.h.
* i386vgas.h: File deleted.
Tue Oct 27 15:35:51 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* libgcc2.c: Include stdio.h.
[__GNU_LIBRARY__] (write): Defined.
* Makefile.in (install-cross-tools): When handling $(tooldir)/include,
do all cd's starting from build directory.
* i386gas.h (NO_UNDERSCORES): Don't define, if YES_UNDERSCORES.
* i386linux.h (YES_UNDERSCORES): Defined.
Tue Oct 27 14:17:43 1992 Jim Wilson (wilson@sphagnum.cygnus.com)
* configure (i[34]86-*-linux): Set broken_install.
* x-linux (INSTALL): Delete.
* x-iris (INSTALL): Delete.
Tue Oct 27 13:39:22 1992 Tim Moore (moore@hal.gnu.ai.mit.edu)
* pa.h (ASM_GLOBALIZE_LABEL): Give function symbols CODE type,
others DATA type.
Mon Oct 26 16:40:43 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* c-typeck.c (build_c_cast): Don't warn about size change between
pointer and integer if the value is constant.
* Makefile.in (libobjc.a): If ln fails, copy libobjc.a.
Mon Oct 26 16:21:11 1992 Tim Moore (moore@defmacro.cs.utah.edu)
* pa.h (EXPORT_PARMS, ASM_DECLARE_FUNCTION): Blow away usage of
EXPORT_PARMS. BUGGY_GAS isn't a problem any more.
(TEXT_SPACE_P, FUNCTION_NAME_P): New macros.
(ENCODE_SECTION_INFO): Use TEXT_SPACE_P.
(STRIP_NAME_ENCODING): Strip a '*' which might preceed a '@'.
(ASM_OUTPUT_EXTERNAL): Give only function labels a CODE type.
(ASM_OUTPUT_LABELREF): Use FUNCTION_NAME_P.
* pa.c (hppa_encode_label): Change function name encoding to
preserve leading '*' if there is one.
(function_label_operand): Use FUNCTION_NAME_P macro.
Mon Oct 26 14:39:46 1992 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu)
From Tim Moore:
* function.c (locate_and_pad_parm): In ARGS_GROW_DOWNWARD case,
don't pad to argument alignment if where_pad is downward.
Mon Oct 26 11:21:36 1992 Chris Smith (csmith@convex.com)
* convex.h (SHIFT_COUNT_TRUNCATED): Undefine.
Mon Oct 26 07:48:35 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
* alpha.c (print_operand, new 'L'): New case.
* alpha.md (movhi/movqi patterns): For long constants, use 'i'
constraint instead of 'K'; use "%L1" in template.
* configure (alpha): Set use_collect2.
Mon Oct 26 04:19:24 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* xm-alpha.h: Declare calloc.
Sun Oct 25 17:19:52 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* function.c (fixup_var_refs_insns): Don't call delete_insn if not -O.
Make a NOTE_INSN_DELETED instead.
Sun Oct 25 11:57:04 1992 Chris Smith (csmith@convex.com)
* convex.h (target_flags): prevent -mnoc2 from clearing
TARGET_INDIRECTS.
(TARGET_INDIRECTS): Always on.
Sun Oct 25 16:56:18 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu)
* calls.c (expand_call): Don't call convert_to_mode if we obtained
VALUE in the proper mode; VALUE might be a CONST_INT.
Sun Oct 25 03:18:03 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* expr.c (gen_push_operand): No longer static.
* i386.c (output_move_double): Divert first word via the stack
if it's a register used in the input operand.
* i386.md (movdi): Delete the `&' from constraint.
Sat Oct 24 21:41:00 1992 Chris Smith (csmith@convex.com)
* convex.md (movstrictsi): Correct output constraint is + not =.
Sat Oct 24 14:10:43 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* news.h (FUNCTION_EPILOGUE): Fix typos.
* cccp.c (get_lintcmd): Length of `LINTLIBRARY' is 11.
Sat Oct 24 13:22:09 1992 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu)
* arm.md (DImode patterns): Add `&' to target operand constraints.
* Makefile.in (setting version variable): Prepend $(srcdir) to
version.c.
From Wilson:
* longlong.h (sparclite): Use machine independent USItype instead
of explicit types.
Sat Oct 24 10:35:18 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
* rs6000.md (movdi): Tests were in wrong order.
* rs6000.h (LEGITIMIZE_ADDRESS): Indexed addresses are not valid
for DImode and TImode; GO_IF_LEGITIMATE_ADDRESS knows this.
* Makefile.in (mostlyclean): Add missing semicolon.
* a29k.c (a29k_set_memflags, a29k_set_memflags_1): New functions.
* a29k.md (movqi, movhi, reload_{in,out}{qi,hi}): Use them.
* alpha.c (get_aligned_mem): Copy memory flags to new MEM.
(alpha_set_memflags, alpha_set_memflags_1): New functions.
* alpha.md (movqi, movhi, reload_{in,out}{qi,hi}): Use new
functions.
* alpha.h (ASM_FILE_START): Stop at blank in version string.
Sat Oct 24 04:35:16 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* reload1.c (emit_reload_insns): If not -O, Don't try find_equiv_reg.
(choose_reload_regs): If not -O, don't inherit reloads.
Fri Oct 23 18:07:10 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* news.h (FUNCTION_EPILOGUE):
If no frame ptr, increment stack ptr to free up the local space.
* gcc.c (process_command): Discard after first space in spec_version.
* print-tree.c (print_node): Always output `>' to match `<'.
* Makefile.in (version): Use sed to extract.
Ignore excess after space.
(install-fixincludes): Fix typo in last change.
* configure (i386-ibm-aix*): Use aix386ng.h if not --with-gas.
* aix386ng.h: New file.
Fri Oct 23 15:14:49 1992 Brendan Kehoe (brendan@lisa.cygnus.com)
* sdbout.c (sdbout_symbol): Return if a symbol's DECL_NAME is
empty, since we won't be able to make a symtab of it.
* convex.h (P_tmpdir): Remove definition.
* xm-convex.h: Put it here.
Fri Oct 23 10:27:34 1992 Michael Meissner (meissner@osf.org)
* i386rose.h (ASM_OUTPUT_LABELREF): Define so that external
identifiers have leading underscores in front of them.
* mips-tfile.c (parse_stabs_common): Allow stabs with line numbers
of 0. These come from g++ for compiler generated functions that
take arguments.
Fri Oct 23 07:49:12 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
* romp.c (output_fpops): Add SYMBOL_REF and LABEL_REF cases to
constants handled.
Fri Oct 23 01:58:12 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* flow.c (find_basic_blocks): Check for LABEL_REF_NONLOCAL_P
in label_value_list.
* jump.c (mark_jump_label): Copy LABEL_REF_NONLOCAL_P from
LABEL_REF into REG_LABEL note.
* toplev.c (push_float_handler): Declare arg old_handler.
* t-next (OTHER_FIXINCLUDES_DIRS): Defined.
* Makefile.in (OTHER_FIXINCLUDES_DIRS): New variable, normally empty.
(install-fixincludes): Run fixincludes on those dirs.
* fixincludes: Convert //-style comments to /*...*/ style.
* loop.c (record_biv): Clear total_benefit field of new iv_class.
(get_condition):
Verify op 2 of source is label_ref before looking within.
Thu Oct 22 21:17:53 1992 Tim Moore (moore at defmacro.cs.utah.edu)
* varasm.c (STRIP_NAME_ENCODING): New macro to decode a symbol name
munged by ENCODE_SECTION_INFO.
(assemble_start_function, assemble_variable): Use STRIP_NAME_ENCODING.
* pa.h (STRIP_NAME_ENCODING): New definition.
Thu Oct 22 17:53:37 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* Makefile.in (mostlyclean): Clean objc subdir only if it exists.
* news.h (FUNCTION_PROLOGUE): Do allocate local stack space
when no frame pointer.
Thu Oct 22 15:21:27 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu)
* i960.h (FUNCTION_VALUE): Simplify, just return reg 0.
* i960.c (i960_function_value): Delete.
Thu Oct 22 09:42:50 1992 Michael Meissner (meissner@osf.org)
* mips-tfile.c (parse_stabs_common): Ignore stab line numbers
of 0, since the G++ front end generates them. Check whether
line numbers can fit within the index field, and if not report
an error.
* mips.c (function_arg): Align passed structures to double word
boundary if structure has double word alignment.
* mips.h (STACK_DYNAMIC_OFFSET): Do not define this macro in order
to work around a bug.
Thu Oct 22 08:00:43 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* gstdarg.h, gvarargs.h: Treat _AIX and _M_UNIX like __svr4__.
* i386gas.h (NO_UNDERSCORES): Defined.
* next.h (INCLUDE_DEFAULTS): Put in GPLUSPLUS_INCLUDE_DIR,
GCC_INCLUDE_DIR, LOCAL_INCLUDE_DIR, STANDARD_INCLUDE_DIR.
Don't define at all if cross-compiling.
* tree.c (copy_node): Copy the excess bytes--don't clear them.
Thu Oct 22 06:40:55 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
* a29k.h (TARGET_SWITCHES): Add missing complementary switches:
-mno-stack-check and -mstorem-bug.
* a29k.md (long constant split): Use gen_lowpart instead of making
a SUBREG directly.
* arm.h (STORE_FLAG_VALUE): Remove bogus definition.
Thu Oct 22 03:04:28 1992 Tom Wood (wood@dg-rtp.dg.com)
* m88k.c (prologue_marked): New variable.
(m88k_end_prologue): Output the epilogue mark here if the start of
the epilogue passed the end of the prologue.
(m88k_begin_epilogue): Don't output the epilogue mark if the end
of the prologue hasn't been processed yet.
Thu Oct 22 03:20:40 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* function.c (put_var_into_stack): When we operate on a pseudo
that holds the address, use proper modes.
* combine.c (make_extraction): Use is_mode, not inner_mode,
for BYTES_BIG_ENDIAN adjustment to offset for non-bitfield case.
Update is_mode when stripping subreg from around a mem.
* m68k.h (GO_IF_INDEXABLE_BASE): Allow LABEL_REF only if jump table.
Wed Oct 21 18:55:24 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* gstdarg.h: Check and define _ANSI_STDARG_H along with _STDARG_H.
Wed Oct 21 11:41:39 1992 Tom Wood (wood at gen-rtx)
* toplev.c (push_float_handler, pop_float_handler): New functions.
* fold-const.c (real_value_truncate):
Use them, in case another handler is already in effect.
Wed Oct 21 22:08:31 1992 H.J. Lu (hlu@yardbird.eecs.wsu.edu)
* Makefile (all.build): Add target $(GCC_PASSES) for xgcc.
* build-make (CC): Defined.
(CROSS_GCC_FLAGS): Deleted.
(HOST_CC): Delete -V option; CC supplies that.
Wed Oct 21 12:34:39 1992 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu)
From Wilson:
* longlong.h (sparclite udiv_qrnnd): Remove comma before
__AND_CLOBBER_CC.
Wed Oct 21 12:24:24 1992 Michael Meissner (meissner@osf.org)
* decrose.h (WORD_SWITCH_TAKES_ARG): Add -pic-names.
(CC1_SPEC): If -pic-names, pass -mhalf-pic to cc1.
* i386rose.h (WORD_SWITCH_TAKES_ARG): Add -pic-names.
(CC1_SPEC): If -pic-names, pass -mhalf-pic to cc1.
Wed Oct 21 07:34:16 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
* configure (alpha): Only accept OSF/1.
* alpha.h (ASM_FILE_START): Change .verstamp ident for BL9.
* alpha.md (div/mod): Change calling sequence to agree with BL9.
* expr.c (do_store_flag): Ensure we don't get confused when
emit_store_flag fails and an operand has a QUEUED.
Wed Oct 21 02:53:58 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* cexp.y (integer_overflow): Do nothing unless pedantic.
Tue Oct 20 17:02:15 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu)
* README, sparc.h, flow.c, regs.h: Change global-alloc.c to global.c.
* i960.md (call, call_value): Use 'd' not 'r' constraint for scratch.
* gcc.c (WORD_SWITCH_TAKES_ARG): Handle -Ttext and -Tbss in
addition to -Tdata.
* i960.h (WORD_SWITCH_TAKES_ARG): Delete, now unnecessary.
* next.h (WORD_SWITCH_TAKES_ARG): Add -Tbss.
* sparc.h, sun2.h, sun3.h (WORD_SWITCH_TAKES_ARG): Add -Ttext and
-Tbss.
Tue Oct 20 16:49:57 1992 Ron Guilmette (rfg at netcom.com)
* dwarfout.c (dwarfout_file_scope_decl): Generate DIEs for
built-in non-fundamental types.
Tue Oct 20 14:58:18 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* objc-actions.c (handle_impent, handle_class_ref): Use __
to start the generated names, not period.
Tue Oct 20 14:38:30 1992 Brendan Kehoe (brendan@mole.gnu.ai.mit.edu)
* cp-method.c (fndecl_as_string): Undo change of Sep 14th for
emitting a space after the return type of a fn.
Wed Oct 7 16:01:55 1992 Chip Salzenberg (chip@tct.com)
* cp-lex.c (readescape): No warning if digits in \x are all 0's.
Tue Oct 20 06:50:28 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
* expr.c (force_operand): Clarify comment to say what it can return.
* integrate.c (copy_rtx_and_substitute): Don't assume force_operand
on an address returns a REG; it might be a SUBREG. Use force_reg.
Tue Oct 20 04:54:01 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* tree.c (make_node, copy_node):
Don't assume node length is multiple of int.
Mon Oct 19 18:14:56 1992 Jim Wilson (wilson@sphagnum.cygnus.com)
* genrecog.c (write_tree): For type SPLIT, check subroutine return
values for non-zero value not positive value.
Mon Oct 19 16:11:04 1992 Michael Meissner (meissner@osf.org)
* c-typeck.c (print_table, scan_table): Add support for XPG4's %S
and %C formats for printing/reading wide characters. %lc and %ls too.
Mon Oct 19 17:58:18 1992 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu)
* arm.c (output_epilogue): Restore sp's value if no frame pointer.
From Wilson:
* pa.h (WORD_SWITCH_TAKES_ARG): Delete sparc related cruft.
Mon Oct 19 14:49:03 1992 Brendan Kehoe (brendan@rtl.cygnus.com)
* cp-parse.y (primary): Don't try building a CALL_EXPR or
converting types if $$ is an error_mark.
Mon Oct 19 14:01:02 1992 Tom Wood (wood@dg-rtp.dg.com)
* m88k.h (SECONDARY_INPUT_RELOAD_CLASS): Require a temporary for a
pic address with a large constant term.
* m88k.md (reload_insi): New pattern.
(addsi3 pattern for large constants): Delete. Causes reload trouble.
* m88k.c (emit_move_sequence): Add scratch register. All callers
changed.
(legitimize_address): Add scratch register. All callers changed
to pass zero instead of gen_reg_rtx result. Allocate another temp
register for -fPIC case. Use scratch register for pic cases with
a large constant term.
* m88k.h (FUNCTION_PROFILER_LENGTH, FUNCTION_BLOCK_PROFILER_LENGTH,
BLOCK_PROFILER_LENGTH, REG_PUSH_LENGTH, REG_POP_LENGTH): Added.
(ADJUST_INSN_LENGTH): Account for profiling code.
Mon Oct 19 16:46:52 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* Makefile.in (libobjc.a): Don't mkdir objc if dir exists.
* expr.c (store_field): If trying to sign-extend a constant,
use value_mode as the mode.
Mon Oct 19 10:59:20 1992 Michael Meissner (meissner@osf.org)
* xm-umips.h (index): Define to be strchr.
(rindex): Define to be strrchr.
* mips-tdump.c (index, rindex): Undefine these, since the MIPS
include files have a field spelled index.
Mon Oct 19 03:34:04 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* Makefile.in (mostlyclean): Delete libobjc.a.
(libobjc.a): Create the objc subdir.
Sun Oct 18 17:52:05 1992 Arne H. Juul (arnej@lise.unit.no)
* objc/Makefile: Add .SUFFIXES .m and .m.o rule to keep non-GNU
make happy.
* Makefile.in (libobjc.a): Remove libobjc.a in current directory
before attempting to hardlink it or make will fail in later stages.
(sublibobcj.a): Don't use $(MAKEFLAGS) for objc subdir stuff.
Sun Oct 18 06:00:27 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu)
* cse.c (canon_reg): Don't call validate_change if INSN is zero.
Sun Oct 18 01:09:02 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* i860.h (PRINT_OPERAND): For `h', always use OPERAND_HIGH_ADJ_PART
even for integer constant addresses.
* final.c (output_addr_const): Always use FILE, not asm_out_file.
* cccp.c (collect_expansion): Don't add whitespace at end
if inside a string and not traditional.
(rescan): At end of string, if inside macro, always keep scanning.
* expr.c (store_field): If signed bitfield and want value, sign extend.
Sat Oct 17 21:11:09 1992 H.J. Lu (hlu@yardbird.eecs.wsu.edu)
* Makefile.in (all.build): New rule for making gcc with a
cross-compiler.
(install.build): New target.
(line 271): Add `####build overrides'.
(gen*.o): Depend on hconfig.h, not config.h.
($(HOST_PREFIX_1)rtl.o, $(HOST_PREFIX_1)print-rtl.o,
$(HOST_PREFIX_1)rtlanal.o, $(HOST_PREFIX_1)obstack.o,
$(HOST_PREFIX_1)malloc.o): Add final `h' to the regexp to replace.
* configure: If $host == $taget, but $host != $build, merge
`build-make' and emit `build = $build'.
* build-make: New file for making gcc with a cross-compiler.
Sat Oct 17 19:24:31 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* c-typeck.c (process_init_constructor): When initializing a union,
handle the case of an empty init list.
* reload.c (find_reloads_address): Redo last change: copy the mem
in the same way it's usually done.
* Makefile.in (gcc.xtar): Fix typo in last change.
(mostlyclean): Don't use $(MAKEFLAGS) for objc subdir stuff.
Sat Oct 17 19:15:16 1992 John Wroclawski (jtw@pmws.lcs.mit.edu)
* decstatn.h (SIZE_TYPE): Fix typo.
Sat Oct 17 17:46:08 1992 Brendan Kehoe (brendan@mole.gnu.ai.mit.edu)
* cp-method.c: Don't try to include string.h or strings.h.
* cp-decl.c: Ditto.
Sat Oct 17 13:50:49 1992 Fred Fish (fnf@fishpond.cygnus.com)
* fixinc.svr4 (string.h):
Remove #defines for other compiler's builtin functions.
Sat Oct 17 00:39:30 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* protoize.c: Add #undef getopt after getopt.h.
* gstdarg.h, gvarargs.h (va_list) [__SVR4_2__]:
Don't set or test _VA_LIST.
* gstddef.h: Do nothing if _ANSI_STDDEF_H already defined.
Fri Oct 16 11:39:06 1992 H.J. Lu (hlu@yardbird.eecs.wsu.edu)
* emit-rtl.c (gen_lowpart_common): Fix typo in last change.
Fri Oct 16 22:35:15 1992 Eric Youngdale (youngdale@v6550d.nrl.navy.mil)
* make-cc1.com: Correct previous patch.
Fri Oct 16 20:07:12 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* objc-actions.c (start_class):
For an INTERFACE_TYPE, push to permanent obstack.
(build_message_expr): Use TYPE_MAIN_VARIANT when comparing types.
* Makefile.in (libobjc.a): Don't use $(MAKEFLAGS).
Add braces around shell variable references.
(collect2): Delete file before linking it.
* objc/Makefile (all): Don't use $(MAKEFLAGS).
(VPATH): Get rid of ../ since srcdir now absolute.
Fri Oct 16 14:23:25 1992 Michael Meissner (meissner@osf.org)
* decstatn.h (all defines): Protect all defines with an #ifndef,
to allow dec-osf1.h to selectively override macros.
Fri Oct 16 10:44:47 1992 Tom Wood (wood@dg-rtp.dg.com)
* Makefile.in (libobjc.a): Compute srcdir1 without changing
directories. Use srcdir1 to locate objc/Makefile. Put quotes
around all potential multi-word values. Recompute GCC_FOR_TARGET.
(sublibobjc.a): Use same text as libobjc.a.
(mostlyclean): Use $(MAKE) and srcdir1 for objc action.
* objc/Makefile (SUBDIR_INCLUDES): Don't use ../$(srcdir).
(all): Use $(MAKE).
Fri Oct 16 04:16:36 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* function.c (find_fixup_replacement): Renamed from find_replacement.
* varasm.c (output_addressed_constants): Handle NON_LVALUE_EXPR.
Fri Oct 16 02:25:17 1992 Jeffrey A. Law (law@schirf.cs.utah.edu)
* pa.md (call define_expands): If TARGET_LONG_CALLS, then force
the address of the function into a register.
* pa.h (TARGET_SWITCHES): New switch "-mlong-calls".
* pa.c (call_operand_address): Only allow registers if
TARGET_LONG_CALLS.
Fri Oct 16 00:21:57 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* Makefile.in (libobjc.a): Get directories right, using shell vars
thisdir1, srcdir1. Put quotes around $(GCC_CFLAGS). Use $(MAKE).
Thu Oct 15 17:07:18 1992 Mike Stump (mrs@hal.gnu.ai.mit.edu)
* configure, config.sub, config/elxsi.{c,h,md}, config/xm-elxsi.h,
config/x-elxsi: Add support for new 64 bit CPU, called Elxsi.
Thu Oct 15 16:55:22 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
* alpha.c (alpha_builtin_saveregs): Fix bug in last change.
* fold-const.c (distribute_bit_expr): Test for BIT_{AND,IOR}_EXPR.
* cse.c (cse_insn): Add missing call to apply_change_group.
Thu Oct 15 15:09:45 1992 Michael Meissner (meissner@osf.org)
* t-mips (CCLIBFLAGS, LIBGCC2_CFLAGS): Delete, so that libgcc.a is
built with the -G 8 option, instead of -G 0, so that the linker
doesn't complain when linking in libg++.a.
* t-decstatn (CCLIBFLAGS, LIBGCC2_CFLAGS): Ditto.
Thu Oct 15 14:30:25 1992 Jim Wilson (wilson@sphagnum.cygnus.com)
* mips-tfile.c (parse_def): Allow spaces in arguments for C++.
Correct test for null when searching for end of name.
Thu Oct 15 11:55:51 1992 Tim Moore (moore@defmacro.cs.utah.edu)
* pa.c (compute_frame_size): Take an fregs_live parameter instead
of setting the static variable save_fregs.
(output_function_prologue): Initialize save_fregs to 0 and pass to
compute_frame_size.
* pa.h (INITIAL_FRAME_POINTER_OFFSET): Pass extra null parameter
to compute_frame_size.
Thu Oct 15 08:40:07 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
* alpha.h (TARGET_FPREGS): New flag.
(TARGET_SWITCHES): Remove temporary -mfp and add -msoft-float and
-mfp-regs.
(TARGET_DEFAULT): Set to -mfp-regs -mno-soft-float.
(CONDITIONAL_REGISTER_USAGE): Use TARGET_FPREGS.
(FUNCTION_VALUE, FUNCTION_ARG, LIBCALL_VALUE): Use integer registers
for FP items if -mno-fp-regs.
* alpha.c (alpha_builtin_saveregs): Store integer regs twice instead
of storing the FP regs if -mno-fp-regs.
* fold-const.c (fold): Add missing test in case when we
distribute a NOP_EXPR into a COND_EXPR and try to pull it back
out again.
Thu Oct 15 08:11:00 1992 Tom Wood (wood@dg-rtp.dg.com)
* fold-const.c (simple_operand_p): Don't regard global or static
variables as simple.
(fold_truthop): Only require the RHS to be simple.
* m88k.h (CPP_SPEC): Add -D__m88110__ when -m88110 is in effect,
similarly for -m88100.
* m88kdgux.h (CPP_SPEC): Ditto.
* m88kluna.h (CPP_PREDEFINES): Drop -Dmc88100.
(CPP_SPEC): Reproduce the predefine -Dmc88100 when -m88100 is in
effect. Otherwise, supply -D__mc881x0__ when -m881x0 is in effect.
Thu Oct 15 02:09:49 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* expr.c (get_inner_reference):
If flag_volatile, treat every INDIRECT_REF as volatile.
* collect2.c (main): If COLLECT_GCC is a relative name, use it anyway.
* x-next: New file.
* configure (m68k-next-*): Use that.
* Changes from NeXT:
* libgcc2.c [L_ctors] (__CTOR_LIST__, __DTOR_LIST__):
Initialize these default definitions if __NeXT__.
* gvarargs.h [__NeXT__]: Define _VA_LIST_ if _ANSI_STDARG_H_ was
defined; then define _ANSI_STDARG_H_.
* gstddef.h (_ANSI_STDDEF_H): Define, along with _STDDEF_H.
* next.h (INCLUDE_DEFAULTS): New macro.
* cp-method.c (index, rindex): Delete declarations.
(build_overload_value): Cast result of index.
* cccp.c (cplusplus_comments): New var.
(main): Set it according to options.
(rescan, handle_directive, skip_if_group, validate_else):
(skip_to_end_of_comment, macarg1, discard_comments):
Use cplusplus_comments to enable C++ comment syntax.
Wed Oct 14 11:34:58 1992 Chip Salzenberg (chip@tct.com)
* libgcc2.c (__gcc_bcmp): Don't depend on signedness of `char'.
Wed Oct 14 18:52:28 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu)
* sched.c (sched_note_set): Set subreg_p for anything except a
paradoxical subreg.
* configure (sparc-*-solaris2): Use xm-spc-sol2.h not xm-spcv4.h.
* reload.c (find_reloads): Don't let an operand have a numbered
constraint that makes it match itself.
Wed Oct 14 10:38:31 1992 Tim Moore (moore@defmacro.cs.utah.edu)
* pa.md (sCC patterns): Comparison operator should have SImode,
not CCmode.
(indexed addressing mode patterns): New patterns to use indexed
addressing if possible.
* pa.c (output_and): Do handle (const_int 0) as an operand; it
seems to occur in unoptimized compilation.
* pa.h (REGNO_OK_FOR_FP_P): Logic bug.
* va-pa.h : When __GNUC__ == 1, don't include the gcc 1 varargs
file (va-hp9k8.h). Instead, the definitions are explicitly defined
here. This avoids multiple typedefs of va_list.
* xm-pa.h (HAVE_VPRINTF) Define in HPUX 8.0.
* pa.md (mulsi): Use the hardware multiply instruction, xmpyu, if
TARGET_SNAKE.
(umulsidi3): New pattern.
(reload_insi, reload_outsi, reload_indi, reload_outdi): New
patterns. These are needed because SImode and DImode pseudoregs
may be allocated (or reloaded) in floating point registers for
multiplication. That means that their addresses, which were
legitimate for SImode and DImode, aren't valid any more.
(movsi, movhi, movqi, movdf, movdi, movsf): Pass null scratch
operand to emit_move_sequence.
(fp SImode load and store patterns): Move before main movsi
pattern.
(fp DImode load and store patterns) New patterns.
(movhi, movqi patterns): Support moves to/from fp registers.
(movdf pattern): Ensure at least one operand is a register.
* pa.c (emit_move_sequence): Take reload scratch register
argument, deal with reloads of SImode and DImode mems into
floating point registers, handle function_label_operand moves.
(secondary_reload_class): A scratch register is needed if
reloading a function_label_operand address (probably doesn't
happen) or an SImode or DImode value into/out of a floating
point register.
* pa.h (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS,
REG_CLASS_FROM_LETTER): Define a new register class
FP_OR_SNAKE_FP_REGS, used only be reload_{in,out}{si,di}.
(HARD_REGNO_MODE_OK): Allow all integer modes in Snake floating
point registers. QImode and HImode pseudoregs may end up there
when using xmpyu.
* pa.md (pic symbolic address pattern): New pattern.
(movsi, movdi patterns): Remove some * constraints from fp registers.
(pic label address pattern): Fix typo.
(function_label_operand patterns): New patterns for loading a
label address in HPUX 8.0.
* pa.c (finalize_pic): No real initialization is necessary for pic.
(output_function_prologue): Save r19, the pic offset table
register. If profiling, save and restore the structure value
return register (r28) around the call to mcount.
(hppa_encode_label, function_label_operand): New functions.
Record if a label is a code label so it can be treated specially
in HPUX 8.0.
* pa.h (TARGET_SHARED_LIBS): New flag. Generate code that can be
linked with HPUX 8.0 shared libraries.
(TARGET_SWITCHES): New flags: -mshared-libs and -mno-shared-libs.
(PIC_OFFSET_TABLE_REGNUM): This is really r19. The preliminary
docs from HP were wrong.
(ASM_DECLARE_FUNCTION_NAME): Specify "ENTRY" param in .EXPORT
directive.
(ENCODE_SECTION_INFO): Encode function labels.
(ASM_OUTPUT_LABELREF): Deal with function labels.
(ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP): Don't do anything for
now; their only use (saving stuff during profiling) interacts in a
wierd way with required assembler directives at the start of a
function. Instead, do the save and restore in the function
prologue.
(hppa_encode_label): Declare.
* pa-hpux.h, pa-ghpux.h (TARGET_DEFAULT): Link against shared
libraries.
(LINK_SPEC): Don't link against shared libraries if debugging or
profiling.
* pa1-hpux.h, pa1-ghpux,h (TARGET_DEFAULT): Link against shared
libraries.
Wed Oct 14 10:17:49 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* Makefile.in (gcc.xtar): Copy the objc subdir.
(mostlyclean): Run the mostlyclean target in the objc subdir.
(objc-runtime, libobjc.a, sublibobjc.a): New targets.
(objc, objective-c): Dep on objc-runtime.
* objc/*: New files.
Wed Oct 14 07:17:19 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
* alpha.md (smax, smin): Fix typo in output strings.
* a29k.c (const_16_operand, const_24_operand): Fix typo in declaration
of MODE.
(gpc_reg_or_immediate_operand, and_operand, add_operand): Likwise.
Wed Oct 14 00:12:16 1992 Jeffrey A. Law (law@schirf.cs.utah.edu)
* pa.h (RTX_COST): Fix spacing typo.
Tue Oct 13 21:51:05 1992 Jim Wilson (wilson@sphagnum.cygnus.com)
* a29k.md (call, call_value): Don't use call_operand, since
checking for recursive calls at this point is not safe.
Tue Oct 13 18:52:17 1992 Brendan Kehoe (brendan@rtl.cygnus.com)
* cp-type2.c (my_friendly_abort): Tell them to write to bug-g++.
Tue Oct 13 18:16:12 1992 Chris Smith (csmith@convex.com)
* convex.h (P_tmpdir): define to use /tmp.
(RETURN_POPS_ARGS): correct definition to return size.
(ASM_IDENTIFY_GCC): output something between gcc2_compiled and
first function to keep gcc2_compiled out of assembler stabs.
* convex.md (adddi3, ordi3, xordi3): check sign of CONST_INT
operands before using as immediates; these insns are word only.
(ashrdi3): don't use negative shift counts.
* convex*.h (CPP_SPEC): define __NO_INLINE_STDLIB
* xm-convex.h: remove temporary workaround from OS 8.0.
Tue Oct 13 14:10:15 1992 Jim Wilson (wilson@sphagnum.cygnus.com)
* cp-lex.c (check_newline): Verify that main_input_filename is
valid before using it.
Tue Oct 13 19:08:54 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
* a29k.c: Now includes reload.h.
(spec_reg_operand): Validate mode and know that some regs support
MODE_PARTIAL_INT and some MODE_INT.
(call_operand, reload_memory_operand, a29k_get_reloaded_address)
New functions.
(in_operand): Allow constants with MODE_PARTIAL_INT.
(out_operand): Allow special registers with any mode.
Any MEM a word or wider is valid.
(extend_operator): Deleted.
(secondary_reload_class): A pseudo is the same as memory; we need
BP_REGS for multi-word memory or for bytes and halfword if -mndw.
(print_operand): Delete %X; add %m.
(print_operand, case 'F'): Check for SYMBOL_REF.
* a29k.h (PROMOTE_MODE, ADJUST_COST): New macros.
(CALL_USED_REGISTERS): LR0 is call-used.
(HARD_REGNO_MODE_OK): Handle MODE_PARTIAL_INT and the special
registers that can only hold those modes.
(MODES_TIEABLE_P): Clean up and handle MODE_PARTIAL_INT modes.
(enum reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Add new
classes LR0_REGS, FC_REGS, and CR_REGS.
(REGNO_REG_CLASS, REG_CLASS_FROM_LETTER): Likewise.
(PREDICATE_CODES): Update for new and deleted predicates.
* a29k.md: Use GEN_INT when appropriate.
(define_attr type): New types for SQRT.
(call patterns): Use SCRATCH for LR0.
Use new predicate call_operand so that some integers can be
used as addresses; fix CALLI so it doesn't accept constant.
(EXBYTE, EXTHW, INBYTE, INHW): Use ZERO_EXTEND instead of AND
when combine will make it.
Use PSImode for BP value and don't reference BP explicitly.
Clean up define_expands for these operations.
(rotlsi3): Use PSImode pseudo for FC.
(sign_extend): Sign extension insns clobber BP.
({load,store}_multiple): Use PSImode pseudo for CR.
(MTSR): Add pattern for TRUNCATE from SImode to PSImode.
(sqrtsf2, sqrtdf2, movpsi): New patterns.
(load/store bytes/halfword): Clean up to accept temporaries as
input and use PSImode when required.
(movhi, movqi): Allocate temporaries here.
(reload_inqi, reload_outqi, reload_inhi, reload_outhi): New
patterns.
(movdf, movdi, movti): Use SCRATCH for BP register.
(reload_{in,out}{df,di,ti}): New patterns.
Tue Oct 13 16:52:33 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* fixinc.svr4 (sys/stream.h, sys/strsubr.h): Delete spurious `extern'
in various structure definitions.
* rtlanal.c (single_set): Fix typo in REG_UNUSED check.
* cse.c (simplify_binary_operation): Insure that folded >> extends
the sign even if the host bootstrap compiler doesn't.
* final.c (output_asm_insn): Advance over the = when processing %=.
* fixincludes (stdio.h): Fix va_list when preceeded by a *.
Tue Oct 13 14:52:57 1992 Brendan Kehoe (brendan@mole.gnu.ai.mit.edu)
* spc-sol2.h (STARTFILE_SPEC): Add crtbegin.o.
(LIB_SPEC): Add crtend.o for running ctors/dtors.
* t-sol2 (EXTRA_PARTS): Add crtbegin.o and crtend.o for C++.
(FIXINCLUDES): Deleted.
* configure (sparc-*-solaris2*): Set fixincludes here.
Tue Oct 13 20:15:45 1992 Eric Youngdale (youngdale@v6550d.nrl.navy.mil)
* make-cc1.com: Simplify extraction of YYEMPTY from cp-parse.c.
Generate c-parse.y, objc-parse.y from c-parse.in if required.
Pat Rankin did some of this.
Tue Oct 13 14:06:45 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu)
* sparc.md (in_branch_delay): Allow fpload and fpstore.
* collect2.c (main): Only install a signal handler for signals
that already have handlers.
(fork_execute): Don't ignore signals before calling do_wait.
* i960.md: Change 'f' constraint for dest to '*f' if it is not the
only alternative. Add '*f' dest constraints to all patterns where
it is valid but was previously missing.
* i960.h (OVERRIDE_OPTIONS): Enable function inlining.
* i960.c (g14_save_reg): Delete variable.
(i960_output_call_insn): Add two new parameters arg_pointer and
scratch_reg. Save/set/restore g14 if necessary.
(i960_expand_call): Delete function.
* i960.md (call, call_value): No longer call i960_expand_call,
instead call call_internal/call_value_internal pattern.
(call_internal, call_value_internal): Rewrite patterns to pass new
args to i960_output_call_insn.
* sparc.md (movstrsi+1): Add `+' to constraints for clobbered inputs.
* i960.c (i960_output_call_insn): Emit bx instead of b, callx
instead of callj.
* sparc.c (sparc_frw_output_function_prologue): Frame pointer base
must be same as for regular sparc code.
Tue Oct 13 06:02:03 1992 Tom Wood (wood@dg-rtp.dg.com)
* loop.c (loop_optimize): Verify that max_uid_for_loop is still
larger than the uid of any insn. Increase the number of exit
blocks from 4 to 32 per loop.
(find_and_verify_loops): Stop trying to relocate exit blocks when
allocating a new label would exceed max_uid_for_loop.
* combine.c (subst): Don't change a conditional branch into a
conditional move.
* m88k.md (ext shift patterns): No longer needed.
* m88k.c (mostly_false_jump): Recognize a sequence properly.
Mon Oct 12 22:31:37 1992 Jeffrey A. Law (law@schirf.cs.utah.edu)
* pa.h (LEGITIMIZE_ADDRESS): Fix typo.
Tue Oct 13 00:14:09 1992 H Lu (hlu@eecs.wsu.edu)
* Makefile.in (install-common): Put - on cmd that handles protoize.
(gcc.o, cccp.o): Define TOOLDIR for the compilation.
(all HOST_PREFIX_1 targets): Fix typos.
* x-linux (cpp.a, linux.a, cc1.a, cc1plus.a, gcc.a): Targets deleted.
(LD, ALIBS, STANDARD_STARTFILE_PREFIX, GPLUSPLUS_INCLUDE_DIR):
Vars deleted.
* i386linux.h: Delete NO_JUMPTABLE conditional and contents.
(GPLUSPLUS_INCLUDE_DIR): Defined.
(STARTFILE_SPEC): Changed.
* gen*.c: Include hconfig.h, not config.h.
Mon Oct 12 16:25:22 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* configure.bat, vmsconfig.com: Make hconfig.h.
* vax.h (PRINT_OPERAND): Detect `double' constants by DFmode,
since VOIDmode means an integer.
* mips.h (DEBUG_REGISTER_NAMES): New macro definition.
* print-rtl.c (reg_names):
Make it static. Use DEBUG_REGISTER_NAMES if that's defined.
* regclass.c (reg_names): Reinstate the definition here.
* fixinc.svr4: Delete excess fi in fixing stat.h.
Mon Oct 12 08:10:37 1992 James Van Artsdalen (jrv@goldman.gnu.ai.mit.edu)
* Makefile.in (install-fixincludes): Only delete an existing
syslimits.h if we install limits.h over it.
* i386.h (PRINT_REG): Undo Oct 11 change.
(DEBUG_PRINT_REG): New macro, used from print-rtl.c.
* conditions.h (CC_NOT_SIGNED): New macro.
* final.c (alter_cond): If CC_NOT_SIGNED, convert signed
conditions to unsigned.
* i386.md (cmpstrM patterns): Compare strings of unsigned chars,
not strings of signed chars.
Mon Oct 12 06:31:13 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
* combine.c (try_combine): Save DEST of NI2PAT before calling
recog_for_combine, which might make it a PARALLEL.
* emit-rtl.c (gen_lowpart_common): Allow MODE_PARTIAL_INT where
MODE_INT is allowed.
* combine.c (try_combine): Properly call single_set when validating
the result of a define_split.
Mon Oct 12 00:24:29 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* calls.c (calls_alloca): Don't look within DECL_INITIAL if it's 0.
* varasm.c (simplify_subtraction): New function.
* rtl.h (simplify_subtraction): Declared.
* final.c (output_addr_const): Call it.
* print-rtl.c (DEBUG_PRINT_REG): Renamed from PRINT_REG.
(print_rtx): Use DEBUG_PRINT_REG.
Sun Oct 11 16:27:53 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu.edu)
* genrecog.c (merge_trees): When splitting, remember to clear DUPNO
in addition to the other things we can test.
* recog.c (general_operand, immediate_operand, const_double_operand):
Allow CONST_INT with MODE_PARTIAL_INT.
(nonmemory_operand): Likewise.
Sun Oct 11 07:53:39 1992 James Van Artsdalen (james at bigtex.cactus.org)
* xm-i38v4.h,xm-aix386.h (USE_C_ALLOCA): New macro. Define if not
using GNU C's builtin alloca.
* i386.c (notice_update_cc): Only set CC_IN_80387 for float compares.
* i386.h (PRINT_REG): Make register name arrays static within this
macro.
Sun Oct 11 01:41:06 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* jump.c (jump_optimize): Don't optimize jumps to store-flag insns
when BLKmode values are being compared.
Sat Oct 10 16:51:08 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* print-rtl.c (print_rtx): Print hard reg name as well as number.
(PRINT_REG): New macro with default definition.
(reg_name): Moved here.
* regclass.c (reg_name): Deleted.
Sat Oct 10 02:27:14 1992 James Van Artsdalen (james at bigtex.cactus.org)
* i386sco.h (TARGET_DEFAULT): New macro - don't make TARGET_IEEE_FP
default for SCO.
Sat Oct 10 04:52:06 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* function.h (struct function): New fields const_rtx_hash_table,
const_rtx_sym_hash_table, first_pool, last_pool, pool_offset.
* function.c (pop_function_context, push_function_context):
Call {save,restore}_varasm_status.
* varasm.c: Include function.h.
(restore_varasm_status, save_varasm_status): New fns.
(init_const_rtx_hash_table): Allocate the hash tables in obstack.
(force_const_mem): Don't use CONST_DOUBLE_MEM for nested fns.
(clear_const_double_mem): Do nothing for nested fns.
* Makefile.in (varasm.o): Dep on function.h.
Fri Oct 9 18:16:18 1992 Brendan Kehoe (brendan@mole.gnu.ai.mit.edu)
* cp-decl.c (duplicate_decls): Only find out if olddecl is a
friend after we know it's not a TREE_LIST.
Fri Oct 9 18:10:19 1992 Jim Wilson (wilson@geech.gnu.ai.mit.edu)
* sparc.c (sparc_type_code): Return reasonable result for COMPLEX_TYPE.
Fri Oct 9 14:33:26 1992 Tom Wood (wood@dg-rtp.dg.com)
* reorg.c (start_of_epilogue_needs): New variable.
(mark_target_live_regs): Add in start_of_epilogue_needs when
NOTE_INSN_EPILOGUE_BEG is scanned.
(dbr_schedule): Compute start_of_epilogue_needs and update
end_of_function_needs to include sets by all instructions
following NOTE_INSN_EPILOGUE_BEG.
* m88k.md (return): Always available once reload has completed.
(epilogue): Use a return insn rather than an indirect jump.
Fri Oct 9 12:36:54 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* spc-sol2.h (DBX_DEBUGGING_INFO): Defined.
* function.c (aggregate_value_p): Return 1 if regs we would use
are not all call-clobbered.
* stmt.c (POPSTACK): Pop discarded elts off all the stacks as we go.
Fri Oct 9 07:30:14 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
* reorg.c (mark_target_live_regs): Fix bug in last change.
* combine.c (subst, case SUBREG): Don't make a new REG for
stack, frame, or arg pointer.
* emit-rtl.c (gen_lowpart_common, gen_highpart, operand_subword):
Likewise.
* local-alloc.c (optimize_reg_copy_1): Tighten up code to properly
handle the case when SRC or DEST is a multi-word hard register
and only some parts of the register are set or used. Also, avoid
updating register status for DEST if we can't do the optimization.
* jump.c (jump_optimize): Only use a REG as a target.
* alpha.c (alpha_builtin_saveregs): Don't use value of NREGS greater
than 6 when computing ARGSIZE.
* va-alpha.h (va_arg): Put parens around all uses of __VA arg.
Thu Oct 8 18:45:00 1992 Arne H. Juul (arnej@lise.unit.no)
* Makefile.in (install-common-headers): added missing 'then'
Thu Oct 8 15:52:22 1992 Michael Meissner (meissner@osf.org)
* mips.h (SELECT_RTX_SECTION): Rename macro from obsolete name
SELECT_SECTION_MODE.
* i386rose.h (whole file): Remove #ifdef before #undef of macros.
(LEGITIMATE_CONSTANT_P): Define, so that when half-pic is on,
half-pic addresses are not considered legitimate.
(SELECT_RTX_SECTION): If putting a half-pic pointer that is
loaded, put the pointer into the data section, rather than the
readonly_data_section.
(SELECT_SECTION): Define.
(ASM_OUTPUT_DOUBLE): If not cross compiling, emit double as two
longs, otherwise emit .double directive.
(ASM_OUTPUT_FLOAT): If not cross compiling, emit float as long,
otherwise emit .float directive.
(perform_fixdfsi): Copy arg to memory variable.
(SIZE_TYPE): Define to be long unsigned int.
(PTRDIFF_TYPE): Define to be int.
(WCHAR_TYPE)L: Define to be unsigned int.
* i386.md (movsi): Remove obsolete half-pic code.
(call insns): For half-pic insns, force address into register.
Thu Oct 8 14:22:05 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* Makefile.in (install-common-headers): Fix dir in chmods for assert.h.
* va-i860.h (__savereg, va_arg): Put uses of __va in parens.
* vax.h (PRINT_OPERAND): Define new code, D.
* vax.md (movdi): Use D code for operand 1.
Thu Oct 8 13:23:25 1992 Jeffrey A. Law (law@mole.gnu.ai.mit.edu)
* pa.md (fp_alu function unit, case fpcc): Fpcc instructions use
the fpalu unit. In the most common case their result will be used
in a ftest instruction. Minimum distance between the fcmp and
ftest instruction is 4.
Thu Oct 8 06:41:15 1992 Tom Wood (wood@dg-rtp.dg.com)
* function.c (assign_parms): Provide a safe value for
DECL_INCOMING_RTL in case of syntax errors.
* dwarfout.c (dwarfout_init, dwarfout_finish): Don't output labels
or .debug_aranges entries for .data1 and .rodata1 as these
sections aren't currently used.
Thu Oct 8 04:44:17 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
* reorg.c (mark_target_live_regs): Look at USE insns made by
update_block when scanning forward past target.
(mark_target_live_regs, dbr_schedule): Use GET_RTX_CLASS.
* cse.c (PATHLENGH): Change from 20 to 10 to speed up compilations.
Thu Oct 8 03:07:33 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* fold-const.c (invert_truthvalue): Never alter ARG.
* Makefile.in (TAGS): Exclude =*.[chy] from tags table.
* c-lex.c (yylex): For floats, use REAL_VALUES_LESS to distinguish
underflow from overflow. Delete special case for 0.0.
Wed Oct 7 16:25:19 1992 Tom Wood (wood@dg-rtp.dg.com)
* dwarfout.c (dwarfout_{begin,end}_function): New functions.
(body_{begin,end}_attribute): New functions.
(dwarf_attr_name): Print AT_body_begin and AT_body_end.
(output_{local,global}_subroutine_die): Output the new attributes.
* dwarf.h (enum dwarf_attribute): Add At_body_begin and AT_body_end.
* final.c (final_scan_insn): Call dwarfout_begin_function.
(final_end_function): Call dwarfout_end_function.
* m88k.h (FASTEST_ALIGNMENT): Define as 8 for -m88110 otherwise 4.
(CONSTANT_ALIGNMENT, DATA_ALIGNMENT): Base on FASTEST_ALIGNMENT.
* m88k.md (movstrsi): No predicate is needed for the source or
destination.
* m88k.c (best_from_align): Add a target processor dimension for
-m88000, -m88110, and -m88100.
(expand_block_move): Choose method and limits based on -m88xxx option.
(block_move_no_loop): Extend to allow DImode.
* m88k-move.sh: Add the modules moveDI96x and moveDI41x through
moveDI47x.
* t-m88k, t-m88kluna, t-m88ksvr4: New modules added to MOVE_ASM.
* m88k.c (output_call): Use different syntax for GAS.
* m88k.h (READONLY_DATA_SECTION): Don't override svr4.h
(ASM_OUTPUT_CASE_LABEL): For svr4, use .rodata.
Wed Oct 7 15:47:19 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* configure (i486-ncr-sysv4): Use i386v4.h.
(i386-*-sysv4, i386-*-linux, i386-*-sysv): Handle 486 too.
(i486-*-sysv4, i486-*-linux): Deleted.
* i486v4.h, i486linux.h: Files deleted.
Wed Oct 7 12:40:00 PDT 1992 Ron Guilmette (rfg at netcom.com)
* populate (progname): Just the basename of $0 please.
(target_dir): Use abs_target_dir and rel_target_dir for clarity.
(source_dir): Use abs_source_dir and rel_source_dir for clarity.
(*): List input and output dirs on startup.
(*): Don't be so verbose; Don't echo names of output dirs/files as
they are created.
* fixinc.svr4 (<sys/signal.h>): Fix types of SIG_DFL, SIG_ERR,
SIG_IGN, and SIG_HOLD.
(<sys/stat.h>): Turn definitions of stat, lstat, fstat, and mknod
into ANSI syntax and add __ to variables used.
* c-parse.in (component_decl_list): Do pedwarn for missing semicolon
after last field decl.
Wed Oct 7 09:49:34 1992 Michael Meissner (meissner@osf.org)
* decstatn.h (LINK_SPEC): Don't define if it is already defined,
ie dec-osf1.h has included decstatn.h.
* dec-osf1.h (MACHINE_TYPE): Redefine to say DEC OSF/1 instead of
ultrix.
Wed Oct 7 03:50:11 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* configure (target_cpu_default): Var renamed from target_default.
Set it to 2, for a 486. Define TARGET_CPU_DEFAULT macro.
* i386.h (TARGET_CPU_DEFAULT): Add default definition.
(TARGET_SWITCHES): Include that in the default.
* toplev.c (main): Recover correctly from invalid -Wid-clash option.
* cccp.c (finclude): Set fp->buf earlier, so it's freed on error.
* Makefile.in (install-common-headers): Avoid ! operator, for assert.h.
Tue Oct 6 20:21:21 1992 Jim Wilson (wilson@geech.gnu.ai.mit.edu)
* unroll.c (copy_loop_body, JUMP_INSN case): Delete abort in the
code for setting the JUMP_LABEL field.
Tue Oct 6 19:29:19 1992 Brendan Kehoe (brendan@mole.gnu.ai.mit.edu)
* cp-call.c (build_overload_call_real): If `functions' is an
ADDR_EXPR (as with operator new and delete), give the name of its
argument as the error fn.
Tue Oct 6 14:15:15 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* configure: Correct conditional in setting build_xm_file.
* function.c (get_first_block_beg): New function.
* cross-make (assertdir): Override usual definition.
* Makefile.in (install-common-headers): chmod assert.h in proper dir.
Use $(assertdir).
(assertdir): New variable.
(install-dir): Create dir $(includedir).
(includedir): Make this /usr/local/include.
Tue Oct 6 12:05:35 1992 Jeffrey A. Law (law@mole.gnu.ai.mit.edu)
* pa.md (memory function unit, load case): Loads take two cycles,
not one.
Tue Oct 6 07:56:05 1992 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu)
* pa.md (adddi3): Fix typo.
Tue Oct 6 04:03:40 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* m68k.c (floating_exact_log2, standard_68881_constant_p):
(standard_sun_fpa_constant_p): Use REAL_VALUE_FROM_CONST_DOUBLE.
(print_operand): Likewise.
Mon Oct 5 18:39:29 1992 Brendan Kehoe (brendan@mole.gnu.ai.mit.edu)
* tree.h (TREE_VIA_PROTECTED): Set protected_flag, not static_flag.
Mon Oct 5 18:27:08 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* Makefile.in ($(srcdir)/INSTALL): Add -D INSTALLONLY.
Mon Oct 5 14:46:08 1992 Brendan Kehoe (brendan@mole.gnu.ai.mit.edu)
* cp-parse.y (unary_expr): Use the `new' rule when looking for
something like `new(foo) char[10]'.
* cp-decl.c (grokparms): Don't call digest_init on default args.
Mon Oct 5 02:21:06 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* reload1.c (allocate_reload_reg): Always check for asm
on failure instead of simply aborting.
* optabs.c (init_optabs): Use cabs as the only libcall for abs.
Mon Oct 5 03:10:14 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
* c++ (numargs): $# was used after set was called; instead, save
$# in $numargs and use that value instead.
Sun Oct 4 12:34:00 PDT 1992 Ron Guilmette (rfg at netcom.com)
* dwarfout.c (hard-reg-set.h): Included to get decl of `reg_names'.
(PRINT_REG): Default definition added.
(dwarf_last_decl): Variable declaration added.
(output_reg_number): New function; handle -fverbose-asm reg printing.
(output_mem_loc_descriptor, output_loc_descriptor): Call it.
(output_decl): Set `dwarf_last_decl' each time this fn is called.
* i386.h (hi_reg_name, qi_reg_name, qi_high_reg_name): Declared.
(PRINT_REG): Definition moved from i386.c.
* i386.c (hi_reg_name, qi_reg_name, qi_high_reg_name): Not static.
(PRINT_REG): Definition moved to i386.h.
Sun Oct 4 00:53:37 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* c-decl.c (shadow_tag_warned): Use pedwarn for useless keyword.
* c-lex.c (readescape): No warning if digits in \x are all 0's.
Sat Oct 3 14:37:39 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* optabs.c (expand_complex_abs): New function.
* expr.h (expand_complex_abs): Add declaration.
Sat Oct 3 07:29:09 1992 Michael Meissner (meissner@osf.org)
* configure (mips-dec-osf1): Use x-dec-osf1 instead of x-decstatn.
* x-dec-osf1 (new file): Like x-decstatn, except that INSTALL is
installbsd -c.
Sat Oct 3 05:04:43 1992 Tom Wood (wood@dg-rtp.dg.com)
* toplev.c (rest_of_decl_compilation): Don't call
dwarfout_file_scope_decl as this causes duplicates.
Sat Oct 3 01:35:23 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* explow.c (allocate_dynamic_stack_space) [MUST_ALIGN]:
Always add to size, always round up to STACK_BOUNDARY,
always round the address.
* rtl.h (gen_realpart, gen_imagpart): Declared.
Fri Oct 2 20:03:53 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* emit-rtl.c (gen_realpart, gen_imagpart): New functions.
* optabs.c (expand_unop, expand_binop): Use them.
* expr.c (expand_expr): Use them.
* cccp.c (main): Handle -U before -D (and -A).
* assert.h: Add magic comment at beginning.
* Makefile.in (includedir): New variable.
(USER_H): assert.h removed from value.
(install-common-headers): Install assert.h separately, in includedir,
but not if file exists and lacks the magic comment.
* reload1.c (reload): Move test for failure to find any group
to after the loop over i. Also check that all the regnos fit
below FIRST_PSEUDO_REGISTER.
* expr.c (expand_expr):
For ABS_EXPR, give expand_unop the operand's mode.
Fri Oct 2 14:58:06 PDT 1992 Ron Guilmette (rfg at netcom.com)
* i386v4.h (DBX_REGISTER_NUMBER): Don't abort here on pseudo-regs.
* dwarfout.c (output_mem_loc_descriptor, output_loc_descriptor):
Catch cases of bogus DECL_RTL values involving pseudo-regs (for all
target systems) and print an annoying message if we ever see such a
case.
Thu Oct 1 17:23:08 1992 Michael Meissner (meissner@osf.org)
* mips-tfile.c (various): Rename some of the index variables and
fields to indx, so that it doesn't conflict with the BSD
index function, which may be #define'd to strchr. However, the
MIPS symbol table has a field called index, so #undef index and
rindex, and write our own functions local_index and local_rindex.
* mips-bsd.h (CPP_PREDEFINES): Add single underscore in front of
each of the defines, for RISC-OS 5.0 compatibility.
* mips-sysv.h (CPP_PREDEFINES): Add single underscore in front of
each of the defines, for RISC-OS 5.0 compatibility.
* mips-svr4.h (CPP_PREDEFINES): Add single underscore in front of
each of the defines, for RISC-OS 5.0 compatibility.
* mips.h (CPP_PREDEFINES): Add single underscore in front of each
of the defines, for RISC-OS 5.0 compatibility.
* mips.c (override_options): Only call setvbuf to make stderr line
buffered for -mstats on Ultrix, and OSF/1.
Thu Oct 1 15:18:55 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu)
* reload1.c (emit_reload_insns): Add a case to handle
SECONDARY_MEMORY_NEEDED in the SECONDARY_OUTPUT_RELOAD_CLASS code.
* sparc.h (SECONDARY_INPUT_RELOAD_CLASS): Also need a temp reg
when loading HImode and QImode values from memory to FP_REGS.
(SECONDARY_OUTPUT_RELOAD_CLASS): New macro. Define this to handle
HImode and QImode stores from FP_REGS to memory similar to above.
Thu Oct 1 13:36:52 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* cccp.c (rescan): If traditional, recognize # only at bol.
* expr.c (expand_expr): Just return the lowpart or highpart.
* configure (i386-*-linux, i486-*-linux): New alternatives.
* i386linux.h, i486linux.h, xm-linux.h: New files.
* optabs.c (expand_unop): Handle complex negate and abs val.
(init_optabs): Set up libcalls for complex abs.
(init_complex_libcalls): New function.
Thu Oct 1 22:58:45 1992 Eric Youngdale (youngdale@v6550d.nrl.navy.mil)
* make-cc1.com: Extract line containing "#define YYEMPTY" from
cp-parse.c, and append to cp-parse.h (a la Makefile.in).
* cccp.c (main) [VMS]: Use .obj, not .o, in dependencies output.
Thu Oct 1 17:15:49 1992 Chip Salzenberg (chip@tct.com)
* c-common.c (declare_function_name): __FUNC__ variables
are compiler-created, so set DECL_SOURCE_LINE to zero.
* c-decl.c (pushdecl): Internally generated vars can be
detected with DECL_SOURCE_LINE of zero, not DECL_IGNORED_P.
Thu Oct 1 13:07:21 1992 Jeffrey A. Law (law@schirf.cs.utah.edu)
* pa.c (emit_move_sequence): When making a reference to the data
space before reload, emit an insn sequence which is much more
likely to create "addil" instructions rather than "ldil; add"
sequences. Doing so greatly reduces the chance of running into a
HPUX linker bug when compiling kernels.
* pa.h (TARGET_KERNEL): New switch "-mkernel" which forces gcc to
avoid "ldil; add" sequences when %r29 and instead generate "addil"
sequences. This avoids a HPUX linker bug when compiling kernels.
* pa.md (add high part and dp register): Split into two patterns,
one for normal code, one for kernels. Kernel version only allows
"r1" as the destination register.
* pa.h (LEGITIMIZE_ADDRESS, SYMBOL_REF case): Emit a sequence
which will cause "addil" instructions to be emitted instead of
"ldil; add" sequences.
Thu Oct 1 01:09:05 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* c-parse.in, cond.awk: New files.
* Makefile.in (c-parse.y, objc-parse.y): Construct from c-parse.in.
(gcc.xtar): Depend on c-parse.y, objc-parse.y.
(realclean): Delete c-parse.y, objc-parse.y.
* explow.c (allocate_dynamic_stack_space): If STACK_DYNAMIC_OFFSET
or STACK_POINTER_OFFSET, always round address up to BIGGEST_ALIGNMENT.
* gstddef.h: If _ANSI_H_, undef _PTRDIFF_T_, _SIZE_T_, _WCHAR_T.
* gvarargs.h: In the first part (instead of va-*.h), define
__gnuc_va_list, as in gstdarg.h. Always use __gunc_va_list
as basis for defining va_list.
Move interaction with BSD-NET2 down to where va_list itself is defined.
* cccp.c (do_include): Delete unreachable goto after '"' case.
Thu Oct 1 16:57:22 1992 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
* dpx2g.h (NO_DOLLAR_IN_LABEL): Undef because gas understands dollars
in labels and gdb expects them if configured for gas.
(STARTFILE_SPEC): Include huge.o to be compatible with native cc.
(ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR):
(CTOR_LISTS_DEFINED_EXTERNALLY, DO_GLOBAL_DTORS_BODY):
(STARTFILE_SPEC): Conditionally redefine for a collectless version
of gcc if USE_COLLECT2 is not defined.
* dpx2.ifile: New ld command file to support not using collect2.
Wed Sep 30 17:08:32 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* libgcc2.c (__eprintf): Do nothing if inhibit_eprintf is defined.
* pbd.h, spc-sol2.h, tower.h (NO_UNDERSCORES): Deleted.
* Makefile.in (install-fixincludes): rm syslimits.h before installing.
Install it with cp. Add an else-part to the if that installs it.
* c-decl.c (start_enum): Push obstacks, switch to permanent if global.
(finish_enum): Pop obstacks.
(store_parm_decls): When clearing ->names, clear out the values
from the identifiers, restore shadowed values, and clear ->shadowed.
* c-decl.c (grokdeclarator): Don't warn of const or volatile function
in a system header file.
* sdbout.c: Don't use system syms.h on hpux.
* cccp.c (do_xifdef): Skip all kinds of whitespace, in bof test.
Wed Sep 30 15:09:10 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu)
* sparc.md (orcc peephole): Don't accept FP reg for operand 0.
Wed Sep 30 00:47:48 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* gstdarg.h, gvarargs.h: Use <...> to include va-*.h.
* c-decl.c (start_struct): Push the obstacks.
Switch to permanent if at top level.
(finish_struct): Pop them.
* c-decl.c (store_parm_decls): If we have (erroneously) a prototype
and old-style parm decls, throw away the old-style parm decls.
* configure: Default $build after $host. Canonicalize all three
config names before the main dispatch and save in $canon_host, etc.
Write these into config.status and on terminal at the end.
Tue Sep 29 18:41:54 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu)
* unroll.c (find_splittable_givs): recog_memoized failure return
is -1 not 0.
Tue Sep 29 22:19:48 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
* config.sub (os handling): Recognize `linux' as a valid os.
Tue Sep 29 16:05:47 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* limitx.h: Use <...> in #include.
* Makefile.in (ENQUIRE_CFLAGS): Remove -DNO_SC.
Tue Sep 29 10:14:27 1992 Richard Kenner (kenner@.vlsi1.ultra.nyu.edu)
* optabs.c (expand_binop): Convert X - C to X + (-C).
Mon Sep 28 22:44:17 1992 Jim Wilson (wilson@cygnus.com)
* reload.c (find_reloads_address): If tem != ad, then create a new
mem to hold it and store it back into memrefloc.
Mon Sep 28 10:44:55 1992 Chip Salzenberg (chip@tct.com)
* regclass.c: Fix comment syntax after #endif.
Mon Sep 28 17:15:22 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* gstdarg.h (va_arg, va_start): Explicitly cast to __gnuc_va_alist.
Mon Sep 28 17:12:04 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu)
* unroll.c (copy_loop_body, JUMP_INSN case): When invert jump
insn, must first construct new insn before trying to invert it,
so that validate_change will work properly.
* unroll.c (find_splittable_givs): Pass mem_mode not mode to
memory_address_p.
* unroll.c (copy_loop_body, JUMP_INSN case): When setting
JUMP_LABEL field, verify that what we think is a label actually
is. If it isn't then map the old JUMP_LABEL to find the new one.
* sparc.md (orcc peephole): Don't allow FP regs to match pattern.
* i960.md (indirect_jump): Use bx instead of b*, and accept any
address_operand instead of just a register operand.
* i960.c (i960_round_tree): Correct conversion of bits to bytes to
round up to nearest byte.
(i960_round_align): Likewise.
Mon Sep 28 15:54:18 1992 Michael Meissner (meissner@osf.org)
* dec-osf1.h (LINK_SPEC): Fix typo.
Mon Sep 28 08:15:02 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu)
* rs6000.md (subsi3): Remove last change.
(allocate_stack): Go back to calling subsi3.
Mon Sep 28 02:41:32 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* optabs.c (expand_binop): Use get_insns, not gen_sequence.
* c-typeck.c (build_unary_op): Address of nested fcn isn't constant.
* libgcc2.c (__builtin_new): Avoid passing 0 to malloc.
* m68k.md (indirect_jump): Use address_operand as predicate.
* c-decl.c (finish_decl): Do the pop_obstacks sooner, when it's
time to start allocating in the ambient context's obstack.
Don't call permanent_allocation unless got back to permanent obstack.
Sun Sep 27 13:06:19 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
* function.c (assign_parms): If PROMOTE_FUNCTION_ARGS is defined,
see if the incoming register should be used in a wider mode.
(expand_function_start): Likewise for return value if
PROMOTE_FUNCTION_RETURN is defined.
* calls.c (struct arg_data): New field unsignedp.
(expand_call): Handle PROMOTE_FUNCTION_ARGS and
PROMOTE_FUNCTION_RETURN.
* alpha.h (FUNCTION_VALUE): Promote mode for return value.
* alpha.h (BYTE_LOADS_SIGN_EXTEND): Define.
* rs6000.md (subsi3): Don't bother calling negate_rtx for constant;
we shouldn't be called with a constant.
(maskir patterns): Don't mention an operand before it is used;
use operand number 1 for operand with '0' constraint.
(allocate_stack): Use reg_or_short_operand for predicate of
allocation amount; use negate_rtx and always make a PLUS.
* romp.h (EXTRA_CONSTRAINT, case 'Q'): Check for MEM instead of
calling memory_operand.
(SHIFT_COUNT_TRUNCATED): No longer define this.
Sat Sep 26 18:14:15 1992 Michael Meissner (meissner@osf.org)
* config.sub (os handling): Recognize riscos as an operating
system.
* configure (dec-osf1): Use x-decstatn for xmake_file.
(mips computers): Handle RISC-OS 5 vs. RISC-OS 4 configuration
changes -- RISC-OS 5. passes -non_shared by default.
* mips-5.h (new file): RISC-OS rev 5 config file.
* mips-5bsd.h (new file): RISC-OS rev 5, bsd 4.3 config file.
* mips-5g4.h (new file): RISC-OS rev 5, svr4 + stabs config file.
* mips-5gbsd.h (new file): RISC-OS rev 5, bsd 4.3 + stabs config file.
* mips-5gdb.h (new file): RISC-OS rev 5 + stabs config file.
* mips-5gsysv.h (new file): RISC-OS rev 5 svr3 + stabs config file.
* mips-5svr4.h (new file): RISC-OS rev 5 svr4 + stabs config file.
* mips-5sysv.h (new file): RISC-OS rev 5 svr3 config file.
* dec-osf1.h (LINK_SPEC): Pass -non_shared to linker unless
-shared was passed.
(SIZE_TYPE): Define as long unsigned int.
(PTRDIFF_TYPE): Define as int.
(WCHAR_TYPE_SIZE): Define as SHORT_TYPE_SIZE.
* decrose.h (MACHINE_TYPE): Shorten verbage.
* i386rose.h (TARGET_VERSION): Print appropriate information.
* xm-mips.h (HAVE_VFPRINTF, HAVE_PUTENV): Define on DEC OSF/1.
* mips.c (siginfo): Print just current filename, and function
being compiled.
* mips-tfile.c (Size_t): Use long unsigned on OSF/1.
(toplevel): Don't define rindex and index on OSF/1.
Sat Sep 26 17:46:57 1992 Torbjorn Granlund (tege@jupiter.sics.se)
* arm.md (comment before extendhisi2): Remove the lie.
(zero_extendhisi2): Rewrite to work if op0 == op1. Use
gen_lowpart in preparation code.
(extendqisi2, extendhisi2): Likewise.
(extendqihi2): Expand.
* arm.md (restorehi): Rewrite for correctness, efficiency, and
clarity. Avoid generating insns involving truncate. Generate
needed pseudos in preparation statements.
(storehi): Likewise.
(storeinthi): Likewise.
(movhi): Call gen_storehi, gen_restorehi, gen_storeinthi according
their new definitions. Use force_reg to put address in register.
* m68k.md (indirect_jump): Use %a0 for output, and p for constraint.
Sat Sep 26 02:42:42 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* reload1.c (eliminate_regs_in_insn): Rerecognize if move insn
becomes a non-move.
* Makefile.in (install-fixincludes):
Use - when making syslimits.h; fix if-statement syntax.
* jump.c (jump_optimize): When handling dispatch table that always
goes to the same place, verify previous insn exists.
* c-typeck.c (common_type): Renable code to merge qualifiers
given two pointers to compatible types.
Sat Sep 26 12:02:38 PDT 1992 Ron Guilmette (rfg at netocm.com)
* dwarfout.c (location_attribute): If DECL_RTL looks like (MEM pseudo),
treat that variable as optimized away.
Fri Sep 25 19:48:46 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* c-decl.c (explicit_flag_signed_bitfields): New variable.
(c_decode_option): Set that for -f[un]signed-bitfields.
(grokdeclarator): If that's set, and -fsigned-bitfields,
disregard -traditional when handling bitfield signedness.
* configure: Handle --build option. Make link hconfig.h.
* Makefile.in: In the targets such as $(HOST_PREFIX_1)rtl.o,
use sed to make them include hconfig.h instead of config.h.
(distclean): Add command to delete hconfig.h.
Fri Sep 25 19:56:35 1992 Brendan Kehoe (brendan@mole.gnu.ai.mit.edu)
* cp-search.c (compute_visibility): Don't mess with the context.
* cp-decl.c (grokdeclarator): Return value from do_friend
properly; this shouldn't have gone in yet.
Fri Sep 25 02:23:51 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* c-typeck.c (initializer_constant_valid_p): Really use endtype.
* cccp.c (do_include): "Concatenate" multiple "strings" in #include.
* vmsconfig.com: Renamed from configure.com.
* next.h (CPP_PREDEFINES): Define __ARCHITECTURE__.
* dbxout.c (dbxout_symbol): For anonymous enum, output type anyway.
Fri Sep 25 01:33:36 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu)
* function.h (struct function): Add epilogue_delay_list field.
* function.c (push_function_context): Save epilogue_delay_list.
(pop_function_context): Restore epilogue_delay_list.
* sparc.md (nonlocal_goto): Force operands[0] to be a register.
* va-sparc.h (va_arg): Add 3 more (void *) casts to avoid warnings
with -Wcast-align.
* sparc.c (SF_MODES): Accept all single word or smaller integer
modes not just SImode. These are needed for fix/float conversions.
* sched.c (sched_analyze_2, PRE_DEC case): Call sched_analyze_2 in
addition to sched_analyze_1.
* va-i960.h (va_start): Must access anonymous arg as offset from
start of argument block.
* i960.md (movdi, movti, movdf, movtf): Make store zero to memory
a separate case, only accept offsettable memory addresses, and call
adj_offsettable_operand to calculate subword addresses.
* i960.c (i960_output_ldconst): Pass missing xoperands argument to
output_asm_insn call.
* a29k.md (movti): Split CONST_INTs into 4 moves, and force all
other constants to memory.
Thu Sep 24 21:51:46 1992 Brendan Kehoe (brendan@mole.gnu.ai.mit.edu)
Complete Cygnus<-->FSF merge.
Thu Sep 24 17:05:27 1992 Brendan Kehoe (brendan@rtl.cygnus.com)
* cp-decl.c (pushdecl): Use a friendly abort rather than an assert.
(grokparms): Pass whether init is set or not for the initialized
parameter to grokdeclarator.
Wed Sep 23 22:09:44 1992 Mike Stump (mrs@cygnus.com)
* cp-class.c (finish_struct), cp-decl2.c (warn_nonvdtor),
cp-tree.c (layout_basetypes), cp-tree.h (warn_nonvdtor): Re-enable
warnings for non-virtual destructors in some situations.
Wed Sep 23 15:42:33 1992 Mike Stump (mrs@cygnus.com)
Wed Sep 23 16:31:27 1992 Michael Meissner (meissner@osf.org)
* cp-decl.c (duplicate_decls): Cast bcopy arguments to char * to
avoid warning on OSF/1.
Wed Sep 23 11:36:44 1992 Brendan Kehoe (brendan@rtl.cygnus.com)
* cp-decl.c (start_method): Give the name of the class if a method's
being defined again, rather than say "aggregate scope".
* cp-decl2.c (grokfield, grokbitfield, groktypefield): Ditto.
Tue Sep 1 22:55:59 1992 Paul Eggert (eggert@twinsun.com)
* cp-cvt.c (convert_to_integer): Prefer unsigned
arithmetic if the output type is unsigned and is no more precise than
the computation type. This avoids unnecessary sign extension.
Tue Sep 15 20:26:18 1992 John F Carr (jfc at Athena.MIT.EDU)
* cp-pt.c (tsubst): Don't call layout_type near start of function
with T. const and volatile attributes don't affect the memory
structure of the type, and T may not yet be a valid argument for
layout_type (for example, if it is an uninstantiated template).
Individual switch cases will call layout_type if necessary.
Mon Sep 21 15:59:22 1992 Brendan Kehoe (brendan@rtl.cygnus.com)
* cp-decl.c (pushdecl): Check if DECL_SOURCE_LINE is non-zero, not
if DECL_IGNORED_P is set, when checking for shadowing. We no longer
need DECL_IGNORED_P on builtin types.
(record_builtin_type): Don't set DECL_IGNORED_P for a builtin type.
* cp-decl.c (start_decl): When working with virtual functions,
always use the node's DECL_CLASS_CONTEXT.
* cp-method.c (hack_identifier): Ditto.
* cp-search.c (compute_visibility): Ditto.
* cp-decl.c (grokdeclarator): Don't allow a member to be declared
extern.
* cp-decl.c (grokdeclarator): Return a void_type_node if we're
looking at a friend (even after calling do_friend).
(pushdecl): Disable some code that's untested and
doesn't necessarily help DWARF right now.
(finish_function): Always emit debugging info for the
return type of a function.
(pushdecl): Don't change the DECL_CONTEXT of virtual
methods.
(finish_enum): Always output debugging info for enums.
(grokdeclarator): It's an error if we're doing an init of an extern
at the top level. If we are at the top level, just warn.
* cp-typeck.c (comp_target_parms): Check if strict is non-zero, not
just > 0.
(build_function_call_real): Don't return an error-mark node when
they call "main" from within the fn, it's only a pedantic warning.
(pointer_int_sum): Reword warning when using a ptr-to-mem in arith.
* cp-tree.c (layout_basetypes): Make record_align and const_size
unsigned.
Mon Sep 21 14:53:43 1992 Brendan Kehoe (brendan@rtl.cygnus.com)
* cp-tree.h (flag_no_ident): Add extern decl for cp-lex.c.
* cp-decl.c (duplicate_decls): Save the DECL_UID and DECL_FRIEND_P
info from olddecl. Otherwise, they'd get clobbered when newdecl's
contents get copied into olddecl.
* cp-lex.c (check_newline): Delete pedantic error about using #ident,
since cccp.c already gives a warning. In the case that
ASM_OUTPUT_IDENT is defined, only actually spit it out if flag_no_ident
is not set.
Sat Sep 19 14:53:31 1992 Brendan Kehoe (brendan@rtl.cygnus.com)
Sat Sep 19 11:37:11 1992 John F Carr (jfc at Athena.MIT.EDU)
* cp-decl.c (finish_decl): Don't call
CLASSTYPE_DECLARED_EXCEPTION if TYPE is error_mark_node, to avoid
referencing a nonexistent field.
Fri Sep 18 14:06:06 1992 Brendan Kehoe (brendan@rtl.cygnus.com)
* cp-parse.y (component_decl): Remove sorry about not implementing
methods in anonymous unions---they're illegal, and we generate an
error elsewhere to that effect.
* cp-decl.c (start_method): Make the error message about a
duplicated member a little more informative.
Fri Sep 18 12:28:13 1992 Brendan Kehoe (brendan at rtl.cygnus.com)
* cp-parse.y: Define YYDEBUG if SPEW_DEBUG is defined.
(debug_yytranslate): YYDEBUG will always be defined, no need to test.
Fri Sep 18 10:46:19 1992 Brendan Kehoe (brendan@rtl.cygnus.com)
* cp-parse.y (unary_expr): When parsing delete, first complain if
it's a non-pointer, then check if it's a pointer with the value zero.
Also be sure not to call build_delete if that's the case.
Thu Sep 24 18:03:07 1992 Michael Meissner (meissner@osf.org)
* mips.h (MIPS_VERSION): Set Meissner version # to 27.
(STRUCT_VALUE_REGNUM): Delete macro.
(STRUCT_VALUE): Define as 0, so that structure return addresses
are passed as the first argument. This fixes various codegen
problems with functions returning structures.
* mips.c (init_cumulative_args): Don't advance arg pointer if
function returns a structure.
Thu Sep 24 12:38:31 1992 Torbjorn Granlund (tege@wombat.gnu.ai.mit.edu)
* pa.h (REGISTER_MOVE_COST): Fix typo. Use `||' instead of `|'.
(REG_CLASS_FROM_LETTER): Don't handle 'r' constraints here.
* pa.c (clobbered_register): Delete.
(srcsi_operand): Return 1 also for things matching
depi_cint_operand.
(secondary_reload_class): Replace.
* pa.md (ldo/ldil SImode and HImode recognizers): Use
"const_int_operand" for operand 1 and simplify final condition.
Remove `n' constraint.
(depi SImode and HImode recognizers): Remove `n' constraint.
(plus:SI ... high ... splitter): Don't overwrite input, go via
clobber operand instead.
(many patterns): Replace `in' constraint with just `i'.
(movstrsi): Don't do (clobber (match_scratch)), use explicit
pseudos instead, generated in preparation C code. Don't call
force_not_mem for operand 2.
(movstrsi recognizer): Add `&' to operand 3.
(andsi3): Fix typo.
(iorsi3): Fix typo.
(load-shift-16): New optimizer.
(load-shift optimizers): Set "type" attr.
Thu Sep 24 15:17:38 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* toplev.c (lang_options): Add Objc options.
* configure.bat: Use xgcc, not gcc.
Thu Sep 24 06:30:47 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
* c-lex.c (yylex, case '"'): Initialize arg pased to readescape.
* genattrtab.c (length_used): New variable.
(walk_attr_value): Set it when we have (eq_attr "length" ...).
(write_const_num_delay_slots): Value is 1 unless LENGTH_USED is set.
* reorg.c (mark_set_resources, case CC0): Set RES->CC if IN_SEST.
* regclass.c (forbidden_inc_dec_class, in_inc_dec): New variables.
(regclass): Don't alloca the costs twice.
Initialize forbidden_inc_dec_class.
For regs that have inc-dec, ignore forbidden classes.
(record_address_regs): Update in_inc_dec.
Thu Sep 24 02:36:00 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* syslimits.h: New file, includes system's limits.h.
* limitx.h: Include syslimits.h instead of system's limits.h.
* Makefile.in (USER_H): Add syslimits.h.
(install-fixincludes): If we fix system's limits.h, install that
as syslimits.h
* c-lex.c (readescape): New arg ignore_ptr.
(yylex): Pass new arg, handle result that comes back.
Wed Sep 23 19:26:42 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
* reload.c (find_reloads_address): Properly check for constant address.
* cse.c (simplify_unary_operation, case SIGN_EXTEND): Use
HOST_BITS_PER_WIDE_INT, not HOST_BITS_PER_INT.
* fold-const.c (fold_convert): Add missing cast to HOST_WIDE_INT.
* jump.c (jump_optimize): Tighten up test for when we can't
delete a set of CC0.
Don't insert insns between set and use of CC0.
* final.c (shorten_branches): Correctly access insn needing delay slot.
* combine.c (significant_bits, num_sign_bit_copies): Handle SUBREGs
made for promoted variables.
* reorg.c (fill_simple_delay_slots): Don't make copy of insn that
references CC0.
* romp.md (define_attr "type"): New type "ibranch".
(define_attr "length"): Set length for "ibranch" type.
(define_attr "in_delay_slot"): Add new type "ibranch";
for "branch", only has delay slot if length is 4.
(define_attr "cc_type"): Add new type "ibranch".
(indirect branches): Now type "ibranch".
* alpha.c (alpha_gp_dead_after): Return 0 if not optimizing.
Wed Sep 23 00:11:35 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* gvarargs.h: Finish changing _ANSI_H to _ANSI_H_.
Tue Sep 22 23:39:06 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* i386mach.h (perform_fixdfsi): Copy arg to memory variable.
Tue Sep 22 14:54:38 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu)
* loop.c (basic_induction_var): Inside PLUS, when looking for promoted
var, make sure it's a REG.
Tue Sep 22 12:21:11 1992 Michael Meissner (meissner@osf.org)
* mips.h (MIPS_VERSION): Bump Meissner version # to 26.
(REG_PARM_STACK_SPACE): Use UNITS_PER_WORD instead of 4, and
substract FIRST_PARM_OFFSET.
(FIRST_PARM_CALLER_OFFSET): Delete unused macro.
* mips.c (init_cumulative_args): Print types of fntype and the
return type if -mdebuge.
* decrose.h (CPP_SPEC): Eliminate defining various builtin
functions with -D<name>=__builtin_<name>, if neither -fbuiltin nor
-fno-builtin were passed.
(CC1_SPEC): Eliminate passing -fno-builtin to the compiler if
neither -fbuiltin nor -fno-builtin were passed. Eliminate
%{save-temps: } since gcc no longer gives an unknown switch
message if it is used.
* i386rose.h (CPP_SPEC): Eliminate defining various builtin
functions with -D<name>=__builtin_<name>, if neither -fbuiltin nor
-fno-builtin were passed.
(CC1_SPEC): Eliminate passing -fno-builtin to the compiler if
neither -fbuiltin nor -fno-builtin were passed. Eliminate
%{save-temps: } since gcc no longer gives an unknown switch
message if it is used.
(MASK_HALF_PIC): Move bit mask to 0x40000000, to allow for i386.h
to define more switches without overlapping our private switch.
(TARGET switches): Add -mdebugb to debug half-pic code.
(OPTIMIZATION_OPTIONS): Only set flag_gnu_linker FALSE always, and
flag_inline_functions if -O3. In particular never set
-fomit-frame-pointer which currently messes up debugging.
(GO_IF_LEGITIMATE_ADDRESS): Define i386-osfrose version that deals
with half-pic.
(OVERRIDE_OPTIONS): Define to initialize half-pic.
(ASM_FILE_END): Define to dump out half-pic variables if needed.
* t-i386rose (EXTRA_OBJS): Define as halfpic.o.
(CONFIG2_H): Add $(srcdir)/halfpic.h.
(halfpic.o): Add dependencies.
Tue Sep 22 03:12:01 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* reload1.c (choose_reload_regs): When setting reg_has_output_reload,
loop over multiple regs only for hard reg. Set reg_is_output_reload
in separate loop.
Mon Sep 21 12:22:24 1992 Jeffrey A. Law (law@mole.gnu.ai.mit.edu)
* reorg.c (mark_set_resources, case REG): A register is set iff
"in_dest" is nonzero.
Mon Sep 21 14:16:10 1992 Torbjorn Granlund (tege@jupiter.sics.se)
* combine.c (make_extraction): Make test whether to use AND or
{SIGN,ZERO}_EXTRACT depend on UNSIGNEDP.
Mon Sep 21 08:26:55 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
* reload1.c (reload): If we can't get a register that we know won't
interfere with groups, get one that might instead of giving up.
* reload1.c (reload): Print the needs to the dump file.
Mon Sep 21 02:45:19 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* function.c (put_var_into_stack): Check REG != 0 before dereference.
Sun Sep 20 16:58:05 1992 Fred Fish (fnf at fishpond.cygnus.com)
* x-svr4: New generic SVR4 host makefile fragment.
* x-i386v4: File deleted.
* x-ncr3000: Get alloca using ALLOCA, not libucb.a.
* configure (i386-*-sysv4*): Use x-svr4, not x-i386v4.
* configure (i486-*-sysv4*): Use x-svr4.
Sun Sep 20 21:18:15 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* combine.c (subst): Set and compare extend_op with 0, not NULL.
* cse.c (find_comparison_args): New args PMODE1, PMODE2.
(fold_rtx, record_jump_equiv): Use them to get modes of comparison.
(fold_rtx): Associate MINUS with nested PLUS.
* seq386.h (LPREFIX): Overridden as `.L'.
(ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL): Likewise.
Sun Sep 20 05:53:20 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
* combine.c (try_combine): Always call set_significant on new
patterns, so don't call just in split case.
* combine.c (subst): Move sign extension inside arithmetic
when we have a constant computation inside another computation.
* emit-rtl.c (emit_insn_after_with_line_notes): New function.
* jump.c (jump_optimize): Delete insns that set registers that
are not used elsewhere.
Fix some bugs in "if (...) x = a; else x = b;" code.
Remove uses of reorder_insns.
Add code to make scc insns for "if (...) x = exp;" if EXP is simple
enough.
Optimize "if (...) x = b;" if jumps very expensive; don't use a REG
as the older value of X since it doesn't help and can hurt.
Correctly place generated insns in above case.
* reload.c (find_reloads, find_reloads_toplev): Treat
BYTE_LOADS_SIGN_EXTEND just like BYTE_LOADS_ZERO_EXTEND.
* combine.c (subst, simplify_and_const_int, significant_bits):
Likewise.
(num_sign_bit_copies, case MEM): New case for BYTE_LOADS_SIGN_EXTEND.
(num_sign_bit_copies, case SUBREG): Handle just like significant_bits.
Sat Sep 19 15:55:31 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
* combine.c (combine_instructions): Clear significant_valid
at end of combine pass for a function.
(find_split_point, case MEM): See if first operand of the PLUS
that makes up an address is complex.
(subst): Add missing arg to recursive calls when IF_THEN_ELSE
is an arg of an operator.
(subst, case IF_THEN_ELSE): Generalize code to propagate comparison
result into arms by using known_cond.
If an arm is the first operand of the comparison, make it the
true arm.
Remove unneeded comparison when arms are identical.
Try to convert IF_THEN_ELSE to ABS, (neg (abs X)), [US]MIN, [US]MAX.
Convert (if_then_else (ne A 0) (OP X C) X) to (OP X (mult A C)).
(subst, case SET): If we don't have conditional moves,
convert IF_THEN_ELSE into logical operations.
(subst, case AND): Always make conditional moves, even if we
don't support them on the machine.
(known_cond, extended_count): New functions.
(gen_binary): For commutative operations, put constant last.
* combine.c (try_combine): The insns made by a DEFINE_SPLIT might
contain a PARALLEL and the call to recog_for_combine might add it.
* combine.c (simplify_comparison, case ASHIFT): Fix typo.
* combine.c (try_combine): When removing REG_UNUSED note,
update reg_n_deaths.
Likewise, when making new REG_DEAD notes for distribute_notes.
(remove_death, move_deaths): Update reg_n_deaths.
(distribute_notes): When placing second REG_DEAD or REG_UNUSED note or
ignoring such a note, update reg_n_deaths.
* rtl.h (SUBREG_PROMOTED_{VAR,UNSIGNED}_P): New macros.
* tree.h (DECL_MODE, DECL_RTL): Update comments.
* expr.h (PROMOTE_MODE): Provide default definition.
* expr.c (convert_move, convert_to_mode): Strip off a SUBREG made
for variables with promoted modes.
(store_expr): Store into variables with promoted modes by
doing the appropriate extension operation.
(expand_expr, case VAR_DECL): Generate SUBREGs for promoted objects.
(expand_expr, case SAVE_EXPR): Likewise for SAVE_EXPRs.
(expand_increment): Handle increment of promoted objects.
* function.c (fixup_var_refs{,_insns}): Add new parms for promoted
mode and signedness; all callers changed.
Insert mode conversions when required.
(fixup_var_refs_1): Add new parms for mode and signedness;
handle SUBREGs for promoted values.
(assign_parms): Promote the mode of parameters when useful for
the target machine.
* function.h (struct var_refs_queue): Remove unused field ORIGINAL.
Add new fields PROMOTED_MODE and UNSIGNEDP.
* integrate.c (expand_inline_function): Convert actual to formal's
mode (in case formal was promoted).
* loop.c (basic_induction_var): Add new parameter P.
Check for bivs that are set over multiple insns and also
allow a SIGN_EXTEND to be used; remove check for MINUS since
we don't make MINUS with a constant 2nd operand any more.
* optabs.c (expand_binop, expand_unop): Don't make SUBREG for promoted
variables as operands.
* stmt.c (tail_recursion_args): Use mode of DECL_RTL, not
DECL_MODE.
(expand_decl): Promote modes of scalar variables when useful on
target.
* unroll.c (find_splittable_regs): If any BIV update isn't
simple, don't split it.
(final_giv_value): Look for biv updates by matching insns; don't
try to reparse the insn.
* rs6000.h (PROMOTE_MODE): New macro.
* rtlanal.c (reg_set_last): Allow old value to be a SUBREG.
* rs6000.c (print_operand, case 'h', 'H', 'w'): Minor cleanups.
* rs6000.h (BRANCH_COST): Increase from 2 to 3.
* rs6000.md (smax, smin, umax, umin): Add define_splits.
* alpha.h (PROMOTE_MODE): New macro.
(REG_ALLOC_ORDER): Put $0 in front of $21-$16.
(CONST_OK_FOR_LETTER): Change meanings of N, O, and P.
(BRANCH_COST): Increase from 3 to 4.
(PREDICATE_CODES): Add new predicates reg_or_cint_operand and
sext_add_operand.
* alpha.md (addsi3): subl can be used to sign-extend addition of
small negative constants.
(negsi2): Add pattern for (sign_extend (neg ..)).
(and pattern): Fix typo in constraint.
(ashldi3): Use new definition of constant letters.
(smax, smin, umax, umin): Add define_splits.
(compares): Can compare constant with zero by adding negative of
constant.
(store insns): Can store 0 into memory in both integer and FP.
* alpha.c (sext_add_operand, reg_or_cint_operand): New function.s
(print_operand, case 'r', case 'R'): Clean up code; use CONST0_RTX.
* rtl.c (note_insn_name): Fix typo: had NOT_INSN_DELETED_LABEL.
* jump.c (delete_insn): Don't change labels to NOTEs if we would
not really have deleted them.
* genconfig.c (walk_insn_part, case IF_THEN_ELSE): Refine when
HAVE_CMOVE_FLAG gets set.
Sat Sep 19 14:52:05 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* reload.c (find_reloads): Always use >= with FIRST_PSEUDO_REGISTER.
* i386mach.h (SIZE_TYPE): Defined.
Sat Sep 19 04:57:06 1992 James Van Artsdalen (james at bigtex.cactus.org)
* i386.md (sCOND patterns): Don't allow a MEM in the SET_DEST,
because these insns can't have input reloads, and a MEM might need
an input address reload.
* fold-const.c (fold_convert): Avoid using conversion of unsigned
to floating; offset value by hand to fit in signed type.
Sat Sep 19 00:50:32 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* integrate.c (subst_constants): Do substitute in address of MEM dest.
* reload1.c (init_reload): Fix typo.
Fri Sep 18 21:09:15 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* libgcc2.c: Declare _exit as volatile.
* function.c (assign_parms): Set MEM_IN_STRUCT_P right in stack slots.
Fri Sep 18 15:58:15 1992 James Van Artsdalen (james at bigtex.cactus.org)
* fixincludes: Don't look for *.h symlinks if the host doesn't
have symlinks.
Fri Sep 18 17:34:27 1992 Michael Meissner (meissner@osf.org)
* mips.md (call_internal): If the memory address to call is really
a constant integer, load it up into $at and do the call from
there.
(call_value_internal): Ditto.
Fri Sep 18 03:48:17 1992 Tom Wood (wood@dg-rtp.dg.com)
* m88k.c (m88k_volatile_code): New variable.
(print_operand): Track volatile memory references and output a
serializing instruction before a load when necessary.
* m88k.h (TARGET_SWITCHES): Add -m{no,}serialize-volatile.
(OVERRIDE_OPTIONS): -m88110 and -m88000 imply -mserilize-volatile.
(ADJUST_INSN_LENGTH): Volatile memory operantions may be longer.
(CC_STATUS_INIT): Reset m88k_volatile_code to the unknown state.
* m88k.md (load store patterns): Prepend loads and stores with %V
and %v to track the type and address of the access.
* m88k.c (m88k_version, m88k_version_0300): New variables.
* m88k.h (TARGET_OPTIONS): Generalize to -mversion-STRING.
(OVERRIDE_OPTIONS): Compute m88k_version_0300.
* m88k.md (call_movstrsi_loop): Renamed from call_block_move_loop.
Use call-value for the block move patterns.
* m88kdgux.h (PERFERRED_DEBUGGING_TYPE): Compute based on
m88k_version.
(CPU_DEFAULT): Make it -m88000.
* m88k.h: Don't use #elif
Fri Sep 18 01:08:55 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* Makefile.in (install-common-headers): Don't copy byteorder.h.
Thu Sep 17 20:06:22 1992 Brendan Kehoe (brendan@mole.gnu.ai.mit.edu)
Complete 13th Cygnus<-->FSF merge.
Thu Sep 17 13:15:15 1992 Brendan Kehoe (brendan@rtl.cygnus.com)
Do some much-needed housecleaning of the C++ front-end.
* cp-call.c (ideal_candidate): Move `p2' down inside #if 0'd (only)
section that actually uses it. Delete unused variable `buf'.
(build_method_call): Delete unused variable `dtor_specd'.
* cp-class.c (finish_struct): Delete unused variable `basetype'.
* cp-cvt.c (convert_to_aggr): Add missing argument decl for `protect'.
(convert_pointer_to): Delete unused variable `form'.
* cp-decl.c: Include string.h/strings.h for strncpy() decl.
Add decls for init_* fns. Delete unused decl `push_overload_decl_1'.
Don't use `c_function_varargs', C++ doesn't need it.
(push_binding_level): Add missing argument decls for
`tag_transparent' and `keep'.
(lookup_tag): Add missing argument decl for `tags_transparent'.
(lookup_name): Add missing argument decl for `prefer_type'.
(start_decl): Delete unused variables `classname' and `tmpl'.
(grokvardecl): Add missing argument decl for `initialized'.
(grokdeclarator): Delete unused variable `t'.
* cp-decl2.c (get_temp_name): Delete unused variable `temp'.
(finish_table): Delete unused variable `publicp'.
(finish_builtin_type): Add missing argument decl for `len'.
(finish_file): Delete unused variables `asm_out_file' and
`init_function_name'.
* cp-except.c (ansi_exception_object_lookup): Add missing
argument decl for `type'.
(cplus_expand_throw): Delete unused variables `cname', `name',
and `raise_id'.
* cp-init.c: Delete unneeded forward decl of `init_init_processing'.
(build_new): Delete unused variable `alignment'.
(expand_vec_init): Add missing argument decl for `from_array'.
(build_vec_delete): Delete unused variable `rval'.
* cp-input.c (feed_input): Add missing argument decl for `len'.
* cp-lex.c: Delete unused variable `nextlastiddecl'.
(check_newline): Delete unused variable `tmp'. Place `asm_out_file'
inside a conditional for ASM_OUTPUT_IDENT.
(real_yylex): Delete unused variable `typename_scope_in_progress'
and unused labels `relex' and `reswitch'.
* cp-method.c: Include string.h/strings.h for strncpy() decl.
(new_text_len): Deleted.
(dump_type_prefix): Delete unused variables `print_struct' and `name'.
(dump_tyupe): Delete unused variable `print_struct'.
(type_as_string): Delete unused variable `spaces'.
(do_inline_function_hair): Delete unused variable `cname'.
(flush_repeats): Delete unused variable `rval'.
(build_t_desc_overload): Delete unused variable `i'.
(build_opfncall): Add missing argument decl for `flags'.
(hack_identifier): Add missing argument decl for `yychar'.
* cp-parse.y (template_instantiate_once): Delete unused
variables `id' and `members'.
* cp-search.c (lookup_field): Add missing argument decl for `want_type'.
(tree_needs_constructor_p): Add missing argument decl for `i'.
(dfs_debug_mark): Delete unused variable `pending_vtables'.
(dfs_get_vbase_types): Delete unused variable `basetype'.
* cp-spew.c (init_spew): Delete unused variables `pc' and
`chars_following_typename'.
(yylex): Delete unused variables `dk' and `tmp'. Move decl of `t2' down
to the block that actually uses it.
* cp-tree.c (build_cplus_staticfn_type): Delete unused variable `ptype'.
(propagate_binfo_offsets): Delete unused variables `t' and `basetype'.
(layout_basetypes): Delete unused variable `binfo'.
(array_type_nelts_total): Delete unused variable `index_type'.
* cp-tree.h: Add many decls.
* cp-typeck.c (comp_array_types): Add missing argument decl
for `strict'.
(build_compound_expr): Delete unused variable `tmp'.
(convert_for_initialization): Delete unused label `converted'.
Wed Sep 16 12:51:10 1992 Brendan Kehoe (brendan@rtl.cygnus.com)
* cp-decl.c (init_decl_processing): Enable code to add sin and cos
as built-in functions.
* cp-decl.c (duplicate_decls): Enable code to preserve the DECL_UID
of olddecl.
* cp-search.c (lookup_nested_fields): Make sure we're climbing along
a chain of nested types, and nothing else.
Tue Sep 15 17:38:34 1992 Brendan Kehoe (brendan@rtl.cygnus.com)
* cp-search.c (lookup_nested_fields): New function.
* cp-tree.h: Declare it.
* cp-decl.c (lookup_name): Call it if there's no class-local
definition. (It could be nested.)
* cp-lex.c (do_identifier): Call lookup_nested_field() if necessary.
Tue Sep 15 12:37:16 1992 Brendan Kehoe (brendan@rtl.cygnus.com)
Mon Aug 24 14:58:02 1992 Chip Salzenberg (chip at animal)
* cp-typeck.c (build_conditional_expr): Determine constness
and volatility with TREE_... tests instead of TYPE_... tests.
Mon Sep 14 18:00:35 1992 Chip Salzenberg (chip@tct.com)
* cp-decl.c (grokdeclarator): Remove redundant (and broken)
test for multiple destructors in a class.
Fri Jul 31 19:09:10 1992 Chip Salzenberg (chip@tct.com)
* cp-cvt.c (convert_to_integer): Push truncation inside COND_EXPR.
Mon Sep 14 17:52:45 1992 Chip Salzenberg (chip@tct.com)
* cp-class.c (finish_struct): Always write all structure types,
even if they're defined in a "#pragma interface" header file.
Otherwise, XCOFF debugging info is messed up.
Mon Sep 14 17:39:32 1992 Chip Salzenberg (chip@tct.com)
* cp-class.c (finish_struct): ``Actually, I don't understand
this code. What is it supposed to do?'' --Niklas Hallqvist
Mon Sep 14 17:27:23 1992 Chip Salzenberg (chip@tct.com)
* cp-decl.c (finish_decl): Don't dump core if a decl is anonymous.
A decl is at the global binding level if DECL_CONTEXT is null.
(grokdeclarator): Don't globalize a type if its first mention
is in a parameter. It's okay to initialize a function in a
non-global scope.
Tue Sep 15 12:15:26 1992 Brendan Kehoe (brendan@rtl.cygnus.com)
* cp-typeck.c (c_expand_return): Emit a warning when they try to
return the address of a local variable.
* cp-decl.c (finish_method): Make sure it's indeed nested before
checking for the qualified name.
Mon Sep 14 18:59:25 1992 Mike Stump (mrs@cygnus.com)
Wed Sep 2 11:04:24 1992 Chip Salzenberg (chip@tct.com)
* cp-decl.c (init_decl_processing): Add sin and cos as built-in
functions. Fix type of __builtin_constant_p.
* cp-lex.c (readescape): For \x, don't include leading 0's in count.
* cp-typeck.c (build_unary_op): For ADDR_EXPR, just set
TREE_CONSTANT if staticp, but don't clear TREE_CONSTANT.
Mon Sep 14 18:54:41 1992 Mike Stump (mrs@cygnus.com)
* cp-parse.y (permanent_obstack): Move to top of file.
Mon Sep 14 18:50:19 1992 Mike Stump (mrs@cygnus.com)
Mon Sep 14 16:39:10 1992 Chip Salzenberg (chip@tct.com)
[ Changes propagated from diffs to c-* in 920911 snapshot. ]
* cp-decl.c (duplicate_decls): Set DECL_INLINE in newdecl so it
is copied into olddecl. Don't set DECL_EXTERNAL in olddecl.
Preserve DECL_UID and DECL_FRIEND_P of olddecl.
* cp-typeck.c (build_binary_op_nodefault): Don't assume that a
target integer fits in a HOST_WIDE_INT when checking shift widths.
Mon Sep 14 18:15:42 1992 Mike Stump (mrs@cygnus.com)
Mon Aug 24 14:32:03 1992 Chip Salzenberg (chip@tct.com)
* cp-parse.y (reserved_declspecs): Warn if storage class occurs here.
(declmods): Warn if storage class is not first.
Mon Sep 14 16:59:53 1992 Brendan Kehoe (brendan@rtl.cygnus.com)
* cp-method.c (fndecl_as_string): Don't output an extra space when
printing the return type of a function.
Mon Sep 14 16:01:53 1992 Mike Stump (mrs@cygnus.com)
Fri Jun 12 18:07:00 1992 Niklas Hallqvist (niklas@appli.se)
* cp-parse.y (structsp, named_class_head_sans_basetype): Call
overload_template_name in the case of template specializations so
that something like:
template<class T> struct C { C(); };
struct C<int> { C(); };
works.
Mon Sep 14 15:51:22 1992 Mike Stump (mrs@cygnus.com)
Fri Apr 10 13:20:56 1992 Niklas Hallqvist (niklas@appli.se)
* cp-spew.c (spew_debug): exported this flag for use in cp-decl.c
(template_type_seen_before_scope): new global containing contextual
information for the parser, making the compiler grok nested types in
template classes.
(shift_tokens): Guard bcopy calls against moves of zero size.
(yylex): Handle nested types in template classes.
* cp-parse.y (scoped_typename): Handle nested types in template
classes.
(template_type): Likewise.
(base_class.1): Likewise.
(member_init): Likewise.
(scoped_baseclass): New rule for handling of nested types in
template classes.
* cp-decl.c (xref_defn_tag): Conditionalized debug printout on
spew_debug (defined in cp-spew.c).
(binding_levels_sane): void function returned value.
Mon Sep 14 15:41:28 1992 Mike Stump (mrs@cygnus.com)
Mon Sep 14 17:26:18 1992 Chip Salzenberg (chip@tct.com)
* cp-parse.y (unary_expr), cp-call.c (build_scoped_method_call):
NEVER use `maybe_adjust' feature in destructors. It's unsafe.
Mon Sep 14 15:12:34 1992 Brendan Kehoe (brendan@rtl.cygnus.com)
* cp-decl.c (finish_method): Complain when a qualifier is used as
part of a member declaration.
Mon Sep 14 11:47:30 1992 Mike Stump (mrs@cygnus.com)
* cp-decl2.c (groktypefield): Revert Wed Aug 19 14:47:08 1992
change as it breaks template constructor declarations. Gez, this
code is horribly complex, and the comments are wrong. Note,
template constructor definitions are broken in the same way, as
declarations were with this patch in.
Fri Sep 11 14:09:01 1992 Mike Stump (mrs@cygnus.com)
Fri Sep 11 10:34:45 PDT 1992 Ron Guilmette (rfg at netcom.com)
* cp-decl.c (duplicate_decls): For file-scope redefinitions, note
that the variable was previously *defined* at some specific (earlier)
point.
Fri Sep 11 13:49:55 1992 Mike Stump (mrs@cygnus.com)
Tue Sep 8 21:39:35 PDT 1992 Ron Guilmette (rfg at netcom.com)
* cp-decl2.c (finish_file): Don't pass `1's as the `functionbody'
flag to `poplevel' when getting ready to finishing up the per-
compilation-unit constructors and destructors.
Fri Sep 11 13:28:02 1992 Mike Stump (mrs@cygnus.com)
* cp-decl.c (grokdeclarator): Upgrade local externs with
initializations to be errors, instead of warnings.
Fri Sep 11 13:03:52 1992 Mike Stump (mrs@cygnus.com)
Thu Sep 10 09:40:56 PDT 1992 Ron Guilmette (rfg at netcom.com)
* cp-decl.c (grokdeclarator): Given an error if *either* a `static'
or an `extern' specifier is attached to a defining declaration of a
static data member.
Wed Sep 9 19:46:43 1992 Mike Stump (mrs@cygnus.com)
* c++: Makes sure echo -nostdinc does not eat the -nostdinc.
Tue Sep 8 13:42:35 1992 Brendan Kehoe (brendan@rtl.cygnus.com)
* cp-typeck.c (common_type, case FUNCTION_TYPE): An empty argument
list is represented as a void_type_node; make sure we check for
that, and not just an empty TYPE_ARG_TYPES list on either side.
Tue Sep 8 02:31:05 1992 Mike Stump (mrs@cygnus.com)
* cp-tree.c (layout_basetypes, make_binfo): Added support for
debugging information about virtual base class pointers.
Mon Sep 7 15:34:58 1992 Brendan Kehoe (brendan@rtl.cygnus.com)
* cp-decl2.c (temp_name_p): Deleted function, never used anywhere.
Sun Sep 6 23:09:29 1992 John F Carr (jfc at Athena.MIT.EDU)
* cp-typeck.c (convert_arguments): Ignore arguments which are
ERROR_MARK_NODE to avoid crashes trying to reference fields which
are not present.
Mon Sep 7 12:34:09 1992 Brendan Kehoe (brendan@rtl.cygnus.com)
* cp-decl.c (clear_anon_tags): Do assignment of B after we've seen
if we're to work on an anonymous aggregate. No need to make the
assignment for nearly every aggr we ever declare.
Sun Sep 6 17:51:47 1992 Mike Stump (mrs@cygnus.com)
Sun Sep 6 13:12:16 1992 John Carr (jfc@Athena.MIT.EDU)
* cp-decl.c (pushdecl, finish_decl, store_return_init,
finish_function), cp-decl2.c (constructor_name, finish_file),
cp-except.c (cplus_expand_reraise), cp-init.c (emit_base_init,
expand_aggr_init_1), cp-typeck.c (build_modify_expr,
c_expand_asm_operands, c_expand_return): Include rtl.h and eliminate
unneeded casts.
* cp-decl2.c (grokbitfield): Use NULL_TREE instead of NULL.
* cp-decl2.c (finish_file): Don't try and not use stdio.h.
* cp-except.c (cplus_expand_reraise): emit_move_insn takes 2
arguments, not three.
Sat Sep 5 12:04:06 1992 Brendan Kehoe (brendan@rtl.cygnus.com)
* cp-decl.c (finish_function): Undo change of Mon Aug 17 16:28:48
1992; it resulted in lots of unnecessary and incorrect warnings.
* cp-lex.c (do_identifier): For nested classes, check if a variable
being sought is actually in the scope of an enclosing class. If it
is, and the variable's non-static, bail.
* cp-decl.c (grok_enum_decls): Tighten up some code that was pretty
twisty.
* cp-class.c (start_struct): Delete; it was #if 0'd out anyway (C++
doesn't need it), and is an old hold-over from c-decl.c.
* cp-class.c (minus_one_node): Delete, it's not used.
(init_class_processing): Delete init of minus_one_node.
* cp-spew.c (yylex): Check return of resolve_scope_to_name to
be NULL_TREE.
(frob_identifier): Likewise.
(hack_more_ids): Likewise.
* cp-cvt.c (convert_to_real): Use REAL_VALUE_ATOF to make 0.
Fri Sep 4 19:23:17 1992 Mike Stump (mrs@cygnus.com)
* cp-decl.c (grok_ctor_properties): When looking for copy
constructors, ignore the first argument since it is the in$chrg
parameter for the object to copy from.
Fri Sep 4 14:35:31 1992 Mike Stump (mrs@cygnus.com)
* cp-cvt.c (build_up_reference): Prevent the compiler from dumping
core on semantic errors.
Thu Sep 17 17:28:13 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* c-typeck.c (initializer_constant_valid_p): Warn about address
arithmetic destined for a type that's too narrow.
New argument ENDTYPE.
* limitx.h: Don't include-next if _LIBC_LIMITS_H_ defined.
Thu Sep 17 20:45:16 1992 Paul Eggert (eggert@twinsun.com)
* cexp.y (parse_escape): Diagnose '\x' with no digits.
Diagnose integer overflow when parsing \x escapes.
Thu Sep 17 11:52:53 1992 Michael Meissner (meissner@osf.org)
* gcc.c (SIGNED_CHAR_SPEC): Use #if rather than ?: in default defn.
Thu Sep 17 14:53:51 1992 Tim Moore (moore@defmacro.cs.utah.edu)
* pa.h (FUNCTION_ARG_ADVANCE, FUNCTION_ARG): Fix double integer
argument alignment.
(SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE, WCHAR_SIZE): Define.
* pa-hpux.h, pa-ghpux.h (SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE,
WCHAR_SIZE): Define for hpux.
* x-pa, t-pa : New files.
* configure (hppa cases): add definitions for xmake_file and
tmake_file.
Wed Sep 16 22:22:15 1992 James Van Artsdalen (james at bigtex.cactus.org)
* i386.c (print_operand): Don't abort if error: might have been a
user asm.
* i386.md (addsi3,ashlsi3): Handle the case where the stack
pointer appears as an index reg.
Wed Sep 16 21:22:23 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* cse.c (fold_rtx): For SUBREG, actually test subreg_lowpart_p in the
code to handle narrowing subregs. And exclude binary ops like DIV
where truncating the args is not valid.
* libgcc2.c (__CTOR_LIST__, __DTOR_LIST__): Moved to separate member.
* Makefile.in (LIB2FUNCS): Added _ctors.
Wed Sep 16 23:28:41 1992 Paul Eggert (eggert@twinsun.com)
* cexp.y (parse_number): Warn about '9' in octal constants.
Commonize overflow detection for various radices.
Wed Sep 16 19:33:37 1992 Torbjorn Granlund (tege@mole.gnu.ai.mit.edu)
* pa.md (casesi): Use emit_jump_insn to emit casesi0 pattern.
(xorsi3): Remove `r' from output template.
(movstrsi recognizer): Add `+' to operand 0 & 1 constraints.
Wed Sep 16 14:53:51 1992 Michael Meissner (meissner@osf.org)
* mips.h (MIPS_VERSION): Set Meissner version # to 25.
* mips.c (gen_int_relational): Eliminate all vestiages of
figuring out whether the comparison will always be true or false.
Let the optimizer figure it out.
(gen_conditional_branch): Ditto.
(function_epilogue): Print correct number of half-pic pointers
and references.
(prev_half_pic_refs): New static variable.
(prev_half_pic_ptrs): New static variable.
Tue Sep 15 16:10:47 PDT 1992 Ron Guilmette (rfg at netcom.com)
* toplev.c (rest_of_decl_compilation): Call `dwarfout_file_scope_decl'
immediately for actual *definitions* of file-scope variables (and
file-scope typedefs too).
Tue Sep 15 20:56:31 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu)
* fixincludes (EXINIT): Clear it to avoid problems with bad values.
* fixinc.svr4 (EXINIT): Likewise.
* print-tree.c (print_node): Don't print blank line for null
fields in a TREE_VEC.
* cccp.c (macroexpand): Don't output another error message if have
already output error message returned from macarg.
* c-decl.c (grokparms): Copy parm list if it isn't permanent,
instead of copying it if temporary allocation has been turned off.
* final.c (only_leaf_regs_used): Check for global_regs.
* c-parse.y (typespec): Don't warn if pedantic when typeof used.
* c-tree.h (lang_identifier): Add limbo_value field for out of
scope block level extern declarations.
(IDENTIFIER_LIMBO_VALUE): New define, to access that field.
* c-decl.c (print_lang_identifier): Print value of limbo field.
(pushdecl): Check an extern decl against both previous global and
previous limbo declarations. For global declarations, clear limbo
value field. For block level extern declarations, set limbo field
if zero.
(grokdeclarator): If this is a block level extern, then allocate
it on the permanent obstack, not the temporary obstack.
Tue Sep 15 15:42:24 1992 Paul Eggert (eggert@twinsun.com)
* tree.c (int_fits_type_p): Negative ints never fit unsigned
types, and unsigned ints with top-bit-set never fit signed types.
* c-lex.c (yylex): Integer constant is unsigned for purposes of
int_fits_type_p so that it compares huge constants properly.
Tue Sep 15 14:44:51 1992 Michael Meissner (meissner@osf.org)
* i386.md (string move, string compare): Always issue cld
instruction before doing a rep string move, so that we are
guaranteed that the bytes are moved/compared correctly.
Tue Sep 15 00:09:06 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* gstdarg.h: (va_arg): Cast ptr to void *, then to TYPE *.
* va-i960.h, va-m88k.h, va-mips.h, va-pa.h, va-pyr.h, va-sparc.h:
Likewise.
* rtl.c (ftell): Declaration deleted.
Mon Sep 14 15:17:09 1992 Michael Meissner (meissner@osf.org)
* configure (arg processing): Add --with-stabs switch.
(all mips configurations, except decrose): If --with-stabs, use
the configuration file that emits stabs as the debug debug
configuration, rather than the native MIPS ECOFF format.
Mon Sep 14 13:28:29 1992 Torbjorn Granlund (tege@jupiter.sics.se)
* configure (option case statement): Index with `$next_arg' instead
of `next_arg'. Clean up order and indentation for switches.
(several places): Remove space around assignment `='.
(usage printing): Don't use `-n' for echo (SysV lossage).
Print config.status with `tail +2'.
Mon Sep 14 23:46:19 1992 Paul Eggert (eggert@twinsun.com)
* c-lex.c (yylex): Warn about integers so large that they are unsigned.
* cexp.y (parse_number): Diagnose integer constants that are too large.
Diagnose duplicate `l' and `u' suffixes. Diagnose ` 0x ' and ` 0a '.
Warn about integer constants that are so large that they are unsigned.
Mon Sep 14 10:26:34 1992 Charles Hannum (mycroft@hal.gnu.ai.mit.edu)
* reload1.c (init_reload): Fix typo in last change.
Mon Sep 14 01:17:58 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* reload1.c (init_reload): For reg+reg+const, try various regs.
Sun Sep 13 01:08:06 1992 Paul Eggert (eggert@twinsun.com)
* cexp.y (exp): Detect signed integer overflow.
Replace `(unsigned)' with `(unsigned long)'. When
evaluating << and >>, compute the correct answer without shifting
by more than HOST_BITS_PER_LONG, or by a negative quantity.
(integer_overflow, left_shift, right_shift): New functions.
Sun Sep 13 02:00:52 1992 Torbjorn Granlund (tege@jupiter.sics.se)
* arm.md: Clean up indentation.
* pa.c (output_load_address): Removed. Nothing uses it.
* pa.md (high:DI recognizer): Add return \"\".
* pa.md (sCC, bCC expanders): Remove constraints.
* pa.md (and-with-immediate optimizer): New pattern.
* pa.md (ior-with-immediate optimizer): New pattern.
* pa.c (consec_zeros_p, and_operand, ior_mask_p, ior_operand,
output_and, output_ior): New functions.
* pa.h (output_and, output_ior): Declare.
* pa.h (CONST_OK_FOR_LETTER_P): Add 'O' and 'P'.
* pa.c (compute_xdepi_operands_from_integer): New function.
Some code come from output_zdepi.
(output_zdepi): Removed.
(depi_cint_operand): New name for zdepi_operand.
* pa.md (adddi3): Extend to handle CONST_INT.
* pa.md (movstrsi): Change `!= 4' => `< 4' in test for alignment.
* pa.md (negsi2): Don't use @ for just one output template.
* pa.md (and-not patterns): Make them canonical. Put operands in
the right order.
* pa.md (casesi): Rewrite. Used to be buggy and slow.
* pa.md (several patterns): Make sure # of attribute alternatives
match # of constraint alternatives.
Return assembler output template instead of calling output_asm_insn.
Don't write to operands[n] for n >= max operand number in the
pattern, use xoperands instead.
Sat Sep 12 15:06:57 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* regclass.c (record_reg_classes):
Ignore leading % when examining constraint.
Don't bypass usual cost computation when a pseudo "matches"
a non-pseudo in matching operands.
* c-lex.c (yylex): If integer value overflows so highword is negative,
it needs unsigned long long.
Fri Sep 11 21:09:53 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* sys-types.h (va_alist): Supply `int' as the type to define it as.
Fri Sep 11 12:39:39 1992 Jeffrey A. Law (law@schirf.cs.utah.edu)
* pa.md (non-[cf]branch define_delay): Use a single delay description
for the delay slots in "branch", "call", and "milli" insns.
(fbranch define_delay): fbranches have a single delay slot which
may be nullified when the branch is taken (regardless of direction
or distance to the target.)
(in_branch_delay attribute): Disallow fbranch insns explicitly.
(floating point branches): Use "fbranch" attribute for these insns.
Update output template to properly handle nullification.
Fri Sep 11 10:34:45 PDT 1992 Ron Guilmette (rfg at netcom.com)
* c-decl.c (duplicate_decls): For file-scope redefinitions,
error message distinguishes previous definitions from mere decls.
Fri Sep 11 01:07:11 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* c-convert.c (convert_to_integer): Don't pass truncation thru lshift
if shift count >= width of narrower type. Instead, just use 0.
* we32k.h (SIZE_TYPE): Defined.
Fri Sep 11 00:03:45 1992 Paul Eggert (eggert@twinsun.com)
* c-decl.c (finish_struct): Don't assume that a target integer
fits in a HOST_WIDE_INT when checking bit-field widths.
* c-typeck.c (build_binary_op): Likewise, when checking shift widths.
Thu Sep 10 22:23:10 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* optabs.c (expand_binop):
Convert op1 of shift libcall to word_mode.
Thu Sep 10 18:14:36 1992 Tim Moore (moore@defmacro.cs.utah.edu)
* final.c (shorten_branches): Do shorten branches with delay slots
if the number of delay slots is constant.
* genattrtab.c (write_const_num_delay_slots): New function;
creates const_num_delay_slots ().
(main): Call it.
* genattr.c (main): Write declaration for const_num_delay_slots ().
Thu Sep 10 17:33:42 1992 Michael Meissner (meissner@osf.org)
* mips.md (all move patterns): Do not allow memory to memory or
non-zero constant to memory moves to be generated, which causes
reload to generate the load/store using spilled registers, and
does not allow for efficient CSE or scheduling to be done.
* dec-gosf1.h, iris4g.h: New files.
Thu Sep 10 12:46:17 1992 Torbjorn Granlund (tege@jupiter.sics.se)
* pa.md (casesi): Add `&' to constraint for clobber operand.
* optabs.c (expand_binop): Fix typo, `mode' => `methods'.
Thu Sep 10 00:21:05 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* optabs.c (expand_binop): Delete #ifdef GPC; complex code now uncond.
* optabs.c (init_fixtab): Fix typo for fix_truncdfqi2.
Wed Sep 9 13:25:53 PDT 1992 Ron Guilmette (rfg at netcom.com)
* c-common.c (declare_function_name): Allow for anonymous function.
Wed Sep 9 15:56:09 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* Makefile.in (mostlyclean): Delete xlimits.h.
* final.c (output_addr_const):
If 2nd arg of MINUS is negative integer, put it in parens.
Wed Sep 9 10:10:30 1992 Michael Meissner (meissner@osf.org)
* va-mips.h (va_arg): Handle structures larger than 8 bytes.
(all macros): Put __ in front of all macro arguments.
Wed Sep 9 00:45:02 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* sol2-crt1.asm (.nope): Really store into environ.
* libgcc2.c (__gcc_bcmp): New function, in cond on L__gcc_bcmp.
* Makefile.in (LIB2FUNCS): Add L__gcc_bcmp.
* expr.c (expand_expr): Support IN_EXPR.
Tue Sep 8 20:04:43 1992 Paul Eggert (eggert@twinsun.com)
* c-convert.c (convert_to_integer): When optimizing LSHIFT_EXPR and
RSHIFT_EXPR, do compares at tree level.
* tree.c (build_index_type, build_index_2_type): Don't pass
HOST_WIDE_INT to routine expecting an int. Don't pass negative
value even if hash code is INT_MIN.
Tue Sep 8 17:35:51 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* dbxout.c (dbxout_type_fields): Handle nameless subrecords for Pascal.
(dbxout_type): Handle CHAR_TYPE, BOOLEAN_TYPE. FILE_TYPE, SET_TYPE.
* news.h (ASM_OUTPUT_OPCODE): Deleted.
* c-parse.y (stmt): In for stmt, put proper lineno before increment.
Don't call position_after_white_space.
Tue Sep 8 06:31:17 1992 Michael Meissner (meissner@osf.org)
* cp-typeck.c (constant_print_warning): Deleted.
Tue Sep 8 05:26:19 1992 Mike Stump (mrs@hal)
Tue Aug 18 23:56:16 1992 Ron Guilmette (rfg at netcom.com)
* tree.h (BINFO_VPTR_FIELD): Added to support debugging
information about virtual base class pointers.
Mon Sep 7 19:39:45 1992 Brendan Kehoe (brendan@cygnus.com)
* c-typeck.c (constant_print_warning): Deleted.
* c-common.c: Moved here.
Mon Sep 7 17:03:07 1992 Paul Eggert (eggert@twinsun.com)
* fold-const.c (fold): Check abs for constant integer overflow.
Mon Sep 7 01:31:42 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* c-common.c (check_case_value): Call constant_expression_warning.
* cse.c (simplify_binary_operation): For DIV by 0, do nothing.
* c-decl.c (duplicate_decls): Set DECL_INLINE in newdecl
so it is copied into olddecl.
Sun Sep 6 08:53:46 1992 Fred Fish (fnf at fishpond)
* m68k.md (fsglmul pattern): If FSGLMUL_USE_S, opcode has .s, not .x.
* amix.h (FSGLMUL_USE_S): Defined.
Sun Sep 6 17:42:33 1992 Jeffrey A. Law (law@schirf.cs.utah.edu)
* pa.md (indirect_jump): Annul the next instruction if the delay
slot could not be filled instead of emitting a nop.
* pa.c (output_function_prologue): Undo Aug. 13 change.
If profiling, then this function makes calls. Reflect this in
CALLINFO.
(output_function_epilogue): If profiling, then be restore "rp" here.
* pa.md (use_milli_regs attribute): Deleted, not necessary anymore.
All references deleted.
* pa.c (use_milli_regs): Deleted.
Sun Sep 6 17:11:00 1992 Torbjorn Granlund (tege@jupiter.sics.se)
* arm.h (MOVE_MAX): Define as 4.
* ns32k.c (hard_regno_mode_ok): Don't abort if unknown mode,
return 0 instead. Declare argument MODE as `enum machine_mode'.
* i860.h (HARD_REGNO_MODE_OK): Allow BLKmode.
Sun Sep 6 16:57:12 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* expr.c (init_expr_once): Don't try HARD_REGNO_MODE_OK on VOIDmode
or BLKmode.
Sun Sep 6 14:27:57 1992 Michael Meissner (meissner@osf.org)
* cp-typeck.c (constant_expression_warning): New fn from c-typeck.c.
Sun Sep 6 09:11:46 PDT 1992 Ron Guilmette (rfg at netcom.com)
* c-decl.c (duplicate_decls): Don't set DECL_EXTERNAL in olddecl.
Preserve DECL_UID of olddecl.
Sun Sep 6 03:37:21 1992 James Van Artsdalen (james at bigtex.cactus.org)
* i386.md (cmpstrsi): Rewrite expander to handle operands correctly.
Sat Sep 5 22:55:53 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
* combine.c (try_combine): Make change missing from last modification
to splitting code.
Sat Sep 5 19:21:03 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* stor-layout.c (layout_type): Caller must give size of FILE_TYPE.
Sat Sep 5 16:34:50 1992 Torbjorn Granlund (tege@jupiter.sics.se)
* arm.c (before functions): Remove xmalloc decl.
(arm_asm_output_label): Cast value from xmalloc.
* arm.md (storehi): Use match_operand for operand 0.
Use gen_lowpart to change mode of operand 0.
(storeinthi): Use match_operand for operand 0.
Change output code to reassign operand 0.
(truncsihi2, truncsiqi2, trunchiqi2): Remove these patterns.
Sat Sep 5 02:39:37 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* news.h (ASM_OUTPUT_OPCODE): Defined.
Sat Sep 5 18:52:21 1992 Jukka Virtanen (jtv@kampi.hut.fi)
* stor-layout.c (layout_type): Handle BOOLEAN_TYPE, CHAR_TYPE,
and FILE_TYPE for Pascal.
(fixup_signed_type): New function.
* optabs.c (init_optabs): Use __gcc_bcmp, not real bcmp.
(expand_unop): Handle NEG for complex modes.
(expand_binop): Likewise.
(expand_complex_binop): New function.
* expr.c (emit_move_insn): When moving word by word,
mark the whole thing as a libcall block.
(group_insns): New function.
(expand_expr):
Implement COMPLEX_EXPR, REALPART_EXPR, IMAGPART_EXPR, CONJ_EXPR.
* print-tree.c (print_node): Handle BOOLEAN_TYPE and CHAR_TYPE.
* emit-rtl.c (gen_highpart): New function.
Fri Sep 4 23:20:59 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* i860.md (mulsi3_big): Use low half of result.
Use offset 1 in subregs in actual fmlow insn.
(fmlow pattern): Split this into alternatives for big and little end.
* regclass.c (record_reg_class): For matching operands, handle
case where the earlier one is not a pseudo like the case
where the later one is not a pseudo.
Fri Sep 4 17:24:11 1992 Torbjorn Granlund (tege@jupiter.sics.se)
* pa.c (output_move_double): Use %R to store at auto-incr/decr
addr. Split incr and decr cases for store.
Fri Sep 4 03:49:05 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* gcc.c (main): No program should return the error_count!
Return 2 if failure due to signal, 1 if just errors.
(execute): Increment signal_count.
* move-if-change: Undo previous change.
* c-decl.c (grokparms): Copy arg type list to savable obstack if nec.
Fri Sep 4 19:40:32 1992 Paul Eggert (eggert@twinsun.com)
* c-typeck.c (constant_expression_warning): Now works;
it reports signed integer overflow in constant expressions,
* fold-const.c (left_shift_overflows, same_sign, overflow_sum_sign):
New macros.
(add_double, div_and_round_double, lshift_double, mul_double,
neg_double, const_binop, fold): Check for signed integer overflow.
Propagate overflow flags from operands to result.
(const_binop, fold_convert): Use pedwarn for overflow warnings.
Say `constant expression', not `constant folding', for user's sake.
Thu Sep 3 22:28:41 1992 Brendan Kehoe (brendan@mole.gnu.ai.mit.edu)
Complete 12th Cygnus<-->FSF merge.
Thu Sep 3 12:29:24 1992 Brendan Kehoe (brendan@cygnus.com)
These changes are propagated from changes to c-*.c.
Mon Aug 17 16:28:48 1992 Chip Salzenberg (chip@tct.com)
* cp-decl.c (finish_function): Test only can_reach_end for the
warning about reaching the end of a non-void function.
(grokdeclarator): When promoting an argument, retain unsignedness
if traditional or if promoted type is not really getting wider.
* cp-parse.y (datadef): For empty declaration, use pedwarn.
Mon Aug 17 17:08:11 1992 Chip Salzenberg (chip@tct.com)
* cp-cvt.c (convert): When converting to variant of same type, fold.
Wed Aug 19 16:58:41 1992 Chip Salzenberg (chip@tct.com)
* cp-typeck.c (default_conversion): Convert enumeral types to
appropriate _signed_ type unless -traditional.
Tue Aug 4 13:11:36 1992 Chip Salzenberg (chip@tct.com)
* cp-cvt.c (convert): If main variants match,
but the type is not identical, make a NOP_EXPR.
* cp-decl.c (warn_redundant_decls): Declared.
(duplicate_decls): Optionally warn about redundant declations.
(pushdecl): Never reuse global fcn decl in place of local extern;
just copy some info from it.
(init_decl_processing): __builtin_saveregs returns void *.
(store_parm_decls, finish_function, start_method, finish_method):
Compare TYPE_MAIN_VARIANT against void_type_node.
* cp-decl2.c (warn_redundant_decls): Defined.
(lang_decode_option): Decode -Wredundant-decls.
* cp-typeck.c (build_conditional_expr): Don't use type1 as
temporary variable; set result_type directly.
Tue Aug 4 12:04:17 1992 Chip Salzenberg (chip@tct.com)
* cp-tree.h (C_PROMOTING_INTEGER_TYPE_P): Defined.
* cp-class.c (finish_struct): Use it.
* cp-decl.c (duplicate_decls, grokdeclarator): Ditto.
(grokparms, start_function): Ditto.
* cp-typeck.c (self_promoting_args_p, default_conversion): Ditto.
* cp-parse.y (primary): Set TREE_CONSTANT in the NOP_EXPR for an enum.
Tue Aug 4 09:17:32 1992 Chip Salzenberg (chip@tct.com)
* cp-decl.c (duplicate_decls, grokdeclarator, grokparms):
Use TYPE_MAIN_VARIANT when comparing against specific types.
(build_enumerator): Use STRIP_TYPE_NOPS.
(start_function): Force main() to return "int", not just any
integral type.
* cp-typeck.c (self_promoting_args_p, default_conversion):
Use TYPE_MAIN_VARIANT when comparing against specific types.
(unsigned_type, signed_type): If type is not known, return it
unchanged instead of returning its TYPE_MAIN_VARIANT.
(build_binary_op_nodefault): Use TYPE_MAIN_VARIANT when
comparing against specific types. Also use STRIP_TYPE_NOPS.
Also copy error messages from equivalent code in c-typeck.c.
* cp-parse.y (primary): Wrap a NOP_EXPR around an enum value.
Wed Sep 2 18:06:47 1992 Mike Stump (mrs@cygnus.com)
Wed Sep 2 17:33:59 1992 Chip Salzenberg (chip@tct.com)
* cp-decl.c (grokdeclarator): Default friends to being PUBLIC.
Tue Sep 1 12:33:01 PDT 1992 Ron Guilmette (rfg at netcom.com)
* cp-init.c (do_friends): Always return `void_type_node'.
* cp-decl.c (grokparms): Call digest_init on default arguments for
formal parameters.
* cp-decl.c (xref_tag): The BINFO records describing individual
inheritances aren't shared in the lattice.
Tue Sep 1 12:27:17 1992 Mike Stump (mrs@cygnus.com)
* cp-call.c (convert_harshness, compute_conversion_costs): The
READONLY flag for a const object could be down in the type of the
reference.
* cp-call.c (compute_conversion_costs): Don't ignore the cost of
converting the first argument, if it is not a method. Fixes Mon Aug
31 22:32:34 change.
Tue Sep 1 11:58:52 1992 Mike Stump (mrs@cygnus.com)
* cp-tree.h (THIS_NAME): Use the name ``this'' instead of the more
cryptic name ``$t''.
Mon Aug 31 22:32:34 1992 Mike Stump (mrs@rtl.cygnus.com)
* cp-init.c (build_member_call): When forming method calls that use
a qualified name, convert the instance pointer to the type implied
by the qualification. Base::member_func(); converts this to be a
(Base *).
* cp-call.c (compute_conversion_costs): Don't penalize conversion
of the instance pointer on method calls, as they could be pointers
to base classes.
Mon Aug 31 18:34:33 1992 Brendan Kehoe (brendan@rtl.cygnus.com)
* cp-decl.c (start_function): When a friend function is being
defined, put it in (lexical) scope of the class in which it appears.
Mon Aug 31 09:57:27 1992 Brendan Kehoe (brendan@rtl.cygnus.com)
* cp-typeck.c (build_modify_expr): For assignments to member
variables like "X::i", call resolve_offset_ref to get the lhs; all
the code and checking was in there, it just wasn't being used.
* cp-class.c (finish_struct_methods): Give the name of the class
in question when reporting that all its member functions are
private.
Sun Aug 30 08:34:03 1992 Mike Stump (mrs@rtl.cygnus.com)
* cp-decl2.c (setup_vtbl_ptr): Disable the code, until problems can
be worked around.
Sat Aug 29 10:34:10 1992 Mike Stump (mrs@rtl.cygnus.com)
* cp-init.c (emit_base_init): Undo Sat Jan 18 12:06:58 change by
tiemann that incorrectly makes -pedantic initialization of virtual
base classes 1 or more levels deep impossible.
Sat Aug 29 10:03:07 1992 Mike Stump (mrs@rtl.cygnus.com)
* cp-class.c (finish_struct): Allow extern "C" functions to be
friends.
Sat Aug 29 04:43:22 1992 Mike Stump (mrs@rtl.cygnus.com)
* cp-parse.y (used_extern_spec), cp-decl.c (start_decl,
start_function): Make sure extern in extern "C" (fndef | datadef)
applies to only one decl. Fixes problem introduced on Thu Aug 20
16:11:58.
Thu Aug 27 09:33:13 1992 Brendan Kehoe (brendan@cygnus.com)
* cp-decl.c (grokdeclarator): Name operators properly when
complaining about trying to declare it as a method when not in a
class.
* cp-decl.c (grok_reference_init): Forbid volatile->const refs,
and vice-versa. Also make the tests apply to all types, not just
aggregates. (Now fully compliant with ANSI C++ June 5 1996 WP
section 8.4.3.5.)
* cp-decl.c (shadow_tag): Don't allow a function to be a member of
an anonymous union.
* cp-class.c (finish_struct): For a type that's nested within a
class, use the class value itself when checking a typedef that uses
that new nested type.
Wed Aug 26 20:24:07 1992 Brendan Kehoe (brendan@cygnus.com)
* cp-decl.c (decls_match): When converting from a
pseudo-METHOD_TYPE for a static member fn, handle the static
function being both in the new and old declarations.
(revert_static_member_fn): New function.
* cp-call.c (build_method_call): Put out proper line number for
error with the use of a private constructor.
* cp-decl.c (grokdeclarator): If a storage class is erroneously
specified for an operator, print the operator's name out properly in
the error message (e.g., print `+' instead of `__pl').
* cp-decl.c (grokdeclarator): Allow neither constructors nor
destructors to be declared const or volatile.
* cp-decl.c (grok_op_properties): New argument VIRTUALP.
Use it to disallow declaring new or delete as virtual. Also
use coerce_new_type() and coerce_delete_type() to
sanity-check overloading of new and delete.
(grokfndecl): Give grok_op_properties if the decl is virtual.
(start_method): Likewise.
* cp-tree.c (lvalue_p, ADDR_EXPR case): Casts to references are
lvalues.
Thu Sep 3 02:46:44 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* caller-save.c (setup_save_areas): Don't look at WORDS_BIG_ENDIAN.
* fixincludes: If we find a link pointing to ., make a similar
link to ., not a link to an absolute name.
(stdio.h): Change stdio.h to use stdarg.h to get va_list.
* cexp.y: Comment syntax fix.
Thu Sep 3 01:48:16 1992 Torbjorn Granlund (tege@jupiter.sics.se)
* we32k.md (casesi): Use match_dup for second mention of operand 4.
Wed Sep 2 06:58:32 1992 Michael Meissner (meissner@osf.org)
* gcc.c (default_compilers): Add missing comma between strings, so
that traditional compilers can compile gcc.c.
(main): Don't pass strcpy or strlen a NULL pointer if some of the
spec strings in default_compilers are NULL.
(validate_all_switches): Don't dereference a NULL pointer if some of
the spec strings in defalut_compilers are NULL.
* gcc.c (main): Use new loop var J to avoid conflict with I.
Wed Sep 2 19:09:02 1992 Jeffrey A. Law (law@schirf.cs.utah.edu)
* caller-save.c (init_caller_save): If we were unable to
find a simple insn which meets all its constraints to save
and restore with a single insn in a mode, then set
regno_save_mode to VOIDmode to insure that this mode is never
used to caller-save the current register.
Wed Sep 2 12:34:39 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu)
* caller-save.c (insert_save_restore): Correct test for
determining whether multiple registers can be saved.
* sparc.md (SImode ldd peepholes): Add `f' to constraints.
* sparcv4.h (HANDLE_PRAGMA): Delete.
* sparc.c (handle_pragma_token): Delete.
* config/spc-sol2.h: Change the location of the Sun bundled C
compiler in MD_STARTFILE_PREFIX (for backup defaults).
Wed Sep 2 09:11:16 1992 Tom Wood (wood@dg-rtp.dg.com)
* m88k.h (MOVE_MAX): Express in bytes not bits.
* m88k.c (output_ascii): Output known escape characters and don't
terminate the constant if an octal escape is used.
Wed Sep 2 06:38:37 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
* combine.c (make_compound_operation, case ASHIFTRT): Add new
code to handle (ashiftrt (neg (ashift FOO C1) C2)) just like we
currently handle (ashiftrt (OP (ashiftrt FOO C1) C2) C2).
Wed Sep 2 00:15:42 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* Makefile.in (install): Add semicolon to make an empty command.
* reload.c (find_reloads): If have any earlyclobbers, don't let any
reloads overlap with them. Make everything RELOAD_OTHER.
* move-if-change: Give status 1 if file is unchanged.
* Makefile.in (SYSTEM_HEADER_DIR): New variable.
(xlimits.h): New target, broken out from install-limits-h.
Look in SYSTEM_HEADER_DIR for system's limits.h.
(start.encap): Dep on xlimits.h.
(install-limits-h): Install xlimits.h already made.
* cross-make (SYSTEM_HEADER_DIR): Overridden.
* x-i386sco (X_CFLAGS): Deleted.
* x-i386sco4: New file, like old x-i386sco.
* configure (i386-*-sco3.2v4*): Use x-i386sco4.
* t-sol2 (gmon.o): Find gmon-sol2.c in config.
* c-typeck.c (process_init_constructor): Fix bugs in previous change.
Tue Sep 1 23:51:19 1992 Brendan Kehoe (brendan@rtl.cygnus.com)
* gcc.c (default_compilers, ".C" and ".ii"): Pass `+e*' into cc1plus.
(process_command): Allow +e[012] to be passed down into cc1plus.
* cp-decl.c (lang_decode_option): The options `+e0' thru `+e2' will
be coming in prefixed as `-+e'.
Tue Sep 1 20:09:29 1992 Paul Eggert (eggert@twinsun.com)
* print-tree.c (print_node): Avoid 1 << (HOST_BITS_PER_INT - 1),
which overflows. Use unsigned % to compute HASH.
Tue Sep 1 17:23:28 1992 Tim Moore (moore@hal)
* pa.h (CPP_SPEC, TARGET_SWITCHES): new flags: -mnosnake,
-mpa-risc-1-0, -mpa-risc-1-1.
(ASM_DECLARE_FUNCTION_NAME): Emit argument descriptors for all
general registers if current_function_varargs.
Tue Sep 1 11:27:08 1992 Brendan Kehoe (brendan@rtl.cygnus.com)
* sparc.c (handle_pragma_token): Only use if HANDLE_SYSV_PRAGMA
isn't defined. (We'll be getting the fn from c-pragma.c, then.)
Sat Aug 29 13:44:21 PDT 1992 Ron Guilmette (rfg at netcom.com)
* tree.h (current_block): Decl deleted.
(set_block): Declared.
* stmt.c (expand_fixup): Create a BLOCK node (via pushlevel/poplevel)
to represent an artificial scope containing all of the fixup code.
Also emit NOTE_INSN_BLOCK_BEG/NOTE_INSN_BLOCK_END for that block.
(fixup_gotos): Declaration of NEWBLOCK deleted.
Call `set_block' to use the BLOCK made in expand_fixup.
Deleted code to insert NEWBLOCK into block hierarchy.
* c-decl.c, cp-decl.c (current_block): Function deleted.
(set_block): New function.
(poplevel): If using a previously created block,
don't insert it into the parent level.
* emit-rtl.c (emit_insns_after): Update last_insn if nec.
Tue Sep 1 10:53:58 1992 Torbjorn Granlund (tege@jupiter.sics.se)
* pa.c (output_move_double): Use `ldo' for immediate adds (instead
of `addi' with bad syntax).
(output_load_address): Likewise.
Tue Sep 1 02:41:13 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* tree.h (struct tree_type): Make `align' field an int.
* c-tree.h (IDENTIFIER_LIMBO_VALUE): New macro.
(struct lang_identifier): New field limbo_value.
Mon Aug 31 12:59:22 PDT 1992 Ron Guilmette (rfg at netcom.com)
* tree.c (make_node): Fix typo in July 6 change:
assignment of DECL_IN_SYSTEM_HEADER was inserted in bad place.
Mon Aug 31 21:28:08 1992 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu)
* sched.c (sched_analyze_2): Remove an explicit dependence between
an insn that uses CC0 and the immediately previous insn
(SCHED_GROUP_P represents the dependence).
(schedule_block): Only check sets_cc0_p on an insn.
Mon Aug 31 15:32:13 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* gcc.c (struct compiler): spec field is now array of 4 elements.
(read_specs): Clear the entire new element of compilers.
(lookup_compiler): Copy all of spec array. Check element 0 for @.
(main): Concatenate all elements of compiler spec.
(validate_all_switches): Validate from all elements of compiler spec.
(default_compilers): Split CPP commands into separate strings.
Mon Aug 31 10:06:16 1992 Jeffrey A. Law (law@schirf.cs.utah.edu)
* caller-save.c (restore_referenced_regs): When restoring a
referenced hard register, use CEIL instead of a truncating divide
to determine the maximum number of registers to restore.
(insert_save_restore): Document maxrestore parameter.
(CEIL): Define.
Mon Aug 31 04:02:21 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* fold-const.c (const_binop): Delete special case for mult by 3.
* toplev.c (lang_options): Add terminating zero.
* configure.bat: Remove version number from initial message.
Sun Aug 30 17:22:11 1992 James Van Artsdalen (james at bigtex.cactus.org)
* cccp.c (do_pragma): In prev. change, really use U_CHAR *, not char *.
* aix386.h, i386gas.h, i386sun.h, i386v.h, i386v4.h, i386vgas.h,
seq386.h (TARGET_DEFAULT,VALUE_REGNO,FUNCTION_VALUE_REGNO):
Move from here,
* unx386.h (TARGET_DEFAULT,VALUE_REGNO,FUNCTION_VALUE_REGNO):
To here.
(TARGET_DEFAULT): Make TARGET_IEEE_FP default on.
(VALUE_REGNO): Test for MODE_FLOAT instead of specific modes.
(VALUE_REGNO,FUNCTION_VALUE_REGNO): MODE_FLOAT return reg depends on
TARGET_FLOAT_RETURNS_IN_80387.
* i386.h (TARGET_FLOAT_RETURNS_IN_80387): New macro.
(TARGET_SWITCHES): Add "no-80387", "no-soft-float",
"fp-ret-in-387", and "no-fp-ret-in-387".
Change no* switches to no-*.
(CONDITIONAL_REGISTER_USAGE): Make 387 regs fixed if the 387 is not
used at all.
(REG_CLASS_FROM_LETTER): Constraint letters 'f', 't' and 'u' are
NO_REGS if the 387 is not used.
(TRAMPOLINE_TEMPLATE): Use GEN_INT to generate const_int rtx.
* x-i386v4: New file.
(CLIB): Get alloca from libucb.a.
* configure (i386-*-sysv4*): Use x-i386v4.
Sun Aug 30 15:32:54 1992 Dennis Glatting (dglattin at trirex.com)
* objc-actions.c (create_builtin_decl): Set TREE_STATIC.
Don't set DECL_EXTERNAL or TREE_PUBLIC.
Sun Aug 30 03:08:48 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* c-parse.y (initlist): Handle ranges of array elements.
* c-typeck.c (process_init_constructor): Handle ranges.
* fixincludes: When link points to a dir $dirname outside $INPUT,
copy that dir into $LIB/root$dirname. Translate the link itself
into a link to that new dir. Make a file DONE in each treetop dir
so no treetop is scanned twice. Improve progress messages.
Sat Aug 29 22:41:49 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
* alpha.h (ASM_FILE_START): Object file version number now 8.0.
* alpha.h (ADJUST_COST): New macro.
* alpha.c (alpha_adjust_cost): New function.
* alpha.md: Adjust function unit delays and more precisely
describe function units.
* alpha.h (CONST_OK_FOR_LETTER_P): Add new letters `O' and `P'.
* alpha.c (print_operand, case 'P'): New case.
* alpha.md (ashldi3): Special-case shifts by 1, 2, and 3 bits to
use arithmetic instructions.
Add pattern for sign-extending shifts by 1, 2, and 3 bits.
* alpha.h (INITIALIZE_TRAMPOLINE): Use Pmode when appropriate.
(FUNCTION_MODE): Use Pmode.
* alpha.md (div/mod): Indicate that reg 27 is clobbered too.
* alpha.md (cmov): Add define_split for if_then_else/plus case.
* expr.c (emit_library_call): Pass correct number of args to
convert_to_mode.
* expr.c (emit_block_move): Eliminate unnecessary test against
HOST_BITS_PER_WIDE_INT.
* optabs.c (expand_{binop,unop}): Don't make invalid
paradoxical SUBREGs.
* genattrtab.c (RTL_HASH, attr_rtx): Avoid warnings by casting
pointers to HOST_WIDE_INT instead of int.
Sat Aug 29 15:35:58 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* toplev.c (lang_options): New table.
(main): Recognize all language-dependent options of any language
and always treat them as language-specific and valid.
* c-decl.c (c_decode_option): -fnotraditional really undoes
-ftraditional. Handle -fno-traditional also.
Sat Aug 29 00:34:01 1992 James Van Artsdalen (james at bigtex.cactus.org)
* reg-stack.c (record_reg_life): Mark an unused reg as such, even
if it appears in SET_SRC.
Fri Aug 28 17:40:49 1992 John F Carr (jfc at Athena.MIT.EDU)
* tree.c (chainon): Check for op2 being the last elt of the chain.
Fri Aug 28 13:26:56 PDT 1992 Ron Guilmette (rfg at ncd.com)
* cccp.c (do_pragma): Use rindex, not strrchr.
* tree.h (BLOCK_END_NOTE): Macro definition added.
(struct tree_block): `end_note' field added.
* stmt.c (last_block_end_note): New variable.
(remember_end_note): New function.
(expand_end_bindings): Save NOTE_INSN_BLOCK_END in last_block_end_note.
* c-decl.c, cp-decl.c (poplevel): Call `remember_end_note' for each
newly created BLOCK node.
* integrate.c (adjust_copied_decl_tree): New function.
(save_for_inline_copying): When making copies of NOTE_INSN_BLOCK_END
notes, stash a "forwarding" pointer in the original to point to the
copy. Also, when all BLOCKs & insns for a function have been copied,
call `adjust_copied_decl_tree' to fixup the end_note pointers in the
copied BLOCKs.
Fri Aug 28 13:25:59 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* cccp.c (do_pragma): In prev. change, use U_CHAR *, not char *.
Fri Aug 28 09:11:56 1992 Tom Wood (wood@dg-rtp.dg.com)
* m88k.h (ADJUST_COST): Add definition.
Thu Aug 27 18:27:02 1992 James Van Artsdalen (james at bigtex.cactus.org)
* c-decl.c (init_decl_processing): Add sin and cos as built-in
functions.
* expr.c (expand_builtin): Likewise.
* expr.h (sin_optab,cos_optab): Declare optabs for sin and cos.
* optabs.c (sin_optab,cos_optab): Define them.
(init_optabs): Initialize them.
* tree.h (BUILT_IN_SIN,BUILT_IN_COS): New builtin codes.
* reg-stack.c (record_note_if_dead): Delete function.
(record_reg_life_pat): Rewrite to handle any sort of pattern.
(record_reg_life): Change interface to record_reg_life_pat.
(stack_reg_life_analysis): Don't assume that MODE_FLOAT values are
always returned in a float reg.
(subst_stack_regs_pat): Add support for sin and cos insns.
* i386.c (all gen_rtx (CONST_INT) references): Use GEN_INT to
generate const_int rtx.
(legitimize_pic_address): Pass NULL_RTX instead of "0" as pointer.
* i386.md (all patterns): Use GEN_INT instead of gen_rtx to get
const_ints.
Avoid double-negative "! NON_*" constructs for clarity.
Pass NULL_PTR as null parameter instead of 0.
(sqrtM2): Patterns are only valid if IEEE FP or -ffast-math.
(sinM2,cosM2): New patterns.
(zero_extract test): New pattern.
(movstrsi): Rewrite expander to handle operands correctly.
Thu Aug 27 16:58:09 1992 Michael Meissner (meissner@osf.org)
* genattrtab.c (MAX_DIGITS): New macro to gauge how much space we
need to reserve when printing integers.
(expand_delays): Use sizeof and MAX_DIGITS to properly size the
strings when calling attr_printf.
(expand_units): Ditto.
(encode_units_mask): Ditto.
(make_numeric_value): Ditto.
(oballoc): New macro, to allocate from the hash_obstack.
(convert_const_symbol_ref): Call oballoc instead of xmalloc.
(get_attr_value): Ditto.
(fill_attr): Ditto.
(make_length_attrs): Ditto.
(gen_attr): Ditto.
(gen_insn): Ditto.
(gen_delay): Ditto.
(gen_unit): Ditto.
(find_attr): Ditto.
(main): Ditto.
Thu Aug 27 14:47:16 1992 Mike Stump (mrs@mole.gnu.ai.mit.edu)
* cp-decl.c (curent_block, struct binding_level, poplevel): Copy
Tue Aug 25 16:29:47 and Wed Aug 26 01:56:30 changes in c-decl.c by
rms.
Thu Aug 27 01:32:11 1992 Paul Eggert (eggert@twinsun.com)
* c-lex.c, cp-lex.c (readescape): DEL isn't printable.
* c-typeck.c (check_format): Likewise.
Wed Aug 26 20:42:36 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* c-lex.c (readescape): For \x, don't include leading 0's in count.
* c-decl.c (init_decl_processing): Fix type of __builtin_constant_p.
* expr.c (emit_block_move): When trying movstrMM, cvt size to mode MM.
* c-parse.y (stmt): For computed goto, convert arg to void *.
* fold-const.c (fold): Do A op C1 ? A : C2 opt only for INTEGER_TYPEs.
Wed Aug 26 20:19:56 1992 Mike Stump (mrs@wombat.gnu.ai.mit.edu)
* cp-decl.c (insert_block, delete_block): New functions.
* cp-parse.y (primary, using compstmt): Call delete_block instead
of clearing TREE_USED.
11th Cygnus<-->FSF merge.
Wed Aug 26 12:02:41 1992 Mike Stump (mrs@rtl.cygnus.com)
* cp-decl.c (finish_function): Don't core dump when a conversion is
ambiguous.
Tue Aug 25 16:32:42 1992 Mike Stump (mrs@rtl.cygnus.com)
* cp-init.c (build_new), cp-typeck.c (build_c_cast): Handle ``new
type ( ... )'' better. Default constructors and better error
checking.
Tue Aug 25 01:21:48 1992 Mike Stump (mrs@cygnus.com)
* cp-decl2.c (finish_file): Mark " @%$#@!" as being internal.
Mon Aug 24 16:40:15 1992 Brendan Kehoe (brendan@cygnus.com)
* cp-lex.c (check_newline): For `#pragma implementation', use
strcmp to check if it was done at the top level, rather than relying
on the pointers being the same.
Mon Aug 24 20:48:16 1992 Mike Stump (mrs@cygnus.com)
Fri Aug 21 14:19:27 1992 Ron Guilmette (rfg at ncd.com)
* cp-decl2.c (grokclassfn): Mark the artificial `this' parameter as
"artificial".
Thu Aug 20 22:59:16 1992 Mike Stump (mrs@cygnus.com)
* cp-spew.c (arbitrate_lookup): Make sure the type name in an
argument list followed by &, or &) is seen as a type name, even when
there is an enumeration constant with the exact same name.
Thu Aug 20 21:58:30 1992 Mike Stump (mrs@cygnus.com)
* cp-search.c (get_first_matching_virtual): Don't core dump when a
declaration of a static member is seen with the same name as a base
class virtual function.
Thu Aug 20 21:20:31 1992 Mike Stump (mrs@cygnus.com)
* cp-decl.c (finish_function): Don't core dump on parse errors.
Thu Aug 20 20:52:43 1992 Mike Stump (mrs@cygnus.com)
* cp-method.c (build_component_type_expr): Don't core dump on parse
errors.
Thu Aug 20 18:31:58 1992 Mike Stump (mrs@cygnus.com)
Mon Aug 17 17:08:11 1992 Chip Salzenberg (chip@tct.com)
Copy some changes from the C front-end:
* cp-type2.c (process_init_constructor): Warn about partly bracketed
initializers.
* cp-typeck.c (build_component_ref): Don't warn for compound and
conditional expressions when pedantic. These are valid in ANSI C.
Thu Aug 20 16:11:58 1992 Mike Stump (mrs@cygnus.com)
* cp-decl.c (start_decl), cp-parse.y (have_extern_spec): extern "C"
int i; is only a declaration, but a definition, make it so.
Thu Aug 20 14:46:39 1992 Mike Stump (mrs@cygnus.com)
Thu Aug 20 02:36:39 1992 Ron Guilmette (rfg at ncd.com)
* cp-lex.c (cons_up_default_function): Use DECL_SOURCE_LINE = 0 for
compiler generated things, not DECL_IGNORED_P.
Thu Aug 20 13:13:45 1992 Mike Stump (mrs@cygnus.com)
Wed Aug 19 13:09:45 1992 Ron Guilmette (rfg at ncd.com)
* cp-decl.c (grokdeclarator): Propagate some changes from the C
front-end to deal with variable sized arrays.
Wed Aug 19 16:55:43 1992 Mike Stump (mrs@cygnus.com)
* cp-cvt.c (convert_to_reference): Improve wording on error message.
* cp-method.c (type_as_string), cp-pt.c
(mangle_class_name_for_template), cp-xref.c (GNU_xref_decl): Delete
first argument to type_as_string as it is not needed anymore.
Wed Aug 19 15:29:02 1992 Mike Stump (mrs@cygnus.com)
Wed Aug 19 13:09:45 1992 Ron Guilmette (rfg at ncd.com)
* cp-decl.c (kept_level_p): Update from C frontend.
Wed Aug 19 14:47:08 1992 Mike Stump (mrs@cygnus.com)
* cp-decl2.c (groktypefield): Old style conversion operators
are being desupported. Conversion operators much have an
`operator' in front of them.
Wed Aug 19 01:57:04 1992 Mike Stump (mrs@cygnus.com)
* cp-call.c (ideal_candidate): Fix bug introduced on Jan 21
7:24:21. Warn about ambiguous function calls with multiple
same cost conversions.
Wed Aug 19 00:08:18 1992 Mike Stump (mrs@cygnus.com)
* cp-decl.c (grok_enum_decls): Remove invalid error message.
Mon Aug 17 18:59:18 1992 Mike Stump (mrs@cygnus.com)
* cp-cvt.c (convert_to_reference, convert,
build_type_conversion_1, build_type_conversion), cp-init.c
(build_dynamic_new), cp-typeck.c (build_modify_expr_1,
convert_for_initialization): Always use constructor_name, and
never TYPE_IDENTIFIER (type) and similar things.
* cp-init.c (expand_aggr_init_1): Try TYPE_HAS_CONSTRUCTOR
before wasting time trying build_method_call.
* cp-xref.c: Don't include memory.h.
Mon Aug 17 15:10:21 1992 Mike Stump (mrs@cygnus.com)
* cp-init.c (expand_aggr_init_1): Check for ambiguous
conversion. One through constructor and the other through a
user defined conversion operator.
Mon Aug 17 11:51:27 1992 Mike Stump (mrs@cygnus.com)
* cp-call.c (convert_harshness): When an argument is T, a T&
should be choosen over a const T& when selecting overloaded
functions.
Mon Aug 17 01:37:06 1992 Mike Stump (mrs@cygnus.com)
* cp-call.c (build_method_call): The second argument to
operator delete is sometimes magically deleted.
* cp-decl.c (init_decl_processing, grokfndecl): Global
operator delete never has two arguments.
Wed Aug 5 18:54:19 1992 Mike Stump (mrs@cygnus.com)
* cp-class.c (finish_struct), cp-tree.c (layout_basetypes):
Make sure VFIELD_BASEs are aligned. This fixes a really
annoying problem that causes code that uses complex
inheritance hierarchies that have virtual bases to get a
segmentation fault.
Wed Aug 5 12:35:07 1992 Mike Stump (mrs@cygnus.com)
Wed Aug 5 08:10:34 1992 Tom Wood (wood@dg-rtp.dg.com)
* cp-tree.c (__eprintf): `line' is unsigned.
* cp-lex.c: Include stdlib.h and locale.h if needed.
* cp-typeck.c (mark_addressable): Use DECL_EXTERNAL not
TREE_EXTERNAL.
Wed Aug 5 03:20:07 1992 Mike Stump (mrs@cygnus.com)
* cp-class.c (finish_struct_methods): Check to make sure
operator delete is not overloaded.
* cp-decl.c (grokfndecl): Check to make sure operator delete
is declared properly.
Tue Aug 4 16:52:28 1992 Mike Stump (mrs@cygnus.com)
Mon Aug 3 22:55:04 1992 Michael Meissner (meissner@osf.org)
* cp-decl.c (grokdeclarator): Make sure const and volatile get
put on the type built when building reference types.
* cp-parse.y (attrib): tree_cons takes three arguments, not