--- gcc/ChangeLog 2018/04/24 18:17:31 1.1.1.7 +++ gcc/ChangeLog 2018/04/24 18:36:36 1.1.1.10 @@ -1,7197 +1,5818 @@ -Wed Nov 30 19:13:50 1994 Richard Kenner +Tue Jan 29 02:47:13 1997 Richard Stallman - * Version 2.6.3 released. + * Version 2.7.2.2 released. -Wed Nov 30 19:02:49 1994 Jim Wilson + * configure: Change all ix86 configs to accept i686 as well. - * combine.c (record_dead_and_set_regs_1): Handle SUBREGs. - - * expr.c (convert_move): When emit multiword conversion, force FROM - into a new pseudo-reg if it overlaps TO. - - * fold-const.c (fold_truthop): Delete BIT_AND_EXPR of constants - with masks. - -Wed Nov 30 18:40:32 1994 Jason Merrill (jason@cygnus.com) - - * alpha.h (ENCODE_SECTION_INFO): Don't do anything in g++. - -Wed Nov 30 15:48:29 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * expr.c (emit_block_move): Only use movstr if size is - small enough constant or MODE is at least BITS_PER_WORD. - -Tue Nov 29 16:50:37 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * expmed.c (expand_shift): Open-code rotate even if by a variable. - * optabs.c (init_optabs): Don't set functions for rotl and rotr. - -Mon Nov 28 18:53:06 1994 Dave Love (d.love@dl.ac.uk) - - * Makefile.in (FLAGS_TO_PASS): Fix typo in GCC_FOR_TARGET. - -Wed Nov 23 17:25:43 1994 Ian Dall (dall@hfrd.dsto.gov.au) - - * config/ns32k/{ns32k.c,ns32k.h}: Add -mhimem to - support linking above 0x20000000 boundary. - - * config/ns32k/{netbsd.h,pc532.h, ns32k.c}: Fix meaning - of BASE_REG_NEEDED. - -Wed Nov 23 17:24:24 1994 Matthias Pfaller (leo@marco.de) - - * configure (ns32k-pc532-netbsd): No need for fixincludes - and libgcc1. - * ns32k/ns32k.h (CONST_COSTS): Correct range is -0x1fff to 0x2000. - * ns32k/ns32k.md (everywhere): Correct range is -0x1fffffff - to 0x20000000, others have to be loaded with movd. - Shortcircuit with TARGET_32532 as early as possible. - (movsi): Use movd to load unknown symbol values. to allow - * ns32k/ns32k.c (print_operand): Removed dead code. - * ns32k/pc532.h (TARGET_DEFAULT): Forbid usage of bitfield - instructions. - -Wed Nov 23 14:09:42 1994 Jim Wilson (wilson@cygnus.com) - - * mips.c (mips_output_external): Exclude __builtin_next_arg from list - of used external functions. - -Wed Nov 23 13:30:52 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * expr.c (emit_move_insn): If splitting up into individual words - and X is a push_operand, do the push and reference top of stack. - -Tue Nov 22 06:29:21 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * fold-const.c (fold_convert): Don't fold conversion if it would - produce constant larger than we can support. - * emit-rtl.c (gen_lowpart_common): Do nothing if size is - greater than twice host wordsize, not just if equal. - - * optabs.c (emit_no_conflict_block): Just emit the insns if - the block contains something not an INSN or has an embedded block. - -Mon Nov 21 18:41:42 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * varasm.c (output_constant): When eliminating conversions, - treat ARRAY_TYPE like a record. - - * m68k.md (movqi): Fix typo in push/pop case. - -Mon Nov 21 17:59:07 1994 David Edelsohn - - * aix41.h (LINK_SPEC): New overriding defintion. - -Fri Nov 18 19:10:24 1994 Kresten Krab Thorup (krab@next.com) - - * objc/object.c (class_create_instance): Replace memchr - with memset. - -Fri Nov 18 18:53:57 1994 Philippe De Muyter (phdm@info.ucl.ac.be) - - * cccp.c (create_definition): Allow carriage-return ('\r') - as white space in simple or empty expansion. - -Fri Nov 18 18:30:40 1994 Douglas Rupp (drupp@cs.washington.edu) - - * winnt/ld.c (main): Fix off-by-one error allocating sdbuff. - -Fri Nov 18 14:16:04 1994 Chris Huey (cah@tactix.rain.com) - - * Makefile.in (objc-parse.y, mostlyclean): Rename temp file - for objc-parse.y to be under 14 characters. - -Thu Nov 17 17:26:02 1994 Mark P. Gooderum (mark@good.com) - - * stddef.h: Include on NetBSD. - Check for _BSD_XXX_T_ as well as _XXX_T_. - Add _BSD_XXX_T_ to list of defines to check and define for a given - type for SIZE_T, PTRDIFF_T, and WCHAR_T. - -Thu Nov 17 11:11:50 1994 Mike Collison (collison@sw.stratus.com) - - * dsp16xx.c (notice_update_cc): Removed reference to obsolete LSHIFT. - * dsp16xx.h (RTX_COSTS): Likewise. - -Thu Nov 17 11:06:43 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * alpha.c (some_operand): New function. - * alpha.h (PREDICATE_CODES): Add `some_operand'. - * alpha.md (addsi3, adddi3): For patterns valid only - during reload, allow operand 1 to be `some_operand'. - - * flow.c (find_auto_inc): Insert missing "return" statement. - - * c-common.c (print_char_table): Allow `L' for `u'. - -Wed Nov 16 19:28:46 1994 Jim Wilson (wilson@chestnut.cygnus.com) - - * loop.c (move_movables): For move_insn case, skip notes when deleting - instructions. - -Tue Nov 15 19:29:04 1994 Per Bothner - - * tree.c (staticp): A non-nested function is always static. - -Tue Nov 15 19:07:00 1994 Warner Losh (imp@village.org) - - * i386/freebsd.h (NO_IMPLICIT_EXTERN_C): Define. - -Tue Nov 15 18:57:46 1994 Jim Wilson (wilson@chestnut.cygnus.com) - - * reorg.c (relax_delay_slots): When invert a conditional jump over a - single unconditional jump, invert the INSN_FROM_TARGET_P bit of insns - in the delay slots. + * configure (i[345]86-*-linuxlibc1*): Renamed from i[345]86-*-linux*. + (i[345]86-*-linux*): New alternative, changed slightly from old one. + (m68k-*-linux*): Changed to work with libc v2. + + * config.guess: Disinguish *-unknown-linux and *-unknown-libc1. - * reorg.c (redundant_insn_p): Change return type to rtx. Return the - redundant insn instead of true. - (update_reg_unused_notes): New function. - (fill_slots_from_thread): Call update_reg_unused_notes after one of - the redundant_insn_p calls. + * config/t-linux-libc1: New file. -Tue Nov 15 18:39:33 1994 Torbjorn Granlund (tege@tiny.cygnus.com) + * config/i386/linux.h (LINK_SPEC, CPP_SPEC): + Add new alternative definitions; + relegate the old ones to LIBC_VERSION_1 case. + [! LIBC_VERSION_1] (LIB_SPEC): New override definition. - * expmed.c (expand_divmod, case ROUND_DIV_EXPR): Implement. - * expr.c (do_jump_by_parts_greater_rtx): No longer static. - (expand_expr): Delete code for plain `abs'. - * optabs.c (expand_abs): New function, code moved from expand_expr. - * expr.h: Declare expand_abs. +Sat Jun 29 12:33:39 1996 Richard Kenner -Mon Nov 14 19:16:00 1994 Dennis Glatting + * Version 2.7.2.1 released. - * fixincludes: Fixes for NextStep 3.2. Remove ``__const__'' from - sin and cos prototypes in ansi/math.h. Remove keyword ``template'' - from bfd/libc.h. Remove ``volatile'' from abort in bsd/libc.h - and abort and exit in ansi/stdlib.h. +Tue Jun 11 20:18:03 1996 Per Bothner -Mon Nov 14 18:54:28 1994 Douglas Rupp (drupp@cs.washington.edu) + * fix-header.c (read_scna_file): Invoke FIXPROTO_INIT if defined. + * alpha.h (FIXPROTO_INIT): Define new macro. - * i386/x-winnt (EXTRA_PROGRAM): Match target name. +Fri May 10 18:35:00 1996 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Mon Nov 14 18:48:21 1994 Torbjorn Granlund (tege@tiny.cygnus.com) + * loop.c (maybe_eliminate_biv_1): Disable all but two cases + of biv elimination with givs and restrict those two cases to + an ADD_VAL that is an address. - * freebsd.h (INCLUDE_DEFAULTS): Move definition beyond - FREEBSD_NATIVE conditional. - (FUNCTION_PROFILER): Move down to make file more similar to - netbsd-i386.h. - (DEFAULT_TARGET_MACHINE, etc): Comment our this braindamage! +Mon Apr 22 16:50:19 1996 Jeremy Bettis -Mon Nov 14 18:46:18 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * objc/hash.c (hash_value_for_key): Prevent endless loop when 0 was + stored in a hashtable. - * calls.c (expand_call): If IS_CONST and VALREG == 0, end our - sequence and emit the insns. +Wed Apr 17 17:53:23 1996 Michael Meissner -Sat Nov 12 06:35:42 1994 Richard Kenner + * rs6000.c (expand_block_move_mem): Copy RTX_UNCHANGING_P. + (expand_block_move): Copy dest/src to registers using + copy_addr_to_reg, call expand_block_move_mem to copy all of the + bits. - * Version 2.6.2 released. +Mon Apr 8 13:46:28 1996 Michael Meissner -Sat Nov 12 06:35:21 1994 Torbjorn Granlund (tege@cygnus.com) + * rs6000.c (output_{prolog,epilog}): For V.4/eabi systems, change + prologue and epilogue so that accesses beyond the current stack + pointer are not done like they are for AIX. - * expmed.c (expand_divmod, case TRUNC_DIV_EXPR): Promote signed - division by 0x80000000 to unsigned. +Fri Mar 26 05:43:06 1996 Torbjorn Granlund -Fri Nov 11 17:07:35 1994 Michael Meissner (meissner@osf.org) + * vax.md (insv matcher): Call CC_STATUS_INIT. + * vax.h (NOTICE_UPDATE_CC): Handle ZERO_EXTRACT destination. - * c-common.c (decl_attributes): Add double-underscore version of - printf and scanf for format type. +Sat Mar 23 18:25:39 1996 J"orn Rennecke (amylaar@meolyon.hanse.de) -Fri Nov 11 16:38:04 1994 Jim Wilson (wilson@chestnut.cygnus.com) + * c-typeck.c (set_init_index): Check for use outside an array + initializer. - * mips-tdump.c: Include . Delete ctime prototype. +Sat Mar 23 09:21:40 1996 Doug Evans -Fri Nov 11 14:16:00 1994 Holger Teutsch + * sparc/sparc.h (CONDITIONAL_REGISTER_USAGE): Don't unfix %g[234] + if fixed with -ffixed-. - * clipper.md (movsi+1): Allow r->m move during reloading. +Wed Mar 13 20:36:10 1996 Jim Wilson -Fri Nov 11 12:40:51 1994 Richard Kenner + * mips.c (mips_expand_prologue): Change TYPE_NEEDS_CONSTRUCTING to + TREE_ADDRESSABLE; + * pa.h (ASM_DECLARE_FUNCTION_NAME): Likewise. - * c-decl.c (duplicate_decls): Properly merge decls with - differing DECL_CONTEXT. +Tue Mar 12 14:36:02 1996 Jason Merrill - * function.c (preserve_rtl_expr_result): find_temp_slot_from_address - now used. - Don't bring the temp slot to an inner level than it was. - (assign_stack_temp): Always initialize p->rtl_expr. + * lex.c (real_yylex): Warn about using the `namespace' keyword. - * m68k/mot3300g.h (SPACE_AFTER_L_OPTION): Deleted. +Tue Feb 27 08:18:12 1996 Richard Earnshaw (rearnsha@armltd.co.uk) -Thu Nov 10 18:50:52 1994 Kresten Krab Thorup (krab@next.com) + * arm.md (mov{si,sf,df}cc and matchers): All conditional move + patterns must have a mode. - * objc/list.h: Add ifndef/define for repeated inclusion. +Mon Feb 19 07:35:07 1996 Torbjorn Granlund -Thu Nov 10 18:02:58 1994 Michael Meissner + * rs6000.md (not:SI with assign and compare): Fix typo. - * c-common.c (decl_attributes): Check for attributes with leading - and trailing double underscores. +Wed Jan 24 18:00:12 1996 Brendan Kehoe -Thu Nov 10 17:55:07 1994 Chris Metcalf (metcalf@catfish.lcs.mit.edu) + * alpha.c (alpha_write_verstamp): Only emit MS_STAMP and LS_STAMP, + not the extra numbers. - * fixincludes: Make argument type const for popen and tempnam in - stdio.h and for strdup in string.h, for OSF/1 V3.0. +Wed Jan 17 21:22:40 1996 Brendan Kehoe - * va-alpha.h (va_arg): Add cast to void * to suppress warning. + * cp/decl2.c (grokfield): Call cplus_decl_attributes with the attrlist. + Pass a null tree to grokdeclarator for its ATTRLIST arg, since it's + only ever used for functions in it. -Thu Nov 10 17:48:21 1994 Walter Misar (hrz.th-darmstadt.de) +Tue Jan 16 06:01:28 1996 Thomas Graichen - * m68k/hp320.h (FUNCTION_{PRO,EPI}LOGUE): Don't define. - (IMMEDIATE_PREFIX, REGISTER_PREFIX): Define. + * i386/freebsd.h (ASM_WEAKEN_LABEL): Deleted; not supported. -Thu Nov 10 15:04:57 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Sun Jan 7 17:11:11 1996 David Edelsohn - * m68k/crds.h (FUNCTION_{PRO,EPI}LOGUE): Add code to adjust stack - when no frame pointer. - * m68k.c (output_function_epilogue): Use a1 as scratch, not a0. - * m68k/tower-as.h (FUNCTION_{PRO,EPI}LOGUE): No longer defined. - (FUNCTION_EXTRA_EPILOGUE): Define. - * m68k/tower.h (REGISTER_PREFIX, IMMEDIATE_PREFIX): Define. + * collect2.c (scan_libraries): Correct Import File ID interpretation. - * i386/x-sco, i386/x-sco4 (CLIB): Add -lPW. - (ALLOCA): Delete. +Thu Dec 28 22:24:53 1995 Michael Meissner - * c-common.c ({print,scan}_char_table): Allow `L' modifier - for integer output formats. - (check_format_info): Treat `ll' like `q'. + * rs6000.md (common mode functions): Add condition reg clobbers. - * rs6000.md (movsi): In TOC symbol case, use "la" for PowerPC. - (movdi): Handle TOC symbol just like movsi. +Tue Dec 19 15:08:31 1995 Jason Merrill - * objc-act.c (init_objc): Add missing casts to args of bcopy. - (lang_init): Ensure line number is 0, not -1. + * collect2.c: Remove auto_export functionality. -Tue Nov 8 07:51:53 1994 Paul Eggert +Mon Dec 18 18:40:34 1995 Jim Wilson - * cccp.c (dump_single_macro, dump_defn_1): If -traditional, - dump macros in traditional style. This also avoids a bogus error - message if the macro uses traditional stringizing. + * svr4.h (ASM_IDENTIFY_GCC): Don't output stab here. + (ASM_IDENTIFY_GCC_AFTER_SOURCE): Output stab here instead of + above. -Mon Nov 7 21:28:13 1994 Michael I Bushnell +Sat Dec 16 07:03:33 1995 Philippe De Muyter (phdm@info.ucl.ac.be) - * protoize.c [!POSIX]: Only define O_RDONLY and O_WRONLY if not - already defined. + * stor-layout.c (layout_record): When PCC_BITFIELD_TYPE_MATTERS, + compute bitpos using field_size % type_align instead of field_size. -Mon Nov 7 19:33:31 1994 Jim Wilson (wilson@mole.gnu.ai.mit.edu) +Fri Dec 15 18:41:50 1995 Philippe De Muyter (phdm@info.ucl.ac.be) - * combine.c (try_combine): Update split_code after converting MULT - to ASHIFT. + * fixincludes (sys/wait.h): Add forward declaration of struct rusage + on AIX 3.2.5. -Mon Nov 7 12:26:24 1994 Torbjorn Granlund +Sat Dec 9 18:05:03 1995 Jim Wilson - * rs6000.md (DImode load-with-update matcher): Fix typo in MEM mode. - (compare patterns): Fix several typos, SImode => CCmode. - * sh.md (subdi3): Delete % from constraints. - * 1750a.md (subqi3): Likewise. - * clipper.md (subdi3): Likewise. - * i370.md (subqi3): Likewise. - (anonymous subqi3 matcher): Likewise. - * i860.md (subdi3): Likewise. - * dsp16xx.md (mulqi3): Fix typo in MULT mode. - * elxsi.md (one_cmplsi2): Fix typo in NOT mode. + * expr.c (expand_expr, case INDIRECT_REF): Correct typo in May 8 + change. -Mon Nov 7 12:47:37 1994 Ian Lance Taylor +Sun Nov 26 14:47:42 1995 Richard Kenner - * m68kv4.h (ASM_IDENTIFY_GCC): Use proper definition for SGS assembler. + * Version 2.7.2 released. -Mon Nov 7 11:02:25 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * function.c (fixup_var_refs_1): Make pseudo for DEST + in PROMOTED_MODE unless in a SUBREG. - * gcc.c (process_command): Ignore LIBRARY_PATH and LPATH if - cross-compiler. + * cse.c (insert): Don't put a REG into qty_const. -Sun Nov 6 07:23:37 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * msdos/top.sed: Change version to 2.7.2. + * winnt/config-nt.sed: Likewise. - * cross-test.c (foo): Return value for BU in range for shifts. +Sun Nov 26 14:41:49 1995 Douglas Rupp (drupp@cs.washington.edu) -Sat Nov 5 14:25:36 1994 Jim Wilson (wilson@chestnut.cygnus.com) + * Makefile.in (stamp-objlist): Change .o to $objext. - * m68k.h (PREFERRED_RELOAD_CLASS): FP constants rejected by 'G' - are OK for class FP_REGS. + * alpha/win-nt.h (CPP_PREDEFINES): Set __unaligned and __stdcall + to null. + (ASM_SPEC): Add a translation for -g to -Zi. + * winnt/ld.c (main): Don't pass -g to link. + * winnt/oldnames.c: Reformat and add some new functions for gnat1. + * winnt/win-nt.h (LINK_SPEC): Pass -g to ld.exe. + Increase default stack size. + * configure ({alpha-dec,i386-ibm}-winnt3.5): Add oldnames.o + to extra_objs. + * libgcc2.c (trampoline): Add getpagesize and mprotect for WINNT. + +Sun Nov 26 14:25:26 1995 Uwe Seimet (seimet@chemie.uni-kl.de) -Sat Nov 5 14:08:31 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * atari.h (FUNCTION_VALUE): Deleted; incorrect. - * calls.c (store_one_arg): Preserve any temp slots whose address - may have been taken. +Sun Nov 26 14:23:03 1995 Philippe De Muyter (phdm@info.ucl.ac.be) - * real.c (GET_REAL, PUT_REAL): Cast args to bcopy to char *. - * reload1.c (reload): Likewise. - * i386.c ({save,restore}_386_machine_status): Likewise. - * reg-stack.c (subst_asm_stack_regs): Likewise. - (BLOCK_NUM): Rework to avoid cast of abort to int *. - (find_blocks): Don't use BLOCK_NUM on lhs. - (reg_to_stack, record_arg_reg_life): Cast arg to bzero to char *. + * fixincludes (curses.h): Allow space or tab after bool keyword, + instead of tab or tab. -Sat Nov 5 08:29:45 1994 Paul Eggert +Sun Nov 26 14:14:11 1995 Oliver Kellogg (oliver.kellogg@space.otn.dasa.de) - * cccp.c (rescan): Do not preserve newlines after macro name - if rescanning a macro expansion. Instead, preserve them if - not outputting marks. + * 1750a.md (pattern for HImode PSHM): Corrected. + (trunchiqi2, zero_extendqihi2, extendhftqf2): Corrected. + (pattern for movhi of CONST_INT to REG): Corrected. + (divmodqi pattern for DISN): Corrected. + (all shift patterns): Corrected. -Fri Nov 4 17:25:29 1994 John David Anglin (dave@hiauly1.hia.nrc.ca) + * 1750a.h (REG_OK_FOR_INDEX_P, REG_OK_FOR_BASE_P): Corrected. + (ASM_OUTPUT_[datatype]): Corrected datalbl[].size computation + for output of arrays. - * vax.c: Include tree.h and VMS-specific functions #ifdef VMS_TARGET. - * vms.h (VMS_TARGET): Define. +Sun Nov 26 14:08:57 1995 Dave Love -Fri Nov 4 17:19:30 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * mips/iris5.h (NO_IMPLICIT_EXTERN_C): Define this again so + that unistd.h doesn't get badly `fixed' for C++. libg++ will now + build with this definition. - * bi-arity.c (main): Cast enum to char in output. - * bc-emit.c (bc_emit_bytecode): Add missing cast. +Sun Nov 26 14:02:43 1995 Robert E. Brown (brown@grettir.bibliotech.com) -Thu Nov 3 18:55:42 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * configure: Better workaround for Nextstep bug. - * Makefile.in (c-parse.o, c-lex.o): c-parse.h is in $(srcdir). +Sun Nov 26 13:55:07 1995 Torbjorn Granlund -Thu Nov 3 18:11:56 1994 John F Carr (jfc@mit.edu) + * rs6000.md (load_multiple matcher): Fix typo in opcode. - * rs6000.md (movsi): New alternative for SYMBOL_REF source operand. - * rs6000.c (print_operand): New code '*' to print TOC register number. - (input_operand): Allow address of TOC entry. - * rs6000.h (EXTRA_CONSTRAINT): 'R' matches a SYMBOL_REF for TOC entry. - (PRINT_OPERAND_PUNCT_VALID_P): Recognize '*'. - (PREDICATE_CODES): input_operand can now match SYMBOL_REF. +Sun Nov 26 13:51:08 1995 Lee Iverson -Thu Nov 3 18:03:24 1994 Jason Merrill (jason@phydeaux.cygnus.com) + * final.c (final_start_function): Move call to sdbout_begin_function + back to final_scan_insn on MIPS systems so parameter descriptions are + recognized. - * cccp.c: TOOL_INCLUDE_DIR is not C++-aware. +Sun Nov 26 13:43:06 1995 DJ Delorie (dj@delorie.co)m -Thu Nov 3 17:23:30 1994 Jim Wilson (wilson@chestnut.cygnus.com) + * msdos/top.sed: Don't insert "go32". - * mips.c (mips_output_external): Exclude alloca from list of - used external functions. +Sun Nov 26 12:08:23 1995 Jim Wilson -Tue Nov 1 19:19:41 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * combine.c (nonzero_bits, case REG): Put POINTERS_EXTEND_UNSIGNED + code before stack pointer code. Return nonzero at end of stack + pointer code. - * Version 2.6.1 released. + * sparc.h (PRINT_OPERAND_ADDRESS): Handle CONST inside PLUS. -Tue Nov 1 18:51:00 1994 Torbjorn Granlund (tege@cygnus.com) + * Makefile.in (cppalloc.o): Add a rule to build it. - * pa.md (add_high_const): Add missing mode for PLUS. + * alpha.c (alpha_emit_set_const): Don't output SImode sequences + that rely on invisible overflow. Sign extend new when SImode. + Don't recur if new == c. Don't allow shift outside mode. Make + logical right shift be unsigned. -Tue Nov 1 18:39:53 1994 Stephen L Moshier (moshier@world.std.com) +Sun Nov 26 11:37:50 1995 Arne H. Juul (arnej@idt.unit.no) - * cse.c (simplify_unary_operation, case TRUNCATE): Set LV and HV. + * Makefile.in (compare*): Add "|| true" to avoid spurious + failure messages from some versions of make. -Tue Nov 1 18:36:23 1994 Pat Rankin (rankin@eql.caltech.edu) +Sun Nov 26 11:20:09 1995 Dmitry K. Butskoy (buc@stu.spb.su) - * vax.c (struct extern_list): Put code back outside of #ifdef VMS. - (vms_check_external, vms_flush_pending_externals): Likewise. + * expr.c (truthvalue_conversion): Add declaration. -Mon Oct 31 16:18:12 1994 Michael Meissner +Sun Nov 12 18:09:35 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * i386/i386.md (movsf, movdf, movxf): If we are moving floating - point constants to a non-memory location that aren't 0 or 1, - assume we need the pic register if -fpic. + * Version 2.7.1 released. -Mon Oct 31 13:26:45 1994 Jim Wilson (wilson@mole.gnu.ai.mit.edu) + * function.c (put_reg_into_stack): New arg volatile_p. + (put_var_into_stack): Call with new arg. - * sparc.h (GO_IF_LEGITIMATE_ADDRESS): Don't allow TFmode LO_SUM. - * sparc.md (movtf+3): Disable pattern. +Sat Nov 11 08:25:34 1995 Jim Wilson -Mon Oct 31 08:11:47 1994 Doug Evans + * reload.c (output.h): Include it. + * Makefile.in (reload.o): Add dependence on output.h. - * expr.c (expand_expr, COND_EXPR case): Don't use original target as - a temp if it's a volatile mem ref. Finish previous patch (don't - expand "X ? A & 1 : A" as "A & (X != 0)"). +Thu Nov 9 11:24:20 1995 Jim Wilson -Mon Oct 31 08:07:09 1994 Pat Rankin (rankin@eql.caltech.edu) + * mips.h (HARD_REGNO_NREGS): If FP_REG_P, always use UNITS_PER_FPREG + to calculate number of words needed. - * vax.c: Include tree.h #ifdef VMS. - (struct extern_list): Move inside #ifdef VMS; add SIZE and IN_CONST - fields; make `extern_head' static; add second list head. - (vms_check_external): Move inside #ifdef VMS; give new args; maintain - list of both pending external symbols and previously defined ones. - (vms_flush_pending_externals): New function. - * vax/vms.h (ASM_GLOBALIZE_LABEL): Pass new args to vms_check_external. - (ASM_OUTPUT_EXTERNAL): Just call vms_check_external. - (ASM_{,FINISH_}DECLARE_OBJECT_NAME, ASM_FILE_END): Define. +Thu Nov 9 11:04:50 1995 Oliver Kellogg (Oliver.Kellogg@space.otn.dasa.de) -Mon Oct 31 08:00:59 1994 Michael Gschwind (mike@vlsivie.tuwien.ac.at) + * 1750a.md (cmphf): Addd Base Reg with Offset address mode (LB,STB,..) + (movqi,movhi,movhf,addqi3,addhf3,subqi3,subhf3,mulqihi3): Likewise. + (mulhf3,divhf3,andqi3,iorqi3): Likewise. + (define_peephole): Remove the Base mode peepholes. Replace the + special addqi define_insn for "LIM Ra,sym,Rb" by a define_peephole. + (ashlqi3): Took out futile 0th alternative. + (lshrqi3, lshrhi3, ashrqi3, ahsrhi3): Correct case of non-constant + shift count. - * pdp11.h (TARGET_SWITCHES): Add -split and -no-split. - (TARGET_SPLIT, TARGET_NOSPLIT): New macros. - (TRAMPOLINE_TEMPLATE, INITIALIZE_TRAMPOLINE): Abort if -split. + * 1750a.h (REG_ALLOC_ORDER): Define. + (REGNO_OK_FOR_BASE_P): Include stack pointer in test against + reg_renumber[REGNO]. + (ASM_OUTPUT_DESTRUCTOR): Remove bogus assembler comment. -Mon Oct 31 07:53:34 1994 Warner Losh +Thu Nov 9 11:01:33 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * i386/x-freebsd (CLIB): Add definition. + * expr.c (expand_expr, case ARRAY_REF): Properly convert types + of index, size, and multiplication. -Mon Oct 31 07:49:17 1994 Jeffrey A Law +Wed Nov 8 09:00:22 1995 Richard Earnshaw (rearnsha@armltd.co.uk) - * reorg.c (mark_set_resources): Properly handle SUBREGs. + * arm.md (mov*cc_{,soft_}insn): Use match_operator to test the + comparison and check that the condition code register is used. -Mon Oct 31 07:24:32 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Wed Nov 8 08:49:35 1995 Michael Meissner - * expr.c (expand_expr, case COMPONENT_REF): Don't extract - field from a CONSTRUCTOR if it already has a TREE_CST_RTL. - (expand_expr, case ADDR_EXPR): Call mark_temp_addr_taken - on the temporary made when operand needs to be stored into memory. - * function.c (preserve_temp_slots): Preserve anything whose - address was taken when X is zero. + * rs6000/sysv4.h (ASM_OUTPUT_{CONSTRUCTOR,DESTRUCTOR}): Undef before + including svr4.h. -Sun Oct 30 15:11:51 1994 Richard Kenner +Tue Nov 7 10:58:12 1995 Torbjorn Granlund - * msdos/top.sed, i386/config-nt.sed: Update version to 2.6.1. - * pa/t-pa-hpux: Add missing newline at end. + * m68k.md (subxf3): Properly name pattern. -Sat Oct 29 21:16:29 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Tue Nov 7 10:53:09 1995 Michael Meissner - * emit-rtl.c (operand_subword): Fix typo: HOST_BITS_PER_INT - should be HOST_BITS_PER_WIDE_INT. + * libgcc2.c (__{C,D}TOR_LIST): For AIX, initialize these arrays to + 0,0, just like NeXT to avoid a warning message from the AIX 4.1 + linker. -Fri Oct 28 19:13:13 1994 Andrew McCallum (mccallum@vein.cs.rochester.edu) +Tue Nov 7 09:58:34 1995 John F. Carr - * objc/misc.c (__objc_xcalloc): Use calloc instead malloc/bzero. + * cppexp.c (cpp_lex): Correctly parse character constants. -Fri Oct 28 19:07:53 1994 Michael Gschwind (mike@vlsivie.tuwien.ac.at) +Tue Nov 7 09:52:15 1995 Jason Merrill - * pdp11.h (TRAMPOLINE_SIZE): Install real implementation. - (INITIALIZE_TRAMPOLINE, TRAMPOLINE_TEMPLATE): Likewise. + * rs6000.h (ASM_OUTPUT_{DES,CONS}TRUCTOR): Define. -Fri Oct 28 19:01:27 1994 Craig Burley (burley@gnu.ai.mit.edu) +Mon Nov 6 10:27:15 1995 Doug Evans - * Makefile.in (stage?-start): Add semicolon between fi and done. - -Fri Oct 28 17:12:26 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * combine.c (force_to_mode): Fix typo. - * cse.c (cse_insn): Don't record a DEST if paradoxical SUBREG - and SRC is a SIGN_EXTEND or ZERO_EXTEND. +Sun Nov 5 18:37:02 1995 Torbjorn Granlund - * alpha.md (reload_outqi): Correctly handle scratch assignments - for unaligned case when ADDR is a REG. + * m68k.md (cmpxf): Don't call force_const_mem, it looses for PIC; + get predicates right instead. Get rid of separate DEFINE_EXPAND. + (addxf3, subxf3, mulxf3, divxf3): Likewise. + (All XFmode patterns): Delete `F' and `G' constraints. + (absxf2, negxf2): Delete spurious condition on TARGET_FPA. -Fri Oct 28 07:55:40 1994 Michael Meissner (meissner@osf.org) +Sun Nov 5 11:05:44 1995 Philippe De Muyter (phdm@info.ucl.ac.be) - * i386/i386.md (adddi3): Fixup code in case operands[0] is equal - to operands[2]. + * fixincludes (malloc.h): Fix return type of {m,re}alloc. -Thu Oct 27 18:58:39 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Sun Nov 5 11:02:26 1995 J"orn Rennecke (amylaar@meolyon.hanse.de) - * reload1.c (count_possible_groups): Fix typo in setting - counted_for_groups. + * cse.c (invalidate): For a pseudo register, do a loop to + invalidate all table entries, irrespective of mode. -Thu Oct 27 15:30:41 1994 Per Bothner +Sun Nov 5 10:57:43 1995 Richard Kenner - * c-typeck.c (process_init_element): In the case of - [LO .. HI] = VALUE, use save_expr to only evaluate VALUE once. + * combine.c (force_to_mode): Put in last change properly. -Thu Oct 27 15:15:25 1994 Torbjorn Granlund (tege@rtl.cygnus.com) +Sun Nov 5 10:53:49 1995 Jeffrey A Law (law@cygnus.com) - * gcc.c (process_command): Don't forget to split -Wl arguments at - commas. + * pa.h (CONDITIONAL_REGISTER_USAGE): Make sure FP regs + get disabled regardless of PA1.0 vs PA1.1 code generation + when TARGET_SOFT_FLOAT or TARGET_DISABLE_FPREGS is on. - * gcc.c (process_command): Handle -Wl, and -Xlinker similar to -l, - i.e., preserve their order with respect to linker input files. +Sun Nov 5 10:49:43 1995 Doug Evans -Thu Oct 27 13:11:16 1994 Douglas Rupp (drupp@cs.washington.edu) + * i960.c (emit_move_sequence): Add a scratch register to + multi-reg stores. + (i960_output_move_{double,quad}): New functions. + (i960_print_operand): Handle new operand types E, F. + * i960.md (movdi matchers): Rewrite. + (store_unaligned_di_reg): New pattern. + (movti matchers): Rewrite. + (store_unaligned_ti_reg): New pattern. + +Sun Nov 5 10:45:24 1995 Ian Lance Taylor (ian@cygnus.com) - * configure (i[345]86-*-winnt3*): Allow any version 3.x. - Don't use a t-winnt file and move x-winnt to config/i386. - * i386/x-winnt: Build ld-winnt.exe only on host. - * winnt/t-winnt: Deleted. + * mips.h (MULTILIB_DEFAULTS): Define. + * mips/elf64.h, mips/iris6.h (MULTILIB_DEFAULTS): Define. -Thu Oct 27 13:05:16 1994 Mike Collison (collison@chianti.sw.stratus.com) +Sun Nov 5 10:41:48 1995 Jim Wilson - * reload.c (debug_reload): New function to print reload info - set up by find_reloads. + * reload.c (push_reload): Delete abort for RELOAD_OTHER case added + in last change. + * reload1.c (emit_reload_insns): For RELOAD_OTHER output reloads, + output the reload insns in descending order of reloads. + + * sh.md (mulsidi3-1, mulsidi3, umulsidi3-1, umulsidi3): Enable. + (smulsi3_highpart-1, smulsi3_highpart): New patterns. + (umulsi3_highpart-1, umulsi3_highpart): Likewise. + (movdi-1): Add r/x constraint. + * t-sh (MULTILIB_OPTIONS): Add m2. + (MULTILIB_DIRNAMES): Add m2. + (MULTILIB_MATCHES): Define. -Wed Oct 26 18:27:03 1994 David Mosberger-Tang + * sparc.h (RTX_COSTS, case MULT): Check for TARGET_SPARCLITE. - * alpha.h (FUNCTION_PROFILER): Use $28 instead of $27. - (LINK_SPEC): Pass -pg to linker. - (LIB_SPEC): Link in -lprof1 with -pg, not -lprof2. - (STARTFILE_SPEC): USe gcrt0.o if -pg, not mcrt0.o. + * abi64.h, elf64.h (CPP_SPEC): Add -EB and -EL support. -Wed Oct 26 18:22:34 1994 Doug Evans (dje@cygnus.com) +Sat Nov 4 10:36:26 1995 Jim Wilson - * expr.c (expand_expr, COND_EXPR case): Don't expand - "X ? A & 1 : A" as "A & (X != 0)". + * sh.md (casesi_worker): Change constraint from = to +. -Wed Oct 26 18:06:52 1994 Douglas Rupp (drupp@cs.washington.edu) + * svr4.h (ASM_IDENTIFY_GCC_AFTER_SOURCE): Delete. + (ASM_IDENTIFY_GCC): Output stab here. - * winnt/ld.c (expand_lib, main): Fix off-by-one bugs in several - calls to malloc. +Sat Nov 4 10:32:37 1995 John Carr -Wed Oct 26 22:00:09 1994 Richard Kenner + * cpplib.c (finclude): Set current input pointer when input + is not a regular file. - * winnt/t-winnt: Remove some spurious blank lines. + * cppmain.c: Define progname, required by cpplib. -Wed Oct 26 14:14:39 1994 Michael Meissner (meissner@osf.org) +Sun Oct 29 07:48:36 1995 Michael Meissner - * i386/osfrose.h (REAL_NM_FILE_NAME): Use /usr/ccs/gcc/bfd-nm - instead of /usr/ccs/bin/nm, since the GNU nm does not output stab - symbols by default. + * xcoffout.h (DBX_FINISH_SYMBOL): Deal with names created via + the __asm__ construct that start with a leading '*'. + * xcoffout.c (xcoff_declare_function): Likewise. -Wed Oct 26 13:47:06 1994 Michael Gschwind (mike@vlsivie.tuwien.ac.at) +Sun Oct 29 07:45:41 1995 Jim Wilson - * config.sub (pdp11): New machine name. - * configure (pdp11-*-*): New configuration. - * pdp11.c, pdp11.h, pdp11.md, xm-pdp11.h: New files. + * stupid.c (stupid_mark_refs): Handle SUBREG of pseudo-reg in a + SET_DEST same as we handle a pseudo-reg in a SET_DEST. -Wed Oct 26 07:33:40 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Sun Oct 29 07:43:15 1995 Pat Rankin - * flow.c (find_basic_blocks): Ensure each live basic block is - actually reachable. - (life_analysis): Clean up handling of basic_block_drops_in. + * libgcc2.c (L_eh: __unwind_function): Implement for VAX. + * vax.h (RETURN_ADDRESS_OFFSET, RETURN_ADDR_RTX): Define. -Tue Oct 25 18:40:12 1994 Paul Eggert +Sun Oct 29 12:39:08 1995 Richard Kenner a - * cccp.c (rescan): ".." no longer terminates a preprocessing - number, since that's incompatible with the C standard. + * i386/sol2.h (CPP_PREDEFINES): Add -D__SVR4. -Tue Oct 25 16:16:40 1994 Michael Dobson (dobson@info.usuhs.mil) +Sun Oct 29 07:14:36 1995 J"orn Rennecke (amylaar@meolyon.hanse.de) - * we32k.h (CPP_PREDEFINES): Define u3b2, not u3b. + * reload.c (find_equiv_reg): Check for nonsaving setjmp. -Tue Oct 25 16:15:27 1994 Jim Wilson (wilson@cygnus.com) +Fri Oct 27 15:15:56 1995 Jim Wilson - * reorg.c (fill_slots_from_thread): Update THREAD if it is split. + * Makefile.in (out_object_file): Depend on TREE_H. -Mon Oct 24 00:12:46 1994 Jason Merrill (jason@phydeaux.cygnus.com) +Fri Oct 27 06:42:36 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * toplev.c (lang_options): Add -f{no-,}access-control. + * alpha.c (call_operand): Only allow reg 27 on NT too. + * alpha.md (call_value_nt, call_nt): Force non-SYMBOL_REF + into reg 27, just like for OSF. -Mon Oct 24 06:14:03 1994 Richard Earnshaw (rwe@pegasus.esprit.ec.org) + * rs6000.c (struct asm_option): Changed from struct option. + (expand_block_move_mem): Remove erroneously-added line. - * arm/arm.md (peepholes for call followed by branch): Disable. + * expr.c (clear_storage): SIZE is now rtx, not int. + (store_constructor): Call clear_storage with rtx. + (get_inner_reference): Convert index to precision of + sizetype, not POINTER_SIZE. + (expand_expr, case ARRAY_REF): Likewise. + * expr.h (clear_storage): Second arg is rtx, not int. -Sun Oct 23 08:54:27 1994 Richard Earnshaw (rwe@pegasus.esprit.ec.org) +Fri Oct 27 05:45:58 1995 J"orn Rennecke (amylaar@meolyon.hanse.de) - * arm/x-riscix (INSTALL): Invoke install.sh with -c flag. + * combine.c (force_to_mode, case ASHIFTRT): Properly handle + mask wider than HOST_WIDE_INT. -Fri Oct 21 00:42:08 1994 Jason Merrill (jason@phydeaux.cygnus.com) + * c-decl.c (pushdecl): Don't test TREE_PUBLIC when deciding whether + to register a duplicate decl in the current block. - * Makefile.in (LIB2FUNCS): Add _pure. +Thu Oct 26 21:55:39 1995 Jason Merrill - * libgcc2.c (__pure_virtual): New function to go into vtable - entries for pure virtual methods instead of abort. + * calls.c (expand_call): Don't trust the callee to copy a + TREE_ADDRESSABLE type. + * function.c (assign_parms): Likewise. -Thu Oct 20 18:40:36 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Thu Oct 26 19:25:05 1995 Mike Stump - * alpha.md (define_split comparison op with power of two minus 1): - Fix typo. + * libgcc2.c (__unwind_function): Provide a default definition for + implementations that don't yet have a function unwinder. -Thu Oct 20 13:14:24 1994 Jason Merrill (jason@phydeaux.cygnus.com) +Thu Oct 26 18:08:19 1995 Paul Eggert - * collect2.c (add_to_list): Check for duplicates. + * cccp.c (handle_directive): Don't treat newline as white + space when coalescing white space around a backslash-newline. - * alpha/alpha.h (LINK_SPEC): Pass -shared through; don't - pass -init __main if -shared. - (STARTFILE_SPEC): Wrap startfiles in %{!shared:}. - (INIT_NAME_FORMAT): Define. - (FINI_NAME_FORMAT): Define. - * alpha/osf12.h (LINK_SPEC): Ditto. - * alpha/gdb-osf12.h: #include osf12.h instead of alpha.h +Thu Oct 26 17:57:34 1995 Ian Lance Taylor - * gcc.c (STARTFILE_SPEC): Wrap startfiles in %{!shared:}. + * mips-tdump.c (enum st): Define st_Struct, st_Union, and st_Enum. + (st_to_string): Handle them. + (type_to_string): Add fdp argument; pass it to emit_aggregate. + (print_symbol): Add fdp argument; pass it to type_to_string. + Handle st_Struct, st_Union, and st_Enum. + (emit_aggregate): Add fdp argument. Handle opaque types. Map + through RFD entries. + (print_file_desc): Pass FDR to print_symbol. + (main): Pass null FDR to type_to_string. -Thu Oct 20 16:07:46 1994 Jim Wilson (wilson@cygnus.com) +Thu Oct 26 08:07:10 1995 Michael Meissner - * unroll.c (loop_iterations): Move all failure exits after the - computation of final_value. + * configure (powerpc-ibm-aix[456789]*): Use rs6000/t-newas, + not rs6000/t-rs6000. + (rs6000-ibm-aix3.2.[456789]*): Likewise. + (rs6000-ibm-aix[456789]*): Likewise. - * mips.md (movdf_internal2+1): Disable when TARGET_64BIT. + * rs6000/t-newas: Copy from t-rs6000. + * t-rs6000: Don't build -mcpu=common multilib variants of libgcc.a. - * i960.c (VARARGS_STDARG_FUNCTION): New macro. - (i960_function_name_declare, output_function_profiler, - i960_function_epilogue, i960_output_call_insn, i960_output_ret_insn, - i960_reg_parm_stack_space): Use it. - (compute_frame_size): Don't use current_function_pretend_args_size. - (i960_function_arg_advance, i960_function_arg): Don't use parameter - named. - (i960_setup_incoming_varargs): No need to adjust first_reg_offset - after setting it. Don't save last named argument to stack. - Don't set pretend_size. - * i960.h (SIGNED_CHAR_SPEC): Use #if instead of ?:. - * va-i960.h (va_start): Use builtin_arts_info instead of - builtin_next_arg. + * rs6000.md (load_multiple insn): If address register is among regs, + don't load it with a lwsi instruction, which is undefined on PowerPC. - * cse.c (merge_equiv_classes, cse_insn): Call rehash_using_reg - after insert_regs. - (canon_hash): Don't use qty_const to compute hash code for a - register. +Thu Oct 26 08:01:32 1995 Jim Wilson -Thu Oct 20 09:41:51 1994 Richard Kenner (kenner@vlsi1.ultra.nyu) + * dwarfout.c (output_compile_unit_die): Handle language_string + of "GNU F77". - * stor-layout.c (variable_size): Return SIZE if it contains - a PLACEHOLDER_EXPR. + * reload.c (find_reloads_address): When check for out of range constant + plus register, accept any hard register instead of just fp, ap, sp. -Tue Oct 18 19:51:24 1994 Jason Merrill (jason@phydeaux.cygnus.com) + * combine.c (distribute_notes): For Oct 19 change, add additional + check to verify that place has a valid INSN_CUID. - * collect2.c (main): Check REAL_*_FILE_NAME first. + * sparc/t-vxsparc (LIBGCC1_TEST): Define. -Wed Oct 19 15:55:15 1994 David J. MacKenzie + * sh.md (negdi2): Use TARGET_LITTLE_ENDIAN. - * config.sub: Add licensing exception for Autoconf. + * combine.c (force_to_mode, case ASHIFTRT): Verify mode bitsize is + within HOST_BITS_PER_WIDE_INT before shifting by it. -Wed Oct 19 06:43:46 1994 Michael Meissner (meissner@osf.org) + * final.c (final_scan_insn): When recur for instruction in delay slot, + add loop around recursive call in case the instruction gets split. - * i386/i386.h (FUNCTION_BLOCK_PROFILER): Don't bother preserving - eax if -fpic, since it is a call clobbered register anyway. Fix -fpic - code so that it is correct. +Thu Oct 26 07:28:45 1995 J"orn Rennecke (amylaar@meolyon.hanse.de) -Tue Oct 18 18:00:23 1994 Michael Meissner (meissner@osf.org) + * genrecog.c (write_tree_1): Avoid emitting '-2147483648'. - * i386/i386.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Move - macros here from osfrose, netbsd, and freebsd ports. Remove - assumptions that the assembler is gas. Rewrite and fix the - instructions produced with -fpic. + * jump.c (duplicate_loop_exit_test): Return 0 if found + a NOTE_INSN_LOOP_CONT. - * i386/osfrose.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Delete. - * i386/freebsd.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Delete. - * i386/netbsd-i386.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): - Delete. +Tue Oct 24 15:30:14 1995 Jeffrey A Law -Tue Oct 18 20:27:29 1994 Doug Evans (dje@cygnus.com) + * calls.c (expand_call): Make sure valreg is at least + a full word. - * sparc.h (FRAME_POINTER_REQUIRED): Require frame pointer if - non-leaf flat function. - * sparc.c (sparc_frame_info): Combine members gp_sp_offset and - fp_sp_offset into reg_offset. All uses changed. - (RETURN_ADDR_REGNUM): New macro. - (RETURN_ADDR_MASK, FRAME_POINTER_MASK): New macros. - (sparc_flat_compute_frame_info): Rename local mask to gmask. - Only ensure reg save area is 8 byte aligned if necessary. - (sparc_flat_save_restore): New arguments base_reg, offset, gmask, - and fmask. All callers changed. No longer use %g2 to save regs - in big stack frames. - (sparc_flat_output_function_prologue): Delete local tsize. - Reorder storing of previous frame pointer and return address reg to - make it easier for gdb to identify flat functions. Decrement %sp - twice when saving call-saved regs in big frames. - Count fp regs as 4 bytes in assembler comment. - (sparc_flat_output_function_epilogue): Likewise when restoring - call-saved regs. +Sun Oct 22 19:35:41 1995 Jim Wilson -Tue Oct 18 19:33:55 1994 Mike Collison (collison@sw.stratus.com) + * sh.h (INIT_SECTION_ASM_OP): Delete. + (HAVE_ATEXIT): Define. - * reload1.c (reload): Correctly compute group additional needs when - the return register cannot be used as a spill register. +Sun Oct 22 07:46:04 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Tue Oct 18 16:17:26 1994 Jim Wilson (wilson@mole.gnu.ai.mit.edu) + * libgcc2.c (__fixuns[xds]fsi): #undef MIN and MAX before #include + of limits.h. - * mips.h (ASM_SPEC): Pass -mcpu= option to GNU as. + * pa.c (pa_adjust_cost): Use pa_cpu, not pa_cpu_attr. -Tue Oct 18 08:39:49 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Sun Oct 22 07:38:58 1995 J"orn Rennecke (amylaar@meolyon.hanse.de) - * flow.c (propagate_block): Call mark_used_regs to show global regs - used by call. - * combine.c (can_combine_p): Don't combine into CALL_INSN where - DEST is a global reg. + * alpha.h (CONST_OK_FOR_LETTER_P): Use 'U' for unsigned constants. + * alpha.c (alpha_emit_set_const): Likewise. + * mips.c (gen_int_relational): Likewise. - * c-decl.c (start_function): Save immediate_size_expand - and initialize it to zero in case nested function. +Sun Oct 22 07:14:35 1995 Douglas Rupp (drupp@cs.washington.edu) - * pa.c (non_hard_reg_operand): New function. - * pa.md (reload_{in,out}*): Replace general_operand with - non_hard_reg_operand. + * i386.c (i386_return_pops_args): Don't need a FUNDECL to + check for type attributes in FUNTYPE. -Fri Oct 14 18:35:30 1994 Jason Merrill (jason@phydeaux.cygnus.com) +Sat Oct 21 18:17:42 1995 Jim Wilson - * gcc.c (default_compilers): Treat files with an extension of .c++ - as C++ code. - -Mon Oct 17 19:21:57 1994 David Edelsohn (edelsohn@npac.syr.edu) - - * configure (rs6000-ibm-aix4.1*): New configuration. - * rs6000/aix41.h: New file. + * sh.md (define_delay): Don't accept any instruction for an annulled + slot, only accept those for which in_delay_slot is yes. + * sh.c (find_barrier): When hi_const returns true, increment count_si + by two if found_si is true. + Always use get_attr_length to compute length of instructions. + If count_hi or count_si out of range at end, need two PREV_INSN calls + not one. + When create new label, set LABEL_NUSES to 1. + (reg_unused_after): Ifdef out code for handling labels. + (prepare_scc_operands): New local variable mode. Set it from + sh_compare_op0 or sh_compare_op1. Use it instead of SImode in + force_reg calls. + + * optabs.c (expand_float): Emit missing barrier after unconditional + jump. -Mon Oct 17 19:15:14 1994 Jim Wilson (wilson@mole.gnu.ai.mit.edu) +Sat Oct 21 14:16:46 1995 Torbjorn Granlund - * va-mips.h (va_arg): Add little endian mips3 support. + * alpha.md (cmpdf): Make conditional on TARGET_FP. - * sparc.h (RETURN_IN_MEMORY): Return true for TCmode values. +Fri Oct 20 19:11:12 1995 J"orn Rennecke (amylaar@meolyon.hanse.de) - * README.IRIX5: Delete. - * install.texi: Update Irix 5 debugging info. + * combine.c (distribute_notes): Delete instructions without + side effect that set a subreg of an unused register. - * mips.c (function_prologue): Only emit line number when SDB_DEBUG. + * m68k.h (PREFERRED_RELOAD_CLASS): Check for !G constants + for DATA_OR_FP_REGS also. - * configure: Delete new argument, --noguess. Default build from - host if host specified, otherwise guess build. Fix typo in - setting build from host. +Fri Oct 20 18:57:10 1995 Ian Lance Taylor -Mon Oct 17 15:54:56 1994 Per Bothner + * genmultilib: Output negations of unused alternatives, even if + one of the alternatives is selected. - * calls.c (expand_call, emit_library_call, emit_library_call_value): - Allways adjust current_function_outgoing_args_size, even #ifndef - ACCUMULATE_OUTGOING_ARGS. (Useful for stack overflow checking.) - * function.c (current_function_outgoing_args_size): Update comment. +Fri Oct 20 18:48:50 1995 Jeff Law (law@hurl.cygnus.com) -Mon Oct 17 18:49:01 1994 Paul Eggert + * integrate.c (output_inline_function): Turn on flag_no_inline + to avoid function integration once we begin writing deferred + output functions. - * cccp.c (rescan): Preserve newlines after macro names at the top level - since this is more likely to do the right thing with line numbers. +Fri Oct 20 18:46:33 1995 Michael Meissner -Mon Oct 17 11:31:42 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * rs6000.c (float_conv_temp): Delete global variable. + (stack_temps): New static array to hold stack temps. + (offsettable_mem_operand): Delete function. + (offsettable_addr_operand, rs6000_stack_temp): New functions. + (output_epilog): Zero stack_temps. - * reload1.c (gen_reload): Renamed from gen_input_reload. - (emit_reload_insns): Delete SECONDARY_MEM_NEEDED case for input - reloads that can't happen and doesn't work. - Fix errors in use of reload_outxx insns. - Simplify output reload code by using gen_reload. - * reload.h (gen_reload): Renamed from gen_input_reload. + * rs6000.h (offsettable_addr_operand): Declare instead of + offsettable_mem_operand. + (PREDICATE_CODES): Use offsettable_addr_operand. + (float_conv_temp): Delete variable. -Mon Oct 17 09:26:57 1994 Richard Earnshaw (rwe@pegasus.esprit.ec.org) + * rs6000.md (move_to_float insns): Change move_to_float so + that it doesn't have a clobber of the memory address, and instead + passes the stack temp's memory address as one of the unspec args. + (fix_truncdfsi2): Use rs6000_stack_temp to allocate the temp. + (multiply, shift insns): Fix all cases of multiply and shift insns so + that the right mnemonics are used for -mcpu=common with both + -m{old,new}-mnemonics. - * unroll.c (copy_loop_body, case JUMP_INSN): Don't abort if invert_exp - fails. Instead, redirect the jump around an unconditional branch. +Fri Oct 20 17:58:19 1995 Jim Wilson -Sun Oct 16 05:02:23 1994 Richard Earnshaw (rwe@pegasus.esprit.ec.org) + * expr.c (safe_from_p, case RTL_EXPR): Return 0 if RTL_EXPR_SEQUENCE + exists. Delete code to return 0 if exp_rtl is zero. - * emit-rtl.c (add_insn_{before,after}): Don't abort because AFTER was - deleted when not optimizing. + * function.c (init_function_start): Don't call init_insn_lengths here. + * toplev.c (rest_of_compilation): Call it here. -Fri Oct 14 19:26:28 1994 Jeffrey A. Law (law@snake.cs.utah.edu) +Thu Oct 19 19:19:06 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * pa.c (emit_move_sequence): Handle secondary reload when loading - a constant into SAR. + * c-common.c (check_format_info): Make test for null pointer + more general. -Fri Oct 14 10:29:31 1994 Richard Earnshaw (rwe@pegasus.esprit.ec.org) +Thu Oct 19 18:56:16 1995 Satoshi Adachi (adachi@wisdom.aa.ap.titech.ac.jp) - * fixincludes: Fix X11/Intrinsic.h for RISCiX to remove ___type from - XtOffset. - Add all files that receive special attention to REQUIRED, so that - dependent copies are done if necessary. + * fixincludes (stdlib.h): Be more general in edit to change + declaration of {c,m,re}alloc. - * getpwd.c: Always use getwd if HAVE_GETWD is defined. - * arm/xm-arm.h: Define HAVE_GETWD. +Thu Oct 19 18:48:53 1995 Torbjorn Granlund - * arm/x-riscix, arm/t-riscix: New files - * configure (arm-*-riscix*): Use them. + * libgcc2.c (__udiv_w_sdiv): If we don't have sdiv_qrnnd, define + dummy variant of __udiv_w_sdiv. -Thu Oct 13 17:12:27 1994 Jim Wilson (wilson@mole.gnu.ai.mit.edu) - - * i960.md (call, call_internal, call_value, call_value_internal): - Use memory_operand not general_operand. - - * optabs.c (expand_fix): Correct typo with FIX/UNSIGNED_FIX - REG_NOTES. +Thu Oct 19 18:45:21 1995 Jim Wilson -Thu Oct 13 10:44:32 1994 Ian Lance Taylor (ian@cygnus.com) + * alpha.h (ASM_SPEC): If GNU as is the default, then pass -g to + the assembler if -malpha-as. If GNU as is not the default, then pass + -g to the assembler is not -mgas. - * genattrtab.c (optimize_attrs): Don't do anything if - num_insn_ents is zero. + * combine.c (distribute_notes): When search for new place to put + REG_DEAD note, call distribute_links if this new place is between + i2 and i3, and i2 uses the register. -Wed Oct 12 19:06:48 1994 Jim Wilson (wilson@mole.gnu.ai.mit.edu) +Thu Oct 19 18:41:36 1995 Michael Meissner - * mips/mips.c (mips_expand_prologue): Handle types that need - constructing. Rename TYPE to PASSED_TYPE and use consistently. + * rs6000.md (float{,uns}sidf2): Rewrite to break the conversion + process into several general insns. + (move_to_float): New insns to move 2 integer regs into a float register + through memory, taking endianess into account. Make sure that the + floating temporary is a valid address. Use one temporary for all + floats converted. + (fix_truncdfsi2): Take endianess into account. -Wed Oct 12 11:32:05 1994 Ian Lance Taylor (ian@cygnus.com) + * rs6000.c ({low_32_bit,offsettable_mem}_operand): The function + low_32_bit_operand is now unused, delete it. New function + offsettable_mem_operand to determine if a memory address is + offsettable. + * rs6000.h ({low_32_bit,offsettable_mem}_operand): Ditto. + (PREDICATE_CODES): Ditto. - * genattrtab.c (num_insn_ents): New static variable. - (remove_insn_ent): Decrement num_insn_ents. - (insert_insn_ent): Increment num_insn_ents. - (optimize_attrs): Use xmalloc to allocate all the attr_value_list - structures at once, rather than using alloca for each one. + * rs6000.{c,h} (float_conv_temp): New global. + * rs6000.c (output_epilog): Zero out float_conv_temp. -Wed Oct 12 09:17:34 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * Makefile.in (libgcc{1,2}.a): Allow LIB{1,2}FUNCS_EXTRA files to + end in .S as well as .c and .asm. - * optabs.c (??hf2_libfunc): Define like ??sf2_libfunc. - (emit_float_lib_cmp): Call HFmode library functions. - (init_optabs): Set names for HFmode comparison functions. - * expr.h (??hf2_libfunc): Add declarations, like ??sf2_libfunc. +Wed Oct 18 17:56:45 1995 Jose Alonso (sidinf@fpsp.fapesp.br) -Tue Oct 11 19:20:48 1994 Douglas Rupp (drupp@cs.washington.edu) + * c-typeck.c (parser_build_binary_op): Warn about x^y==z, etc. - * winnt/ld.c (main): Pass -debug:full -debugtype:coff. - * winnt/t-winnt: Rework rules for ld. - * i386/config-nt.bat: Renamed from config/i386/config-winnt.bat. - Make specific for x86, not all winnt; change filenames. - * i386/config-nt.sed: Remove -g from CFLAGS. - Reflect changes to t-winnt and other minor changes. - * i386/x-winnt: Renamed from winnt/x-winnt. - * i386/config-nt.sed: Renamed from config/winnt/top.sed. - -Tue Oct 11 18:40:41 1994 Peter Schauer (Peter.Schauer@regent.e-technik.tu-muenchen.de) - - * rs6000.h (ASM_DECLARE_FUNCTION_NAME): Always put out .lglobl - for static functions. - -Mon Oct 10 19:19:51 1994 Alex T. Ramos (ramos@engr.latech.edu) +Mon Oct 9 12:38:06 1995 Michael Meissner - * expr.c (convert_move): Add TImode conversions. + * protoize.c (reverse_def_dec_list): Silence compiler warnings. -Mon Oct 10 18:46:44 1994 Alex Dreyzen (alex@alex.jf.intel.com) +Mon Oct 9 12:35:54 1995 Andrew Cagney - * optabs.c (expand_float): Copy TEMP to TARGET when - making recursive call and adjusting. + * ginclude/va-ppc.h (va_arg): Deal with long longs that would be + passed in the 7th register, and are passed in the stack instead. -Mon Oct 10 07:10:25 1994 Michael Meissner (meissner@osf.org) +Fri Oct 6 13:47:10 1995 Jim Wilson - * i386/linux.h (DEFAULT_PCC_STRUCT_RETURN): Do not define as 0 if - LINUX_ELF is defined. - (perform.h): Include perform.h to define asm statements to use for - libgcc1.a builds. + * alpha.h (ASM_SPEC): Add -g. - * i386/linuxelf.h (DEFAULT_PCC_STRUCT_RETURN): Define as 1. - (RETURN_IN_MEMORY): Don't define. +Fri Oct 6 13:42:50 1995 Richard Kenner -Sun Oct 9 11:49:20 1994 Michael Meissner (meissner@osf.org) + * alpha.h (alpha_{arg,auto}_offset): Make extern. - * i386/i386.md (movsf_mem): Add & constraint, so that the scratch - register does not clobber the destination address. +Fri Oct 6 13:24:43 1995 Michael Meissner -Sun Oct 9 12:40:43 1994 Richard Earnshaw (rwe@pegasus.esprit.ec.org) - - * arm.md (reload_outdf): Don't call gen_addsi3 if the address is just - a register. + * rs6000.h (RETURN_ADDRESS_OFFSET): Correct previous change. -Sat Oct 8 11:16:50 1994 Doug Evans (dje@cygnus.com) +Fri Oct 6 13:14:43 1995 Doug Evans - * objc/archive.c (__objc_free): New function. - (__objc_finish_read_root_object): Use it. + * rtlanal.c (reg_set_last): Fix call to reg_set_between_p. -Fri Oct 7 19:23:03 1994 J.T. Conklin (jtc@cygnus.com) +Tue Oct 3 12:31:38 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * ginclude/stddef.h: Netware uses _SIZE_T_DEFINED_, _WCHAR_T_DEFINED_. + * stor-layout.c (layout_type, case ARRAY_TYPE): Strip MAX_EXPR + from upper bound when computing length if it just protects against + negative length. -Fri Oct 7 12:45:43 1994 Michael Meissner (meissner@osf.org) + * expr.c (emit_move_insn_1): When doing multi-word move, show + output is clobbered. - * i386/i386.c (legitimate_address_p): Disable SUBREGs as either - the index or base register. +Tue Oct 3 12:26:07 1995 Jim Wilson -Fri Oct 7 08:24:44 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * cse.c (set_nonvarying_address_components, case AND): Add *pend to + end. Add constant to start instead of subtracting it. - * i386/gnu.h (CPP_PREDEFINES): Define __HURD__. +Tue Oct 3 12:23:28 1995 Torbjorn Granlund - * collect2.c (my_strerror): If HAVE_STRERROR defined, call strerror. - * xm-gnu.h (HAVE_STRERROR): Define. + * combine.c (simplify_rtx): In code that attempts to simplify + conditional expressions, if the result is an NE around another + comparison, return the original expression. - * function.c (preserve_temp_slots): If X cannot be a temp - slot, preserve all things whose address was taken at the - present level. + * longlong.h (mips umul_ppmm): Use `l' and `h' constraints; + remove mflo and mfhi instructions. - * function.c (assign_stack_temp): Abort if SIZE == -1. +Tue Oct 3 12:21:29 1995 Michael Meissner - * expr.c (safe_from_p): If EXP has a variable size, assume safe. - (preexpand_calls): Don't preexpand a call that returns a variable- - sized object. + * ginclude/va-ppc.h (va_start, stdarg case): Call + __builtin_next_arg, and ignore the result, so that the compiler + can report the proper error, if the second argument is not the + last argument. - * emit-rtl.c (add_insn_{after,before}): Fix error in last change. +Tue Oct 3 12:02:51 1995 Kohtala Marko -Thu Oct 6 09:18:28 1994 Kresten Krab Thorup (krab@next.com) + * function.c (assign_stack_temp): Adjust full_size field of + temp_slot when splitting an unused slot. - Adam Fedor (fedor@hopper.colorado.edu) - * objc/archive.c (__objc_finish_read_root_object): Delay freeing - of back-patch list. +Tue Oct 3 11:51:59 1995 Mike Stump - Andrew McCallum (mccallum@cs.rochester.edu) - * objc/objc.h (BOOL): Changed from char to unsigned char. + * expr.c (expand_builtin_return_addr): Break out functionality + from expand_builtin. + (expand_builtin): Call expand_builtin_return_addr. + * rs6000.h (RETURN_ADDR_RTX): Remove call to copy_to_reg. + Offset to return address is 4 when !TARGET_64BIT and v4_call_p, + 8 otherwise. + * sparc.h (RETURN_ADDR_RTX): Remove call to copy_to_reg. + * alpha.h (RETURN_ADDR_RTX): New definition. -Thu Oct 6 08:17:04 1994 Stan Cox (coxs@dg-rtp.dg.com) +Sun Oct 1 21:23:30 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * m88k/m88k.c (emit_move_sequence): If operand1 is an invalid PIC - address, then legitimize it before doing anything else. + * tree.c (staticp, case INDIRECT_EXPR): Disable case. -Thu Oct 6 06:54:03 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * expr.c (expand_expr, case COMPONENT_REF): If getting component + of union of variable size, propagate TARGET. - * cse.c (cse_insn): Don't call force_const_mem on (const (truncate)). +Fri Sep 29 07:48:09 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * expr.c (store_expr): Don't clobber TEMP with address. + * expr.c (store_expr): When storing promoted value, don't return + MEM if address contains target. - * reorg.c (try_merge_delay_insns): Update THREAD if it is split. +Thu Sep 28 14:30:03 1995 Paul Eggert - * function.c (struct temp_slot): New field addr_taken. - (assign_stack_temp): Initialize it. - (mark_temp_addr_taken): New function. - (preserve_temp_slots): Decrement level of things at same level - but whose address has been taken. - * expr.c (expand_expr, case ADDR_EXPR): Call mark_temp_addr_taken. + * cccp.c (rescan): Expand `#if foo && #bar' without a bogus + complaint about preprocessor directives within macro args. + Expand `foo' in `foo#bar' without requiring a space before `#'. -Wed Oct 5 14:17:39 1994 Jason Merrill (jason@phydeaux.cygnus.com) +Thu Sep 28 14:24:26 1995 Philippe De Muyter (phdm@info.ucl.ac.be) - * fold-const.c (fold, COMPONENT_REF): Don't die if the CONSTRUCTOR - doesn't initialize the field we want. + * m68k.md (anonymous DImode shift patterns setting cc0): Turned + off due to reload problems. -Wed Oct 5 11:38:48 1994 Michael Meissner (meissner@osf.org) +Thu Sep 28 14:05:22 1995 Niklas Hallqvist (niklas@appli.se) - * i386/i386.c (legitimize_pic_address): Changes to support - LABEL_REF references when using -fpic. - (output_pic_addr_const): Ditto. - (print_operand_address): Ditto. + * Makefile.in (USER_H): Move up so can override. + (INSTALL_ASSERT_H): New definition. + (install-headers): Use it. + (stmp-int-hdrs): Handle USER_H being empty. + * config/x-netbsd (INSTALL_ASSERT_H): Define as empty. - * i386/i386.md (movsi insn): Changes to support LABEL_REF - references when using -fpic. - (movsi_lea): Name insn supporting lea instruction so it shows up - more clearly when doing -dp. + * i386/netbsd.h (WCHAR_{TYPE,UNSIGNED,TYPE_SIZE}): Now int. + * m68k/netbsd.h, ns32k/netbsd.h, sparc/netbsd.h: Likewise. + * vax/netbsd.h: Likewise. + (SIZE_TYPE): Use unsigned int. -Wed Oct 5 06:56:36 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * m68k.c (output_scc_di): Swap operands when needed. + * m68k.h (LEGITIMATE_PIC_OPERAND): Allow SYMBOL_REF_FLAG symref. + * m68k.md: Make both assembler syntaxes do the same for PIC calls. - * reorg.c (try_merge_delay_insns): Update THREAD if deleting first - insn in it. +Tue Sep 26 16:51:44 1995 Michael Meissner -Wed Oct 5 01:19:14 1994 Roland McGrath + * mips.c (override_options): Don't allow anything but integers to + go in the HI/LO registers. - * configure (i[345]86-*-gnu*): Set xm_file=i386/xm-gnu.h. - * config/i386/xm-gnu.h: New file. - * config/xm-gnu.h: New file. - * config/i386/gnu.h: Move #include out of here, into - config/xm-gnu.h. +Tue Sep 26 16:36:18 1995 John F. Carr -Tue Oct 4 23:19:28 1994 Michael Meissner + * c-common.c (check_format_info): Don't warn about format type + mismatch if the argument is an ERROR_MARK. - * protoize.c (POSIX includes): If POSIX is defined, include - sys/wait.h to get WIFSIGNALED, WTERMSIG, WIFEXITED, and - WEXITSTATUS. +Mon Sep 25 17:50:50 1995 Craig Burley (burley@gnu.ai.mit.edu) -Tue Oct 4 21:48:02 1994 Michael I Bushnell + * stor-layout.c (put_pending_sizes): New function. + * tree.h (put_pending_sizes): Add declaration. + * tree.c (save_expr): Return original for ERROR_MARK. - * config/i386/gnu.h: Include to get O_RDONLY definition. - * gcc.c (O_RDONLY): Define macro iff not already defined. - (read_specs): Second arg to open should be O_RDONLY, not constant 0. +Fri Sep 22 19:20:01 1995 Jeff Law (law@hurl.cygnus.com) -Tue Oct 4 19:06:38 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * expr.c (expand_builtin, case BUILT_IN_MEMCPY): Strip off + all NOP exprs from the source and destination nodes, then + set MEM_IN_STRUCT_P. - * expr.c (do_jump_for_compare): Properly scan insns when - branch is at start of sequence. +Fri Sep 22 18:50:31 1995 Michael Meissner -Tue Oct 4 16:53:54 1994 Ian Lance Taylor (ian@cygnus.com) + * rs6000/eabi.h (ASM_OUTPUT_INT): Test for whether the integer + being output is also a constant so &sym - &sym2 is not fixed up. - * gcc.c, collect2.c, protoize.c (WIFSIGNALED): Define if not - already defined. - (WTERMSIG, WIFEXITED, WEXITSTATUS): Likewise. - * gcc.c (execute): Use them. - * collect2.c (do_wait): Likewise. - * protoize.c (gen_aux_info_file): Likewise. +Fri Sep 22 18:49:07 1995 Peter Flass (FLASS@LBDRSCS.BITNET) -Tue Oct 4 16:38:06 1994 Michael Meissner + * i370.md (cmpsi): Add missing constraints to operand 1. - * i386/i386.h (RETURN_IN_MEMORY): Define so that large types such - as complex double values get returned like structures do, and - don't overwrite %ebx. +Fri Sep 22 18:27:33 1995 Torbjorn Granlund -Tue Oct 4 15:58:21 1994 Jim Wilson (wilson@mole.gnu.ai.mit.edu) + * i386.h (CONST_OK_FOR_LETTER_P): Make `N' match range 0..255 + for `outb' instruction. - * lynx-ng.h, lynx.h (PREFERRED_DEBUGGING_INFO): Add undef before - define. + * pyr.h (PRINT_OPERAND): Handle code `R' for REG. + * longlong.h (pyr umul_ppmm): Use it. -Tue Oct 4 05:12:02 1994 Richard Stallman +Fri Sep 22 18:24:38 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * config.sub: Translate -gnu/linux* to -linux*. + * c-parse.in (enumlist): Propagate error_mark_node. -Mon Oct 3 11:43:45 1994 Ian Lance Taylor (ian@cygnus.com) + * c-aux-info.c (gen_type): Handle ERROR_MARK. - * config.sub: Add support for MIPS variants: mips64, mipsel, - mips64el, mips64orion, mips64orionel, mips3*. + * alpha.md (movdi): Avoid memory sharing problem when in reload. -Sun Oct 2 18:26:34 1994 Jason Merrill (jason@phydeaux.cygnus.com) +Wed Sep 20 14:27:09 1995 Peter Flass - * function.c (push_function_context_to): Renamed from - push_function_context, adds argument to indicate that the new - function is not a nested function. - (push_function_context): Call it. - (pop_function_context{,_from}): Similarly. + * mvs.h (FUNCTION_PROLOGUE): Maintain savearea forward chain + per MVS standards. - * tree.c (save_tree_status): Add argument to indicate that the new - function is not a nested function. - (restore_tree_status): Ditto. +Wed Sep 20 14:20:52 1995 Torbjorn Granlund -Sun Oct 2 18:05:37 1994 Doug Evans (dje@cygnus.com) + * pyr.md (cmphi recognizer): Make condition match constraints. + (cmpqi recognizer): Likewise. - * configure (i[34]86-*): Change to i[345]86-*. - (target_cpu_default): Treat i586 as an i486 (for now). +Wed Sep 20 12:42:59 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Sun Oct 2 10:25:51 1994 Richard Earnshaw (rwe@pegasus.esprit.ec.org) + * integrate.c (expand_inline_function): Do copy something setting + the result register if it is setting it to itself and has a REG_NOTE. - * arm.md (movsf): If reloading, create a scratch from the target for - loading a constant into integer regs. - (movdf): Likewise. + * integrate.c (set_decl_{origin_self,abstract_flags}): Treat + a DECL_INITIAL of error_mark_node the same as one of NULL_TREE. - Support for variants that fault on unaligned addrs: - * arm.h (TARGET_SHORT_BY_BYTES): New macro. - (TARGET_SWITCHES): Recognize switches -m[no-]short-load-bytes. - (TARGET_DEFAULT): Only define if not already done so. - (PROMOTE_MODE): Promote HImode unsigned if TARGET_SHORT_BY_BYTES. - (SECONDARY_INPUT_RELOAD_CLASS): Need a scratch for reloading HImode if - TARGET_SHORT_BY_BYTES. - * arm.c (arm_reload_in_hi): New function. - * arm.md (zero_extendhisi2, extendhisi2): Expand to suitable byte - sequence when TARGET_SHORT_BYTES and loading a mem. - (movhi_bytes, extendhisi2_mem): New expands. - (movhi): Call movhi_bytes to load a short from memory if - TARGET_SHORT_BY_BYTES. - (all matchers loading a short from memory): Don't match if - TARGET_SHORT_BY_BYTES. - (matcher for movhi when TARGET_SHORT_BY_BYTES): New pattern to cover - remaining valid cases. +Tue Sep 19 19:30:18 1995 Dave Pitts (dpitts@nyx.cs.du.edu) -Sun Oct 2 08:54:30 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * reg-stack.c (subst_stack_regs): Check for NOTE to see if insn was - deleted. - - * reorg.c (fill_slots_from_thread): Update THREAD if deleting - its first insn. - - * reg-stack.c (delete_insn_for_stacker): Don't set INSN_DELETED_P - on NOTE_INSN_DELETED. - -Sat Oct 1 20:42:33 1994 Chip Salzenberg - - * sco4.h (CPP_PREDEFINES): Remove i386, unix. - (CPP_SPEC): Add them here, so that they're undefined if -ansi. - Also add _i386 and _unix, which are always defined. - * x-sco (CLIB): Add "-lmalloc". - (ALLOCA): Define as "-lPW". - * x-sco4 (CC, OLDCC, RCCFLAGS, CCLIBFLAGS, CLIB, ALLOCA): From x-sco. - (X_CFLAGS): Remove. - -Sat Oct 1 14:27:45 1994 Michael Meissner (meissner@osf.org) + * i370.md (cmphi, movhi, movstricthi, extendhisi2): Correct generation + of short integer (Halfword) + ({add,sub,mul,and,ior,xor}hi3): Likewise. + * i370/mvs.h (MACROPROLOGUE): New macro. + (FUNCTION_{PRO,EPI}LOGUE): Added ability to use IBM supplied function + prologue macros. + (FUNCTION_PROLOGUE): Corrected function "in-line" prologue alignment + problems. + (ASM_DECLARE_FUNCTION_NAME): Changed alignment to FullWord. + (ASM_OUTPUT_{SHORT,ASCII}): Reworked. - * i386/i386.md (movsf_push386): Rename to movsf_push_nomove. - (movdf_normal): Prefer to use float registers rather than general - purpose registers. +Tue Sep 19 19:22:15 1995 Douglas Rupp (drupp@cs.washington.edu) -Sat Oct 1 07:01:10 1994 Richard Earnshaw (rwe@pegasus.esprit.ec.org) + * winnt/win-nt.h: Renamed from winnt/win-nt.h. + (LINK_SPEC): Add -noinhibit-exec. + * {alpha,i386}/win-nt.h: Renamed from {alpha,i386}/winnt.h. + Include winnt/win-nt.h, not winnt/winnt.h. + * winnt/oldnames.c: New file. + * winnt/headers.mak (fixinc-nt.obj): Fix typo. + * winnt/config-nt.bat: Change winnt.h to win-nt.h. + * i386/config-nt.sed: Likewise. + * configure ({alpha,i386}-*-winnt3*): Likewise. + +Mon Sep 18 14:00:45 1995 Oliver Kellogg (Oliver.Kellogg@space.otn.dasa.de) + + * 1750a.h (enum reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): + Added R2 and R0_1. + (REG_CLASS_FROM_LETTER): New letters 't' and 'z'. + (EXTRA_CONSTRAINT): New letter 'Q'. - * c-decl.c (shadow_label): Emit an error if the label is already - declared at this label scope. +Sun Sep 17 12:39:22 1995 Jeff Law (law@snake.cs.utah.edu) -Sat Oct 1 06:44:58 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * pa.h (ASM_DECLARE_FUNCTION_NAME): If a parameter's type + has TYPE_NEEDS_CONSTRUCTING on, then it's passed by invisible + reference. - * emit-rtl.c (add_insn_{before,after}): Abort if insertion point is - a deleted insn. - * jump.c (jump_optimize): When deleting a jump, properly set NEXT. - (duplicate_loop_exit_test): Don't insert NOTE_INSN_LOOP_VTOP - before deleted insn; insert first, then delete. +Sat Sep 16 17:42:33 1995 Jim Wilson - * gcc.c: Install omitted hunk from last diff. + * loop.c (find_and_verify_loops): Fix error in last change. -Fri Sep 30 18:26:11 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Sat Sep 16 08:38:22 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * emit-rtl.c (add_insn_after): Abort if can't find AFTER and it - has no NEXT_INSN. - (add_insn_before): New function. - (emit_{insn,insns,jump_insn,call_insn,barrier,note}_before): Call it. + * alpha.h (GO_IF_LEGITIMATE_ADDRESS): Disallow SYMBOL_REF for + current function. -Fri Sep 30 17:33:41 1994 Douglas Rupp (drupp@cs.washington.edu) + * cse.c (recorded_label_ref): New variable. + (insert): Set instead of cse_jumps_altered. + (cse_main): Initialize it and return 1 if nonzero at end. - * config.sub (windowsnt): Alias for winnt. - (winnt): New OS name. - * configure (extra_programs): New, like extra_parts. - (i[34]86-*-winnt3.1): New configuration. - * genattr.c (atoi): Remove declaration. - * getpwd.c: #ifdef WINNT, include direct.h. - * sdbout.c: Don't include syms.h for winnt. - * toplev.c: Don't include times.h for winnt. - (get_run_time): Just return zero for winnt. - (main): Don't print memory usage for OS/2 or winnt. - * cccp.c (main): Use DIR_SEPARATOR if defined. - Use "Include" environment variable instead of CPATH for winnt. - * gcc.c: Don't include sys/file.h for winnt; use process.h instead. - (concat): Now just concats two things; all callers changed. - (concat[346]): New functions. - (dir_separator_str): New variable. - (exec_prefixes, startfile_prefixes, include_prefixes): Renamed - from same names without plural; all users changed. - (find_a_file, process_command, do_spec_1): Use DIR_SEPARATOR. - (find_file, is_directory, main): Likewise. - (lookup_compiler): If OS/2, do case-independent search. - (fix_argv): New function on winnt. - (FIX_ARGV): New macro for some systems; use instead of argv. - * i386/unix.h: Treat ALMOST_STDC like __STDC__. - (AS2C): New macro. - * i386.c (output_387_binary_op): Use AS2C instead of AS2 with - null first arg. - * config/winnt/config-nt.bat, config/winnt/ld.c: New files. - * config/winnt/{[tx]-winnt, config/winnt/top.sed: New files. - * config/winnt/winnt.h, config/winnt/xm-winnt: New files. - * i386/winnt.h, i386/xm-winnt.h: New files. +Fri Sep 15 18:26:49 1995 Torbjorn Granlund (tege@matematik.su.se) -Thu Sep 29 19:53:14 1994 Jim Wilson (wilson@cygnus.com) + * fold-const (div_and_round_double): Change `carry', `quo_est', + and `scale' from plain int to `unsigned HOST_WIDE_INT'. - * sparc.md (movdf+3): Handle overlapping registers in define_split. +Fri Sep 15 18:24:24 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * gcc.c (default_compilers): Add %Z to all cpp specs. - (n_preprocessor_options, preprocessor_options): New variables. - (process_command): Handle -Wp option. - (do_spec_1): Handle %Z spec. + * cse.c (insert): Set cse_jumps_altered when inserting a LABEL_REF. - * i960/i960-coff.h: New file. - * t-960bare: New file. - * config.sub (os): Accept coff as an OS. - * configure (i960-*-coff): New configuration. +Fri Sep 15 17:29:41 1995 Oliver Kellogg (Oliver.Kellogg@space.otn.dasa.de) - * expr.c (result_vector): Use INCOMING_REGNO when !savep instead - of when savep. - * sparc.md (call): Use struct value pattern is struct size is not - equal to zero instead of greater than zero. - (call+7, call+8): New patterns for untyped calls. - (untyped_call): Revise to emit explicit rtl for all operation. - Delete four old patterns that matched the unexpanded untyped_call - pattern. - (blockage): New pattern. - (flush_register_windows): Modify from 0 to 1. - (goto_handler_and_restore): Modify from 1 to 2. - (flush): Modify from 2 to 3. - * sparc.c (sparc_initialize_trampoline): FLUSH is now 3 not 2. + * 1750a.c (b_mode_operand): New function. + (print_operand): Added code 'Q'. - * calls.c (emit_library_call): For FUNCTION_ARG_PASS_BY_REFERENCE, - pass address through force_operand before using it. +Fri Sep 15 17:27:23 1995 Jim Wilson - * i960.c (i960_setup_incoming_varargs): Store parameter registers - at proper offset in argument block. + * loop.c (find_and_verify_loops): When moving exit blocks out of + the loop, verify that the target of P is within the current loop. -Thu Sep 29 16:39:32 1994 Mike Stump + * reorg.c (fill_slots_from_thread): Update thread if it is split. - * stmt.c (expand_return): We have to be careful of cleanups that can - be generated when expanding the return value, as they might otherwise - wipe out the return value. +Fri Sep 15 17:06:51 1995 Michael Meissner -Thu Sep 29 13:35:24 1994 Mike Stump + * rs6000.md (decrement_and_branchsi and related insns): Don't use + a "2" to select a register preference for operand 1 if operand 2 + hasn't been seen yet. + Add appropriate clobbers in decrement_and_branchsi. + Add patterns where the pc/label_ref are interchanged. - * expr.c (do_jump): Handle cleanups in TRUTH_ANDIF_EXPR and - TRUTH_ORIF_EXPR. + * Makefile.in (gnucompare, stmp-multilib-sub): Remove extra . in + front of $(objext). -Thu Sep 29 13:23:56 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * rs6000.c (output_toc): Align DF constants if STRICT_ALIGNMENT. - * gcc.c (struct option_map): Sort in alphabetical order. - (translate_options): Ignore option once an error occurs. - Fix error with reversed 'a' and 'o'. - Give error if specified abbreviation is unambiguous. + * config/fp-bit.c (FLO_union_type): Add words field if double + precision to get at the separate words. + (FLO_union_type, pack_d, unpack_d): Use FLOAT_BIT_ORDER_MISMATCH + to determine when the bitfields need to be reversed, and + FLOAT_WORD_ORDER_MISMATCH when the words need to be reversed. - * c-typeck.c (convert_for_assignment): When converting object - to union, allow converting the constant zero into a pointer - member of the union. +Fri Sep 15 16:41:43 1995 Jeff Law (law@snake.cs.utah.edu) -Wed Sep 28 19:33:01 1994 Alex T Ramos (ramos@engr.latech.edu) + * reorg.c (fill_simple_delay_slots): When filling insn's delay slot + with JUMP_INSN, don't assume it immediately follows insn on + unfilled slots obstack. - * machmode.def (PSImode): Widens to PDImode. - * expr.c (convert_move): Added handling of PDImode conversions. + * Makefile.in (caller-save.o): Depend on insn-codes.h. -Wed Sep 28 19:24:17 1994 H.J. Lu (hjl@nynexst.com) +Thu Sep 14 17:41:49 1995 Jim Meyering (meyering@comco.com) - * configure: Don't make objc-runtime if cross-compiling gcc. - * build-make (FIXINCLUDES): Set to Makefile.in. + * protoize.c (do_cleaning): Don't blank out backslash-escaped + newlines in double quoted strings. -Wed Sep 28 19:18:19 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Thu Sep 14 16:20:35 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * function.c (trampoline_address): Add missing call to - round_trampoline. + * emit-rtl.c (gen_lowpart): If gen_lowpart_common fails + for a REG, load it into a pseudo and try again. -Wed Sep 28 18:34:13 1994 Michael Meissner (meissner@osf.org) +Thu Sep 14 14:15:16 1995 Stan Cox (coxs@dg-rtp.dg.com) - * config/svr4.h (ESCAPES): Print \v in octal rather than as '\v', - since some older versions of gas didn't accept it. + * m88k.h (VERSION_INFO1): Removed BCS reference. + * m88k/dgux.h (ASM_SPEC, *_LEGEND): + Added -mno-legend option. -mstandard no longer implies that legend + legend information not be produced. + (LINK_SPEC): Removed -z text -Wed Sep 28 14:29:20 1994 Ian Lance Taylor (ian@cygnus.com) +Tue Sep 12 19:05:39 1995 Jim Wilson - * fixincludes: Comment out loop which handles symbolic links to - files. It appears to not work, and to be unnecessary. + * cccp.c (is_system_include): Call skip_redundant_dir_prefix. -Tue Sep 27 19:27:56 1994 Matthias Pfaller (leo@marco.de) +Tue Sep 12 18:58:21 1995 John Carr - * ns32k.h (ENCODE_SECTION_INFO): Only calls may go through the - PLT. All address loads, even function address loads, have to - go through the GOT or function addresses will not be unique. + * sparc.md: Change `*return "string"' to "string" in patterns. -Tue Sep 27 19:20:12 1994 Paul Eggert (eggert@twinsun.com) +Tue Sep 12 18:48:47 1995 Craig Burley (burley@gnu.ai.mit.edu) - * cccp.c (newline_fix, name_newline_fix): Don't treat \r - specially here; it only causes bugs. This undoes the - May 14 16:01:13 1990 change to newline_fix and name_newline_fix. + * function.c (put_var_into_stack): For CONCAT case, order of + placement depends on FRAME_GROWS_DOWNWARD, not STACK_GROWS_DOWNWARD. -Tue Sep 27 19:02:55 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Tue Sep 12 18:34:10 1995 Doug Evans - * m88k.h (ASM_OUTPUT_SOURCE_LINE): Add missing #undef. + * va-sparc.h (v9 varargs va_start): Handle __builtin_va_alist + being stack argument. -Tue Sep 27 18:32:17 1994 William J. Eaton (wje@hoffman.rstnu.bcm.tmc.edu) + * sparc.h (STATIC_CHAIN_REGNUM): Use %g5 for sparc64. + (TRAMPOLINE_TEMPLATE): Rewrite for sparc64. + (TRAMPOLINE_SIZE): Is 40 for sparc64. + * sparc.c (sparc64_initialize_trampoline): Rewrite. - * function.c (optimize_bit_field): Put any insns made by - change_address in front of INSN. - (expand_function_end): Don't pass DECL_INITIAL to setjmp_protect - if it is error_mark_node. +Tue Sep 12 18:30:22 1995 Douglas Rupp (drupp@cs.washington.edu) - * genoutput.c, reload.c (n_occurrences): Make arg int, not char. - * objc-act.c (warn_with_method): Likewise. + * cp/Make-lang.in (cc1plus) : Removed unnecessary $(exeext). - * optabs.c (expand_fix): Call emit_library_call_value. + * configure: Added code to handle gcc_extra_objs. + (alpha-winnt): Changed xmake_file to winnt/x-winnt. + Added extra_gcc_objs=spawnv.o; changed extra_programs to ld.exe. + (i386-winnt): Changed xmake_file to winnt/x-winnt. + Added extra_gcc_objs=spawnv.o; changed extra_programs to ld.exe. + * configure.bat: Changed to used common winnt/config-nt.bat. + * Makefile.in: Changed various .o's to .$(objext)'s + (specs): Removed unnecessary $(exeext). + (EXTRA_GCC_OBJS): New variable. + (clean): Removed $(LIB2FUNCS_EXTRA) + * objc/Makefile: Changed archive command for libobjc.a to use $? + for objects. -Tue Sep 27 12:39:10 1994 Mike Stump (mrs@cygnus.com) + * alpha/x-winnt, i386/x-winnt: Deleted. + * alpha/config-nt.bat, i386/config-nt.bat: Deleted. + * alpha/config-nt.sed, i386/config-nt.sed: Moved architecture + independent commands to config/winnt/config-nt.sed. + * alpha/winnt.h: Added -D_M_ALPHA to CPP_PREDEFINES. + Changed LIB_SPEC to be compatible with Gnu ld for NT. + * i386/winnt.h: Added -D_cdecl=__attribute__((__cdecl__)). + Change LIB_SPEC to be compatible with Gnu ld for NT. + * winnt/config-nt.bat, winnt/config-nt.sed: New files. + * winnt/dirent.{c,h}, winnt/fixinc-nt.c, winnt/headers.mak: New files. + * winnt/ld.c: Changed precedence of libraries to look for + libfoo.lib before libfoo.a + Changed to work like Gnu ld for NT. + * winnt/libgcc.mak, winnt/mklibgcc.c: New files. + * winnt/spawnv.c: Changed spawn function entry points to __spawn* + instead of spawn*. + * winnt/x-winnt: New file. + * fixinc-nt.sed: New file. + * fixinc.winnt: Rewritten to use fixinc-nt.sed. - * Makefile.in, libgcc2.c (L_eh): some support routines for C++. + * gcc.c: Remove fix_argv kludge. -Mon Sep 26 06:45:20 1994 Michael Meissner (meissner@osf.org) +Tue Sep 12 13:24:17 1995 Michael Meissner - * 386/i386.md (adddi3, subdi3): Rewrite to add a clobber of a - scratch variable, so that memory/memoroy adds and subtracts can be - done using just one scratch register. Also, don't require op1 to - be the same as op0. + * rs6000.md (power subdi3 pattern): Fix pattern to have 5 + alternatives, and correct 4th alternative to match reality. -Fri Sep 23 19:03:09 1994 Roland McGrath + * rs6000.md (adddi3, subdi3, negdi2): Add constraints so output reg + does not overlap one reg with one of the inputs. - * config/i386/gnu.h (LIB_SPEC): Remove macro. +Tue Sep 12 13:09:48 1995 Philippe De Muyter (phdm@info.ucl.ac.be) -Fri Sep 23 16:11:26 1994 Michael Meissner (meissner@osf.org) + * m68k.c (output_scc_di): Fixed for non-SGS_CMP_ORDER syntax. - * i386/lynx-ng.h (CALL_USED_REGISTERS): Copy definition from - i386/lynx.h that makes ebx be a call clobbered register, since - some system calls evidently trash it. + * collect2.c (scan_libraries): Cast lsyms' alloca to LDSYM*. -Fri Sep 23 15:54:53 1994 Jim Wilson (wilson@cygnus.com) +Tue Sep 12 13:04:12 1995 Niklas Hallqvist (niklas@appli.se) - * configure (mips-*riscos*): Changed to mips-*-riscos*. - (mips-*-riscos*-*): Deleted. + * stmt.c (expand_start_stmt_expr): Do stack adjust in right place. - * cse.c (invalidate): New parameter FULL_MODE. All callers - changed. - (set_nonvarying_address_components): Modify initial comment. - (cse_insn): When call invalidate for dest, use the actual dest not - inner_dest. + * stdarg.h (__gnuc_va_list): Make char * for NetBSD. -Thu Sep 22 18:56:19 1994 Torbjorn Granlund (tege@cygnus.com) +Tue Sep 12 12:44:46 1995 Jason Merrill - * expmed.c (expand_divmod): Special case for signed CEIL_DIV_EXPR - when divisor is power of 2. + * ginclude/va-ppc.h (va_arg): Reorganize to avoid BIND_EXPRs of + aggregate or array type. -Thu Sep 22 12:28:53 1994 Jason Merrill (jason@deneb.cygnus.com) +Tue Sep 12 12:42:27 1995 Ian Lance Taylor - * fixinc.svr4: Fix size_t, ptrdiff_t and wchar_t like fixincludes - does. Use extern inline rather than static inline in byteorder.h. + * fixincludes: Fix HP/UX for g++ -pedantic-errors. -Thu Sep 22 12:22:03 1994 Steve Dum (steve_dum@mentorg.com) + * fixincludes (curses.h): typedef bool need not take up entire line. - * collect2.c (main): Discard the first executable once we've - exploited it. +Mon Sep 11 19:05:42 1995 Stan Cox (coxs@dg-rtp.dg.com) -Thu Sep 22 11:38:34 1994 Ian Lance Taylor (ian@cygnus.com) + * c-typeck.c (digest_init): Don't recursively call digest_init + when in traditional mode if the type is invalid. - * fixincludes: Tweaks for LynxOS 2.2.2: accept spaces after # when - removing #define void int in curses.h; change prototype of fnctl - in fcntl.h to match POSIX.1. +Mon Sep 11 18:58:26 1995 Oliver Kellogg (Oliver.Kellogg@space.otn.dasa.de) -Thu Sep 22 07:18:37 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * 1750a.md: Added DLB/DSTB peepholes for HFmode. + Corrected mnemonics for HImode DSTB peephole. - * configure: Consistently put specified manufacturer names ahead - of entries with wildcard manufacturers. +Mon Sep 11 18:48:06 1995 Michael Meissner - * calls.c (emit_call_1): Fix typo in last change. + * config/fp-bit.c (FLO_union_type): Remove bitfields to set sign, + exponent, and mantissa, and add value_raw field, which is an + integer of the appropriate type. If _DEBUG_BITFLOAT is defined, + provide little and big endian bitfields. If the macro + FLOAT_BIT_ORDER_MISMATCH is defined, use explicit bitfields. + (pack_d, unpack_d): Switch to use value_raw and explicit shifts + and masks so that we don't have to worry about whether the target + is big or little endian unless FLOAT_BIT_ORDER_MISMATCH is + defined. If single precision floating point, rename to pack_f and + unpack_f, so there is no confusion in the debugger. + + * rs6000.h (rs6000_abi): New enumeration to describe which + ABI we're conforming to. + (rs6000_stack): Use abi enum, not AIX vs. V.4 boolean. + (ASM_OUTPUT_OPTIONS): New macro to print output options in .s file. + (ASM_FILE_START): Use it. + (output_options,rs6000_float_const): Declare new functions. -Wed Sep 21 21:32:56 1994 Chris Smith (csmith@convex.com) + * rs6000.c (output_option{,s}): New functions to write -f, -m, + and -W options to the asm file. + (rs6000_float_const): New function to generate floating point + constants portably used in signed,unsigned -> double conversions. + (rs6000_stack_info,debug_stack_info): Use ABI enumeration instead + of AIX vs. V.4 boolean. - * config.guess: Add convex c3* and c4* guesses. - * configure: Don't run fixincludes on convex. + * rs6000.md (float{,uns}sidf2): Call rs6000_float_const to + portably build the proper floating point constant for conversions. + (movdi): Properly handle movdi of CONST_{INT,DOUBLE} on little + endian systems. -Wed Sep 21 15:59:12 1994 Ashley Saulsbury (ans@sics.se) + * rs6000/sysv4.h (LIBGCC2_WORDS_BIG_ENDIAN): Define to be 0/1 + depending on the target endianess. + (ASM_FILE_START): Define, to call output_options in addition to + output_file_directive. + (TRAMPOLINE_SIZE): Correct size to match code. - * alpha.h (ASM_FILE_START): Write .set volatile. + * rs6000/eabi{,le}sim.h (CPP_SPEC): Define the correct endian + macro for varargs/stdargs use. -Wed Sep 21 14:45:45 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Mon Sep 11 18:41:58 1995 Jim Wilson - * calls.c (emit_call_1): Properly add a CLOBBER for sp - to CALL_INSN_FUNCTION_USAGE. + * c-decl.c (redeclaration_error_message): For TYPE_DECLs, return 0 + if TYPE_MAIN_VARIANT of old type is same as new type. - * c-typeck.c (mark_addressable): Give different error if trying - to put object with volatile fields into register; don't use DECL_NAME. +Mon Sep 11 17:39:35 1995 Rob Ryan (robr@cmu.edu) -Wed Sep 21 14:02:10 1994 Jim Wilson (wilson@cygnus.com) + * xcoffout.c (xcoff_inlining): New variable, used in place of + xcoff_current_include_file when determining whether to use + absolute line numbers. + (xcoffout_source_file): Switched to using xcoff_inlining to + determine when to emit .bi/.ei directives. - * reload1.c (eliminate_regs): Make test in LOAD_EXTEND_OP case - more precise. +Mon Sep 11 16:55:06 1995 Torbjorn Granlund -Wed Sep 21 11:34:12 1994 Ian Lance Taylor (ian@cygnus.com) + * m68k.md (cmpdi): Change patterns to allocate scratch register at + RTL generation time. + (tstdi): Likewise. - * fixincludes: Don't try to remove empty directories until after - removing DONE files. +Sun Sep 3 09:03:50 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Wed Sep 21 05:52:49 1994 Uwe Seimet (seimet@chemie.uni-kl.de) + * fold-const.c (size_binop): Don't pass 1 to NOTRUNC. - * m68k/atari.h (NO_{DOLLAR,DOT}_IN_LABEL): Define. +Thu Aug 31 19:27:00 1995 Roland McGrath -Tue Sep 20 20:06:08 1994 Doug Evans (dje@cygnus.com) + * libgcc2.c: Include longlong.h. + [L_udivdi3 || L_divdi3 || L_umoddi3 || L_moddi3] (__udivmoddi4): + Define this `static inline' when defining these, so they all + remain leaf functions. - * final.c (asm_insn_count): Handle ASM_INPUTs too. +Thu Aug 31 18:38:21 1995 Paul Eggert -Tue Sep 20 19:32:10 1994 Oliver Kellogg (okellogg@salyko.cube.net) + * c-parse.in (ends_in_label): New %union member. + (stmts, stmt_or_label): Use new member to avoid lexical lookahead hack. + (lineno_stmt_or_labels): New rule. + (lineno_stmt_or_label, stmt_or_label): Yield nonzero if it ends + in a label. - * 1750a.h, 1750a.c, 1750a.md: New files, to use as1750. - * 1750a/m1750.inc: File deleted. - * 1750a/ms1750.inc: New file. +Thu Aug 31 08:31:40 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Tue Sep 20 17:55:50 1994 Hallvard B Furuseth (hbf@durin.uio.no) - - * cccp.c (make_definition): Enable `-D' with macro arguments. + * cse.c (canon_hash, CONST_DOUBLE): Hash integer and real + differently. + * varasm.c (struct rtx_const): Add new field DI to union. + (decode_rtx_const, case CONST_DOUBLE): Use to hash CONST_DOUBLE + representing an integer. -Tue Sep 20 17:49:47 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * va-alpha.h (__gnuc_va_list): Make __offset an int. + * alpha.c (alpha_builtin_saveregs): Properly compute address + of __offset both both OSF and WINNT. - * cexp.y (HOST_WIDE_INT, HOST_BITS_PER_WIDE_INT): New macros. - (expression_value): Now HOST_WIDE_INT. - (parse_c_expression): Now returns HOST_WIDE_INT. - * cccp.c (eval_if_expression): Likewise. - (do_if, do_elif): Reflect new return value of functions. + * xm-alpha.h (sbrk): Don't define here. + * gmon.c (sbrk): Define here for __alpha. + * toplev.c (sbrk): Likewise. + * mips-tfile.c (malloc, calloc, realloc): Don't define for anybody. - * alpha.c (mode_mask_operand): Always return a value. + * reload.c (push_reload): Add case for output reload of a SUBREG + of a hard reg when output mode is invalid for that mode. + In both that case and existing case for in, don't remove SUBREG. + * reload1.c (emit_reload_insn): Emit RELOAD_OTHER output reloads last. - * function.c (pop_function_context): Clear reg_renumber. +Tue Aug 29 19:16:06 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * gcc.c (process_command): Add new switch, -dumpmachine. + * c-common.c (decl_attribute, case A_PACKED): Check is_type first. + (decl_attribute, case A_T_UNION): Likewise. + Don't access TYPE_FIELDS if DECL is zero. + * c-decl.c (finish_struct): If transparent_union attribute + specified, validate it once we finish laying the union out. -Tue Sep 20 15:57:40 1994 Jim Wilson (wilson@cygnus.com) +Mon Aug 28 05:58:03 1995 Paul Eggert - * sched.c (sched_analyze_insn): Parameter loop_note type changed - to rtx, and name changed to loop_notes. Code adding it to - REG_NOTES modified to account for type change. - (sched_analyze): Variable loop_note type changed to rtx, and name - changed to loop_notes. Store LOOP_* REG_DEAD notes in it instead - of LOOP_* NOTE_LINE_NUMBER. - (schedule_block): Pass last not insn to emit_note_before call. + * arm.c (arm_gen_movstrqi): Remove unused variable const_sxteen. - * iris5.h (ASM_OUTPUT_UNDEF_FUNCTION): Define. - (ASM_OUTPUT_EXTERNAL_LIBCALL): Define. - (ASM_DECLARE_FUNCTION_SIZE): Define. - * mips.c (mips_output_external): Use ASM_OUTPUT_UNDEF_FUNCTION. - (mips_output_external_libcall): New function. - (mips_asm_file_end): Handle ASM_OUTPUT_UNDEF_FUNCTION. - * README.IRIX5: Update. + * bi-lexer.c (buffer, inpoint): Remove unused variables. -Tue Sep 20 14:39:37 1994 Michael Meissner (meissner@osf.org) + * i370/mvs.h, i370/mvs370.c (mvs_label_emitted): Renamed + from mvs_label_emited. - * i386/i386.h (output_move_memory): Add declaration. - (output_move_pushmem): Ditto. + * msdos/configur.bat: Fix misspelling of `maintainer-clean'. - * i386/i386.c (output_move_pushmem): New function to handle - pushing bytes from memory onto the stack, possibily using - temporary registers. - (output_move_memory): New function to handle moving bytes from - memory to memory via temporary registers. +Sat Aug 26 06:57:17 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * i386/i386.md (movsi insn): If -fpic and the value we are moving - is a constant pool address, emit a leal instruction instead of - movl. - (movsf_push): Allow pushes from memory. - (SF, DF, XF, DI pushes): Move most of the code to the common - function output_move_pushmem. - (SF, DF, XF, DI memory->memory moves): Move most of the code to - the common function output_move_memory. - (DI move patterns): Combine DI patterns into two, one for pushes, - and one for everything else, so that the combiner will combine a - load with a store into a memory->memory move. - (untyped_call): Replace non-working code with m68k version that - emits a regular call, then breaks the parallel moves into separate - moves, and then issue a blockage instruction. - (blockage): New unspec_volatile insn to block insns from being - moved across this point. - (untyped_return): Delete. - (update_return): Delete. + * reload.c (push_secondary_reload): If X is a paradoxical SUBREG, + get mode and thing to reload from inside. + * reload1.c (emit_reload_insns): Do nothing for SUBREG whose + operand is unused subsequently. + In secondary reload case, if paradoxical SUBREG for output, reload + thing inside SUBREG, just like gen_reload. - * objc/sendmsg.c (get_imp): Allow __inline__ on x86 platforms. +Fri Aug 25 19:26:53 1995 Paul Eggert -Tue Sep 20 12:21:12 1994 Ian Lance Taylor (ian@cygnus.com) + * c-typeck.c (set_init_label): Don't die if an entire + brace-pair level is superfluous in the containing level. - * fixincludes: Handle the case of a symlink to root/* from a - subdirectory of another symlink to root/*. +Fri Aug 25 19:22:46 1995 Michael Meissner -Mon Sep 19 20:30:21 1994 Jason Merrill (jason@deneb.cygnus.com) + * configure (powerpc{,le}-eabisim): Add support for a new target + that works under the PSIM simulator. + * rs6000/eabisim.h, rs6000/eabilesim.h, rs6000/t-eabisim: New files. - * fold-const.c (fold): Handle COMPONENT_REFs involving CONSTRUCTORs. + * rs6000/eabi.h (STRICT_ALIGNMENT): If little endian, always set + strict alignment to 1. -Mon Sep 19 20:25:38 1994 Will Athanasiou (will@westford.ccur.com) +Fri Aug 25 19:22:23 1995 David Edelsohn - * rs6000.md (load sf with update): Fix RTL typo. + * rs6000.md ({add,sub,mulsi}di3): Support both endian possibilities. + (negdi2): Likewise. -Mon Sep 19 08:46:46 1994 Charles M. Hannum (mycroft@duality.gnu.ai.mit.edu) +Fri Aug 25 19:10:41 1995 Oliver Kellogg (Oliver.Kellogg@space.otn.dasa.de) - * c-common.c (check_format_info): Enable checking of format - specifiers using the `q' (quad) length modifier. - (format_char_info): Add `qlen'. - (print_char_table, scan_char_table): Add appropriate entries for - qlen. + * 1750a.md: Added peephole definitions for Load/Store Base insns + and eliminating redundant load in an equivalent store/load sequence. -Sat Sep 17 12:48:57 1994 Per Bothner (bothner@kalessin.cygnus.com) +Fri Aug 25 18:33:27 1995 Craig Burley (burley@gnu.ai.mit.edu) - * stmt.c (mark_seen_cases): Don't call fatal (or do anything - else) if case index out of range. Warning is given later. + * toplev.c (report_error_function): Don't attempt to use input + file stack to identify nesting of #include's if file name oflocation + diagnosed is not same as input_filename. -Fri Sep 16 19:22:46 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Fri Aug 25 07:31:47 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * global.c (global_alloc): Mark regs assigned to SCRATCH as used by - more than just local alloc. + * integrate.c (output_inline_function): Switch to function obstack. -Thu Sep 15 14:36:59 1994 Michael Meissner +Mon Aug 21 13:29:54 1995 J"orn Rennecke (amylaar@meolyon.hanse.de) - * i386/i386.c (order_regs_for_local_alloc): Instead of using - flag_cse_follow_jumps and not leaf_function_p to determine whether - to allocate EDX, and ECX before EAX, use whether or not a DImode - variable was used in the compilation. DImode variables seem to - cause spill failures if EAX is allocated first, while smaller code - is generated if EAX is allocated first, assuming no spill failure. + * i386.c (arithmetic_comparison_operator): New function. + (print_operand): Take into account that overflow flag is not + set the same as after a compare instruction. + * i386.md (decrement_and_branch_until_zero): Use + arithmetic_comparison_operator to decide if there is comparison + suitable to be expressed by condition code from an arithmetic op. - * i386/i386.md (SF, DF, XF, and DI moves and pushes): Eliminate - special patterns for TARGET_386 that allow direct pushes from - memory, and instead allow direct pushes from memory as the last - alternative in case no scratch registers could be allocated. - (movxf_mem): Remove inadvertent !TARGET_386 condition. - (addsi3): Allow generation of lea on 486, since the single - instruction lea is at least as fast as the mov and add it - replaces. - (zero extend patterns): Replace !TARGET_486 with TARGET_386. - (bit extracts): Ditto. +Mon Aug 21 13:26:13 1995 Philippe De Muyter (phdm@info.ucl.ac.be) - * i386/osfrose.h (LONG_DOUBLE_TYPE_SIZE): Don't redefine to be 64 - unless NO_LONG_DOUBLE is defined. + * m68k.md (adddi3, subdi3): "&" added to clobber's constraints. -Thu Sep 15 13:46:05 1994 Jim Wilson (wilson@cygnus.com) +Mon Aug 21 12:11:14 1995 Jim Wilson - * expmed.c (store_split_bit_field): Use number of bits in arg not - BITS_PER_WORD to adjust arg in BYTES_BIG_ENDIAN case. + * t-sparclite (MULTILIB_*, LIBGCC, INSTALL_LIBGCC): Define. -Thu Sep 15 09:19:12 1994 Richard Earnshaw (rwe@pegasus.esprit.ec.org) + * sh.md (movdi-1, movdf-1): Make conditional on reload_completed, + delete conditions checking for pseudo registers and Q addresses. + Add code to handle SUBREG. - * optabs.c (expand_binop, multi-word shifts): Generate rtl - free of conflicts for shifts less than one word. + * local-alloc.c (wipe_dead_reg): Make a register mentioned in a + REG_INC note die after the instruction. -Thu Sep 15 05:29:58 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * m68k.md: For all dbra pattern, change constraint from 'g' to 'd*g'. - * gcc.c: Rework last change so it's done like collect2.c. + * Makefile.in: (underscore.c): Rename rule to stamp-under, and + touch stamp-under at the end. Add new rule for underscore.c that + depends on stamp-under. - * cse.c (cse_around_loop): Don't invalidate SUBREG unless - it's a SUBREG of a REG. + * sh.c (reg_unused_after): For a SEQUENCE, make sure all insns are + safe before returning 1. - * sched.c (sched_analyze_insn): Don't set SCHED_GROUP_P for previous - INSN a USE unless it's a USE of a REG. + * sh.h (PROMOTE_FUNCTION_ARGS, PROMOTE_FUNCTION_RETURN): Define. -Wed Sep 14 10:08:58 1994 Michael I Bushnell + * sh.c (output_stack_adjust): Add new argument reg. Use it instead + of stack_pointer_rtx. + (sh_expand_prologue, sh_expand_epilogue): Pass new argument to + output_stack_adjust. - * gcc.c: Include in case `errno' is really a macro - as permitted by ANSI C. +Sat Aug 19 17:34:15 1995 Jim Wilson - * getpwd.c (GUESSPATHLEN): If there is no definition of - MAXPATHLEN, then set GUESSPATHLEN to be 100. (It's used - as a starting point, not a limit, so this is harmless.) + * sparc/gmon-sol2.c (_mcount): Define. + * sparc/sol2.h (STARTFILE_SPEC, ENDFILE_SPEC): Delete superfluous + -pg tests. + (LINK_SPEC): Add libp directories to -Y when -pg. -Tue Sep 13 15:02:19 1994 Michael Meissner + * unroll.c (calculate_giv_inc): Handle increment computed by ASHIFT. - * i386/i386.md (movxf_mem): Fix typo with memory/memory moves - of XFmode variables, where the store actually did a load, ie, the - source and destination operands were fixed. - (fixuns_trunc patterns): Revert to the old code. - (movdf_push486, movxf_push486, movdi_push486): If an address is - based on the stack pointer, account for the stack pointer changing - due to the intermediate pushes generated. +Sat Aug 19 17:28:56 1995 Philippe De Muyter (phdm@info.ucl.ac.be) -Tue Sep 13 14:11:16 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * m68k.md (subdi3): Should not be commutative. + (one_cmpldi2): Fixed typo with register operand. - * collect2.c (fatal_perror, fatal, error): Declare all args as char *. +Sat Aug 19 17:20:43 1995 Michael Meissner -Tue Sep 13 12:40:39 1994 Jeffrey A. Law (snake.cs.utah.edu) + * rs6000.c (output_prolog): Fixup code to set stack pointer + if stack size > 32k. + * rs6000.md (sync_isync): Renamed from sync; added an isync insn + after the sync to properly deal with PowerPC's with split I/D caches. + * sysv4.h (INITIALIZE_TRAMPOLINE): Sync function now named sync_isync. - * pa.c (emit_move_sequence): Handle secondary FP load/store - reloads of the form (subreg (mem (plus (reg) (disp)))). - (secondary_reload_class): A secondary register is needed to handle - out-of-range FP loads and stores. - * pa.md (reload_indf, reload_outdf): New expanders. - (reload_insf, reload_outsf): Likewise. +Sat Aug 19 17:07:09 1995 Doug Evans -Mon Sep 12 18:15:48 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * h8300.h (STATIC_CHAIN_REGNUM): Use r3. + (REGISTER_NAMES): Print r7 as sp. + (ADDITIONAL_REGISTER_NAMES): Recognize r7. + (ASM_OUTPUT_ALIGN): Alignment is power of 2. + * h8300.md (fancy_btst,fancy_btst1): Branch target must be + operand 0 for length attribute to work. - * t-pa (ADA_CFLAGS): New override. - * pa/t-pa-hpux: New file. - * configure (hppa*-*-hpux*): Use t-pa-hpux instead of t-libc-ok. +Sat Aug 19 16:43:11 1995 Paul Franklin -Mon Sep 12 14:52:17 1994 Jim Wilson (wilson@cygnus.com) + * assert.h: Declare __eprintf with attribute noreturn. - * function.c (assign_parms): Set RTX_UNCHANGING_P on stack_parm - for const parameter before calling move_block_from_reg. +Sat Aug 19 16:40:12 1995 Jason Merrill -Mon Sep 12 14:27:58 1994 Doug Evans (dje@cygnus.com) + * stddef.h: Don't define wchar_t if __cplusplus is defined. - * config/fp-bit.c (FLO_union_type): Add packed attribute to `bits'. +Tue Aug 15 18:01:01 1995 Paul Eggert -Sat Sep 10 09:50:41 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * cccp.c (warning_with_line): Fix typo in declaration when + !HAVE_VPRINTF and defined (__STDC__). - * cse.c (invalidate_for_call): Properly set IN_TABLE. +Tue Aug 15 17:57:54 1995 Stephen L Moshier -Sat Sep 10 06:46:24 1994 Bill Burton (billb@progress.com) + * real.c (ediv, emul): Set sign bit of IEEE -0.0 result. - * Added improved support for Sequent DYNIX/ptx 1.x and 2.x: - * fixinc.ptx: New file. - * i386/seq-sysv3.h (HAVE_ATEXIT): No longer defined. - * i386/seq2-sysv3.h: New file. - * configure (i[34]86-sequent-ptx[12]*): New configurations. - (i[34]86-sequent-sysv*, i[34]84-sequent-ptx): Deleted configurations. - * config.sub (ptx): New OS; use for Sequent. +Tue Aug 15 17:49:47 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Fri Sep 9 21:48:48 1994 Paul Eggert (eggert@twinsun.com) + * expr.c (safe_from_p): Only safe if EXP is variable-size and X + is BLKmode. - * cccp.c (rescan, handle_directive): Backslash no longer suppresses the - specialness of the following char unless -traditional. - (rescan): Remove backslash-newline only if at top level, since - backslash-newline-space can be encountered during macro processing. - (collect_expansion): Remove special hack for \# inside a #define; - it's not compatible with the C Standard. + * stmt.c (fixup_gotos): When some fixups done, reset to point + to next instead of zeroing TREE_VALUE, which may be shared. -Thu Sep 9 17:36:03 1994 Jason Merrill (jason@deneb.cygnus.com) - - * Utilize OSF/1's limited .init support. - * alpha/alpha.h (HAS_INIT_SECTION): Define. - (LINK_SPEC): Add '-init __main'. - * alpha/osf12.h (LINK_SPEC): Ditto. - - * function.c (expand_main_function): Don't call __main if - HAS_INIT_SECTION is defined. +Mon Aug 14 09:15:45 1995 Doug Evans -Fri Sep 9 16:36:46 1994 Mike Stump (mrs@cygnus.com) + * m68k/m68kemb.h (STARTFILE_SPEC): Define as empty. - * tree.c (decl_function_context): Don't treat C++ member - functions of classes declared in a function, as nested functions. +Mon Aug 14 09:08:57 1995 Pat Rankin -Fri Sep 9 16:10:25 1994 Steve Chamberlain (sac@jonny.cygnus.com) + * vax.c (vms_check_external): Update `pending_head' properly + when the first list element is removed. - * sh/sh.c (prepare_move_operands): Generate better DI constant - code. - (fake_shift): New function. - * sh/sh.md (ashlsi3_n, lshrsi3_n): Only recognise if fake_shift - enabled. - * sh/{lib1funcs.asm, ashlsi3.c, lshrsi3.c, ashrsi3.c} : New files. - * sh/t-sh : Build new files. +Mon Aug 14 09:01:32 1995 Jeffrey A. Law -Fri Sep 9 15:52:54 1994 Hallvard B Furuseth (h.b.furuseth@usit.uio.no) + * pa.md (call expanders): Emit a blockage insn after restoring + %r19 when generating PIC. - * cccp.c: Correct unprototyped pointer args from `0' to `NULL_PTR' +Sun Aug 13 21:58:49 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Fri Sep 9 15:17:52 1994 Matthew Green (mrg@splode.mame.mu.oz.au) + * toplev.c (main): Change text of unsupported -g option warning. - * configure (sparc-*-netbsd): New configuration. - * sparc/netbsd.h: New file. +Sun Aug 13 21:47:57 1995 Andrew McCallum -Fri Sep 9 15:15:48 1994 Jim Wilson (wilson@cygnus.com) + * objc/selector.c (sel_get_any_typed_uid): New function. + * objc/objc-api.h (sel_get_any_typed_uid): Declare new function. - * mips.md (truncdisi2): Change from define_expand to define_insn. - (truncdihi2, truncdiqi2): Likewise. +Sun Aug 13 21:43:17 1995 John Carr - * sparc.h (SQRTTF2_LIBCALL): Delete. - (INIT_TARGET_OPTABS): Define. - (INIT_SUBTARGET_OPTABS): Define. + * c-typeck.c (c_expand_asm_operands): Check for read-only output + operand where the variable is read-only but the type is not. - * stmt.c (check_for_full_enumeration_handling): Cast malloc result - to `unsigned char *' not `char *'. +Sun Aug 13 21:16:12 1995 David Edelsohn - * dbxout.c (dbxout_symbol_location): Handle error_mark_node in - DECL_INITIAL for C++. + * rs6000.c (direct_return): Epilogue required if CR saved. - * mips.md (memory): Add missing !r4600 to first define_function_unit. +Sun Aug 13 19:09:25 1995 Jeff Law (law@snake.cs.utah.edu) - * sparc.md (negsi2): Use register_operand not general_operand for - output. + * configure (hppa1.?-hp-hpux10): Recognize and treat just like hpux9. -Fri Sep 9 14:52:58 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Sun Aug 13 19:07:23 1995 Doug Evans - * config/netbsd.h: Add #undef for everything we define; a few were - missing. + * i960.md (movdi matchers): Fix src/dest order in unaligned + reg->reg case. - * reload.c (find_reloads, case 'p'): Operand is BASE_REG_CLASS. +Sun Aug 13 18:49:01 1995 DJ Delorie -Fri Sep 9 14:00:28 1994 Mike Collison (collison@world.std.com) + * i386/xm-dos.h (HAVE_STRERROR): New definition. - * configure (dsp16xx-*): New configuration. - * config.sub (dsp16xx): New basic machine. - * dsp16xx.c, dsp16xx.md, dsp16xx.h, xm-dsp16xx.h: New files. + * msdos/configur.bat: Add missing carriage return. -Fri Sep 9 12:47:00 1994 Michael Meissner (meissner@osf.org) +Sun Aug 13 18:40:55 1995 Andrew Cagney - * i386/i386.md (All SF, DF, XF, DI 486 push patterns): Merge the - memory and nonmemory push patterns together. + * Makefile.in (USER_H): Add va-ppc.h. -Fri Sep 9 00:53:36 1994 Richard Stallman +Sun Aug 13 18:36:17 1995 M. Warner Losh - * config.sub: Accept i586 like i386. - Do not use SCO as a default for i386-*. + * stmt.c (expand_asm_operands): Type '0'..'4' operands may + allow regs, so move them to the default case. -Thu Sep 8 18:49:35 1994 Steve Chamberlain (sac@cygnus.com) +Sun Aug 13 18:32:35 1995 Paul Eggert - * config/fp-bit.c (_fpmul_parts): Perform optimized - 64bit*64bit multiply correctly. - * sh/sh.c (synth_constant): Ensure DI mode constants get their - high part zeroed. - (add_constant): Entabled constants are only identical if their - sizes are the same. + * cccp.c (warning_with_line): New function. + (trigraph_pcp): Use it, to avoid reporting line number. + (vwarning_with_line): Don't report line number if zero. -Thu Sep 8 14:40:31 1994 Jim Wilson (wilson@cygnus.com) +Sun Aug 13 18:23:08 1995 Jason Merrill - * flow.c (mark_used_regs, case REG): Correct typo, use GET_MODE - not GET_CODE. - * sched.c (attach_deaths): Likewise. + * toplev.c (vmessage): Support four arguments. -Tue Sep 6 23:33:41 1994 Per Bothner (bothner@kalessin.cygnus.com) +Sun Aug 13 18:19:51 1995 Michael Meissner - * tree.c (get_set_constructor_bits, get_set_constructor_words): - New functions. Extract bits or words from SET_TYPE CONSTRUCTOR. - * tree.h: Declare above new functions. + * ginclude/stdarg.h: Add ppc svr4 calling sequence support. + * ginclude/varargs.h: Likewise. + * ginclude/va-ppc.h: New file. -Thu Sep 8 14:02:05 1994 Michael Meissner (meissner@osf.org) +Sun Aug 13 18:05:20 1995 Michael Gschwind - * 386/i386.h (TARGET_OPTIONS): New macro to define -mreg-alloc= - switch to allow users to override the register allocation order. - (OVERRIDE_OPTIONS): Call the function override_options. - (REG_ALLOC_ORDER): Define to allocate in the natural order, this - is needed for ORDER_REGS_FOR_LOCAL_ALLOC to work. - (ORDER_REGS_FOR_LOCAL_ALLOC): Define to call the function - order_regs_for_local_alloc. - (regclass_map): Move declaration to end of file. - (i386_compare_op0, i386_compare_op1): Ditto. - (CLASS_LIKELY_SPILLED_P): Define, return 1 for AD_REGS in addition - to all of the single register classes, since AD_REGS is only used - to allocate EAX:EDX. - (override_options, order_regs_for_local_alloc): Add declarations. - (hi_reg_name): Add declaration. - (qi_reg_name): Ditto. - (qi_high_reg_name): Ditto. - (i386_reg_alloc_order): Add declaration for TARGET_OPTIONS to use. + * configure (pdp-*-*): Add support for t-pdp11. + * t-pdp11: New file. + * Makefile.in (LIBGCC2_CFLAGS): Add TARGET_LIBGCC2_CFLAGS. - * i386/i386.c (i386_compare_op0, i386_compare_op1): Initialize - with NULL_RTX. - (i386_reg_alloc_order): Provide global variable definition. - (regs_allocated): Static array to note whether a register is noted - via -mreg-alloc=. - (override_options): Provide checking for registers declared with - -mreg-alloc=. - (order_regs_for_local_alloc): If -mreg-alloc= was used, - allocate registers mentioned in order, and then allocate all other - registers in the normal register order. If -mreg-alloc= was - not used, allocate registers in natural order except for non-leaf - functions with CSE following jumps, allocate EAX after EDX and - ECX, to allow the function return to be CSE'd, and perl 4.036's - perly.y to be compiled without aborting due to not being able to - find a spill register. - (movsf, movdf, movdi): Rewrite all patterns to provide effecient - memory to memory moves, including pushes for i386 and i486. Fixes - problems in compiling motif+ without optimization. - (swapsf): Add, like swapdf and swapxf. - (fixuns_truncsfsi2, fixuns_truncdfsi2): Use general_operand - instead of register_operand for define_expand, since the operand - is copied to a new pseudo register as part of the expansion. - (fix_truncxfdi2, fix_truncdfdi2, fix_truncsfdi2): Rewrite to call - the more primitive generator functions instead of knowing how many - clobbers of match_scratchs they do. +Sun Aug 13 14:50:58 1995 Jim Wilson - * Makefile.in (aux_output.o): Define TARGET_CPU_DEFAULT if - specified when compiling aux_output.o to allow the machine C file - access to this if it wants it. + * final.c (final_start_function): Always call sdbout_begin_function + and xcoffout_begin_function, even if no line number info. -Thu Sep 8 07:15:29 1994 David Edelsohn (edelsohn@npac.syr.edu) + * mips/abi64.h (SETUP_INCOMING_VARARGS): In if statement, only + subtract one for stdarg. Don't subtract PRETEND_SIZE from + argument pointer when calculating stack address. + * mips.h (INITIAL_ELIMINATION_OFFSET): For 64 bit ABI, subtract + current_function_pretend_args_size when converting from argument + pointer. + * va-mips.h (va_start): For stdarg, delete separate define for + 64 bit ABI. For varargs, don't subtract 64, and only add -8 when + all argument registers are used. - * rs6000.md (movsi matcher): Merge TARGET_POWER and !TARGET_POWER - cases. Rationalize mnemonics. - (movhi and movqi matchers): Likewise. - (movsf matcher): Correct length attribute for stfs which no longer - includes frsp. + * gcc.c (main): When concat gcc_exec_prefix and + standard_startfile_prefix, put machine_suffix in the middle. -Thu Sep 8 07:06:31 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * iris6.h (INIT_SECTION_ASM_OP): Don't define. + (LD_INIT_SWITCH, LD_FINI_SWITCH, HAS_INIT_SECTION): Don't undef. + (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): Ifdef out. + * configure (mips-sgi-irix6, mips-sgi-irix5cross64): Define + use_collect2 to yes. - * rs6000.h (REGISTER_MOVE_COST): Fix typo in last change. + * combine.c (move_deaths): When have a multi-reg hard register, + if don't find a note, then recur for each individual hard register. -Wed Sep 7 19:31:52 1994 Paul Eggert (eggert@twinsun.com) + * cse.c (set_nonvarying_address_components): Handle addresses + which are the sum of two constant pseudo regs. + (cse_rtx_addr_varies_p): Likewise. - * cccp.c (handle_directive): In `#include ' directives, - remove backslash-newline properly. Don't allow any other newlines. + * Makefile.in (gfloat.h): Add a - before the rm command. -Wed Sep 7 18:11:29 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * loop.c (find_and_verify_loops): Set dest_loop only if + JUMP_LABEL (insn) is non-zero. - * rs6000.h (REGISTER_MOVE_COST): Moving between special registers - is expensive. +Mon Jul 31 14:31:53 1995 Ian Lance Taylor - * combine.c (simplify_comparison): Convert comparison to unsigned - when stripping off a ZERO_EXTEND. + * fixincludes: Avoid clobbering VxWorks drv/netif/if_med.h file. - * combine.c (simplify_set): Only convert IF_THEN_ELSE to logical - expression if mode of object being compared is result mode. +Sat Jul 29 16:21:42 1995 Jason Merrill -Wed Sep 7 18:09:17 1994 David J. MacKenzie (djm@geech.gnu.ai.mit.edu) + * collect2.c: (XCOFF_SCAN_LIBS): Define if OBJECT_FORMAT_COFF and + XCOFF_DEBUGGING_FORMAT. + (SCAN_LIBRARIES): Also define if XCOFF_SCAN_LIBS. - * configure: Ignore --help, --version, --program-prefix, - --program-suffix, --cache-file, --quiet, --silent. +Sat Jul 29 16:19:42 1995 Stuart D. Gathman -Wed Sep 7 13:29:50 1994 Doug Evans (dje@cygnus.com) + * collect2.c (scan_libraries): Implement for AIX. - * stmt.c (expand_asm_operands): Move test for misspelled registers - higher so all cases caught. +Sat Jul 29 09:59:33 1995 Michael Gschwind -Wed Sep 7 09:54:14 1994 Per Bothner (bothner@kalessin.cygnus.com) + * configure: (pdp11-*-bsd) New target. + * 2bsd.h: New file. - * configure: Touch Makefile.ll before appending subdir stuff. - (Needed if there are no subdirs.) + * pdp11.c (output_move_double): Handle CONST_INT parameters properly. + * pdp11.h (RTX_COSTS): Fill in missing default values. + * pdp11.md (truncdfsf2, extendsfdf2, floatsidf2, fix_truncdfsi2): + Allow register parameters, required by gcc to generate correct code. + * xm-pdp11.h: Include tm.h. -Wed Sep 7 11:19:18 1994 Kresten Krab Thorup (krab@akvavit.next.com) +Sat Jul 29 09:55:17 1995 Andreas Schwab - * objc/init.c (__objc_init_protocols): Remove assertion. - * objc/Object.m (conformsTo:): Make lookup allways happen in - the class object. + * configure (m68k-*-linux*aout*, m68k-*-linux*): New targets. + * m68k/linux-aout.h, m68k/linux.h, m68k/t-linux, m68k/xm-linux.h: New. + * m68k.md [USE_GAS]: Output `jbsr' instead of `jsr' for normal + function calls and `bsr.l' instead of `bsr' for pic function calls. -Tue Sep 6 17:47:39 1994 Per Bothner (bothner@kalessin.cygnus.com) +Sat Jul 29 09:44:13 1995 Jim Wilson - * configure: Rename *-next-ns[23] to *-next-nextstep[23]. - * config.sub: Cleanup NeXT support to emit nextstep*. + * sh.h (CAN_DEBUG_WITHOUT_FP): Comment out. -Tue Sep 6 18:38:02 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * reload.c (find_reloads_address_1, case PLUS): When handle SUBREG, + add SUBREG_WORD offset to SUBREG_REG register number. + (find_reloads_address_1, case SUBREG): If a pseudo register inside + a SUBREG is larger than the class, then reload the entire SUBREG. + * sh.h (SUBREG_OK_FOR_INDEX_P): New macro. + (INDEX_REGISTER_RTX_P): Use it. - * reload.c (find_reloads_address): Don't reorder the operands of a - PLUS when fixing up index. +Sat Jul 29 09:33:19 1995 Doug Evans -Tue Sep 6 18:24:50 1994 Matthias Pfaller (leo@marco.de) + * mips/netbsd.h (CPP_SPEC): Fix typo. - * ns32k.md (stackadjust/push peepholes): For the adjust/push/push - pattern one offset was wrong. - Don't use addr for register and and MEM refs. + * configure (a29k-*-vxworks*): Define extra_parts for crt{begin,end}.o. + * t-a29k, t-a29kbase, t-vx29k ({,CROSS_}LIBGCC1): Define as empty. -Tue Sep 6 11:24:06 1994 Steve Chamberlain (sac@jonny.cygnus.com) +Sat Jul 29 09:15:17 1995 Jeffrey A. Law - * sh/sh.c (push, pop): Generate REG_NOTES. - (synth_constant): Correct one of the patterns. - (output_file_start): Bump version number. - * sh/sh.h (EXIT_IGNORE_STACK): Now 1. - * sh/sh.md (adddi3, subdi3): Simplify. - (casesi_worker): Use TARGET_BIGTABLE. + * pa/lib2funcs.asm (gcc_plt_call): Rewrite to avoid the need + for being called by _sr4export. Inline expand $$dyncall to + avoid the need for long-call and PIC support. -Mon Sep 5 12:29:15 1994 Ian Lance Taylor (ian@cygnus.com) +Sat Jul 29 07:30:04 1995 Oliver Kellogg (Oliver.Kellogg@space.otn.dasa.de) - * ginclude/math-68881.h: Change inline functions from static to - extern. + * ms1750.inc (ucim.m, ucr.m, uc.m): New. + * 1750a.md (cmpqi): Account for unsigned comparisons. + (rotrqi3, rotrhi3): Reworked. + * 1750a.c (notice_update_cc): INCM and DECM set condition codes. + (unsigned_comparison_operator, next_cc_user_is_unsigned): New fcns. + * 1750a.h (FUNCTION_EPILOGUE): Local variables freed from SP, not FP. + (ASM_OUTPUT_BYTE): Make distinct from ASM_OUTPUT_CHAR. + (ASM_OUTPUT_CONSTRUCTOR): Add FILE arg to assemble_name. - * configure (i[34]86-*-sysv4*): If --with-stabs, set tm_file to - i386/sysv4gdb.h. - * config/i386/sysv4gdb.h: New file; sets PREFERRED_DEBUGGING_TYPE. +Fri Jul 28 09:40:07 1995 Jeffrey A. Law -Sun Sep 4 08:40:02 1994 Chris Smith (csmith@convex.com) + * pa.h (DO_GLOBAL_DTORS_BODY): Use an asm statement to keep optimizer + from deleting an assignment it believes dead. - * convex.h (VTABLE_USES_MASK, VINDEX_MAX, SET_DECL_VINDEX): - delete, no longer used. - (target_flags): delete cexp.c hack, no longer needed. - * convex.md (decr-and-set-cc0): fix HImode to use halfword - insns. - (cmpqi patterns): fix constraints not to use A regs +Fri Jul 28 08:47:51 1995 Jim Wilson -Sat Sep 3 14:12:11 1994 Michael Meissner (meissner@osf.org) + * unroll.c (unroll_loop): When preconditioning, output code to + execute loop once if initial value is greater than or equal to final + value. - * i386/i386.md (DImode move and push insns): Eliminate movdi - wrapper that made a DI temp register to do a memory to memory - move because it creates too much register pressure, especially - when not optimizing. On the 486, allocate and use 1-2 scratch - registers to push a DImode value. + * configure (lang_specs_files, lang_options_files): Add $srcdir to + file names when adding them to these variables. -Fri Sep 2 15:11:59 1994 Jason Merrill (jason@deneb.cygnus.com) - - * c-decl.c (min_precision): Move from here. - * c-common.c: To here. + * c-typeck.c (pointer_int_sum): Don't distribute if intop is unsigned + and not the same size as ptrop. -Fri Sep 2 13:16:38 1994 Per Bothner (bothner@kalessin.cygnus.com) + * function.c (assign_stack_temp): When split a slot, set base_offset + and full_size in the newly created slot. + (combine_temp_slots): Update full_size when slots are combined. - * tree.h (maximum_field_alignment, set_alignment): New declarations. + * sh.c (reg_unused_after): New function. + * sh.md (define_peephole): Add peepholes to use r0+rN addressing mode + for some address reloads. -Fri Sep 2 14:25:36 1994 Ian Lance Taylor (ian@cygnus.com) + * final.c (final_start_function): If SDB_DEBUG, call + sdbout_begin_function. If XCOFF_DEBUG, call xcoffout_begin_function + instead of xcoffout_output_first_source_line. + (final_scan_insn): Don't call sdbout_begin_function or + xcoffout_begin_function. + * xcoffout.c (xcoffout_output_first_source_line): Delete. + (xcoffout_begin_function): Call dbxout_parms and + ASM_OUTPUT_SOURCE_LINE. - * config/svr4.h (DBX_DEBUGGING_INFO, PREFERRED_DEBUGGING_TYPE, - DBX_BLOCKS_FUNCTION_RELATIVE, ASM_IDENTIFY_GCC, - ASM_IDENTIFY_GCC_AFTER_SOURCE, ASM_OUTPUT_SOURCE_LINE, - DBX_FUNCTION_FIRST): Define. This adds support for -gstabs for - SVR4 configurations. -gstabs requires gas and gdb. - * config/sparc/sol2.h (DBX_DEBUGGING_INFO, - DBX_BLOCKS_FUNCTION_RELATIVE, ASM_IDENTIFY_GCC, - ASM_IDENTIFY_GCC_AFTER_SOURCE, ASM_OUTPUT_SOURCE_LINE, - DBX_FUNCTION_FIRST): Don't define. Now defined by config/svr4.h. - (PREFERRED_DEBUGGING_TYPE): Undefine before defining. - * config/sparc/sysv4.h (DBX_DEBUGGING_INFO): Don't bother to - undefine before including svr4.h. - (ASM_OUTPUT_SOURCE_LINE): Undefine before including svr4.h. - -Thu Sep 1 22:02:02 1994 Michael Meissner (meissner@osf.org) - - * toplev.c (fatal_insn): Move most of the code from - fatal_insns_not_found here, and add an argument to give the error - message. - (fatal_insn_not_found): Call fatal_insn. - * rtl.h (fatal_insn, fatal_insn_not_found): Add prototypes. - * genextra.c (main): Don't declare fatal_insn_not_found in - insn-extract.c. - * reload1.c (reload): Call fatal_insn where appropriate to print - an error message instead of calling abort. - (spill_failure): Ditto. - (reload_as_needed): Ditto. - (allocate_reload_reg): Ditto. - (emit_reload_insns): Ditto. + * va-mips.h: Change every occurance of #if __mips>=3 to + #ifdef __mips64. + * mips/abi64.h (CPP_SPEC): Output -D__mips64 when -mips3, or -mips4, + or -mgp64. Output -U__mips64 when -mgp32. + * mips/dec-bsd.h, mips/elf64.h, mips/iris3.h: Likewise. + * mips/iris5.h, mips/mips.h, mips/netbsd.h, mips/osfrose.h: Likewise. -Thu Sep 1 19:34:26 1994 Jason Merrill (jason@deneb.cygnus.com) - - * tree.c (type_list_equal): If the types of the default arguments - differ, the lists do not match. - -Thu Sep 1 19:29:58 1994 Matthias Pfaller (leo@marco.de) + * i960.c (i960_function_epilogue): Don't clear g14 for functions with + an argument block. + (i960_output_reg_insn): Likewise. + (i960_output_call_insn): Clear g14 for functions wtih an argument + block. - * ns32k.md (stack-adjust/push peepholes): Addresses are - moved with "addr", not with "movd". +Fri Jul 28 08:43:52 1995 Doug Evans -Thu Sep 1 19:17:55 1994 Paul Eggert (eggert@twinsun.com) + * i960.c (i960_arg_size_and_align): Correct alignment of XFmode + values in library calls. + * i960.md (movdi matchers): Support odd numbered regs. - * cccp.c (make_definition): Don't dump core when given an - unterminated string in a -D option. +Fri Jul 28 08:37:25 1995 Michael Gschwind -Thu Sep 1 19:13:35 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * pdp11.md (divhi3, modhi3, divmodhi4): Rewrite. + +Wed Jul 26 10:15:52 1995 Hallvard B Furuseth (h.b.furuseth@usit.uio.no) - * c-typeck.c (convert_arguments): Give proper warnings when - converting COMPLEX_TYPE; widen check to include all integral types. + * collect2.c (end_file): Fix typo in error message text. -Wed Aug 31 20:38:53 1994 Per Bothner (bothner@spiff.gnu.ai.mit.edu) +Wed Jul 26 09:22:22 1995 Jeff Law (law@snake.cs.utah.edu) - * fixproto: Define FIX_HEADER (needed by Aug 19 change). - Use FIX_HEADER instead of $original_dir/fix-header (twice). + * xm-pa.h (USE_C_ALLOCA): Always define. + * xm-pahpux.h (USE_C_ALLOCA): Likewise. -Wed Aug 31 16:56:15 1994 Jason Merrill (jason@deneb.cygnus.com) - - * stmt.c (warn_if_unused_value): Extend special case for casted - MODIFY_EXPRs to apply to INIT_EXPRs as well. - -Wed Aug 31 16:30:09 1994 Per Bothner (bothner@kalessin.cygnus.com) + * x-pa (CC): Remove useless definition. + * xm-pa.h (HAVE_STRERROR): Define. + (__BSD_NET2__): Define. + +Wed Jul 26 09:10:25 1995 Jason Merrill + + * expr.c (preexpand_calls): Don't look past a CLEANUP_POINT_EXPR. + +Wed Jul 26 08:43:42 1995 Jim Wilson + + * cse.c (cse_insn): When do special handling for (set REG0 REG1), + must delete REG_EQUAL note from insn if it mentions REG0. + + * loop.c (find_and_verify_loops): When moving blocks of code, verify + that the just destination is not in an inner nested loop. + (mark_loop_jump): Don't mark label as loop exit if it jumps to + an inner nested loop. + +Wed Jul 26 08:40:31 1995 Paul Eggert + + * cccp.c (do_include, read_name_map): Omit leading "./" and + trailing "/" when it makes sense. + (skip_redundant_dir_prefix): New function. + +Wed Jul 26 08:36:41 1995 Michael Meissner + + * stmt.c (emit_nop): Do not emit a nop if there is a single + insn before a label or at the start of a function. + +Wed Jul 26 08:21:21 1995 Doug Evans + + * Makefile.in (gfloat.h): Delete previous copy before updating. + +Wed Jul 26 08:18:29 1995 Roland McGrath + + * Makefile.in (STAGESTUFF): Add stamp-crtS. + (crtbeginS.o, crtendS.o, stamp-crtS): New rules; just like + crtbegin.o et al, but compiled using -fPIC. + * configure (*-*-gnu*): Add crtbeginS.o and crtendS.o to $extra_parts. + +Wed Jul 26 08:11:52 1995 Michael Gschwind + + * pdp11.md: Fixed typos ('bhos' -> 'bhis'). + +Wed Jul 26 08:05:41 1995 Jim Wilson + + * hp320.h, m68k.h, m68kv4.h (LEGITIMATE_PIC_OPERAND_P): Reject + CONST_DOUBLE with MEM with invalid pic address. + * reload1.c (real.h): Include it. + * Makefile.in (reload1.o): Depends on real.h. + +Wed Jul 26 07:58:22 1995 Ian Lance Taylor + + * gcc.c (MULTILIB_DIRS): Provide default if not defined. + (multilib_defaults): New static variable. + (default_arg): New static function. + (set_multilib_dir): Ignore default arguments. + (print_multilib_info): Ignore entries which use default arguments. + +Tue Jul 25 10:06:09 1995 Michael Meissner + + * rs6000.md (allocate_stack): Don't copy the LR register to + the new stack end. + * rs6000.c (rs6000_stack_info): Correctly store the LR in + the caller's frame, not the current frame, for V.4 calls. + * rs6000/eabi.asm (_save*, _rest*): Provide all mandated V.4 save + and restore functions, except for the save*_g functions which + return the GOT address. + +Fri Jul 21 14:24:25 1995 Michael Meissner + + * rs6000/eabi.h (__eabi): Load up r13 to be the small data + pointer, unless -mrelocatable. + + * rs6000/aix3newas.h (LINK_SPEC): Import machine independent + functions if -mcpu=common. + * rs6000/milli.exp: Import file referenced in aix3newas.h. + + * rs6000/eabi.asm (__eabi): Support for fixing up user initialized + pointers when -mrelocatable is used. + * rs6000/eabi.h (ASM_OUTPUT_INT): Record any pointers initialized + by the user if -mrelocatable, to be fixed up by __eabi. + (CONST_SECTION_ASM_OP): If -mrelocatable, put read-only stuff in .data, + not .rodata, to allow user initialized pointers to be updated by __eabi. + + * rs6000.h (TARGET_SWITCHES): Add -mdebug-{stack,arg}. + (TARGET_{ELF,NO_TOC,TOC}): Add defaults for non system V. + (rs6000_stack): New structure to describe stack layout. + (RS6000_{REG_SAVE,SAVE_AREA,VARARGS_*}): New macros used to + support both AIX and V.4 calling sequences. + (FP_ARG_*, GP_ARG_*): Ditto. + (FP_SAVE_INLINE): Ditto. + (STARTING_FRAME_OFFSET): Modify to support both AIX and V.4 + calling sequences. + (FIRST_PARM_OFFSET): Ditto. + (REG_PARM_STACK_SPACE): Ditto. + (STACK_POINTER_OFFSET): Ditto. + (FUNCTION_ARG_REGNO_P): Ditto. + ({,INIT_}CUMULATIVE_ARGS): Ditto. + (LEGITIMATE_LO_SUM_ADDRESS_P): Ditto. + (FUNCTION_ARG{,_ADVANCE,PARTIAL_NREGS,PASS_BY_REFERENCE}): Ditto. + (SETUP_INCOMING_VARARGS): Ditto. + (EXPAND_BUILTIN_SAVEREGS): Ditto. + (CAN_ELIMINATE): Ditto. + (INITIAL_ELIMINATION_OFFSET): Ditto. + (LEGITIMATE_CONSTANT_POOL_{BASE,ADDRESS}_P): Ditto. + (GO_IF_{LEGITIMATE_ADDRESS,MODE_DEPENDENT_ADDRESS}): Ditto. + (LEGITIMIZE_ADDRESS): Ditto. + (CONST_COSTS): Ditto. + (ASM_OUTPUT_SPECIAL_POOL_ENTRY_P): Ditto. + (ASM_OUTPUT_REG_{PUSH,POP}): Use reg_names to print registers. + (function declarations): Add new rs6000.c function declarations, + and delete decls of deleted functions. + (SHIFT_COUNT_TRUNCATED): Parenthesize the expression. + + * rs6000.c (init_cumulative_args): New function to support AIX + and V.4 calling sequences. + (function_arg{,_advance,partial_nregs,pass_by_reference}): Ditto. + (setup_incoming_varargs): Ditto. + (expand_builtin_saveregs): Ditto. + (rs6000_stack_info): Ditto. + (debug_stack_info): Ditto. + (direct_return): Changes to support AIX and V.4 calling sequences. + (first_reg_to_save): Ditto. + (svr4_traceback): Ditto. + (output_{prolog,epilog}): Ditto. + (print_operand): Use reg_names to print registers. Add support + for V.4 HIGH/LO_SUM address modes. + (must_save_cr): Function deleted, in rewrite of AIX/V.4 calling + sequence support. + (rs6000_sa_size): Ditto. + (rs6000_pushes_stack): Ditto. + (output_toc): Add abort if no toc. + + * rs6000.md (call insns): Add a new argument to flag a V.4 + function needs to set bit 6 of the CR. + (elf_{low,high}): New V.4 functions to create addresses via HIGH + and LO_SUM patterns. + (movsi): Use elf_{low,high} if appropriate. + (mov{si,di}_update): Name these patterns for allocate_stack. + (allocate_stack): Support for V.4 stack layout. + (sync): New pattern for V.4 trampolines to issue the sync + instruction. + + * rs6000/sysv4.h (TARGET_SWTICHES): Add -mcall-{aix,sysv}, and + -mprototype. Remove separate flag bit for -mno-toc. + (SUBTARGET_OVERRIDE_OPTIONS): Don't test for -mno-toc. + (FP_ARG_*): Adjust for V.4 calling sequences. + (RS6000_*): Ditto. + (FP_SAVE_INLINE): Ditto. + (toc_section): Eliminate use of AIX style full TOC. + (TRAMPOLINE_{TEMPLATE,SIZE}): Redefine for V.4 support. + (INITIALIZE_TRAMPOLINE): Ditto. + + * rs6000/eabi.h (CPP_SPEC): Define _CALL_SYSV or _CALL_AIX, + depending on whether -mcall-sysv or -mcall-aix was used. + * rs6000/eabile.h (CPP_SPEC): Ditto. + * rs6000/sysv4le.h (CPP_SPEC): Ditto. + + * rs6000/t-eabigas (MULTILIB_{OPTIONS,DIRNAMES}): Delete no-toc + libraries, explicit big endian libraries. + * rs6000/t-ppcgas (MULTILIB_{OPTIONS,DIRNAMES}): Ditto. + + * rs6000/t-eabiaix: New file for eabi, using -mcall-aix as the + default. + * rs6000/eabiaix.h: Ditto. - * stor-layout.c (set_alignment): New global. - (layout-type): Add support for SET_TYPE. + * rs6000/t-eabilegas: New file for eabi on little endian systems. + * rs6000/t-ppclegas: New file for V.4 on little endian systems. - * expmed.c (store_bit_field): Semi-revert Aug 25 change: - Make it apply only for BLKmode, not integral modes. + * rs6000/t-rs6000 (MULTILIB_{OPTIONS,DIRNAMES}): Build libgcc.a + for -mcpu=common. - * stmt.c (all_cases_count, mark_seen_cases): New functions. - (BITARRAY_TEST, BITARRAY_SET): New macros. Used (mainly by - Chill) to check all cases are covered (for enums and ranges). - (check_for_full_enumeration_handling): Re-write to use the - new functions, now that we have them. + * configure (powerpc-*-eabiaix): New configuration for defaulting + to old-style AIX calling sequence. + (powerpcle*): Use new t-{eabi,ppc}legas files, to avoid building + explicit little endian multilib libraries. -Wed Aug 31 19:19:29 1994 Richard Earnshaw (rwe@pegasus.esprit.ec.org) +Fri Jul 21 13:23:06 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * combine.c (nonzero_bits, cases DIV, MOD, UDIV, UMOD): Declare - op0_maybe_minusp and op1_maybe_minusp as HOST_WIDE_INT. + * toplev.c (main): Don't define sbrk #ifdef __alpha__. -Wed Aug 31 18:54:54 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Tue Jul 18 19:23:44 1995 Paul Eggert - * expmed.c (store_split_bit_field): Always adjust arg to - extract_fixed_bit_field in BYTES_BIG_ENDIAN case. + * cccp.c (do_include): Prefix -H output lines with spaces, not dots. + (output_dots): Remove. -Wed Aug 31 02:49:34 1994 Roland McGrath + * cccp.c (main): cplusplus_comments now defaults to 1. + But clear it if -traditional or the new option -lang-c89 is given. + * gcc.c (default_compilers, cpp): Specify -lang-c89 if -ansi is given. + This turns off C++ comment recognition. - * config/i386/gnu.h (LIB_SPEC): New macro. +Tue Jul 18 19:16:38 1995 Jim Wilson -Tue Aug 30 16:35:23 1994 Jason Merrill (jason@deneb.cygnus.com) - - * toplev.c (lang_options): Add -W{no-,}reorder. - -Tue Aug 30 13:55:58 1994 Jeffrey A. Law (law@snake.cs.utah.edu) + * va-sparc.h (va_arg): Add support for 128 bit long double type. - * combine.c (simplify_comparison, case GEU): Add missing break. +Tue Jul 18 19:11:18 1995 Jorn Rennecke (amylaar@meolyon.hanse.de) -Mon Aug 29 17:50:55 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * c-common.c (decl_attributes, case A_ALIGNED): Handle is_type + case properly. - * vax.md (extv, extzv): Don't use ROTL when field is outside - boundaries of a word. +Tue Jul 18 19:03:02 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Mon Aug 29 11:43:18 1994 Kresten Krab Thorup (krab@akvavit.next.com) + * fold-const.c (fold, case CONVERT_EXPR): Don't merge conversions + if outer is to handle a type with differing precision. - * objc/sendmsg.c (get_imp): Don't inline on 386. +Mon Jul 17 14:37:35 1995 Pat Rankin (rankin@eql.caltech.edu) -Sun Aug 28 18:56:03 1994 Andrew McCallum (mccallum@cs.rochester.edu) + * vax/vms.h (HAVE_ATEXIT): Define. + (DO_GLOBAL_CTORS_BODY): Don't call atexit; let __do_global_ctors do it. + * vax/xm-vms.h (HAVE_VPRINTF): Define. - * objc/class.c (objc_get_meta_class): New function. +Mon Jul 17 06:41:19 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Sat Aug 27 23:13:53 1994 Michael Meissner (meissner@osf.org) + * c-typeck.c ({unsigned,signed}_type): Handle intXX_type_node types. - * i386/i386.c (legitimate_address_p): If index register is either - the arg pointer or the stack pointer, and there is no scale - factor, swap with the base register. + * xm-alpha.h (sbrk): Add declaration. - * i386/i386.h (REG_CLASS_CONTENTS): Don't allow the arg pointer - register as an index register, since the frame could be omitted, - and the stack pointer is not valid as an index. + * convert.c (convert_to_integer): If TYPE is a enumeral type or + if its precision is not the same as the size of its mode, + convert in two steps. - * i386/i386.md (mov*, movstrict*): Don't create pushes of memory - values when creating insns, let the combiner create a push of a - memory value if -m386. In particular, pushes of byte values was - broken because there is no pattern to recognize such a push. + * m68k.md (tstdi, cmpdi): Use match_scratch, not match_operand. -Fri Aug 26 16:03:09 1994 Michael Meissner (meissner@osf.org) +Fri Jul 14 19:23:42 1995 Andreas Schwab - * i386/i386.h (MASK_*): Add masks for all of the switches. - (TARGET_*): Use appropriate MASK_* instead of a number. Add - -mdebug-addr switch to debug GO_IF_LEGITIMATE_ADDRESS, - -mno-wide-multiply to turn off widening multiplies, and -mno-move - to allow integer move insns to generate direct memory to memory - copies, which reload will fix up. Add TARGET_386 which is not of - TARGET_486. - (REG_ALLOC_ORDER): Go to the order used in 2.5.8, eax, edx, ecx, ... - Add a comment describing the tradeoffs. - (REG_OK*): Add strict and non-strict versions of the macros that - are always present, and REG_OK_STRICT chooses between the two - inner macros. - (GO_IF_LEGIMATE_ADDRESS): Move processing to legitimate_address_p - function. - (LEGITIMIZE_ADDRESS): Move processing to legitimize_address - function. - (function declarations): Add function declarations for all extern - functions in i386.c. + * c-decl.c (field_decl_cmp): Rewritten to make sure that a null + name always sorts low against other names. + * c-typeck.c (lookup_field): Change name comparison to match what + field_decl_cmp does. - * i386/i386.c (asm_add): Add support in case adding by 1 or -1 to - use inc/dec. - (various): Change TARGET_486 -> !TARGET_386. - (legitimate_address_p): Move GO_IF_LEGITIMATE_ADDRESS processing - here from i386.h. Combine OSF/rose support from osfrose.h through - the use of conditional macros. Only recognize addresses in - canonical formats, code adapted from the i960 port. Add tracing - if -mdebug-addr. - (legitimize_address): Move LEGITIMIZE_ADDRESS here from i386.h, - and add adaptations from the i960 port. - (convert_387_op): Remove unused function. +Fri Jul 14 18:46:24 1995 Michael Meissner - * i386/i386.md (various): Remove cast to char * of output - functions, since i386.h now declares them all properly. Change - TARGET_486 tests to !TARGET_386 and !TARGET_486 to TARGET_386. - (movsi, movstricthi, movhi, movstrictqi, movqi, movdi): Add - define_expand wrappers to prevent memory<->memory moves from being - generated unless -mno-move is used. On 486's do not allow push of - memory insns to be generated unless -mno-move. - (movdi): For movdi patterns, add 2 (clobber (match_scratch...)) - declarations to allow memory<->memory moves with non-contigous - registers, so that reload don't abort if it can't make a DI - register. - (umulsidi3, mulsidi3): Don't allow pattern if -mno-wide-multiply. - (smultsi3_highpart, umultsi3_highpart): Add patterns to make - division by constants generate better code. + * rs6000.md (movsi): Convert a CONST_DOUBLE into a CONST_INT of + the low part. - * i386/osfrose.h (MASK_*): Use octal to define bitmasks, not hex, - for compatibility with i386.h. - (NO_IMPLICIT_EXTERN_C): Define. - (LONG_DOUBLE_TYPE_SIZE): Explicitly define to be 64 instead of - just #undef'ing it. - (GO_IF_LEGITIMATE_ADDRESS): Delete, merged with common i386 code. - (ASM_FILE_END): Print -fschedule-insns and -fschedule-insns2 in - ident string if those options are used. - (REAL_LD_FILE_NAME): Delete. - (ASM_OUTPUT_DOUBLE): Delete, use the common macros. - (ASM_OUTPUT_FLOAT): Ditto. - (ASM_OUTPUT_LONG_DOUBLE): Ditto. +Fri Jul 14 18:30:52 1995 Doug Evans -Thu Aug 25 17:15:18 1994 Per Bothner (bothner@kalessin.cygnus.com) + * toplev.c (main): Reword dwarf/c++/-g warning. - * expmed.c (store_bit_field): Always store into multi-word - bitfields starting with low addresses. (Old code was - incompatible with operand_subword_force on big-endian targets.) +Fri Jul 14 18:19:34 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Thu Aug 25 18:31:20 1994 Antti Miettinen (amiettin@ntc.nokia.com) + * expr.h (NO_DEFER_POP): Remove last change. + * expr.c (stor_expr): Force stack adjust before NO_DEFER_POP. + (expand_expr, case COND_EXPR): Likewise. + * stmt.c (expand_start_stmt_expr): Likewise. - * m68k/lynx.h (CALL_USED_REGS): Add d2 and d3 as call-used. +Fri Jul 14 07:58:35 1995 Jim Wilson -Thu Aug 25 11:30:44 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * function.c (struct temp_slot): New fields base_offset, full_size. + (assign_stack_temp): For !FRAME_GROWS_DOWNWARD, set p->size to size. + Set new fields base_offset and full_size. + (combine_temp_slots): Use new fields base_offset and full_size instead + of slot and size. - * cse.c (record_jump_cond): Don't do anything if OP0 and OP1 - are already equivalent. + * loop.c (loop_number_exit_count): New global variable. + (loop_optimize): Allocate space for it. + (find_and_verify_loops, mark_loop_jump): Set it. + (strength_reduce, check_dbra_loop): Use loop_number_exit_count + instead of loop_number_exit_labels. + * loop.h (loop_number_exit_count): Declare it. + * unroll.c (find_splittable_{regs,givs}, final_[bg]iv_value): Use + loop_number_exit_count instead of loop_number_exit_labels. + (reg_dead_after_loop): Check loop_number_exit_count, and fail + if the count doesn't match loop_number_exit_labels. - * rtlanal.c (may_trap_p, case EXPR_LIST): New case. + * cse.c (cse_insn): Ifdef out code that pre-truncates src_folded. - * c-common.c (shorten_compare): Don't issue warning if both - operands constants and the signedness doesn't affect the - comparison results. + * sparc.md (sethi_di_sp64): Return null string at end. - * configure: Refine handling and error-checking of positional args. + * function.h (struct function): Add stdarg field. + * function.c (current_function_stdarg): New global variable. + (push_function_context_to): Save it. + (pop_function_context_from): Restore it. + (assign_parms): Set it. + (init_function_start): Clear it. + * output.h (current_function_stdarg): Declare it. + * i960.md: Modify all patterns which handle stores to memory to also + check current_function_varargs and current_function_stdarg. - * print-tree.c (print_node): Print more flags for types and decls. + * reorg.c (fill_simple_delay_slots): When trying to take instruction + from after the branch, don't continue past target label. Local + variables passed_label and target_uses are no longer necessary. - * c-typeck.c (type_lists_compatible_p): Treat transparent unions - just like unnamed ones. +Thu Jul 13 19:30:04 1995 Jeff Law (law@snake.cs.utah.edu) -Wed Aug 24 19:34:52 1994 Charles Hannum (mycroft@duality.gnu.ai.mit.edu) + * pa.c (output_bb): Fix error in long backwards branch with + nullified delay slot. - * configure: Rearrange handling of NetBSD ports to use the standard - `cpu-vendor-os' format. - * config.sub: Recognize names of NetBSD ports that do not correspond - to a CPU name. +Thu Jul 13 19:26:13 1995 Jim Wilson -Wed Aug 24 18:43:30 1994 Philippe De Muyter (phdm@info.ucl.ac.be) + * expmed.c (SHIFT_COUNT_TRUNCATED): Use #ifdef not #if. - * print-tree.c (print_node_brief, print_node): Use assignment instead - of initialization for aggregate local variable REAL_VALUE_TYPE d. +Mon Jul 10 20:16:44 1995 Paul Eggert -Wed Aug 24 18:28:52 1994 Ian Lance Taylor (ian@cygnus.com) + * cccp.c (rescan): Don't address outside of array when + preprocessing C++ comments. - * config/svr4.h (ASM_OUTPUT_SECTION_NAME): Define. - * config/sparc/sysv4.h (ASM_OUTPUT_SECTION_NAME): Output #alloc to - set SHF_ALLOC in section flags. +Mon Jul 10 20:05:46 1995 Michael Meissner -Wed Aug 24 17:45:19 1994 Jim Wilson (wilson@sphagnum.cygnus.com) + * rs6000.c (expand_block_move): Remove #if 0 conditionals + against using larger block moves. - * c-parse.in (parmlist_2): Give error for function with only - ELLIPSIS as an argument. + * t-rs6000 (EXTRA_PARTS): Copy milli.exp to release dir. + (milli.exp): Copy to build dir from machine dependend dir. -Wed Aug 24 17:36:22 1994 H.J. Lu (hjl@nynexst.com) +Mon Jul 10 20:03:29 1995 Richard Earnshaw (rearnsha@armltd.co.uk) - * i386/linux.h (STARTFILE_SPEC): Add %{static:-static}. + * arm.md (matcher for (shiftable_op (cond-exp) (reg))): If + shiftable_op is minus, then subtract from zero when cond fails. -Wed Aug 24 14:34:37 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Mon Jul 10 19:58:26 1995 John F. Carr - * calls.c (expand_call): Check for variable-sized return value - in proper place. + * sparc.h (SELECT_SECTION): Use TREE_CODE_CLASS instead of directly + referencing tree_code_type. + +Mon Jul 10 19:54:31 1995 Jim Wilson - * c-typeck.c (default_conversion): Don't substitute constant - value if array since will return address. + * protoize.c (reverse_def_dec_list): Delete const qualifiers from + local variables, and delete casts which were casting away const. - * configure (LANG_MAKEFILE): Include lang/Makefile.in in list. +Mon Jul 10 19:14:39 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * alpha.h (EXTRA_CONSTRAINT): Add new letter, `R'. - (ENCODE_SECTION_INFO): Don't check TREE_ASM_WRITTEN. - (PREDICATE_COSTS): Add call_operand. - * alpha.c (call_operand): New function. - (output_epilog): Don't set SYMBOL_REF_FLAG of current function. - * alpha.md (call): Rework to use macro version of jsr. - * osf2.h (LINK_SPEC): Don't define; should never have been. + * c-lang.c (finish_file): Add missing parm to start_function call. - * c-typeck.c (push_init_level): Don't blow up if construct_type - is null (can happen with missing brace). + * jump.c (jump_optimize): Pass outer_code arg to rtx_cost. -Wed Aug 24 10:49:35 1994 Michael Meissner (meissner@osf.org) + * varasm.c (assemble_name, bc_assemble_integer): Call + bc_emit_labelref with proper args. - * i386/i386.h (REG_ALLOC_ORDER): Restore previous version which - allocates edx first, then ecx, eax, ... This is because perl - doesn't build when the order is eax, ecx, edx... + * function.c (setjmp_args_warning): Remove bogus arg. -Tue Aug 23 09:20:16 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Mon Jul 10 18:20:54 1995 Fergus Henderson (fjh@cs.mu.oz.au) - * configure: Restore old behavior of positional arguments. - Add new argument, --noguess. - config.guess now guesses BUILD, not HOST; HOST defaults from BUILD. - Always compare canonical names, not user-specified names. - Numerous minor changes in the messages output to make the - configuration chosen clearer. + * gcc.c (p{fatal,error}_with_name, perror_exec): Quote filename. -Tue Aug 23 02:01:42 1994 Richard Stallman +Mon Jul 10 18:12:51 1995 Gran Uddeborg (uddeborg@carmen.se) - * config.sub: Move m68k-ccur handling to proper part of file. - Canonicalize cpu type pentium into i486. (Change it to i586 later.) + * i386/iscdbx.h (STARTFILE_SPEC): Handle -Xp. -Mon Aug 22 18:41:59 1994 Steve Chamberlain (sac@jonny.cygnus.com) +Wed Jul 5 02:42:17 1995 Per Bothner (bothner@spiff.gnu.ai.mit.edu) - * sh/sh.c (find_barrier): Calculate the size of larger than - SI moves correctly. - (general_movsrc_operand): Allow label_refs plus const. - (sh_function_arg_partial_nregs, sh_function_arg): Pass BLKmode - objects in partial regs. - * sh.h (TARGET_DEFAULT): Turn off BIGTABLE_BIT. - (EXTRA_CONSTRAINT_Q): Allow label_refs plus const. - (READONLY_DATA_SECTION_ASM_OP, EXTRA_SECTIONS, rdata_section): - Delete rdata section and refs. - * sh.md (dimode split): Don't allow a Q constraint source. + * cpphash.h (enum node_type): Remove unneeded and non-standard + forward declaration. -Sun Aug 21 23:15:35 1994 Jeffrey A. Law (law@snake.cs.utah.edu) +Sat Jul 1 20:15:39 1995 Jim Wilson - * pa.h (FUNCTION_ARG): Use indirect calling conventions when - TARGET_LONG_CALLS is in effect. + * mips/t-mips, mips/t-mips-gas (MULTILIB_*, LIBGCC, INSTALL_LIBGCC): + Delete. -Sat Aug 20 13:31:34 1994 Jim Wilson (wilson@cygnus.com) + * sparc/sol2.h (LINK_SPEC): Revert March 16 change. Do not add -R + for each -L. + + * collect2.c (libcompare): Verify that file name extensions are valid. + Put files with invalid extensions last in the sort. - * sched.c (sched_analyze_insn): Add new parameter loop_note. - If loop_note set, then serialize on this insn. - (sched_analyze): New variable loop_note. Pass to - sched_analyze_insn. Set it if we pass a NOTE_INSN_LOOP_BEG or - NOTE_INSN_LOOP_END. - (unlink_notes): Don't save away NOTE_INSN_LOOP_BEG or - NOTE_INSN_LOOP_END notes. - (schedule_block): Generalize code that looks for magic REG_DEAD - notes and converts them to notes. + * integrate.c (integrate_decl_tree): Set DECL_ABTRACT_ORIGIN before + pushdecl call for local variables. -Sat Aug 20 12:47:21 1994 Michael Meissner (meissner@osf.org) +Sat Jul 1 08:13:38 1995 Richard Earnshaw (rearnsha@armltd.co.uk) - * i386.h (REG_ALLOC_ORDER): Allocate eax first, then ecx, edx, and - then do the nromal allocation order for the remaining registers. + * cpplib.c (output_line_command): If not emitting #line directives + delay returning until after adjust_position has been called. -Fri Aug 19 20:14:35 1994 Jim Wilson (wilson@cygnus.com) + * arm.md (mov{si,sf,df}cc): Call gen_compare_reg to generate + the condition code register. - * tree.c (build_type_variant): Only return existing type if it - also has the same TYPE_NAME. +Sat Jul 1 06:55:09 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * irix5.h (NO_IMPLICIT_EXTERN_C): Comment out. + * fold-const.c (decode_field_reference): New parm PAND_MASK. + (unextend): New parm MASK. + (fold_truthop): Pass new parms to decode_field_reference and unextend. -Fri Aug 19 16:41:43 1994 Per Bothner (bothner@kalessin.cygnus.com) + * va-alpha.h (__va_tsize): Use __extension__ to avoid warning + on use of `long long'. - * fixproto: Use $FIX_HEADER macro instead of calling - fix-header directly in 2nd location. + * expr.h (NO_DEFER_POP): Do any pending stack adjusts. -Fri Aug 19 17:34:19 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * recog.c (register_operand): Disallow subreg of reg not allowed to + change size. - * expr.c (emit_move_insn_1): Never make a no-conflict block. +Thu Jun 29 05:51:57 1995 Jeff Law (law@snake.cs.utah.edu) - * tree.h (struct tree_type): New field transparent_union_flag. - (struct tree_decl): New field transparent_union. - ({DECL,TYPE}_TRANSPARENT_UNION): New macros. - * c-common.c (decl_attribute): Handle "transparent_union" attribute. - * function.c (assign_parms): If parm is transparent union, use - type of first field. - * calls.c (expand_call): Likewise. - * integrate.c (function_cannot_inline): Don't inline if any - parm is a transparent union. + * pa.md (reload addsi3): New pattern to avoid reload lossage + with register eliminations. -Fri Aug 19 12:01:11 1994 Ian Lance Taylor (ian@cygnus.com) + * pa.c (output_cbranch): When checking for a jump to the given + insn's delay slot, handle the case where JUMP_LABEL for the + given insn does not point to the first label in a series of + labels. + (output_bb, output_dbra, output_movb): Likewise. - * fixincludes: Canonicalize ${INPUT} to avoid automounter - problems. +Wed Jun 28 18:04:56 1995 Jeff Law (law@snake.cs.utah.edu) -Fri Aug 19 11:31:24 1994 Kresten Krab Thorup (krab@akvavit.next.com) + * pa.h (PIC_OFFEST_TABLE_REGNUM_SAVED): Define to %r4. + (CONDITIONAL_REGISTER_USAGE): Make it fixed when compiling + PIC code. + (INIT_EXPANDERS): Delete. + * pa.c (hppa_save_pic_table_rtx): Delete variable. + (hppa_expand_prologue): For PIC generation, copy the PIC + register into a fixed callee register at the end of the + prologue of non-leaf functions. + * pa.md (call expanders): Reload the PIC register from the + fixed callee saved register. Don't try to save the PIC + register before the call. + +Wed Jun 28 18:01:14 1995 Stan Cox (coxs@dg-rtp.dg.com) + + * m88k/dguxbcs.h (ASM_SPEC): Removed -h flag. + * m88k/dgux.h (ASM_SPEC): Likewise. + +Wed Jun 28 17:01:58 1995 David Edelsohn + + * rs6000.c (processor_target_table): Remove CPU name synonyms. + * rs6000.h (CPP_SPEC): Likewise. + * rs6000/sysv4.h (CPP_SPEC): Likewise. + (ASM_SPEC): Likewise. + * rs6000/sysv4le.h (CPP_SPEC): Likewise. + * rs6000/eabile.h (CPP_SPEC): Likewise. + * rs6000/powerpc.h (CPP_SPEC): Likewise. + (ASM_SPEC): Set assembler target according to compiler target. + * rs6000/aix3newas.h (CPP_SPEC): Likewise. + (ASM_SPEC): Likewise. + * rs6000/aix41.h (CPP_SPEC): Likewise. + (ASM_SPEC): Likewise. - * objc-act.c (build_selector_translation_table): Reset - current_function_decl after hack_function_prototype build it. - (build_module_descriptor): Return constructor name from functions - decl_rtl. +Wed Jun 28 16:25:53 1995 Gran Uddeborg (uddeborg@carmen.se) -Thu Aug 18 17:23:18 1994 Per Bothner (bothner@spiff.gnu.ai.mit.edu) + * i386/x-isc3 (INSTALL_HEADERS_DIR): Delete; done by configure. - * README.FRESCO: New file. Notes about compiling the Fresco - toolkit with g++. +Wed Jun 28 16:10:47 1995 Philippe De Muyter (phdm@info.ucl.ac.be) -Thu Aug 18 14:10:22 1994 Jim Wilson (wilson@cygnus.com) + * xm-rs6000.h (alloca): Extern decl added for non-GNU compiler. - * combine.c (distribute_notes, case REG_UNUSED): Ignore notes when - from_insn != i3 only if the notes would remain as REG_UNUSED notes. +Wed Jun 28 11:31:30 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Wed Aug 17 18:31:43 1994 Holger Teutsch (holger@hotbso.rhein-main.de) + * cpplib.c (progname): Remove definition from here. - * clipper.h (CLIPPER_ARG_SIZE): Return size in bytes. - (FUNCTION_ARG_ADVANCE): Fix argument alignment processing. + * final.c (final_scan_insn): Fix error in last change. -Wed Aug 17 18:03:54 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * rtlanal.c (reg_set_p_1): Now static; add extra parm. - * fx80.md (casesi_2): Operand 0 is HImode; add SIGN_EXTEND - when adding to pc. - (casesi): Operand 0 is HImode. - (unnamed PC addition pattern): Add SIGN_EXTEND to add HImode - offset to SImode PC. - * m68k.md (tablejump): Add SIGN_EXTEND to HImode offset - so can add to SImode PC. - Likewise for matching pattern. - * cse.c (fold_rtx): When folding tablejump, allow LABEL_REF - to be in arg0; also allow other arg to be MINUS, not just be - equivalent to it. + * stmt.c: Delete redundant forward decls. + (expand_anon_union_decl): Correctly call expand_decl. -Mon Aug 15 19:19:11 1994 Paul Eggert (eggert@twinsun.com) + * toplev.c (strip_off_ending): Strip off any ending; don't + pretend we know what valid endings are. - * cccp.c (index0): New function. - (trigraph_pcp): Use index0 instead of index, so that a null - byte doesn't suppress further trigraph preprocessing. + * svr4.h (ASM_OUTPUT_SECTION_NAME): Don't crash if DECL is null. - * cccp.c (rescan, do_ident): Pass more accurate size request - to check_expand. + * rs6000.md ({load,store}_multiple): Don't use indirect_operand + in define_insn; use explicit MEM of register_operand instead. - * cccp.c (main): Don't dump core if given -pcp, -MD, or -MMD - without following arg. +Tue Jun 27 11:42:56 1995 Stephen L Moshier -Mon Aug 15 17:56:38 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * i386/i386.c (print_operand, case `J'): Use jns for GE and js for + LT. - * stmt.c (expand_elseif): New function. +Tue Jun 27 07:58:55 1995 Jason Merrill -Mon Aug 15 14:16:18 1994 Ian Lance Taylor (ian@cygnus.com) + * expr.c (expand_expr, TARGET_EXPR): Only use original_target + if !ignore. - * configure: If the host is guessed, and the target name is a - prefix of the host name, then use the target name as the host - name. +Tue Jun 27 07:27:26 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Mon Aug 15 13:35:24 1994 Stan Shebs (shebs@andros.cygnus.com) + * fold-const.c (fold_truthop): Commute unextend and convert on + l_const and r_const. - * m68k/m68k-coff.h: New file. + * c-common.c (decl_attributes, case A_CONSTRUCTOR, A_DESTRUCTOR): + Set TREE_USED. -Sun Aug 14 00:28:15 1994 Andrew McCallum (mccallum@vein.cs.rochester.edu) + * final.c (final_scan_insn): Don't call alter_cond unless + condition is on cc0. - * objc/encoding.c (objc_sizeof_type): Assign from ROUND, - don't increment. Remove ; after while to fix infinite loop. - Add float and double cases. - (objc_alignof_type): Add float and double cases. - * objc/selector.c (): Use __objc_selector_names, not - __objc_selector_array. - (sel_types_match): New function. - (sel_get_typed_uid): Use sel_types_match. Change strcmp to !strcmp. + * stmt.c (expand_asm_operands): Handle input operands that may not + be in a register. -Sun Aug 14 21:54:29 1994 Jeffrey A. Law (law@snake.cs.utah.edu) +Mon Jun 26 19:23:05 1995 Richard Earnshaw (rearnsha@armltd.co.uk) - * pa.h (ASM_OUTPUT_ALIGNED_COMMON, ASM_OUTPUT_ALIGNED_LOCAL): - Define. - (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL): Delete. + * arm/lib1funcs.asm (L_dvmd_tls): Renamed from L_divmodsi_tools. + * arm/t-semi (LIB1ASMFUNCS): Rename _dvmd_tls from _divmodsi_tools. - * pa.c (hppa_expand_prologue): Avoid writing outside the current - stack boundary in code to handle large stack frames. +Mon Jun 26 19:18:06 1995 Jim Wilson -Sun Aug 14 18:55:51 1994 Jim Wilson (wilson@cygnus.com) + * unroll.c (find_splittable_regs): When completely unrolling loop, + check for non-invariant initial biv values. - * unroll.c (loop_iterations): Use PREV_INSN not prev_nonnote_insn. +Mon Jun 26 19:13:54 1995 Gran Uddeborg - * bsd-5.h (ASM_OUTPUT_NEWLINE): Delete. - (ASM_OUTPUT_ASCII): Define. - * mips-5.h, svr3-5.h, svr4-5.h: Likewise. - * mips.h (ASM_OUTPUT_NEWLINE): Delete. - (ASM_OUTPUT_ASCII): Don't use ASM_OUTPUT_NEWLINE. + * configure (i[345]86-*-isc*): Fix misspelled "rfile" to "ifile". - * va-mips.h (va_start): Add cast to __gnuc_va_list type. +Mon Jun 26 18:58:22 1995 Mike Stump - * flow.c (mark_used_regs): When adding REG_DEAD notes, check for - the case where a multiple register hard reg overlaps a register - set by the insn. - * sched.c (attach_deaths): Likewise. - * combine.c (distribute_notes, case REG_DEAD): Add another - find_reg_fusage call. + * expr.c (expand_expr, case COND_EXPR): Protect the condition from + being evaluated more than once. + (do_jump, case TRUTH_ANDIF_EXPR, TRUTH_ORIF_EXPR): Likewise. - * unroll.c (calculate_giv_inc): Handle constants loaded with IOR. +Mon Jun 26 18:52:36 1995 Philippe De Muyter (phdm@info.ucl.ac.be) -Sun Aug 14 16:40:04 1994 Richard Stallman + * fixincludes (string.h): Fix return value for mem{ccpy,chr,cpy,set} + and str{len,spn,cspn} on sysV68. - * cccp.c (skip_if_group): New arg op. All callers changed. - If output_conditionals is true, output text of failed conditionals. - (conditional_skip): New arg op. All callers changed. - (main): Handle -ifoutput option. +Mon Jun 26 06:54:50 1995 Michael Meissner (meissner@cygnus.com) -Sun Aug 14 05:49:29 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * i386/osfrose.h (LONG_DOUBLE_TYPE_SIZE): Go back to making long + double == double. - * print-tree.c (print_node{,_brief}): Use REAL_VALUE_TO_DECIMAL - to print REAL_CST ifdef REAL_ARITHMETIC. +Thu Jun 22 19:14:41 1995 Pat Rankin (rankin@eql.caltech.edu) - * reload1.c (count_possible_groups) Pass CLASS as arg and only - try to find groups of that class. + * make-cc1.com (if DO_LINK): Skip c-parse.* processing when + only relinking. + (gas_message): Update to reflect current version, and give + a different message if/when no version of gas is found.xo - * configure: If config.guess fails and target specified, use as host. - Print a message when making a cross-compiler. +Thu Jun 22 18:52:37 1995 Richard Earnshaw (rearnsha@armltd.co.uk) -Sat Aug 13 17:12:30 1994 Jim Wilson (wilson@cygnus.com) + * arm/lib1funcs.asm (___modsi3): Correctly set SIGN register for + modulo involving negative numbers. - * configure (sparc-*-sunos4.0*): New configuration. - * t-sunos4: Rename file to t-sunos41. - * t-sunos40: New file. +Thu Jun 22 18:32:27 1995 Uwe Seimet (seimet@chemie.uni-kl.de) -Sat Aug 13 13:50:22 1994 Jeffrey A. Law (law@snake.cs.utah.edu) + * xm-atari.h (HZ): Now 100 and don't define if already defined. - * reload1.c (emit_reload_insns): Handle a secondary input reload - which needs to use secondary memory too. +Thu Jun 22 18:26:12 1995 Jeffrey A Law (law@snake.cs.utah.edu) -Fri Aug 12 18:53:24 1994 Ian Lance Taylor (ian@cygnus.com) + * calls.c (expand_call): Correctly handle returning BLKmode + structures in registers when the size of the structure is not + a multiple of word_size. + * stmt.c (expand_return): Likewise. - * mips/mips.c (override_options): If neither -mcpu= nor -mipsN was - used, and MIPS_CPU_DEFAULT is defined, set mips_cpu to - MIPS_CPU_DEFAULT and set mips_cpu_string to - MIPS_CPU_STRING_DEFAULT. + * pa-gux7.h (LIB_SPEC): Undefine before redefining. + * pa-hpux.h (LIB_SPEC): Likewise. + * pa-hpux7.h (LIB_SPEC): Likewise. -Fri Aug 12 10:54:35 1994 Stan Cox (coxs@dg-rtp.dg.com) + * genmultilib: Work around hpux8 /bin/sh case bug. - * m88k/dgux.h, m88k/dguxbcs.h (ASM_SPEC,CPP_SPEC): - Made -pipe work for -msvr4. Added -D*_TARGET definitions. + * pa.h (LIB_SPEC): Define to avoid -lg. - * m88k.c (emit_bcnd): Improved code generated by changing cmp/bbx - instruction pair to single bcnd instruction +Thu Jun 22 18:19:09 1995 Jason Merrill -Fri Aug 12 07:52:20 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * expr.c (expand_expr, TARGET_EXPR): Use original_target. - * cse.c (set_nonvarying_address_components): If BASE is CONST_INT, - add value to start and set BASE to const0_rtx. - (refers_to_mem_p): Don't do it here. + * collect2.c (locatelib): Fix parsing of LD_LIBRARY_PATH. - * function.c (expand_function_start): Add redundant copy to - static_chain_incoming_rtx if SMALL_REGISTER_CLASS so inlining - works properly. - * integrate.c (expand_inline_function): Use single_set when - appropriate. - Delete insn that sets static_chain_incoming_rtx before its use. - (subst_constants): Treat virtual reg as constant. +Thu Jun 22 18:15:54 1995 Paul Eggert - * flow.c (mark_used_regs): Only show changes size if one mode is - integral. - * stupid.c (stupid_mark_refs): Likewise. - * combine.c (simplify_rtx, case FLOAT_TRUNCATE): Remove - redundant float_truncate. - * rs6000.md (movsf): Don't truncate if not register; clean up. + * configure: Create an empty Makefile.sed first, to work + around a Nextstep 3.3 bug. - * c-decl.c (duplicate_decls): Suppress -Wredundant-decls warning - if we have already given an error. +Thu Jun 22 18:03:44 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Thu Aug 11 18:44:25 1994 Jason Merrill (jason@deneb.cygnus.com) + * Makefile.in (STAGESTUFF): Add stamp-crt. + (crtbegin.o, crtend.o): Now depend on stamp-crt. + (stamp-crt): New rule, to actually build crt{begin,end}.o. + + * collect2.c (main): Unlink export_file before we return. - * stmt.c (expand_anon_union_decl): Fix up the alignment and mode - of the member VAR_DECLs. +Thu Jun 22 14:25:56 1995 Michael Meissner (meissner@cygnus.com) -Thu Aug 11 13:36:14 1994 Per Bothner (bothner@kalessin.cygnus.com) + * rs6000.h (STRIP_NAME_ENCODING): Store NAME and strlen(NAME) into + local variables; cast result of alloca to avoid compiler warnings. - * tree.c (stabilize_reference): Handle COMPOUND_EXPR. +Tue Jun 20 18:25:29 1995 Douglas Rupp (drupp@cs.washington.edu) - * fix-header.c (write_rbrac): If NO_IMPLICIT_EXTERN_C is defined, - add extern "C" { ... } to added prototypes. (Needed for hpux.) + * alpha/config-nt.sed, i386/config-nt.sed: Edit to add + a missing $(exeext) for CCCP. -Thu Aug 11 14:23:59 1994 Paul Eggert (eggert@twinsun.com) +Tue Jun 20 18:18:00 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * cccp.c (rescan): Fix botches with `-lint': the output buffer - pointer was not recached properly, leading to lost output. - Also, buffer overrun was possible. + * protoize.c (default_include): Use name and two ints to be + compatible with definition of INCLUDE_DEFAULTS. - * cccp.c (dump_defn_1): Skip newlines and strings correctly. +Mon Jun 19 19:24:29 1995 Ted Lemon -Thu Aug 11 14:13:17 1994 Niklas Hallqvist (niklas@appli.se) + * mips/netbsd.h (ASM_DECLARE_FUNCTION_NAME): Don't emit function label. - * configure (m68k-*-netbsd*): New target, like others. +Mon Jun 19 18:34:55 1995 Jason Merrill -Thu Aug 11 14:09:23 1994 David Mosberger-Tang (davidm@piston.cs.arizona.edu) + * fixincludes: Don't define wchar_t under C++. - * alpha.h (FUNCTION_PROFILER): Load global pointer from $27, not $26. e - -Thu Aug 11 13:52:15 1994 Walter Misar (misar@rbg.informatik.th-darmstadt.de) +Mon Jun 19 17:12:41 1995 Paul Eggert - * m68k/hp320.h (NO_DOT_IN_LABEL): Define if HPUX_ASM. + * cccp.c (collect_expansion): Work around enum bug in vax + ultrix 4.3 pcc. + * tree.c (simple_cst_equal): Likewise. -Thu Aug 11 13:12:12 1994 David Mosberger-Tang (davidm@cs.arizona.edu) +Mon Jun 19 16:53:00 1995 Douglas Rupp (drupp@cs.washington.edu) - * alpha.h (BLOCK_PROFILER): Use $26 and $27 instead of $0 and $1. + * winnt/spawnv.c: New file. -Thu Aug 11 13:09:36 1994 Antti Miettinen (amiettin@trshp.trs.ntc.nokia.com) +Mon Jun 19 16:30:29 1995 Glenn Brown - * config/lynx.h (ASM_OUTPUT_SOURCE_LINE): Call assemble_name. + * caller-save.c (save_call_clobbered_regs): If AUTO_INC_DEC, mark + register indicated by REG_INC notes as live so they will be saved. -Thu Aug 11 12:57:22 1994 Stephen L Moshier (moshier@world.std.com) +Mon Jun 19 16:21:12 1995 Jeffrey A Law (law@snake.cs.utah.edu) - * expr.c (expand_builtin): Relegate sin and cos to ffast-math. + * pa.h (PRINT_OPERAND_ADDRESS, case LOW_SUM): Fix logic bug + in last change. -Thu Aug 11 12:45:20 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Mon Jun 19 14:11:49 1995 Jim Wilson - * flow.c (find_auto_inc): Ensure that all proposed changes to - insns are valid before commiting to the auto-inc. + * integrate.c (integrate_decl_tree): Only set DECL_ABSTRACT_ORIGIN + if the decl returned by pushdecl is the one we started with. - * calls.c (expand_call): Ensure we call force_operand on - structure_value_addr. + * mips.h (current_function_name): Delete declaration. + (ASM_DECLARE_FUNCTION_NAME): Don't set current_function_name. + * gnu.h (ASM_DECLARE_FUNCTION_NAME): Likewise. + * mips.c (current_function_decl): Delete declaration. + (function_prologue): New variable fnname. Use it instead of + current_function_name. + (function_epilogue): Likewise. - * configure: Use config.guess to get default value for host, - not target. +Mon Jun 19 13:13:15 1995 Richard Kenner -Thu Aug 11 12:43:24 1994 Robert Wilhelm (Robert.Wilhelm@physik.tu-muenchen.de) + * alpha.h (ASM_OUTPUT_ASCII): Always reset line count when + starting new line. - * Makefile.in (mostlyclean): Add missing -f. + * scan-decls.c (scan_decls): Fix typo when resetting PREV_ID_START. -Tue Aug 9 02:02:07 1994 Jeffrey A. Law (law@snake.cs.utah.edu) + * i386/config-nt.sed, alpha/config-nt.sed: Change version to 2.7.1. - * pa.md (default set high): Do not accept function label arithmetic - as a valid operand. - (default lo_sum): Likewise. - * pa.c (hppa_legitimize_address): Do nothing with function label - arithmetic. - (emit_move_sequence): Split up function label arithmetic so that - function's address is loaded first, then constant part is added to - the function's address. - (is_function_label_plus_const): New function. +Mon Jun 19 13:06:14 1995 DJ Delorie (dj@delorie.com) -Mon Aug 8 19:57:05 1994 Matthias Pfaller (leo@marco.de) + * msdos/top.sed: Support new build variables. + * msdos/configur.bat: Make options.h and specs.h. + Change realclean to maintainer-clean. - * ns32k.md (all patterns that use ins/inss and ext/exts): - Disallow use of these instructions when -mnobitfield is - specified. - * ns32k.h (TARGET_BITFIELD): New macro. - (TARGET_SWITCHES): Support for TARGET_BITFIELD. - * ns32k/netbsd.h (TARGET_DEFAULT): Added -mnobitfield. - (CPP_PREDEFINES): Added -Dpc532. - (WCHAR_{TYPE, UNSIGNED, TYPE_SIZE}): Changed to match new definition - in NetBSD 1.0. - * ns32k.c (print_operand_address): A patch for 2.5.8 ended up at the - wrong place. Moved. +Fri Jun 16 06:54:03 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Mon Aug 8 19:42:09 1994 Paul Eggert (eggert@twinsun.com) + * Version 2.7.0 Released. - * cccp.c (create_definition): Warn about `#define a@', since a - diagnostic is now required (see ISO TC1's addition to - subclause 6.8). Also warn about `#define is-empty(x) (!x)'. + * obstack.c: Always enable this code for now. -Mon Aug 8 16:32:37 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * alpha.c (alpha_builtin_saveregs): Use ptr_mode and conversions + when need so works for both OSF and NT. + * va-alpha.h (__va_tsize): Round to long long not long. - * fix-header.c (write_rbrac): Set up to use fixed headers - if __USE_FIXED_HEADERS__ is defined. +Thu Jun 15 17:54:52 1995 Bdale Garbee - * reload1.c (emit_reload_insns): Always clear new_spill_reg_store. + * configure (a29k-*-coff): Synonym for a29k-*-udi. - * reload.c (find_reloads): Force reload for paradoxical SUBREG - of MEM if BYTES_BIG_ENDIAN. +Thu Jun 15 17:51:21 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * m68k/hp320.h (READONLY_DATA_SECTION): Remove definition. + * function.c (assign_parms): Do all conversions in CONVERSION_INSNS. - * function.c (expand_function_start): Only use - static_chain_incoming_rtx once if it is a REG and we - have SMALL_REGISTER_CLASSES. +Thu Jun 15 17:36:49 1995 Michael Meissner - * local-alloc.c (find_free_reg): Fix typo in last change. - * rs6000.h (CLASS_CANNOT_CHANGE_SIZE): New macro. + * reg-stack.c (record_reg_life): Call record_reg_life_pat with 0 + for douse argument so that USE's created to mark variables within + blocks don't get marked as set. -Sun Aug 7 08:54:42 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Thu Jun 15 06:28:15 1995 Dennis Glatting (dennisg@CyberSAFE.COM) - * regs.h (reg_changes_size): Add declaration. - * flow.c (reg_changes_size): New variable. - (allocate_for_life_analysis): Allocate and initialize it. - (mark_used_regs, case SUBREG): Set it. - * local-alloc.c (qty_changes_size): New variable. - (alloc_qty{,_for_scratch}, update_qty_class): Set it. - (local_alloc): Allocate it. - (find_free_reg): If CLASS_CANNOT_CHANGE_SIZE, avoid its registers - if qty_changes_size. - * global.c (find_reg) If CLASS_CANNOT_CHANGE_SIZE, avoid its - registers if reg_changes_size. - * stupid.c (regs_change_size): New variable. - (stupid_life_analysis): Alloc, init and pass it to stupid_free_reg. - (stupid_mark_regs): Set it. - (stupid_find_reg): New arg, CHANGES_SIZE; avoid regs - in CLASS_CANNOT_CHANGE_SIZE if defined and CHANGES_SIZE nonzero. - * reload.c (push_reload): Make test in LOAD_EXTEND_OP case more - precise; handle CLASS_CANNOT_CHANGE_SIZE. - (find_relods): When setting force_reloads, make LOAD_EXTEND_OP - case more precise. - * alpha.h (CLASS_CANNOT_CHANGE_SIZE): New macro. + * configure: Change one sed command to work around m68k-next bug. - * reload1.c (eliminate_regs, case SUBREG): Add USE of pseudo - so we don't improperly delete an output reload. +Wed Jun 14 22:14:39 1995 Jason Merrill -Fri Aug 5 15:08:39 1994 Jason Merrill (jason@deneb.cygnus.com) + * collect2.c (main): Don't turn off auto_export because of -g. + (main): Ignore the argument to -o. - * expr.c (expand_expr, COND_EXPR case): Use truthvalue_conversion - to make the condition for running cleanups acceptable to - invert_truthvalue. + * alpha.h (LINK_SPEC): Don't pass -init __main anymore. + * alpha/osf12.h (LINK_SPEC): Ditto. + * mips/iris5.h (LINK_SPEC): Ditto. -Fri Aug 5 12:29:42 1994 Jim Wilson (wilson@cygnus.com) + * collect2.c (main): Place o_file after an initial .o (like crt0.o). + If we have LD_INIT_SWITCH, use init and fini functions for + executables, too. Specify the unique function names. + (write_c_file_stat): Fix the case of destructors but no constructors. + Don't include the generic-named functions for executables. + (write_c_file): If we have LD_INIT_SWITCH, always use + write_c_file_stat. - * expmed.c (expand_mult): Accept DImode for synth_mult only if - CONST_DOUBLE_HIGH is zero. Reject negative values for synth_mult - if the mode is larger than HOST_BITS_PER_INT. Don't do the - negate_variant if the mode is larger than HOST_BITS_PER_INT. + * collect2.c (main): Also add _GLOBAL__D? to export list. -Fri Aug 5 12:23:17 1994 Stephen L Moshier (moshier@world.std.com) + * ginclude/iso646.h: Do nothing if compiled as C++. - * gbl-ctors.h (DO_GLOBAL_CTORS_BODY): Use long instead of - HOST_WIDE_INT. +Wed Jun 14 17:39:10 1995 Roland McGrath (roland@gnu.ai.mit.edu) -Fri Aug 5 12:18:18 1994 Kaveh R. Ghazi (ghazi@caip.rutgers.edu) + * c-common.c (format_char_info, case 'm'): Set type to void. + (check_format_info): If type is void, ignore operand. - * configure: In subdirectories, make link to include directory. - * Makefile.in (distclean): Delete it. +Wed Jun 14 17:04:10 1995 Paul F. Kunz (Paul_Kunz@SLAC.Stanford.EDU) -Thu Aug 4 17:21:02 1994 Jason Merrill (jason@deneb.cygnus.com) + * expr.c (expand_builtin_apply_args): Put back original + register save and restore order. - * expr.c (defer_cleanups_to): Put back line which was mistakenly - removed. +Wed Jun 14 16:56:22 1995 Michael Meissner -Wed Aug 3 21:37:31 1994 Doug Evans (dje@cygnus.com) + * rs6000/eabi.h (INVOKE__main): Define, so __eabi is called after + main's arguments are saved. - * sparc.c (v9 sparc_builtin_saveregs): Save quadword fp regs on - 16 byte boundaries. Handle non-zero number of named fp args. - * va-sparc.h (v9 va_start): Pass an arg to __builtin_next_arg. - (v9 va_arg): Advance over float's. + * rs6000.c (output_prolog): Don't call __eabi here, let + compiler call it after the arguments to main are saved. + (output_{prolog,epilog}): Don't use functions under V.4 to save + and restore floating point registers. -Wed Aug 3 11:10:32 1994 Ian Lance Taylor (ian@mole.gnu.ai.mit.edu) +Wed Jun 14 16:52:12 1995 Philippe De Muyter (phdm@info.ucl.ac.be) - * fixincludes: Changes for glibc. In the main loop, don't fix - files which contain the string ``This file is part of the GNU C - Library''. Don't include in if - contains the string ``__need___va_list''. In , don't - change GNUC_VA_LIST to GNUC_DUMMY_VA_LIST. Don't add extern "C" - to if it contains the string ``__BEGIN_DECLS''. Don't - add multiple inclusion protection to or if - they contain the string ``#ifndef''. + * m68k/mot3300.h (PCC_BITFIELD_TYPE_MATTERS): Defined. -Tue Aug 2 18:38:46 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Wed Jun 14 16:48:53 1995 Jerry Frain (jerry@tivoli.com) - * cse.c (simplify_unary_operation): Clean up some mode and - size checks with CONST_DOUBLEs; TRUNCATE should do nothing. + * Makefile.in (stage[1-4]): Correctly link `as', `ld', and `collect2'. - * combine.c (subst_prev_insn): Remove variable and all uses. +Wed Jun 14 05:52:04 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Tue Aug 2 14:42:29 1994 Doug Evans (dje@canuck.cygnus.com) + * objc-act.c (hack_method_prototype): Set DECL_CONTEXT of parms. - * sparc.h (V9_SWITCHES): Add -mmedlow, -mmedany. - (TARGET_OPTIONS): Delete. - (CONDITIONAL_REGISTER_USAGE): Don't unfix %g4 if -mmedany. - * sparc.c (sparc_code_model): Delete. - (sparc_override_options): Code model flags only useable with v9. + * expmed.c (emit_store_flag): Always set LAST. - * sparc.h (enum reg_class): New values EXTRA_FP_REGS, - GENERAL_OR_EXTRA_FP_REGS for the v9 case. - (REG_CLASS_NAMES): Likewise. - (REG_CLASS_CONTENTS): Likewise. - (REGNO_REG_CLASS): Handle EXTRA_FP_REGS. - (REG_CLASS_FROM_LETTER): Likewise, as `e'. - Treat `e' like `f' in v8 case. - (FP_REG_CLASS_P): New macro. - (PREFERRED_RELOAD_CLASS): Use it. - (SECONDARY_INPUT_RELOAD_CLASS, SECONDARY_OUTPUT_RELOAD_CLASS, - SECONDARY_MEMORY_NEEDED, CLASS_MAX_NREGS, REGISTER_MOVE_COST): + * c-decl.c (start_function): New parameter for attributes. + * c-tree.h (start_function): Likewise. + * c-lang.c (finish_file): Pass extra parm to start_function. + * objc-act.c (build_module_descriptor, really_start_method): Likewise. + * c-parse.in (fndef, nested_function, notype_nested_function): Likewise. - * sparc.md (all DF/TFmode patterns): Use `e' in contraint field - instead of `f'. -Mon Aug 1 20:05:51 1994 Roland McGrath + * function.c (assign_parms): Use convert_to_mode instead of + gen_lowpart when converting incoming parm. - * config/i386/gnu.h: New file. - * configure (i[34]86-*-gnu*): Deal with this on its own, not like - i[34]86-*-mach*. Use i386/gnu.h and t-libc-ok; set gnu_ld and - gas, and disable fixincludes. +Tue Jun 13 19:10:32 1995 Richard Kenner -Mon Aug 1 19:27:44 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * rs6000.md (decrement_and_branch): Finish last fix; update matching + constraint. - * tree.c (permanent_allocation): When freeing to - momentary_function_firstobj, set momentary_firstobj to be - the next available location (i.e., momentary_function_firstobj). +Tue Jun 13 18:32:51 1995 Torbjorn Granlund -Mon Aug 1 18:52:40 1994 Chris Arthur (csa@gnu.ai.mit.edu) + * fold-const.c (fold): When converting a COND_EXPR to an ABS_EXPR, + get the types right for ABS_EXPR to work. - * stddef.h: Handle _BSD_WCHAR_T_ like _WCHAR_T_, since - at least BSD/386 1.1 uses the former instead of the latter. - If _BSD_RUNE_T_ is defined, then define rune_t when we define - wchar_t. Test definedness of _GCC_SIZE_T as well as - _GCC_SIZE_T_; likewise for _GCC_PTRDIFF_T and _GCC_WCHAR_T. +Mon Jun 12 17:09:55 1995 Michael Tiemann (tiemann@axon.cygnus.com) -Mon Aug 1 05:20:44 1994 Jeffrey A. Law (law@snake.cs.utah.edu) + * reorg.c (fill_simple_delay_slots): Set MAYBE_NEVER according to + code of TRIAL_DELAY, not TRIAL. - * pa-ghpux.h, pa-hpux.h (LINK_SPEC): Any -g argument implies - static linking. +Mon Jun 12 15:02:37 1995 Doug Evans -Sun Jul 31 17:19:37 1994 Jason Merrill (jason@deneb.cygnus.com) + * configure: Restore code to make ld symlink if ! use_collect2. - * integrate.c (expand_inline_function): Don't fall down trying to - pass things by invisible reference. + * gcc.c (link_command_spec): Undo patch of May 11. + -nostdlib implies -nostartfiles again. + * dsp16xx.h (CROSS_LINK_SPEC): Likewise. + * i386/freebsd.h (LINK_SPEC): Undo patch of May 24. + Don't pass "-e start" if nostdlib. + * i386/sun.h (LINK_SPEC): Likewise. + * m68k/sun2o4.h (LINK_SPEC): Likewise. + * m68k/sun3.h (LINK_SPEC): Likewise. + * m68k/vxm68k.h (LINK_SPEC): Likewise. + * mips/netbsd.h (LINK_SPEC): Likewise. + * config/netbsd.h (LINK_SPEC): Likewise. + * rs6000/mach.h (LINK_SPEC): Likewise. + * sparc.h (LINK_SPEC): Likewise. + * sparc/vxsparc.h (LINK_SPEC): Likewise. -Sun Jul 31 06:56:46 1994 Pat Rankin (rankin@eql.caltech.edu) + * gcc.c (link_command_spec): New argument -nodefaultlibs. - * cccp.c (my_strerror): New function. - (error_from_errno, perror_with_name): Use it. +Sun Jun 11 20:47:53 1995 Stephen L Moshier (moshier@world.std.com) -Sat Jul 30 12:59:01 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * Makefile.in (fix-header.o): Depends on xsys-protos.h. - * fold-const.c (fold_truthop): Apply masks to constants. +Sun Jun 11 15:07:58 1995 Tim Carver (timc@ibeam.intel.com) - * print-tree.c (print_node{,_brief}): Use correct printf code to - print INTEGER_CST if HOST_WIDE_INT is wider than int. + * reload1.c (emit_reload_insns): Don't call HARD_REGNO_NREGS + on psuedo when clearing reg_last_reload_reg. - * expmed.c ({store,extract}_bit_field): Don't use bitfield insn - if OP0 is register and bitfield spans it. +Sun Jun 11 14:07:05 1995 Philippe De Muyter (phdm@info.ucl.ac.be) - * m88k.c (arith64_operand): Integer CONST_DOUBLE is not DImode. - * sparc.c (reg_or_0_operand): Likewise. - * ns32k.c, pa.c (print_operand): Likewise. - * fx80.h, gmicro.h, ns32/{genix,merlin}.h (PRINT_OPERAND): Likewise. - * m68k/crds.h, m68k/news.h, pyr.h (PRINT_OPERAND): Likewise. + * m68k.md ({add,sub}di{_mem,3}): Patterns merged. - * alpha.h (CASE_VECTOR_PC_RELATIVE): Define. - (ASM_OUTPUT_ADDR_VEC_ELT): Abort. - (ASM_OUTPUT_ADDR_DIFF_ELT): Now what used to be previous definition. - * alpha.md (tablejump): Rework to look like normal add but verify - that label is for next insn and is tablejump; look for ADDR_DIFF_ELT. - * cse.c (fold_rtx, case MEM): Surround TRUNCATE for jump table - entry with a CONST. - (fold_rtx, case '1'): Handle operand 0 of a CONST. - (fold_rtx, case PLUS): Handle (const (minus (label_ref) (label_ref))). +Sun Jun 11 13:43:26 1995 Torbjorn Granlund -Fri Jul 29 19:27:17 1994 Lee Iverson (leei@ai.sri.com) + * m68k.md (cmpdi matcher): Set cc_status before returning. - * c-decl.c (finish_decl): Preserve initialializer if iterator. + * config/xm-freebsd.h (DONT_DECLARE_SYS_SIGLIST): Define. -Fri Jul 29 19:07:23 1994 Hallvard B Furuseth (h.b.furuseth@usit.uio.no) +Sun Jun 11 13:38:49 1995 Jason Merrill - * libgcc2.c: Add declaration of ctime. - * bc-emit.c (bc_sym_write): Change %d to %lu in printf calls. - * fix-header.c (write_{l,r}brac): Specify return type of int. - * tree.c (change_main_variant): Return type now void. - * varasm.c (bc_output_constructor): Return type now rtx. + * fixincludes (math.h): Keep declaration of abs on HPUX. -Fri Jul 29 18:33:48 1994 Ken Duda (kjd@cache.crc.ricoh.com) +Sun Jun 11 12:31:42 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * c-typeck.c (build_unary_op, case *INCREMENT_EXPR): - Add size in bytes, not value of sizeof. + * stor-layout.c (variable_size): Do nothing if SIZE is constant. -Fri Jul 29 17:36:38 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * stmt.c (expand_asm_operands): See if output operand permits + register. If not, mark output addressable, call expand_operand + on it, and give error if not MEM. - * function.c (expand_function_start): Initialize VALUE_ADDRESS. + * function.c (assign_parms): Handle promotions of both + passed and nominal modes separately and insert needed conversions. + (promoted_input_arg): Return 0 if nominal and passed modes differ. - * romp.md (tst?f): Use CONST0_RTX instead of incorrect call - to immed_real_const_1. + * stmt.c (all_cases_count, case INTEGER_TYPE): Fix typo in checking + for integer bounds. - * expr.c (move_block_to_reg): Do nothing if NREGS == 0. +Sat Jun 10 08:55:25 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Fri Jul 29 17:17:18 1994 Tom Tromey (tromey@busco.lanl.gov) + * libgcc2.c (_floatdidf): Correctly set float sizes. - * cccp.c (special_symbol, do_xifdef): Don't access value.defn - of a T_CONST. + * c-decl.c (c_decode_option, case "-Wall"): Don't set extra_warnings. -Thu Jul 28 17:19:32 1994 Jason Merrill (jason@deneb.cygnus.com) + * Makefile.in (cpplib.o, fix-header.o): Update dependencies. + (cpperror.o, cppexp.o, cpphash.o): New rules, to show .h dependencies. - * gbl-ctors.h (DO_GLOBAL_CTORS_BODY): Reverse order of execution - of constuctor lists. - * config/svr3.h (DO_GLOBAL_CTORS_BODY): Ditto. +Fri Jun 9 18:06:10 1995 Doug Evans - * libgcc2.c (__do_global_dtors): Reverse order of execution of - destructor lists. + * cse.c (cse_basic_block): Fix test for whether block ends with a + barrier. Return next insn, not 0, if block ends in a barrier. -Thu Jul 28 19:56:30 1994 Jim Pendergraft (jimp@dg-rtp.dg.com) +Fri Jun 9 17:58:29 1995 Paul Eggert - * dwarfout.c (output_decl, case FUNCTION_DECL): Corrected - and simplified code that determined when to generate - varargs or ANSI stdargs variable length parameter list - DWARF information. + * fold-const.c (lshift_double): Replace `&' with `%' to fix typo. + ([lr]shift_double): Truncate shift count only if SHIFT_COUNT_TRUNCATED. + Remove unnecessary `count >= prec' test. -Thu Jul 28 19:38:57 1994 Andreas Schwab (schwab@issan.informatik.uni-dortmund.de) + * cexp.y (left_shift): Ignore integer overflow. - * m68k.md (extv, extzv): In patterns that will use movb and - movw, ensure size is 8 or 16. + * cexp.y (skip_evaluation): New variable. + (&&, ||, ?:): Increment it in unevaluated subexpressions. + (/, %, integer_overflow): Suppress diagnostics if skip_evaluation != 0. + (yyerror): Clear skip_evaluation. -Thu Jul 28 19:28:31 1994 David Robinson (drtr@mail.ast.cam.ac.uk) +Fri Jun 9 17:49:05 1995 Torbjorn Granlund - * expr.c (expand_expr, case CONJ_EXPR): Use correct mode for - parts of a complex expression. + * m68k.md (tstdi): Rewrite. - * optabs.c (expand_binop, case MULT [complex]) Fix typo. +Fri Jun 9 17:28:55 1995 Per Bothner -Thu Jul 28 19:21:38 1994 Uwe Seimet (seimet@chemie.uni-kl.de) + * scan-decls.c (scan_decls): Handle declarations with + multiple comma-separated declarators. - * am68k/atari.h (FUNCTION_VALUE): New override. +Thu Jun 8 19:16:12 1995 Richard Earnshaw (rearnsha@armltd.co.uk) -Thu Jul 28 17:27:38 1994 Paul Eggert (eggert@twinsun.com) + * arm.md (mov[sd]f expands): Don't allow fp constants in pseudos + when TARGET_SOFT_FLOAT. - * Makefile.in (c-lex.o, distdir-start): - Depend on $(srcdir)/c-gperf.h, not c-gperf.h. +Thu Jun 8 19:11:43 1995 Jim Wilson -Thu Jul 28 15:14:33 1994 Oliver Kellogg (okellogg@salyko.cube.net) + * expmed.c (store_split_bit_field): When adjust arg in + BYTES_BIT_ENDIAN case, use number of bits in arg for MEM operands + and BITS_PER_WORD for other operands. + (extract_fixed_bit_field): Undo last change. - * m1750.inc (DNR.M): Add missing macro. + * unroll.c (verify_addresses): New function. + (find_splittable_givs): Use it instead of memory_address_p. -Thu Jul 28 13:02:56 1994 Kresten Krab Thorup (krab@akvavit) +Thu Jun 8 18:58:18 1995 Torbjorn Granlund - * objc/misc.c (__objc_xcalloc): Remove declaration of bzero. + * expmed.c (expand_divmod): Always check result of emit_store_flag. -Thu Jul 28 07:29:52 1994 Markus Wild (mw@eunet.ch) - - * c-common.c (decl_attributes): Correct string check for "format" - to include unsigned and signed char. - -Thu Jul 28 07:11:36 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * reload1.c (compare_spill_regs): Simplify and return zero if - registers are the same. - - * c-decl.c (finish_struct): Don't look at alignment of error_mark_node. - - * combine.c (try_combine): Don't make a MULT if none of the insns - in our input had one. - -Wed Jul 27 19:06:53 1994 R Bowler (rbowler@cix.compulink.co.uk) - - * i370/mvs.h (ASM_OUTPUT_ASCII): Fix bug when first character - of string constant is single quote. - -Wed Jul 27 22:44:32 1994 Jason Merrill (jason@deneb.cygnus.com) - - * m68k/next.h: #undef PCC_STATIC_STRUCT_RETURN. +Thu Jun 8 12:02:34 1995 David D Zuhn (zoo@armadillo.com) - * alpha/alpha.h: #define NO_IMPLICIT_EXTERN_C. + * cpplib.c (cpp_push_buffer): Include filename in error message. -Wed Jul 27 14:06:37 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Thu Jun 8 11:53:45 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * expmed.c (expand_mult): Properly set ADD_TARGET for add_variant. + * function.c (assign_parms): Don't call promote_mode on arg + unless PROMOTE_FUNCTION_ARGS defined. - * alpha.h (INITIAL_ELIMINATION_OFFSET): Properly compute offset - between AP and SP when get_frame_size and - current_function_pretend_args_size are not a multiple of 16 bytes. + * rs6000.md (decrement_and_branch): Ensure label is operand 0. - * expmed.c (expand_divmod): Don't make REG_NOTE if last insn's - destination isn't QUOTIENT. + * rs6000.md (aux_truncdfsf2): New pattern. + (movsf): Use it instead of invalid SUBREG and truncdfsf2. -Tue Jul 26 19:45:54 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * varasm.c (assemble_name): Disable warn_id_clash around + get_identifier call. - * expr.c (expand_expr, case ARRAY_REF): Don't fold L"foo"[2]. +Wed Jun 7 17:22:25 1995 Philippe De Muyter (phdm@info.ucl.ac.be) -Tue Jul 26 14:10:52 1994 Per Bothner (bothner@kalessin.cygnus.com) + * configure (gdb_needs_out_file_path): New variable. + (m68k-motorola-sysv): Set gdb_needs_out_file_path if not using gas. + (.gdbinit): If gdb_needs_out_file_path is set, add a 'dir' command + for $(out_file). - * config.sub: Refer to NeXT's operating system as nextstep. +Wed Jun 7 17:17:19 1995 Torbjorn Granlund -Tue Jul 26 13:50:37 1994 Jim Wilson (wilson@cygnus.com) + * fold-const.c (fold): When folding `<' type nodes, make true_value + and false_value have correct types. - * c-typeck.c (process_init_element): Do not call push_init_level - if the value is error_mark_node. +Wed Jun 7 05:06:42 1995 Jason Merrill - * iris5.h (NO_IMPLICIT_EXTERN_C): Define. + * collect2.c (COFF scan_prog_file): Use the AIX duplicate entry. -Mon Jul 25 00:20:36 1994 Chris Arthur (csa@gnu.ai.mit.edu) +Tue Jun 6 18:43:09 1995 Jeffrey A Law (law@snake.cs.utah.edu) - * configure (canon_target): add cases to recognize BSD/386 - specifically, so we can use a tm_file that will cause __bsdi__ - to get defined (since emacs, among other things, needs it). + * pa.h (FUNCTION_ARG_CALLEE_COPIES): Define. - * config/i386/bsd386.h: New. Use 386bsd.h, and just override - CPP_PREDEFINES (add -Dbsdi) and WCHAR stuff. +Tue Jun 6 18:21:18 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Sat Jul 23 16:30:12 1994 Kaveh R. Ghazi (ghazi@caip.rutgers.edu) + * expr.c (expand_expr, case PLACEHOLDER_EXPR): Consider two types + identical if their TYPE_MAIN_VARIANTs are the same. - * fixinc.svr4: Change i860 in #if to __i860__, as with other CPUs. + * c-decl.c (start_decl): Set DECL_COMMON before calling + decl_attributes. -Fri Jul 22 14:33:59 1994 Doug Evans (dje@cygnus.com) + * a29k.c (print_operands): Cast args to bcopy to char *. - * h8300.md (andhi3, iorhi3, xorhi3): Change constraint on - operand 2 from `i' to `n'. + * c-decl.c (duplicate_decls): Don't clear DECL_CONTEXT of + new decl if it is a function. -Fri Jul 22 09:30:39 1994 DJ Delorie (dj@ctron.com) +Tue Jun 6 17:57:44 1995 Eberhard Mattes (mattes@azu.informatik.uni-stuttgart.de) - * configure.bat: move code to config/msdos/* (simplification) + * gcc.c (do_spec_1, case 'g'): Handle %O as suffix if MKTEMP_EACH_FILE. - * config/msdos/configure.bat [new file]: moved most processing - here so that as things get more complicated with the language - breakouts, the top directory won't get too messy. Sed script - broken out to simplify processing and avoid quoting errors. - * config/msdos/top.sed [new file]: sed script to change Makefile.in - to Makefile in top directory (currently used for cp directory also) - sed commands changed to handle language breakout +Tue Jun 6 17:53:05 1995 Michael Meissner - * gcc.c (pexecute): use spawn*() for djgpp to ensure that quotes - are properly preserved. Response file code left for 16-bit - compilers, which can't handle the long command lines that gcc - may generate. + * rs6000.c (expand_block_move): Update source and destination pointers + inside the loop moving the bytes, not outside. - * config/i386/go32.h: define NO_IMPLICIT_EXTERN_C. +Tue Jun 6 14:58:37 1995 Andreas Schwab -Thu Jul 21 23:19:03 1994 Steve Chamberlain (sac@wombat.gnu.ai.mit.edu) + * m68k.h (CONDITIONAL_REGISTER_USAGE): Don't mark pic reg as fixed. + * m68k.c (finalize_pic): Emit USE insn at start and end of function. - * sh/sh.h (TARGET_SWITCHES, PACKSTRUCT_BIT, STRUCTURE_SIZE_BOUNDARY): - parse and handle new option. - (LEGITIMATE_CONSTANT_P): LABEL_REFs are no longer illegal. - (WCHAR_TYPE, WCHAR_TYPE_SIZE): New definitions. - (HANDLE_PRAGMA): Has return. +Tue Jun 6 13:46:57 1995 Jim Wilson - * sh/sh.c (add_function, seen_function): Experimental code to - generate bsrs. - (handle_pragma): Return final char. - (expand_acall): Handle TARGET_BSR. - (general_movdst_operand, general_movsrc_operand): Allow ok - autoinc/dec. - (bsr_operand): New function. - (fixit): Need to fix LABEL_REFs. + * sh.c (print_operand): Check for annulled branches. + (output_movedouble): Handle SUBREG addresses. + (output_branch): Handle annulled branches. + (sh_expand_prologue): Correct number of saved registers for + varargs functions. + * sh.h: Add some comments. + * sh.md: Add some comments. Cleanup formatting. + (type attribute): Add pstore and call. + (return define_delay): Reorganize to make clearer. + (call/sfunc define_delay): Define. + (cbranch define_delay): Define to have annul-true delay slot. + (subsi3): Use arith_reg_operand for operand 2. + (shift patterns): Use const_int_operand instead of immediate_operand + for shift counts. + (push): Add pstore constraint case. + (movsi_i): Move t/z constraint pair to the front of the list. + (calli, call_valuei): Add "call" attribute. + +Mon Jun 5 19:23:13 1995 Jim Wilson - * sh/sh.md (addc): Simplify. - (adddi3, subdi3, negdi3): Use operand_subword. - (subc, negc): New pattern. - (shifts): Fix constraints. + * sched.c (attach_deaths): In last change, use find_reg_note instead + of find_regno_note. -Thu Jul 21 17:59:43 1994 Jim Wilson (wilson@cygnus.com) +Mon Jun 5 19:17:31 1995 Tom Quiggle (quiggle@lovelace.engr.sgi.com) - * objc-act.c (build_module_descriptor): Don't set DECL_EXTERNAL on - current_function_decl. + * mips/iris5.h (MACHINE_TYPE): Say "IRIX 5.x", not "5.0". + (NO_DOLLAR_IN_LABEL): Undefine. + * mips.h (sdb_begin_function_line): New declaration. + (PUT_SDB_FUNCTION_END): New definition. - * combine.c (simplify_rtx): For (not (xor X C)) generate new rtx - instead of modifying old rtx. +Mon Jun 5 18:56:10 1995 Michael Meissner - * c-decl.c (start_function): If old_decl is NULL, then set it to - the implicit decl if any. Delete superfluous test from warn missing - prototypes code. For warn missing declarations code, only warn if - previous decl is implicit. + * rs6000.c (expand_block_move): Don't do block moves where we clobber + fixed numbers of regs, instead move just 1-8 bytes at a time. -Thu Jul 21 17:47:05 1994 Paul Eggert (eggert@twinsun.com) + * Makefile.in (STAGESTUFF): Copy files produced by -da and + -save-temps to the stage subdirectories. - * fold-const.c (fold): Don't fold X-X to 0 if X is floating point - and !flag_fast_math. +Mon Jun 5 08:18:46 1995 Torbjorn Granlund -Thu Jul 21 02:07:45 1994 Charles Levert (charles@comm.polymtl.ca) + * combine.c (reg_dead_at_p): When scanning backwards, stop at BARRIER. - * Makefile.in (stmp-multilib): Rework to handle make -n. - (stmp-multilib-sub): New target. + * m68k.c (print_operand): Handle 'R' for registers. + * m68k.md (cmpdi): Rewrite to avoid bogus matching constraints. -Tue Jul 19 23:14:42 1994 Larry Jones (larry.jones@sdrc.com) + * optabs.c (expand_binop): In last change, don't defererence TARGET + if it is 0. - * configure (i[34]86-*-isc*): Treat isc4 like isc3. - Remove references to nonexistant files and add extra_parts - when needed. - (i[34]86-*-solaris2*): Remove reference to nonexistant - t-sco and use extra_parts instead. - (i[34]86-*-sysv*, i860-*-sysv3*, m68k-*-sysv3*, m68k-ncr-sysv*): - Replace t-svr3 with extra_parts. + * pa.md (movsicc): Use MATCH_DUP for operand 4 and 5. -Tue Jul 19 20:31:34 1994 Doug Evans (dje@cygnus.com) +Mon Jun 5 08:14:56 1995 Jeffrey A Law (law@cs.utah.edu) - * configure (find lang subdirs loop): Try to work around an - apparent bug in bash 1.12 on linux. + * pa.c (hppa_encode_label): Allocate stuff on permanent_obstack + rather than via malloc. - * Makefile.in (clean): Remove multilib build dirs. + * c-common.c (decl_attributes): Fix typo in size passed to alloca. - * h8300.c (print_operand, default case): Handle SFmode regs. +Mon Jun 5 08:10:55 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Mon Jul 18 22:02:53 1994 Jim Wilson (wilson@cygnus.com) + * alpha.md: Use "some_operand" for patterns valid only during + reload and meant to handle adding more PLUS operators during + register elimination. - * sparc.c (call_operand): Use symbolic_operand not CONSTANT_P. - (call_operand_address): Likewise. - * sparc.md (call*): Use symbolic_operand not immediate_operand. - Use 's' constraint not 'i' constraint. +Mon Jun 5 07:31:53 1995 Stephen L Moshier (moshier@world.std.com) - * toplev.c (rest_of_compilation): Clear DECL_ABSTRACT_ORIGIN if - clear DECL_INLINE. + * cse.c (simplify_unary_operation, case FLOAT, UNSIGNED_FLOAT): + Truncate to requested mode. - * global.c (find_reg): Store divide results in temporary variables. +Sat Jun 3 22:08:51 1995 Jim Wilson - * gcc.c (process_command): When have -BstageN option, pass include - not stageN/../include to preprocessor. + * sched.c (attach_deaths): Don't add a REG_DEAD note if a REG_UNUSED + note is already present. -Mon Jul 18 21:58:27 1994 Torbjorn Granlund (tege@tiny.cygnus.com) +Sat Jun 3 18:36:57 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * loop.c (move_movables): Aviod lossage when CALL_INSN_FUNCTION_USAGE - is NULL. + * pa.h (hppa_builtin_saveregs): Add declaration. -Mon Jul 18 20:53:54 1994 Ian Lance Taylor (ian@cygnus.com) +Sat Jun 3 18:11:26 1995 Jason Merrill - * fixincludes: Rework required loop to avoid crash on decstation. + * Makefile.in (scan-decls.o): Depends on cpplib.h. -Thu Jul 14 09:42:23 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Fri Jun 2 19:23:47 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * Version 2.6.0 released. + * optabs.c (expand_binop): Don't use non-REG TARGET in 2-word case. - * explow.c (force_reg): Don't make a REG_EQUAL note for an insn - that doesn't set TEMP. +Thu Jun 1 19:30:30 1995 Tor Egge (tegge@flipper.pvv.unit.no) -Wed Jul 13 17:00:35 1994 Torbjorn Granlund (tege@rtl.cygnus.com) + * m88k.h (RETURN_POPS_ARGS): New argument. + * m88k/dolphin.ld: Added start of comment. - * expmed.c (expand_divmod, case CEIL_DIV_EXPR): - Handle emit_store_flag returning 0. +Thu Jun 1 19:12:28 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Wed Jul 13 16:35:57 1994 Jim Wilson (wilson@cygnus.com) + * configure (a29k-*-bsd*): Fix typo in last change. - * expr.c (store_field): Set MEM_IN_STRUCT_P on object and - blk_object. +Thu Jun 1 18:51:53 1995 Jim Wilson -Wed Jul 13 08:40:11 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * expmed.c (extract_fixed_bit_field): For REG case, compute total_bits + from mode instead of assuming BITS_PER_WORD. - * Makefile.in (distdir-start): Make tmp/ginclude and copy its files. - (distdir-finish): Don't use -f Makefile.in. - (gcc.xtar.gz): Add --best. +Thu Jun 1 18:34:31 1995 Michael Meissner - * fold-const.c (decode_field_reference): Merge operand of - a BIT_AND_EXPR with the mask made from the description of the field. + * rs6000.h (FIXED_R13): Default to 0. + ({FIXED,CALL_USED}_REGISTERS): Use FIXED_R13 for register 13. + * sysv4.h (FIXED_R13): Define to be 1. - * fold-const.c (fold, case MULT_EXPR): Remove last change. +Wed May 31 20:57:26 1995 Torbjorn Granlund -Wed Jul 13 07:12:32 1994 Torbjorn Granlund (tege@adder.cygnus.com) + * m68k.md ([su]mulsi3_highpart): Pass correct number of arguments to + const_uint32_operand. + * m68k.c (const_uint32_operand): Reject negative numbers. - * xm-pa.h, xm-pahpux.h, xm-pahiux.h (USE_C_ALLOCA): Define. + * expmed.c (expand_mult_highpart): Use wide_op1 for all multiplies. + (expand_divmod): Undo Nov 12 change. Instead, add special case + for division by MIN_INT in signed TRUNC_DIV_EXPR case. -Wed Jul 13 03:30:36 1994 Jason Merrill (jason@deneb.cygnus.com) +Wed May 31 20:44:21 1995 Philippe De Muyter (phdm@info.ucl.ac.be) - * tree.h (TYPE_NEEDS_CONSTRUCTING): New macro. - (tree_type): Add needs_constructing_flag. - * function.c (assign_parms): If TYPE_NEEDS_CONSTRUCTING, pass by - invisible reference. - * calls.c (expand_call): Ditto. + * m68k.md (one_cmpldi2): New pattern. + ({a,l}shrdi{3,_const}): Allow 63 as shift count. -Wed Jul 13 06:49:05 1994 Simon Cooper (scooper@hardees.rutgers.edu) +Wed May 31 14:56:31 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * objc/Object.m: Include stdarg.h before stdio.h. + * varasm.c (assemble_start_function, assemble_variable): + Make sure first_global_object_name is in permanent obstack. -Tue Jul 12 21:31:59 1994 Jim Wilson (wilson@cygnus.com) + * reload1.c (alter_reg): Clean up setting of RTX_UNCHANGING_P + when making a MEM. - * c-decl.c (pushdecl): Don't call lookup_name_current_level_global - when traditional. When doing checks against - IDENTIFIER_LIMBO_VALUE, also do check against - INDENTIFIER_GLOBAL_VALUE when traditional. + * reorg.c (struct resources): New field unch_memory. + (CLEAR_RESOURCES, mark_target_live_regs, dbr_schedule): Clear it. + (mark_{referenced,set}_resources, redundant_insn): Set it. + (fill_simple_delay_slots): Likewise. + (resource_conflicts_p): Test it. - * final.c (getpwd): Declare. + * unroll.c (copy_loop_body): Fix typo in call to sets_cc0_p. -Tue Jul 12 16:24:10 1994 Jeffrey A. Law (law@snake.cs.utah.edu) + * integrate.c (output_inline_function): Don't call expand_function_end. - * pa.h (GO_IF_LEGITIMATE_ADDRESS): Only allow immediate addressing - using 5 bits to avoid losing with FP loads and stores on page zero. + * calls.c (prepare_call_address): Only call use_reg on + static_chain_rtx if it is a REG. -Tue Jul 12 16:20:09 1994 David Edelsohn (edelsohn@npac.syr.edu) + * configure (a29k-*-bsd*): Use t-a29k. + * t-a29k: New file. + * a29k/t-a29kbare (LIBGCC1_TEST): New null definition. + * a29k/t-vx29k (LIBGCC1_TEST): Likewise. - * rs6000.md (ashlsi3, lshrsi3, ashrsi3): Only output low-order five - bits for !TARGET_POWER case. +Wed May 31 14:17:42 1995 Jeffrey A Law (law@snake.cs.utah.edu) -Tue Jul 12 13:06:14 1994 Jim Wilson (wilson@cygnus.com) + * configure (hppa*-*-bsd*): Do not run fixincludes. + (hppa*-*-osf*): Likewise. + (hppa*-*-lites*): Likewise. - * combine.c (record_dead_and_set_regs_1): Can only handle SUBREG - if the register is smaller or equal to BITS_PER_WORD. + * pa.h (PRINT_OPERAND_ADDRESS): Use "RR'" rather than "R'" for + symbolic addresses. + * pa.md (symbolic HIGH patterns): Likewise. + (symbolic LO_SUM pattern): Likewise. - * sparc/sysv4.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Define. +Wed May 31 14:11:53 1995 Michael Meissner - * final.c (end_final): Store full path name in .d file not just - the filename. + * rs6000.md (all movstri recognizers): Eliminate updating the pointers. + * rs6000.c (expand_block_move): Don't pass argument of # bytes to + increment pointers by to movstrsi expanders. - * README.IRIX5: New file. + * rs6000.c (rs6000_override_options): Fix typo with -mstring handling. -Tue Jul 12 10:55:14 1994 Michael Meissner (meissner@osf.org) + * rs6000.h (TARGET_SWITCHES): Set MASK_STRING_SET explicitly + if -mno-string, so that it can override the processor default. - * i386/osfrose.h (CC1_SPEC): If both -pic-extern/-pic-lib and - -pic-none, use -pic-extern win, instead of -pic-none. +Wed May 31 07:31:53 1995 Jason Merrill - * i386/osfelf.h (CC1_SPEC): Ditto. + * c-common.c (truthvalue_conversion, BIT_AND_EXPR): Make sure that + the result has boolean_type_node. -Tue Jul 12 09:08:06 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Tue May 30 19:03:21 1995 J.T. Conklin - * reload.c (find_reloads): Don't try to call force_const_mem on - a HIGH. + * stddef.h: Undefine _BSD_XXX_T_ if _GCC_XXX_T is defined on BSD + Net/2 derived systems. - * fold-const.c (fold, case MULT_EXPR): If arg is an unsigned - CEIL_DIV_EXPR, convert to TRUNC_DIV_EXPR of a PLUS_EXPR in some cases. +Tue May 30 08:17:37 1995 Philippe De Muyter (phdm@info.ucl.ac.be) - * alpha.md (ashldi3): Update pattern for (sign_extend (ashift ..)) - to match the current canonicalization. + * m68k.md (decrement_and_branch_until_zero): Operand 0 constraint + changed from "+g" to "+d*am". + (similar anonymous HImode pattern): Likewise. - * explow.c (round_push, allocate_dynamic_stack_space): Avoid - using CEIL_DIV_EXPR; add adjustment and use TRUNC_DIV_EXPR instead. + * m68k.md (tstdi): Use tst/subx #0 instead of neg/negx. + Allow "a" and ">" for operand 0. -Tue Jul 12 08:12:04 1994 Richard Earnshaw (rwe11@cl.cam.ac.uk) +Mon May 29 19:24:43 1995 Niklas Hallqvist (niklas@appli.se) - * dbxout.c (dbxout_source_file): Increment source_label_number outside - of macro expansion. + * m68k.md (addsi_lshrsi_31): Use match_dup, not constraint "1", + for matching inputs. - * arm.c (reversible_cc_register): New function. - (final_prescan_insn): Don't try to conditionalize jumps with JUMP_CLOB - attribute. - * arm.h (PREDICATE_CODES): Add reversible_cc_register. - * arm.md (matcher for SFmode inequality comparison): Use cmfe, not cfm. - (matchers for {store-flag, not-store-flag, neg-store-flag}): Output - if-false instruction first before if-true instruction. - (matcher for (AND store-flag x)): Only match if reversible_cc_register. - (matcher for (IF-THEN-ELSE reg (NOT reg))): Likewise. +Mon May 29 12:39:58 1995 Allen Briggs - * arm.h (FRAME_POINTER_REQUIRED): Always true if the function has - nonlocal labels. - * arm.md ({save,restore}_stack_nonlocal): Delete. + * i386/isc.h ({STARTFILE,LIB,CPP}_SPEC): Handle -Xp like -posix. + * i386/x-isc3 (X_CFLAGS): Add -Xp. + +Mon May 29 12:28:41 1995 J.T. Conklin (jtc@cygnus.com) -Mon Jul 11 19:29:15 1994 Oliver Kellogg (okellogg@salyko.cube.net) + * configure (sparc-*-netbsd): Add missing asterisk at end. - * machmode.def (TQFmode): New mode. - * expr.c (convert_move): Add some conversions for TQFmode. - * varasm.c (assemble_real): Handle TQFmode output. - * config.sub (basic_machine): Add 1750a. - * configure (1750a-*-*): New configuration. - * 1750a.c, 1750a.h, 1750a.md, m1750a.inc: New files. +Mon May 29 08:55:48 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Mon Jul 11 18:38:42 1994 Doug Evans (dje@cygnus.com) + * combine.c (recog_for_combine): New parm PADDED_SCRATCHES; set it. + (try_combine): Accumulate number of scratches and update max_scratch. + (simplify_set): Add extra parm to recog_for_combine. - Add support for the h8/300h cpu. - * config/h8300/lib1funcs.asm: New file. - * h8300/t-h8300 (CROSS_LIBGCC1): Use libgcc1-asm.a. - (LIB1ASMSRC, LIB1ASMFUNCS, LIB2FUNCS_EXTRA, MULTILIB_OPTIONS, - MULTILIB_DIRNAMES, LIBGCC, INSTALL_LIBGCC): Define. - (fp-bit.c): Build it. - * h8300/h8300.h (CPP_PREDEFINES, CPP_SPEC, LIB_SPEC, TARGET_SWITCHES, - BITS_PER_WORD, MAX_BITS_PER_WORD, UNITS_PER_WORD, MAX_UNITS_PER_WORD, - POINTER_SIZE, PARM_BOUNDARY, BIGGEST_ALIGNMENT, - BIGGEST_FIELD_ALIGNMENT, STACK_BOUNDARY, HARD_REGNO_NREGS, - HARD_REGNO_MODE_OK, REG_CLASS_NAMES, REG_CLASS_CONTENTS, - REGNO_REG_CLASS, PUSH_ROUNDING, FUNCTION_ARG_ADVANCE, - TRAMPOLINE_TEMPLATE, TRAMPOLINE_SIZE, INITIALIZE_TRAMPOLINE, - CONSTANT_ADDRESS, MOVE_MAX, Pmode, SIZE_TYPE, PTRDIFF_TYPE): - Add h8/300h support. - (LINK_SPEC, TARGET_RTL_DUMP, TARGET_H8300, TARGET_H8300H, - REAL_ARITHMETIC, SETUP_INCOMING_VARARGS, HAVE_POST_INCREMENT, - HAVE_PRE_DECREMENT, MAX_MOVE_MAX, NO_BUILTIN_SIZE_TYPE, - NO_BUILTIN_PTRDIFF_TYPE, WCHAR_TYPE, WCHAR_TYPE_SIZE, - MAX_WCHAR_TYPE_SIZE, ASM_WORD_OP, INIT_SECTION_ASM_OP, - CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP, EXTRA_SECTIONS, - EXTRA_SECTION_FUNCTIONS, ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR, - DO_GLOBAL_CTORS_BODY, DO_GLOBAL_DTORS_BODY, INIT_TARGET_OPTABS): - Define. - (CAN_DEBUG_WITHOUT_FP, PCC_STATIC_STRUCT_RETURN, STRUCT_VALUE_REGNUM, - STRUCT_VALUE_INCOMING, STRUCTURE_SIZE_BOUNDARY): Undefine. - (enum reg_class): Add h8/300h support. - (emit_a_shift): Declare. - (TARGET_DEFAULT): Set default to -mquickcall. - (DOUBLE_TYPE_SIZE): Fix at 32. DFmode support doesn't exist. - (CALL_USED_REGISTERS, REG_ALLOC_ORDER): Swap registers 2,3 with 4,5. - Registers 0,1 contain function result, allocate after 2,3. - (STATIC_CHAIN_REGNUM): Use reg 4. - (CONST_OK_FOR_LETTER_P): 'O' is ok_for_bclr, 'P' is small_power_of_two. - (FUNCTION_PROFILER, FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): First - attempt at an implementation. - (CONST_COSTS): Move code into function const_costs. - (BRANCH_COST): Set to 0. - (NOTICE_UPDATE_CC): Move code into function notice_update_cc. - (ASM_FILE_START): Move code into function asm_file_start. - (ASM_FILE_END): Move code into function asm_file_end. - (ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT): Use REAL_VALUE_TO_DECIMAL. - * h8300/h8300.c (cpu_type, names_extended, names_upper_extended, - h8_reg_names, h8_push_ops, h8_pop_ops, h8_mov_ops, h8_push_op, - h8_pop_op, h8_mov_op, current_function_anonymous_args, extra_pop, - hand_list): New variables. - (h8300_init_once, asm_file_start, asm_file_end, ok_for_bclr, o_operand, - p_operand, call_insn_operand, jump_address_operand, bit_operand, - eq_operator, const_costs, notice_update_cc, bit_operator, - nshift_operator, expand_a_shift, get_shift_alg, emit_a_shift, - fix_bit_operand): New functions. - (shift_alg, shift_type, shift_mode): New enums. - (shift_insn): New struct. - (shift_n_bits, can_shift): Deleted. - (shift_one, rotate_one): New variables. - (WORD_REG_USED): New macro (was function word_reg_used). - (dosize, function_prologue, function_epilogue, print_operand_address): - Add h8/300h support. - (small_power_of_two): Renamed from potl8. - (potg8): Deleted. - (general_operand_src): Fix POST_INC case. - (general_operand_dst): Fix PRE_DEC case. - (function_arg): 3 regs of args are passed if -mquickcall. - 4 regs of args are passed to handwritten assembler routines. - (print_operand): New cases 'A', 'P', 'S', 'U', 'W', 'b', 'c', 'd', 'g'. - Delete case 'O'. Sort cases. Add h8/300h support. - (do_movsi): Renamed from domovsi. - Handle reload_in_progress and reload_completed. - (initial_offset): Renamed from io. Add h8/300h support. - * h8300/h8300.md (cpu): New attribute. - (attribute length): Add h8/300h support. - (attribute cc): New value `cbit'. - (all anonymous insns): Give them names. - (move insns): Add h8/300h support. - (tstqi, tsthi): Use btst insn if able. - (arithmetic insns): Add h8/300h support. - (boolean insns): Likewise. - (negate insns): Likewise. - (branch insns): Likewise. - (call_value): Use call_insn_operand for operand 1. - (shift insns): Completely rewritten. Add h8/300h support. - (zero/sign extension insns): Add h8/300h support. - (extv): Deleted. - (insv, extzv): Only use for h8/300. - (bitfield insns): Completely rewritten. - (fancyb*): New insns for speeding up bit accesses. + * romp.md (call): Put USE for r0 in CALL_INSN; call call_internal + to emit insn. + (call_internal): New name for anonymous call. + (call_value, call_value_internal): Likewise. - * optabs.c (init_optabs): Allow target specific libcalls - with INIT_TARGET_OPTABS. + * winnt/xm-winnt.h: Protect most definitions with #ifndef. + * alpha/xm-winnt.h: Include alpha/xm-alpha.h, then winnt/xm-winnt.h. + (POSIX): Undefine. + * xm-alpha.h: Don't include alloca.h for winnt. -Mon Jul 11 18:32:42 1994 Steve Chamberlain (sac@cygnus.com) +Sun May 28 18:34:01 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * config/fp-bit.c: New file. Provides simple fp emulation library. + * configure: Make sed commands more uniform. -Mon Jul 11 18:27:42 1994 Ian Lance Taylor (ian@cygnus.com) + * Makefile.in: Properly use $(srcdir) for files that have it + in their reference as a target of a rule. + (libgcc1.a): Add missing RANLIB_TEST use. - * Makefile.in (libgcc1-asm.a): New target for building libgcc1.a - in cross compilers. + * stmt.c (expand_computed_goto): Call do_pending_stack_adjust. -Mon Jul 11 17:00:45 1994 David Edelsohn (edelsohn@npac.syr.edu) +Sun May 28 18:08:41 1995 Torbjorn Granlund - * rs6000.md (movsi matcher): Add nop for moving special register - to itself for !TARGET_POWER. - (movhi and movqi matcher): Likewise and add mtjmpr attribute. - Separate MQ from CTR and LR target registers for TARGET_POWER. + * m68k.md (divmodhi4, udivmodhi4): Use "dmsK" for operand 2. - * powerpc.h (CPP_SPEC): Fix typo. +Fri May 26 17:01:22 1995 Paul Eggert -Mon Jul 11 16:50:29 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * fixincludes: Fix bogus recursive in NEWS-OS 4.0C. - * c-parse.in (stmt): Don't give more than one error message if a - nested `if' has an empty body. +Fri May 26 08:02:14 1995 Michael Meissner (meissner@cygnus.com) - * a29k.md (movqi): Call loadhi, not loadqi. + * c-typeck.c (initializer_constant_valid_p): For the CONSTRUCTOR + case, if the type is a record, recurse, just like for unions. -Mon Jul 11 16:46:09 1994 Jeffrey A. Law (law@mole.gnu.ai.mit.edu) +Thu May 25 07:56:14 1995 Paul Eggert - * pa.h (DEBUGGER_ARG_OFFSET): Define. If no frame pointer - is available, then adjust the offset by the size of the - current frame. + * fixincludes: Add `sel', `tahoe', `r3000', `r4000' to the + list of pre-ANSI symbols that need to be surrounded with __ __. + Allow white space between `#' and `if' when looking for lines to patch. -Mon Jul 11 16:34:14 1994 Stan Shebs (shebs@andros.cygnus.com) + * objc/sarray.h (PRECOMPUTE_SELECTORS, struct soffset): + Use #ifdef __sparc__, not sparc. - * configure (*-*-lynxos*): Always run fixincludes, and if not using - gas, set tm_file to lynx-ng.h. - * config/x-lynx: Always run fixproto. - * config/lynx.h, i386/lynx.h, m68k/lynx.h, sparc/lynx.h: Rewrite - to work with gas producing coff files. - * config/lynx-ng.h, i386/lynx-ng.h, m68k/lynx-ng.h, - sparc/lynx-ng.h: New files. + * m68k.md (addsi_lshrsi_31, ashldi_const, ashrdi_const, lshrdi_const): + Replace `mov' with `move'. -Mon Jul 11 15:16:28 1994 Pat Rankin (rankin@eql.caltech.edu) +Thu May 25 07:35:37 1995 Allen Briggs - * make-cc1.com: Compile most of cc1plus in the `cp' subdirectory. - * vmsconfig.com: When setting up tm.h, convert "vax/vax.h" into - "config-vax.h" rather than "[.config.vax]vax.h" for #include so - it will work from [.cp] subdirectory; copy vax.h to config-vax.h - as part of configuration setup. Also, manually include cc1plus - in the list of buildable compilers (a temporary measure; it - should process cp/Makefile.in like it does for primary makefile). + * libgcc2.c (L_eh, i386): Remove in-line comments in assembly + code--the '#' character is not valid for the SYSV as. + +Thu May 25 07:28:54 1995 Pat Rankin (rankin@eql.caltech.edu) - * make-cc1.com: Use `=' rather than `:=' when setting up CC, - so that `gcc' can be defined as a foreign command if necessary; - eliminate `set symbol/scope=noGlobal' for same reason; use `=' - with all other symbols, for consistency; add explicit .obj - extension to some lists of object files passed to the linker; - general cleanup of the command text echoed during execution. - * make-cccp.com: Revise to be more consistent with make-cc1.com - for symbol setup & usage and for echoing command execution. + * Makefile.in (BC_ALL): Restore it from May 22 change; vms uses it. + (STAGESTUFF): Use it. -Mon Jul 11 15:03:23 1994 Charles Hannum (mycroft@duality.gnu.ai.mit.edu) +Thu May 25 07:11:56 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * configure: Recognize m68k-*-netbsd* and i[345]86-*-netbsd*. - * cccp.c, collect2.c, gcc.c, protoize.c, cp/g++.c (sys_errlist) - [bsd4_4]: Do this for __NetBSD__ also. + * alpha.c (alpha_emit_set_const): Don't call expand_binop for + other than add if SImode and can't create pseudos. -Mon Jul 11 14:16:28 1994 Kresten Krab Thorup (krab@spiff.gnu.ai.mit.edu) +Wed May 24 21:38:24 1995 Jim Wilson - * mips/mips.h (STRUCT_VALUE): Change definition from `(rtx)0' to - just `0' so it is a valid expression for the pre-processor. + * sched.c (reemit_notes): New function. + (schedule_block): Call reemit_notes twice. Reorganize code for + handling SCHED_GROUP_P insns, so that reemit_notes works. -Mon Jul 11 10:54:35 1994 Stan Cox (coxs@dg-rtp.dg.com) + * sh/sh.c (shiftcosts, genshifty_op): Add SH3 support. + * sh/sh.md (ashlsi3, lshrsi3): Add SH3 support. + (ashlsi3_d, ashrsi3_d, lshrsi3_d): New patterns for SH3. + (ashrsi2_31): Remove r/!r constraint. - * configure (m88k-dg-dguxbcs): New configuration. m88k-dg-dgux - Now builds an elf compiler. Both targets will create bcs or elf. +Wed May 24 17:00:47 1995 Jason Merrill - * m88k/dgux.h (ASM_SPEC,STARTFILE_SPEC,LIB_SPEC): svr4 default. + * tree.c (type_list_equal): Call simple_cst_equal before checking + types. - * m88k/dguxbcs.h (ASM_SPEC,STARTFILE_SPEC,LIB_SPEC): - New target for svr3. +Wed May 24 16:49:49 1995 Douglas Rupp (drupp@cs.washington.edu) - * m88k/x-dgux, m88k/t-dgux, m88k/x-dguxbcs: - Changed for svr4/svr4/svr3 respectively. + * Makefile.in (libgcc2.a): Handle case of separate srcdir. - * m88k/m88k.h (TARGET_SVR3): New target switch. +Wed May 24 16:22:01 1995 Paul Eggert -Wed Jun 29 19:23:27 1994 David Mosberger-Tang (davidm@piston.cs.arizona.edu) - - * alpha.h (LIB_SPEC): If -pg, add -lprof2. + * configure: Define $(MAKE) if `make' doesn't. -Mon Jul 11 13:17:38 1994 Ian Lance Taylor (ian@cygnus.com) +Wed May 24 15:50:51 1995 Doug Evans - * combine.c (simplify_set): Only turn IF_THEN_ELSE into AND if - MODE_INT. + * dsp16xx.h (CROSS_LINK_SPEC): ENDFILE_SPEC moved to -nostartfiles. + * i386/freebsd.h (LINK_SPEC): Don't pass "-e start" if nostartfiles + rather than nostdlib. + * i386/sun.h (LINK_SPEC): Likewise. + * m68k/sun2o4.h (LINK_SPEC): Likewise. + * m68k/sun3.h (LINK_SPEC): Likewise. + * m68k/vxm68k.h (LINK_SPEC): Likewise. + * mips/netbsd.h (LINK_SPEC): Likewise. + * config/netbsd.h (LINK_SPEC): Likewise. + * rs6000/mach.h (LINK_SPEC): Likewise. + * sparc.h (LINK_SPEC): Likewise. + * sparc/vxsparc.h (LINK_SPEC): Likewise. -Sun Jul 10 06:03:12 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * m88k/m88k.h (FUNCTION_ARG_BOUNDARY): Use GET_MODE_BITSIZE. - * reload1.c (eliminate_regs_in_insn): Handle special case of - assignment from hard frame pointer to frame pointer (for - nonlocal goto). - * function.c (instantiate_virtual_regs_1): Remove last change. - * stmt.c (expand_end_bindings): When adjusting FP, set it - from hard_frame_pointer_rtx. +Wed May 24 15:44:04 1995 Jason Merrill - * expr.c (expand_builtin, case BUILT_IN_FSQRT): Don't use - asterisk in name of `errno'. + * fold-const.c (fold): Make sure that a folded TRUTH_NOT_EXPR + retains the same type. -Fri Jul 8 22:07:32 1994 Jim Wilson (wilson@cygnus.com) + * c-common.c (truthvalue_conversion): Also accept TRUTH_NOT_EXPR. - * stdarg.h: Delete include of when not gcc. - * varargs.h: Delete include of when not gcc. +Wed May 24 15:41:51 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Fri Jul 8 18:45:56 1994 Philippe De Muyter (phdm@info.ucl.ac.be) + * cplus-dem.c (strstr, strncmp, strlen): Remove declarations. - * m68k/mot3300.h (FUNCTION_EXTRA_EPILOGUE): Copy a0 to d0, not - the other way. + * tree.c (type_list_equal, simple_cst_list_equal, index_type_equal): + Check for simple_cst_equal return value of -1. -Fri Jul 8 17:41:39 1994 Jim Wilson (wilson@cygnus.com) +Wed May 24 10:05:24 1995 Michael Meissner - * expr.c (get_inner_unaligned_p): New function. - (expand_assignment, expand_expr): Use it. + * libgcc1-test.c (start, _start): Provide declarations, so that + the GNU linker doesn't give a warning message about defaulting the + start address. -Fri Jul 8 17:16:25 1994 Doug Evans (dje@cygnus.com) + * rs6000/sysv4.h (STRIP_NAME_ENCODING): Redefine back to the + original defination, rather than the defination used in rs6000.h. + (ASM_OUTPUT_SOURCE_LINE): Use STRIP_NAME_ENCODING. + * rs6000.h (STRIP_NAME_ENCODING): Skip leading '*'. - * expmed.c (extract_split_bit_field): Set UNIT to BITS_PER_WORD for - register values. - (store_split_bit_field): Likewise. Call operand_subword_force. + * rs6000.h (MASK_STRING_SET, TARGET_STRING_SET): Add target + flags bit for whether -mstring was actually used. + (TARGET_SWITCHES): Add MASK_STRING to all power targets. Set + MASK_STRING_SET for -mstring and -mno-string. + (TARGET_DEFAULT): Add MASK_STRING. -Fri Jul 8 13:48:23 1994 Mike Stump (mrs@cygnus.com) + * rs6000.c (rs6000_override_options): Add MASK_STRING to + all power targets. Make an explicit -mstring/-mno-string override + the -mcpu=processor default. - * expr.c (target_temp_slot_level): New variable to keep track of - the current stack level for temporaries created by TARGET_EXPRs. - * expr.h (target_temp_slot_level): Declare it. - * expr.c (expand_expr): Add code to maintain the new temporary - stack for TARGET_EXPRs to the CLEANUP_POINT_EXPR code and change - the allocation of temporaries for TARGET_EXPRs to be from the new - stack, so that they may live longer, and only be reused after they - are no longer in use. - * function.c (assign_stack_temp): KEEP can now also be 2, to - indicate allocation from the longer term frontend controlled - temporary stack. - * function.c (init_function_start): Initialize - target_temp_slot_level to zero. + * rs6000/eabile.h (CPP_SPEC): Copy from sysvle.h to provide the + appropriate little endian defaults. -Fri Jul 8 16:52:38 1994 Jim Wilson (wilson@cygnus.com) + * rs6000/sysv4.h (ASM_OUTPUT_SOURCE_LINE): Use assemble_name to + output the canonical name. - * combine.c (distribute_notes, REG_DEAD case): When check to see - if insn uses register, also call find_regno_fusage. +Wed May 24 01:21:15 1995 Jason Merrill - * sparc.h (SECONDARY_MEMORY_NEEDED_RTX): Call assign_stack_local - if the frame has zero size. + * rs6000.h (STRIP_NAME_ENCODING): Define. + (RS6000_OUTPUT_BASENAME): Use it. -Fri Jul 8 11:46:50 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Tue May 23 19:54:21 1995 Doug Evans - * varasm.c (record_constant_rtx, force_const_mem): Ensure everything - is in saveable_obstack, not current_obstack. + * gcc.c (link_command_spec): Move ENDFILE_SPEC from -nostdlib + to -nostartfiles. - * combine.c (force_to_mode): OP_MODE must be MODE if MODE and - mode of X are of different classes. - (nonzero_bits, num_sign_bit_copies): Say nothing known for - floating-point modes. +Tue May 23 17:01:50 1995 Jim Wilson - * function.c (instantiate_virtual_regs_1, case SET): - If DEST is virtual_stack_vars_rtx, replace with hardware - frame pointer. + * alpha.md (negsi2-2): Change output pattern to #. - * expr.c (expand_expr, case CONVERT_EXPR): If changing signedness - and we have a promoted SUBREG, clear the promotion flag. + * mips.c (embedded_pic_offset): Output RTL to initialize + embedded_pic_fnaddr_rtx. + (mips_finalize_pic): Delete. + * mips.h (mips_finalize_pic): Delete declaration. + (FINALIZE_PIC): Delete. + (INIT_EXPANDERS): Clear embedded_pic_fnaddr_rtx. + * mips.md (get_fnaddr): Add = to output contraint. - * c-decl.c (finish_decl): Put RTL and other stuff in - permanent_obstack if DECL is. + * sh.c (shift_amounts): Correct entry for shifts by 29. + * sh.md (sett): New pattern. + (movsi_i): Change source constraint for move to T reg to be 'z'. - * combine.c (gen_unary): Add new arg, OP0_MODE. - All callers changed. + * mips/ecoff.h (STARTFILE_SPEC): Define to null string. + * mips/elfl.h, mips/elfl64.h: Correct typo in comment. -Thu Jul 7 19:58:35 1994 Jason Merrill (jason@deneb.cygnus.com) - - * varasm.c (assemble_variable): Do set TREE_ASM_WRITTEN on - erroneous incomplete decls. - -Thu Jul 7 17:59:46 1994 Joseph Arceneaux (jla@gnu.ai.mit.edu) - - * configure (m68k-motorola-sysv*): Use mot3300g.h for gas. - * m68k/mot3300g.h: New file. - -Thu Jul 7 17:42:21 1994 Philippe De Muyter (phdm@info.ucl.ac.be) - - * m68k/mot3300.h (FUNCTION_EXTRA_EPILOGUE): Fix typo in last change. - -Thu Jul 7 17:36:26 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * expmed.c (expand_mult_highpart): Build constant forms of CNST1 - in MODE or WIDE_MODE, as appropriate. - - * optabs.c (expand_binop, case DIV [complex]): Fix typo in last change. - - * alpha.md (reload_inqi): Make operand[2] be TImode and - pass register number that differs to unaligned_loadqi. - (reload_outqi): Change overlap in temps to unaligned_storeqi. - * alpha.c ({un,}aligned_memory_operand): Check against - hard_frame_pointer_rtx, not frame_pointer_rtx. - -Thu Jul 7 01:39:33 1994 Doug Evans (dje@cygnus.com) - - * combine.c (make_compound_operation, AND case): Do extraction in - desired result mode. - - * flow.c (mark_set_1): Record explicit hard registers in their - raw mode. - (mark_used_regs): Likewise. - * combine.c (distribute_notes): Likewise. - -Wed Jul 6 14:45:08 1994 Pat Rankin (rankin@eql.caltech.edu) - - * longlong.h (vax sdiv_qrnnd): Fix typo. - -Wed Jul 6 19:59:12 1994 Mike Stump (mrs@cygnus.com) - - * expr.c (expand_expr, defer_cleanups_to, expand_cleanups_to): All - cleanups have to be protected by interim exception handling code. - * stmt.c (expand_decl_cleanup, expand_cleanups): Ditto. - * toplev.c (interim_eh_hook): Hook for interim exception handling. - * toplev.c (interim_eh): Default implementation for exception - handling that does nothing. - * toplev.c (main): Set default for interim_eh_hook. - -Wed Jul 6 17:56:37 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * alpha.c (output_prolog): Start memory probing with $2. - -Wed Jul 6 14:21:14 1994 Jim Wilson (wilson@cygnus.com) - - * stmt.c (struct nesting): Add new field alt_end_label. - (expand_start_loop): Initialize it to zero. - (expand_end_loop): Reorder loop if find either a jump to end_label - or a jump to alt_end_label. - (expand_exit_loop_if_false): Set alt_end_label. - -Wed Jul 6 05:07:31 1994 Richard Earnshaw (rwe11@cl.cam.ac.uk) - - * c-common.c (decl_attributes): If TREE_TYPE for the DECL is updated, - then update TYPE as well. - - * longlong.h (arm umul_ppmm): Fix use of uninitialized register. - Eliminate clobbers of hard registers. - -Wed Jul 6 03:22:04 1994 Torbjorn Granlund (tege@rtl.cygnus.com) - - * expmed.c (expand_divmod): Clear out TARGET also if OP1 is a - constant, when TARGET == OP0. - -Tue Jul 5 18:58:28 1994 Torbjorn Granlund (tege@rtl.cygnus.com) - - * Makefile.in (c-parse.y): Redirect through tmp file. - (objc-parse.y): Likewise. - (c-gperf.h): Likewise. - (mostlyclean): Delete the new tmp files. - - * expmed.c (expand_divmod): Fix typo setting op1_is_pow2. - (expand_divmod): Handle powers-of-two specifically for unsigned - CEIL_*_EXPR. - - * longlong.h: Really fix the test for _IBMR2. Change test of - __powerpc__ to _ARCH_PPC. - -Tue Jul 5 17:00:19 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * combine.c (try_combine): Don't check for replacing - arg of function here. - (can_combine_p): Do it here. - - * expr.c (expand_increment): If pre-incrementing a promoted - variable, don't adjust OP0 since the result won't be used. - - * jump.c (duplicate_loop_exit_test): Handle SUBREG in SET_DEST - of loop exit test statements. - - * combine.c (try_combine): If I2DEST was used in I2SRC, it isn't - unused just because there is no SET for I2 anymore. - -Mon Jul 4 11:15:13 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * rs6000.h (RS6000_OUTPUT_BASENAME): Always call assembler_name - and pass the actual symbol name. - - * varasm.c (assemble_name): Call STRIP_NAME_ENCODING. - - * cse.c (canon_hash, exp_equiv_p): Refer to string in SYMBOL_REF - with XSTR, not XEXP. - -Sat Jul 2 18:53:19 1994 Jim Wilson (wilson@cygnus.com) - - * mips.md (smuldi3_highpart, smuldi3_highpart_internal, - umuldi3_highpart, umuldi3_highpart_internal): New patterns. - - * unroll.c (loop_iterations): Only use REG_EQUAL note value if it - is constant. - - * dbxout.c (dbxout_type_methods): Enable debugging info for - template classes. - - * c-lex.c (yylex): Reject imaginary numbers when pedantic. - - * c-decl.c (duplicate_decls): When make void* match char*, set - DECL_IN_SYSTEM_HEADER. - - * Makefile.in (clean): Delete LIB2FUNCS_EXTRA. - - * alpha.h (FUNCTION_PROFILER, FUNCTION_BLOCK_PROFILER, - BLOCK_PROFILER): Use multiple fputs/fprintf calls instead of ANSI - C concatenated strings. - (PREDICATE_CODES): Add cint8_operand. - - * gcc.c (DEFAULT_WORD_SWITCH_TAKES_ARG): Add -isystem. - -Sat Jul 2 09:34:20 1994 Torbjorn Granlund (tege@rtl.cygnus.com) - - * expmed.c (expand_divmod): Always return gen_lowpart (mode, ...). - -Fri Jul 1 19:28:39 1994 Jeffrey A. Law (law@snake.cs.utah.edu) - - * reorg.c (make_return_insns): Make sure redirecting a jump to - a RETURN insn does not invalidate the delay slots of the jump. - -Fri Jul 1 16:32:58 1994 Richard Earnshaw (rwe11@cl.cam.ac.uk) - - * longlong.h: (arm umul_ppmm): Fix typos in last change. Mark - hard-coded registers with "%|". - -Fri Jul 1 10:08:47 1994 Jason Merrill (jason@deneb.cygnus.com) - - * toplev.c (compile_file): Pass through static consts and inlines - multiple times in case they reference each other. - -Fri Jul 1 07:41:19 1994 Torbjorn Granlund (tege@tiny.cygnus.com) - - * longlong.h: Test for _AM29K and _IBMR2, not ___AM29K__ - and ___IBMR2__. - (arm umul_ppmm): New definition. - (clipper umul_ppmm, smul_ppmm, __umulsidi3): New definitions. - (hppa count_leading_zeros): New definition. - (i960 umul_ppmm, __umulsidi3): New definitions. - (mc68000 umul_ppmm): Use %. before size suffixes. - (mc88110 umul_ppmm, udiv_qrnnd): Rewrite, - (mc88000): Get UMUL_TIME and UDIV_TIME right. - (mips): Get UMUL_TIME right. - (ns32000 umul_ppmm): New definition. - (ns32000 udiv_qrnnd): Rename from bogus div_qrnnd, rewrite. - (powerpc umul_ppmm, smul_ppmm): New definitions. - (_IBMR2/powerpc add_ssaaaa, sub_ddmmss): Improve. - (pyr umul_ppmm): Fix typo. - (sparc add_ssaaaa, sub_ddmmss): Match constant 0 for all inputs. - (vax sdiv_qrnnd): New definition. - - * expmed.c (expand_divmod): Put OP0 in a register when computing - remainder, or when OP1 is constant. - -Fri Jul 1 06:46:09 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * jump.c (jump_optimize): Don't convert if (foo) x++ into an - add of an scc unless X has no side effects and can't trap. - - * c-parse.in (initelt): The equal sign is optional when - positioning to a single element of an array. - - * c-typeck.c (push_init_level): If not at "unfilled" position, - set constructor_incremental to 0; likewise for range. - - * xm-alpha.h: If GNUC, include alloca.h, else declare alloca. - - * m68k/mot3300.h (FUNCTION_EXTRA_EPILOGUE): New macro. - - * expmed.c (expand_divmod): Don't set REG_NOTES unless we generated - a quotient. - -Thu Jun 30 18:25:52 1994 David Edelsohn (edelsohn@npac.syr.edu) - - * gcc.c (do_spec_1, case 'P'): Don't add underscores to macros - starting with '_[A-Z]'. - -Thu Jun 30 18:16:36 1994 Will Athanasiou (will@guardian.westford.ccur.com) - - * m68k.md (umulsi3_highpart, smulsi3_highpart): Fix constraint - for operand 0 in define_insn. - -Thu Jun 30 16:07:33 1994 Kaveh R. Ghazi (ghazi@noc.rutgers.edu) - - * fixincludes: Put wrappers around and to - avoid multiple inclusion errors on m88k-tektronix-sysv3. - -Thu Jun 30 12:08:48 1994 Kresten Krab Thorup (krab@spiff.gnu.ai.mit.edu) - - * objc-act.c, objc/init.c (OBJC_VERSION): Incremented to 6. - - * objc/sendmsg.c (INVISIBLE_STRUCT_RETURN): New macro. - (__objc_block_forward): Declare depending on the above. - - * objc/class.c (objc_next_class): New function. - * objc/objc-api.h (objc_next_class): New function. - - * objc-act.c (get_proto_encoding, build_typed_selector_reference): - New fucnctions. (UTAG_PROTOCOL): New define. - (objc_selector_template, flag_typed_selectors): New variables. - (objc_init): set flag_typed_selectors if -fgnu-runtime. - (synth_module_prologue): Change declaration of - _OBJC_SELECTOR_TABLE when flag_typed_selectors is non-null. - (build_module_descriptor): Make sure the generated constructor - function is declared public. - (build_selector): Only cast to SEL when not doing typed selectors. - (build_selector_translation_table): Rewrite initialization. - (build_tmp_function_decl): Make up new name when called, since it - may now be called multiple times. - (hack_method_prototype): Use init_function_start to reinit args - machinery. Also set current_function_decl before calling - assign_parms. - (generate_protocols): Don't generate encoding twice. - (build_selector_template): New function. - (build_method_list_template): Generate (void*)0 as first element, - not (int)0. - (build_message_expr): move the call to build_selector_reference - towards the end, where we have determined the function prototype. - - * objc/Object.h, objc/Object.m (read:, write:, streamVersion:): - Un-disable for alpha. (forward::, performv::): Declare and fix to - return retval_t. - * objc/archive.c: Completely rewritten to handle 64 bit longs and - pointers. - * objc/class.c (class_pose_as): Rewritten. - * objc/encoding.c: use new ROUND macro for alignment rounding. - * objc/init.c, objc/selector.c, objc/sendmsg.c: Rewritten to - handle new selectors. - -Thu Jun 30 07:49:50 1994 Richard Earnshaw (rwe11@cl.cam.ac.uk) - - * arm.h (INITIAL_ELIMINATION_OFFSET): Check frame_pointer_needed when - eliminating the arg pointer into the stack pointer. - -Thu Jun 30 06:25:50 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * c-common.c (c_build_type_variant): Remove last change; instead, - copy TYPE if not in old obstack. - -Wed Jun 29 21:51:52 1994 Jason Merrill (jason@deneb.cygnus.com) - - * toplev.c (lang_options): Add -W{no-,}non-virtual-dtor. - -Wed Jun 29 19:23:27 1994 David Mosberger-Tang (davidm@piston.cs.arizona.edu) - - * final.c (end_final,profile_function): Profiling variables are - size of pointer, not int. - * alpha.h (LIB_SPEC): If -pg, add -lprof2. - (STARTFILE_SPEC, {FUNCTION,BLOCK,FUNCTION_BLOCK}_PROFILER): New macros. - -Wed Jun 29 15:52:45 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * loop.c (basic_induction_var, case REG): Allow previous - insn to set a SUBREG of X. - - * alpha.c (alpha_sa_size): Round size to 16-byte boundary. - (add_long_const): Add new arg, TEMP_REG. - (output_{pro,epi}log): Rework to put save area between outgoing - args and local variables. - * alpha.h (FRAME_POINTER_REGNUM): Now register 63. - (HARD_FRAME_POINTER_REGNUM): New macro. - (CONDITIONAL_REGISTER_USAGE, REG_CLASS_CONTENTS, REGNO_REG_CLASS): - Show register 63 is not an FP register. - (REGHNO_OK_FOR_BASE_P, REG_OK_FOR_BASE_P, REGISTER_NAMES): Likewise. - (ALPHA_ROUND): New macro. - (STARTING_FRAME_OFFSET, ELIMINABLE_REGS, INITIAL_ELIMINATION_OFFSET): - Modify to reflect save area between outgoing args and local vars. - * alpha.md: Add new pattern for double-add when have - reg + frame pointer. - Slight changes to all such patterns and add define_splits for them. - - * global.c (global_alloc): Make a more accurate attempt to see - if the frame pointer will be used. - If it is, show HARD_FRAME_POINTER_REGNUM used if its not - the same as FRAME_POINTER_REGNUM. - * reload1.c (reload): Can't eliminate if frame pointer needed - and TO is stack pointer. - Spill HARD_FRAME_POINTER_REGNUM if not FRAME_POINTER_REGNUM - and frame pointer is needed. - (spill_hard_reg): If CANT_ELIMINATE, set regs_ever_live; - no longer done by callers. - - * a29k.md (movqi): Add missing `DONE'. - -Wed Jun 29 15:44:18 1994 Doug Evans (dje@canuck.cygnus.com) - - * sparc/sparc.h (CPP_SPEC): Split up v9/non-v9 stuff. - Move -Acpu and -Amachine from here. - (CPP_PREDEFINES): To here. - (NO_BUILTIN_PTRDIFF_TYPE): Undefine. - (NO_BUILTIN_SIZE_TYPE): Likewise. - (PTRDIFF_TYPE): Split up v9/non-v9 definitions. - (SIZE_TYPE): Likewise. - * sparc/sp64-elf: (PTRDIFF_TYPE): Remove dependence on POINTER_SIZE. - (SIZE_TYPE): Likewise. - -Wed Jun 29 15:28:17 1994 Michael Meissner (meissner@osf.org) - - * cccp.c (collect_expansion): Always put 1 space after the macro - expansion in ANSI mode to fix regression from June 24th. - -Tue Jun 28 22:41:52 1994 Doug Evans (dje@cygnus.com) - - * combine.c (simplify_set): Evaluate HAVE_conditional_move at runtime. - -Tue Jun 28 20:27:08 1994 Torbjorn Granlund (tege@adder.cygnus.com) - - * optab.c (expand_binop): Convert OP0 to mode for library calls. - - Changes to optimize division-by-constants, and make ceil and floor - rounding work correctly: - * expmed.c (expand_mult): Generalize to call synth_mult also - for OP1 - 1. - (ceil_log2): New function. - (choose_multiplier): New function. - (invert_mod2n): New function. - (expand_mult_highpart_adjust): New function. - (expand_mult_highpart): New function. - (EXACT_POWER_OF_2_OR_ZERO_P): New macro. - (expand_divmod): Almost completely rewritten. - (expand_shift): Don't truncate immediate shift count, it doesn't work - for types smaller than int. - * expr.h (smul_highpart_optab, umul_highpart_optab): New variables. - * genopinit.c (optabs): Add [us]mul_highpart_optab. - * optabs.c (smul_highpart_optab, umul_highpart_optab): New variables. - (expand_binop): Handle [us]mul_highpart_optab as commutative. - (init_optabs): Initialize [us]mul_highpart_optab. - * fold-const.c (div_and_round_double): Make it globally accessible. - * a29k.md (smulsi3_highpart, umulsi3_highpart): New patterns. - * alpha.md (umuldi3_highpart): New expander and matcher. - * alpha.c (cint8_operand): New predicate. - * m68k.md (umulsi3_highpart, const_umulsi3_highpart): - New expander and matcher. - (smulsi3_highpart, const_smulsi3_highpart): Likewise. - -Tue Jun 28 13:42:10 1994 Jim Wilson (wilson@cygnus.com) - - * sol2.h (CPP_SPEC): Handle -msupersparc. - * sparc.c (cpu_type, sparc_cpu_type): Rename to arch_type and - sparc_arch_type. Fix all users. - (supersparc_adjust_cost): New function. - * sparc.h (cpu_type, sparc_cpu_type): Rename to arch_type and - sparc_arch_type. - (CPP_SPEC): Handle -msupersparc. - (MASK_SUPERSPARC, TARGET_SUPERSPARC): New macros. - (TARGET_SWITCHES): Add -msupersparc and -mcypress. - (ADJUST_COST): New macro. - * sparc.md (cpu attribute): Rename to arch attribute. Add a new - cpu attribute. Fix all users. - (type attribute): Add ialu, shift, imul, fpdivs, and fpdivd. - Delete fpdiv. - (function units): Add Cypress and Supersparc versions of each. - (addsi3, subsi3, andsi3, iorsi3, xorsi3): Add ialu type attribute. - (mulsi3): Add imul type attribute. - (divtf3, divdf3): Use fpdivd not fpdiv type attribute. - (divsf3); Use fpdivs not fpdiv type attribute. - (ashlsi3, ashrsi3, lshrsi3): Add shift type attribute. - - * i960.md (andsi3+6): Replace bad clrbit pattern with two working - ones. - -Tue Jun 28 13:31:31 1994 Uwe Seimet (seimet@iris1.chemie.uni-kl.de) - - * configure (m68k-atari-sysv4*): New configuration. - * m68k/atari.h, m68k/xm-atari.h: New files. - -Tue Jun 28 12:41:32 1994 Jeffrey A. Law (law@snake.cs.utah.edu) - - * pa.md (define_split for (plus (reg) (large_constant))): Treat - large_constant as signed. - -Tue Jun 28 05:46:55 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * reload1.c (eliminate_regs_in_insn): When checking for moves - and adds, use single_set. - - * reload1.c (reloads_conflict): Handle R1_TYPE of RELOAD_OTHER. - - * expr.c (do_jump, case BIT_AND_EXPR): Only narrow to a type - that corresponds to a mode. - -Tue Jun 28 05:41:29 1994 Will R. Athanasiou (will@westford.ccur.com) - - * rs6000.h (MEMORY_MOVE_COST): Make processor-dependent. - * rs6000.md (movsf): Emit frsp if storing to memory and not PowerPC. - (movsf matcher): Remove explicit frsp. - (store sf with update): Likewise. - * rs6000.c: Include ctype.h. - -Tue Jun 28 05:40:44 1994 Mike Collison (collison@chianti.sw.stratus.com) - - * real.c: Treat HFmode like SFmode, for now. - -Mon Jun 27 19:16:49 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * optabs.c (expand_binop, multi-words shifts and rotates): - Fix errors in last change. - -Mon Jun 27 11:29:18 1994 Richard Earnshaw (rwe11@cl.cam.ac.uk) - - * arm.c: Include "expr.h". - (arm_fpu): New variable. - (arm_gen_movstrqi): Fix typo. - * arm.h: (enum floating_point_type): New enumeration type. - (arm_fpu): New declaration. - * arm.md: (function_unit fpa): Add more accurate scheduling - information. - (all floating point patterns): Add more detailed instruction type - information to attributes. - * riscix.h: (STARTFILE_SPEC,SIZE_TYPE,PTRDIFF_TYPE): Fix typos. - (ASM_FINAL_SPEC): Only reject -mbsd and -mxopen when -pedantic. - -Sun Jun 26 05:37:26 1994 Pat Rankin (rankin@eql.caltech.edu) - - * toplev.c (v_message_with_decl): Avoid fwrite for stderr; mixing - it with fprintf and fputs can cause strange results under VMS. - -Sat Jun 25 06:07:56 1994 Richard Earnshaw (rwe11@cl.cam.ac.uk) - - * combine.c (distribute_notes, case REG_DEAD): If a call uses a - hard reg, then this is where it dies. - -Fri Jun 24 19:09:33 1994 Chip Salzenberg (chip@fin.uucp) - - * cccp.c (create_definition): Eliminate whitespace before and - after macro definitions. - -Fri Jun 24 16:19:27 1994 Philippe De Muyter (phdm@info.ucl.ac.be) - - * c-decl.c (lang_decode_option): Set warn_bad_function_cast - for -Wbad-function-cast. - * c-typeck.c (build_c_cast): Issue a warning for non-matching cast - from a function call (like malloc without proto). - * c-tree.h: Declare warn_bad_function_cast. - * toplev.c (lang_options): Add -W[no]-bad-function-cast. - -Fri Jun 24 16:09:12 1994 Pat Rankin (rankin@eql.caltech.edu) - - * vax.h (ASM_IDENTIFY_LANGUAGE): New macro. - -Fri Jun 24 15:36:37 1994 Richard Earnshaw (rwe11@cl.cam.ac.uk) - - * jump.c (jump_optimize): If we reverse "if (foo) bar else break;" - and there follows a NOTE_INSN_LOOP_END, move the note before "bar". - - * arm.md (movstrsi): Delete. - (movstrqi): New expand. - * arm.h (arm_gen_movstrqi): New function. - -Fri Jun 24 14:43:46 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * alpha.c (alpha_builtin_saveregs): Fix typo in computing value - for __base. - - * vax.md (zero_extract patterns): Don't allow constants in - the first operand of ZERO_EXTRACT since the recognizer - function forces them to match the mode of the match_operand. - - * c-typeck.c (decl_constant_value): Test for const and - not iterator. - (default_conversion, digest_init): Remove redundant checks - before calling decl_constant_value. - (convert_for_assignment): See if RHS has a constant value. - - * m68k.md (ashrsi3, lshrsh3): Remove patterns using bfext[su]. - - * reg-stack.c (goto_block_pat): Ignore undefined label. - -Thu Jun 23 22:07:42 1994 Doug Evans (dje@cygnus.com) - - * sparc/sp64-elf.h (LINK_SPEC): Fix typo. - (PTRDIFF_TYPE): Likewise. - -Thu Jun 23 19:15:36 1994 Jason Merrill (jason@deneb.cygnus.com) - - * tree.h (TREE_SYMBOL_REFERENCED): New macro. - * varasm.c (assemble_name): Set TREE_SYMBOL_REFERENCED on the - identifier for `name'. - * toplev.c (compile_file): Use TREE_SYMBOL_REFERENCED instead of - TREE_USED and TREE_ADDRESSABLE where appropriate. - -Thu Jun 23 19:06:05 1994 Randy Wright (rwright@dhostwo.convex.com) - - * cse.c (simplify_unary_operation, case UNSIGNED_FLOAT): Add - missing cast to unsigned. - -Thu Jun 23 19:00:18 1994 David Edelsohn (edelsohn@npac.syr.edu) - - * rs6000.md (fix_truncdfsi2, movsf, movdi): Use assign_stack_temp. - (mulsidi3): Add earlyclobber constraint modifier to PowerPC - version and !TARGET_POWERPC64 to final condition. - - * rs6000.h (CPP_PREDEFINES): Define _POWER (alias for _IBMR2). - (CPP_SPEC): New macro. - * powerpc.h (ASM_SPEC): Use PowerPC mode, not 601 mode. - (CPP_SPEC): New macro. - (TARGET_DEFAULT): Generate pure PowerPC code, not 601-specific. - -Thu Jun 23 18:09:23 1994 Pat Rankin (rankin@eql.caltech.edu) - - * vax.h (CPP_PREDEFINES): Add `__vax__'. - * vax/vms.h (CPP_PREDEFINES): Add `__vax__', `__vms__', and `__VMS__'; - update __GNUC_MINOR__ to 6. - -Thu Jun 23 17:59:41 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * toplev.c (compile_file): Don't try to write function if we - didn't save insns for it. - - * reload.c (find_reloads): Don't rejecting non-const due to value - of PREFERRED_RELOAD_CLASS if no regs were valid for alternative. - -Thu Jun 23 17:45:55 1994 Matthias Pfaller (leo@marco.de) - - * ns32k.c (output_move_double): If the dest is register pair and both - regs are used in src address, use ADDR to compute src address, not - ADDD, which throws away scaled index. - -Thu Jun 23 17:40:06 1994 Craig Burley (burley@gnu.ai.mit.edu) - - * c-decl.c (clear_binding_level): Add missing fields in initializer. - (c_decode_option): Correct misspelling of -fno-dollars-in-identifiers. - -Thu Jun 23 13:47:23 1994 Ian Lance Taylor (ian@cygnus.com) - - * fixincludes: Fix return type of sbrk in on Alpha - OSF/1 V2.0. Also, redirect grep errors to /dev/null in - fix. - -Thu Jun 23 12:08:23 1994 Richard Earnshaw (rwe11@cl.cam.ac.uk) - - * arm.c: Include tree.h. - (const_ok_for_arm): Add fast return for 0 or just one non-zero bit. - (const_ok_for_op, arm_split_constant): New functions. - (arm_rtx_costs, reg_or_int_operand): New functions. - (shift_operator): Accept ROTATERT. - (multi_register_push): New function. - (shift_op): Don't abort if a constant is outside the acceptable range, - but convert the whole shift expression into something legal. If the - shift is zero, then return NULL. - (output_return_instruction): Output a call to abort if the function is - volatile. - (arm_volatile_func): New function. - (get_prologue_size): Remove all adjustments for insns that are now - output as rtx. - (output_func_prologue): Remove all code that outputs instructions, - just print a few comments. - (output_func_epilogue): Output a call to abort if a volatile function - tries to return. - (emit_multi_reg_push): New function. - (arm_expand_prologue): New function. Don't bother to push call-saved - regs if we will never return. - (arm_print_operand, case 'S'): If shift_op returns NULL, then no shift - is required. - * arm.h (TARGET_WHEN_DEBUGGING): Delete. - (MODES_TIEABLE_P): All modes of the same class are tieable. - (CONST_OK_FOR_LETTER_P): Add 'M' for constants valid in a shift. - (FUNCTION_PROFILER): Don't call arm_increase_location. - (INITIAL_ELIMINATION_OFFSET): Call saved regs are no-longer pushed for - functions that don't return. - (LEGITIMIZE_ADDRESS): Push constants that will never be legitimate -- - symbols and labels -- into registers. Handle DImode better. - (DEFAULT_SIGNED_CHAR): Use unsigned unless already defined. - (RTX_COSTS): Call arm_rtx_costs. - (ADDRESS_COST): Since most operations have the same rtx cost, make the - more complex addresses cheaper. - (PREDICATE_CODES): Add ROTATERT to shift_operator; and new predicates - for reg_or_int_operand and multi_register_push. - (DBX_CONTIN_LENGTH): Only define if not already done. - (PRINT_OPERAND_ADDRESS): Let arm_print operand output the ", " for - shifts. - * arm.md (addsi3, subsi3, andsi3, iorsi3, ashlsi3, ashrsi3, lshrsi3, - rotrsi3): Rewrite as expand patterns. - (rotlsi3): New expand. - (matchers, and split patterns for above): New. - (all patterns with shifts): Let arm_print_operand output the ", " - before a shift if it is needed. - (zero_extendqihi2): Delete. - (zero_extendqisi2): Expand to (and ...) if not memory. - (movsi): Call arm_split_constant to generate a constant. - (movqi): Only force a MEM into a register if not reloading. - (movsf, movdf): If loading a non-immediate floating point value, or - loading and floating point immediate into integer regs, push the - constant straight into the pool. - (movdf): Get rid of the scratch register. - (reload_outdf): Rewrite to expand to the two required insns. - (matcher for movdf): Remove alternative that used scratch register for - storing. - (movxf): rewrite as expand. - (matcher for movxf): Recognize even when XFmode code is disabled, so - that prologue insns can be generated. - (Matcher for reversed conditional jump): Don't match if the mode of the - CC register is not reversible. - (prologue): New expand. - (matcher for multi_register_push insn): New. - * riscix.h: Delete some dead code. - (STARTFILE_SPEC): Look in the correct places for start files. - (LIB_SPEC): Define. - (LINK_SPEC): Define. - (TARGET_WHEN_DEBUGGING): Delete. - (DEFAULT_SIGNED_CHAR): Set to unsigned. - (SIZE_TYPE, PTRDIFF_TYPE, TARGET_EDOM): Define. - * rix-gas.h (DBX_CONTIN_LENGTH): Set to 80. - (DEFAULT_GDB_EXTENSIONS, DBX_NO_XREFS): Don't try to pander to dbx, it - is just to broken to use. - -Wed Jun 22 20:13:03 1994 Will Athanasiou (will@westford.ccur.com) - - * configure (m68k-ccur-rtu): New configuration. - * config.sub (m68k-ccur): New system. - * protoize.c: Include , not on Concurrent. - * ccur-GAS.h, x-ccur: New files. - -Wed Jun 22 18:49:17 1994 Walter Misar (misar@rbg.informatik.th-darmstadt.de) - - * m68k/hp320.h (LINK_SPEC): New macro. - -Wed Jun 22 18:43:51 1994 Ian Lance Taylor (ian@cygnus.com) - - * configure: For target alpha-*-*, if using gas, set - target_cpu_default to 4. - * config/alpha/alpha.h (TARGET_SWITCHES): Include - TARGET_CPU_DEFAULT in default value. - (TARGET_CPU_DEFAULT): Define as 0 if not already defined. - (ASM_FINAL_SPEC): Include TARGET_CPU_DEFAULT in test for which - version to define. - -Wed Jun 22 18:15:41 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * loop.c (strength_reduce): When replacing DEST_ADDR givs, make - sure resulting insn is valid. - - * optabs.c (expand_binop): New variable next_methods; pass to - most recursive calls when trying to avoid libcalls. - Always check for a return value of zero in recursive calls. - (expand_float): Ensure TARGET has proper mode. - Pass OPTAB_LIB_WIDEN to expand_binop calls. - -Tue Jun 21 14:35:38 1994 Doug Evans (dje@cygnus.com) - - * cccp.c (skip_to_end_of_comment): Catch unterminated comments. - -Sat Jun 18 17:49:41 1994 Jason Merrill (jason@deneb.cygnus.com) - - * fixproto: Move hacking of assert.h from here. - * fixincludes: To here. - -Sat Jun 18 16:42:31 1994 Jim Wilson (wilson@cygnus.com) - - * c-typeck.c (process_init_element): For fieldtype, don't access - TYPE_MAIN_VARIANT field if the type is error_mark_node. - - * jump.c (duplicate_loop_exit_test): Initialize copy to zero. - Emit jump to end lable if copy is still zero. - - * mips.md (truncdisi2): Change from define_insn to define_expand. - (truncdihi2, truncdiqi2, extendsidi2): Likewise. - (extendsidi2_internal): New pattern. - - * loop.c (move_movables): Copy CALL_INSN_FUNCTION_USAGE field. - - * sdbout.c (sdbout_one_type): Use DECL_ASSEMBLER_NAME if - DECL_LANG_SPECIFIC is set. Use DECL_ASSEMBLER_NAME not - DECL_NAME for child_type that is a template type. - (sdbout_symbol): Use DECL_ASSEMBLER_NAME if DECL_LANG_SPECIFIC - is set. - -Sat Jun 18 16:39:03 1994 Kung Hsu (kung@mexican.cygnus.com) - - * dbxout.c (dbxout_symbol): Replace DECL_IGNORED_P with - TYPE_DECL_SUPPRESS_DEBUG. - -Sat Jun 18 10:21:44 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * expmed.c (expand_shift): Don't try extzv for lshr. - - * vax.md (lshrsi3): New define_expand. - - * optabs.c: Pass NULL_RTX for TARGET in calls to expand_{un,bin}op. - (expand_float): Use expand_shift instead of expand_binop. - -Fri Jun 17 15:05:58 1994 Ian Lance Taylor (ian@cygnus.com) - - * fixincludes: Correct math.h on Lynx handling again. - -Fri Jun 17 10:52:41 1994 Richard Earnshaw (rwe11@cl.cam.ac.uk) - - * cse.c (simplify_binary_operation, case MINUS): Check mode of op0, - instead of op1, before calling plus_constant. - -Fri Jun 17 01:42:37 1994 Jeffrey A. Law (law@snake.cs.utah.edu) - - * pa.h (DEBUGGER_AUTO_OFFSET): Define. If no frame pointer - is available, then adjust the offset by the size of the current - frame. - -Thu Jun 16 16:35:12 1994 Jason Merrill (jason@deneb.cygnus.com) - - * tree.h (DECL_DEFER_OUTPUT): New macro. - * toplev.c (compile_file): Unset DECL_DEFER_OUTPUT on decls - considered at end of file. - * integrate.c (output_inline_function): Unset DECL_DEFER_OUTPUT on - fndecl. - * toplev.c (rest_of_compilation): Also postpone compilation of - inlines with DECL_DEFER_OUTPUT set. - (compile_file): Always emit postponed inlines if - -fkeep-inline-functions. - -Thu Jun 16 11:00:14 1994 Ian Lance Taylor (ian@cygnus.com) - - * fixincludes: Fix argument type for ffs in on Alpha - OSF/1 V2.0. - -Thu Jun 16 06:49:03 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * reload1.c (reload_reg_free_p, case RELOAD_OTHER): Allowed - to conflict with RELOAD_FOR_OTHER_ADDRESS. - - * cse.c (set_nonvarying_address_components): Rework and also - handle an AND used for non-aligned accesses. - -Thu Jun 16 06:36:49 1994 Chip Salzenberg (chip@fin.uucp) - - * i386.h (REG_ALLOC_ORDER): Prefer registers listed in - CALL_USED_REGISTERS. - -Wed Jun 15 20:45:14 1994 Jason Merrill (jason@deneb.cygnus.com) - - * tree.h (TREE_NO_UNUSED_WARNING): Note that this can be applied - to COMPOUND_EXPRs, too. - - * stmt.c (warn_if_unused_value): Handle TREE_NO_UNUSED_WARNING for - COMPOUND_EXPRs, too. - -Wed Jun 15 20:35:21 1994 David Edelsohn (edelsohn@npac.syr.edu) - - * rs6000.md (divsi3): Fix divide by 2^N with compare RTL. - - * rs6000.md (maxsf3, minsf3, maxdf3, mindf3): Fix predicate of - define_split. - (muldi3): Fix predicate. - (movdf matcher): Allow update and indexed for lfd instruction. - -Wed Jun 15 19:24:23 1994 Doug Evans (dje@cygnus.com) - - * dbxout.c (dbxout_type): Fix call to bzero. - -Wed Jun 15 19:20:34 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * cse.c (simplify_unary_operation): Fix typo in last change. - -Wed Jun 15 15:20:54 1994 Per Bothner (bothner@cygnus.com) - - * dbxout.c (dbxout_range_type): Handle the case that an array - range is neither an integer nor a sub-range. (In Pascal or - Chill it could be a Boolean, character, or enumeral type.) - -Wed Jun 15 04:00:42 1994 Ian Lance Taylor (ian@cygnus.com) - - * genmultilib: New shell script to generate multiple library - information. - * Makefile.in (multilib.h, stmp-multilib, install-multilib): New - targets. - (gcc.o): Depend on multilib.h. - (clean): Remove multilib.h and tmpmultilib*. - * gcc.c: Include multilib.h. - (print_multi_lib, print_multi_directory, multilib_select, - multilib_dir): New static variables. - (option_map): Added --print-multi-lib and --print-multi-directory. - (set_spec): Get multilib_select from specs file. - (process_command): Dump multilib_select into specs file. Handle - -print-multi-lib and -print-multi-directory. - (do_spec_1): Try multilib_dir for %D case. - (find_file): Try multilib_dir. - (main): Call set_multilib_dir. Handle print_multi_lib and - print_multi_directory. - (used_arg, set_multilib_dir, print_multilib_info): New functions. - * configure (sparc-*-sunos4*): Use target fragment sparc/t-sunos4. - * sparc/t-sunos4: New file. - -Wed Jun 15 03:54:32 1994 Doug Evans (dje@cygnus.com) - - Add support for the SPARC V9 cpu. - * configure (sparc64-*-aout): New target. - (sparc64-*-elf): New target. - * config.sub (sparc64): New cpu. - (aout, elf): New os's. - * genconfig.c (main): Allow targets to override HAVE_conditional_move. - * jump.c (jump_optimize): Use it at run-time. - * sparc/t-sp64: New file. - * sparc/sp64-aout.h: New file. - * sparc/sp64-elf.h: New file. - * sparc/sysv4.h (ASM_OUTPUT_CASE_LABEL): Handle 64 bit pointers. - * sparc/sparc.h (cpu_type): New enum. - (CPP_PREDEFINES,CPP_SPEC): Add v9 support. - (NO_BUILTIN_PTRDIFF_TYPE, NO_BUILTIN_SIZE_TYPE, MAX_WCHAR_TYPE_SIZE, - SHORT_TYPE_SIZE, INT_TYPE_SIZE, LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, - FLOAT_TYPE_SIZE, DOUBLE_TYPE_SIZE, MAX_INT_TYPE_SIZE, - MAX_LONG_TYPE_SIZE): Define. - (PTRDIFF_TYPE, SIZE_TYPE, BITS_PER_WORD, MAX_BITS_PER_WORD, - UNITS_PER_WORD, MAX_UNITS_PER_WORD, LONG_DOUBLE_TYPE_SIZE, - POINTER_SIZE, PARM_BOUNDARY, STACK_BOUNDARY, SPARC_STACK_ALIGN, - EMPTY_FIELD_BOUNDARY, BIGGEST_ALIGNMENT, FIRST_PSEUDO_REGISTER, - FIXED_REGISTERS, CALL_USED_REGISTERS, CONDITIONAL_REGISTER_USAGE): - Add v9 support. - (sparc_override_options, sparc_code_model): Declare. - (OVERRIDE_OPTIONS): Call it. - (MASK_*): Define bits set by target flags. - (TARGET_*): Use them. - ({MASK,TARGET}_{V9,INT64,LONG64,PTR64,ENV32,STACK_BIAS, - MEDLOW,MEDANY,FULLANY}): Define. - (MEDANY_BASE_REG): Define. - (V9_SWITCHES, TARGET_OPTIONS): Define. - (TARGET_SWITCHES, TARGET_DEFAULT): Use MASK_*. - (SPARC_STACK_BIAS, SECONDARY_MEMORY_NEEDED_MODE): Define. - (SECONDARY_MEMORY_NEEDED): Simplify. - (hard_regno_mode_class, sparc_mode_class, sparc_cpu_type): Declare. - (REG_PARM_STACK_SPACE): Do not define if v9. - (HARD_REGNO_NREGS, HARD_REGNO_MODE_OK, MODES_TIEABLE_P, - RETURN_IN_MEMORY, STRUCT_VALUE, STRUCT_VALUE_INCOMING, reg_class, - REG_CLASS_NAMES, REG_CLASS_CONTENTS, REGNO_REG_CLASS, REG_ALLOC_ORDER, - REG_LEAF_ALLOC_ORDER, LEAF_REGISTERS, REG_CLASS_FROM_LETTER, - CLASS_MAX_NREGS, STARTING_FRAME_OFFSET, FIRST_PARM_OFFSET, - BASE_RETURN_VALUE_REG, BASE_OUTGOING_VALUE_REG, BASE_PASSING_ARG_REG, - BASE_INCOMING_ARG_REG, FUNCTION_ARG_REGNO_P): Add v9 support. - (sparc_arg_class): New enum (v9 only). - (sparc_args): New struct to record v9 arguments. - (CUMULATIVE_ARGS): Use it (v9 only). - (GET_SPARC_ARG_CLASS): Define. - (sparc_arg_count, sparc_n_named_args): Declare. - (PASS_IN_REG_P): Define. - (ROUND_REG, ROUND_ADVANCE, INIT_CUMULATIVE_ARGS, FUNCTION_ARG_ADVANCE, - FUNCTION_ARG, FUNCTION_INCOMING_ARG, FUNCTION_ARG_PARTIAL_NREGS, - FUNCTION_ARG_PASS_BY_REFERENCE, FUNCTION_ARG_CALLEE_COPIES): - Add v9 support. - (sparc64_init_expanders, sparc64_fpconv_stack_temp): Declare. - (INIT_EXPANDERS): Define (v9 only). - (gen_v9_scc, output_v9branch): Declare. - (HAVE_conditional_move): Define. - (FUNCTION_PROFILER, FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER, - DYNAMIC_CHAIN_ADDRESS, RETURN_ADDR_RTX, REGNO_OK_FOR_FP_P, - REG_OK_FOR_INDEX_P, REG_OK_FOR_BASE_P, EXTRA_CONSTRAINT, - CASE_VECTOR_MODE, Pmode, EXTRA_CC_MODES, EXTRA_CC_NAMES, - SELECT_CC_MODE, REGISTER_NAMES): Add v9 support. - (REGNO_OK_FOR_CCFP_P): Define. - (sparc_initialize_trampoline, sparc64_initialize_trampoline): Declare. - (INITIALIZE_TRAMPOLINE): Call them. - (ENCODE_SECTION_INFO): Mark functions in v9. - (RTX_COSTS): Assume MULT costs the same for v9 as v8. - (ASM_LONGLONG, ASM_FLOAT): Define. - (ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Add v9 support. - * sparc/sparc.c (SKIP_CALLERS_UNIMP_P): Define. - (sparc_cpu_type, sparc_arg_count, sparc_n_named_args, - frame_base_offset, fpconv_stack_temp): New globals. - (leaf_reg_remap): Add additional registers for v9. - (sparc_override_options, sparc64_init_expanders, - sparc64_fpconv_stack_temp, intreg_operand, ccfp_reg_operand, - data_segment_operand, text_segment_operand, v9_regcmp_op, - arith11_operand, arith10_operand, arith11_double_operand, - arith10_double_operand, gen_v9_scc, emit_v9_brxx_insn, - sparc_init_modes, build_big_number, output_v9branch, - sparc_initialize_trampoline, sparc64_initialize_trampoline): - New functions. - (arith_double_operand, gen_compare_reg, finalize_pic, - emit_move_sequence, mem_aligned_8, output_move_double, - output_move_quad, output_fp_move_double, output_fp_move_quad, - output_block_move, save_regs, restore_regs): Add v9 support. - (sparc_mode_class): New enum. - (*_MODES): Redefine to use it. - (hard_32bit_mode_classes): Renamed from hard_regno_mode_ok. - (hard_regno_mode_classes, hard_64bit_mode_classes, - sparc_mode_class): New globals. - (num_gfregs): Renamed from num_fregs. - (compute_frame_size): Add v9 support. Simplify calculations. - (output_function_prologue): Call build_big_number to compute stack - size in %g1, then adjust %sp. - Fix saving of call saved registers. Handle new v9 registers. - (output_function_epilogue): Fix restoration of call saved registers. - Handle new v9 registers. - Use SKIP_CALLERS_UNIMP_P to see if unimp insn is at return address. - (sparc_builtin_saveregs): Define v9 version. - (output_cbranch): New argument fp_cond_reg. All callers changed. - Add v9 support. - (output_return): Use SKIP_CALLERS_UNIMP_P. - (print_operand): New codes '_', '@', 'C', 'D'. - (output_double_int): Handle LABEL_REF and MINUS for v9. - Use ASM_LONGLONG if assembler can handle it. - * sparc/sparc.md (cpu): New attribute. - (type attribute): New value cmove (conditional moves). - (cmpdi): New pattern for v9. - (seq*, sne*): Add v9 support. - (sgt,slt,sge,sle): Explicitly restrict operand 0 to the integer - registers. Try emitting a conditional move for v9. - (sgtu,sltu,sgeu,sleu): Likewise. - (comparison insns): Add v9 versions. - (scc insns): Add DImode versions for v9. - (beq, bne, bgt, blt, bge, ble): If comparing DImode with 0 on v9, - use brxx insns. Use emit_jump_insn, not emit_insn, as the latter - mishandles brxx insns. - (branch insns): Update calls to output_cbranch. - Add v9 versions to support multiple floating point condition code regs. - Add v9 versions to support brxx insns. - (lo_sum, high, pic): Add v9 support. - (symbolic move patterns): Disable for v9. - (DImode, DFmode, TFmode moves): Add v9 support. - (conditional move insns): Define for v9. - (zero_extendqidi2, extendqidi2, zero_extendhidi2, extendhidi2, - zero_extendsidi2, extendsidi2, floatdisf2, floatdidf2, floatditf2, - fix_truncsfdi2, fix_truncdfdi2, fix_trunctfdi2, muldi3, divdi3, - udivdi3, ashldi3, ashrdi3, lshrdi3, ffsdi2): New patterns for v9. - (bitfield compare insn): Add DImode version for v9. - (adddi3, subdi3, negdi2, anddi3, iordi3, xordi3, one_cmpldi2, - mixed mode fp mult insns, negdf2, negtf2, absdf2, abstf2, tablejump, - call, call_value, untyped_call, untyped_return, indirect_jump, - flush_register_windows, flush): Add v9 support. - (ldd peep holes): Disable for v9. - (set/compare peep hole): Define DImode version for v9. - (sign extend/compare peep hole): Likewise. - (return peep holes): Add v9 support. - (call/jump peep holes): Add v9 support. - * ginclude/va-sparc.h: Add v9 support. - -Tue Jun 14 22:44:52 1994 Michael Meissner (meissner@osf.org) - - * config/i386/i386.h (reg_class): Add AD_REGS that match %eax and - %edx to allow %eax:%edx to be specified as one DI register. - (REG_CLASS_NAMES): Ditto. - (REG_CLASS_CONTENTS): Ditto. - (REG_CLASS_FROM_LETTER): 'A' specifies AD_REGS. - - * config/i386/i386.md (umulqihi3): Name the insn with the standard - name. - (mulqihi3, umulsidi3, mulsidi3): Add new widening multiply - patterns. - -Tue Jun 14 22:25:16 1994 Torbjorn Granlund (tege@adder.cygnus.com) - - * fold-const.c (encode, decode): Use 4 HOST_WIDE_INTs for encoded - value with HOST_BITS_PER_WIDE_INT/2 bits in each. - (LOWPART, HIGHPART): New macros. - (BASE): Move definition outside of div_and_round_double. - (add_double, mul_double, lshift_double, rshift_double): Rewrite. - (lrotate_double): Use LOWPART, HIGHPART, and BASE. - (rrotate_double): Likewise. - (div_and_round_double): Major changes to code for general case. - Now it actually produces non-garbage results for large operands. - (div_and_round_double): Simplify condition for special code used when - divisor < BASE. - (const_binop): Delete special cases for multiplying by 0, 1, 2, 4, 8. - (fold, case *_DIV_EXPR): Don't try to optimize for overflow. - * machmode.h (MAX_SHORTS): Deleted. - - * m68k.md: Trivial simplification of many patterns. - (subsi3): Don't handle CONST_INT for operand 2. - (ashiftrt, op2 > 8): New pattern. - (lshiftrt, op2 > 8): New pattern. - - * a29k.md (logical patterns): Tune to give better code for immediate - values. - * a29k.c (cmplsrcb_operand): New predicate. - * a29k.h (PREDICATE_CODES): Add cmplsrcb_operand. - -Tue Jun 14 17:52:10 1994 Tor Egge (tegge@flipper.pvv.unit.no) - - * m88k/sysv3.h (DO_GLOBAL_CTORS_BODY): Call __builtin_alloca - with a non-zero argument, forcing a frame pointer to be needed. - -Tue Jun 14 17:37:41 1994 Mike Collison (collison@sw.stratus.com) - - * reload.h (RELOAD_FOR_OPADDR_ADDR): New reload class. - * reload.c (find_reloads): Change secondary reloads of class - RELOAD_FOR_OPERAND_ADDRESS to RELOAD_FOR_OPADDR_ADDR. - * reload1.c (reload): Process and accumulate needs for - RELOAD_FOR_OPADDR_ADDR reloads. - When determining if needs are nongroup needs, ignore - inactive or optional reloads. - (reload_reg_used_in_op_addr_reload): New variable to indicate - when reloads of class RELOAD_FOR_OPADDR_ADDR are in use. - (mark_reload_reg_in_use, clear_reload_reg_in_use): - Process reloads of class RELOAD_FOR_OPADDR_ADDR. - (reload_reg_free_p, reload_reg_free_before_p, reloads_conflict): - Likewise. - (choose_reload_regs): Support RELOAD_FOR_OPADDR_ADDR reloads. - (emit_reload_insns): Output RELOAD_FOR_OPADDR_ADDR reloads. + * mips/elflorion.h, mips/elforion.h (MIPS_CPU_DEFAULT): Delete. + * mips.c (override_options): Delete #ifdef MIPS_CPU_DEFAULT code. + Add #ifdef MIPS_CPU_DEFAULT_STRING code before the first + mips_cpu_string test. -Tue Jun 14 17:29:53 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Tue May 23 07:22:36 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * cccp.c, toplev.c, tree.c, print-tree.c, fold-const.c: - Cast pointer operands to bzero, bcopy, and bcmp to (char *). - * function.c, stmt.c, expmed.c, varasm.c, emit-rtl.c: Likewise. - * dbxout.c, integrate.c, jump.c, real.h, calls.c, cse.c: Likewise. - * loop.c, unroll.c, flow.c, stupid.c, combine.c, regclass.c: Likewise. - * local-alloc.c, global.c, reload.c, reload1.c, sched.c: Likewise. - * genattrtab.c, bc-emit.c, gcc.c, collect2.c: Likewise. + * romp.c (hash_rtx): Avoid warning on int-to-pointer conversion. + (output_fpops): Cast args to bcopy to char *. - * c-decl.c (min_precision): New function. - (finish_enum): Rewrite code to determine precision required - for enumeral type. + * cpplib.c (initialize_builtins): Add missing parm to timestamp call. - * cse.c (simplify_unary_operation): Correctly and consistently - handle CONST_INT cases for FLOAT and UNSIGNED_FLOAT. + * Makefile.in (install-libobjc): Don't depend on libobjc.a. - * xm-alpha.h (sbrk): Don't declare here. + * c-parse.in: Objc shift/reduce conflicts now 48. + (parm): Use setspecs/restore here. + (parmlist_or_identifiers): Not here. - * alpha.h (CONST_COSTS, case CONST_INT): Fix typo. +Mon May 22 19:30:30 1995 Doug Evans - * tree.c (staticp, case FUNCTION_DECL): A nested function isn't static. + * h8300.md (movsf_h8300h): Add missing post-inc case to constraints. - * i386/linux.h (STARTFILE_SPEC): Don't force -static for -g. +Mon May 22 14:38:36 1995 Michael Meissner - * gcc.c (find_a_file): Try EXECUTABLE_SUFFIX first, then file - without the suffix. + * rs6000.c (rs6000_override_options): Do SUBTARGET_OVERRIDE_OPTIONS + here. + * rs6000.h (OVERRIDE_OPTIONS): Not here. - * jump.c (jump_optimize): Don't delete dead insn if it has a - REG_RETVAL note. + * rs6000.c (expand_block_move): Handle moves without string + instructions by generating a series of loads and stores. + (output_prolog): Support -mno-toc on V.4 and eabi systems. + + * rs6000/sysv4.h (TARGET_SWITCHES): Add -mtoc and -mno-toc. + (SUBTARGET_OVERRIDE_OPTIONS): Add some warnings for incompatible + switches. + (TOC_SECTION_FUNCTION): Make -mno-toc like -mrelocatable in that + we don't put the minimal toc pointer in the global toc section. + (LINK_SPEC): Use -oformat to set link output format, not -m. + + * rs6000/t-eabigas (MULTILIB_OPTIONS, MULTILIB_DIRNAMES): Build + libgcc.a variants with -mno-toc support. + * rs6000/t-ppcgas (MULTILIB_OPTIONS, MULTILIB_DIRNAMES): Ditto. + +Mon May 22 07:10:52 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * cplus-dem.c (mystrstr): Replacement for strstr. + + * configure: Split up long sed command. + * Makefile.in (SYMLINK): Deleted; unused. + (oldobjext): Deleted; no longer used. + (FLAGS_TO_PASS): Include objext and exeext. + (STAGESTUFF, protoize.o, unprotoize.o): Use $(objext), not .o. + (test_protoize_simple, compare{,3}, gnucompare{,3}): Likewise. + (STAGESTUFF, specs, gcc-cross, collect2): Add missing $(exeext). + (libgcc1.null, libgcc[12].a, stage[1-4]): Likewise. + (xgcc, cc1, cc1obj, enquire): Use $@ instead of filename for -o value. + (collect2, mips-tfile, mips-tdump, gen*): Likewise. + (bi-arity, bi-opcode, bi-opname, cccp, cppmain): Likewise. + (protoize, unprotoize, gen-protos, fix-header): Likewise. + (crtbegin.o, crtend.o): Don't use -o; move output to proper + filename (using objext) instead. + (BI_ALL, BC_ALL, bytecode): Deleted; unused. + (bi-*.o, cexp.o, stamp-{proto,fixinc}): Remove unneeded $(srcdir). + (getopt{,1}.o, SYSCALLS.c.X): Likewise. + (install-driver): New target. + (install-normal): Depend on it. + (install-common): Don't depend on xgcc. + (maketest): Deleted; no longer used. + (stage[1-4]): Use name collect-ld, not real-ld. + (risky-stage[1-4]): Use stage[1-4] as dependencies; don't copy. + * alpha/config-nt.bat, i386/config-nt.bat: Make {,h,t}config.h + and tm.h by writing a single #include line. + Update way specs.h and options.h are written. + * alpha/config-nt.sed, i386/config-nt.sed: Set new variables + into Makefile. + Build winnt.obj. + Edit CCCP definition. + * alpha/x-winnt, i386/x-winnt (oldobjext): Deleted. + Add rules for .c.obj, .adb.obj, and .ads.obj. + (LIB2FUNCS_EXTRA, spawnv.o): New rules. + * i386/x-winnt (objext): Now .obj, not .o. + + * gcc.c (HAVE_OBJECT_SUFFIX): New macro. + (process_command): Convert x.o to x.foo for OBJECT_SUFFIX of ".foo". + (do_spec_1): Avoid shadow variable "i" and always use for loop var. + + * c-decl.c (finish_decl_top_level): Removed; no longer used. + * objc-act.c: Numerous formatting changes. + (NULLT): Deleted; all uses changed to NULL_TREE. + (get_{static,object}_reference, objc_add_static_instance): + Use push_obstacks instead of saving obstacks manually. + (build_{selector,class}_reference_decl): Likewise. + (build_objc_string_decl, build_protocol_reference): Likewise. + (comp_{method,proto}_with_proto): Likewise. + (create_builtin_decl, synth_module_prologue): Set DECL_ARTIFICIAL + for internal objects. + (build_{selector,class}_reference_decl, add_objc_decls): Likewise. + (generate_objc_symtab_decl, build_module_descriptor): Likewise. + (build_protocol_reference): Likewise. + (build_objc_string_decl, synch_forward_declarations): Likewise. + Delete call to end_temporary_allocation. + (generate_static_references, generate_strings): Likewise. + (build_selector_translation_table, generate_category): Likewise. + (generate_{ivars,protocol}_list, build_protocol_reference): Likewise. + (build_objc_string_object): If next_runtime, put everything in + permanent obstack. + (objc_add_static_instance): Use build_decl instead of start_decl + and finish_decl_top_level. + (build_{class_reference,objc_string}_decl): Clear DECL_CONTEXT. + (start_class): Exit with FATAL_EXIT_CODE, not 1. + (add_objc_decls): Don't set DECL_IN_SYSTEM_HEADER. + + * tree.c (valid_machine_attribute): Handle attribute on + pointer-to-function types. + +Sun May 21 17:16:37 1995 J. T. Conklin + + * mips/netbsd.h (HAVE_STRERROR): Remove. + * mips/xm-netbsd.h: New file. + * mips/t-mips-netbsd: Deleted. + * configure (mips-dec-netbsd): Use xm-netbsd.h and t-libc-ok. + +Sun May 21 17:16:37 1995 Arne H. Juul (arnej@pvv.unit.no) + + * mips/netbsd.h: Use __start as entry point. Ifdef some + paths on CROSS_COMPILE. + +Sun May 21 08:39:26 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * c-parse.in (datadef, fndef, ivar_decl, mydecls): + Restore declspec_stack since setspecs is used. + (parmlist_or_identifiers): Use setspecs before parsing parms + and restore after parsing parms. + +Sun May 21 01:04:52 1995 Jeffrey A. Law + + * pa.c (hppa_encode_label): New variable "permanent" to + where/how memory is allocated for the new label. All + callers changed. + +Sat May 20 16:53:30 1995 Mike Meissner + + * rs6000.md (insv, extz): Fail if the structure is QI or HI reg to + avoid paradoxical subreg's being created in RTL phase, which uses + SImode to load from memory if structure is later moved to stack. + +Sat May 20 06:44:59 1995 Philippe De Muyter (phdm@info.ucl.ac.be) + + * m68k.md (udivmodhi4): Output "divu" instead of "divs". + +Sat May 20 06:11:32 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * reload.c (push_reload): Don't reload inside a SUBREG + when SUBREG_WORD is nonzero. + + * c-decl.c (shadow_tag_warned): Don't warn about useless keyword + if in system header file. + + * tree.c (simple_cst_equal): Don't look at language-specific + nodes since we don't know what's in them. + + * cpperror.c: #include config.h before any other .h file. + * collect2.c: Likewise. + + * i386/config-nt.bat: Add missing ^M on two lines. + Add case for Fortran; fix typo in Ada case. + * alpha/config-nt.bat: Add case for Fortran; fix typo in Ada case. + + * m68k/t-next (LIBGCC1, CROSS_LIBGCC1): Make not, not "libgcc1.null". + (OTHER_FIXINCLUDES_DIRS, LIMITS_H_TEST): Delete from here. + * m68k/x-next (OTHER_FIXINCLUDES_DIR, LIMITS_H_TEST): Move to here. + +Fri May 19 19:30:20 1995 Stan Cox (gcc@dg-rtp.dg.com) + + * crtstuff.c: Added reference to INIT_SECTION_PREAMBLE for systems that + do something which must be undone prior to __do_global_ctors. + +Fri May 19 19:27:08 1995 Alan Modra + + * i386/linux-aout.h (CPP_SPEC): Add defines for -fPIC. + * i386/linux-oldld.h (CPP_SPEC): Likewise. + +Fri May 19 17:46:28 1995 Philippe De Muyter (phdm@info.ucl.ac.be) + + * collect2.c (strstr): Deleted. + * cplus-dem.c (strstr): Define ifndef POSIX. + +Fri May 19 11:16:51 1995 Per Bothner + + * cpplib.c (collect_expansion): Don't escape '@' inside string. + +Fri May 19 06:59:21 1995 Pat Rankin (rankin@eql.caltech.edu) + + * vmsconfig.com (process_objc_lib, configure_makefile): New routines. + (bc_all.list, ./vax.md, objc-objs.opt, objc-hdrs.list): New files + created at config time. + (bc_all.opt, ./md.): No longer created. + * make-cc1.com: Handle revised filenames from vmsconfig.com; + (DO_OBJCLIB): New variable, plus code to compile objc/*.{c,m}. + +Wed May 17 16:15:31 1995 Torbjorn Granlund + + * i960.c (i960_output_ldconst): New code for XFmode. + Also, move SFmode code to immediately after DFmode code. + (S_MODES, D_MODES): Handle XFmode. + (XF_MODES): Was TF_MODES, handle XFmode instead of TFmode. + (hard_regno_mode_ok): Replace TFmode with XFmode. + (i960_output_long_double): New function. + + * i960.h (DATA_ALIGNMENT): Define. + (ROUND_TYPE_ALIGN): Align XFmode scalars at 128 bit boundaries. + (ROUND_TYPE_SIZE): Round up the size of XFmode objects to 128 bits. + (CONST_DOUBLE_OK_FOR_LETTER_P): Use CONST0_RTX and CONST1_RTX + so that all FP modes are recognized. + (ASM_OUTPUT_LONG_DOUBLE): Define. + + * i960.md: Change all TFmode patterns to have XFmode. + (movxf recognizer, frame version): Use movt, ldt, and stt. + (movxf recognizer, non-frame version): Delete. + (extenddfxf2): Delete * before f constraint. + (extendsfxf2): Likewise. + +Wed May 17 17:53:35 1995 Jim Wilson + + * unroll.c (unroll_loop): Increment copy_start_luid if copy_start + is loop_start. + +Wed May 17 17:44:57 1995 Lee Iverson + + * fold-const.c (invert_truthvalue, case CLEANUP_POINT_EXPR): New case. + +Tue May 16 18:51:16 1995 Michael Meissner + + * rs6000/rs6000.h (TARGET_SWITCHES): Add -mstring to enable string + instructions, and -mno-string to disable them. + (MOVE_MAX): Don't test TARGET_MULTIPLE anymore. + (MAX_MOVE_MAX): Set to 8, not 16. + (expand_block_move): Add declaration. + + * rs6000/rs6000.c (expand_block_move): New function to expand + block moves when -mstring is used. + + * rs6000/rs6000.md (movti): Use TARGET_STRING, not TARGET_MULTIPLE. + (load_multiple, store_multiple): Ditto. + (string insns): Add 8, 6, 4, 2, and 1 register variants for using + the native string instructions if -mstring. + + * rs6000/sysv4.h (CPP_SPEC): If little endian, define + _LITTLE_ENDIAN and set littleendian assertion. If big endian, + define _BIG_ENDIAN and set bigendian assertion. + * rs6000/sysv4le.h (CPP_SPEC): Copy from sysv4.h, and change + default to little endian. + + * rs6000/rs6000.c (override_options): Check for -mmultiple and + -mstring on little endian systems here. + * rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Don't do the check + here. - * fix-header.c (xstrdup): Renamed from strdup. - (check_protection): Call xstrdup, not strdup. +Tue May 16 18:36:41 1995 Douglas Rupp (drupp@cs.washington.edu) -Tue Jun 14 17:26:08 1994 David Edelsohn (edelsohn@npac.syr.edu) + * alpha.c: Changed WINNT to _WIN32. + * alpha/config-nt.bat, i386/config-nt.bat: Added commands to + generate specs.h and options.h. + * i386/config-nt.sed: Changed link32 to link. + * winnt/ld.c (main): Removed call to free. + * configure.bat: Added line to echo usage on invalid input. + * gcc.c (fix_argv): Removed call to free. + * gcc.c, getpwd.c, protoize.c, sdbout.c: Changed WINNT to _WIN32. + * toplev.c: Likewise. - * rs6000.h (TARGET_SWITCHES): Remove -mpowerpc64 and -mno-powerpc64. - * rs6000.c (rs6000_override_options): Remove MPC620 cpu variants. +Tue May 16 18:04:47 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * rs6000.c (output_prolog): Fix error in loading size of large - stack frames. + * toplev.c (pfatal_with_name, fatal_io_error, vfatal): + Use FATAL_EXIT_CODE instead of magic number. + * cccp.c, cpplib.c, cpplib.h: Use FATAL_EXIT_CODE instead + of FAILURE_EXIT_CODE. + * fix-header.c, gen-protos.c: Likewise. + * cpperror.c, cppmain.c: Likewise. + Include config.h #ifndef EMACS. + * xm-alpha.h, xm-rs6000.h, xm-vms.h (FAILURE_EXIT_CODE): Remove. -Tue Jun 14 17:24:09 1994 Chip Salzenberg (chip@fin.uucp) +Tue May 16 17:46:57 1995 Adam Fedor - * reload1.c (reload_as_needed): Clear spill_reg_store at start. - (emit_reload_insns): Omit erroneous predicate of reload - deletion -- reload_spill_index is not indexed by regno. + * objc/archive.c (__objc_write_class): Write class version. + (__objc_write_selector, objc_{write,read}_selector): Handle null + selector. -Tue Jun 14 15:59:55 1994 Ian Lance Taylor (ian@cygnus.com) + * objc/sarray.h (struct sarray): Make capacity size_t. + * objc/sarray.c (sarray_realloc): Make array index variables size_t. - * fixincludes: Wrap assert.h in extern "C" { } to avoid problem on - HP/UX, which uses NO_IMPLICIT_EXTERN_C. Also fix 12 May 94 - change. +Tue May 16 06:59:08 1995 Paul Eggert -Tue Jun 14 15:12:50 1994 Jeffrey A. Law (law@snake.cs.utah.edu) + * dsp16xx.c (print_operand_address): Fix misspellings in messages. + * i370/mvs.h (FUNCTION_PROFILER): Likewise. + * mips-tdump.c (type_to_string): Likewise. + * print-tree.c (print_node): Likewise. - * jump.c (condjump_in_parallel_p): New function to detect - conditional jumps within PARALLEL insns. - (jump_optimize): Allow for some simple optimizations involving - conditional jumps within PARALLEL insns. - * reorg.c (get_jump_flags): Handle conditional jumps in PARALLEL - insns. - (get_branch_condition, fill_simple_delay_slots): Likewise. - (fill_eager_delay_slots, relax_delay_slots, dbr_schedule): Likewise. - - * pa-osf.h (SIZE_TYPE): Define as "long unsigned int" to be - compatable with system include files. - * pa1-osf.h (SIZE_TYPE): Likewise. - - * pa1-osf.h (WCHAR_TYPE): Define as "short unsigned int". - (WCHAR_TYPE_SIZE): Define as 16 bits. - - * pa.c (output_arg_descriptor): Restore old behavior for SImode - USE insns of FP registers (used by untyped call support). - -Mon Jun 6 09:15:43 1994 Richard Earnshaw (rwe11@cl.cam.ac.uk) - - * arm.c (arm_reload_out_hi): Rewrite. Add support for processors - running in big-endian mode. - (fp_immediate_constant): Fix typo in argument declaration. - * arm.h (PROMOTE_MODE): Promote HImode integers as signed. - (BYTES_BIG_ENDIAN): Allow OS description to override default. - (LOAD_EXTEND_OP): When big-endian, HImode loads are sign extended. - * arm.md (storehi_bigend): New expansion pattern. - (storeinthi): Rework to generate better code, add big-endian support. - (movhi): Add support for processors running in big-endian mode. - (movhi_bigend): New expansion pattern. - (matcher for movhi): Remove incorrect alternative for storing HImode to - memory. Only match when little endian. - (matcher for big-endian movhi): New pattern. - (matchers/peepholes for extended pre/post increment HImode loads): Only - match when little-endian. - (matcher for operating on adjacent memory locations): Load operation - into arith operands. - (peepholes for extended pre-increment byte loads): New patterns. - -Sat Jun 4 21:06:29 1994 Kaveh R. Ghazi (ghazi@noc.rutgers.edu) - - * sys-types.h (__gnuc_va_list): Use instead of va_list. - * sys-protos.h (*): Use __gnuc_va_list, not va_list. - -Sat Jun 4 07:19:39 1994 Richard Earnshaw (rwe11@cl.cam.ac.uk) - - * arm.c (print_multi_reg, output_call, output_call_mem, - output_mov_long_double_fpu_from_arm, - output_mov_long_double_arm_from_fpu, - output_mov_double_fpu_from_arm, output_mov_double_arm_from_fpu, - output_return_instruction, output_func_{prologue,epilogue}, - arm_print_operand, output_load_symbol): Print the register prefix - before each register name. - (output_func_prologue, output_lcomm_directive): Output the target - dependent comment char for asm comments. - * arm.h (FUNCTION_PROFILER): Delete duplicate definition. - (FUNCTION_PROFILER, TRAMPOLINE_TEMPLATE, ASM_FILE_START, - ASM_OUTPUT_REG_{PUSH,POP}, PRINT_OPERAND_ADDRESS): Output register - prefix before any explicit register name. - (ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT, - ASM_OUTPUT_COMMON): Output the target dependent comment char. - (ASM_FILE_START): Output register alias for r10. - (REGISTER_NAMES): Output "r9" now for r9, not "rfp". - (ADDITIONAL_REGISTER_NAMES): New macro. - * arm.md (all patterns explicitly mentioning register names): Output - the target dependent prefix before the register name. - (all patterns with asm comments): Output the target dependent comment - character. - -Fri Jun 3 18:14:07 1994 Doug Evans (dje@cygnus.com) - - * c-common.c (decl_attributes): Fix section attributes. - * varasm.c (make_decl_rtl): If section attribute is being ignored, - really ignore it. - -Fri Jun 3 15:53:57 1994 Torbjorn Granlund (tege@adder.cygnus.com) - - * pa.h (FP_REGNO_P): New macro for intra file usage. - (REGNO_OK_FOR_FP_P): Use FP_REGNO_P. - (FUNCTION_VALUE_REGNO_P): Revert last change. - * pa.md (mulsi3): Use MATCH_DUP for op3, not MATCH_OPERAND. - - * pa.h (CONDITIONAL_REGISTER_USAGE): Partially revert last changes; - Make non-existing 1.0 fp regs fixed, including odd-numbered regs. - (enum reg_class): Get rid of SNAKE_FP_REGS, GENERAL_OR_SNAKE_FP_REGS, - and NON_SHIFT_REGS. - (REG_CLASS_NAMES): Likewise. - (REG_CLASS_CONTENTS): Likewise. - (REGNO_REG_CLASS): Likewise. - (HARD_REGNO_MODE_OK): Corresponding changes. Don't force 1.0 fpregs - to even regno here; fixed_regs does the job better. - (FP_REG_CLASS_P): Get rid of SNAKE_FP_REGS. - (REG_CLASS_FROM_LETTER, case 'z'): Deleted. - (HARD_REGNO_NREGS): Partially revert last change. - (CLASS_MAX_NREGS): Partially revert last change. - * pa.md (globally): Delete 'x' constraint or change it to 'f', - as apropriate. - -Fri Jun 3 09:18:55 1994 Richard Earnshaw (rwe11@cl.cam.ac.uk) - - * arm.h (CONST_OK_FOR_LETTER_P): Only allow constants that are valid - when inverted for 'K'. Only allow constants that are valid when - negated for 'L'. - * arm.md (all patterns): Update instruction generation to reflect new - meanings of constraints 'K' and 'L'. Use output type 'B' to - generate an inverted constant. Use output type 'N' to generate a - negated floating point constant. - -Thu Jun 2 22:43:58 1994 Jeffrey A. Law (law@snake.cs.utah.edu) - - * pa.h (TARGET_SWITCHES): Enable TARGET_LONG_CALLS when - TARGET_PORTABLE_RUNTIME is enabled. - * pa.c (output_call): If TARGET_LONG_CALLS is enabled, then emit - an inline long-call sequence. - * pa.md (millicode define_delay): Disable delay slots if - TARGET_LONG_CALLS. - (call_internal_reg, call_value_internal_reg): If TARGET_LONG_CALLS - is enabled, then emit an inline long-call sequence. Fix length - computation for TARGET_LONG_CALLS. - (millicode calls): Fix length computation for TARGET_LONG_CALLS. - - * pa.h (ASM_DECLARE_FUNCTION_NAME): Fix typo. - -Thu Jun 2 18:28:07 1994 Jason Merrill (jason@deneb.cygnus.com) - - * stmt.c (expand_end_bindings): Don't bother emitting cleanups - after a barrier. - -Thu Jun 2 18:10:36 1994 Stephen L Moshier (moshier@world.std.com) - - * libgcc2.c (__floatdisf): Protect against double-rounding error. - -Thu Jun 2 17:47:54 1994 David Edelsohn (edelsohn@npac.syr.edu) - - * rs6000.h (MASK_PPCFPX): Delete. - (MASK_PPC_GPOPT, MASK_PPC_GFXOPT, TARGET_PPC_GPOPT, TARGET_PPC_GFXOPT): - New Macros. - (TARGET_SWITCHES): Remove -mpowerpc-fpx; add -mpowerpc-gpopt - and -mpowerpc-gfxopt. - * rs6000.c (processor_target_table): Use new macros. - * rs6000.md (define_function_unit): Remove ppc604 from sqrt list. - (divsi3, udivsi3): Remove spaces from PowerPC output templates. - (sqrtsf2, maxsf3, minsf3, sqrtdf2, maxdf3, mindf3): Use new macros. - (floatdidf2, fix_truncdfdi2, ffsdi2, muldi3): New patterns. - ({s,u}muldi3_highpart, divdi3, udivdi3, rotldi3): Likewise. - (movdi): Handle moves between FPRs and GPRs. - (scc insn): Correct swapped compare and delayed_compare attributes. - -Thu Jun 2 14:45:04 1994 Richard Earnshaw (rwe11@cl.cam.ac.uk) - - * arm.c (arm_condition_code): Move to start of file. - (const_pool_offset): Correct typo. - (fp_const_from_val): New function. - (all instruction generators): mark position where conditionalization - should be with '%?'. - (output_move_double): Use new '%m' output type to simplify load/store - multiple generation. - (shift_instr): Delete. - (shift_op): New function. - (output_arithmetic): Delete. - (output_arithmetic_with_shift): Delete. - (output_arithmetic_with_immediate_multiply): Delete. - (output_shifted_move): Delete. - (output_shift_compare): Delete. - (arm_print_operand): New function. - * arm.h (output_func_{prologue,epilogue}): Change declarations from - output_{prologue,epilogue}. - (arm_output_llc, arithmetic_instr, - output_arithmetic_with_immediate_mulitply, - output_arithmetic_with_shift, shift_instr): Delete function - definitions. - (ASM_OUTPUT_OPCODE): Delete. - (PRINT_OPERAND): Call arm_print_operand, instead of doing it directly. - (ARM_COMMENT_CHAR): New macro. - (ARM_REG_PREFIX): New macro. - (ARM_SIGN_EXTEND): New macro. - (PRINT_OPERAND_ADDRESS): Delete variable 'shift'. Change type of - variable 'offset' to HOST_WIDE_INT. Use arm_print_operand to handle - shifts in addresses. - * arm.md (all output patterns): Use new capabilities of - arm_print_operand to simplify output sequences. Mark position of - condition code with '%?'. - - * riscix.h (ASM_FINAL_SPEC [CROSS_COMPILE]): Correct typo. - -Thu Jun 2 08:14:00 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * c-common.c (c_build_type_variant): Don't change TYPE_MAIN_VARIANT - of new type. - - * expr.c (expand_expr, case ADDR_EXPR): If result is ignored, - just return const0_rtx. - -Wed Jun 1 13:52:01 1994 Jason Merrill (jason@deneb.cygnus.com) - - * i386/sco4.h: #define NO_IMPLICIT_EXTERN_C. - -Wed Jun 1 04:55:06 1994 Richard Earnshaw (rwe11@cl.cam.ac.uk) - - * arm.c: General tidy up. - #include . - Declare some prototypes. - (output_memory_reference_mode): Change type to enum machine_mode. - (arm_const_nmoves): Delete. - (adjacent_mem_locations, {load,store}_multiple_operation): Explicitly - declare to return int. - ({load,store}_multiple_operation): Change type of 'count', 'base' and - 'i' to HOST_WIDE_INT. - (output_add_immediate): Change type of 'n' to HOST_WIDE_INT. - (output_multi_immediate): Change type of Argument 'n' to - HOST_WIDE_INT, if wider than 32 bits, mask out the high bits. - (output_arithmetic_with_immediate_multiply): Change type of 'shift' - to HOST_WIDE_INT. - (output_func_{prologue,epilogue}): Renamed from - output_{prologue,epilogue}. Check all registers to see if they are - live, but only push/pop them if they are not in call_used_regs. - * arm.h: Delete some dead code. - (FUNCTION_{PROLOGUE,EPILOGUE}): Call output_func_{prologue,epilogue}. - (INITIAL_ELIMINATION_OFFSET): Inspect all registers, but only add - those that are not in call_used_regs. - (GO_IF_LEGITIMATE_INDEX): Change type of variable 'range' to - HOST_WIDE_INT; change type of variable 'code' to enum rtx_code. - (REVERSIBLE_CC_MODE): New macro. - - * arm.c (const_pool_offset): New function. - (get_prologue_size): New function. - (output_func_prologue): Eliminate variable code_size. - (output_func_epilogue): Only call arm_increase_location when - optimizing; also add the size of the function just compiled, and the - size of the prologue. - (arm_output_asm_insn): Delete. All callers changed to use - output_asm_insn. - (arm_output_llc): Delete. - (output_load_symbol): New first parameter 'insn'. Rewrite so that - assembler can detect whether we made a mistake. - * arm.h (arm_output_asm_insn): Delete declaration. - (EXTRA_CONSTAINT): New constraint 'R' to match a constant pool label. - Make constraint 'S' never match when not optimizing. - (CONSTANT_ADDRESS_P): Only accept symbols marked with SYMBOL_REF_FLAG - when optimizing. - (ENCODE_SECTION_INFO): Don't mark any symbols when not optimizing. - (ASM_OUTPUT_REG_{PUSH,POP}: Don't call arm_increase_location. - (ASM_OUTPUT_ADDR_VEC_ELT): Likewise. - * arm.md (all insn and peephole patterns): Rewrite without using - arm_output_asm_insn. - (matcher for movsi): New alternative to load symbol directly into a - register. Add new parameter in call to output_load_symbol. - - * arm.md (all patterns): Length attribute now describes length in - bytes. - * arm.c (short_branch): Convert length calculations to bytes. - -Tue May 31 20:35:39 1994 Torbjorn Granlund (tege@adder.cygnus.com) - - * pa.c (emit_move_sequence): Add missing argument to symbolic_operand. - (output_block_move): Prefer addl to add. - (print_operand): Print fp regs with L suffix when appropriate. - (output_arg_descriptor): Rewrite to accomodate new convention for - USE information. - - * pa.h (SECONDARY_MEMORY_NEEDED): Simplify. - (ADDITIONAL_REGISTER_NAMES): Define. - (CONDITIONAL_REGISTER_USAGE): Make PIC_OFFSET_TABLE_REGNUM fixed - again. - - Changes to combine fp registers for 1.0 and 1.1 architectures. - (Make explicit clobbers of fp registers work.) - * pa.h (FIRST_PSEUDO_REGISTER): Now 89. - (FIXED_REGISTERS): Delete 1.0 fp registers, - (CALL_USED_REGISTERS): Likewise. - (CONDITIONAL_REGISTER_USAGE): Almost deleted. - (REG_ALLOC_ORDER): Update register numbers. - (HARD_REGNO_NREGS): Delete special case for 1.0 fp registers. - (HARD_REGNO_MODE_OK): Rewrite. Don't allow use of odd fp registers - (enum reg_class): Delete HI_SNAKE_FP_REGS and FP_OR_SNAKE_FP_REGS. - (REG_CLASS_NAMES): Corresponding change. - (REG_CLASS_CONTENTS): Delete HI_SNAKE_FP_REGS and - FP_OR_SNAKE_FP_REGS. Make SNAKE_FP_REGS class contain all fp - registers. Update all values for changed register numbering. - (REGNO_REG_CLASS): Corresponding changes. - (REG_CLASS_FROM_LETTER): Delete 'y'. - (FP_REG_CLASS_P): No longer test HI_SNAKE_FP_REGS. - (CLASS_MAX_NREGS): Delete special case for 1.1 fp registers. - (FUNCTION_VALUE): Remove TARGET_SNAKE conditionals. - (LIBCALL_VALUE): Likewise. - (FUNCTION_ARG_REGNO_P): Likewise. - (FUNCTION_VALUE_REGNO_P): Likewise. Add registers 29 and 33. - (FUNCTION_ARG): Remove TARGET_SNAKE conditionals. Update register - numbers. - (REGNO_OK_FOR_FP_P): Update register number. - (REGISTER_NAMES): Delete special entries for 1.0 fp registers. - (DBX_REGISTER_NUMBER): Likewise. - * pa.c (compute_frame_size): Update for changed register numbers. - Simplify loops over general registers to stop at register 4. - (hppa_expand_prologue): Likewise. - (hppa_expand_epilogue): Likewise. + * protoize.c (edit_fn_definition): Fix mispelled local `have_flotsam'. -Tue May 31 19:32:18 1994 Jim Wilson (wilson@cygnus.com) + * objc/sendmsg.c (__objc_init_install_dtable): Fix misspelling + in name of local label `already_initialized'. - * mips.md (movesi_unaligned, movsi_ulw, movsi_usw): Delete. - (extv, extzv, insv, movsi_ulw, movsi_usw): New patterns. + * winnt/winnt.h (STDC_VALUE): Was misspelled. - * dbxout.c (dbxout_type): Always emit cross-references if - use_gnu_debug_info_extensions set. + * m68k/ccur-GAS.h (FUNCTION_BOUNDARY): Was misspelled. - * final.c (output_source_line): Call xcoffout_source_line. - * xcoffout.c (xcoff_lastfile): New variable. - (ABS_OR_RELATIVE_LINENO, ASM_OUTPUT_SOURCE_LINE): Define here. - (xcoffout_source_file, xcoffout_source_line): New functions. - (xcoffout_declare_function): Use xcoffout_source_file. - * xcoffout.h (xcoff_lastfile): Declare. - (DBX_OUTPUT_MAIN_SOURCE_FILENAME): Clean up. Set xcoff_lastfile. - (ABS_OR_RELATIVE_LINENO, ASM_OUTPUT_SOURCE_LINE): Delete here. - (DBX_OUTPUT_SOURCE_FILENAME): Delete. + * 1750a.h (DEFAULT_PCC_STRUCT_RETURN): Was misspelled. - * unroll.c (copy_loop_body): Copy CALL_INSN_FUNCTION_USAGE field. +Mon May 15 23:41:25 1995 Jeffrey A. Law - * sparc.h (ASM_SPEC): Don't pass -k when -pg or -p given. - (OVERRIDE_OPTIONS): Warn when disabling -fpic. + * pa.h (ASM_OUTPUT_EXTERNAL_LIBCALL): Make sure to encode section + info for all libcalls. - * mips-tdump.c (print_global_hdr): Remove "l" from printf format - for flags. - (print_sym_hdr): Add missing "l" to printf formats. - (print_symbol, print_file_desc): Likewise. +Mon May 15 20:58:00 1995 Jason Merrill - * i960.h (PUT_SDB_TYPE): Adjust value for compatibility with GNU960 - toolchain. + * collect2.c (strstr): Define ifndef POSIX. - * sparc.h (LIB_SPEC): Don't link in /usr/lib/bb_link.o with -a. - (CONDITIONAL_REGISTER_USAGE): When -a, make %g1 and %g2 fixed. + * defaults.h (SUPPORTS_WEAK): Provide default. + * aoutos.h, sparc/sunos4.h: Don't support weak symbols. + * netbsd.h, svr4.h, i386/freebsd.h, i386/osfrose.h, + m88k/m88k.h: Define ASM_WEAKEN_LABEL instead of WEAK_ASM_OP. + * c-pragma.h: Check ASM_WEAKEN_LABEL instead of WEAK_ASM_OP. + HANDLE_PRAGMA_WEAK is never defined in a tm.h file. + * c-decl.c (duplicate_decls): Propagate DECL_WEAK. + * tree.h (DECL_WEAK): New macro. + (tree_decl): Add weak_flag. + * varasm.c (assemble_start_function): Declare the symbol weak if + appropriate. + (assemble_variable): Ditto. + (assemble_alias): Ditto. Mark the decl as written. + (declare_weak): Check for weak declaration after definition. + Set DECL_WEAK. + (weak_finish): Use ASM_WEAKEN_LABEL. + * libgcc2.c: The C++ free-store management functions are weak + aliases on targets that always support them. - * mips/iris5gas.h, mips/iris5gdb.h: New files. - * configure (mips-sgi-irix5): Use iris5gas.h and iris5gdb.h. +Mon May 15 19:01:43 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Tue May 31 19:21:44 1994 Torbjorn Granlund (tege@adder.cygnus.com) + * configure (out_object_file): New variable; put value in Makefile. + * Makefile.in (out_object_file): Use in place of aux-output.o. - * pa.md (movsi matcher): Use ldi for moving of 0 to a reg. - (movhi matcher): Likewise. - (movqi matcher): Likewise. - (many patterns): Prefer addl to add, and shNaddl to shNadd. - (define_split for (plus (reg) (large_constant))): Cleanup. - (divsi3): Use match_dup for operand 3, not match_operand. - (udivsi3): Likewise. - (modsi3): Likewise. - (umodsi3): Likewise. + * fold-const.c (const_binop): Don't pass OVERFLOW to force_fit_type + if type is unsigned. -Tue May 31 19:15:31 1994 Doug Evans (dje@cygnus.com) +Mon May 15 18:48:26 1995 Paul Eggert - * toplev.c (v_pedwarn_with_decl): Don't even issue warnings from - pedantic errors in system header files. + * install.sh (transformbasename): Fix misspelling. -Tue May 31 17:16:41 1994 David Edelsohn (edelsohn@npac.syr.edu) + * tahoe.h (CHECK_FLOAT_VALUE): Fix misspelling of OVERFLOW parameter. - * rs6000.md (extendqidi2, extendqisi2, extendqihi2): Remove - non-existent lba instruction. - (ashrdi3): Undo previous change. + * i386.h (VALID_MACHINE_{DECL,TYPE_ATTRIBUTE): Fix typo. -Tue May 31 12:30:00 1994 Jason Merrill (jason@deneb.cygnus.com) + * fx80.h (CHECK_FLOAT_VALUE): Fix misspelled use of parameter. - * toplev.c (lang_options): Add -f{no-,}implicit-templates. - (compile_file): Don't output SDB debugging info for - externals. + * a29k.c (spec_reg_operand): Fix misspelling of `default:'. -Tue May 31 07:20:18 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Mon May 15 18:36:41 1995 Philippe De Muyter (phdm@info.ucl.ac.be) - * stmt.c (expand_asm_operands): Make MEM with BLKmode for clobber - of "memory". - * loop.c (note_addr_stored): A SET or CLOBBER of a BLKmode MEM means - that all memory is clobbered. + * m68k.md (b{eq,ne,ge,lt}0_di): Fixed for non-MOTOROLA syntax. + * m68k/xm-mot3300.h (alloca): Extern decl added for non-GNU compiler. -Mon May 30 14:01:48 1994 Doug Evans (dje@cygnus.com) +Mon May 15 13:14:29 1995 Per Bothner - * gcc.c (default_compilers): Pass -MG to cpp if present. - (option_map): New option --print-missing-file-dependencies/-MG. - * cccp.c (print_deps_missing_files): New global. - (main): New argument -MG. Treat missing include files as - generated files and output dependencies for them. + * cppexp.c (cpp_reader): Test for '#' (start of assertion) *after* + skipping hspace, not before. -Mon May 30 10:42:14 1994 Frederic Pierresteguy (F.Pierresteguy@frcl.bull.fr) +Mon May 15 08:13:54 1995 Pat Rankin (rankin@eql.caltech.edu) - * m68k/dpx2cdbx.h (PREFERRED_DEBUGGING_TYPE): Define as SDB_DEBUG. - * m68k/dpx2g.h: Disable code that manages gcc.ifile. + * vmsconfig.com: Construct options.h and specs.h to #include + all "*/lang-{options|specs}.h" files found. -Mon May 30 10:35:49 1994 Stephen L Moshier (moshier@world.std.com) +Sun May 14 21:32:49 1995 Doug Evans - * optabs.c (expand_float): Avoid double-rounding when float is - is narrower than int. - * real.c (significand_size): New function. - * real.h (significand_size): Declare. + * alpha/alpha.md (movsicc, case NE): Don't generate unrecognizable + insn. + (movdicc, case NE): Likewise. -Sun May 29 15:58:21 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Sun May 14 15:44:54 1995 Jim Wilson - * jump.c (jump_optimize): When deleting unneeded stack adjusts - or mem-mem copies, use delete_computation. + * unroll.c (unroll_loop): Make local_regno have size + max_reg_before_loop. Don't do local register optimization if + copy_end has no INSN_LUID. - * combine.c (force_to_mode): NEXT_SELECT is true for NEG. - Only exit quickly if X is narrower than MODE and MASK has all - bits in X's mode set. - (force_to_mode, case SUBREG): Don't check for WORD_REGISTER_OPERATIONS. - (force_to_mode, case NEG): Special-case test for low-order bit. +Sun May 14 10:38:23 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * rtlanal.c (volatile_insn_p): Call ourselves in recursive scan. + * objc-act.c (start_method_def): Mark _self as possibly unused. -Sat May 28 19:03:23 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * configure: Create specs.h and options.h from */lang-specs.h + and */lang-options.h. + Set lang_specs_files and lang_options_file variables in Makefile. + * Makefile.in (lang_{specs,options}_files): New variables. + (gcc.o): Depends on $(lang_specs_files). + (toplev.o): Depends on $(lang_options_file); merge two dep lists. + (distclean): Remove spes.h and options. + * gcc.c (default_compilers): Remove entries for Ada, C++, Chill, + and Fortran; #include specs.h instead. + * toplev.c (lang_options): Remove entries for Ada, C++, and Fortran; + include options.h instead. - * c-parse.in (init, compstmt, stmt, all_iter_stmt_with_decl): - If the lookahead token is a constant and we need to pop the - momentary obstack, don't free it. +Sat May 13 23:11:21 1995 DJ Delorie - * stmt.c (expand_end_case): Have INDEX_TYPE track conversions done - to INDEX_EXPR. + * configure (i[345]86-go32-msdos, i[345]86-*-go32): New targets. -Sat May 28 06:25:40 1994 Torbjorn Granlund (tege@adder.cygnus.com) +Sat May 13 10:58:38 1995 Jim Wilson - * pa.md (call): Force address into register in non-symbol case. - (call_value): Likewise. + * loop.c (record_giv): When computing replaceable, use + back_branch_in_range_p instead of looking for branches to named + labels. + * loop.h (back_branch_in_range_p): Declare. + * unroll.c (back_branch_in_range_p): No longer static. -Fri May 27 19:29:30 1994 Doug Evans (dje@cygnus.com) +Sat May 13 06:47:11 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * toplev.c (compile_file): Call init_regs after `word_mode' is valid. - * regclass.c (init_reg_modes): If choose_hard_reg_mode can't find a - valid mode, fall back to word_mode. + * combine.c (simplify_shift_count, case LSHIFTRT): Don't merge + shifts of different modes if first is any right shift. - * expr.c (use_reg): Fix recording of USE information. - (use_regs): Likewise. - Delete argument `reg'. All callers changed. - * expr.h (use_regs): Update prototype. - * calls.c (expand_call): Update call to use_regs. Call use_reg - if parm is wholly in registers. +Sat May 13 05:39:09 1995 Richard Earnshaw (rearnsha@armltd.co.uk) - * configure: If compiling in separate dir, add subdirs to .gdbinit. + * configure (arm-semi-aout): New configuration. + * config.sub: Add support for semi-hosted ARM. + * arm/t-semi, arm/semi.h: New files. -Fri May 27 18:18:23 1994 David Edelsohn (edelsohn@npac.syr.edu) +Fri May 12 21:51:22 1995 Doug Evans - * rs6000.md (zero_extendqidi2, zero_extendhidi2): Use rldicl - instruction. - * rs6000.h (RTX_COSTS): Update PPC603 and PPC604 values. + * flow.c (find_basic_blocks): Only perform n_basic_blocks sanity + check on first pass, and on second pass ensure it has the correct + value. -Fri May 27 17:56:07 1994 Douglas Rupp (drupp@cs.washington.edu) +Fri May 12 19:23:11 1995 Jim Wilson - * i386/xm-dos.h (DIR_SEPARATOR): New macro. + * c-typeck.c (build_binary_op): Warn when ~unsigned is compared + against unsigned, and type promotions result in an unexpected + answer. -Fri May 27 17:45:08 1994 Holger Teutsch (teutsch@ffm-iw.Degussa.DE) +Fri May 12 19:10:21 1995 Roland McGrath - * clipper.h (PCC_STATIC_STRUCT_RETURN): No longer defined. + * configure (*-*-gnu*): Always use ELF; set tm_file=${cpu_type}/gnu.h. + * config/i386/gnu.h: Contents replaced with old i386/gnuelf.h. + * config/i386/gnuelf.h: File removed. -Fri May 27 17:36:53 1994 Pat Rankin (rankin@eql.caltech.edu) +Fri May 12 17:29:57 1995 Ken Raeburn (raeburn@cygnus.com) - * make-l2.com: Update to handle `ginclude' subdirectory - when compiling libgcc2. + * m68k/lb1sf68.asm (__IMMEDIATE_PREFIX__): Default to #. + (IMM): New macro. + (all code): Use IMM macro instead of hardcoding # for immediate + operands. -Fri May 27 17:30:37 1994 Matthias Pfaller (leo@marco.de) - - * ns32k.c (print_operand_address): print_operand_address - creates PLUS-rtls for internal use, so it has to handle them. +Fri May 12 16:52:10 1995 Philippe De Muyter (phdm@info.ucl.ac.be) -Fri May 27 16:13:53 1994 Chris Torek (torek@elf.bsdi.com) + * m68k.c (output_scc_di): New function. + (extend_operator) : Allow DImode target. + * m68k.h (HARD_REGNO_MODE_OK): Don't allow d7/a0 as DImode reg pair. + * m68k.md (tstdi, cmpdi, addsi_lshrsi_31, ashldi_extsi): New patterns. + (extendqidi2, extendhidi2, extendsidi2): Allow "general_operand" + instead of "register_operand" 0. + (adddid_sexthishl32, subdid_sexthishl32, subdi_dishl32): Likewise. + (adddi_dilshr32): Operand 0 constraint changed from "ro" to "do"; + Code generation fixed. + (adddi_mem, subdi_mem): Fixed for "<" and ">" operand 0. + (adddi3, subdi3): Operand 2 constraint changed from "ao" to "*ao" + (ashldi_sexthi, ashrdi_const32): Allow only "register_operand" + instead of "general_operand" 0. + (ash[lr]di_const, ash[lr]di3): Allow also 8 and 16 as shift count. + (subreg1ashrdi_const32): Pattern deleted. + (subreghi1ashrdi_const32, subregsi1ashrdi_const32): New pattern. + (lshrsi_31): New implementation. + (scc0_di, scc_di, beq0_di, bne0_di, bge0_di, blt0_di): New patterns. + +Fri May 12 16:50:49 1995 Jeffrey A. Law - * function.c (assign_parms): Set REG_USERVAR_P when parm - is passed by invisible reference but can live in register. + * pa.md (bb patterns): Fix bugs in length computation exposed by + recent branch shortening and genattrtab changes. -Fri May 27 06:03:11 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Fri May 12 16:22:27 1995 Ken Raeburn - * reload.c (find_reloads): Revert to old code and change secondary - reloads to RELOAD_FOR_OPERAND_ADDRESS too. + * cccp.c (enum node_type): Add T_IMMEDIATE_PREFIX_TYPE. + (special_symbol): Handle it; emit value of IMMEDIATE_PREFIX. + (IMMEDIATE_PREFIX): Default to empty string. + (initialize_builtins): Install __IMMEDIATE_PREFIX__ builtin, + parallel to __REGISTER_PREFIX__. - * combine.c (try_combine): Don't make complemented XOR for - constant out of range. +Fri May 12 14:40:03 1995 Pat Rankin (rankin@eql.caltech.edu) - * alpha.c (or_operand): Renamed from ior_operand. - * alpha.h (PREDICATE_CODES): Likewise. - * alpha.md (iordi3): Likewise. - (xordi3): Use or_operand and add second alternative. - (eqv): Only accept registers. + * cccp.c: #if VMS, don't define `stat' macro to be VMS_stat. + Compare enums explicitly to 0 to work around VAX C bug. + (do_include): Cast alloca's value. - * expr.c (expand_expr, case CONSTRUCTOR): If constant and large - enough for memcpy to be used, build constructor into static memory. + * make-cc1.com (bc_loop): Process comma-separated list rather + than space-separated one; restore .h suffix stripped by vmsconfig; + (loop1): More robust handling of directory prefix on file names. + * vmsconfig.com (TPU makefile.in): Reorganize and reformat code. + Make generated .opt files have more consistent format (all comma + separated, excess whitespace eliminated); + (additional_compiler): New routine. + (process_makefile): Use it to handle cc1plus via cp/Make-lang.in. - * alpha.md: Add define_split for sign-extended PLUS of a MULT - of an SImode comparison. +Fri May 12 13:35:07 1995 Doug Evans - * combine.c (simplify_comparison): Narrow comparison for AND's - that are ZERO_EXTENDs. - Can widen for all comparisons if inputs are both sign extended. + * arm.h: Replace ARM_REG_PREFIX with REGISTER_PREFIX. + Replace ARM_COMMENT_CHAR with ASM_COMMENT_START. + (REGISTER_PREFIX): Define. + (USER_LABEL_PREFIX, LOCAL_LABEL_PREFIX): Define. + (SECONDARY_OUTPUT_RELOAD_CLASS): Handle DFmodes only if + TARGET_HARD_FLOAT. + (PREDICATE_CODES): Add soft_df_operand. + * arm.c: Replace ARM_REG_PREFIX with REGISTER_PREFIX. + Replace ARM_COMMENT_CHAR with ASM_COMMENT_START. + (arm_asm_output_label): Use USER_LABEL_PREFIX. + (soft_df_operand): New function. + * arm.md (movsicc): New pattern. + (movsfcc, movdfcc, *movsicc_insn, *movsfcc_hard_insn): Likewise. + (*movsfcc_soft_insn, *movdfcc_insn): Likewise. + (*movdf_soft_insn): Rewrite. + (movsi matcher): Fix typo in type attribute. - * reload1.c (reload_as_needed): Update spill_reg_order once we sort - spill_regs. +Fri May 12 10:25:40 1995 Michael Meissner (meissner@cygnus.com) - * alpha.md: Add define_split for sign-extended PLUS of an SImode - comparison; change comparison to DImode. + * i386.h (TARGET_RTD): Use MASK_RTD, not MASK_REGPARM. + (TARGET_SWITCHES): Add -m{,no-}align-double switch. + (TARGET_OPTIONS): Add -mregparm= switch to set number of registers + to use for passing arguments. Add -malign-loops= switch to set + the alignment for loops. Add -malign-jumps= switch to set the + alignment for code that is jumped to. Add -malign-functions= + switch to set the initial alignment of functions. + (TARGET_REGPARM): Delete, in favor of -mregparm= + (TARGET_SWITCHES): Delete -mregparm, add -mdebug-arg switches. + (RETURN_POPS_ARGS): Call i386_return_pops_args to do the real work. + (VALID_MACHINE_DECL_ATTRIBUTE): Define as function call. + (VALID_MACHINE_TYPE_ATTRIBUTE): Define as function call. + (COMP_TYPE_ATTRIBUTES): Define as function call. + (REGPARM_MAX): Maximum number of regs to use for passing arguments. + (CUMULATIVE_ARGS): Make this a structure, not an int. + (INIT_CUMULATIVE_ARGS, FUNCTION_ARG{,_ADVANCE}): Call function. + (FUNCTION_ARG_PARTIAL_NREGS): Likewise. + (MAX_CODE_ALIGN): Maximum value to align loops/jumps to. + (BIGGEST_ALIGNMENT): Return 64 if -malign-double, 32 otherwise. + (ASM_OUTPUT_ALIGN_CODE): Use value of -malign-jumps= switch. + (ASM_OUTPUT_LOOP_ALIGN): Use value of -malign-loops= switch. + (toplevel): Declare all new functions and external variables added + in i386.c. - * stmt.c (expand_end_case): Use old type of INDEX_EXPR when making - a constant. + * i386.c (i386_regparm_string, i386_regparm): New variables + for -mregparm= switch to set the number of registers to use for + passing arguments. + (i386_align_loops_string, i386_align_loops): New variables for + -malign-loops= switch to set alignment to use for loops. + (i386_align_jumps_string, i386_align_jumps): New variables for + -malign-jumps= switch to set alignment to use for labels that are + jumped to. + (override_options): Support new switches. + (i386_valid_decl_attribute_p): New function to validate decl + specific attributes. Presently returns 0. + (i386_valid_type_attribute_p): New function to validate type + specific attributes. Recognize "stdcall", which says function + with fixed numbers of arguments is responsible for popping stack, + "cdecl", which says to use the normal C calling sequence, even if + -mrtd is used, and "regparm", which specifies the number of + registers to use for passing arguments. + (i386_comp_type_attributes): New function, to validate whether + attributes are compatible. + (i386_return_pops_args): New function, to return whether or not + the function pops its argument list or not, taking into account + -mrtd, and the stdcall/cdecl attributes. + (init_cumulative_args): Rewrite as a function, taking variable + argument functions, and regparm support into account. + (function_arg{,_advance,_partial_nreg}): Likewise. + (print_operand): Support %J, to print appropriate jump insn. - * local-alloc.c (requires_inout): Renamed from requires_inout_p and - returns number of alternatives that require a match. - (block_alloc): Use new function and handle case where all - alternatives have some operand that must match operand 0. + * i386.md (decrement_and_branch_until_zero): Define pattern, + so that loops that count down to zero, don't have an unneeded + compare after the decrement. Add a general insn recognizer for + add to a value and compare against zero. - * local-alloc.c (qty_phys_num{,_copy}_sugg): New variables. - (qty_phys_has{,_copy}_sugg): Deleted. - (qty_sugg_compare{,_1}): New functions. - (local_alloc): Allocate and init new vars instead of deleted ones. - (block_alloc): Update and use new vars. - Order quantities using new functions when allocating quantities - with suggested registers. - (combine_regs, find_free_reg): Use new vars to count number - of suggestions. + * i386/go32.h, i386/winnt.h (VALID_MACHINE_DECL_ATTRIBUTE): + Delete, code folded into the mainline. + (RETURN_POPS_ARGS): Likewise. -Thu May 26 11:55:44 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * i386/winnt.h (ENCODE_SECTION_INFO): The stdcall attribute is now + stored on the type field, rather than the decl. - * jump.c (jump_optimize): When looking for an `if' statement - that takes two insns to compute a result using a temporary, - allow the temporary to be a SUBREG. + * i386/gas.h (ASM_OUTPUT_ALIGN_CODE, ASM_OUTPUT_LOOP_ALIGN): Use + i386_align_{loops,jumps} variables to do alignment. + * i386/osfrose.h, i386/svr3dbx.h: Likewise. - * combine.c (simplify_comparison): Call CANONICALIZE_COMPARISON, - if defined. - * alpha.h (CANONICALIZE_COMPARISON): New macro. +Fri May 12 12:48:19 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * combine.c (simplify_if_then_else): Don't make (mult (cond)) - in simple case; leave as IF_THEN_ELSE instead. + * stor-layout.c (layout_type, case ARRAY_TYPE): Compute length using + MAX of length and zero if sizetype signed and neither bound constant. - * expmed.c (expand_divmod): Correctly set CAN_CLOBBER_OP0 when we've - converted OP0 to COMPUTE_MODE. + * i386/gnuelf.h, i386/linux-oldld.h, i386/lynx-ng.h, i386/v3gas.h: + Use <...> in #include instead of "...". + * m68k/lynx-ng.h, sparc/lynx-ng.h: Likewise. -Thu May 26 11:41:58 1994 Ian Lance Taylor (ian@cygnus.com) + * c-parse.in (myparm): Handle attributes. + * objc-act.c (unused_list): New variable. + (build_tmp_function_decl): Call push_parm_decl with new format. + (start_class): Initialize unused_list. + (start_method_def): Call push_parm_decl with new format and + mark _cmp as possibly unused. - * fixincludes: Protect bool in curses.h with #ifndef __cplusplus, - since g++ now defines bool as a basic type. + * combine.c (simplify_shift_const): Don't change SHIFT_MODE + for LSHIFTRT either. - * fixinc.svr4: Protect definition of __P used in Solaris math.h - and floatingpoint.h to avoid future fixproto conflicts. + * unroll.c (unroll_loop): Don't move reg if used in copy_end and + that is a JUMP_INSN. - * Makefile.in (stmp-fixinc): Don't pass ${srcdir} argument to - $(FIXINCLUDES); no longer needed, and always problematical for - binary only installations. - * fixincludes: Remove initialization of ${SRCDIR}. Don't - explicitly copy over multimedia/audio_errno.h; should be handled - by Oct 11, 1993 change. - * fixinc.svr4: Remove initialization of ${SRCDIR}. - * fixinc.sco, fixinc.dgux: Likewise. +Fri May 12 12:31:37 1995 Doug Evans -Fri May 20 12:48:24 1994 Jim Wilson (wilson@cygnus.com) + * arm/lib1funcs.asm: New file. - * stmt.c (expand_exit_loop_if_false): Emit conditional jump around - unconditional loop exit instead of conditional loop exit. +Fri May 12 11:52:03 1995 Kung Hsu - * rs6000.c (output_prolog): Use multiple fputs calls instead of - one call with multiple strings. + * configure (a29k-*-vxworks*): New target. + * config.sub (vxworks29k): New alias. + * a29k/t-vx29k: New file. + * a29k/vx29k.h: New file. - * iris4.h (STARTFILE_SPEC, LIB_SPEC): Define. +Fri May 12 11:17:28 1995 Jim Wilson - * xcoffout.c (MAKE_LINE_SAFE): Delete. - (ASM_OUTPUT_LBB, ASM_OUTPUT_LBE): Don't use MAKE_LINE_SAFE. + * loop.c (check_dbra_loop): When reversing loop when + no_use_except_counting is false, there must be only one biv. -Fri May 20 01:18:30 1994 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Fri May 12 07:10:00 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * config.sub (basic_machine): Accept cxux*. + * unroll.c (unroll_loop): Only use local_regno for pseudos. -Thu May 19 19:12:41 1994 Mike Stump (mrs@cygnus.com) + * genattrtab.c (write_test_expr, case MATCH_DUP): Use operands[N] + instead of JUMP_LABEL (which may not be set). + (walk_attr_value, case MATCH_DUP): Set must_extract. - * calls.c (expand_call): Only destroy temps here, if -fshort-temps - is given. + * c-parse.in: Adjust number of shift/reduce conflicts. + (parm): Support attributes. + * c-decl.c (push_parm_decl): Pass any attributes to decl_attributes. -Thu May 19 19:07:59 1994 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Fri May 12 00:36:26 1995 Per Bothner - * config.sub: Fix unrecognized os error message. + * cpplib.c (skip_quoted_string): Removed - no longer needed. + (skip_if_group): Use cpp_get_token instead of skip_quoted_string. -Thu May 19 17:46:55 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * cpplib.h (struct cpp_reader): Remove start_line field. + Add multiline_string_line field. - * reload1.c (emit_reload_insns): When seeing if an equivalent - register can have it's output reload deleted, check for REG_DEAD - notes for reload_in instead of calling dead_or_set_p. + * cpplib.c (cpp_error_with_line, cpp_warning_with_line, + cpp_pedwarn_with_line): Take extra column number parameter. + (macroexpand, cpp_get_token): Fix reporting of unterminated strings. + (line_for_error): Removed - no longer needed. -Thu May 19 16:38:32 1994 Stephen L Moshier (moshier@world.std.com) +Fri May 12 02:21:34 1995 Jim Wilson - * emit-rtl.c (operand_subword): Fix arg of REAL_VALUE_TO_TARGET_SINGLE - and .._DOUBLE. Permit float subword extraction when host's word - width is wider than target's. + * mips/svr4-t.h (MD_STARTFILE_PREFIX, MD_EXEC_PREFIX, + STARTFILE_SPEC, LINK_SPEC): Define. + * configure (mips-tandem-sysv4): Use t-mips not t-svr4. -Thu May 19 15:09:21 1994 Ian Lance Taylor (ian@cygnus.com) +Thu May 11 19:18:54 1995 Per Bothner - * fixincludes: Make OSF/1 getopt.h fix work on AIX also. + * cpplib.c (line_for_error): Make it work; add extra parameter. + (skip_quoted_string, cpp_get_token): Update calls to line_for_error. + (macroexpand): Remember initial line so we can report it if the + call is unterminated. Also, simplify error logic slightly. + (do_include): Cast alloca return value, to avoid pcc warning. -Wed May 18 15:34:10 1994 Jason Merrill (jason@deneb.cygnus.com) + * cppexp.c (parse_number): Cleanup some Cygnus crud for MPW. - * fixincludes: Add forward declaration of struct exception to - SunOS 4 math.h. +Thu May 11 21:35:23 1995 Torbjorn Granlund -Wed May 18 12:46:46 1994 Per Bothner (bothner@kalessin.cygnus.com) + From Moshier: + * i960.c (i960_output_ldconst): Let split_double handle DImode. + (i960_print_operand): Use REAL_VALUE_TO_DECIMAL for decimal strings. + (i960_output_double, i960_output_float): Likewise; also change arg + VALUE from `double' to `REAL_VALUE_TYPE'. - * stor-layout.c (layout_decl): Allow any integral types - for bit fields. (Specifically, C++ now has a 'bool' type.) +Thu May 11 21:09:25 1995 Per Bothner (bothner@wombat.gnu.ai.mit.edu) -Wed May 18 16:32:40 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * cpperror.c (cpp_print_containing_files): Remove some + Cygnus-local stuff. - * reload1.c (compare_spill_regs): Fix typo in declaration. +Thu May 11 21:06:47 1995 Doug Evans -Wed May 18 10:39:00 1994 Brendan Kehoe (brendan@lisa.cygnus.com) + * gcc.c (link_command_spec): Make -nostdlib no longer imply + -nostartfiles. - * fixinc.svr4: Avoid the SVR4 typedef of bool in curses.h when - compiling for C++, since g++ now supports it as an official typename. +Thu May 11 18:48:57 1995 Paul Eggert -Tue May 17 18:06:32 1994 Matthias Pfaller (leo@marco.de) + * c-common.c (convert_and_check): Don't diagnose overflow in constant + expression merely because conversion overflowed. - * ns32k.md: Don't use the extsd/extd instructions on the ns32532. +Thu May 11 18:43:59 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Tue May 17 17:44:38 1994 Pat Rankin (rankin@eql.caltech.edu) + * c-decl.c (grokdeclarator): Use PARM_FLAG to see if should + make PARM_DECL. + * c-parse.in (nested_function, notype_nested_function): + Allow old-style arg definitions (use xdecls). - * make-cc1.com (CFLAGS): Separate include file handling; for - stage 1, CFLAGS1 is appended to CFLAGS, otherwise CFLAGS2. + * c-decl.c (finish_struct): Properly update DECL_PACKED. -Tue May 17 16:35:22 1994 Jason Merrill (jason@deneb.cygnus.com) +Thu May 11 15:24:15 1995 Jason Merrill - * convert.c (convert_to_real): Accept boolean values. + * fold-const.c (fold): Also fold CLEANUP_POINT_EXPRs into + TRUTH_*_EXPRs and into the first operand. + (operand_equal_for_comparison_p): Also make sure the second operand + is integral. - * config/m68k/hp320.h: #define NO_IMPLICIT_EXTERN_C +Thu May 11 14:22:03 1995 Ted Lemon -Tue May 17 15:52:05 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * config/mips/netbsd.h: New file. + * config/mips/t-mips-netbsd: New file. + * config/mips/x-netbsd: New file. - * libgcc2.c (__umoddi3): Correct type of variable `w'. + * configure (mips-dec-netbsd*): Add entry. - * combine.c (simplify_set): Move call to make_field_assignment - to end; if SRC or DEST is a (clobber (const_int 0)), return it. - (force_to_mode): If X is a CALL, just return it. + * mips.h (LOCAL_LABEL_PREFIX, USER_LABEL_PREFIX): Define. + (PUT_SDB_BLOCK_START, PUT_SDB_BLOCK_END, ASM_OUTPUT_LABEL_REF, + ASM_OUTPUT_INTERNAL_LABEL, ASM_GENERATE_INTERNAL_LABEL, + ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Use them. - * reload.c (find_reloads): Properly account for cost when - constant is forced to memory to ensure same alternative chosen later. + * mips.c (mips_output_lineno): Use LOCAL_LABEL_PREFIX. -Tue May 17 11:30:19 1994 Richard Earnshaw (rwe11@cl.cam.ac.uk) +Thu May 11 14:22:03 1995 Stan Cox (gcc@dg-rtp.dg.com) - * combine.c (simplify_set): Use rtx_equal_p to compare cc_use and its - setter. - (make_extraction): Don't put a subreg around a register if it is - already in the correct mode. + * dwarfout.c (output_decl): Don't output DIE for struct or union type + with no name or with ERROR_MARK for the fields. - * reload1.c (compare_spill_regs): New function. - (reload_as_needed): Sort the spilled regs. - (allocate_reload_reg): If we have group needs and failure would be - fatal, do not try to do round-robin allocation of the spill regs. +Thu May 11 06:36:34 1995 Michael Meissner (meissner@cygnus.com) -Mon May 16 18:58:10 1994 David Edelsohn (edelsohn@npac.syr.edu) + * flow.c (mark_used_regs): If a SUBREG does not have a REG in the + SUBREG_REG position, recursively call mark_used_regs, instead of + segfaulting. - * rs6000.md (zero_extendqidi2): Fix omission of TARGET_POWERPC64 - test in previous change. +Thu May 11 06:44:34 1995 Pat Rankin (rankin@eql.caltech.edu) -Mon May 16 14:59:25 1994 Per Bothner (bothner@cygnus.com) + * expr.c (do_jump, case EQ_EXPR, NE_EXPR): Fix typo for complex. - * dbxout.c (dbxout_type): When emitting an ENUMERAL_TYPE, if - the precision is different from the default precision (perhaps - because of -fshort-enums), write out the precision. +Wed May 10 12:34:46 1995 Michael Meissner -Mon May 16 17:44:49 1994 Stephen L Moshier (moshier@world.std.com) + * configure: Add support for the little endian variant of the + PowerPC System V.4 and Eabi targets. If the GNU assembler was not + specified, don't build libgcc.a variants on the PowerPC systems + that use -mrelocatable, -mlittle, and -mbig. - * real.c (ereal_from_int, ereal_to_int, etarsingle): Correct - signed/unsigned discrepancies. - (ereal_from_double): Avoid "right shift count too big" warning - in previous change. - * final.c (split_double): Fix arg of REAL_VALUE_TO_TARGET_DOUBLE. + * genmultilib: For MULTILIB_MATCHES arguments, map question marks + into equal signs after spliting the left and right side of + equivalent options, to all support for options like: -mcpu=403. - * real.h (REAL_VALUE_FROM_TARGET_SINGLE, .._DOUBLE): Change - arg from long to HOST_WIDE_INT. - * real.c (ereal_from_float, .._double): Likewise, and unpack - the HOST_WIDE_INTs. + * rs6000/rs6000.md (rs6000_immed_double_const): New function that + is like immed_double_const, except that it reverses the two words + in the constant if the target is little endian. -Mon May 16 16:16:32 1994 Richard Earnshaw (rwe11@cl.cam.ac.uk) + * rs6000/rs6000.md (floatsidf2): Use rs6000_immed_double_const, + not immed_double_const. + (floatunssidf2): Ditto. - * flow.c (try_pre_increment_1): Don't try to create a pre-increment - expression if the register dies in the succeeding insn. + * rs6000/rs6000.h: Add declarations for all functions in rs6000.c. - * expr.c: Use #ifdef TARGET_EDOM, not #if. + * rs6000/sysv4.h (TARGET_SWITCHES): Add -mlittle, -mlittle-endian, + -mbig, and -mbig-endian for bi-endian support. + (ASM_SPEC): Pass -mlittle/-mbig to the assembler if it was passed + to us. + (LINK_SPEC): If explicit little or big endian support was + requested, tell the GNU linker to use the appropriate target + format. - * expr.c (convert_move): When {zero,sign}_extending, allow a wider - intermediate than to_mode if truncation is a no-op. + * rs6000/t-eabi (MULTILIB_*): Build libgcc.a variants for software + floating point. Remove mrelocatable libgcc.a variant. -Mon May 16 11:49:28 1994 Doug Evans (dje@cygnus.com) + * rs6000/t-eabigas: New file, cloned from t-eabi. Build + mrelocatable libgcc.a variant in addition to the other variants. - * m68k/apollo68.h (REGISTER_PREFIX_MD): Delete. + * rs6000/t-ppc: New file, for PowerPC System V.4 support without + the GNU assembler. -Mon May 16 08:11:57 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * rs6000/t-ppcgas: New file, for PowerPC System V.4 support with + the GNU assembler. - * rs6000.c (rs6000_convert_preincs): Delete. - * rs6000.h (FINAL_PRESCAN_INSN): Delete. + * rs6000/eabile.h: New file, little endian eabi config file. + * rs6000/sysv4le.h: New file, little endian V.4 config file. - * c-typeck.c (initializer_constant_valid_p): Rework to use - precision, not size. - Allow conversions from integer to pointer if int is wide enough. +Wed May 10 14:22:28 1995 Doug Evans - * c-decl.c (finish_enum): Handle VALUES being an ERROR_MARK. + * libgcc1-test.c (main_without__main): Renamed from `main'. + * Makefile.in (libgcc1-test): Tell the user to ignore warnings. - * rs6000.md: Replace bogus "andil" opcode with rlinm. + * configure: Support --enable-foo, --disable-foo. -Sat May 14 21:26:05 1994 Doug Evans (dje@cygnus.com) +Wed May 10 10:34:00 1995 Lee Iverson - * hard-reg-set.h (GO_IF_HARD_REG_EQUAL): Fix typo. + * unroll.c: Add declarations of static functions. + (unroll_loop): Renumber regs local to loop for each unrolled iteration. - * jump.c (find_cross_jump): Two CALL_INSNs only compare equal if - their CALL_INSN_FUNCTION_USAGEs are the same as well. +Wed May 10 08:27:03 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * stupid.c (stupid_life_analysis): Make sure a function result reg - is still live if it contains an argument. + * alpha.c (alpha_set_emit_const): Cleanups to work properly + when run on 32-bit host. -Fri May 13 22:17:48 1994 Doug Evans (dje@cygnus.com) + * configure: Instead of symlinking tm.h and {h,t,}config.h, + make them files that #include the proper file; pass to Makefile. + Pass out_file and md_file to Makefile instead of making symlinks. + * Makefile.in (out_file, md_file, tm_file, {build,host}_xm_file): + New symbols, to be overridden by configure. + (insn-*): Use $(md_file), not md. + (aux-output.o): Use $(out_file), not aux-output.c. + ($(MD_FILE)): Rework to use new conventions. + (gen*.o, bi-*.o): Depend on $(build_xm_file), not hconfig.h. + (scan.o, fix-header.o, scan-decls.o): Likewise. + (distclean): Adjust files removed for new convention. - * reorg.c (mark_referenced_resources): Fix typo. +Tue May 9 19:26:42 1995 Jason Merrill -Fri May 13 18:54:38 1994 Jason Merrill (jason@deneb.cygnus.com) + * rs6000/rs6000.h (LIBGCC_SPEC): Do link with libgcc when -shared. - * integrate.c (integrate_decl_tree): Use copy_node to make a copy - of the decl. Also call copy_lang_decl to copy the - language-specific bits. - * tree.h: Declare copy_lang_decl. - * c-decl.c (copy_lang_decl): No-op function that will never - actually be called. + * Makefile.in (STAGESTUFF): Add underscore.c. + (underscore.c): Rename temporary files to begin with 'tmp-' so that + they will be removed by 'make mostlyclean'. -Fri May 13 15:12:20 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Tue May 9 19:19:55 1995 Mike Stump - * cse.c (cse_insn): Correctly check for two modes being the - same number of words. + * toplev.c (lang_options): Add new flag -ffor-scope. -Fri May 13 05:03:51 1994 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Tue May 9 19:11:47 1995 Lee Iverson (leei@ai.sri.com) - * c-parse.in (enumlist): Add error alternative. + * objc/init.c (objc_init_statics): Fix missing part of last change. -Thu May 12 23:25:38 1994 Jason Merrill (jason@deneb.cygnus.com) +Tue May 9 18:25:34 1995 Richard Kenner - * c-common.c (truthvalue_conversion): If expr is a BIT_AND_EXPR - where one of the operands is integer_onep, just return expr. + * i386/gnu.h, i386/linux.h, i386/linux-aout.h, i386/lynx.h: + Use <...> in #include instead of "..." to avoid recursion. + * i386/netbsd.h, i386/xm-gnu.h, i386/xm-linux.h: Likewise. + * i386/xm-lynx.h, i386/xm-freebsd.h, i386/xm-netbsd.h: Likewise. + * m68k/lynx.h, m68k/netbsd.h, m68k/xm-lynx.h: Likewise. + * m68k/xm-netbsd.h, mips/gnu.h, ns32k/netbsd.h: Likewise. + * ns32k/xm-netbsd.h, rs6000/lynx.h, rs6000/xm-lynx.h: Likewise. + * sparc/lynx.h, sparc/netbsd.h, sparc/xm-lynx.h: Likewise. + * sparc/xm-netbsd.h, vax/netbsd.h, vax/xm-netbsd.h: Likewise. -Thu May 12 20:08:49 1994 Mike Stump (mrs@cygnus.com) +Tue May 9 15:52:05 1995 Michael Meissner - Fixup lifetime of temporaries. + * config.sub: Recognize powerpcle as the little endian varient of + the PowerPC. Recgonize ppc as a PowerPC variant, and ppcle as a + powerpcle variant. Convert pentium into i586, not i486. Add p5 + alias for i586. Map new x86 variants p6, k5, nexgen into i586 + temporarily. - * calls.c (expand_call): Only destroy temporaries at the end - of function calls, if flag_short_temps is set. - * expr.c (safe_from_p, expand_expr): Handle CLEANUP_POINT_EXPRs. - * expr.c (expand_expr): Improve handling of temporaries inside - COND_EXPRs, cures call to sorry. - * expr.c (defer_cleanups_to): New routine to handle the deferral - of cleanups. - * flags.h (flag_short_temps): New flag, to allow better control - over the lifetime of temporaries. - * toplev.c (flag_short_temps, lang_options): Ditto. - * tree.def (CLEANUP_POINT_EXPR): Add, to allow better control over - the lifetime of temporaries. +Tue May 9 15:43:27 1995 Jason Merrill -Thu May 12 19:33:54 1994 David Edelsohn (edelsohn@npac.syr.edu) + * rs6000/rs6000.h (LINK_SPEC, LIB_SPEC): Don't mess with libg + if -shared. + * rs6000/aix41ppc.h (LINK_SPEC): Ditto. - * rs6000.md (function units): Numerous cycle count change. - (zero_extendqidi2, extendqidi2, zero_extendhidi2): New patterns. - (extendhidi2, zero_extendsidi2, extendsidi2): Likewise. - (zero_extendqisi2, zero_extendqihi2, zero_extendhisi2): Use - andil/andi instead of rlinm/rlwinm. - (zero_extendqihi2): Add condition register variants. - (extendqisi2, extendqihi2): Use extsb for PowerPC. - (adddi3, subdi3, negdi2, ashrdi3): Emulate only if !TARGET_POWERPC64. - (movdf, movdi, movti): New PowerPC64 versions. - (load/store with update): New PowerPC64 patterns. + * rs6000/powerpc.h: Don't emit .extern directives. -Thu May 12 18:50:55 1994 Stephen L Moshier (moshier@world.std.com) +Tue May 9 14:08:09 1995 Jim Wilson - * real.c (m16m): Change first arg to int; all callers changed. + * sh/lib1funcs.asm (__ashrsi3, __ashlsi3, __lshrsi3): Use .byte + instead of .word offsets in switch table. -Thu May 12 18:46:26 1994 Bill Cox (bill@cygnus.com) +Tue May 9 11:44:47 1995 Jeremy Bettis - * fixincludes: Add definition of DBL_MAX to math.h for Lynx math.h. - Correct return type of strlen in Lynx string.h. - Delete definition of 'void' as 'int' from Lynx curses.h. + * objc/sendmsg.c (__objc_send_initialize): Call superclass if object + does not implement +initialize. + +Tue May 9 02:44:16 1995 Jason Merrill -Thu May 12 18:11:33 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * rs6000/xm-rs6000.h (COLLECT_EXPORT_LIST): Define if not + cross-compiling. + * rs6000/xm-mach.h: #undef COLLECT_EXPORT_LIST. + * rs6000/rs6000.h (COLLECT_SCAN_OBJECTS): Lose. - * reload.c (find_reloads): Don't change a secondary reload - to RELOAD_FOR_OPERAND_ADDRESS. + * collect2.c (collect_exit): Unlink export_file. + (prefix_from_string): Broken out from prefix_from_env. + (prefix_from_env): Call it. + (main): Under AIX, recognize -bE: and -bexport:, and don't + automatically export everything if we see one. Otherwise, scan the + objects individually and add all their symbols to an export file to be + passed to the linker. + (write_export_file): New function. + (scan_prog_file): Ignore symbols starting with '.' - * function.c (assign_parms): Fix typo in previous change. + * c-common.c (declare_hidden_char_array): Mark decl artificial. -Thu May 12 15:48:54 1994 Stephen R. van den Berg (berg@pool.informatik.rwth-aachen.de) +Mon May 8 18:13:57 1995 Adam Fedor - * c-common.c (decl_attributes): Revert to identifiers for - mode attributes. - * libgcc2.c: Likewise. + * objc/init.c (_objc_load_callback): Add declaration. + (__objc_exec_class): Call _objc_load_callback after every Class + or Category is added. + * objc/objc-api.h (_objc_load_callback): Add declaration. -Thu May 12 15:41:38 1994 Pat Rankin (rankin@eql.caltech.edu) +Mon May 8 17:56:28 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * vax/xm-vms.h (lookup_name_current_level_global): New macro. + * expr.c (expand_expr, case INDIRECT_REF): Set RTX_UNCHANGING_P + if both TREE_READONLY and TREE_STATIC set. -Wed May 11 17:44:47 1994 Jim Wilson (wilson@cygnus.com) + * c-typeck.c (convert_for_assignment): Don't give errors about + adding const or volatile unless both sides point to functions. - * cse.c (cse_insn): Set src_eqv if the dest is a STRICT_LOW_PART. +Mon May 8 11:48:23 1995 Michael Meissner - * expmed.c (store_fixed_bit_field): Delete code to handle - MODE_FLOAT values here. - (store_bit_field): Put it here instead. + * configure: If ../ld/Makefile, symlink ../ld/ld.new to collect-ld, + not real-ld. Don't test for $use_collect2 any more. -Wed May 11 16:18:21 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Sun May 7 17:52:23 1995 Jason Merrill - * a29k.c (a29k_clobbers_to): New function. - * a29k.md (clobbers_to): Deleted. - (call_internal, call_value_internal): New patterns. - (call, call_value): Just call new patterns and a29k_clobbers_to. + * calls.c (expand_call): Improve -Winline warnings. - * stor-layout.c (layout_type): Use POINTER_SIZE, instead of width - of Pmode, when appropriate. +Sun May 7 17:28:27 1995 DJ Delorie (dj@delorie.com) - * calls.c (emit_call_1): Put new function usage data at end of - any data already there. - * expr.c (expand_builtin_apply): Likewise. + * configure.bat: Use "go32" instead of "msdos" for future expansion. - * sched.c (sched_analyze_insn): Fix typo in last change. + * i386/go32.h: Add support for win32's stdcall functions. -Wed May 11 14:45:12 1994 Doug Evans (dje@cygnus.com) + * configure.bat: Add ^M to end of each line. + * i386/config-nt.bat, alpha/config-nt.bat: Likewise. - * configure: Fix handing case of no language subdirs. +Sun May 7 02:12:26 1995 Jason Merrill -Wed May 11 12:11:40 1994 Ian Lance Taylor (ian@cygnus.com) + * tree.h (DECL_ARTIFICIAL): New macro. - * fixincludes: Don't recursively search symlinks to `.'. + * function.c (expand_function_end): Don't warn about unused + anonymous or artificial parms. -Tue May 10 17:49:57 1994 Stephen R. van den Berg (berg@pool.informatik.rwth-aachen.de) +Fri May 5 18:41:22 1995 Jim Meyering (meyering@comco.com) - * configure: Include stage4 in the list. + * configure: Fix typo in name of "maintainer-clean". - * gcc.c (process_command): Kludge in stageN/../include instead of - include. +Fri May 5 14:58:01 1995 Jeffrey A. Law -Mon May 9 21:04:19 1994 Jim Wilson (wilson@cygnus.com) + * pa.c (emit_move_sequence): Force problematical constants + into memory during the reload pass when generating PIC. - * sparc.h (*TF*_LIBCALL): Delete `*' from libcall name. +Fri May 5 13:30:33 1995 Doug Evans -Mon May 9 18:42:10 1994 Matthias Pfaller (leo@marco.de) + * objc/NXConstStr.m: NXConstantString.h renamed to NXConststr.h. - * ns32k.c (output_move_dconst): Fix errors on ranges. +Fri May 5 07:10:15 1995 Stephen L Moshier (moshier@world.std.com) -Mon May 9 18:33:16 1994 Chris Torek (torek@bsdi.com) + * real.c (emdnorm, toe64, etoe64): Significand of Intel long double + denormals is shifted down one bit. - * gcc.c (delete_if_ordinary): New function. - (delete_temp_files, delete_failure_queue): Call it. +Fri May 5 07:04:12 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Sat May 7 12:12:58 1994 Andreas Neubacher (aneubach@risc.uni-linz.ac.at) + * c-typeck.c (process_init_element): Don't clear_momentary if + constructor_stack is not empty. - * i386/seq-sysv3.h (LIB_SPEC): Support -fshared-data. - (CPP_SPEC): Set _SEQUENT_ to 1. - (SHARED_SECTION_ASM_OP, ASM_OUTPUT_SHARED_COMMON): Supply new macros. - (SHARED_BSS_SECTION_ASM_OP, BSS_SECTION_FUNCTION): Likewise. + * objc/Makefile (SHELL): Now /bin/sh. -Sat May 7 10:09:49 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * c-typeck.c (build_binary_op): Also warn about ordered + comparison of pointer with zero if -Wall. - * reorg.c (mark_{referenced,set}_resources): Fix typos in last change. + * expr.c (do_jump, case EQ_EXPR, NE_EXPR): Properly compare complex. - * reload1.c (emit_reload_insns): Don't try to delete output reload - if there isn't one. +Thu May 4 18:01:25 1995 Philippe De Muyter (phdm@info.ucl.ac.be) - * i386.h (REG_ALLOC_ORDER): New macro. + * objc/Makefile: NXConstantString renamed to NXConstStr. + * objc/NXConstStr.m: Renamed from objc/NXConstantString.m. + * objc/NXConstStr.h: Renamed from objc/NXConstantString.h. - * sched.c (sched_analyze_insn, attach_deaths_insn): Look at - CALL_INSN_FUNCTION_USAGE. +Thu May 4 17:38:21 1995 J.T. Conklin - * reload1.c (choose_reload_regs): Remove previous change. + * configure (vax-*-netbsd*): New configuration. + * vax/netbsd.h, vax/xm-netbsd.h: New files. -Fri May 6 20:32:22 1994 Doug Evans (dje@canuck.cygnus.com) +Thu May 4 16:39:05 1995 Jason Merrill - * sparc.c (leaf_reg_backmap): Delete. - (sparc_flat_compute_frame_size): Renamed from - sparc_frw_compute_frame_size. All callers changed. - (sparc_flat_save_restore): Likewise. - (sparc_flat_output_function_prologue): Likewise. - Delete decl of call_used_regs. - Delete reference to frame_base_name, use frame pointer explicitly. - Print prologue end marker. - (sparc_flat_output_function_epilogue): Likewise (renaming). - Delete decls of asm_out_data_file, asm_out_file, call_used_regs. - Print epilogue start marker. - (sparc_flat_epilogue_delay_slots): Likewise (renaming). - (sparc_flat_eligible_for_epilogue_delay): Likewise. - * sparc.h (TARGET_FRW): Add note saying this option is deprecated. - (TARGET_FLAT): Renamed from TARGET_FRW_COMPAT. - (TARGET_SWITCHES): Delete references to -mfrw, -mfrw-compat. - Add -mflat. - (CONDITIONAL_REGISTER_USAGE): If -mflat, fix %i7, rename "%fp" - to "%i7", and make %g7 a global_reg. - (FRAME_POINTER_REQUIRED): Handle -mflat. - (INITIAL_FRAME_POINTER_OFFSET): Likewise. - (ARG_POINTER_REGNUM): Explicitly say it's the frame pointer. - (LEAF_REGISTERS): Make %g7 not a leaf register. - (leaf_reg_backmap): Delete. - (LEAF_REG_BACKMAP): Likewise. - (FUNCTION_PROLOGUE): Handle -mflat. - (FUNCTION_EPILOGUE): Likewise. - (DELAY_SLOTS_FOR_EPILOGUE): Likewise. - (ELIGIBLE_FOR_EPILOGUE_DELAY): Likewise. + * collect2.c (main): Add check for 'collect-ld', just like + 'real-ld', except that old versions won't be looking for it in the + path. Don't look for 'real-ld' in the path anymore. Sigh. -Fri May 6 14:05:00 1994 Stephen R. van den Berg (berg@pool.informatik.rwth-aachen.de) + * collect2.c: #include demangle.h and obstack.h. + (obstack_chunk_alloc): Define. + (obstack_chunk_free): Define. + (generic): Don't define. Don't use. + (main): Initialize obstacks and demangling. - * tree.h (TYPE_ATTRIBUTES): New macro. - (struct tree_type): attributes, new field. - (precision): Move this field up for better alignment. - (attribute_list_{equal,contained}): Prototype for new functions. - (build_type_attribute_variant): Prototype for new function. - * c-parse.in: Rewrite attribute parsing; update the expected - conflicts and state numbers. - * tree.c (TYPE_HASH): Move definition to top of file. - (make_node): Add support for SET_DEFAULT_TYPE_ATTRIBUTES. - (build_type_attribute_variant): New function. - (type_hash_lookup): Check if the attributes match. - (attribute_list_{equal,contained}): New functions. - * c-typeck.c (common_type): Add attribute merging. - (comp_types): Use COMP_TYPE_ATTRIBUTES macro. - * print-tree.c (print_node): Print attributes. - * c-common.c (decl_attributes): Move the attribute - recognition and rejection here from c-parse.in. - (decl_attributes): Use VALID_MACHINE_ATTRIBUTE macro. + * collect2.c (dump_file): Adjust space padding in output to + maintain tabulation with Solaris ld. Don't demangle if the + environment variable COLLECT_NO_DEMANGLE is set. - * regclass.c (init_reg_sets_1): Eliminate several permanent - call_fixed_regs. + * collect2.c (main): Redirect the output of the first link and + demangle it. Don't collect static c/dtors unless USE_COLLECT2 is + defined. Null-terminate the list of objects. + (dump_file): New function. + (file_exists): New function. + (collect_exit): Renamed from my_exit. Dump and remove the temporary + ld output file. + (collect_execute): Break out from fork_execute. Support redirection. + (fork_execute): Call it. + (fatal_perror, fatal, error): Make non-static. + (xcalloc, xmalloc): Don't use generic. + (xrealloc): Define. + (collect_wait): Break out for do_wait. Just return the exit status. + (do_wait): Call it. - * rtl.def (CALL_INSN): Define new CALL_INSN_FUNCTION_USAGE field. - * rtl.h (CALL_INSN_FUNCTION_USAGE): New macro. - (find_reg{,no}_fusage): Prototype for new function. - * rtlanal.c (reg_used_between_p): Check usage exprs on CALL_INSNs. - (reg_referenced_between_p, reg_set_p, dead_or_set_regno_p): Likewise. - (find_reg{,no}_fusage): New functions. - * combine.c (try_combine): Restrict combining on CALL_INSNs. - (distribute_{notes,links}): Look at CALL_INSN_FUNCTION_USAGE. - * cse.c (cse_insn): Invalidate CLOBBERed registers. - (count_reg_usage): Count registers in USE rtls on CALL_INSNs. - * emit-rtl.c (make_call_insn_raw): New function. - (emit_call_insn{,_before}): Use make_call_insn_raw. - * calls.c (prepare_call_address, emit_call_1, expand_call): Change - from USE and CLOBBER insns to using CALL_INSN_FUNCTION_USAGE. - (emit_library_call{,_value}): Likewise. - * expr.c (use_regs, expand_builtin_apply): Likewise. - * expr.h (use_regs): Likewise. - * flow.c (flow_analysis, find_basic_blocks): Likewise. - * caller-save.c (insert_save_restore): Likewise. - * function.c (fixup_var_refs_insns): Likewise. - * jump.c (find_cross_jump, get_label_{before,after}): Likewise. - * reload1.c (emit_reload_insns): Likewise. - * reorg.c (mark_referenced_resources, mark_set_resources): Likewise. - * integrate.c (save_for_inline_copying, expand_inline_function): - Copy CALL_INSN_FUNCTION_USAGE field. - * reload1.c (choose_reload_regs): Ban filled argument registers. - * caller-save.c (save_call_clobbered_regs): CALL_INSN_FUNCTION_USAGE - requires a sharper liveliness check. - * flow.c (propagate_block): Mark all registers mentioned in USE - usage expressions on a CALL_INSN as used. - * jump.c (find_cross_jump): If STACK_REGS is defined two - CALL_INSNs only compare equal if their USE usage rtls are - the same as well. - * stupid.c (stupid_life_analysis): Check the usage information - on CALL_INSNs. + * collect2.c: Check SUNOS4_SHARED_LIBRARIES using #if, not #ifdef. - * function.c (assign_parms): Spread out the REG_EQUIV notes - on CONCATs. + * Makefile.in (collect2): Now uses cplus-dem.o and underscore.o. + (collect2.o): Pass MAYBE_USE_COLLECT2 to compile. + (underscore.c): Rules for creation. -Fri May 6 12:43:10 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * cplus-dem.c, demangle.h: Copy from libiberty. - * reload.c (find_reloads): Ignore alternatives that will - not be reloadable due to PREFERRED_RELOAD_CLASS. +Thu May 4 14:12:35 1995 Jim Wilson - * explow.c (allocate_dynamic_stack_space): Just return - virtual_stack_dynamic_rtx if asking for zero bytes. - Set current_function_calls_alloca here and also record new - stack level for nonlocal gotos. - * expr.c (expand_builtin, case BUILT_IN_ALLOCA): Don't - set current_function_calls_alloca here nor record new - stack level for nonlocal gotos. - * stmt.c (expand_decl): Likewise. + * sdbout.c (plain_type): Pass additional argument to plain_type_1. + (plain_type_1): New parameter level. Increment it when making + recursive calls. Force the type to void_type_mode before starting + a 7th level of recursion. - * function.c (assign_parms): Use expr_size when appropriate. + * sh.c (general_movsrc_operand, general_movdst_operand): Delete + references to POST_DEC and PRE_INC. + * sh.h: Clean up whitespace, comments, etc. + (TARGET_SH, RTL_BIT, DT_BIT, C_BIT, R_BIT, TARGET_DUMP_RTL, + TARGET_DUMP_R, TARGET_CDUMP): Delete. + (TARGET_SWITCHES): Delete -mR, -mc, -mr options. + (CONST_DOUBLE_OK_FOR_LETTER_P): Delete 'G' contraint. + (FUNCTION_VALUE): Simplify. + (REG_OK_FOR_PRE_POST_P, IS_INDEX): Delete. + (BASE_REGISTER_RTX_P, INDEX_REGISTER_RTX_P): Rewrite to allow + SUBREGs. + (GO_IF_LEGITIMATE_INDEX): Delete unused REGNO argument. + (GO_IF_LEGITIMATE_ADDRESS): Use BASE_REGISTER_RTX_P instead of + REG_OK_FOR_PRE_POST_P. Don't accept PRE_INC or POST_DEC addresses. + (PREDICATE_CODES, PROMOTE_MODE): Define. - * c-typeck.c (comptypes): An enum type is compatible with type of - same signedness as well as precision. +Wed May 3 09:57:55 1995 Michael Meissner - * alpha.h (CONST_COSTS): Revise all costs. - * alpha.md (addsi3, subsi3): Add define_expand to make - adddi3/subdi3; old pattern is now anonymous. + * rs6000/rs6000.md (non power abs insns): If not powerpc, use + sf/subfc instructions, not subf. - * combine.c (simplify_rtx, case MULT): Don't convert MULT to - shift here. - (simplify_logical, case IOR): Convert back to PLUS if valid and - it will combine with another PLUS. - (extract_left_shift): New function. - (make_compound_operation, case ASHIFTRT): Simplify by calling it. - (force_to_mode): Don't ignore if X is a SUBREG. - (force_to_mode, case AND): Try to turn unchecked bits on - instead of just off and see which is cheaper. +Wed May 3 08:49:06 1995 Alan Modra -Fri May 6 11:22:23 1994 Ian Lance Taylor (ian@cygnus.com) + * protoize.c (gen_aux_info_file): Use strerror #ifdef HAVE_STRERROR. - * Makefile.in (libgcc1.a, libgcc2.a): Don't ignore errors in for - loops over $(LIB[12]FUNCS_EXTRA). +Wed May 3 01:06:01 1995 Jeffrey A. Law -Fri May 6 06:14:56 1994 Mike Stump (mrs@cygnus.com) + * pa.c (output_call): Fix typo/thinko in last change. + (output_function_epilogue): Align the data section before + emitting deferred plabels. - * expr.c (expand_cleanups_to): Tell expand_expr that we are going - to ignore the result of the cleanup. + From Torbjorn: + * pa.c (before functions): Declare deferred_plabels and + n_deferred_plabels. + (output_call): When generating pic, don't use LP and RP. Use 32 bit + plabel instead. + (output_function_epilogue): Output plabels accumulated in output_call. -Thu May 5 17:45:02 1994 Stan Shebs (shebs@andros.cygnus.com) +Tue May 2 17:15:08 1995 Jeffrey A. Law - * gcc.c (do_spec_1): If -save-temps, always clear the deletion flag. + * pa.c (hppa_expand_epilogue): Fix thinko in last change. -Thu May 5 13:39:35 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Tue May 2 16:54:35 1995 Doug Evans - * combine.c (simplify_rtx, case SUBREG): Don't call force_to_mode. - (simplify_set): Call force_to_mode here. + * jump.c (jump_optimize, can_reach_end determination): A barrier can + follow the return insn. - * m68k.md (movhi): Simplify code involving jump-table - reference. - (load_address): Handle case of jump-table reference; output - required label. +Tue May 2 12:39:55 1995 Mike Stump -Thu May 5 12:28:16 1994 Ian Lance Taylor (ian@cygnus.com) + * fold-const.c (fold): Ensure that we don't alter the expression's + type when folding CLEANUP_POINT_EXPRs. - * cccp.c (main): Include source file name in dependency output. +Tue May 2 13:36:08 1995 Michael Meissner -Wed May 4 18:45:07 1994 Doug Evans (dje@cygnus.com) + * expmed.c (emit_store_flag): When creating store flag + instructions from simpler parts, such as XOR, ABS, etc. do not + reuse pseudo registers if expensive optimizations, instead create new + pseudos for each insn result. - * config.sub: Remove duplicate -freebsd* entry. +Tue May 2 01:25:29 1995 Jeffrey A. Law -Wed May 4 18:03:34 1994 Jason Merrill (jason@deneb.cygnus.com) + * pa.c (hppa_expand_epilogue): Correctly handle restore of %rp + for functions with a stack size of exactly 8kbytes and no frame + pointer. - * cccp.c (special_symbol): Don't copy simple strings, use wchar_type. - (main): Setup wchar_type for C++ if needed. - (initialize_builtins): Use wchar_type. +Mon May 1 19:27:08 1995 Jim Wilson -Wed May 4 17:19:34 1994 Mike Collison (collison@sw.stratus.com) + * sdbout.c (sdbout_one_type): Don't switch to text section if + in function with section attribute. - * reload.c (push_secondary_reload): Use TYPE for secondary type - if it is RELOAD_FOR_{INPUT,OUTPUT}_ADDRESS. + * combine.c (combine_instrutions): Set subst_prev_insn to zero. + (try_combine, undo_all): Likewise. + (get_last_value): Return zero if subst_prev_insn set. -Wed May 4 16:35:49 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * sparc.h (INIT_TARGET_OPTABS): Move INIT_SUBTARGET_OPTABS to end. - * configure (i386-gnu): New, same as i386-mach. + * Makefile.in (install-dir): chmod a+rx all newly created directories. - * global.c (find_reg): When looking for locally-allocated hard - regs to reclaim, use REG_ALLOC_ORDER to find least used. + * expr.c (expand_expr, case SAVE_EXPR): Handle the case where + mode is VOIDmode. - * reload1.c (emit_reload_insns): Add another way to delete an - output reload. +Fri Apr 28 15:39:38 1995 Per Bothner - * reload1.c (reload, reload_as_needed): Check for use of return - register with reg_referenced_p, not reg_mentioned_p. + * cpplib.h (cpp_buffer): Note new escape combination "@ ". + * cpplib.c (macroexpand): Delete "@ " if stringifying. + (cpp_skip_hspace): Also skip "@ " if input buffer has_escapes. + (collect_expansion): Cleanup white-space handling. + (create_definition): Remove all leading spaces, not just first one. + (cpp_expand_to_buffer): Set has_escapes on resulting input buffer. + (macroexpand): Set output_escapes during whole function (and + specifically during calls of macarg). + (macroexpand): Set "@ " before and after expansion result. + (push_macro_expansion): Remove unneeded initial "@ ", not " ". + (cpp_get_token): Remove unneeded "@ " (not " ") at end of expansion. + (cpp_get_token): Handle "@ ". -Wed May 4 14:23:51 1994 Jim Wilson (wilson@cygnus.com) + * cpplib.c (read_name_map): Add cpp_reader parameter. Access + map_list from former (instead of having it be static). + (open_include_file): Extra parameter (because of above changes). + (do_include, lookup_import): Update calls of open_include_file. - * mips.c (override_options): Delete TARGET_LLONG128 references. - * mips.h (MASK_LLONG128, TARGET_LLONG128): Delete. - (TARGET_SWITCHES): Delete -mlonglong128 option. - (LONG_LONG_TYPE_SIZE): Delete TARGET_LLONG128 reference. + * cpplib.c (do_include): Fix memory leak. - * mips/bsd-4.h, mips/bsd-5.h, mips/news4.h, mips/news5.h, - mips/nws3250v4.h, mips/svr3-4.h, mips/svr3-5.h, mips/svr4-4.h, - mips/svr4-5.h (CPP_SPEC): Delete. - * mips/dec-bsd.h (CPP_SPEC): Define __SIZE_TYPE__, - __PTRDIFF_TYPE__, and __mips. - (SIZE_TYPE): Delete. - * mips/dec-osf1.h (PTRDIFF_TYPE): Delete. - (CPP_SPEC): Define, overriding ultrix.h version. - * mips/iris5.h (CPP_SPEC): Define __SIZE_TYPE__, __PTRDIFF_TYPE__, - and __mips. - * mips/osfrose.h (CPP_SPEC): Define __PTRDIFF_TYPE__ and __mips. - (PTRDIFF_TYPE): Delete. - (SIZE_TYPE): Define. - (SET_ASM_OP): Define. - * config/mips/ultrix.h (CPP_SPEC): Delete. - (SIZE_TYPE): Delete. + * cpplib.c (delete_assertion): Also delete tokenlist. + (do_unassert): Don't delete tokenlist (handled by delete_assertion). + (cpp_cleanup): New function. Frees resources used by a cpp_reader. + * cpphash.c (cpp_hash_cleanup): New function. + (delete_macro): Enable commented-out code. + (file_cleanup): Free actual buffer. -Tue May 3 19:04:43 1994 Jason Merrill (jason@deneb.cygnus.com) + * cpplib.c (cpp_options): Add map_list. - * Makefile.in (stamp-objlist): Depend on OBJS and BC_OBJS so that - subdir makes will know to re-link. + * cpplib.h (PARSE_GETC): Removed. Bogus and unused. + * cppmain.c (main): Remove commented-out code that used PARSE_GETC. -Mon May 2 16:05:05 1994 Per Bothner (bothner@kalessin.cygnus.com) + * cpplib.c: Don't #include . Causes clashes + on Nextstep (when index/rindex are macros). + (cpp_grow_buffer, int_parse_file): Cast to U_CHAR*, rather than char*. - * toplev.c (compile_file): If static consts haven't been written - out yet, don't do it just because TREE_USED is set (if we're - optimizing). (This wins for C++, which uses static consts a lot.) +Sun Apr 30 08:11:23 1995 Alan Modra (alan@spri.levels.unisa.edu.au) -Mon May 2 16:42:59 1994 Jim Wilson (wilson@cygnus.com) + * stdarg.h, varargs.h (va_arg): Don't assume __va_rounded_size (char) + has the value of 4. - * stmt.c (expand_end_case): Make sure gen_casesi operands are - valid by passing them through copy_to_mode_reg if necessary. - * mips.md (casesi): Delete force_reg calls. +Sun Apr 30 07:13:43 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * ns32k.c (output_move_double): Always use split_double for the - CNSTOP case. + * vax.h (NOTICE_UPDATE_CC): Correctly handle aob insns. - * gcc.c (translate_options): For options that take an argument, - don't skip the argument if it doesn't exist. + * expr.c (expand_expr, case CONSTRUCTOR): Don't set target to + zero if more then one word. + Pass size and alignment to move_by_pieces_ninsns in bytes, not bits. - * c-decl.c (pushdecl): Use lookup_name_current_level_global instead - of lookup_name for extern references. Don't return duplicate decl - if it came from the global binding level, and there exists a - conflicting decl in an intervening block. - (lookup_name_current_level_global); New function. - * c-tree.h (lookup_name_current_level_global): Declare. + * cse.c (cse_insn): Properly set IN_MEMORY for SET_DEST. - * sys-protos.h (read, write): Last parm is size_t not unsigned int. + * tree.c (substitute_in_expr): Preserve TREE_READONLY. - * unroll.c (remap_split_bivs): New function. - (unroll_loop): When remapping split bivs in the last instruction, - handle JUMP_INSNs in addition to INSNs. + * c-common.c (enum attrs): Add A_UNUSED. + (init_attributes): Initialize it. + (decl_attributes, case A_UNUSED): New case. -Mon May 2 12:53:57 1994 Jason Merrill (jason@deneb.cygnus.com) +Sat Apr 29 15:42:03 1995 Paul Eggert - * config/nextstep.h (INCLUDE_DEFAULTS): Add cxx_aware field. - * config/vax/xm-vms.h (INCLUDE_DEFAULTS): Ditto. + * cccp.c (do_include): Re-fix minor memory leak by using + alloca instead of xmalloc and free. -Fri Apr 29 18:30:38 1994 Kung Hsu (kung@cygnus.com) + * cccp.c (macarg): Except for reporting error, treat unterminated + macro call as if it were terminated, since `macroexpand' relies + on *argptr being filled in. - * tree.h (TYPE_DECL_SUPPRESS_DEBUG): new macro to support - suppressing of detail type infos into stabs. - * dbxout.c (dbxout_type): check the above flag to generate cross - reference in stabs. +Sat Apr 29 06:09:35 1995 Torbjorn Granlund -Fri Apr 29 01:01:45 1994 Doug Evans (dje@cygnus.com) + * pa.c (output_mul_insn): Simplify, it is never called with + UNSIGNEDP set. - * Makefile.in (stamp-objlist): New target. + * pa.md (divsi3, udivsi3, modsi3, umodsi3): Simplify. + (ashlsi3): Clean up indentation and commentary. -Thu Apr 28 22:17:15 1994 Doug Evans (dje@cygnus.com) +Fri Apr 28 12:48:01 1995 Jason Merrill - * Makefile.in (USE_ALLOCA): Rearrange "'s. - (FLAGS_TO_PASS): Delete CLIB, MALLOC, OBSTACK. + * integrate.c (expand_inline_function): Don't emit any notes until + after we've expanded the actual parameters. -Thu Apr 28 19:04:17 1994 Jim Wilson (wilson@cygnus.com) +Fri Apr 28 11:51:06 1995 Stan Cox (gcc@dg-rtp.dg.com) - * stmt.c (expand_end_case): Correct test for sign extending - unsigned constant index when creating index_expr. + * m88k/dgux.h: (ENDFILE_SPEC, LIB_SPEC) Fix crtbegin and crtend + (SELECT_RTX_SECTION) Put relocatable pic constants in data section - * cccp.c (macroexpand): Use start_line for line number of the new - instack level pushed at the end. + * m88k/dguxbcs.h: (LIB_SPEC) Likewise -Thu Apr 28 18:59:17 1994 Mike Stump (mrs@cygnus.com) + * m88k/m88k.c: (symbolic_operand) Put relocatable pic constants in data - * stmt.c: Remove old exception handling support from the backend. + * m88k/m88k.h: (FRAME_POINTER_REQUIRED) Add -momit-leaf-frame-pointer -Thu Apr 28 18:59:53 1994 Torbjorn Granlund (tege@adder.cygnus.com) + * m88k/m88k.md: (umulsidi3) Doesn't work for 88110 with mod/div changes - * sparc.c (arith_double_operand): Modify to accept all possible constants. - * sparc.md (adddi3, subdi3, anddi3, iordi3, xordi3): Corresponding changes. - (one_cmpldi3): Don't allow constants for operand 1. + * m88k/x-dgux: (GCC_FOR_TARGET) tdesc gets mixed up for crtbegin/crtend -Thu Apr 28 18:10:18 1994 David Edelsohn (edelsohn@npac.syr.edu) +Fri Apr 28 06:36:47 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * rs6000.md (addsi3): Prefer add without carry instructions and - flag input operands as commutative for condition register variant. - (subsi3): Define PowerPC patterns using subtract without carry. - (numerous): Flag input operands as commutative for condition - register variant. - (mov* matchers): Use mr instruction in ! TARGET_POWERPC case as - well and mr. in condition register variant. - * rs6000.c (output_prolog): Use mr, lis, and li instructions. - Use subf instruction if TARGET_POWERPC. - (output_epilog): Use cal/addi instruction. + * c-typeck.c (pop_init_level, output_init_element): Pass + require_constant_* to digest_init. -Thu Apr 28 12:48:59 1994 Andreas Neubacher (aneubach@risc.uni-linz.ac.at) + * alpha.c (alpha_emit_set_const): Now returns rtx and take MODE arg. + Rework to use a new pseudo for intermediate values if high opt level. + Also use expand_{bin,un}op. + * alpha.h (alpha_emit_set_const): Add declaration. + * alpha.md (mov[sd]i and splits): Change call to alpha_emit_set_const. - * i386/seq-sysv3.h (SHARED_SECTION_ASM_OP): Defined. + * reg-stack.c (stack_result): Fix bug in last change. -Thu Apr 28 12:40:28 1994 Doug Evans (dje@cygnus.com) +Fri Apr 28 01:08:43 1995 Doug Evans - * expr.c (expand_builtin): Fix typo in previous patch - (allow __builtin_next_arg in varargs functions). + * objc-act.c: Update calls to start_decl, finish_struct, + pass NULLs for attributes. -Tue Apr 26 16:31:44 1994 Per Bothner (bothner@cygnus.com) +Thu Apr 27 21:13:14 1995 Doug Evans - * tree.h (AGGREGATE_TYPE_P): New macro. - * calls.c, expr.c, function.c, stmt.c, varasm.c: Use - new macro AGGREGATE_TYPE_P. + * sparc.md (tablejump): Only if ! TARGET_MEDANY. + (casesi): New pattern for TARGET_MEDANY case. -Mon Apr 25 18:45:28 1994 John Hassey (hassey@dg-rtp.dg.com) + * c-common.c (decl_attributes): Always continue if attribute not found. + * c-typeck.c (common_type): Call lookup_attribute instead of + value_member. + * tree.c (attribute_hash_list): New function. + (build_type_attribute_variant): Call it. + (valid_machine_attribute): Handle attributes with arguments. + (is_attribute_p): New function. + (lookup_attribute): New function. + (attribute_in_list): Deleted. + (attribute_list_contained): Check TREE_PURPOSE and TREE_VALUE. + * tree.h (valid_machine_attribute): Add prototype. + (is_attribute_p, lookup_attribute): Likewise. + * i386/winnt.h (RETURN_POPS_ARGS): Call lookup_attribute. + (ENCODE_SECTION_INFO): Likewise. + (CPP_PREDEFINES): Use __stdcall__, __cdecl__. + (VALID_MACHINE_DECL_ATTRIBUTE): Call is_attribute_p. + `args' must be NULL. - * varasm.c (copy_constant, case CONSTRUCTOR): Fix typo; copied list - was placed on old CONSTRUCTOR, not new one. +Thu Apr 27 21:10:41 1995 David Edelsohn -Mon Apr 25 15:04:53 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * rs6000.md (insv): New anonymous patterns to combine insert with + arbitrary ashift, ashiftrt, lshiftrt, or zero_extract. (Based on + patch from John Brooks .) + (ashlsi3): Remove extraneous operand processing. - * c-decl.c (grokdeclarator): Never warn about `long long' in - system header. +Thu Apr 27 18:47:24 1995 Jim Wilson - * c-decl.c (finish_decl): Redo last change. + * sh/ashlsi3.c, sh/ashrsi3.c, sh/lshrsi3.c: Delete. + * sh/lib1funcs.asm (ashiftrt_r4_*): Rewrite for efficiency. + (ashrsi3, lshrsi3, lshrsi3): Add. + * t-sh (LIB1ASMFUNCS): Add new functions. + (LIBGCC2_CFLAGS): Delete. + (LIB2FUNCS_EXTRA): Remove deleted files. + (ashlsi3.c, ashrsi3.c, lshrsi3.c): Remove rules for deleted files. - * Makefile.in (*compare*): Add missing semicolons. + * stmt.c (expand_return): When returning BLKmode structure, use + operand_subword instead of doing arithmetic on the register number. + Also, for structures smaller than word_mode, copy it into a word_mode + temporary and then subreg it. -Mon Apr 25 15:02:31 1994 Doug Evans (dje@cygnus.com) + * sparc.md: Delete two define_peepholes which print `bad peephole'. - * configure (m68k-hp-hpux): t-hp320g no longer needed as of gas 2.1. - * m68k/t-hp320g: Deleted. +Thu Apr 27 16:17:01 1995 Torbjorn Granlund -Mon Apr 25 14:23:18 1994 Poul-Henning Kamp (phk@login.dkuug.dk) + * toplev.c (rest_of_compilation): Call shorten_branches even when + !optimize. + * final.c (shorten_branches): For non-optimizing compiles, break + after first pass. - * config.sub, configure: Recognize FreeBSD. - * i386/freebsd.h, x-freebsd: New files. - * i386/x-freebsd: New file. - * i386.h (TARGET_NO_FANCY_MATH_387): New option. - * i386.md (TARGET_NO_FANCY_MATH_387): Implement new option. - * ginclude/stdarg.h, ginclude/stddef.h, ginclude/varargs.h: - Recognize __FreeBSD__. - * gcc.c (link_command_spec): Add -Z argument for ZMAGIC's on FreeBSD. - -Mon Apr 25 14:08:26 1994 Doug Evans (dje@cygnus.com) +Thu Apr 27 14:22:50 1995 Michael Meissner - * configure (language search loop): Correct test for no languages. - (CC): Use single quotes to avoid shell expansion of $(CC). + * i386/linux-oldld.h: New file, that is cloned from linux-aout.h, + except that it does not pass -m i386linux to the linker. This is + to support the original Linux ld that is on most distributions. -Mon Apr 25 13:10:07 1994 Andreas Stolcke (stolcke@icsi.berkeley.edu) + * configure (i[345]86-*-linux*oldld*): Use i386/linux-oldld.h as + the target file. - * Makefile.in (install-common): Install EXTRA_PARTS with - INSTALL_DATA, not INSTALL_PROGRAM. - -Mon Apr 25 06:34:00 1994 Stephen L Moshier (moshier@world.std.com) - - * fold-const.c (fold-convert): Use assignment, instead of - initializing, aggregate local variable REAL_VALUE_TYPE. - -Sun Apr 24 11:17:20 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * reorg.c (redirect_with_delay_list_safe_p): Fix off-by-one error. - - * real.c (etoe53, etoe24): Make all occurrences static. - - * emit-rtl.c (try_split): Don't try to recursively split deleted insn. - - * rs6000.md (movti): Adjust constraints to avoid impossible reload. - - * expr.c (expand_expr, case SAVE_EXPR): Fix error in last change. - -Sat Apr 23 06:45:50 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * reload1.c (reloads_conflict, case RELOAD_FOR_OUTPUT): Fix typo. - -Fri Apr 22 18:43:08 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * configure (alpha-dec-osf): Fix typo. - -Fri Apr 22 15:02:22 1994 Hallvard B Furuseth (h.b.furuseth@usit.uio.no) - - * gcc.c (handle_braces, check_live_switch): Refine previous change. - -Fri Apr 22 03:27:26 1994 Doug Evans (dje@cygnus.com) - - * configure: Sort machines. - - * Language directory reorganization. - * configure: Auto-configure each language subdirectory by looking - for */config-lang.in. - Add language makefile fragments (Make-lang.in) to top level makefile, - and hook them in via lang.* targets. - Configure each language subdirectory. On hosts that support them, - create stage[123] symlinks in each subdirectory. - If there is a configure script in the subdirectory, run it. - * Makefile.in (LANGUAGES): Remove c++. - (SUBDIRS): New variable. - (LEX, LEXFLAGS): Ditto. - (MAKEOVERRIDES): Ditto. - (COMPILERS): Remove cc1plus. - (LANG_MAKEFILES, LANG_STAGESTUFF, LANG_DIFF_EXCLUDES, FLAGS_TO_PASS): - New variables. - (CPLUS_OBJS, CPLUS_TREE_H, C++, c++, g++, g++-cross, cc1plus, - cp-*.o, g++.o, gplus.info): Deleted. - (STAGESTUFF): Remove g++, g++-cross, cc1plus. Add $(LANG_STAGESTUFF). - (Makefile): Depend on $(LANG_MAKEFILES). - (####language hooks, ####language fragments): New spots for sed - to insert things. - (all.cross, all.build, start.encap, rest.encap, info, dvi, - install-normal, install-common, install-info, install-man, - uninstall, distdir, mostlyclean, clean, distclean, extraclean, - realclean, stage1, stage2, stage3, stage4): Depend on lang.foo. - (mostlyclean, clean, distclean, extraclean, realclean): Clean as - much of the language subdirectories as we can. - (install-common): Remove g++ installation. - (install-man): Remove g++.1 installation. - (uninstall): Remove g++ reference. - (TAGS): Remove cp-parse.? reference. - (distdir): Ditto. - (distdir-start, distdir-finish): New targets. - (diff): Remove cp-parse.? reference. Add $(LANG_DIFF_EXCLUDES). - (compare, compare3, gnucompare, gnucompare3): Compare language - subdirectories too. - (stage1-start, stage2-start, stage3-start, stage4-start): New targets. - Ensure stage subdirectory exists before processing language - dependent part. - * cp/Makefile.in: New file, makefile for c++ subdirectory. - * cp/Make-lang.in: New file, c++ language makefile fragment. - This file provides c++ specific support to the top level makefile via - several well defined targets: c++.all.build, c++.all.cross, - c++.start.encap, c++.rest.encap, c++.info, c++.dvi, - c++.install-normal, c++.install-common, c++.install-info, - c++.install-man, c++.uninstall, c++.distdir, c++.mostlyclean, - c++.clean, c++.distclean, c++.extraclean, c++.realclean, - c++.stage1, c++.stage2, c++.stage3, c++.stage4. - * cp/config-lang.in: New file, defines language name and other - configuration parameters for the c++ language: compilers, stagestuff, - and diff_excludes. - * g++.c: Move into cp subdirectory. - * g++.1: Ditto. - * g++int.texi: Ditto. - * cp-*: Ditto, remove "cp-" prefix except for cp-tree.h. - -Thu Apr 21 15:47:01 1994 Jim Wilson (wilson@cygnus.com) - - * sparc.c (mem_aligned_8): Don't assume addresses with - MEM_IN_STRUCT_P set are 8 byte aligned. - - * iris5.h (CPP_SPEC): Define _LANGUAGE_C for Objective C also. - - * unroll.c (find_splittable_givs): Share dest_reg for multiple - address givs within a single instruction. - (copy_loop_body): Only update psuedo-reg for shared giv once. - - * sparc.c (sparc_type_code): Don't put more than 30 bits of info - into the variable qualifiers. - - * expr.c (store_expr): Don't check the TYPE_MODE of an ERROR_MARK. - -Thu Apr 21 15:34:11 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - - * calls.c (calls_function_1): A language-specific code must - be assumed to call a function and also call alloca. - Check for inlined functions that call alloca. - - * reload1.c (reload): Clear forbidden_regs earlier. - (new_spill_reg): Mention in error message that asm clauses can also - cause the compiler to run out of spill regs. - (scan_paradoxical_regs): If SMALL_REGISTER_CLASSES, forbid - hard regs used in explicit user variables. - - * combine.c (can_combine_p, combinable_i3pat, try_combine): Allow - combination involving hard regs if the hard reg is a user variable. - - * gcc.c (default_compilers): If -E and the file is (e.g.) x.s, - don't run the assembler; similarly for .i, .ii, .adb, etc. - - * Cleanups related to adding prototypes to many declarations. - * rtl.h: If TREE_CODE undefined, make an incomplete union for tree. - (STDIO_PROTO): Define here if not already defined. - (read_rtx): Use STDIO_PROTO. - (output_constant_def, immed_real_const): Use "union tree_node *". - (immed_real_const_1): Move declaration to real.h. - (rtx_to_tree_code): Supply prototype. - * tree.h: If RTX_CODE undefined, make an incomplete struct for rtx. - Add some missing declarations of functions in stmt.c. - (STDIO_PROTO): Define here if not already defined. - * real.h: Add prototypes to declarations of functions in real.c. - (immed_real_const_1): Move declaration from rtl.h. - * output.h: Add missing declarations of functions in final.c. - (STDIO_PROTO): Don't define here. - * c-tree.h (STDIO_PROTO): Likewise. - * reload.h (PROTO, STDIO_PROTO): Likewise. - * bi-opcode.c (main): Don't write overly-long line. - * cse.c, emit-rtl.c: Use CONST_DOUBLE_FROM_REAL_VALUE macro for immed - real_const_1. - * expmed.c: Add prototypes for static functions. - * expr.c (bc_expand_expr): Call expand_decl and expand_decl_init, - not the bc_ versions. - * final.c: Include stdio.h and ctype.h early. - Add prototypes for static functions. - * function.c: Add prototypes for static functions. - (bc_expand_function_end, expand_function_end): Call new - expand_fixups instead of old fixup_gotos. - * global.c, local-alloc.c: Add prototypes for static functions. - * integrate.c: Likewise. - Use CONST_DOUBLE_FROM_REAL_VALUE macro for immed_real_const_1. - * optabs.c: Likewise. - * real.c: Make most functions static and add prototypes for - all static functions. - (GET_REAL, PUT_REAL): Cast parameter to proper pointer type in - some cases; use unsigned array. - * stmt.c: Add prototypes for static functions. - (expand_fixups): New function. - (fixup_gotos): Now static. - Don't call bc_fixup_gotos with wrong type (but now probably wrong - value). - (bc_*): Now static. - (expand_exit_loop_if_false): Call bc_expand_goto_internal with - proper null pointer. - (expand_decl_init): Call bc_expand_decl_init if writing bytecode. - -Thu Apr 21 14:21:56 1994 Ian Lance Taylor (ian@cygnus.com) +Thu Apr 27 08:56:50 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - Support taking the address of a text segment symbol when using - MIPS -membedded-pic. - * mips.h (embedded_pic_fnaddr_rtx): Declare. - (embedded_pic_offset): Declare. - (mips_finalize_pic): Declare. - (FINALIZE_PIC): Define. - (GO_IF_LEGITIMATE_ADDRESS): When using -membedded-pic, reject - combining an embedded PIC text reference with a register. - (ENCODE_SECTION_INFO): Under -membedded-pic set SYMBOL_REF_FLAG to - 0 for text segment symbols, 1 for data segment symbols. - * mips.c (embedded_pic_fnaddr_rtx): New variable. - (embedded_pic_offset): New function. - (mips_finalize_pic): New function. - (mips_select_section): When using -membedded-pic and not using - -fwritable-strings, put strings in the text section, not the read - only data section. - * mips.md (movsi): When using -membedded-pic, add special code - when loading a symbol directly to use an offset from the start of - the current function. - (get_fnaddr): New insn to get address of current function. - -Wed Apr 20 19:38:38 1994 Doug Evans (dje@cygnus.com) - - * regclass.c (init_reg_sets_1): Make static. - (init_reg_modes): New function. - (init_regs): Likewise. - * toplev.c (compile_file): Call init_regs after init_rtl. - (main): Delete call to init_reg_sets_1. - -Wed Apr 20 15:06:35 1994 Steve Chamberlain (sac@cygnus.com) - - * sh.c (REG_ODD): Allow DIs and DFs into odd registers. - (print_operand): New command char '@', change nop insn. - (synth_constant): Don't allocate temp reg during reload. - (expand_block_move): Don't expand if TARGET_SMALLCODE. - (prepare_split_double_ops): Deleted. - (howshift, multcosts): Work out costs exactly. - (dump_table): Emit a label before the align. - (hi_const): TARGET_SHORTADDR makes more things HI consts. - (machine_dependent_reorg): Look through SUBREGS. - (from_compare): Get better code when relational args are loaded - into regs now. - (expand_acall): Cope with TARGET_BSR. - (general_movdst_operand): Don't allow illegal autoincs. - (mac_operand): New function. - (sh_function_arg, sh_function_partial_nregs): From sh.h - * sh.h (PARANOID_BIT, RETR2_BIT, CONSTLEN0_BIT, BSR_BIT, - SHORTADDR_BIT, TARGET_PARANOID, TARGET_RETR2, TARGET_CONSTLEN0, - TARGET_BSR, TARGET_SHORTADDR, TARGET_SWITCHES): New options. - (OVERRIDE_OPTIONS): No function_cse when TARGET_BSR. - (FIRST_RET_REG): Depends on TARGET_RETR2. - (FUNCTION_ARG, FUNCTION_ARG_PARTIAL_NREGS): Moved to sh.c - (HAVE_POST_INCREMENT, HAVE_PRE_DECREMENT): Define. - (MODE_DISP_OK_8): Define. - (REG_OK_FOR_PRE_POST_P): Allow a pseudoreg. - (GO_IF_LEGITIMATE_ADDRESS): Allow DI addressing modes. - (MOVE_RATIO): Depends on TARGET_SMALLCODE. - * sh.md (interrupt_function): New attr. - (define_delay): Account for interrupt functions. - (addc): Describe pattern better. - (adddi3): Expanded better. - (peepholes): Deleted many obsolete patterns. - -Wed Apr 20 13:37:58 1994 Jason Merrill (jason@deneb.cygnus.com) + * tree.c (valid_machine_attribute): Update last change. - * expr.c (expand_expr): Don't force ignore when expanding the - subexpression of a WITH_CLEANUP_EXPR. Don't check ignore when - deciding whether or not to expand the cleanup for a TARGET_EXPR. +Thu Apr 27 08:06:33 1995 Philippe De Muyter (phdm@info.ucl.ac.be) -Wed Apr 20 12:20:16 1994 Doug Evans (dje@cygnus.com) + * fix-header.c, cpplib.c: Don't include twice. + * cpplib.c (cpp_grow_buffer, init_parse_file): Cast {xmalloc,xrealloc} + for token_buffer to U_CHAR* instead of char*. - * h8300/h8300.h (RTX_COSTS): Remove LSHIFT. - * h8300/h8300.md (lshrhi3_eight): Fix name. - (lshrhi3): Use it. - * i860/i860.c (safe_insn_src_p): Remove LSHIFT. - (single_insn_src_p): Likewise. - * i960/i960.c (i960_expr_alignment): Remove LSHIFT. - * sh/sh.c (output_shift, ASHIFTRT case): Do opposite shift as ASHIFT. - Delete LSHIFT case. - * sh/sh.h (RTX_COSTS): Remove LSHIFT, add LSHIFTRT. - * spur/spur.md (lshlsi3): Delete. + * m68k/x-mot3300: New file. + * configure (m68k-motorola-sysv*): Use x-mot3300 instead of x-alloca. -Wed Apr 20 06:40:15 1994 Philippe De Muyter (phdm@info.ucl.ac.be) +Thu Apr 27 07:04:09 1995 Paul Eggert - * c-lex.c (check_newline): Avoid unreachable statement when - HANDLE_SYSV_PRAGMA defined. + * cccp.c (do_include): Fix minor memory leak. -Wed Apr 20 01:52:24 1994 Steve Chamberlain (sac@mole.gnu.ai.mit.edu) + * cccp.c (struct argdata): Remove unused `comments' member. + (macarg): Don't set `comments' member. - * flow.c (find_auto_inc, try_pre_increment): Make sure - that insertion of autoinc addressing mode would yield a valid - instructon. + * cccp.c (collect_expansion): Assume leading white space + already removed. + Don't allocate unnecessary space for expansion. -Tue Apr 19 23:41:14 1994 Doug Evans (dje@cygnus.com) + * cccp.c (deps_output): Don't generate overly long output lines. + Do not invoke self recursively with spacer == 0; this simplifies + the code a bit. - * Makefile.in (expr.o): Depend on regs.h. - * rtl.h (choose_hard_reg_mode): Declare. - * regs.h (reg_raw_mode): Declare. - * caller-save.c (choose_hard_reg_mode): Delete from here. - * regclass.c (choose_hard_reg_mode): Define here. - (reg_raw_mode): Define. - (init_reg_sets_1): Initialize reg_raw_mode. - * expr.c: #include regs.h. - (use_regs): Use reg_raw_mode. - * reload1.c (emit_reload_insns): Record additional spill registers - in their intrinsic mode. - * combine.c (move_deaths): Record death information of remaining - registers in their intrinsic mode. - * sched.c (attach_deaths): Create partial register dead notes using - register's intrinsic mode. +Wed Apr 26 19:20:02 1995 Andrew McCallum -Tue Apr 19 21:40:57 1994 Mike Stump (mrs@cygnus.com) + * objc/Object.h: Changed Class * to Class in order to match NEXTSTEP + and OpenStep runtime. + * objc/Object.m, objc/Object.h, objc/archive.c, objc/class.c: Likewise. + * objc/encoding.c, objc/init.c, objc/objc-api.h, objc/objc.h: Likewise. + * objc/objects.c, objc/runtime.h, objc/selector.c: Likewise. + * objc/sendmsg.c, objc/typedstream.h: Likewise. - * toplev.c (lang_options): Add -fhandle-signatures for C++ - frontend. +Wed Apr 26 19:18:52 1995 Pieter Schoenmakers -Tue Apr 19 19:00:30 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * objc/objc-api.h (objc_static_instances): New struct to record + static instances of a certain class. + (objc_module): New tag STATICS to point to the table of + objc_statics_instances. - * cccp.c (do_error): Don't terminate. + * objc/init.c (OBJC_VERSION): Version 7. + (objc_init_statics): New function. + (__objc_exec_class): Invoke objc_init_statics if needed. -Tue Apr 19 17:48:41 1994 Hallvard B Furuseth (hbf@durin.uio.no) + * objc/NXConstantString.m, objc/NXConstantString.h: New files. + * objc/Makefile (OBJC_O): Added bare-bones implementation of + NXConstantString. - * gcc.c: Add new options -print-file-name= and -print-prog-name=. + * objc-act.c (OBJC_VERSION): Version 7. + (build_objc_string_object): Build a full declaration if not using + the next runtime. + (objc_add_static_instance): New function. + (init_module_descriptor): Add reference to static instances table. + (build_module_descriptor): Add field for static instances table. + (get_objc_string_decl): New function. + (generate_static_references): New function. + (finish_objc): Call generate_static_references if needed. - * gcc.c (struct switchstr): New field LIVE_COND. - (process_command): Initialize it. - (check_live_switch): New function. - (handle_braces): Call it. + * c-tree.h (finish_decl_top_level): New declaration. + * c-decl.c (finish_decl_top_level): New function. -Mon Apr 18 19:22:25 1994 Lee Iverson (leei@ai.sri.com) +Wed Apr 26 18:04:32 1995 Dirk Steinberg (Dirk.Steinberg@gmd.de) - * mips.h (RTX_COSTS): Remove LSHIFT. + * stddef.h: Treat _MACHINE_ANSI_H_ like _ANSI_H_. -Mon Apr 18 17:56:22 1994 Philippe De Muyter (phdm@info.ucl.ac.be) +Wed Apr 26 14:09:59 1995 Jim Wilson - * c-decl.c (duplicate_decls): Always warn when const declaration - follows non-const one for variables. + * sparc.h (NEGTF2_LIBCALL): Define. + (INIT_TARGET_OPTABS): Add support for all TFmode *_LIBCALL macros. + * optabs.c (init_optabs): Delete all uses of undocumented TImode and + TFmode *_LIBCALL macros. -Mon Apr 18 16:38:30 1994 Stephen R. van den Berg (berg@pool.informatik.rwth-aachen.de) + * combine.c (simplify_rtx, case TRUNCATE): Add. Use force_to_mode. + (force_to_mode, case AND): Allow some simplifications when GET_MODE (x) + has more bits than HOST_BITS_PER_WIDE_INT. + * mips/mips.md (truncdiqi2+[456]): Add patterns to simplify ZERO_EXTEND + of a TRUNCATE. - * calls.c (prepare_call_address): New arg REG_PARM_SEEN. - All callers changed. - (expand_call): Pre-load args if small reg classes and reg parms. - * expr.h (prepare_call_address): Extend prototype. - * expr.c (expand_builtin_apply): Pass new arg to prepare_call_address. +Wed Apr 26 13:01:22 1995 Doug Evans -Mon Apr 18 14:53:14 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * sparc.md (memop define_splits): Rewrite to not use memop. + Preserve MEM_IN_STRUCT_P, MEM_VOLATILE_P, RTX_UNCHANGING_P bits. + * sparc.c (memop): Deleted. + (splittable_symbolic_memory_operand): New function. + (splittable_immediate_memory_operand): New function. - * fold-const.c (const_binop): If arg is NaN, just return it - (fold_convert): Handle NaN in real->int and real->real cases. +Wed Apr 26 12:54:26 1995 Jeffrey A. Law - * c-lex.c (yylex): If FP value is NaN, use value of zero. + * configure: Add hppa1.1-hp-lites support. - * expr.h (PROMOTE_MODE): Don't supply default here. - (promote_mode): Add declaration. - * explow.c (promote_mode): New function. - * calls.c (expand_call): Use it. - * function.c (assign_parms, promoted_input_arg, expand_function_start): - Likewise. - * expr.c (expand_expr, case VAR_DECL, SAVE_EXPR): Likewise. - * stmt.c (expand_value_return, expand_decl): Likewise. +Wed Apr 26 08:04:46 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Mon Apr 18 11:36:04 1994 Jason Merrill (jason@deneb.cygnus.com) + * sh.md (ashrsi2_31): Don't use dead_or_set_p after reload. + * pyr.md: Remove bad peepholes that improperly use dead_or_set_p. - * Makefile.in (LIB2FUNCS): Change _op_vec_delete to _op_vec_del. - * libgcc2.c: Ditto. + * function.c (expand_function_end): Warn about unused parms + if both -Wunused and -W. -Mon Apr 18 11:19:07 1994 Jeffrey A. Law (law@snake.cs.utah.edu) + * tree.h (TYPE_PARSE_INFO): Delete unused field. + (TYPE_PACKED): Add new macro. + (struct tree_type): Delete unused field `parse_info'. + Add new field `packed_flag'. + * c-tree.h (finish_enum, finish_struct): Add ATTRIBUTES argument. + * c-common.c (init_attributes): Don't require decl for A_PACKED. + (decl_attributes, case A_PACKED): Set TYPE_PACKED for type. + * c-parse.in: Update number of shift/reduce conflicts. + (structsp): Pass attribute arg to finish_struct. + Support attributes on enums and pass to finish_enum. + * c-decl.c (finish_struct): Add ATTRIBUTES argument, call + decl_attributes and set DECL_PACKED from TYPE_PACKED. + (finish_enum): Add ATTRIBUTES argument, call decl_attributes, + and make enum narrow if TYPE_PACKED. + * print-tree.c (print_node): Print TYPE_PACKED. - * reorg.c (redirect_with_delay_list_safe_p): New function, - similar to redirect_with_delay_slots_safe_p. - (fill_slots_from_thread): Do not redirect a jump if doing - so would invalidate the delay list for the jump. + * c-decl.c (init_decl_processing): Don't give builtin__constant_p an + argument type. + * expr.c (expand_builtin, case BUILT_IN_CONSTANT_P): A pointer to a + string constant is a constant. -Mon Apr 18 03:09:30 1994 Doug Evans (dje@cygnus.com) + * c-typeck.c (output_init_element): Constructor is not simple if + a bitfield is being assigned a non-integer. - * scan-types.sh: Fix program's name in error message. - Rename dummy.c to avoid collisions in parallel makes. + * c-typeck.c (push_init_level): Update constructor_depth when we + push spelling level. -Sun Apr 17 18:29:00 1994 David Edelsohn (edelsohn@npac.syr.edu) +Tue Apr 25 19:50:06 1995 Jeffrey A. Law - * rs6000.h (PROCESSOR_COMMON, PROCESSOR_POWER, PROCESSOR_POWERPC): - New macros. - * rs6000.c (processor_target_table): Change "all" to "common". - Add "power" and "powerpc" generic processors. Explicitly turn off - new mnemonics for all members of the POWER architecture family. + * pa.c (emit_move_sequence): Handle function label arithmetic for + PIC code generation too. -Sun Apr 17 10:04:18 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Tue Apr 25 18:52:43 1995 Stephen R. van den Berg (berg@pool.informatik.rwth-aachen.de) - * tree.h (DECL_PRINT_NAME): Deleted. - (struct tree_decl): Field print_name deleted. + * reg-stack.c (current_function_returns_real): Deleted (unused). + (FP_mode_reg): Trimmed to a smaller size, less overhead. + (FP_MODE_REG): New macro over which FP_mode_reg will be accessed. + (mark_regs_pat, straighten_stack): New functions. + (reg_to_stack): Amend initialisation of FP_mode_reg. + Mark FP registers mentioned in USE insns before NOTE_INSN_FUNCTION_BEG. + (get_true_reg): Eliminate FP subreg accesses in favour of the + actual FP register in use. + (record_reg_life_pat): Make it work on SUBREGs as well. Make use of + the new mark_regs_pat function. Handle USE insns if called unnested. + (record_reg_life): Don't check for QImode again, we know that it + is there. Process CALL_INSNs like all other insns, they might `use' + some FP argument registers if register passing. + (stack_result_p): Changed in stack_result and returning an rtx. + (stack_reg_life_analysis): Take a new stackentry state argument. + Use stack_result and the rtx to mark using mark_regs_pat. This ensures + that types that need multiple FP registers are handled correctly. + Delete the no_live_regs shortcut to save space. + Use stackentry state to determine filled registers. + (replace_reg): Accept COMPLEX_FLOAT as well. + (move_for_stack_reg): Optimise away some pointer dereferencing. + (subst_stack_regs): Make sure the stack is in the right order + and of the right size for register passing. + (goto_block_pat): Make sure the stack is in the right order + to return possible multi-register values from the function. + (convert_regs): Fix comment about CALL_INSN, it's no longer valid. + Make sure the stack is of the right size and in the right order + to return possible multi-register values from the function. -Sun Apr 17 06:59:58 1994 Pat Rankin (rankin@eql.caltech.edu) + * function.c (assign_parms): If STACK_REGS is defined, generate USE + insns before the function body, thus showing which registers are filled + with parameters. + * expr.c (expand_builtin_apply_args): Likewise. + Reverse order of saving registers, more compact code for i387. + (expand_builtin_apply): Likewise. + * emit-rtl.c (gen_highpart): Add comment about broken implementation. + * i386.md (untyped_call): Make it return a complex double. - * vax.h (RTX_COSTS), vax.c (vax_rtx_cost): Remove LSHIFT case. + * c-parse.in (attrib): Permit null-length argument list to attributes. -Sun Apr 17 01:15:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu) + * tree.c (valid_machine_attribute): Use new function attribute_in_list, + makes sure type_attribute_variants are reused even when attributes have + parameters. + Assign any new type to TREE_TYPE (decl). + (attribute_in_list): New function. + (attribute_list_contained): Use it. + * tree.h (attribute_in_list): New declaration. - * function.c (locate_and_pad_parm): For ARGS_GROW_DOWNWARD, - Round sizetree for both upward and downward padding, nuke - the (now unnecessary) call to pad_below for arg_size_ptr. +Tue Apr 25 18:25:53 1995 Jim Wilson -Sat Apr 16 21:05:40 1994 David Edelsohn (edelsohn@npac.syr.edu) + * expr.c (struct move_by_pieces): Add to_struct and from_struct fields. + (move_by_pieces): Set to_struct and from_struct fields. + (move_by_pieces_1): Set MEM_IN_STRUCT_P of to1 and from1. + (expand_builtin, case BUILT_IN_MEMCPY): New variable type. + Set MEM_IN_STRUCT_P of src_mem and dest_mem. - * rs6000.md (one_cmplsi2): Always use nor instruction; - remove extraneous minus sign from condition register set constraint. + * Makefile.in (clean): Delete libgcc1-asm.a. -Sat Apr 16 17:12:40 1994 Philippe De Muyter (phdm@info.ucl.ac.be) + * m68k/vxm68k.h (CPP_SPEC): Define. - * m68k.c (print_operand): 'x' and 'y' mode letters only - if SUPPORT_SUN_FPA. - (print_operand_address): If (new) ASM_OUTPUT_CASE_FETCH defined, - use it to emit the address for the insn before a tablejump. - * m68k/mot3300.h (FUNCTION_ARG_PADDING, FUNCTION_PROLOGUE): Deleted. - (FUNCTION_EPILOGUE, PRINT_OPERAND, PRINT_OPERAND_ADDRESS): Deleted. - (SGS_SWITCH_TABLES, ASM_OUTPUT_CASE_END): Deleted. - (ASM_OUTPUT_FLOAT_OPERAND, ASM_OUTPUT_DOUBLE_OPERAND): Deleted. - (SGS_NO_LI, ASM_OUTPUT_CASE_FETCH, ASM_RETURN_CASE_JUMP): Defined. + * c-decl.c (pushdecl): Don't test DECL_EXTERNAL when deciding whether + to register a duplicate decl in the current block. - * configure (header_files): Use ${srcdir} instead of $(srcdir). + * cross64.h (INIT_ENVIRONMENT): Define as string not putenv call. + * gcc.c (main): Pass INIT_ENVIRONMENT to putenv. -Sat Apr 16 16:51:15 1994 DJ Delorie (dj@ctron.com) + * stmt.c (expand_return): When returning BLKmode structure in + registers, copy it to a psuedo-reg instead of to hard registers. - * objc/makefile.dos (OBJC_O): Add encoding.o. +Tue Apr 25 15:14:58 1995 Michael Meissner -Sat Apr 16 16:38:32 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * rs6000.h (LEGITIMIZE_ADDRESS): Don't create a DF address using two + regs if -msoft-float or -mcpu=403. - * c-lex.c (yylex): Turn off overflow flag when fixing up large - traditional hex constants. +Tue Apr 25 15:45:44 1995 Richard Henderson (richard@atheist.tamu.edu) - * c-decl.c (finish_decl): If asmspec_tree, clear DECL_BUILT_IN - for function and DECL_RTL always. + * m68k.md (divhi3, udivhi3, modhi3, umodhi3): Deleted + these insns plus some surrounding trash. + (divmodhi4, udivmodhi4): Added these insns. -Wed Apr 13 13:08:10 1994 Per Bothner (bothner@cygnus.com) +Tue Apr 25 10:12:40 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * toplev.c (compile_file): Never warn about unused static consts, - since it is reasonable to have those in header files. + * alpha.c (alpha_builtin_saveregs): Refine last change to work + for both stdarg and varargs. -Wed Apr 13 12:25:21 1994 Jason Merrill (jason@deneb.cygnus.com) + * tree.c (chain_member_purpose): Make similar to chain_member_value. - * varasm.c (contains_pointers_p): When examining a RECORD_TYPE, - only look at the FIELD_DECLs. + * Makefile.in, configure: Change "realclean" to "maintainer-clean". -Tue Apr 12 18:14:42 1994 Jason Merrill (jason@deneb.cygnus.com) + * protoize.c: Removed __NetBSD__ from conditional. + Declare strerror if HAVE_STRERROR is defined; otherwise + declare sys_errlist and sys_nerr. + (my_strerror): New function. + (errno): Don't define if already defined as a macro. + + * alpha.c (current_file_function_operand): Return false if profiling. - * Makefile.in (LIB2FUNCS): Add _op_vec_{delete,new}. + * expr.c (convert_move): Don't access a hard reg in an invalid + mode when doing a truncation. - * libgcc2.c (__builtin_vec_{delete,new}): New functions per the - latest C++ working paper. - (__default_new_handler): No longer static. - (__set_new_handler): Lose. - - * cccp.c: Don't implicitly wrap LOCAL_INCLUDE_DIR. - (struct default_include): Add cxx_aware field. - (include_defaults_array): Ditto. - (main): Use cxx_aware field. + * alpha.c (add_operand): Test for exactly the constants allowed by + the constraints. + * alpha.h (CONST_OK_FOR_LETTER_P, case 'L'): Reject 0x80000000. -Tue Apr 12 16:13:10 1994 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * c-parse.in (initdcl, notype_initdcl): Pass attributes to + start_decl; delete call to decl_attributes. + * c-tree.h (start_decl): Two new tree parameters. + * c-decl.c (start_decl): New args for attributes; call decl_attributes. - * config.sub (next): Fix typo in m68k-next-ns3 alternative. + * c-decl.c (duplicate_decls): Don't look at TYPE_ACTUAL_ARG_TYPES + if it is not set. -Tue Apr 12 07:41:17 1994 Michael Meissner (meissner@osf.org) + * xm-1750a.h: New file. - * i386/i386.c (notice_update_cc): Remove LSHIFT case, since there - is no LSHIFT rtl code any more. + * alpha.c (alpha_builtin_saveregs): Add to incoming args addr + if less than 6 named args, not less than or equal to. - * halfpic.h (NO_STDIO_H): Do not include stdio.h if this is defined. +Mon Apr 24 15:25:19 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Mon Apr 11 17:24:46 1994 Philippe De Muyter (phdm@info.ucl.ac.be) + * mips-tfile.c (fatal, error): Make first arg const to avoid warning. - * scan.c (get_token): Correctly increment lineno after - encountering #ident (or other #-directive). + * stmt.c (expand_end_bindings): Write a BARRIER after call + to abort in nonlocal handler. -Mon Apr 11 13:22:51 1994 Jim Wilson (wilson@cygnus.com) + * stmt.c (expand_decl_init): Call preserve_temp_slots to keep + around any temp whose address was taken. - * reorg.c (try_merge_delay_insns): Account for resources set/used - by a filled insn before trying to simplify insns in delay slots. +Fri Apr 21 16:26:15 1995 Torbjorn Granlund - * x-iris, x-iris3, x-mips, x-sony, x-sysv (OLDCC): Change -XNh1500 - to -XNh2000. + * pa.md (call_internal_reg): Fix typos in length calculation. + (call_value_internal_reg): Likewise. - * c-decl.c (finish_decl): Don't preserve initializer if it is - error_mark_node. +Fri Apr 21 13:17:15 1995 Roland McGrath - * reorg.c (try_merge_delay_insns): Move next_trial update - immediately after the try_split call. + * config/gnu.h (STANDARD_INCLUDE_DIR): New macro. + * config/mips/gnu.h (STANDARD_INCLUDE_DIR): Macro moved there. - * mips.c (mips_select_rtx_section, mips_select_section): New - functions. Prefer rdata when TARGET_EMBEDDED_DATA, and prefer - sdata otherwise. - * mips.h (MASK_EMBEDDED_DATA, TARGET_EMBEDDED_DATA): New macros. - (TARGET_SWITCHED): Add new option -membedded-data. - (SELECT_RTX_SECTION, SELECT_SECTION): Call function in mips.c. +Fri Apr 21 08:23:58 1995 Tom Quiggle (quiggle@lovelace.engr.sgi.com) - * Makefile.in (all.cross, rest.encap): Delete objc-runtime and - SYSCALLS.c.X. - (OBJC, OBJECTIVE-C): Add objc-runtime. - (proto): Add SYSCALLS.c.X. - (libgcc2.ready, libobjc.a, sublibobjc.a, SYSCALLS.c.X): Add - dependence on stmp-int-hdrs. + * toplev.c (lang_options): Add -I for GNAT. + * gcc.c (default_compilers): Pass -I to gnat1. - * cccp.c (rescan): Don't look for C++ // comment before directive. - Handle \-newline inside a C++ // comment. - (skip_if_group): Likewise. - (handle_directive): Also handle C++ // comment after #. Point - ip->bufp after the comment start before calling - skip_to_end_of_comment. - (validate_else): Handle \-newline inside a C++ // comment. - (skip_to_end_of_comment, macarg1, discard_comments): Likewise. +Fri Apr 21 07:58:06 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * varasm.c (immed_double_const): Sign-extend constants when they - have the most significant bit set for the target. + * tree.c (integer_all_onesp): Test to size of mode, not TYPE_PRECISION. -Mon Apr 11 06:20:56 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * toplev.c (main): Turn on -fforce-mem for -O2. - * reload1.c (reload): When accumulating needs, use nested - structures to simplify and speed up the code. + * fold-const.c ([lr]rotate_double): Replace; old versions were bogus. + (fold, shift and rotate): Don't call tree_int_cst_sgn on non-integer. + (fold, case LROTATE_EXPR): If constant count, convert to RROTATE_EXPR. + (fold, case RROTATE_EXPR): Sometimes commute logical op with rotate. + Delete pair of counteracting shifts. - * alpha.md (compare define_split): Fix bugs in last addition. + * combine.c (simplify_logical, case AND): If still an AND, get + new values for op0 and op1. - * calls.c (expand_call, emit_library_call{,_value}, store_one_arg): - Use convert_modes instead of convert_to_mode. +Thu Apr 20 17:52:10 1995 Jim Wilson - * tree.h (frame_size): Now a union. - (DECL_ALIGN, DECL_FRAME_SIZE, DECL_FUNCTION_CODE): Access proper - field of frame_size union. - (DECL_SET_FUNCTION_CODE): Simplified; retained for compatibility. - * c-decl.c (duplicate_decls, pushdecl, builtin_function): - Use DECL_FUNCTION_CODE instead of DECL_SET_FUNCTION_CODE. + * sh.c: Completely rewritten. + * sh.h (FAST_BIT, CONSTLEN_2_BIT, CONSTLEN_3_BIT, CONSTLEN_0_BIT, + TARGET_FASTCODE, TARGET_CLEN3, TARGET_CLEN0, TARGET_OPTIONS): Delete. + (TARGET_SWITCHES): Delete -mclen3 and -mclen0 options. + (TARGET_DEFAULT): Is zero. + (OVERRIDE_OPTIONS): Delete code to set max_count_si and max_count_hi. + (SPECIAL_REG): New macro. + (HARD_REGNO_MODE_OK): Allow any mode in any general register. + (GO_IF_LEGITIMATE_ADDRESS): Delete constant + reg address case. + (MOVE_RATIO): Define to 2 when TARGET_SMALLCODE. + (max_si, max_hi, max_count_si, max_count_hi): Delete. + * sh.md: Delete spurious constraints from all define_expands. + (rotlsi3_1): Set T reg instead of clobbering it. + (ashrsi3): Use expand_ashiftrt instead of gen_shifty_op. + (movsi_i, movhi_i, movsf_i): Add conditions to reject patterns + needing a reload. + (movdi-2, movdf_k): Correct conditions to reject patterns needing + a reload. + ([inverse_]branch_{true,false}): Pass operands to output_branch. + (jump): Delete unnecessary braces. + (call, call_value): Don't use expand_acall. Force operand0 into + a register. -Mon Apr 11 05:50:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) +Thu Apr 20 12:57:16 1995 Jason Merrill - * mips-tfile.c (update_headers): Do not copy stStatic symbols that - result from internal labels. + * function.c (assign_parms): Use TREE_ADDRESSABLE rather than + TYPE_NEEDS_CONSTRUCTING to decide whether a parameter needs to be + passed by invisible reference. -Sun Apr 10 07:13:24 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * calls.c (expand_call): Ditto. Abort if we try to pre-evaluate a + parameter of TREE_ADDRESSABLE type. - * rtl.def (LSHIFT): Deleted. - * combine.c, cse.c, function.c: No longer handle LSHIFT. - * genattrtab.c, loop.c, reload1.c: Likewise. - * expr.h (lshl_optab): Deleted. - * optabs.c (lshl_optab): Deleted. - (expand_binop, init_optabs): No longer reference it. - * genopinit.c, expmed.c (expand_shift): Likewise. +Wed Apr 19 17:50:24 1995 Torbjorn Granlund - * arm.c, arm.h, arm.md: Remove references to LSHIFT and lshlsi3. - * clipper.h, clipper.md, convex.h, convex.md, elxsi.md: Likewise. - * fx80.h, fx80.md, gmicro.md, i370.md: Likewise. - * m68k.c, m68k.h, m68k.md, m88k.c, m88k.md, ns32k.md: Likewise. - * rs6000.md, tahoe.md: Likewise. + * pa.h (TARGET_SWITCHES): Fix typo. - * combine.c (simplify_shift_count, case EQ): LSHIFT should be - LSHIFTRT. +Tue Apr 18 18:06:03 1995 Per Bothner -Sun Apr 10 04:48:37 1994 Jeffrey A. Law (law@snake.cs.utah.edu) + * expr.c (store_constructor): Use BYTES_BIG_ENDIAN rather + than BITS_BIG_ENDIAN to layout bits within bitstring. + * tree.c (get_set_constructor_bytes): Likewise. - * pa-ghiux.h (LIB_SPEC): Remove last change until we've got the - go ahead from HP to distribute /usr/lib/end.o. - * pa-ghpux.h, pa-hiux.h, pa-ghiux.h: Likewise. +Tue Apr 18 17:22:46 1995 Per Bothner (bothner@wombat.gnu.ai.mit.edu) -Sat Apr 9 15:06:22 1994 Christian Kranz (kranz@sent5.uni-duisburg.de) + * config/m68k/{x-hp320,x-hp320g} (FIXPROTO_DEFINES): + Define _HPUX_SOURCE so putenv and other functions get seen. - * config.sub: Add ns* as operating systems; default to ns2 for NeXT. - * configure (m68k-next-ns2*): New configuration. - * libgcc2.c: Include , not for NeXTStep 2.1. - * config/nextstep21.h, m68k/next21.h: New files. +Tue Apr 18 03:57:35 1995 Michael Meissner (meissner@cygnus.com) -Sat Apr 9 10:56:06 1994 Randy Wright (rwright@convex.com) + * varasm.c (weak_decls): Make this a unique structure, instead of + a tree structure. + (handle_pragma_weak): Don't redeclare asm_out_file. Use new weak + structure to copy name and value to. Protect name and value by + copying them to the permanent obstack. + (declare_weak): Call handle_pragma_weak, instead of duplicating + the code. + (finish_weak): Rewrite to use new weak symbols list structure. - * combine.c (force_to_mode, case ROTATE): Don't assume - simplify_binary_operation always returns CONST_INT. - (simplify_shift_const, case IOR, PLUS): Likewise. + * c-pragma.h: New file to define the c-pragma.c interfaces. + * c-pragma.c: Include it. + * varasm.c: Include it. + * c-lex.c: Include it. + * cp/lex.c: Include it. -Sat Apr 9 09:13:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) + * varasm.c (handle_pragma_weak): No longer pass output file + stream, since weak pragmas are delayed until the end of the + compilation. + * c-pragma.c (handle_pragma_token): Call handle_pragma_weak + without file stream argument. - * i386/sequent.h (STRUCT_VALUE{,_INCOMING,_REGNUM}): - Redefine for calling conventions of native cc. + * Makefile.in (varasm.o, c-lex.o, c-pragma.o): Add dependencies on + c-pragma.h. -Sat Apr 9 08:25:43 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * config/rs6000.md (movdf): If -msoft-float, do not generate + memory to memory references, like is already done for the + -mhard-float case. Remove an extra test for -mhard-float inside + of -mhard-float code. - * rs6000.h (FINAL_PRESCAN_INSN): Define. - * rs6000.c (rs6000_convert_preincs): New function. +Tue Apr 18 06:19:50 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * i386.md (mulhi3): Use SImode for MULT RTL. + * fold-const.c (size_int): Arg is unsigned HOST_WIDE_INT. + * tree.h (size_int): Likewise. - * fold-const.c (fold): Avoid exponential work when simplifying - conditional expressions; don't recurse twice if ARG1 is constant. +Mon Apr 17 23:36:57 1995 Jason Merrill - * function.c (unitialized_vars_warning, setjmp_args_warning): - Reword warning to be less ambiguous. + * rs6000/aix41.h: Restore March 11th changes, plus + (ASM_OUTPUT_EXTERNAL): Do add [DS] or [RW], just don't emit + anything. + * rs6000/aix3newas.h (ASM_OUTPUT_EXTERNAL): Ditto. - * c-typeck.c (convert_arguments): Truncate and reextend - for PROMOTE_PROTOTYPES so we can give error on overflow. +Mon Apr 17 15:58:52 1995 Per Bothner - * reload1.c (reload_conflicts): Rewrite to clean up and fix - numerous bugs; move to later in file. + * config/mips/x-iris (FIXPROTO_DEFINES): Add -D_LANGUAGE_C_PLUS_PLUS. + * config/mips/x-iris6: Likewise. - * c-decl.c (duplicate_decls): Put new type in same obstack as - old ones, or permanent if old ones in different obstacks. + * cpplib.c: Rename make_definition to cpp_define. + * cpplib.h (cpp_define): New declaration. -Fri Apr 8 18:18:18 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * cpplib.c (special_symbol): For T_SPECLINE, calculate __LINE__ + in enclosing file buffer, not current buffer (if macro expanding). + (cpp_get_token): Fix thinko (in code for chopping unneeded space). - * fold-const.c (fold, case GT_EXPR): Simplify X < (1 << Y) - into X >> Y == 0. +Mon Apr 17 11:36:07 1995 Jim Wilson -Fri Apr 8 11:23:51 1994 Ian Lance Taylor (ian@cygnus.com) + * abi64.h (CPP_SPECS): Define and use _ABI64 instead of + _MIPS_SIM_ABI64. + (SETUP_INCOMING_VARARGS): Set MEM_IN_STRUCT_P if big endian target. + * iris6.h (ASM_IDENTIFY_GCC, ASM_IDENTIFY_LANGUAGE): Define. - Add support for -membedded-pic to MIPS backend, to create - genuinely position independent code without using a global offset - table. Requires GNU as and ld. - * mips.h (MASK_EMBEDDED_PIC): Define. - (TARGET_EMBEDDED_PIC): Define. - (TARGET_SWITCHES): Add embedded-pic and no-embedded-pic. - (ASM_SPEC): Pass -membedded-pic to assembler. - (ASM_OUTPUT_ADDR_DIFF_ELT): If TARGET_EMBEDDED_PIC output a - difference, rather than using .gpword. - (ASM_OUTPUT_CASE_LABEL): Define. - * mips.md (casesi, casesi_internal): New instructions, used only - for TARGET_EMBEDDED_PIC. - * mips.c (override_options): For TARGET_EMBEDDED_PIC warn - if -mabicalls or -G were used, and set flag_pic and - mips_section_threshold. - (print_operand): Handle 'S' by printing a label with a leading LS. + * combine.c (get_last_value): Ignore BARRIER when scanning backwards. + (move_deaths): New variables before_dead and after_dead. Set them + to instructions that have valid INSN_CUID values and use in test. -Thu Apr 7 22:20:09 1994 Jim Wilson (wilson@mole.gnu.ai.mit.edu) + * combine.c (subst_prev_insn): New variable. + (try_combine): Set it. + (get_last_value): Use it. - * calls.c (emit_library_call_value): Move is_const set after ifdef. + * reload.c (find_reloads): Recompute reg_equiv_address from + reg_equiv_memory_loc before using it. + (find_reloads_toplev, make_memloc): Likewise. -Wed Apr 6 21:34:17 1994 Pat Rankin (rankin@eql.caltech.edu) + * expr.c (expand_builtin, case BUILT_IN_MEMCPY): Call force_operand + on dest_rtx before returning it. - * expr.c (expand_builtin, case BUILT_IN_NEXT_ARG): Test whether - an argunment has been passed to __builtin_next_arg; warn if not. + * function.c (instantiate_decls): Use temporary allocation if + DECL_DEFER_OUTPUT is set. -Wed Apr 6 17:28:44 1994 Per Bothner (bothner@kalessin.cygnus.com) +Sat Apr 15 23:19:03 1995 Jason Merrill - * toplev.c (lang_options): Add -f[no-]vtable-thunks (for C++). + * aoutos.h (ASM_OUTPUT_DEF): Define instead of SET_ASM_OP. + * sparc/sunos4.h (ASM_OUTPUT_DEF): Ditto. -Wed Apr 6 15:35:42 1994 Jim Wilson (wilson@cygnus.com) + * varasm.c (weak_finish): Don't handle aliases. + (declare_weak): Ditto. + (assemble_alias): Handle aliases. - * cccp.c (discard_comments): Replace comments with a single space. + * c-common.c (enum attrs): Add A_ALIAS. + (init_attributes): Ditto. + (decl_attributes): Ditto. - * Makefile.in (USER_H): Add $(srcdir)/ before every ginclude use. +Sat Apr 15 13:26:34 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * calls.c (emit_library_call_value): New variable is_const. Clear - it for functions that return an aggregate in memory. + * calls.c (expand_call): Call preserve_temp_slots on temps + made for BLKmode args returned in registers. - * configure (header_files): Prepend $(srcdir)/ginclude/ to each - element before substituting into the Makefile. Delete ginclude/ - at each point where we set header_files. + * pa.c (override_options): Fix typo. - * c-decl.c (finish_decl): Correct typo in use of tree_int_cst_sgn. +Sat Apr 15 12:11:46 1995 Brendan Kehoe -Wed Apr 6 07:39:47 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * alpha/alpha.c (output_epilog): Initialize fp_offset to 0, and + make sure it's non-zero before we try to use it to restore the + frame pointer. - * alpha.md: Add define_split to simplify "(unsigned) x > 0xffffff". +Fri Apr 14 19:45:05 1995 Jason Merrill - * toplev.c (lang_options): Group and alphabetize some options. + * ginclude/va-{clipper,pa,pyr,sparc,spur}.h (va_arg): Reorganize + to avoid BIND_EXPRs and COND_EXPRs of aggregate type. -Wed Apr 6 07:03:13 1994 Stephen R. van den Berg (berg@pool.informatik.rwth-aachen.de) +Fri Apr 14 19:31:14 1995 Roland McGrath - * function.c (push_function_context): Use current_function_varargs. - (pop_function_context): Likewise. - (assign_parms): Respect current_function_varargs. - Save args_so_far in any case. - * expr.c (expand_builtin): Allow builtin_next_arg for varargs - functions as well. - * function.h (struct function): New field for current_function_varargs. - * integrate.c (function_cannot_inline_p): Use current_function_varargs. - * va-alpha.h, va-m88k.h, va-sparc.h (va_dcl): Add ... to - set current_function_varargs. + * config/svr4.h (ASM_OUTPUT_SECTION_NAME): Make the section + read-only executable "ax" if DECL is a FUNCTION_DECL; read-only + "a" (previously the case always) if DECL is TREE_READONLY; + otherwise writable "aw". - * c-decl.c (warn_missing_declarations): New variable. - (c_decode_option): -Wmissing-declarations. - (start_function): Actually do the checking. - * toplev.c (lang_options): Add -Wmissing-declarations. +Fri Apr 14 18:49:11 1995 Linus Torvalds - * function.c (expand_function_start): Delay copying static chain. + * alpha.md (probe_stack): Probe with write, not read. + (allocate_stack): Update and correct stack probe code. + * alpha.c (output_prolog): Changed stack probe at function entry. - * calls.c (emit_library_call): Move the invocation of - prepare_call_address before the assignments of the function arguments. - (emit_library_call_value): Likewise. +Fri Apr 14 18:42:34 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * i386.h (DEBUG_PRINT_REG): Fix printing of coprocessor regs in QImode. + * jump.c (delete_insn): When deleting after label, delete + a BARRIER as well. -Wed Apr 6 06:42:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) +Fri Apr 14 14:40:48 1995 Jason Merrill - * mips-tfile.c (update_headers): Copy stStatic symbols from the old - local symbol table to the new local symbol table if they did not get - added via debugging psuedo ops. + * toplev.c (compile_file): Call weak_finish. -Wed Apr 6 06:36:05 1994 Philippe De Muyter (phdm@info.ucl.ac.be) + * c-common.c (enum attrs): Add A_WEAK. + (init_attributes): Ditto. + (decl_attributes): Support __attribute__ ((weak)) by + calling declare_weak. - * stdarg.h, varargs.h (__va_rounded_size): Round to multiple - of sizeof (short) on sysV68. + * sparc/sunos4.h (HANDLE_PRAGMA_WEAK, WEAK_ASM_OP, SET_ASM_OP): + Define to support weak symbols with -fgnu-linker. + * aoutos.h: Ditto. - * m68k.c (output_function_prologue): pea/move: Fix typos. - asm_fprintf("add%.[wl] ...): Undo previous change. + * varasm.c (handle_pragma_weak): Add declared weak symbols to + weak_decls rather than emitting them immediately. + (declare_weak): Add the indicated declaration to weak_decls. + (weak_finish): Emit .weak directives for any weak symbols. -Tue Apr 5 20:05:10 1994 Doug Evans (dje@cygnus.com) + * libgcc2.c: The C++ free-store management functions are weak. - * gcc.c (process_command): Add "include" prefix for [foo/]stageN. +Fri Apr 14 13:00:29 1995 Michael Meissner (meissner@cygnus.com) -Tue Apr 5 01:22:08 1994 Jeffrey A. Law (law@snake.cs.utah.edu) + * rs6000/rs6000.c (output_prolog): For eabi systems, emit main's + call to __eabi before setting up the minimal TOC used with the + -mrelocatable support. - * pa-ghiux.h (LIB_SPEC): Link in /usr/lib/end.o - * pa-ghpux.h, pa-hiux.h, pa-hpux.h (LIB_SPEC): Likewise. + * rs6000/eabi.h (INVOKE__main): Don't define any more, + output_prolog will emit the call. -Mon Apr 4 17:36:55 1994 Jim Wilson (wilson@mole.gnu.ai.mit.edu) +Fri Apr 14 09:09:03 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * final.c (final_scan_insn): Pass new arg, block num, to - sdbout_end_block. - * sdbout.c (sdbout_begin_block): Don't output block for function - level scope unless MIPS_DEBUGGING_INFO is defined. - (sdbout_end_block): Likewise. Add new parameter n for the block - number. + * alpha.c (call_operand): Any reg is valid for NT. + (output_prologue): Never need GP for Windows/NT. + Set SYMBOL_REF_FLAG in current function decl. - * calls.c (expand_call): If PCC_STATIC_STRUCT_RETURN defined, mark - function as addressable same time as we clear is_integrable. +Thu Apr 13 20:19:30 1995 Jason Merrill -Mon Apr 4 17:11:17 1994 Jason Merrill (jason@deneb.cygnus.com) + * alpha/xm-alpha.h (HAVE_VPRINTF): Define. + (HAVE_PUTENV): Define. + (POSIX): Define. - * Makefile.in (xsys-protos.h): Undefine __*_TYPE when - preprocessing fixtmp.c. - * fixincludes: Fix ptrdiff_t and wchar_t in system headers like we - do size_t. - * scan-types.sh: Use __WCHAR_TYPE__, __PTRDIFF_TYPE__, and - __SIZE_TYPE__. Still deduce size_t so that it can be used for - ssize_t if necessary. - * stddef.h (wchar_t): Always define as __WCHAR_TYPE__. - * cccp.c (special_symbol, case T_WCHAR_TYPE): Output "__wchar_t" - for C++. +Thu Apr 13 19:57:44 1995 Doug Evans -Sat Apr 2 08:14:02 1994 Michael Meissner (meissner@osf.org) + * emit-rtl.c (gen_sequence): If the insn has a non-null + CALL_INSN_FUNCTION_USAGE field, output it as a sequence so the + latter isn't discarded. - * i386/osfrose.h (FUNCTION_PROLOGUE, FUNCTION_PROFILER): Correct - code for -fpic ELF case. + * c-parse.in: Update expected conflict count. -Fri Apr 1 17:33:35 1994 Jason Merrill (jason@deneb.cygnus.com) +Thu Apr 13 08:10:20 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * fixproto: Add strncpy, strpbrk, strrchr, strspn, strstr, strtok - and strxfrm to the required list for string.h. + * configure.bat: Arg 2 is which machine (i386 or alpha). + * configure (alpha-*-winnt3*): New configuration. + * alpha.c: Don't #include stamp.h for WINNT. + (input_operand, case CONST): Allow ptr_mode and DImode. + * alpha.h (WINDOWS_NT): Provide default definition. + (ASM_OUTPUT_INT): Use output_addr_const. + (ASM_OUTPUT_ADDR_DIFF_ELT): Use .long for NT. + * alpha.md (calll, tablejump, movsi): New variants for NT. + * alpha/winnt.h, alpha/xm-winnt.h, alpha/x-winnt: New files. + * alpha/config-nt.bat, alpha/config-nt.sed: New files. + * i386/config-nt.bat: Add Ada fragments to Makefile. + * i386/config-nt.sed: Adjust for deletion of config.run in Makefile.in + Change version to 2.6.3. + Add some missing tabs. + * winnt/winnt.h (TARGET_MEM_FUNCTIONS): Define. + (LINK_SPEC): Delete "align:0x1000". + * winnt/xm-winnt.h (OBJECT_SUFFIX): Define. + * ginclude/stdarg.h, ginclude/varargs.h: Clean up code that + defines *DEFINED* symbols. -Fri Apr 1 01:05:53 1994 Jim Wilson (wilson@cygnus.com) + * configure (a29k-*-sym1*): Same as a29k-*-bsd*. + * a29k.h (ASM_OUTPUT_SECTION_NAME): New macro. - * configure: Change math-68881.h to ginclude/math-68881.h. - (EXTRA_HEADERS): Use | not / in sed command. - * math-68881.h, math-3300.h: Move to ginclude directory. +Wed Apr 12 14:36:03 1995 Jim Wilson - * libgcc2.c: Modify all uses of __attribute__ mode to use new - syntax. + * dbxout.c (dbxout_type_fields): Correct arguments to CHARS macro + in flag_minimal_debug case. + (dbxout_symbol_name): Use DECL_ASSEMBLER_NAME unconditionally. + * sdbout.c (sdbout_record_type_name): Correct indentation. + (sdbout_symbol): Use DECL_ASSEMBLER_NAME unconditionally. + (sdbout_one_type): Likewise. - * Makefile.in (USER_H): Files in ginclude now. Add stdarg.h, - stddef.h, varargs.h. - (all.cross, rest.encap): Move LIBGCC after stmp-headers. Add - objc-runtime, and SYSCALLS.c.X. - (for-bootstrap): Delete. - (OBJC, OBJECTIVE-C): Delete objc-runtime. - (proto): Delete SYSCALLS.c.X. - (*.o): Delete gvarargs.h dependencies. - (stmp-int-hdrs): Delete gvarargs.h, gstdarg.h, gstddef.h deps, and - code to copy them. +Tue Apr 11 13:24:13 1995 Per Bothner - * bc-emit.c: Change to . - * enquire.c, libgcc2.c, sys-types.h: Change "gstddef.h" to . - * gcc.c: Change "gstdarg.h" to and "gvarargs.h" to - . - * objc/Object.m: Change "gstdarg.h" to . - * objc/runtime.h, scan-types.sh: Change "gstddef.h" to . - Change "gstdarg.h" to . - * objc/hash.h, objc/objc.h, objc/sarry.h: Delete use of IN_GCC to - control stddef.h/gstddef.h include. - * cccp.c (pcfinclude): Modify comment referring to gstddef.h. - * sparc/sparc.h (CPP_PREDEFINES): Update GCC_NEW_VARARGS comment. - * i386/x-next, m68k/x-next (libgcc2.a, stdarg.h): Delete rules. - * fixincludes: Modify comment referring to gvarargs.h. - * cp/Makefile.in: Modify comments that refer to gvarargs.h and - gstddef.h. + * fix-header.c (main): Fix loop over required_functions_list. + (fatal): Also print inc_filename. - * gstdarg.h, gstddef.h, gvarargs.h: Move to ginclude directory - and strip off initial `g'. - * va-*.h, proto.h: Move to ginclude directory. + * cpplib.c (cpp_push_buffer): Added missing initializatuon of buf. + (cpp_file_buffer): Compare against CPP_NULL_BUFFER, not NULL. + (finclude): No longer call cpp_push_buffer - let callers do it. + (do_include): Add call to cpp_push_buffer. + (push_parse_file): Call cpp_push_buffer early, so initial + defines can use file and line from a valid cpp_buffer. + (nreverse_pending): New function. + (push_parse_file): Use nreverse_pending. + (push_parse_file): For -include files, just push them in reverse + order - we don't need to scan them now. + (cpp_error_from_errno, cpp_perror_with_name): Don't emit extra '\n'. -Thu Mar 31 19:49:17 1994 Jim Wilson (wilson@cygnus.com) +Tue Apr 11 13:36:44 1995 Jim Wilson - * sparc.h (SPARC_STACK_ALIGN): Use ~7 not 0xfffffff8 for portability. + * configure (mips-dec-mach3): Add. - * xcoffout.h (DBX_OUTPUT_MAIN_SOURCE_FILENAME): Disable. + * sh.c (shiftby_operand): Delete. + * sh.h (TARGET_SWITCHES): -m3 and -m3l also set SH2_BIT. + (OVERRIDE_OPTIONS): Don't add CPU_SH2 to CPU_SH3 when TARGET_SH3. + * sh.md (ashlsi3): Use nonmemory_operand as a predicate instead of + shiftby_operand. Don't use shiftby_operand in the output statement. + (lshrsi3): Likewise. - * sol2.h: Delete ifdefed out section defining *_SECTION_ASM_OP - macros. - ({CTORS,DTORS}_SECTION_ASM_OP) Delete definitions. - * sysv4.h (INIT_SECTION_ASM_OP): Don't set the alloc flag. - ({CTORS,DTORS}_SECTION_ASM_OP): Set execinstr flag. + * c-decl.c (poplevel): Do output inline function if + DECL_ABSTRACT_ORIGIN points to itself. - * dbxout.c (dbxout_type): Re-enable debugging output for anonymous - structures. Change all three places that refer to xrefs to use - exactly the same condition. + * varasm.c (output_constant): Cast assemble_string argument to char *. - * c-typeck.c (pop_init_level): Correct typo in use of - tree_int_cst_sgn. +Mon Apr 10 14:29:28 1995 Torbjorn Granlund - * mips.c (mips_rtx_classify, md_register_operand, - fpsw_register_operand, cmp2_op, uns_cmp_op, fcmp_op): Delete. - (mips_const_double_ok, mips_fill_delay_slot, output_block_move, - print_operand, function_epilogue): Don't treat gas differently - than native assembler. - (equality_op, cmp_op): Delete use of classify_op. - (override_options): Delete uses of mips_rtx_classify. - (final_prescan_insn): Simplify based on other changes. - * mips.h (mips_rtx_classify, cmp2_op, fcmp_op, - fpsw_register_operand, md_register_operand, uns_cmp_op, - classify_op, additive_op, divmod_op, unsigned_op, CLASS_*_OP, - NOTICE_UPDATE_CC): Delete. - (RTX_COSTS): Use different numbers for R3000/R6000/R4000. - (REGISTER_MOVE_COST): Use cost of 2 within same register class, 4 - for FP to GR copy, 6 otherwise. - (ADJUST_COST): Give anti and output dependencies zero cost. - (PREDICATE_CODES): Delete obsolete functions from list. - * mips.md (addsi3_internal): Don't output subtract. - (subsi3_internal): Don't output add. - (smulsi3_highpart, umulsi3_highpart): Add missing third operand to - mips_move_1word call. + * recog.c (constrain_operands, case 'E'): Make this work like + constraint character `F' when REAL_ARITHMETIC is defined. + * regclass.c (record_reg_classes, case 'E'): Likewise. + * reload.c (find_reloads, case 'E'): Likewise. -Thu Mar 31 12:09:42 1994 Ian Lance Taylor (ian@cygnus.com) +Mon Apr 10 14:30:31 1995 Michael Meissner - * longlong.h: Change RS/6000 macros to use PowerPC mnemonics when - using -mnew-mnemonics. + * rs6000/aix3newas.h, rs6000/aix41.h: Eliminate March 11th changes + to undefine ASM_OUTPUT_EXTERNAL{,_LIBCALL}, since this causes the + compiler not to bootstrap. -Wed Mar 30 17:37:16 1994 Frederic Pierresteguy (F.Pierresteguy@frcl.bull.fr) +Mon Apr 10 07:17:39 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * m68k/dpx2.h (NO_ASM_FMOVECR): Defined. - * m68k.c (standard_68881_constant_p): Return 0 if NO_ASM_FMOVECR - defined. + * cppalloc.c: #include config.h. + * cppexp.c: Add declarations of xmalloc and xrealloc. + (cpp_parse_expr): Cast args to bcopy to char *. + * cpphash.c: Add declaration of xmalloc. + * cpplib.c (init_parse_options, cpp_reader): Cast args to bcopy, + bcmp, and bzero to char *. + (add_import, push_parse_file, init_parse_file): Likewise. - * configure: Add case for rs6000-bull-bosx. + * c-common.c (enum attrs): New attribute, A_NOCOMMON. + (init_attribute): Initialize it. + (decl_attributes): Implement it. + * varasm.c (make_decl_rtl): Allow section attribute if -fno-common + or variable is not to be placed in common for some other reason. -Wed Mar 30 17:31:24 1994 Matthias Pfaller (leo@marco.de) + * combine.c (simplify_set): Don't move a SUBREG to dest if it + is changing the size of a hard reg in CLASS_CANNOT_CHANGE_SIZE. - * ns32k.c (global_symbolic_reference_mentioned_p): New parameter F. - (print_operand_address): When generating pic baseregisters are - only allowed if offset is CONST_INT. For {SYMBOL,LABEL}_REF - a indexregister has to be used instead. (sb) is no longer - emitted for constant absolute addresses. - (output_move_double): Use CONSTANT_P instead of CONSTANT_ADDRESS_P. - * ns32k.h (FUNCTION_PROLOGUE): use __GLOBAL_OFFSET_TABLE_, - not _GLOBAL_OFFSET_TABLE_. - (LEGITIMATE_CONSTANT_P, LEGITIMATE_PIC_OPERAND_P): Use - LEGITIMATE_PIC_OPERAND_P, not LEGITIMATE_CONSTANT_P, - to set current_function_uses_pic_offset_table. - (INDIRECTABLE_1_ADDRESS_P): Baseregisters are not legal - for {LABEL,SYMBOL}_REFS when emitting pic. - (GO_IF_INDEXABLE_ADDRESS): INDIRECTABLE_1_ADDRESSes are indexable too. - * ns32k/netbsd.h, ns32k/xm-netbsd.h: New files. - * configure (ns32k-pc532-netbsd*): New case, to use new files. + * reload.c (find_equiv_reg): If goal is a pseudo that got memory, + a store into memory makes it invalid. + * reload1.c (reload_as_needed): Call forget_old_reloads_1 on + pattern before reg elimination. -Wed Mar 30 16:39:24 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Mon Apr 10 00:26:14 1995 Jeffrey A. Law - * reload1.c (reload): Fix typo in previous change. + * pa.c (pa_reorg): Bump label use count for each entry in an + exploded ADDR_VEC. - * gcc.c (process_command, case 'B'): If name is "stageN/", - add "include" to system include prefix. +Sun Apr 9 09:22:51 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * bc-emit.c, calls.c, combine.c, emit-rtl.c, final.c, g++.c: - Include instead of "gstdarg.h"; similarly for varargs. - * genattrtab.c, mips-tfile.c, protoize.c, toplev.c, tree.c: Likewise. + * i386.md (adddi3, subdi3): Need scratch reg whenever operand 0 in + mem and operands 1 not '0'. + (subdi3): Don't treat two non-equal MEMs as non-aliasing. - * fold-const.c (strip_compound_expr): New function. - (fold): Call it; avoid exponential work when simplifying - binary op over a COND_EXPR. +Sat Apr 8 22:53:38 1995 Jeffrey A. Law - * cse.c (cse_insn): Add missing definition of var TEM; clean up - shadowed uses. + * pa.c (pa_reorg): Fix typo. - * sparc.c (sparc_type_code): Revise so it supports non-C types. +Sat Apr 8 19:36:36 1995 Michael Meissner -Wed Mar 30 14:52:26 1994 Jim Wilson (wilson@mole.gnu.ai.mit.edu) + * rs6000/rs6000.h (SELECT_SECTION): TREE_CODE_CLASS must be called + with a tree code, not a tree value. - * xm-alpha.h (string.h): Don't include when inhibit_libc is defined. +Sat Apr 8 12:41:01 1995 Mike Stump -Wed Mar 30 10:37:51 1994 Stan Coxs (coxs@dg-rtp.dg.com) + * cpphash.c: Don't use const on compilers that don't support it. - * m88k.md (movdf): Do not consider extended registers when doing - define_split. +Sat Apr 8 16:32:22 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Wed Mar 30 01:49:06 1994 Torbjorn Granlund (tege@cygnus.com) + * expr.c (expand_increment): Handle case where INCREMENTED + has a non-trivial conversion. - * config/m68k/m68k.c (output_move_double): Use `%.' where appropriate. +Fri Apr 7 19:33:21 1995 Phil Nelson (phil@cs.wwu.edu) -Tue Mar 29 10:46:18 1994 Jeffrey A. Law (law@snake.cs.utah.edu) + * ns32k.h (TRAMPOLINE_TEMPLATE, TRANSFER_FROM_TRAMPOLINE): + Fix assembler syntax errors. - * pa.h (ASM_OUTPUT_LABEL): TARGET_GAS no longer needs trailing colons. - (ASM_OUTPUT_INTERNAL_LABEL, ASM_OUTPUT_COMMON): Likewise. +Fri Apr 7 19:27:23 1995 Pat Rankin (rankin@eql.caltech.edu) - * pa.h (TARGET_PORTABLE_RUNTIME): Define. - (TARGET_SWITCHES): Add -mportable-runtime and -mno-portable-runtime. - (CUMULATIVE_ARGS): Now a "struct hppa_args" rathern than an int. - All references changed. - (INIT_CUMULATIVE_ARGS): Also initialize nargs_prototype. - (INIT_CUMULATIVE_INCOMING_ARGS): Define. - (FUNCTION_ARG_ADVANCE): Decrement nargs_prototype for each arg seen. - (FUNCTION_ARG): Handle TARGET_PORTABLE_RUNTIME. - (ASM_DECLARE_FUNCTION_NAME): Explicitly disallow argument relocations - for TARGET_PORTABLE_RUNTIME. - (ASM_OUTPUT_INT): Do not use a P% prefix for function references - if TARGET_PORTABLE_RUNTIME. + * cccp.c (VMS_fstat, VMS_stat): New functions. - * pa.md (high and lo_sum for function addresses): Provide alternate - definitions for TARGET_PORTABLE_RUNTIME. +Fri Apr 7 19:25:21 1995 Paul Eggert - * pa.c (output_arg_descriptor): Explicitly disallow argument - relocations for TARGET_PORTABLE_RUNTIME. + * cccp.c (collect_expansion): If traditional, set stringify + member to SHARP_TOKEN regardless of the value of + stringify_sharp_token_type. -Tue Mar 29 07:45:44 1994 Chris Smith (csmith@convex.com) +Fri Apr 7 07:48:35 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * convex.h (check_float_value): fix return type in extern. + * cse.c (simplify_unary_operation): #ifdef POINTERS_EXTEND_UNSIGNED, + handle sign- or zero-extending addresses. -Mon Mar 28 18:36:56 1994 Philippe De Muyter (phdm@info.ucl.ac.be) + * optabs.c (init{,_integral,_floating,_complex}_libfuncs): + Change SUFFIX to "char" to avoid confusion with prototype. - * m68k/mot3300.h (ASM_IDENTIFY_GCC): Define to be non-null. + * explow.c (convert_memory_address): No longer static. + New arg, TO_MODE. + Do something special for SYMBOL_REF, LABEL_REF, and CONST. + (memory_address): Add extra arg to call to convert_memory_address. + * rtl.h (convert_memory_address): Add extra arg. + * expr.c (expand_expr, case ADDR_EXPR): Always call + convert_memory_address when converting; add extra arg. + * stmt.c (expand_computed_goto): Convert from ptr_mode to Pmode. -Sun Mar 27 20:26:36 1994 Richard Stallman (rms@mole.gnu.ai.mit.edu) + * gcc.c (OBJECT_SUFFIX): Default now ".o", not "o". + (all specs): Remove "." before %O; use %O in a few missing cases. + * i386/os2.h (OBJECT_SUFFIX): Delete from here. + * i386/xm-os2.h (OBJECT_SUFFIX): Move to here; now has period. - * c-parse.in (attrib): Handle string args as expressions, - merging the two rules. `mode' attribute now takes a string arg. - Delete the rule for an identifier as arg. - * c-common.c (decl_attributes): `mode' attribute now takes string arg. + * Makefile.in (STAGESTUFF): Use $(exeext) for executables. -Sun Mar 27 14:42:39 1994 Doug Evans (dje@cygnus.com) +Fri Apr 7 03:32:29 1995 Richard Stallman - * c-parse.in (attrib): Back out last patch. + * config.sub: Accept -lites* as op sys. -Fri Mar 25 17:52:44 1994 Walter Misar (misar@rbg.informatik.th-darmstadt.de) +Thu Apr 6 23:08:50 1995 Per Bothner - * m68k.md (movsi): New strategy for moving small constants into dregs, - if it can't be done with moveq. - * m68k.h (CONST_COSTS): Reflect the change in m68k.md. + * cpplib.c (bcopy, bzero, bcmp): Remove #undefs. + * cppalloc.c (xcalloc): Re-implement using calloc, + rather than malloc+bzero. + * cpplib.c (SELF_DIR_DUMMY): New macro. + (do_include): Don't pass searchptr to finclude if it is dsp, + since that is on the stack, and would cause a dangling pointer. + If handling #include_next, recognize SELF_DIR_DUMMY. -Fri Mar 25 14:30:47 1994 Philippe De Muyter (phdm@info.ucl.ac.be) +Fri Apr 7 00:54:24 1995 Jeffrey A. Law - * m68k.md (call): If (new) MOTOROLA_BSR defined, try to emit 'bsr'. - * m68k/mot3300.h (MOTOROLA_BSR): Defined. + * pa.h (MACHINE_DEPENDENT_REORG): Define. + * pa.md (switch_jump): New pattern for jumps which implement + a switch table. + * pa.c (pa_reorg): New function to explode jump tables. + (pa_adjust_insn_length): Account for jumps in switch tables with + unfilled delay slots. - * m68k.c (output_function_prologue): Use link.w on 68040; - emit pea fp + movl sp,fp instead of linkw 0 for 68040. +Thu Apr 6 14:31:10 1995 Jason Merrill -Fri Mar 25 14:21:06 1994 Jim Meyering (meyering@idefix.comco.com) + * c-typeck.c (build_binary_op): Don't call common_type for + uncommon pointer types. - * bc-emit.c (bc_emit_bytecode): Remove decl of unused variable NPUSHES. - (bc_emit_instruction): Remove decl of unused variable LITERAL. - * c-aux-info.c (gen_decl): Remove decl of unused variable. - * c-common.c (truthvalue_conversion): Remove decl of unused CODE. - * c-decl.c (push_parm_decl): Move decl of unused variable OLDDECL - into #if 0 block. - (finish_enum): Remove decls of unused variables I and TEMPORARY. - * c-parse.in (primary): Remove decl of unused variable CONTEXT. - * c-typeck.c (convert_arguments): Remove decls of unused variables. - * collect2.c (putenv): Remove decl of unused variable STR_LEN. - (main): Remove decls of unused variables LEN and CLEN. - * combine.c (try_combine): Remove decls of unused variables. - (subst): Remove decls of unused variables ORIG_CODE. - (simplify_if_then_else): Remove decl of unused variable C2. - (make_compound_operation): Remove decl of unused variable COUNT. - (known_cond): Remove decl of unused variable NEW. - (make_field_assignment): Remove decl of unused variable OURDEST. - (simplify_and_const_int): Remove decls of unused variables. - (simplify_shift_const): Remove decl of unused variable INNER. - * cse.c (cse_insn): Remove decl of unused variable TEM. - * dbxout.c (dbxout_symbol): Remove decls of unused variables. - * emit-rtl.c (reset_used_flags): Remove decl of unused variable. - (gen_sequence): Remove decl of unused variable NEWVEC. - * enquire.c (f_rep): Remove decl of unused variable F1. - * final.c (output_source_line): Remove decl of unused variable. - * fix-header.c (read_scan_file): Remove decl of unused variable RPTR. - (write_rbrac): Remove decl of unused variable PARTIAL. - (main): Likewise. - * g++.c (main): Remove decl of unused variable FN. - * genattr.c (main): Remove decl of unused variable MAX_ISSUE_TIME. - * genattrtab.c (expand_units): Remove decl of unused variable. - * genrecog.c (break_out_subroutines): Remove decl of unused variable. - * global.c (global_conflicts): Move decl of unused variable I into - #if 0 block. - * integrate.c (save_for_inline_nocopy): Remove decls of unused vars. - (expand_inline_function): Remove two block-scope decls of unused - variable COPY. - * jump.c (invert_jump): Remove decl of unused variable OLABEL. - * loop.c (init_loop): Remove decls of unused variables. - (loop_optimize): Remove decl of unused variable END. - (combine_movables): Remove decls of unused variables. - (check_final_value): Remove decl of unused variable TEM. - (check_dbra_loop): Remove decls of unused variables. - (maybe_eliminate_biv): Remove decls of unused variables SET and V. - * reload.c (find_reloads_address): Remove two block-scope decls of - unused variable OLDREF. - * rtl.c (read_rtx): Remove decl of unused variable STRINGBUFSIZE. - * scan.c (get_token): Remove decl of unused variable QUOTE. - (get_token): Remove unused label AGAIN. - * sched.c (clear_units): Remove decl of unused variable UNIT. - (actual_hazard_this_instance): Remove decl of unused variable I. - (actual_hazard): Remove two block-scope decls of unused variable BEST. - (sched_analyze_1): Remove decls of unused variables OFFSET and BIT. - (sched_analyze): Remove decl of unused variable DEST. - (sched_note_set): Remove decl of unused variable J. - (create_reg_dead_note): Remove decl of unused variable BACKLINK. - (new_sometimes_live): Remove decl of unused variable I. - (schedule_block): Remove decls of unused variables LAST_NOTE and REGNO. - (schedule_insns): Remove decls of unused variables I and INSNS. - * sdbout.c (sdbout_symbol): Remove decl of unused variable LETTER. - (sdbout_type): Remove decl of unused variable TEM. - * toplev.c (compile_file): Remove unused label. - * tree.c (stabilize_reference_1): Remove decl of unused variable. - * unroll.c (unroll_loop): Remove decl of unused variable V. - (precondition_loop_p): Remove decls of unused variables. - (final_giv_value): Remove decl of unused variable CODE. +Wed Apr 5 13:53:17 1995 Per Bothner -Fri Mar 25 13:40:05 1994 Jeffrey A. Law (law@snake.cs.utah.edu) + Re-write fixproto/fix-header/etc to use cpplib: + * fix-header.c: Comment out support for adding missing extern "C" + using #ifdef ADD_MISSING_EXTERN_C instead of #if 0. + * fixproto: Removed case of required functions. Instead use ... + * fix-header.c (std_include_table): ... new required-functions table. + (cpp_file_line_for_message, cpp_print_containing_files, cpp_message): + New stub functions, to intercept cpplib error message. + * fixproto: Don't call $CPP, since fix-header now incorporates cpplib. + * gen-protos.c (fatal, hashf): New functions. + (main): Use hashf, instead of hash. + * scan-decls.c (scan_decls, skip_to_closing_brace): Re-write to + take a cpp_reader* as argument, not a FILE*. + * scan.h (hash): Make parameter const. + * scan.c (hash): Removed. + * scan.c (memory_full, xmalloc, xrealloc): Removed. + Use functions from cppalloc.c instead. + * Makefile.in (gen-prtos, fix-header, stmp-fixproto): Update. - * pa.h (DBX_REGISTER_NUMBER): Fix numerous bugs in handling - of FP registers and the SAR register. +Wed Apr 5 13:24:14 1995 Per Bothner -Fri Mar 25 12:46:56 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * cpplib.c (cpp_get_token): If traditional, return after comment, + instead of reading more, so end-of-line can be peeked at. + * cpperror.c (cpp_file_line_for_message, cpp_message): New + functions, that do the actual printing of error messages. + (cpp_print_file_and_line, cpp_error, cpp_warning, cpp_pedwarn, + cpp_error_with_line, cpp_warning_with_line, cpp_pedwarn_with_line, + cpp_pedwarn_with_file_and_line, cpp_error_from_errno, my_strerror, + cpp_perror_with_name): Re-write to use cpp_file_line_for_message + and cpp_message, and move to cpplib.c. - * i386.md (movhi, movqi): Properly recognize unsigned forms of -1 - for dec[bw] insns. +Tue Apr 4 23:35:49 1995 Roland McGrath - * expr.c (expand_expr, case ADDR_EXPR): Return const0_rtx if - taking address of an ERROR_MARK; also do some minor cleanup. + * config/gnu.h (GNU_CPP_PREDEFINES): Remove -D__HURD__. - * calls.c (expand_call): Don't require both -W and -Winline to say - that call can't be inlined. - Warn if inlining is tried but fails. +Tue Apr 4 17:15:54 1995 Jeffrey A. Law - * cccp.c (for_lint): Variable renamed from `lint'. + * pa.h (DO_GLOBAL_DTORS_BODY): Fix pointer -> integer assignment + problem. - * expr.c (expand_expr, case ABS_EXPR): Compare with 0 of proper mode. + * reorg.c (fill_simple_delay_slots): Don't use a JUMP_INSN + a the target of another JUMP_INSN to fill a delay slot. - * fold-const.c (fold, case *_DIV_EXPR): Correct result when - product of constants overflows. +Mon Apr 3 19:03:48 1995 Torbjorn Granlund - * alpha.c (output_prolog): Correctly compute floating-reg save - area offset. + * cse.c (simplify_unary_operation): Sign-extend constants when + they have the most significant bit set for the target. - * stmt.c (init_stmt_for_function): Clear stack_block_stack. + * m68k.md (umulsi3_highpart): Test for CONST_INT and CONST_DOUBLE, + not CONSTANT_P. + (smulsi3_highpart): Likewise. + * m68k.c (const_uint32_operand): New function. + (const_sint32_operand): New function. + * m68k.md (const_umulsi3_highpart): Use const_uint32_operand instead + of immediate_operand for op3. Delete mode. + (const_smulsi3_highpart): Analogous change. - * reload1.c (reload): Fix error in last change; only check - against group reloads and check all reloads. +Mon Apr 3 19:03:48 1995 Jim Wilson -Thu Mar 24 13:19:43 1994 Doug Evans (dje@cygnus.com) + * cse.c (simplify_binary_operation): Sign-extend constants when + they have the most significant bit set for the target. - * toplev.c (v_pedwarn_with_decl): Don't cause compilation to fail - from pedantic errors in system header files. + * combine.c (force_to_mode, case PLUS): Sign extend masks that are + negative in OP_MODE. + (simplify_and_const_int): Sign-extend constants when they have the + most significant bit set for the target. + (merge_outer_ops): Likewise. + (simplify_shift_const): Likewise. -Thu Mar 24 03:01:05 1994 Frederic Pierresteguy (F.Pierresteguy@frcl.bull.fr) +Mon Apr 3 18:23:48 1995 Jason Merrill - * config.sub: Add case for Bull dpx20. + * toplev.c (lang_options): Add -f{no-,}repo. - * config/m68k/dpx2.h (CPP_PREDEFINES): Fix typo. +Mon Apr 3 18:13:15 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Wed Mar 23 17:29:56 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * combine.c (nonzero_bits, case REG): Check POINTERS_EXTEND_UNSIGNED. + (num_sign_bit_copies, case REG): Likewise. + * explow.c (convert_memory_address): New function. + (memory_address): Call if it needed. + (promote_mode, case POINTER_TYPE): Use Pmode and pointer extension. + (allocate_dynamic_stack_space): Convert size from ptr_mode. + * expr.c (clear_storage, expand_assignment, store_{expr,constructor}): + Use ptr_mode instead of Pmode in some places. + (expand_expr, expand_builtin): Likewise. + (push_block, store_expr): Convert size to Pmode. + (expand_expr, case ADDR_EXPR): Convert from Pmode to ptr_mode. - * reload1.c (reload): Fix error in last change; compute MODE before - it's used. +Mon Apr 3 18:00:52 1995 Jim Wilson - * loop.c (get_condition): Exit if we don't recognize SET_SRC of - a SET that modifies OP0. + * explow.c (allocate_dynamic_stack_space): Correct typo in last + change. - * combine.c (simplify_rtx, case FLOAT_TRUNCATE): Simplify - case of (float_truncate (abs (float_extend X))). + * sh.c (gen_shifty_op, case ASHIFTRT): Return 0 if shift count is not + a constant. -Wed Mar 23 17:20:54 1994 Jim Wilson (wilson@cygnus.com) +Mon Apr 3 12:17:10 1995 Michael Meissner (meissner@cygnus.com) - * dbxout.c (dbxout_parms): For parameter living in psuedo-reg that - was optimized away, use declared type instead of passed type. + * expmed.c (extract_bit_field): When converting a SUBREG into a + REG, if the system is big endian, adjust the bit offset + appropriately. - * mips.c (mips_asm_file_start): Add comment on TARGET_GP_OPT code. +Mon Apr 3 00:08:45 1995 Roland McGrath - * c-decl.c (init_decl_processing): Change builtin_next_arg type so - that it accepts any parameter instead of none. - * cp/decl.c (init_decl_processing): Likewise. - * expr.c (expand_builtin, BUILT_IN_NEXT_ARG case): Verify that - parameter is last named argument. - * gstdarg.h (va_start): Pass LASTARG as a parameter to - builtin_next_arg. - * va-h8300.h, va-i860.h, va-i960.h, va-mips.h, va-sparc.h - (va_start): Likewise. - * va-alpha.h (va_start): Add call to builtin_next_arg. - * va-clipper.h, va-m88k.h, va-pa.h, va-sparc.h (va_start): - Likewise. + * config/i386/linux.h: Include "config/linux.h" instead of + "linux.h", to avoid recursion. -Tue Mar 22 18:57:54 1994 Jim Wilson (wilson@cygnus.com) +Sun Apr 2 23:50:27 1995 Roland McGrath - * iris5.h (MIPS_DEFAULT_GVALUE): Define to zero. - * mips.c (pic_address_needs_scratch): New function. - (override_options): Set flag_pic when TARGET_ABICALLS. - * mips.h (GO_IF_LEGITIMATE_ADDRESS): Also pretend that we have REG - plus CONST_INT addresses by deleting an else. - (CONSTANT_ADDRESS_P): When pic, don't accept addresses which are - symbol_ref plus a large integer. - (LEGITIMATE_PIC_OPERAND_P): Likewise. - (LEGITIMIZE_ADDRESS): When pic, convert addresses which are - symbol_reg plus a large integer, to reg plus a large integer. - (ASM_OUTPUT_ADDR_DIFF_ELT): Use .gpword instead of subtracting - labels. - * mips.md (movsi): Add special handling for constants which are - illegal addresses when pic. - (tablejump_internal1, tablejump_internal2): Emit .cpadd when - TARGET_ABICALLS. Adjust length to include .cpadd. + * config/i386/gnuelf.h: Include i386/linux.h instead of + i386/linuxelf.h. - * mips.h (TRAMPOLINE_TEMPLATE): Add `move $25,$3' for when - TARGET_ABICALLS. Delete padding for 64 bit case. Adjust offsets. - (TRAMPOLINE_SIZE): Increase from 9 to 10 words for 32 bit case. - (INITIALIZE_TRAMPOLINE): Increase offsets by 4 bytes for 32 bit case. +Sun Apr 2 17:35:10 1995 Jim Wilson -Tue Mar 22 15:46:42 1994 Michael Meissner (meissner@osf.org) + * cse.c (simplify_relational_operation): Don't simplify A-B for + compare of A and B when the compare is unsigned. - * i386/osfrose.h (HANDLE_PRAGMA_WEAK): Define in terms of - TARGET_ELF. - (ASM_OUTPUT_DEF): Provide a definition. +Sun Apr 2 08:23:38 1995 Paul Eggert -Mon Mar 21 15:56:58 1994 Per Bothner (bothner@cygnus.com) + * fixincludes (stdio.h): BSDI 2.0 changed the spelling of _VA_LIST_ + to _BSD_VA_LIST_. - * fix-header.c: Make sstring buf extern (rather than "common"). - -Mon Mar 21 17:45:56 1994 Doug Evans (dje@cygnus.com) +Sun Apr 2 07:57:28 1995 Richard Kenner - * configure: Accept and ignore --without-*. + * i386/xm-bsd386.h: New file. + * configure (i[345]86-*-bsd*): Add xm_file. -Mon Mar 21 17:05:25 1994 Jim Wilson (wilson@cygnus.com) + * gcc.c (default_compilers): Pass -W and -w to gnat1. - * dbxout.c (source_label_number): New variable. - (dbxout_source_file): Use it. Output an Ltext label. + * winnt/winnt.h (STDC_VALUE): Add #undef. + * i386/winnt.h (LIB_SPEC): Likewise. - * c-decl.c (duplicate_decls): When pedantic, warn when any static - declaraction follows a non-static. +Sun Apr 2 07:55:25 1995 Douglas Rupp (drupp@cs.washington.edu) - * sparc.md (seq, sne, sgt, slt, sge, sle): Add support - for !TARGET_HARD_QUAD. + * i386/winnt.h (RETURN_POPS_ARGS, ENCODE_SECTION_INFO): Call + chain_member_purpose, not chain_member_value. + (ASM_FILE_START, LIB_SPEC): Move to here. + * winnt/winnt.h (ASM_FILE_START, LIB_SPEC): Delete from here. + * tree.c (chain_member_purpose): New function. -Mon Mar 21 16:59:02 1994 Mike Collison (collison@chianti.sw.stratus.com) +Sat Apr 1 12:19:14 1995 Jason Merrill - * reload1.c (reload): More accurately compute nongroup needs. - (reloads_conflict): New function. + * c-typeck.c (build_binary_op): New variable build_type controls + type given to expression when created. Set to integer_type_node for + comparison ops instead of result_type so result_type still holds type + in which comparison is done. When checking for comparison between + signed and unsigned, use result_type rather than (possibly shortened) + type of op0. Don't warn about equality comparison of signed operand + to unsigned constant that fits in signed type. -Mon Mar 21 16:21:07 1994 Doug Evans (dje@cygnus.com) +Sat Apr 1 09:47:02 1995 Douglas Rupp (drupp@cs.washington.edu) - * libgcc2.c (__builtin_saveregs): Fix return type. + * i386/winnt.h (CPP_PREDEFINES): Add definitions for __stdcall + and __cdecl. + * winnt/winnt.h (LIB_SPEC): Add OLDNAMES.LIB. + * winnt/xm-winnt.h: Remove unneeded #define's for non-ANSI functions. + * fixinc.winnt: Remove unneeded fixes relating to __stdcall. -Mon Mar 21 07:37:13 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * objc/Makefile (SHELL): New definition. - * function.c (preserve_temp_slots): If argument is REG, see if it - is address of a temp slot we know about. - * expr.c (expand_expr, case ADDR_EXPR): Update temp slot address - if we put it in a register; mark result as pointer. +Sat Apr 1 08:25:26 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * cse.c (FIXED_REGNO_P): Treate global regs as fixed. - (CHEAP_REGNO): Renamed from CHEAP_REG. - (CHEAP_REG): New macro; user var in hard reg is cheap. - (COST): Pass RTL to CHEAP_REG, not regno. - (rtx_cost, case REG): Likewise. + * cse.c (cse_insn): When emitting a BARRIER, don't put it after + a deleted insn. -Sun Mar 20 19:38:44 1994 Stephen L Moshier (moshier@world.std.com) + * reload.c (push_reload): Initialize secondary_{in,out}_icode. - * m68k/news.h (PRINT_OPERAND): Print float infinity - and NaN's as +/-99e999. + * gcc.c (print_multilib_info): Don't use LAST_PATH if not set. -Sun Mar 20 17:42:09 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) +Sat Apr 1 08:15:59 1995 Pat Rankin (rankin@eql.caltech.edu) - * mips-tfile.c (update_headers): Align symbol table sections, - using ALIGN_SYMTABLE_OFFSET. Provide a default definition which - does no alignment. - * alpha.h (ALIGN_SYMTABLE_OFFSET): New macro. + * vax.md (extv, extzv): Don't use immediate value for operand 1. -Sun Mar 20 06:38:41 1994 Richard Earnshaw (rwe11@cl.cam.ac.uk) +Sat Apr 1 07:48:29 1995 Yury Shevchuk (sizif@botik.yaroslavl.su) - * emit_rtl.c (try_split): Rename third parameter as LAST. - Recursively call try_split for each new insn created. + * stmt.c (expand_asm_operands): Properly ignore invalid reg in clobber. - * combine.c (mark_used_regs_combine): Correct typo. +Sat Apr 1 07:02:24 1995 Paul Eggert -Sun Mar 20 06:28:23 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * cccp.c: General code cleanup. + Add prototypes for static functions. + Remove unnecessary casts to (char *); add casts to (U_CHAR *). + Add parentheses suggested by `gcc -Wparentheses'. + Rename local variables as suggested by `gcc -Wshadow'. + , , , : New includes. + , : Include only if defined(RLIMIT_STACK). + : Include, unless already does. + (HAVE_FCNTL_H, HAVE_STDLIB_H, HAVE_SYS_TIME_H): New symbols. + (HAVE_UNISTD_H, STDC_HEADERS, TIME_WITH_SYS_TIME): Likewise. + (__attribute__, PROTO, VA_START, PRINTF_ALIST, PRINTF_DCL): New macros. + (PRINTF_PROTO{,_1,_2,_3}, DO_PROTO): Likewise. + (bcopy, bzero, bcmp): If #defined by configuration file, use that. + If STDC_HEADERS is defined, use standard C functions. + If BSTRING is defined, or USG and VMS are not defined, use + the C library. Otherwise, use my_bcopy, my_bzero, my_bcmp. + (localtime): Remove no-longer-necessary explicit declaration. + (getenv, index, rindex): Don't declare explicitly if the + appropriate system header should declare it. + (fdopen): Remove no-longer-used declaration. + (vprintf): Define a subsitute macro if !defined(HAVE_VPRINTF). + (main): Replace `fdopen (dup (fileno (stdout)), "w"))' + with `stdout'. + (get_lintcmd, rescan, create_definition): Use bcmp instead of strncmp + when both operands are known to be free of null bytes. + (check_macro_name, compare_defs, collect_expansion): Likewise. + (do_assert, compare_token_lists, assertion_lookup, do_line): Likewise. + (skip_if_group, lookup): Likewise. + (rescan): Remove unused label `startagain'. + Abort instead of printing nonsense if the stack is corrupted + when there was an unterminated successful conditional. + (pcfinclude): Include explicit double-cast through GENERICPTR + to identify particularly egregious type puns. + (create_definition, do_define, check_macro_name): Use %.*s + printf format to avoid painful copying-and-casting. + (do_once): Return void, not (unused) int. + (do_ident, do_pragma, do_sccs): Accept extra arguments so that + all directive-handler's types match. + (do_sccs): Define only if SCCS_DIRECTIVE is defined. + (skip_if_group, dump_single_macro): Add `default: break;' to + keep -Wswitch happy. + (error, warning, error_with_line, vwarning_with_line, pedwarn): Use + stdarg/vararg/vfprintf instead of passing bogus char * args around. + (pedwarn_with_line, pedwarn_with_file_and_line, fatal): Likewise. + (verror, vwarning, verror_with_line, vwarning_with_line): New fcns. + (dump_single_macro): Abort if ap points to garbage. + (make_definition, make_undef, make_assertion): Parameter now char *. + (xmalloc, xrealloc, xcalloc, savestring, index0): Make sizes size_t + instead of unsigned; make pointer parameters GENERICPTR, not char *. + (xcalloc): Use bzero to clear memory instead of using own loop. + +Fri Mar 31 08:33:07 1995 Ken Raeburn (raeburn@wombat.gnu.ai.mit.edu) + + * longlong.h (umul_ppmm mc68000): Use %# instead of #. + +Fri Mar 31 06:37:54 1995 Michael Meissner (meissner@cygnus.com) + + * stor-layout.c (layout_decl): Implment -fpack-struct. + (layout_record): Ditto. + + * flags.h (flag_pack_struct): New flag variable. + + * toplev.c (flag_pack_struct): New flag variable. + (f_options): Add -fpack-struct support. + + * Makefile.in (stor-layout.o): Add flags.h dependency. + +Fri Mar 31 08:40:16 1995 Douglas Rupp (drupp@cs.washington.edu) + + * configure (i[345]86-*-winnt3*): Add tmake_file. + * i386/x-winnt (winnt.o): Deleted. + * i386/t-winnt: New file. + +Fri Mar 31 07:26:37 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * m68k/netbsd.h, m68k/hp3bsd44.h: Remove #include of machine/ansi.h. + + * configure (a29k-*-bsd): Set tmake_file to t-libc-ok. + + * stmt.c (expand_asm_operands): Properly handle output that can't + be directly written into. + + * c-parse.in (structsp): Correct error in last change. + * c-common.c (init_attributes): A_FORMAT is only for decls. + +Thu Mar 30 18:27:34 1995 Jason Merrill + + * libgcc2.c: Remove explicit 0-initializations of static variables. + +Thu Mar 30 18:22:39 1995 Fergus Henderson + + * c-typeck.c (internal_build_compound_expr): Warn if LHS of comma + expression has no side effects, or computes value which is not used. + * stmt.c (make warn_if_unused_value): No longer static. + * tree.h (warn_if_unused_value): Add declaration. + +Thu Mar 30 18:15:11 1995 Jim Wilson + + * combine.c (get_last_value): Revert back to use prev_nonnote_insn + instead of prev_real_insn. Modify test that ignores USE insns. + + * rs6000.h (SELECT_SECTION): Apply constant DECL_INITIAL test + only to DECLs. + + * explow.c (allocate_dynamic_stack_space): Test STACK_BOUNDARY against + BIGGEST_ALIGNMENT at run time instead of at compile time. + Give MUST_ALIGN macro a value, and test this value in if statements. + +Thu Mar 30 08:59:56 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * c-parse.in: Now have 27 shift/reduce conflicts. + (attribute_list): Just make chain of all attributes. + (attrib): Consistently put name as PURPOSE, args, if any, as VALUE. + (structsp): Allow attributes on any struct or union. + * c-common.c (enum attrs): New enum class. + (attrtab, attrtab_idx): New variables. + (add_attribute, init_attributes): New functions. + (decl_attributes): Major rewrite. + * tree.c (valid_machine_attribute): Now receive name and args. + +Thu Mar 30 07:20:14 1995 Paul Eggert + + * protoize.c: Use the phrase `preprocessing directive' consistently. + * cccp.c (handle_directive, do_line, skip_if_group): Likewise. + (output_line_directive): Renamed from output_line_command. + (no_line_directives): Renamed from no_line_commands. + + * cccp.c (rescan): Don't recognize preprocessing directives + within macro args. Warn if one is found. + +Thu Mar 30 06:20:36 1995 H.J. Lu (hjl@nynexst.com) + + * configure (i[345]86-*-linux*): Set xmake_file=x-linux, + tm_file=i386/linux.h, and don't set extra_parts. + (i[345]86-*-linux*aout*): New configuration. + (i[345]86-*-linuxelf): Deleted. + * config/linux{,-aout}.h, config/x-linux, config/xm-linux.h: New files. + * config/i386/linux-aout.h: New file. + * config/i386/linux.h: Extensive modifications to use ELF format + as default. + (LIB_SPEC): Don't use libc_p.a for -p. don't use libg.a + unless for -ggdb. + (LINUX_DEFAULT_ELF): Defined. + * config/i386/linuxelf.h,config/i386/x-linux: Files deleted. + * config/i386/xm-linux.h: Just include xm-i386.h and xm-linux.h. + +Wed Mar 29 19:09:36 1995 Mike Stump + + * libgcc2.c (__throw_type_match): Update to use new calling convention. + +Wed Mar 29 14:53:23 1995 Jim Wilson + + * gcc.c (process_command): Delete code modifying gcc_exec_prefix. + (main): Put it here after last use of gcc_exec_prefix. For cross + compiler, set startfile_prefixes if gcc_exec_prefix is set and + standard_startfile_prefix is a relative path. - * vax.h (CHECK_FLOAT_VALUE): Add missing continuation character. - * tree.c (build_real): Add `overflow' var; pass to CHECK_FLOAT_VALUE. + * combine.c (make_compound_operation, AND case): Undo July 7, 1994 + change. -Sat Mar 19 17:44:14 1994 Jim Wilson (wilson@cygnus.com) + * mips/mips.md (call_internal1, call_value_internal1): Move %* from + start of assembler output to immediately before the jal. - * expr.c (expand_expr, case ABS_EXPR): Fix typo in last change. + * mips/mips.c (function_prologue): Put SDB_DEBUGGING_INFO ifdef around + code for SDB_DEBUG support. + (mips_select_rtx_section, mips_select_section): Change rdata_section + to READONLY_DATA_SECTION and sdata_section to SMALL_DATA_SECTION. + * mips/mips.h (SMALL_DATA_SECTION): Define. + + * reorg.c (mark_referenced_resources): Make setjmp use all registers. + + * flow.c (mark_used_regs, case SUBREG): Only fall through to REG case + if operand is a REG. + + * i960/i960.h (TARGET_SWITCHES): Make -mold-align set + TARGET_FLAG_STRICT_ALIGN. + (STRICT_ALIGNMENT): Test TARGET_STRICT_ALIGN. + + * sh/sh.c (andcosts): Modify costs to match the hardware, and add + explanatory comments. + + * sparc/sol2.h (CPP_PREDEFINES): Add -D__SVR4. + +Wed Mar 29 14:30:30 1995 Michael Meissner + + * rs6000/rs6000.md (movsf): When moving to/from integer registers, + don't move floating point to memory if it is being simulated with + -msoft-float. + +Wed Mar 29 06:47:36 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * c-parse.in (initdcl): Only call decl_attributes once. + * c-common.c (decl_attributes): Clean up test for __mode__. + +Tue Mar 28 08:34:37 1995 John Hassey (hassey@dg-rtp.dg.com) + + * i386.md (adddi3): Don't treat two non-equal MEMs as non-aliasing. + +Tue Mar 28 08:20:49 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * a29k.h (CONSTANT_ADDRESS_P): Provide consistent definition. + +Tue Mar 28 07:26:41 1995 Paul Eggert + + * cccp.c (do_xifdef, do_endif): Remove unnecessary pointer comparisons. + +Mon Mar 27 20:45:15 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + + * calls.c (expand_call, store_one_arg): Don't set KEEP in calls + to assign_stack_temp. + * function.c (preserve_temp_slots): Clear ADDR_TAKEN on item + that we are preserving. + +Mon Mar 27 14:39:35 1995 Ian Lance Taylor + + * mips/mips.h (FIRST_PSEUDO_REGISTER): Increment. + (FIXED_REGISTERS, CALL_USED_REGISTERS): Add new register. + (MD_REG_LAST): Increment. + (ST_REG_FIRST, ST_REG_LAST): Increment. + (HILO_REGNUM): Define. + (enum reg_class): Add HILO_REG. + (REG_CLASS_NAMES): Add "HILO_REG". + (REG_CLASS_CONTENTS): Add HILO_REG initializer, and adjust ST_REGS + and ALL_REGS initializers. + (SECONDARY_RELOAD_CLASS): Remove. + (SECONDARY_INPUT_RELOAD_CLASS): Define. + (SECONDARY_OUTPUT_RELOAD_CLASS): Define. + (REGISTER_MOVE_COST): Treat HILO_REG as MD_REGS. + (REGISTER_NAMES): Add initialization line. + (DEBUG_REGISTER_NAMES): Add "accum". + * mips/mips.md: For each instruction which sets HI or LO, clobber + HILO_REGNUM with (clobber (match_scratch:MODE N "=a")). Change + each explicit reference to register 66 to register 67. + (mulsidi3): Change to define_expand. + (mulsidi3_internal): New name of old mulsidi3. + (mulsidi3_64bit): New insn. + (umulsidi3): Change to define_expand. + (umulsidi3_internal): New name of old umulsidi3. + (umulsidi3_64bit): New insn. + (madddi_64bit, umaddi_64bit): New insns. + (movdi_internal2): Add case for setting HILO_REG to zero. + (reload_indi, reload_outdi): New define_expands. + (movsi_internal1, movsi_internal2): Add cases for setting MD_REGS + to zero, and for setting a general reg to HILO_REG. + (reload_outsi): New define_expand. + * mips/mips.c (mips_reg_names): Add "accum". + (mips_sw_reg_names): Likewise. + (mips_regno_to_class): Map HILO_REGNUM to HILO_REG. + (mips_move_1word): Handle moving HILO_REGNUM to a general + register. Make sure that the normal MD_REG cases aren't used for + HILO_REGNUM. Handle moving zero to a MD_REG. + (mips_move_2words): Make sure that the normal MD_REG cases aren't + used for HILO_REGNUM. Handle moving zero to a MD_REG. + (override_options): Set mips_char_to_class for 'a' and 'b'. + (mips_secondary_reload_class): Add in_p argument. Handle + HILO_REGNUM. + +Mon Mar 27 07:16:05 1995 Warner Losh + + * gcc.c: Removed __NetBSD__ from conditional. + Declare strerror if HAVE_STRERROR is defined; otherwise + declare sys_errlist and sys_nerr. + (my_strerror): New function. + +Fri Mar 24 18:08:14 1995 Jason Merrill + + * i386/linux.h (LIB_SPEC): Don't try to link with libraries we + know only exist in archive form unless -static. + +Fri Mar 24 16:12:16 1995 Doug Evans + + * Makefile.in (multilib.h): Depend on Makefile, not config.status. + +Fri Mar 24 15:01:17 1995 Michael Meissner + + * rs6000/rs6000.h (TARGET_MULTIPLE_SET): New target_flags bit that + indicates -mmultiple or -mno-multiple was explicitly passed by the + user, and not set as part of the cpu defaults. + (TARGET_SWITCHES): Set TARGET_MULTIPLE_SET bit for both -mmultiple + and -mno-multiple. + + * rs6000/rs6000.c (rs6000_override_options): If -mmultiple or + -mno-multiple was explicitly used, don't override the setting with + the processor default. + +Wed Mar 22 21:42:13 1995 Doug Evans + + * i960/i960.c (i960_function_arg_advance): Ensure all regs marked + as used if stack is also used (for va_start). + (i960_setup_incoming_varargs): Rewrite to be similar to Intel's + version, but don't allocate reg block unless necessary. + * ginclude/va-i960.h (varargs va_start): Save g14 explicitly. + Account for arguments preceding va_alist. + +Wed Mar 22 13:24:55 1995 Torbjorn Granlund + + * pa.c (singlemove_string): Handle SFmode constants again. Simplify. + (zdepi_cint_p): Make some variables HOST_WIDE_INT. + (lhs_lshift_cint_operand): Likewise. + (output_and): Likewise. + (output_ior): Likewise. + +Wed Mar 22 12:40:09 1995 Jim Wilson + + * sh.md (udivsi3): Don't clobber register 6. + (udivsi3, divsi3, mulsi3_call): Use a pseudo-reg with regclass 'z' + for output rather than hard register 0. + (block_move_real): Don't clobber registers 4 and 5. + + * mips.c (mips_select_section): Apply constant DEC_INITIAL tests + only to VAR_DECLs. + +Wed Mar 22 03:53:17 1995 Richard Stallman + + * config.sub (rm400, rm600): New machine names. + (sinix5.*, sinix): New os aliases. + (mips-siemens): Default os to sysv4. -Sat Mar 19 17:13:47 1994 Richard Earnshaw (rwe11@cl.cam.ac.uk) +Mon Mar 20 21:56:47 1995 Per Bothner - * combine.c (newpat_used_regs): New variable. - (mark_used_regs_combine): New function. - (try_combine): Use them. - (reg_dead_at_p): Registers marked in newpat_used_regs must always be - considered to be live. + Merged Paul Eggert's patch to cccp.c of Wed Mar 8 18:21:51 1995: + * cpplib.c (do_include): Fix type typo: pcfbuflimit is char *, not int. + + Merged Doug Evans' patch to cccp.c of Mon Feb 27 17:06:47 1995: + * cpplib.c (do_include): Check for redundant file before opening in + relative path case. Don't call fstat unnecessarily. -Sat Mar 19 06:29:38 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + Merged J.T. Conklin's patch to cccp.c of Wed Feb 22 20:29:31 1995: + * cpperror.c: Removed __NetBSD__ from conditional. - * c-parse.in (attrib): Use `identifier' instead of `IDENTIFIER' - since names that are (e.g.) typedef names are still OK. + Merged Kenner's patch to cccp.c & cexp.y of Tue Sep 20 17:49:47 1994: + * cppexp.c (struct operation): Make value by HOST_WIDE_INT. + (cpp_parse_expr): Change return type to HOST_WIDE_INT. + * cpplib (eval_if_expr): Likewise. + (do_if, do_elif): Update appropriately. + * cpplib.h (cpp_parse_expr): Removed, to avoid defining HOST_WIDE_INT. - * m68k/next.h (GO_IF_INDEXABLE_BASE): Make compatible with m68k.h. + Merged Paul Eggert's patch to cccp.c of Mon Aug 8 19:42:09 1994: + * cpplib.c (create_definition): Warn about `#define a@', since a + diagnostic is now required (see ISO TC1's addition to subclause 6.8). + Also warn about `#define is-empty(x) (!x)'. - * genoutput.c (output_epilogue, insn_names): Write correct names - for patterns before first named pattern. +Tue Mar 21 00:10:50 1995 Jeffrey A. Law - * nextstep.h (SELECT_SECTION): Fix typo (arg names) in last change. + * x-pa (CC): Add "-Dbsd4_4". - * c-decl.c (grokdeclarator): Use signed version of `sizetype' for - type of array index. +Mon Mar 20 18:40:31 1995 Per Bothner -Sat Mar 19 06:25:39 1994 Stephen L Moshier (moshier@world.std.com) + * toplev.c (print_error_function): New function hook. + (default_print_error_function): New function. Default value + of print_error_function. Code moved here from report_error_function. + (report_error_function): Use print_error_function hook. - * fold-const.c (const_binop): Avoid initialized aggregate - local variables, for antique compilers. +Mon Mar 20 20:27:43 1995 Doug Evans -Fri Mar 18 18:43:28 1994 Jim Wilson (wilson@cygnus.com) + * cccp.c (do_xifdef): Handle c++ comments. + (do_endif): Likewise. - * i386/osfrose.h (SELECT_SECTION): Variables go in readonly data - only if the initializer is constant. - * i386/svr3gas.h, m88k/m88k.h, mips/mips.h, nexstep.h, - rs6000/rs6000.h, sparc/sparc.h, svr3.h, svr4.h, vax/vms.h - (SELECT_SECTION): Likewise. - * varasm.c (assemble_variable): Likewise. +Mon Mar 20 15:31:45 1995 Jason Merrill -Fri Mar 18 17:54:12 1994 David Edelsohn (edelsohn@npac.syr.edu) + * configure (i386 configurations): Prepend i386/ to t-crt*. - * rs6000.md (divmodsi4, udivsi3, divsi3, udivmodsi4): Add AIX - common-mode cases. - (mulh_call, mull_call, divss_call, divus_call, quoss_call, quous_call): - AIX common-mode call patterns. - (ashlsi3): More TARGET_POWERPC to ! TARGET_POWER changes. - (addsf3, subsf3, mulsf3, divsf3, etc.): Change TARGET_POWER - to ! TARGET_POWERPC. - (fix_truncdfsi2): Use POWER/2 and PowerPC FP convert instruction. - (fpcvtsi): New pattern. - (mulsidi3): Add AIX common-mode case, add imul attribute to POWER - pattern, add PowerPC pattern, flag input operands as commutative. - (smulsi3_highpart): Add AIX common-mode case. - (movsi matcher): Add mtjmpr attribute to ! TARGET_POWER case. - (movsf): Clean up load from memory or integer register test. - (movdi matcher): Add FP register support. +Mon Mar 20 07:58:04 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * rs6000.c (common_mode_defined): New variable. - (output_prolog): Define external common-mode calls. + * stmt.c (fixup_gotos): Add missing call from last change. - * rs6000.h (HARD_REGNO_MODE_OK): Allow DImode in FP registers. - (CONDITIONAL_REGISTER_USAGE): Delete ppcas mention from comment. - (RTX_COSTS): Costs based upon processor_type enum. + * objc/misc.c: Put Alpha-specific decls before #include of runtime.h. -Fri Mar 18 17:53:35 1994 Torbjorn Granlund (tege@cygnus.com) + * alpha.h (EXTRA_SECTIONS): Write zeros first time in .rdata. - * rs6000.md (smulsi3_highpart): New patterns. - (umulsi3_highpart_power): New pattern. +Sat Mar 18 16:37:24 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Fri Mar 18 15:26:56 1994 Jim Wilson (wilson@cygnus.com) + * flow.c (mark_used_regs, case SUBREG): Set reg_changes_size even + for integer modes. + (mark_used_regs): Set reg_changes_size for RHS, if necessary. + * combine.c (gen_lowpart_for_combine): Set reg_changes_size, if needed. + * reload.c (push_reload): Reload a SUBREG if paradoxical and + class is CLASS_CANNOT_CHANGE_SIZE. + * reload1.c (gen_reload): Handle paradoxical SUBREGs. + * alpha.h (SECONDARY_{INPUT,OUTPUT}_RELOAD_CLASS): Need GENERAL_REGS + for paradoxical SUBREG and FLOAT_REGS. + (SECONDARY_NEEDED_MODE): Use actual mode for 4 bytes or wider. + * alpha.md (movsi): Allow FP regs and add case for store of FP reg. + Remove cvtlq from MEM to FP reg case. - * sol2.h (SELECT_RTX_SECTION): Delete. - * sysv4.h (SELECT_RTX_SECTION): Add. - (ASM_SPEC): Pass -K to assembler when PIC. + * rtl.h (emit_insns_after): Add declaration. + * stmt.c (fixup_gotos): Do a cleanup for a block when it is exited + even if label if not defined yet. - * cccp.c (before_system, last_before_system): New variables. - (main): Handle -isystem option. Insert -isystem directories in - search chain at first_system_include. - * gcc.c (include_prefix): New variable. - (process_command): Add path/include to include_prefix when see a - -Bpath option. - (do_spec_1, case 'I'): Pass include_prefix directories to cpp with - the -isystem option. + * function.c (pop_function_context): Fix error in last change; + reference old value of current_function_decl before we modify it. - * loop.c (scan_loop): New variable loop_depth. Increment and - decrement on LOOP_BEG and LOOP_END notes. Only use LOOP_VTOP note - if loop_depth is zero. - (strength_reduce): Likewise. +Fri Mar 17 21:57:44 1995 Jason Merrill - * sparc/sparc.h (FIXUNS_TRUNCTFSI2_LIBCALL): Define. - * optabs.c (init_optabs): Use FIXUNS_TRUNCTFSI2_LIBCALL macro. + * toplev.c (rest_of_compilation): Handle -Wreturn-type properly + for inlines we aren't compiling yet. -Thu Mar 17 13:13:46 1994 Per Bothner (bothner@kalessin.cygnus.com) +Fri Mar 17 21:26:48 1995 Mike Stump - * stor-layout.c (layout_type, case BOOLEAN_TYPE): - Set TREE_UNSIGNED unless TYPE_MIN_VALUE is negative. + * libgcc2.c (__register_exceptions): Handle empty tables. -Thu Mar 17 18:36:34 1994 Jim Wilson (wilson@cygnus.com) +Fri Mar 17 11:48:31 1995 Douglas Rupp (drupp@cs.washington.edu) - * c-common.c (shorten_compare): When simplify compare against - zero, check for restype_ptr unsigned instead of primop0 unsigned. + * i386/winnt.c (winnt_function_prologue): Deleted. + (gen_stdcall_suffix): New function. - * calls.c (expand_call): Undo Feb 27 change. Set nregs to -1 for - normal case. +Thu Mar 16 17:36:52 1995 Jason Merrill -Thu Mar 17 17:43:28 1994 Ian Lance Taylor (ian@cygnus.com) + * svr4.h (LINK_SPEC): If the user did not specify -h name, use the + output file name, if any. + * sparc/sol2.h (LINK_SPEC): Ditto. Also, if the user did not + specify -R path, add an -R for each -L. - * fixinc.svr4: Define BYTE_ORDER in as on - UnixWare 1.1. + Move SunOS 4-specific assembler switches into the appropriate place. + * m68k/sun[23].h (ASM_SPEC): Add %{R} %{j} %{J} %{h} %{d2} + %{keep-local-as-symbols:-L}. + * i386/sun.h (ASM_SPEC): Add %{R} %{keep-local-as-symbols:-L}. + * sparc/sparc.h (ASM_SPEC): Ditto. + * gcc.c (default_compilers): Remove %{R} %{j} %{J} %{h} %{d2} + %{keep-local-as-symbols:-L} from assembler rules. -Thu Mar 17 06:02:24 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Thu Mar 16 16:58:09 1995 Michael Meissner - * stor-layout.c (layout_type, case INTEGER_TYPE): Properly test for - nonnegative lower bound. + * rs6000/eabi-ctors.c: New file, handle C++ static constructors + and destructors without requiring anything else from a libc. -Wed Mar 16 12:41:19 1994 Ian Lance Taylor (ian@cygnus.com) + * rs6000/t-eabi (LIB2FUNCS_EXTRA): Build eabi-ctors.c. - * tree.c (build_nt, build_parse_node): Don't declare last - parameter to be register, since it is used in VA_START, which - may take its address. - * genattrtab.c (attr_printf): Likewise. + * rs6000/eabi.asm: Do not load up register 2 if there is no .got + section. Jump to the __do_global_ctors function at the end of + processing to call C++ static constructors, and it will return to + __eabi's caller. Use normal volatile registers, instead of saving + and restoring registers 30 and 31. -Wed Mar 16 12:00:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu) + * rs6000/eabi.h (STARTFILE_SPEC): Define as null. + (LIB_SPEC): Ditto. + (ENDFILE_SPEC): Ditto. + (LIBGCC_SPEC): Always look for libgcc.a. - * pa.h (INITIALIZE_TRAMPOLINE): Do not mask off high - bits of address passed to icacheflush. +Thu Mar 16 17:05:14 1995 Richard Kenner - * pa.h (WCHAR_TYPE): Use "unsigned int" by default. - (WCHAR_TYPE_SIZE): Change appropriately. - * pa-ghiux.h, pa-ghpux.h, pa-gux7.h, pa-hiux.h, pa-hpux.h, - pa-hpux7.h (WCHAR_TYPE): Delete definition. - (WCHAR_TYPE_SIZE): Likewise. - * pa-osf.h (WCHAR_TYPE): Override appropriately for OSF1. - (WCHAR_TYPE_SIZE): Likewise. + * stmt.c (warn_if_unused_value, case SAVE_EXPR): New case. + (warn_if_unused_value, case NOP_EXPR): OK if CALL_EXPR inside. - * pa.md (DImode lo_sum): Add earlyclobber for alternative one. + * c-common.c (decl_attributes): Allow alignment for TYPE_DECLs. - * pa.h (ASM_OUTPUT_ADDR_DIFF_ELT): Rewrite to match - ASM_OUTPUT_ADDR_VEC_ELT which is PIC-safe. + * Makefile.in (xsys-protos.h): Fix typo in -U operand. -Wed Mar 16 09:07:34 1994 Matthias Pfaller (leo@marco.de) +Thu Mar 16 13:49:10 1995 Per Bothner - * ns32k.c (global_symbolic_reference_mentioned_p): Recurse only - if GET_CODE (op) == CONST. + * cpplib.c, cpplib.h: New files - a C PreProcessor library. + * cpphash.c, cpphash.h, cppalloc.c, cpperror.c, cppexp.c: + New files - utility features used by cpplib. + * cppmain.c: New file - cpp replacement main program for cpplib. + * Makefile.in: New rules to build cppmain. - * ns32k.h (FUNCTION_PROLOGUE): Load sb through r0 if TARGET_REGPARM - is false. +Thu Mar 16 16:11:05 1995 Douglas Rupp (drupp@cs.washington.edu) -Wed Mar 16 06:57:45 1994 Richard Kenner (kenner@vlsi1.ultra.nyu) + * i386/winnt.h (FUNCTION_PROLOGUE, HAVE_probe, gen_probe): Deleted. + (ENCODE_SECTION_INFO, VALID_MACHINE_DECL_ATTRIBUTE): New macro. - * emit-rtl.c (gen_lowpart_common, gen_highpart, operand_subword): - Test input against RTX for FP, AP, and SP, not same register number. +Thu Mar 16 15:58:24 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * expr.c (expand_expr): Update comments and fix formatting. - (expand_expr, case VAR_DECL, STRING_CST, CONSTRUCTOR): If - flag_force_addr, put address in register unless REG. - (expand_expr, case CONSTRUCTOR, CONVERT_EXPR): Make TARGET with - TMODE, if specified. - (expand_expr, case IN_EXPR): Clean up. Allow INDEX to be an - unsigned type. Always evaluate SET and INDEX in case of side effects. - (expand_expr, case CONVERT_EXPR): Use convert_modes to handle consts. - (expand_expr, case ABS_EXPR): Simplify processing of COMPLEX. - Compare with zero word-by-word if required. - (expand_expr, case ABS_EXPR, MIN_EXPR, COND_EXPR): Don't use TARGET - if not MODE. - (expand_expr, case TRUTH_*_EXPR): Modes of input and output must agree. - (expand_expr, case CONJ_EXPR): Remove redundant def of MODE. + * combine.c (apply_distributive_law, case SUBREG): Fix typo when + checking for paradoxical SUBREG. - * stor-layout.c (layout_record): If the place where we were going - to put a field changed, lay it out again. +Wed Mar 15 18:45:08 1995 Doug Evans -Tue Mar 15 07:53:36 1994 Paul A Vixie (paul@vix.com) + * libgcc1-test.c: Renamed from cross-test.c. + * Makefile.in (LIBGCC1_TEST): Renamed from CROSS_TEST. + (all.cross): Delete $(ENQUIRE) dependency. + (libgcc1-test): Renamed from cross-test. + Delete unnecessary gcc-cross and $(LIBGCC) dependencies. + Link with -nostartfiles -nostdlib + `$(GCC_FOR_TARGET) --print-libgcc-file-name`. + (libgcc1-test.o): Renamed from cross-test.o. + Change gcc-cross dependency to xgcc since the latter is used. - * Makefile.in (stmp-fixproto): Add missing "-" in front of "if". - (install-headers-tar, gcc.xtar): Use "-" in front of tar options. +Wed Mar 15 13:49:21 1995 Jason Merrill -Mon Mar 14 16:28:16 1994 Paul Eggert (eggert@twinsun.com) + * tree.c (save_tree_status): Now takes a tree 'context' instead of + a boolean 'toplevel' as an argument. If 'context' is not + current_function_decl, create a new obstack for the new function. + Also save inline_obstacks. + (restore_tree_status): No longer takes a second argument. Also + restore inline_obstacks. + (temporary_allocation): Clear inline_obstacks. + (permanent_allocation): Free up the obstacks in inline_obstacks. - * fixincludes: Insert newlines just before the end of 'sed' - command strings if the last 'sed' command is 'a' or 'i'; - BSDI 1.1 'sed' needs this. + * function.h (struct function): New fields contains_functions and + inline_obstacks. -Mon Mar 14 15:46:29 1994 Ian Lance Taylor (ian@cygnus.com) + * function.c (push_function_context_to): Now takes a tree + 'context' instead of a boolean 'toplevel' as an argument. + Also save current_function_contains_functions. + (push_function_context): Pass current_function_decl to it. + (pop_function_context_from): Takes 'context' instead of 'toplevel'. + Set current_function_contains_functions properly. + (pop_function_context): Pass current_function_decl to it. - * fixinc.svr4: Don't name variables in mmap prototype. +Wed Mar 15 14:53:09 1995 Michael Meissner -Mon Mar 14 15:16:38 1994 Doug Evans (dje@cygnus.com) + * rs6000/rs6000.md (abssi2): Turn into a define_expand. If + TARGET_POWER, do old code that uses the abs instruction. If not, + do abs in three instructions, using a temporary register, which + enables generating more reasonable code for sne. Add a recognizer + for negative of the absolute value. Add define_splits for the + PowerPC. + (sne insn): Add a recognizer for sne on the PowerPc to use two + instructions, compared to the four generated using the absolute + value insn. - * objc/Makefile (*.o): Add explicit dependencies for Sun's VPATH. +Tue Mar 14 18:38:40 1995 J.T. Conklin -Mon Mar 14 05:11:42 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * m68k.md ({add,sub,mul,div}[sdx]f3): Add new patterns for recognizing + SImode, HImode, and QImode operands. - * function.c (assign_parms, expand_function_start): Properly - set MEM_IN_STRUCT_P for DECL_RTL of function result. +Mon Mar 13 18:59:36 EST 1995 David Edelsohn - * c-decl.c (grokdeclarator): Convert to sizetype when manipulating - size of array and use care to avoid mixed-type operations. + * rs6000.h (CPP_SPEC): Add PPC403. + (processor_type): Add PPC403. + (RTX_COSTS): Add PPC403. + * powerpc.h (CPP_SPEC): Add PPC403. + * sysv4.h (CPP_SPEC): Add PPC403. + * rs6000.c (processor_target_table): Add PPC403. + * rs6000.md (define_attr cpu and function units): Add PPC403. - * expr.c (expand_expr): Don't call bc_expand_expr - if EXPAND_INITIALIZER. - * bc-optab.c (bc_expand_{binary,unary}_operation): Add missing - args to call to expand_expr. - * stmt.c (bc_expand_start_cond): Set exit_label if not EXITFLAG. - (bc_expand_end_bindings): Only define exit_label if set. - Don't pop nesting_stack. - * varasm.c (output_constant_def): Do hashing and make label - even if bytecode. - * bc-emit.c (bc_seg_write): Don't make unaligned reference to - seg->data. - * toplev.c (compile_file): Call bc_write_file here and pass - asm_out_file, not stdout. - (main): Don't call bc_write_file here. - Fix wording on error if -fbytecode specified on unsupported target. +Mon Mar 13 14:40:23 1995 Michael Meissner - * fold-const.c (fold, associate): If -ffast-math, associate FP mults. - (fold, case RDIV_EXPR): Split case; ignore division by 1. - If -ffast-math, convert to multply by reciprocal. - (fold, case *_DIV_EXPR): Simplify A/C1/C2. + * rs6000/rs6000.md (call, call_value insns): Do not put a nop + after a bl instruction on System V.4 and eABI. - * tree.h (tree_int_cst_sgn): New declaration. - * tree.c (tree_int_cst_sgn): New function. - * c-decl.c (finish_{decl,struct,enum}): Call it. - * c-typeck.c (build_binary_op, pop_init_level): Likewise. - (output_pending_init_elements): Likewise. - * expr.c (expand_builtin, case BUILT_IN_RETURN_ADDRESS): Likewise. - * fold-const.c (fold): Likewise. - (fold, case *_DIV_EXPR): Add missing conversion. - * convert.c (convert_to_integer): Convert integer_one_node to - proper type before tree_int_cst_lt call. + * rs6000/sysv.4 (SUBTARGET_SWITCHES): Add support for + -mno-traceback to suppress the V.4 traceback word. + (ASM_DECLARE_FUNCTION_NAME): Don't put out a traceback work if + -mno-traceback. -Sun Mar 13 06:46:13 1994 Wolfgang Stukenbrock (wgstuken@immd4.informatik.uni-erlangen.de) +Mon Mar 13 13:36:37 1995 Jason Merrill - * gcc.c (do_spec_1): Don't duplicate a macro starting with '__'. + * t-svr4, i386/t-{crtpic,sol2}, m88k/t-svr4, sparc/t-sol2: + Use -fPIC, rather than -fpic, for building crtstuff. -Sun Mar 13 05:54:00 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Sat Mar 11 17:27:08 1995 Jason Merrill - * convert.c (convert_to_integer): When changing type of truthvalue - operation, change types of inputs too. - * c-common.c (TRUTH_*_EXPR): Convert to integer_type_node. + * configure: Use aix3newas.h for AIX 3.2.4 and 5. + * rs6000/aix41.h: Undefine ASM_OUTPUT_EXTERNAL{,_LIBCALL}. + * rs6000/aix3newas.h: New file. Define ASM_SPEC to -u, and + undefine ASM_OUTPUT_EXTERNAL{,_LIBCALL}. - * tree.c: Include setjmp.h. - (build_real_from_int_cst): Propagate overflow flags and - establish float handler. - (build_complex): Propagate overflow flags. - * cse.c (simplify_binary_operation): Protect real_value_truncate - inside handler. - * fold-const.c (force_fit_value): Operate on REAL_CST as well. - (real_value_truncate): Don't use its own handler. - (const_binop): Set overflow on FP error and call force_fit_type. - (fold_convert): Likewise. - * c-common.c (constant_expression_warning, overflow_warning): - Handle REAL_CST and COMPLEX_CST. - * convex.h, convex.c, fx80.h, tahoe.h, vax.h, vax.c: Add OVERFLOW - operand to CHECK_FLOAT_VALUE. +Sat Mar 11 06:42:50 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * jump.c (rtx_equal_for_thread_p): Correct error in previous - change; add missing arg in recursive call. + * dbxout.c (dbxout_symbol): Properly handle decl whose DECL_NAME + points to a TYPE_DECL with a zero TYPE_NAME. -Sat Mar 12 19:42:03 1994 H.J. Lu (hjl@nynexst.com) +Fri Mar 10 18:18:33 1995 Torbjorn Granlund - * configure (gxx-include-dir): Replacement for gxx-prefix. - * Makefile.in (gxx_include_dir): Likewise, for gxx_prefix. + * pa.h (PROMOTE_MODE): Define. - * i386/linux.h (NO_IMPLICIT_EXTERN_C): Defined. +Fri Mar 10 14:37:58 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Sat Mar 12 07:42:12 1994 Paul Eggert (eggert@twinsun.com) + * sdbout.c (sdbout_record_type_name): If TYPE_NAME is + a TYPE_DECL, get name from DECL_NAME. - * Makefile.in (stmp-fixproto): Work around a `make' bug in BSDI 1.1. +Fri Mar 10 14:09:26 1995 Doug Evans -Sat Mar 12 07:38:08 1994 Klaus Kaempf (kkaempf@didymus.rmi.de) + * arm/riscix.h (SUBTARGET_SWITCHES): Renamed from + ARM_EXTRA_TARGET_SWITCHES. + * arm/riscix1-1.h (SUBTARGET_SWITCHES): Likewise. + * arm.h (SUBTARGET_SWITCHES): Likewise. + (TARGET_HARD_FLOAT, TARGET_SOFT_FLOAT): Define. + (TARGET_SWITCHES): Add -msoft-float, -mhard-float. + (BYTES_BIG_ENDIAN): Delete #ifndef/#endif. + (CONDITIONAL_REGISTER_USAGE): If -msoft-float, disable fp regs. + (FUNCTION_VALUE): R16 is return reg only if !-msoft-float. + (LIBCALL_VALUE): Likewise. + * arm.md (all fp patterns): Conditionalize on TARGET_HARD_FLOAT. + (*movsf_soft_insn, *movdf_soft_insn): New patterns. - * bi-run.h: Properly test BYTES_BIG_ENDIAN. - * bytecode.h: Likewise for WORDS_BIG_ENDIAN. +Fri Mar 10 13:53:46 1995 Jim Wilson - * cccp.c (do_include, hack-vms_include_specification): Change handling - of '#include filename' to be compatible with VAX-C. + * reorg.c (steal_delay_list_from_target): Exit at the top if the + branch in SEQ is not a single set. - * genemit.c (gen_exp): Added \n to printf to shorten line for VAX-C. + * sh.md (movdi define_split, movdf define_split): Correct indentation + and formatting. Make the condition fail if an operand is a MEM + with an auto-inc address. -Sat Mar 12 06:42:38 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * varasm.c (copy_constant): Copy operand of ADDR_EXPR if it is a + constant. - * expr.h (emit_float_lib_cmp): Add declaration here. - * optabs.c: Don't define emit_float_lib_cmp now that no longer static. + * mips/abi64.h (SETUP_INCOMING_VARARGS): Correct arguments to + move_block_from_reg call. - * jump.c: Add prototypes for static functions. - (jump_optimize, delete_insn): Use GET_RTX_CLASS to test for insns. - (mark_jump_label): Delete dead code. - (delete_computation, redirect_tablejump): No longer static. + * expr.c (expand_assignment): When offset is zero, make new MEM + before setting MEM_VOLATILE_P. -Fri Mar 11 14:40:40 1994 Jim Wilson (wilson@cygnus.com) + * reload.c (find_reloads, case 'o'): Accept a fully reloaded + auto-increment address. - * lite.h (TARGET_DEFAULT): Use parentheses. - * sparc.h (TARGET_HARD_QUAD): New macro. - (TARGET_SWITCHES): Add hard-quad-float, soft-quad-float. - (TARGET_DEFAULT): Use parentheses. - ({ADDTF3,SUBTF3,MULTF3,DIVTF3,SQRTTF2,FLOATSITF2,FIX_TRUNCTFSI2, - EXTENDSFTF2,TRUNCTFSF2,EXTENDDFTF2,TRUNCTFDF2,EQTF2,NETF2,GTTF2, - GETF2,LTTF2,LETF2}_LIBCALL): New macros. - * sparc.md (sleu+4, sleu+7, extendsftf2, extenddftf2, trunctfsf2, - trunctfdf2, floatsitf2, fix_trunctfsi2, addtf3, subtf3, multf3, - divtf3, sqrttf2): Disable when -msoft-quad-float. - (beq, bne, bgt, blt, bge, ble): When -msoft-quad-float, account - for return value of SPARC ABI routines that differs from libgcc. - * flow.c (libcall_dead_p): Fail not abort for libcall that returns - value via invisible pointer. - * optabs.c (emit_float_lib_cmp): Make non static. - (init_optabs): Use {ADDTF3,SUBTF3,MULTF3,DIVTF3,SQRTTF2,FLOATSITF2, - FIX_TRUNCTFSI2,EXTENDSFTF2,TRUNCTFSF2,EXTENDDFTF2,TRUNCTFDF2,EQTF2, - NETF2,GTTF2,GETF2,LTTF2,LETF2}_LIBCALL macros. + * combine.c (max_uid_cuid): New static variable. + (INSN_CUID): Call abort if INSN is out of range. + (combine_instructions): Set max_uid_cuid. Set uid_cuid directly + instead of through INSN_CUID. + (get_last_value): Use prev_real_insn instead of prev_nonnote_insn. + Ignore USE insns generated by combine. - * sparc/sparc.h (STARTING_FRAME_OFFSET): Depend on - LONG_DOUBLE_TYPE_SIZE. +Fri Mar 10 13:47:08 1995 Rod Barman -Fri Mar 11 08:01:54 1994 Stephen R. van den Berg (berg@pool.informatik.rwth-aachen.de) + * m68k/fpgnulib.c (__fixdfsi): Catch values < 0.5 in magnitude. - * rtl.h, tree.h, g++.c, gcc.c (PVPROTO): New macro. - * combine.c, expr.h, rtl.h, tree.h, gcc.c: Use it for varargs protos.. - * genattrtab.c, mips-tfile.c, output.h, toplev.c: Likewise. +Fri Mar 10 12:02:33 1995 Ian Lance Taylor -Fri Mar 11 07:21:36 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * fixincludes: Fix `typedef struct term;' on hppa1.1-hp-hpux9. - * emit-rtl.c (copy_rtx_if_shared, case LABEL_REF): Can't share. - * jump.c (jump_optimize): Delete REG_LABEL note if label no - longer in insn. +Fri Mar 10 05:50:11 1995 Oliver Kellogg (Oliver.Kellogg@RST13.DASA.DBMAIL.d400.de) - * c-decl.c (finish_decl): When preserving an initializer, ensure - its type is on a good obstack. + * 1750a.c (sectname): Reverse Init and Normal. + (print_operand_address, case PLUS): Add case for LABEL_REF. + (print_operand_address, case LABEL_REF): Split fom SYMBOL_REF. + (print_operand_address, case CODE_LABEL): New case. + (ASM_FILE_END): Delete. + * 1750a.h (FUNCTION_EPILOGUE): Restore stack before freeing local vars. + (DEFAULT_SIGNED_CHAR): Now 1. + (DATA_SECTION_ASM_OP): Use pseudo-op for read-only data (later copied). + (JUMP_TABLES_IN_TEXT_SECTION): Define. + (ASM_OUTPUT_ASCII): Split into multiple lines if long. + (ASM_OUTPUT_{CHAR,SHORT,INT,LONG_INT}): Split up. + (ASM_OUTPUT_COMMON): Call check_section. -Thu Mar 10 15:32:42 1994 Mike Collison (collison@sw.stratus.com) +Thu Mar 9 12:46:53 1995 Michael Meissner - * reload1.c (emit_reload_insns): When clearing reg_last_reload_reg, - clear all hard regs in reload_out. + * rs6000.md (movsf): Do not call truncdfsf2 for non PowerPC + when expanding a store to memory and -msoft-float was used. -Thu Mar 10 15:23:10 1994 Hallvard B Furuseth (hbf@durin.uio.no) +Thu Mar 9 08:51:35 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * collect2.c (dup2): Catch `dup' failure. Return correct value. + * c-decl.c (start_function): Handle new parameter ATTRIBUTES. + * c-tree.h (start_function): Add new parameter. + * c-lang.c (finish_file): Pass new parm to start_function. + * objc-act.c (build_module_descriptor, really_start_method): Likewise. + * c-parse.in (fndef, nested_function): Pass prefix_attributes + to start_function. + (setspecs): Save prefix_attributes in declspec_stack. + (decl rules): Restore prefix_attributes along with current_declspecs. + (setattrs): Concatenate prefix_attributes to previous value. + * c-common.c (decl_attributes): Handle prefix and suffix attributes + the same way. -Thu Mar 10 15:18:08 1994 Richard Earnshaw (rwe11@cl.cam.ac.uk) + * print-tree.c (print_node): Fix typo in printing large INTEGER_CST. - * gcc.c ([__MSDOS__]): Use #ifdef, not #if. - * collect2.c ([__MSDOS__]): Likewise. + * varasm.c (assemble_variable): Consistently use DECL_SIZE for + everything. -Thu Mar 10 15:03:01 1994 Paul Eggert (eggert@twinsun.com) + * c-typeck.c (convert_for_assignment): Fix typo in testing for + pointer to function type. - * cccp.c (main, finclude, check_precompiled): When safe_read - returns a partial buffer, this means EOF has been reached; - don't try to read any more. + * varasm.c (record_constant_1): Handle NON_LVALUE_EXPR. + Rewrite to use switch instead of if/then/elseif/else. -Wed Mar 9 18:47:29 1994 Paul Eggert (eggert@twinsun.com) +Wed Mar 8 18:21:51 1995 Paul Eggert - * real.c (target_negative): -0 counts as negative. + * cccp.c (do_include): Fix type typo: pcfbuflimit is char *, not int. -Wed Mar 9 15:32:01 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Wed Mar 8 17:30:29 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) - * m68k.md (movqi): Disable special-case of stack push if operand - one is an address register. + * fold-const.c (force_fit_type): Always propagate OVERFLOW. - * c-typeck.c (pointer_int_sum): Multiplication should be - done signed. - (pointer_diff): Likewise the division. - * fold-const.c (fold, case MULT_EXPR): Simplify MULT_EXPR of an - EXACT_DIV_EXPR with the same divisor as our multiplicand. + * rtl.def (INLINE_HEADER): Add new "e" field. + * rtl.h (FORCED_LABELS): New field; other fields adjusted. + (gen_inline_header_rtx): New parm FORCED_LABELS. + * emit-rtl.c (gen_inline_header): Add new parm FORCED_LABELS. + * integrate.c (initialize_for_inline, output_inline_function): + Handle FORCED_LABELS. - * jump.c (rtx_equal_for_thread_p): Commutative operations - are identical if the operands match in the opposite order. - * sched.c (rtx_equal_for_memref_p): Likewise. +Wed Mar 8 13:47:20 1995 Jason Merrill (jason@cygnus.com) -Wed Mar 9 12:07:29 1994 Richard Earnshaw (rwe11@cl.cam.ac.uk) + * alpha.h (WORD_SWITCH_TAKES_ARG): Add -rpath. + (LINK_SPEC): Pass through -taso and -rpath. + * alpha/osf12.h (LINK_SPEC): Ditto. - * cse.c (simplify_relational_operation): Fix typos; use - ARG_POINTER_REGNUM and FRAME_POINTER_REGNUM in condtionals. +Wed Mar 8 09:59:56 1995 Michael Meissner -Tue Mar 8 16:12:07 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * rs6000/eabi.asm: Rewrite so that the initialized pointers go + into the .got2 section, which allows eabi.asm to be assembled with + the -mrelocatable option. Move the data picked up from the bl + instruction to before the traceback tag. - * explow.c (break_out_memory_refs): Don't call mark_reg_pointer - here. - (memory_address): Call it here if X changed and is now a REG - or REG + CONST_INT. + * rs6000/sysv4.h (CPP_SPEC): Define _RELOCATABLE if -mrelocatable + switch is used. -Tue Mar 8 15:57:29 1994 Jim Wilson (wilson@cygnus.com) + * libgcc2.c (__new_handler): Don't initialize the pointer variable + with the address of __default_new_handler, which may not work in + some shared library mechanisms. + (__builtin_new): If __new_handler is NULL, call the function + __default_new_handler. - * c-decl.c (finish_decl): When saving/discarding initializers, - don't check TREE_PERMANENT and TREE_STATIC. - (finish_decl, finish_function): Pass new argument to - permanent_allocation. - * cp/decl.c (finish_function): Likewise. - * cp/decl2.c (write_vtable_entries, finish_file): Likewise. - * toplev.c (compile_file): Likewise. - * function.h (struct function): Add momentary_function_firstobj - field. - * tree.c (momentary_function_firstobj): New variable. - (init_obstack): Set it. - (save_tree_status): Save it and set it. - (restore_tree_status): Use it and restore it. - (permanent_allocation): New parameter function_end. Clear - momentary_obstack to momentary_function_firstobj if true. - (preserve_initializer): Set base field of every momentary - level on the momentary stack to new momentary_firstobj. - (pop_momentary): Only free back to previous base. - * tree.h (permanent_allocation): Add prototype. - -Mon Mar 7 20:10:56 1994 Jim Wilson (wilson@cygnus.com) - - * iris4gl.h: Rewrite. Include iris4loser.h not iris4-gdb.h. - Define PREFERRED_DEBUGGING_TYPE not ASM_SPEC. - - * bsd-4.h (LINK_SPEC): Do not depend on gas. Don't interpret -EB - and -EL options, but do pass them. - * bsd-5.h (LINK_SPEC): Likewise. - * decl-osf1.h (LINK_SPEC): Likewise. - * iris5.h (LINK_SPEC): Likewise. - * mips-5.h (LINK_SPEC): Likewise. - * mips.h (LINK_SPEC): Likewise. - * svr3-4.h (LINK_SPEC): Likewise. - * svr3-5.h (LINK_SPEC): Likewise. - * svr4-4.h (LINK_SPEC): Likewise. - * svr4-5.h (LINK_SPEC): Likewise. - - * dec-bsd.h (LINK_SPEC): Pass all normal linker options to gld. - (ASM_SPEC): Pass all normal assembler options to gas. - * osfrose.h (LINK_SPEC): Likewise. - (ASM_SPEC): Likewise. +Tue Mar 7 17:34:59 1995 Ian Lance Taylor - * mips.h (ASM_SPEC): Make definition depend on whether or - not the default assembler is gas. Pass all normal assembler - options to gas. - * iris4loser.h (ASM_SPEC): Likewise. Pass -O0 if the assembler is - not gas. + * i960.h (PROCESS_PRAGMA): Define. + (ROUND_TYPE_ALIGN): Pass maximum of COMPUTED and SPECIFIED to + i960_round_align. + (ROUND_TYPE_SIZE): Delete. + * i960.c (process_pragma): Uncomment, and rewrite for gcc 2. + (i960_round_size): Delete. + (i960_round_align): Don't adjust suggested alignment downward. + Restrict alignment to value set by #pragma align. - * iris3.h (ASM_SPEC, LINK_SPEC): Delete. - * news4.h (ASM_SPEC, LINK_SPEC): Delete. - * news5.h (LINK_SPEC): Delete. - * nws3250v4.h (ASM_SPEC, LINK_SPEC): Delete. - * ultrix.h (ASM_SPEC, LINK_SPEC): Delete. +Tue Mar 7 12:14:46 1995 Doug Evans - * mips.h (ASM_FINAL_SPEC): Cross compiling does not presume gas. + * configure (sparc64-*-elf): Add crtbegin.o, crtend.o to extra_parts. + * sparc/sp64-elf.h (TARGET_VERSION): Define. + (CPP_PREDEFINES): Delete sun, sparc, unix. Delete OS assertions. + (ASM_SPEC): Define. + (LINK_SPEC): Delete solaris stuff, this is an embedded target. + (STARTFILE_SPEC, ENDFILE_SPEC): Define. - * osfrose.h (SIZE_TYPE): Delete. - (MAX_WCHAR_TYPE_SIZE): Define. +Mon Mar 6 17:54:01 1995 Doug Evans - * calls.c (expand_call): For pcc_struct_value case, set - MEM_IN_STRUCT_P correctly on target. + * Makefile.in (install-common): Fix typo in installation of cpp. + Likewise with gcc-cross. - * Makefile.in (mostlyclean): Don't explicitly delete ld. +Mon Mar 6 02:29:05 1995 Jeffrey A. Law -Mon Mar 7 20:06:38 1994 Ian Lance Taylor (ian@cygnus.com) + * pa.md (movsicc): New expander. - * mips-tdump.c (print_symbol): The index field of a global symbol - is the symbol table index of the corresponding local symbol, not - an index into the aux table. - (print_file_desc): Print out size of line number information - rather than repeating line number count. The cbLineOffset field - of a PDR is relative to the cbLineOffset field of the FDR. Also, - when computing line_end of the last PDR, use cbLineOffset, not - ilineBase. +Fri Mar 3 13:34:20 1995 Michael Meissner (meissner@cygnus.com) -Mon Mar 7 17:42:35 1994 H.J. Lu (hjl@nynexst.com) + * rs6000/sysv4.h (ASM_SPEC): If -mrelocatable was passed to + compiler, pass it on to the assembler. - * Makefile.in (gxx_prefix): New; default to $(libdir). - (GPLUSPLUS_INCLUDE_DIR): Change to $(gxx_prefix)/g++-include. - * configure (gxx_prefix): New; default to $(libdir). +Fri Mar 3 12:11:28 1995 Ian Lance Taylor - * i386/linux.h (GPLUSPLUS_INCLUDE_DIR): Deleted. - (STARTFILE_SPEC): Remove "-nojump". + * fixincludes: Add fixes for VxWorks header files. + * ginclude/stddef.h: If VxWorks typedef macros are defined, invoke + them as appropriate. -Mon Mar 7 17:06:08 1994 Stephen R. van den Berg (berg@pool.informatik.rwth-aachen.de) +Fri Mar 3 05:48:54 1995 Paul Eggert - * i386/xm-linux.h (malloc): Remove disabled code. + * cccp.c (dump_single_macro): Fix typo: % wasn't properly + doubled in printf formats. -Mon Mar 7 13:27:09 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Thu Mar 2 19:44:02 1995 Jason Merrill - * cccp.c (no_record_file): New variable. - (main): Set it for -imacros and -include files. - (do_endif): Don't call record_control_macro for -include or -imacros - files or files included from -imacros. + * expr.c (expand_expr, CLEANUP_POINT_EXPR): Force the operand out + of memory before running cleanups. -Sun Mar 6 21:48:51 1994 Richard Stallman (rms@mole.gnu.ai.mit.edu) +Thu Mar 2 19:15:24 1995 Paul Eggert - * config.sub: Accept freebsd as OS. + * cccp.c (rescan): Prevent accidental token-pasting to + get !=, *=, /=, ==, or ^=. -Sun Mar 6 14:40:00 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Thu Mar 2 15:37:13 1995 Jason Merrill - * stupid.c: Add prototypes for static functions. - (last_{jump,label}_suid): Deleted; all uses deleted. - (reg_crosses_blocks): Likewise. - (stupid_life_analysis): Only allocate MAX_SUID entries - of after_insn_hard_regs. - Use GET_RTX_CLASS when possible. - Initialize all of reg_renumber. - Use reg_alternate_class when reg not available in preferred class. - (stupid_find_reg): Delete argument CROSSES_BLOCKS. + * c-typeck.c (build_binary_op): Avoid spurious warning + comparing enumerator to unsigned variable. - * stupid.c (stupid_mark_refs): If setting reg_where_dead, set - regs_live so we don't later clobber it. +Thu Mar 2 18:18:38 1995 J.T. Conklin - * recog.c (constrain_operands): Properly handle '#' in constraint. + * m68k.md (sqrtsf2,sqrtdf2): Use fp precision specifiers. - * combine.c (subst): Split into five functions. - (simplify_{rtx,if_then_else,set,logical}): New functions. +Thu Mar 2 18:09:01 1995 Stephen L Moshier (moshier@world.std.com) -Sun Mar 6 13:12:48 1994 James Van Artsdalen (james at bigtex.cactus.org) + * c-lex.c (yylex, case !NOT_FLOAT): Remove previous change. - * reg-stack.c (find_blocks): Undo previous change to block - delineation algorithm. - (reg_to_stack): Make algorithm identical to that in find_blocks. +Thu Mar 2 15:26:50 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) -Sat Mar 5 16:27:58 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * Makefile.in (bootstrap*): Pass new STAGE_PREFIX to recursive makes. - * genattrtab.c (attr_printf): Remove `register' from decl of FMT. - * tree.c (build_nt, build_parse_node): Remove `register' from decl - of CODE. +Wed Mar 1 14:52:16 1995 Ian Lance Taylor - * reload.c (get_secondary_mem): Call SECONDARY_MEMORY_NEEDED_MODE - if it is defined. - * alpha.h (SECONDARY_MEMORY_NEEDED_MODE): New macro. - * alpha.c (output_{pro,epi}log): Round var size to quadword boundary. + * i960/i960-coff.h (ASM_FILE_START): Define. + (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): Define. + (EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS): Define. + (CTORS_SECTION_FUNCTION, DTORS_SECTION_FUNCTION): Define. + (INT_ASM_OP): Define. + (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): Define. + * i960/vx960-coff.h (CPP_PREDEFINES): Define. + (CPP_SPEC): Define. + (CC1_SPEC): Default to -mca. - * alpha.md (unaligned_{load,store}hi): Clear low bit of - address before using as operand to extwl, mskwl, and inswl. - (movhi, reload_inhi, reload_outhi): Pass extra scratch value. +Wed Mar 1 11:10:54 1995 Michael Meissner (meissner@cygnus.com) -Fri Mar 4 17:16:23 1994 Leonard Norrgard (vinsci@nic.funet.fi) + * rs6000/rs6000.c (output_prologue): Do not emit the word that + gives the PC relative location to the local GOT table for the + -mrelocatable option here. + * rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Emit it here. - * c-lex.c: Delete gperf-generated source from here. - * c-gperf.h: New file; contains just gperf output. - * Makefile.in (c-gperf.h): New rule. - (c-lex.o): Depends on c-gperf.h. - (realclean): Delete c-gperf.h. - (distdir): Build c-gperf.h. - (diff): Omit differences in c-gperf.h. + * t-eabi (MULTILIB_OPTIONS, MULTILIB_DIRNAMES): Build -msoft-float + and -mrelocatable versions of the library. -Fri Mar 4 06:35:26 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + * rs6000/powerpc.h (CPP_PREDEFINES): Define the cpu and machine as + powerpc, not rs6000. - * svr4.h, m88k.h (ASM_FINISH_DECLARE_OBJECT): Set - size_directive_output to 1. + * libgcc2.c (_unwind_function): Clone for powerpc, using the + PowerPC mnemonics. - * reload1.c (emit_reload_insns): Don't call gen_input_reload if - src and dest are identical. + * rs6000/rs6000.md (uminsi3, umaxsi3): Silence warnings that + -2147483648 is too large to fit in a signed integer on 32-bit + hosts. -Thu Mar 3 15:32:55 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) +Wed Mar 1 06:48:31 1995 Richard Kenner - * alpha.md (mskXl): Add missing NOT in patterns. + * fold-const.c (decode_field_reference): Don't check TREE_CODE + of EXP; let get_inner_reference decide if have reference. + Allow no bit reference if have AND_MASK. + (all_ones_mask_p): Use tree_int_cst_equal, not operand_equal_p. + (unextend): New function. + (fold_truthop): For constant cases, use new function, rework + conversion, and warn if comparison can never be true. - * t-m88k: Remove added realclean rule. + * expr.c (store_expr): Do conversion in two steps for promoted lhs. -See ChangeLog.8 for earlier changes. +See ChangeLog.9 for earlier changes.