1 Tue Feb 28 16:36:58 1995 Michael Meissner <meissner@cygnus.com>
3 * rs6000/eabi.asm (__eabi): Correctly reload r30 in the case where
4 the GOT pointers have to be relocated.
6 * rs6000/rs6000.md (floatsidf2, floatunssidf2): Add
7 TARGET_SOFT_FLOAT conditional dropped in the last change.
8 (movdf insns): Add -msoft-float varients that do not use 'f' register
10 (movti): On PowerPC, don't clobber the MQ register, since it doesn't
11 exist. Add abort to default switch case.
12 (store_multiple, load_multiple): Test for TARGET_POWER instead
13 of !TARGET_POWERPC to determine whether the MQ register exists.
15 Tue Feb 28 14:46:48 1995 Doug Evans <dje@cygnus.com>
17 * configure (extra_headers): Renamed from header_files.
19 * toplev.c (rest_of_compilation): Defer output of static inlines
20 even if not optimizing, they may never be referenced.
22 Mon Feb 27 17:06:47 1995 Doug Evans <dje@cygnus.com>
24 * cccp.c (do_include): Check for redundant file before opening in
25 relative path case. Don't call fstat unnecessarily.
27 Mon Feb 27 11:20:29 1995 Jim Wilson <wilson@chestnut.cygnus.com>
29 * mips.md (muldi3_internal): Change dmul to dmult.
31 Mon Feb 27 02:30:54 1995 Jeffrey A. Law <law@mole.gnu.ai.mit.edu>
33 * pa.c (hppa_expand_prologue): Don't save the PIC register into
34 the stack for functions which have no stack of their own.
36 Mon Feb 27 00:43:32 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
38 * config/gnu.h (ASM_SPEC): Macro removed.
40 Sun Feb 26 20:21:52 1995 Doug Evans <dje@cygnus.com>
42 * reload.c (find_reloads_address): Fix typo in reg+const case.
44 Sat Feb 25 10:21:13 1995 Doug Evans <dje@cygnus.com>
46 * gcc.c (print_search_dirs): New variable.
47 (build_search_list): New function.
48 (putenv_from_prefixes): Call it.
49 (option_map): New option --print-search-dirs.
50 (process_command): Handle it.
51 (main): Print installation directory and exec/startfile_prefixes if
52 --print-search-dirs given.
54 * Makefile.in (Makefile): Delete config.run afterwards.
55 (distclean): Delete config.run.
57 Sat Feb 25 08:36:40 1995 David Mosberger-Tang (davidm@cs.arizona.edu)
59 * alpha.h (ASM_SPEC): Pass -pg to assembler.
60 (FUNCTION_PROFILER): Do nothing; the assembler does it for us.
62 Sat Feb 25 08:24:27 1995 H.J. Lu (hjl@nynexst.com)
64 * configure (native_prefix): New; lets some hosts put
65 files in /usr instead of /usr/local if no --prefix specified.
67 Sat Feb 25 08:07:56 1995 David Edelsohn <edelsohn@mhpcc.edu>
69 * rs6000.h (RTX_COSTS): Add cost of FFS.
71 Sat Feb 25 06:52:22 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
73 * mips.c (mips_fill_delay_slot): Fix typo in call to FP_REG_P.
75 * cse.c (simplify_unary_operation): If operand mode is VOIDmode
76 for UNSIGNED_FLOAT and operand looks negative, can't simplify.
78 * rs6000.c (low_32_bit_operand): New function.
79 * rs6000.h (PREDICATE_CODES): Add low_32_bit_operand.
80 * rs6000.md: Remove unneeded tests on HOST_BITS_PER_INT from
81 some extra conditions.
82 Use low_32_bit_operand for (plus:DI (zero_extend:DI ..) ..) cases.
84 Sat Feb 25 00:49:29 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
86 * config/xm-gnu.h (POSIX): Define this macro.
88 * config/gnu.h (GNU_CPP_PREDEFINES): Add missing backslash.
90 Fri Feb 24 19:17:29 1995 Jeffrey A. Law <law@snake.cs.utah.edu>
92 * configure (hppa1.?-hp-hpux9*): Use hpux9 configuration files.
93 * pa-hpux9.h, pa-ghpux9.h, pa1-hpux9.h, pa1-ghpux9.h: New
96 Fri Feb 24 15:55:33 1995 Jim Wilson <wilson@cygnus.com>
98 * reorg.c (relax_delay_slots): When searching for next CODE_LABEL,
99 use next_real_insn not next_active_insn.
101 * stdarg.h, va-*.h, varargs.h (va_end): Expand to a void expression
104 * sh.h (PACKSTRUCT_BIT, TARGET_PACKSTRUCT): Change to PADSTRUCT.
105 Add comment saying that the option is not useful.
106 (TARGET_SWITCHES): Change -mpackstruct option to -mpadstruct.
107 (STRUCTURE_SIZE_BOUNDARY): Change PACKSTRUCT to PADSTRUCT changing
108 default value from 32 to 8.
110 * dwarfout.c (PUSHSECTION_FORMAT): Add a leading tab.
112 * expr.c (expand_expr, case COMPONENT_REF): Don't fetch unaligned
113 field if we only want its address.
115 * i960.c (fp_literal_one, fp_literal_zero): Don't accept VOIDmode.
116 (i960_output_ldconst): In DFmode code, delete code to handle FP_REG_P
117 target. In DFmode and SFmode code, delete test for HOST_FLOAT_FORMAT
118 == TARGET_FLOAT_FORMAT.
119 * i960.h (REAL_ARITHMETIC): Define.
120 (LEGITIMATE_CONSTANT_P): Pass argument mode not VOIDmode to fp_literal.
122 * i960.h (CC1_SPEC): Don't output implicit -gstabs or -gcoff option
123 if user gave an explicit one.
124 * vx960-coff.h (CC1_SPEC): Likewise.
126 * dbxout.c (GDB_INV_REF_REGPARM_STABS_LETTER): New macro.
127 (dbxout_parms): For gdb, output use GDB_INV_REF_REGPARM_STABS_LETTER
128 for parameters passed by invisible reference in registers.
130 * mips.c (mips_secondary_reload_class): Also handle SUBREGs.
131 * mips.md (madsi): Don't use '+' constraint in a clobber.
132 (madsi_highpart, umadsi_highpart): Delete.
134 * dbxout.c (dbxout_parms): For parameters passed in memory, delete
135 obsolete code to handle parameters converted and stored back to
136 the stack slot where they were passed in.
137 (dbxout_reg_parms): Delete obsolete ifdefed out code. Combine
138 redundant PARM_PASSED_IN_MEMORY tests. For case where parameter
139 lives in memory, output stab if it doesn't live where it was passed.
141 * sh.c: Correct typos and formatting problems.
142 (add_constant, current_function_pretend_args_size,
143 flag_traditional, table_lab): Delete unnecessary declarations.
144 (sh_cpu): Change type from attr_cpu to processor_type.
145 (need_slot, output_shift, lshiftrt_insns, howshift,
146 pop_operand): Delete.
147 (print_operand, output_branch): Delete calls to need_slot.
148 (synth_constant): Comment that it doesn't work.
149 (output_movedouble): Handle PRE_DEC dest not POST_INC dest.
150 (output_options): Don't use flag_traditional.
151 (shift_insns): Correct numbers to optimal sequences.
152 (shift_amounts): New table.
153 (shift_insns_rtx): New function.
154 (shiftinsns): Combine LSHIFTRT and ASHIFT cases.
155 (shiftcosts): Return true costs of shifts instead of estimate of 1.
156 (gen_ashift): Handle negative shift amounts. Call gen_lshrsi3_m
157 for single bit LSHIFTRT, and gen_lshrisi3_k for multiple bit shifts.
158 (gen_shifty_op): Handle negative shift amounts at top. Generate
159 optimal sequences for ASHIFT and LSHIFTRT.
160 (find_barrier): Correct pattern for matching mova instructions.
161 (general_movsrc_operand): Delete redundant test for (MEM LABEL_REF).
162 Don't reject POST_INC address for size > 4.
163 (general_movdst_operand): Don't reject PRE_DEC address for size > 4.
164 * sh.h: Correct typos and formatting problems.
165 (MODE_DISP_OK_[12]): Delete.
166 (GO_IF_LEGITIMATE_INDEX): Delete uses of MODE_DISP_OK_[12].
167 (RTX_COSTS): Add LSHIFTRT.
168 (table_lab): Delete declaration.
169 (enum processor_type): New enum.
170 (sh_cpu_attr): New macro.
171 (sh_cpu): Change type to enum processor_type to avoid incomplete
173 * sh.md: Correct typos and formatting problems.
174 (cpu): Use sh_cpu_attr not sh_cpu.
175 (adddi3, subdi3, udivsi3-1, divsi3-1, mulsi3_call-1, ashrsi2_16,
176 ashrsi2_31, dect, casesi_worker): Use arith_reg_operand not
178 (ashlsi3_n, lshrsi3_n): Enable pattern. Set length correctly.
179 Use '#' to output it.
180 (ashlsi3_n+1, lshrsi3_n+1): New patterns to split shifts.
181 (ashlsi3, lshrsi3): Use shiftby_operand instead of gen_shifty_op.
182 (lshlsi3_m): New pattern for single bit shifts.
183 (lshlsi3_k): Only handle multiple bit shifts.
184 (negc): Use IOR not PLUS to set carry bit.
185 (push+2, pop+2, movsi_pi, movdi-2, movdf_k-1, movsf_i-1): Delete.
186 (movsi_i, movqi_i, movhi_i): Delete redundant < and > constraints.
187 (movsf_i): Delete incorrect < and > constraints.
189 Fri Feb 24 13:07:55 1995 Stephen L Moshier <moshier@world.std.com>
191 * i386/i386.md (sinxf2, cosxf2): Define.
193 Thu Feb 23 14:14:20 1995 Mike Stump <mrs@cygnus.com>
195 * rs6000.h/rs6000.h (RETURN_ADDR_RTX): Add definition to support
196 __builtin_return_address and __builtin_frame_address on the
197 rs6000. This is necessary to support exception handling in g++ on
200 Thu Feb 23 15:23:26 1995 Michael Meissner <meissner@cygnus.com>
202 * rs6000/rs6000.h (TARGET_SWITCHES): All -mpower switches set
203 -mmultiple by default. Rename -mno-fp-regs to -msoft-float and
204 -mfp-regs to -mhard-float.
205 (TARGET_NO_FPR): Rename all occurances of macro to be either
206 TARGET_HARD_FLOAT or TARGET_SOFT_FLOAT.
207 (FUNCTION_VALUE): If -msoft-float, floating point gets returned in
209 (LIBCALL_VALUE): Ditto.
210 (USE_FP_FOR_ARG_P): Don't use floating point registers if
212 (MOVE_MAX): Use TARGET_MUTIPLE instead of TARGET_POWER to decide
213 to move 16 bytes at a time.
214 (GO_IF_LEGITIMATE_ADDRESS): Don't allow index + base register
215 addresses for DF's if -msoft-float.
217 * rs6000/rs6000.c (POWER_MASKS): Or in MASK_MULTIPLE.
218 (processor_target_table): Set MASK_MULTIPLE for Power CPUs and
219 don't set it for PowerPC CPUs.
220 (output_prolog): If -mrelocatable and a GOT pool is used, mark the link
221 register as being live. Load the GOT address via a bl instruction.
222 (output_toc): If V.4 semantics, make the TOC label be the difference
223 from the start of the TOC section, rather a label the assembler has to
224 recognize as being an offset.
226 * rs6000/rs6000.md (all floating point ops): For all operations,
227 check if floating point is allowed.
228 (movti): Use TARGET_MULTIPLE to decide whether to expand movti
229 instead of TARGET_POWER.
231 * rs6000/sysv4.h (SUBTARGET_SWITCHES): Move here from eabi.h, so the
232 various macro overrides don't have to be recoded for eabi as well
233 as System V.4. Add -mstrict-align to set STRICT_ALIGNMENT to 1.
234 Add -mrelocatable to specify that that the data/text sections may
235 be copied elsewhere, but not true V.4 style PIC.
236 (TOC_SECTION_FUNCTION): Handle TARGET_RELOCATABLE.
237 (TOC_SECTION_ASM_OP): Put quotes around ".got".
238 (MINIMAL_TOC_SECTION_ASM_OP): Put quotes around ".got1".
240 * rs6000/eabi.h (SUBTARGET_SWITCHES): Move to rs6000/sysv4.h.
241 (MINIMAL_TOC_SECTION_ASM_OP): Use ".got2" section if
244 * rs6000/eabi.asm: New file to load up register 2 or relocate the .got2
245 addresses. Called from main.
247 * rs6000/t-rs6000: Build two libgcc.a's, one for normal use, and one
248 used when compiling with -msoft-float.
250 * rs6000/t-eabi: New file, build two libgcc.a's, one for normal use,
251 and one used when compiling with -msoft-float. Add support for eabi
252 module to relocate the .GOT2 section to support -mmultiple.
254 * configure (powerpc-*-eabi*): Use t-eabi, not t-rs6000.
256 Thu Feb 23 06:58:46 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
258 * Makefile.in (ld): Add missing backslash to make continuation line.
260 * i386/winnt.c (gen_stdcall_suffix): Deleted.
261 * winnt/winnt.h (MODIFY_ASSEMBLER_NAME): Deleted.
262 (VALID_MACHINE_DECL_ATTRIBUTES): Deleted.
263 * varasm.c (make_decl_rtl): Remove reference to MODIFY_ASSEMBLER_NAME.
265 * alpha.h (RTX_COSTS): Update costs for FP operations.
267 Thu Feb 23 00:13:05 1995 Jason Merrill <jason@phydeaux.cygnus.com>
269 * c-typeck.c (build_binary_op): Warn if, in a comparison, a signed
270 operand that might be negative is converted to unsigned.
272 Wed Feb 22 21:32:48 1995 Peter Schauer (Peter.Schauer@regent.e-technik.tu-muenchen.de)
274 * config/svr4.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): New macro.
276 Wed Feb 22 20:29:31 1995 J.T. Conklin <jtc@netbsd.org>
278 * configure (*-*-netbsd*): Set tmake_file to t-libc-ok.
280 * config/xm-netbsd.h, i386/xm-netbsd.h, m68k/xm-netbsd.h: New files.
281 * sparc/xm-netbsd.h: New file.
282 * ns32k/xm-netbsd.h: Changed to use config/xm-netbsd.h and
284 * configure (i386-*-netbsd*): Use i386/xm-netbsd.h.
285 (m68k-*-netbsd*): Use m68k/xm-netbsd.h.
286 (sparc-*-netbsd*): Use sparc/xm-netbsd.h.
288 * cppp.c, collect2.c: Removed __NetBSD__ from conditional.
289 * collect2.c: Declare strerror if HAVE_STRERROR is defined;
290 otherwise declare sys_errlist and sys_nerr.
292 Wed Feb 22 19:07:08 1995 Niklas Hallqvist (niklas@appli.se)
294 * Makefile.in (libgcc1.a): Run ranlib.
296 Wed Feb 22 18:46:50 1995 Yury Shevchuk (sizif@botik.yaroslavl.su)
298 * explow.c (memory_address): Add missing "else".
300 Wed Feb 22 15:29:58 1995 Jason Merrill <jason@phydeaux.cygnus.com>
302 * collect2.c (libselect): New function for passing to scandir.
304 (locatelib): Use scandir to look for libraries with matching version
307 Wed Feb 22 18:27:14 1995 Paul Eggert <eggert@twinsun.com>
309 * cccp.c (enum sharp_token_type): New type.
310 (stringify, raw_before, raw_after): Use this type instead of char.
311 (collect_expansion, dump_single_macro): Keep track of white space
312 after # and around ## tokens, since the C Standard requires a
313 diagnostic if the white space doesn't match during a redefinition.
314 (sharp_token, sharp_sharp_token): Labels renamed from hash_token and
315 hash_hash_token for naming consistency.
317 Wed Feb 22 17:37:12 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
319 * gcc.c (SWITCH_TAKES_ARG): Add `x'.
320 (process_command): -Wl, -Xlinker, and -lm values always go to
321 linker even if -x was specified.
323 Wed Feb 22 09:33:36 1995 Jason Merrill <jason@phydeaux.cygnus.com>
325 * fold-const.c (fold): Support folding CLEANUP_POINT_EXPRs into
326 arithmetic expressions.
328 Wed Feb 22 08:40:30 1995 David Edelsohn <edelsohn@mhpcc.edu>
330 * rs6000.c (print_operand, case 'H', 'S'): Delete unused.
332 * rs6000.md (ffssi2): Use gpc_reg_operand predicate.
333 (Some maskir patterns): Likewise.
336 * rs6000.md (movsfcc, movdfcc): New standard patterns.
337 (fselsfsf4, fseldfsf4, fseldfdf4, fselsfdf4): Name and create
338 variants of existing anonymous patterns for movsfcc and movdfcc.
340 Wed Feb 22 08:10:36 1995 Philippe De Muyter (phdm@info.ucl.ac.be)
342 * final.c (output_asm_name): New function, using code taken
343 from output_asm_insn.
344 (output_asm_insn): If flag_print_asm_name, print the comment
345 after the first assembler instruction even in multi-instruction
348 Wed Feb 22 07:04:25 1995 Ian Lance Taylor (ian@cygnus.com)
350 * real.c (REAL_WORDS_BIG_ENDIAN): New macro. Define as either
351 FLOAT_WORDS_BIG_ENDIAN or HOST_FLOAT_WORDS_BIG_ENDIAN. Use it
352 instead of FLOAT_WORDS_BIG_ENDIAN.
354 Wed Feb 22 07:03:39 1995 Stephen L Moshier (moshier@world.std.com)
356 * final.c (split_double): Handle CONST_INT that holds both words.
357 * i386.c (output_move_double): Let split_double extract any
358 constant in op 1; take size from op 0.
360 * real.c (m16m, edivm, emulm): Change `short' to `EMUSHORT', and `long'
364 Wed Feb 22 00:52:40 1995 Jeffrey A. Law <law@mole.gnu.ai.mit.edu>
366 * pa.h (ASM_DECLARE_FUNCTION_NAME): Handle invisible reference
367 arguments passed in registers.
369 Tue Feb 21 19:03:09 1995 Douglas Rupp (drupp@cs.washington.edu)
371 * Makefile.in ($exeext, $objext, $oldobjext): New macros.
372 * Makefile.in: Copy config.status to config.run and then execute.
373 * configure, Makefile.in: Try a "cp" if "ln" fails.
374 * objc/Makefile: Added {} around file variable.
376 * c-parse.in: New rules to allow attributes in a prefix position.
377 * c-tree.h (decl_attributes): Added argument.
378 * c-decl.c (grokdeclarator): Added code to support machine attributes.
379 * c-common.c (decl_attributes): Add third argument prefix_attributes.
380 (valid_machine_attribute): Deleted; moved to tree.c.
381 * tree.h (union tree_decl): New field MACHINE_ATTRIBUTES.
382 (DECL_MACHINE_ATTRIBUTES): New macro.
383 * c-decl.c (duplicate_decls): Pass DECL_MACHINE_ATTRIBUTES to
384 descendent typedef; make duplicate typedefs that are identical
385 generate a warning if they are both in system header files.
386 (redeclaration_error_message): Make duplicate typedefs that
387 are identical not an error if they are both in system header files.
388 * print-tree.c (print_node{,_brief}): Print machine attributes.
390 * calls.c (emit_call_1): Added function declaration node argument
391 passed to RETURN_POPS_ARGS; also effects calls to emit_call_1.
392 * function.c (assign_parms): Added arg to RETURN_POPS_ARGS.
393 * 1750a.h, a29k.h, alpha.h, arm.h, clipper.h, convex.h: Likewise.
394 * dsp16xx.h, elxsi.h, fx80.h, gmicro.h, h8300.h, i370/mvs.h: Likewise.
395 * i386.h, i386/isc.h, i386/next.h, i386/sco.h: Likewise.
396 * i386/scodbx.h, i860.h, i960.h, m68k.h, m88k.h, mips.h: Likewise.
397 * ns32k.h, pa.h, pdp11.h, pyr.h, romp.h, rs6000.h, sh.h: Likewise.
398 * sparc.h, spur.h, tahoe.h, vax.h, we32k.h: Likewise.
400 * cccp.c (main): Don't set "Include" environment variable for NT.
401 * protoize.c: Added #ifdef's WINNT.
402 * toplev.c (get_run_time): Return an approximate value for NT.
403 * gbl-ctors.h, libgcc2.c (atexit): Prototype now works with NT.
404 * gcc.c (fix_argv): Rewrite.
406 * i386/winnt.c: New file
407 * winnt/ld.c (expand_lib): Look for both libfoo.a and foo.lib.
408 Modified to support linking with Windows NT graphics libraries.
409 * i386/winnt.h, x-winnt: Support NT Graphics programs; also bug fixes.
410 * winnt/winnt.h (CPP_SPEC): Accept c++ style comments.
411 * winnt/xm-winnt.h: Reflect features/functions available in NT.
413 * fixinc.winnt: New file.
414 * configure (i[345]86-*-winnt): Add fixincludes and extra_objs.
415 * config-nt.bat: Deleted.
416 * configure.bat: Take arg specifying msdos or winnt batch file config.
417 * i386/config-nt.{bat,sed}: Updated to Windows NT 3.5.
419 * ginclude/stdarg.h, ginclude/varasgs.h: Test _VA_LIST_DEFINED macro.
420 * ginclude/stddef.h: Test _SIZE_T_DEFINED and _WCHAR_T_DEFINED.
421 * ginclude/varargs.h: Modifed to work with Windows NT. Needed a
422 _VA_LIST_DEFINED macro.
424 * tree.c: (chain_member_value, decl_attribute_variant): New functions.
425 (valid_machine_attribute): Moved here from c-common.c.
427 * varasm.c (make_decl_rtl): Call MODIFY_ASSEMBLER_NAME if defined.
429 Tue Feb 21 12:40:05 1995 Jeffrey A. Law <law@snake.cs.utah.edu>
431 * local-alloc.c (block_alloc): Stop looping over the input
432 operands once we find an input/output register pair which can
433 be combined into a single qty.
435 * integrate.c (finish_inline): Don't set DECL_INLINE.
437 Tue Feb 21 10:19:51 1995 Michael Meissner <meissner@cygnus.com>
439 * toplev.c (lang_options): Move fortran switches here, fixing bad
442 Tue Feb 21 07:30:11 1995 Stephen L Moshier (moshier@world.std.com)
444 * rs6000.c (output_toc): Use REAL_VALUE_* macros.
445 * rs6000.h (REAL_ARITHMETIC): Define.
447 Tue Feb 21 06:48:41 1995 Stephen R. van den Berg (berg@pool.informatik.rwth-aachen.de)
449 * stmt.c (expand_value_return): Make function static.
451 Tue Feb 21 06:42:33 1995 Paul Eggert <eggert@twinsun.com>
453 Add support for ISO Normative Addendum 1 to the C Standard.
454 * ginclude/iso646.h: New file.
455 * Makefile.in (USER_H): Add iso646.h.
456 * c-lex.c (yylex): Add support for <: :> <% %> digraphs.
457 * cccp.c (rescan): Add support for %: and %:%: digraphs.
458 (collect_expansion, skip_if_group, dump_single_macro): Likewise.
459 (union hashval): Remove ival member; it doesn't suffice for `199409L'.
460 (special_symbol): Use cpval instead of ival for T_CONST macros.
461 (install): Remove ivalue argument, since string value now suffices.
463 (initialize_builtins): Switch from int to string values for T_CONST.
464 If not traditional, initialize __STDC_VERSION__ to 199409L.
465 (STDC_VALUE): Remove no-longer-used configuration macro.
467 Tue Feb 21 06:16:37 1995 Franz Korntner (fkorntne@bazis.nl)
469 * gcc.c (read_specs): Use length read when inserting zero.
471 * c-lex.c (yylex): For float, build constant in long double.
473 Tue Feb 21 05:57:42 1995 Craig Burley (burley@gnu.ai.mit.edu)
475 * toplev.c (lang_options): Add options for Fortran.
477 * gcc.c (default_compilers): Add entries for .f and .F.
479 Tue Feb 21 05:37:21 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
481 * gcc.c (default_compilers): Remove rule for ".ada".
482 Pass .ads or .adb suffix to -dumpbase, depending on input filename.
484 * toplev.c (compile_file): Initialize input_file_stack before
485 calling lang_init, not after.
486 * c-lex.c (check_newline): Give warning if unrecognized data on #line.
487 (yylex): Give error for unterminated string constant.
489 Mon Feb 20 14:46:56 1995 Per Bothner <bothner@kalessin.cygnus.com>
491 * varasm.c (output_constant): Strip NOP_EXPRs for SET_TYPE too,
492 by using AGGREGATE_TYPE_P macro.
494 Mon Feb 20 14:39:57 1995 Per Bothner <bothner@kalessin.cygnus.com>
496 * config/svr4.h (ASM_OUTPUT_SOURCE_LINE): Use assemble_name.
498 Mon Feb 20 15:26:05 1995 Doug Evans <dje@cygnus.com>
500 * config.sub (sun4sol2): Alias for sparc-sun-solaris2.
502 Sat Feb 18 16:15:33 1995 Mike Stump <mrs@cygnus.com>
504 * libgcc2.c (__unwind_function): New function to support stack
505 unwinding on rs6000 for g++ exception handling.
507 Sat Feb 18 13:55:02 1995 Per Bothner <bothner@kalessin.cygnus.com>
509 * tree.h (get_set_constructor_bytes): Fix prototype.
510 * varasm.c (output_constructor): Fix typo byte_size -> size.
512 Sat Feb 18 12:36:12 1995 Doug Evans <dje@cygnus.com>
514 Lynx patches from various Cygnus people.
515 * config.sub: Recognize lynx* as lynxos.
516 * configure (i386-lynx): Set xm_file to i386/xm-lynx.h
517 Set tmake_file to i386/t-i386bare.
518 (m68k-lynx): Set xm_file to m68k/xm-lynx.h.
519 Set tmake_file to m68k/t-lynx.
520 (rs6000-lynxos*): New target.
521 (sparc-lynxos*): Set xm_file to sparc/xm-lynx.h.
522 Set tmake_file to sparc/t-sunos41.
523 * config/lynx.h (LIB_SPEC, STARTFILE_SPEC): Update to LynxOS 2.2.2.
524 (FUNCTION_PROFILE): Undef.
525 * config/xm-lynx.h (HOST_BITS_PER_CHAR): Delete.
526 (HOST_BITS_PER_{SHORT,INT,LONG,LONGLONG}): Likewise.
527 (mktemp): Provide our own, lynx's definition isn't standard.
528 * i386/t-i386bare (LIBGCC1): Define to empty instead of libgcc1.null.
529 (CROSS_LIBGCC1): Likewise.
530 * i386/xm-lynx.h: New file.
531 * m68k/lynx.h (FUNCTION_VALUE): Redefine.
532 (LIBCALL_VALUE, FUNCTION_VALUE_REGNO_P, NEEDS_UNTYPED_CALL): Likewise.
533 * m68k/t-lynx: New file.
534 * m68k/xm-lynx.h: New file.
535 * rs6000/lynx.h: New file.
536 * rs6000/rs6000.h (SUBTARGET_OVERRIDE_OPTIONS): Define.
537 (OVERRIDE_OPTIONS): Call it.
538 * rs6000/x-lynx: New file.
539 * rs6000/xm-lynx.h: New file.
540 * sparc/xm-lynx.h: New file.
542 Thu Feb 16 17:02:51 1995 Ian Lance Taylor <ian@cygnus.com>
544 * config/mips/mips.h (enum processor_type): Add PROCESSOR_R4650.
545 * config/mips/mips.c (override_options): Use PROCESSOR_R4650 for
546 the 4650, not PROCESSOR_R4600. Check for it when doublechecking
548 * config/mips/mips.md: Add r4650 to cpu attr. Update functional
550 (mulsi3): If TARGET_MAD, generate mulsi3_r4650.
551 (mulsi3_r4650): New instruction, mul directly to register file,
554 Thu Feb 16 11:44:51 1995 Michael Meissner <meissner@cygnus.com>
556 * rs6000/eabi.h (SUBTARGET_SWITCHES): Add support for
557 -mstrict-align to control whether STRICT_ALIGNMENT is 1 or 0.
558 (STRICT_ALIGNMENT): Redefine, to be 1 if -mstrict-align used.
560 Wed Feb 15 13:03:38 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
562 * libgcc2.c: Repair botch in application of patch.
564 Tue Feb 14 16:00:52 1995 Per Bothner <bothner@kalessin.cygnus.com>
566 * tree.c (get_set_constructor_bytes): New function. Replaces ...
567 (get_set_constructor_words): ... removed old function.
568 * tree.h: get_set_constructor_words -> get_set_constructor_bytes.
569 * expr.c (store_constructor): Don't use get_set_constructor_words.
570 * varasm.c (const_hash): Add support for SET_TYPE constructors.
571 (record_constant_1): Likewise.
572 (copy_constant): Likewise.
573 (output_constant): Likewise. (Also SET_TYPE INTEGER_CSTs.)
575 Tue Feb 14 08:05:07 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
577 * tree.c (stabilize_reference_1): No longer static.
578 * tree.h (stabilize_reference_1): Add declaration.
580 Mon Feb 13 19:37:15 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
582 * config/mips/gnu.h: Rewritten to use ELF object format.
583 * config/gnu.h (GNU_CPP_PREDEFINES): New macro.
584 * config/i386/gnu.h (CPP_PREDEFINES): Use GNU_CPP_PREDEFINES macro.
585 * config/i386/gnuelf.h: Likewise.
587 Mon Feb 13 14:06:04 1995 Jason Merrill <jason@phydeaux.cygnus.com>
589 * libgcc2.c (__default_new_handler): Don't call write if
590 inhibit_libc is defined.
591 (__pure_virtual): Ditto.
593 Mon Feb 13 16:42:38 1995 Doug Evans <dje@cygnus.com>
595 * a29k/a29k-udi.h (DBX_DEBUGGING_INFO): Define.
596 (PREFERRED_DEBUGGING_TYPE): Define.
598 * expmed.c (store_split_bit_field): If value is VOIDmode,
599 pass word_mode to force_reg.
601 * varasm.c (function_section): New function.
602 (assemble_start_function): Call it.
603 * output.h (function_section): Declare it.
604 * final.c (final_scan_insn): Call function_section instead of
606 * dwarfout.c (dwarfout_begin_block): Likewise.
607 (dwarfout_end_block): Likewise.
608 (dwarfout_label): Likewise.
609 (dwarfout_begin_function): Likewise.
610 (dwarfout_end_function): Likewise.
611 (dwarfout_line): Likewise.
613 * flow.c (find_basic_blocks): Revise calculation of when to
616 * libgcc2.c (exit): Don't call __do_global_dtors if
617 INIT_SECTION_ASM_OP and OBJECT_FORMAT_ELF.
619 * Makefile.in (libgcc1.S): New target.
621 Mon Feb 13 12:45:11 1995 Per Bothner <bothner@kalessin.cygnus.com>
623 * tree.c (permanent_allocation): Pop function_maybepermanent_obstack,
624 not hardwired &maybepermanent_obstack.
626 Mon Feb 13 12:10:31 1995 J.T. Conklin <jtc@netbsd.org>
628 * config/netbsd.h: Changed so that macro definitions used when gcc
629 is integrated into the NetBSD source tree are not defined unless
630 NETBSD_NATIVE is defined too.
632 * configure (*-netbsd-*): Rename netbsd config files so that they don't
633 have the machine type in them.
634 * i386/netbsd.h: Renamed from i386/netbsd-i386.h.
635 * m68k/netbsd.h: Renamed from m68k/netbsd-m68k.h.
636 * ns32k/netbsd.h: Renamed from ns32k/netbsd32k.h.
638 Mon Feb 13 15:05:09 1995 Jason Merrill <jason@phydeaux.cygnus.com>
640 * collect2.c (main): Remember all the .o files specified on the
641 command line, and scan them directly if COLLECT_SCAN_OBJECTS.
642 * rs6000/rs6000.h (COLLECT_SCAN_OBJECTS): Define.
644 * stmt.c (warn_if_unused_value): Don't warn about dereferenced
647 Mon Feb 13 14:00:51 1995 Jim Wilson <wilson@mole.gnu.ai.mit.edu>
649 * m68k.h (RTX_COSTS): Fix typo from last change.
651 * reload1.c (last_spill_reg): Move definition to top of file.
652 Don't initialize here.
653 (reload): Intialize here to -1.
655 Mon Feb 13 09:29:49 1995 Paul Eggert <eggert@twinsun.com>
657 * fixinc.svr4 (longlong_t, u_longlong_t):
658 Work around bug in Solaris 2.4 <sys/types.h>.
660 Mon Feb 13 08:31:18 1995 David Edelsohn <edelsohn@mhpcc.edu>
662 * rs6000.h, powerpc.h (CPP_SPEC): Define _POSIX_SOURCE if -posix.
664 * rs6000.md (extendsfdf2): Undo 30 Nov 94 change. Use float_extend
665 instead of SUBREG and restore fmr instruction for differing FPRs.
667 Mon Feb 13 05:25:09 1995 Jason Merrill <jason@phydeaux.cygnus.com>
669 * convert.c (convert_to_{pointer,real,integer,complex}):
672 Mon Feb 13 08:14:10 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
674 * c-parse.in (ALIGN): Remove unused token.
676 * loop.c (mark_loop_jump): Remove bogus assignments to LABEL_
677 fields in default case.
679 Mon Feb 13 07:55:30 1995 Torbjorn Granlund (tege@tiny.cygnus.com)
681 * a29k.h (TARGET_MULTM): New #define.
682 (TARGET_SWITCHES): Recognize "-mno-multm".
683 * a29k.md (smulsi3_highpart, umulsi3_highpart, mulsidi3, umulsidi3):
684 Make these conditional on TARGET_MULTM.
686 * a29k.md (multm matcher): Delete.
687 (multmu matcher): Delete.
688 (mulsidi3 DEFINE_SPLIT): Generate RTL for smulsi3_highpart instead of
689 for deleted pattern. Fix typo in preparation code.
690 (umulsidi3 DEFINE_SPLIT): Analogous change.
692 Mon Feb 13 07:09:02 1995 Peter Flass (FLASS@LBDRSCS.BITNET)
694 * i370/mvs.h (ASM_OUTPUT_ASCII): Don't duplicate first char.
696 Mon Feb 13 06:51:07 1995 Samuel A. Figueroa (figueroa@CS.NYU.EDU)
698 * i386/os2.h (OBJECT_SUFFIX): New macro.
699 (LIB_SPEC, STARTFILE_SPEC): Adjust to include better set of libs.
701 * i386/xm-os2.h (DIR_SEPARATOR): Define if not already.
702 (strcasecmp): New definition.
704 * toplev.c (main): Look at DIR_SEPARATOR for finding last component.
705 * cccp.c (do_include, is_system_include, open_include_file):
706 Handle DIR_SEPARATOR.
708 Sun Feb 12 20:20:28 1995 Brendan Kehoe (brendan@lisa.cygnus.com)
710 * config/sparc/sysv4.h (ASM_OUTPUT_SECTION_NAME): Check to make
711 sure DECL is non-null before trying to reference it.
712 * config/mips/elf64.h (ASM_OUTPUT_SECTION_NAME): Likewise.
714 Sun Feb 12 19:55:45 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
716 * calls.c (expand_call): Add missing paren in last change.
718 Sat Feb 11 18:09:27 1995 Jim Wilson <wilson@cygnus.com>
720 * libgcc2.c (L_fixunsxfsi, L_fixunsdfsi, L_fixunssfsi): Undef
721 normal types before including limits.h.
723 * calls.c (expand_call): When setting n_named_args, depend on new
724 macro STRICT_ARGUMENT_NAMING.
726 * expr.c (expand_builtin, case BUILT_IN_NEXT_ARG): Don't warn when
727 no argument if this is a varargs routine.
729 Sat Feb 11 16:08:13 1995 Samuel A. Figueroa (figueroa@CS.NYU.EDU)
731 * gcc.c (specs): Use %O instead of "o" for object file suffix.
732 (do_spec_1, case 'O'): New option.
734 Sat Feb 11 14:58:19 1995 Philippe De Muyter (phdm@info.ucl.ac.be)
736 * m68k/mot3300.h (RETURN_IN_MEMORY): Fix error in last change.
738 Sat Feb 11 13:09:28 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
740 * cexp.y (%union): Delete VOIDVAL and SVAL; unused.
742 * c-decl.c (grokdeclarator): Use NAME, not IDENTIFIER_POINTER
743 of DECLARATOR for error messages; DECLARATOR might be null.
745 * expmed.c (expand_divmod): Always call expand_twoval_binop with
748 Fri Feb 10 14:55:05 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
750 * caller-save.c: Replace MAX_UNITS_PER_WORD with MIN_UNITS_PER_WORD.
751 * h8300.h, mips.h, rs6000.h, sparc.h: Likewise.
753 * alpha.c (direct_return): Can't if have outgoing args.
755 * expr.c (store_constructor, ARRAY_TYPE): Use code for
756 non-integer INDEX for non-integer ELTTYPE size.
757 Allow INDEX to be zero in code and divide size by BITS_PER_UNIT.
759 * fold-const.c (fold): Don't modify tree with newly-allocated
760 nodes; instead make new tree in those cases.
762 Wed Feb 8 15:13:49 1995 Doug Evans <dje@cygnus.com>
764 * sparc/sparc.c (v9_regcmp_p): New function.
765 (v9_regcmp_op): Call it.
766 * sparc/sparc.md (movsicc): New pattern.
767 (movdicc, movsfcc, movdfcc, movtfcc): Likewise.
769 * sparc/sparc.c (sparc64_initialize_trampoline): Use gen_flush
770 instead of knowing what pattern looks like.
772 * sparc/sparc.md (nonlocal_goto): Use Pmode instead of SImode.
774 Wed Feb 8 10:05:11 1995 David J. MacKenzie <djm@geech.gnu.ai.mit.edu>
776 * config.sub: Add a blank in the #! line for 4.2BSD, Dynix, etc.
778 Wed Feb 8 02:52:21 1995 Jeffrey A. Law <law@mole.gnu.ai.mit.edu>
780 * pa.md (call, call_value): Emit save of the PIC register
781 with "emit_insn" before emitting the call insn itself.
783 Tue Feb 7 15:19:40 1995 Jim Wilson <wilson@cygnus.com>
785 * sh.c (prepare_scc_operands, from_compare): Force constant 0 into
786 register for unsigned comparisons.
788 * sh.c: Correct errors in comments.
789 (calc_live_regs, expand_acall): Delete TARGET_SMALLCALL support.
790 (need_slot): Add comment. Delete test of INSN_ANNULLED_BRANCH_P.
791 (print_operand_address): Delete '*', '^', '!' support.
792 (synth_constant): Call zero_extend* instead of and*. Call ashlsi3_k
793 instead of ashlsi3_n.
794 (prepare_scc_operands): Abort for NE case.
795 (output_move_double, output_far_jump, output_branch): Delete commented
796 out code. Don't output assembler comments.
797 (gen_ashift): Don't call addsi3.
798 (fixit): Delete redundant test for QImode constants.
799 (hi_const): Delete TARGET_SHORTADDR support.
800 (find_barrier): Don't put constant pool between mova and its label.
801 (add_function, seen_function, bsr_operand, mac_operand,
803 (sh_expand_prologue, expand_acall): Delete TARGET_BSR support.
804 (general_movsrc_operand): Don't reject non-I CONST_INT.
805 * sh.h: Correct errors in comments.
806 (CONDITIONAL_REGISTER_USAGE): Delete TARGET_NOSAVE support.
807 (TARGET_MAC, TARGET_TRYR0, TARGET_NOSAVE, TARGET_SMALLCALL,
808 TARGET_PARANOID, TARGET_RETR2, TARGET_SHORTADDR, TARGET_BSR): Delete.
809 (TARGET_SWITCHES): Delete above options.
810 (OVERRIDE_OPTIONS): Delete TARGET_BSR support.
811 (FUNCTION_BOUNDARY): Use 32 bit alignment when not TARGET_SMALLCODE.
812 (FIRST_RET_REG): Delete TARGET_RETR2 support.
813 (MODE_DISP_OK_[21]): Delete TARGET_TRYR0 support.
814 (EXTRA_CONSTRAINT_U): Delete.
815 (CONST_COSTS): For logical operations, give L constants cost 1.
816 (PRINT_OPERAND_PUNCT_VALID_P): Delete '*', '^', '!'.
817 * sh.md: Correct errors in comments. Delete all assembler comments.
818 Delete commented out patterns. Delete all peepholes but two.
819 Delete all define_splits but one. Delete all `combiner' patterns.
820 (mpy): Correct multiply latencies.
821 (needs_delay_slot, hit_stack, interrupt_function, in_delay_slot,
822 define_delay): Correct and/or simplify all reorg related definitions.
823 (addsi3_real): Delete.
824 (addsi3): Use arith_operand for argument 1.
825 (mulhisi3): Use arith_reg_operand not mac_operand.
826 (and_ffff, and_ff): Delete.
827 (andsi3): Handle constant 255 specially.
828 (rot*): Correct and/or simplify all rotate patterns.
829 (ashlsi3_k): Delete clobber of T bit. Output add for 1 bit shift.
830 (ashlsi3_n, lshrsi3_n): Delete use of fake_shift.
831 (negc): Correct pattern by adding set of T bit.
832 (extend*): Delete 'u' and 'U' constraint cases.
833 (pop): Separate 'l' and 'x' constraint cases.
834 (movsi-1): Better code for move to T bit case.
835 (bsr, bsr_value, mac): Delete.
837 Tue Feb 7 14:23:52 1995 Doug Evans <dje@cygnus.com>
839 * sparc/sparc.md (*): Give names to all anonymous patterns.
841 Mon Feb 6 23:41:09 1995 Stephen L Moshier <moshier@world.std.com>
843 * sparc/sysv4.h (ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE): Remove
844 tests for host == target format and endianness.
846 Mon Feb 6 16:52:38 1995 Torbjorn Granlund (tege@tiny.cygnus.com)
848 * i386.h (RTX_COSTS): Rewrite.
850 * m68k/lb1sf68.asm (__udivsi3, __divsi3, __umodsi3, __modsi3):
851 Rewrite to actually work for more than a few small operands,
852 and to be reasonably small.
853 (__mulsi3): Eliminate usage of link register (i.e. a6).
854 (shift patterns): Delete.
856 * t-m68kbare (LIB1ASMFUNCS): Remove _umulsi3.
857 * t-vxworks68: Likewise.
859 Mon Feb 6 15:22:39 1995 Jim Wilson <wilson@cygnus.com>
861 * ginclude/va-i960.h (va_start): Add __builtin_next_arg call.
863 * sh/sh.c (sh_function_arg): Don't reject unaligned structures.
864 (sh_function_arg_partial_nregs): Likewise.
866 * sparc/sparc.md (movsf-1, movdf-1, movtf-1): Use 'F' not 'E'.
868 * sparc/sol2.h (STARTFILE_SPEC): Delete explicit /usr/ccs/lib/
871 * reload1.c (alter_reg): New variable stack_slot. Apply anti
872 BYTES_BIG_ENDIAN correction to stack slot address stored in
875 * jump.c (jump_optimize): When searching for a LOOP_END note to move,
876 stop if we find a LOOP_BEG note first.
878 Mon Feb 6 15:03:35 1995 Doug Evans <dje@cygnus.com>
880 * i386/sysv3.h (DBX_DEBUGGING_INFO): Define.
881 (PREFERRED_DEBUGGING_TYPE): Define.
883 Mon Feb 6 11:56:14 1995 Jeffrey A. Law <law@mole.gnu.ai.mit.edu>
885 * pa.md: Replace "misc" attribute with "multi" in recentlyadded
888 * pa-osf.h (TARGET_DEFAULT): Protect definition.
890 Mon Feb 6 11:52:25 1995 Ian Lance Taylor <ian@cygnus.com>
892 * fixincludes: When changing <assert.h> to include <stdio.h> or
893 <stdlib.h>, make it include them only for C++.
895 Sun Feb 5 21:39:41 1995 Torbjorn Granlund <tege@cygnus.com>
897 * pa.c (globally): Use GEN_INT.
898 (emit_move_sequence): Use expand_inc instead of plus_constant
899 (generates less rtl).
900 * pa.md (globally): Use GEN_INT.
902 * pa.h (PREDICATE_CODES): Fix many errors. Enable.
904 * m68k.h (RTX_COSTS): Add special cases for a plain 68000.
906 * expmed.c (mul_cost, div_cost): New variables.
907 (mul_widen_cost, mul_highpart_cost): New variables.
908 (init_expmed): Init new variables.
909 (expand_mult_highpart): New argument, MAX_COST.
910 Use new argument in several places. Simplify code that tries
911 widening multiply variants.
912 (expand_divmod): New variables MAX_COST, EXTRA_COST.
913 Initialize MAX_COST dependent on REM_FLAG.
914 Calculate and pass cost in all calls of expand_mult_highpart.
916 Sat Feb 4 13:19:29 1995 Jim Wilson <wilson@cygnus.com>
918 * mips/abi64.h, mips/cross64.h, mips/iris6.h: New files.
919 * mips/iris5.h (TARGET_DEFAULT): Add #ifndef/#endif around define.
920 * mips/mips.c (mips_isa_string): Add mips4 to comment.
921 (large_int): Delete code for handling 64 bit constants.
922 (mips_const_double_ok): For irix6, reject all floating point constants.
923 (mips_move_2words): Use dli not li for 64 bit constants.
924 Use dla not la for 64 bit addresses.
925 (output_block_move): Likewise.
926 (function_arg): Add support for 64bit ABI.
927 (override_options): Add support for mips4 and R8000.
928 (print_operand): Handle new modifiers 'B', 'b', 'T', 't'.
929 Make 'X' case work for 64 bit host.
930 (mips_output_filename): Use ASM_OUTPUT_FILENAME.
931 (mips_asm_file_start): Go to text section for 64bit ABI.
932 (compure_frame_size, save_restore_insns, function_prologue,
933 mips_expand_prologue, function_epilogue): Add support for 64 bit ABI.
934 (type_dependent_reg, mips_function_value): New functions.
935 * mips/mips.h (__PTR_TO_INT, __INT_TO_PTR): Delete.
936 (enum processor_type): Add R8000.
937 (mips_isa_string, CC1_SPEC): Add mips4 to comment.
938 (CONDITIONAL_REGISTER_USAGE): Use SUBTARGET_CONDITIONAL_REGISTER_USAGE.
939 (SUBTARGET_CONDITIONAL_REGISTER_USAGE): New macro.
940 (ASM_SPEC, LINK_SPEC, CPP_SPEC): Add mips4 support.
941 (MIPS_TEMP[12]_REGNUM): Change to avoid clobbering 64bit abi
943 (SMALL_INT, SMALL_INT_UNSIGNED, CONST_OK_FOR_LETTER_P): Fix for 64
945 (ABI_64BIT): New macro.
946 (REG_PARM_STACK_SPACE): Use UNITS_PER_WORD not 4.
947 (GO_IF_LEGITIMATE_ADDRESS, CONSTANT_ADDRESS_P, LEGITIMATE_CONSTANT,
948 LEGITIMIZE_ADDRESS): Don't allow CONST addresses for Irix6.
949 (ASM_OUTPUT_FILENAME): New macro.
950 (ASM_OUTPUT_ADDR_DIFF_ELT): Add 64 bit ABI support.
951 * mips/mips.md (type attribute): Add fmadd.
952 (cpu attribute): Add r8000.
953 (umaddi+1, ..., umadddi+8): Add pattern for multiply accumulate.
954 (movdi): Legitimize addresses, just like movsi does.
955 (loadgp): New pattern for 64 bit ABI.
956 (shift patterns): Use INTVAL instead of XINT for constants.
957 (jump, tablejump_interal[12]): Add 64 bit ABI support.
958 (movsicc-8, ..., movsicc): Add patterns for conditional moves.
959 * mips/t-cross64, mips/t-iris6, mips/x-iris6, mips/xm-iris6.h:
961 * configure: Add irix6 and irix5cross64 configurations.
962 * ginclude/va-mips.h (*): Change __mips==3 to __mips>=3.
963 (sgidefs.h): Include if _MIPS_SIM is defined.
964 (va_start): Add support for 64 bit ABI.
966 Sat Feb 4 10:31:37 1995 Doug Evans <dje@cygnus.com>
968 * dbxout.c (dbxout_source_file): Don't switch to text section if
969 in function with section attribute. Print Ltext label to correct
970 file (important on mips).
972 Fri Feb 3 14:43:23 1995 Michael Meissner (meissner@cygnus.com)
974 * rs6000/rs6000.md (call, call_value): If building for System V.4
975 or eABI, function pointers are just pointers, not pointers to a
978 Thu Feb 2 15:50:26 1995 Ian Lance Taylor <ian@cygnus.com>
980 * fixincludes: When fixing bool in <curses.h>, permit whitespace
981 before the semicolon. Needed on AIX 3.2.5.
983 Thu Feb 2 12:06:12 1995 David Edelsohn <edelsohn@mhpcc.edu>
985 * rs6000.md (smax:SF define_split): Change match_operand typo to
987 (smin:SF define_split): Likewise.
988 (smax:DF define_split): Likewise.
989 (smin:DF define_split): Likewise.
991 Wed Feb 1 16:50:18 1995 Michael Meissner (meissner@cygnus.com)
993 * config.sub: Add support for powerpc-*-{elf,svr4,eabi}.
996 * rs6000/xm-sysv4.h: New file, to support building GCC for a
997 System V.4 PowerPC system.
998 * rs6000/sysv4.h: Ditto.
999 * rs6000/x-sysv4: Ditto.
1001 * rs6000/eabi.h: New file, to support building GCC for an embedded
1004 * rs6000/rs6000.h (TARGET_SWITCHES): Add -mmultiple, -mno-multiple
1005 to control emitting load/store multiple instructions. On the
1006 power, this is on by default, and on the powerpc it is off.
1007 (SUBTARGET_SWITCHES): New macro, which defaults to nothing to
1008 allow a subtarget to add new switches.
1009 (SAVE_FP_*, RESTORE_FP_*): New macros that give the prefix and
1010 suffix to use for the functions that save and restore the floating
1013 * rs6000/rs6000.c (output_prolog): Use TARGET_MULTIPLE instead of
1014 TARGET_POWER to control whether to emitt load/store multiple
1015 instructions. Use the SAVE_FP_*/RESTORE_FP_* macros instead of
1016 using the hardwired AIX names for the functions to save and
1017 restore the floating point registers.
1018 (output_epilog): Likewise.
1019 (print_operand_address): Do not prepend a '.' for %z when using
1020 the ELF object file format.
1021 (svr4_traceback): New function to emit the word before the
1022 procedure prologue that System V.4 expects to do tracebacks.
1023 (output_prolog): Call svr4_traceback under ELF systems.
1024 (output_epilog): Omit AIX style traceback tables for ELF systems.
1025 (output_function_profiler): Abort for now in the ELF case.
1027 * rs6000/rs6000.md (load_multiple, store_multiple): Test against
1028 TARGET_MULTIPLE instead of TARGET_POWER.
1030 Tue Jan 31 19:27:43 1995 Torbjorn Granlund <tege@cygnus.com>
1032 * pa.h (REAL_ARITHMETIC): Define.
1033 (ASM_OUTPUT_DOUBLE): Rewrite.
1034 (ASM_OUTPUT_FLOAT): Rewrite.
1035 * pa.md (SF and DF move): Use constraint 'E' instead of 'F'.
1036 * pa.c (singlemove_string): Make case with SFmode CONST_DOUBLE abort.
1037 (print_operand): #ifdef out CONST_DOUBLE cases.
1039 Tue Jan 31 19:27:43 1995 Jim Wilson <wilson@chestnut.cygnus.com>
1041 * pa/pa.h (TARGET_SOFT_FLOAT): New macro.
1042 (TARGET_SWITCHES, CPP_SPEC, CONDITIONAL_REGISTER_USAGE, FUNCTION_VALUE,
1043 LIBCALL_VALUE, FUNCTION_VALUE_REGNO_P, FUNCTION_ARG_REGNO_P,
1044 FUNCTION_ARG, ASM_DECLARE_FUNCTION_NAME, GO_IF_LEGITIMATE_ADDRESS,
1045 RTX_COSTS): Use TARGET_SOFT_FLOAT.
1046 * pa/pa.md (*sf*, *df*, etc): Make all floating point patterns depend
1047 on ! TARGET_SOFT_FLOAT.
1048 (movsi, movdi, movsf, movdf): Add patterns for TARGET_SOFT_FLOAT.
1050 Tue Jan 31 15:53:04 1995 Jason Merrill <jason@phydeaux.cygnus.com>
1052 * toplev.c (lang_options): Add -f{no-,}check-new.
1054 Tue Jan 31 13:55:37 1995 Doug Evans <dje@cygnus.com>
1056 * mips/mips.h (ASM_DECLARE_FUNCTION_NAME): Ensure section is .text if
1057 no section attribute.
1058 * mips/elf64.h (ASM_OUTPUT_SECTION_NAME): Use asm_out_text_file for
1061 Tue Jan 31 13:26:42 1995 Ian Lance Taylor <ian@cygnus.com>
1063 * libgcc2.c: Include <limits.h>, not "glimits.h".
1065 Mon Jan 30 16:34:24 1995 Jason Merrill <jason@phydeaux.cygnus.com>
1067 * c-common.c (type_for_size): Try to match on int before other
1068 types (which might be the same size).
1069 (type_for_mode): Ditto.
1071 Sat Jan 28 16:28:15 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1073 * config/sparc/sysv4.h (ASM_OUTPUT_SECTION_NAME): #undef before
1076 Sat Jan 28 13:54:23 1995 Jeffrey A. Law (law@snake.cs.utah.edu)
1078 * pa.md (call, call_value): Always save the PIC register before
1081 Sat Jan 28 07:31:26 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
1083 * c-typeck.c (c_expand_return): Refine check for returning pointer
1084 to local variable to allow subtracting a pointer from it.
1086 * calls.c (expand_call): When emitting queue for each arg,
1087 call protect_from_queue; put in initial_value so EXPR_LIST in
1088 is_const case won't have QUEUED.
1090 Sat Jan 28 04:36:46 1995 Jeffrey A. Law (law@snake.cs.utah.edu)
1092 * pa.md (call_internal_reg): Use an even faster sequence for
1093 TARGET_FAST_INDIRECT_CALLS.
1094 (call_value_internal_reg): Likewise.
1096 Fri Jan 27 21:28:51 1995 Ronald F. Guilmette (rfg@segfault.us.com)
1098 * config.sub (unixware, svr4): Treat as synonyms for sysv4.
1100 Fri Jan 27 19:36:13 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1102 * config/i386/gnuelf.h: New file.
1104 Fri Jan 27 16:55:05 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
1106 * libgcc1.c (perform_lshlsi3, __lshlsi3): Deleted.
1107 * libgcc2.c (__lshldi3): Deleted.
1108 * Makefile.in (LIB1FUNCS): Delete _lshlsi3.
1109 (LIB2FUNCS): Delete _lshldi3.
1111 * expr.c (expand_expr, case MINUS_EXPR): Remove bogus operand swap.
1113 * optabs.c (expand_binop): Add missing test for VOIDmode
1114 before calling convert_to_mode.
1116 * final.c (high_{block,function}_linenum): New variables.
1117 (final_start_function): Initialize them.
1118 (final_end_function): Pass highest line number to function end
1120 (final_scan_insn): Pass highest line number in block to block end
1122 (output_source_line): Update highest line in block and function.
1124 Thu Jan 26 03:46:35 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1126 * configure (i[345]86-*linux*): Set $extra_parts if $elf.
1127 (*-*-gnu*): Likewise.
1129 Wed Jan 25 18:11:19 1995 Jim Wilson <wilson@cygnus.com>
1131 * sh.c (prepare_scc_operands): Force sh_compare_op1 to a register if
1132 it is an invalid constant.
1133 (output_branch): Add cases for 4, 8, and 18. Correct branch offsets
1135 (find_barrier): Correct test for move instructions that need to be
1136 fixed by verifying that the set source is a bad constant.
1137 (arith_reg_or_0_operand): New function.
1138 * sh.h (CONST_OK_FOR_LETTER_P): Add case for 'N'. Correct comment.
1139 (ADJUST_INSN_LENGTH, SHORTEN_WITH_AJUST_INSN_LENGTH): New macros.
1140 * sh.md (define_attr type): Combine pcloadsi and pcloadhi into pcload.
1141 (*): Likewise for all patterns that use them.
1142 (define_attr length): Delete cases for pcloadsi and pcloadhi.
1143 Modify branch offsets and lengths to be correct. Correct comment.
1144 (*): Correct length attributes for all patterns.
1145 (in_delay_slot): Delete maybe value. Change default case from yes to
1146 no. Delete case for lengths of 4, 6, 8, 10, and 12.
1147 (cmpeq_0, cmpeq_0-1, cmpeq_0-2): Delete patterns.
1148 (cmpeqsi_t): Delete case with constant as first operand.
1149 (cmpgtsi_t, cmpgesi_t): Use arith_reg_or_0_operand not arith_operand.
1150 Put register cases first.
1151 (cmpgeusi_t, cmpgtusi_t): Delete cases for comparing against zero.
1152 (jump): Call output_far_jump if insn length >= 14 instead of == 14.
1153 (casesi): Use arith_reg_operand not arith_operand for operand 2.
1155 * fixincludes (strings.h): Fix return type of strlen.
1157 * expr.c (expand_expr, case MIN_EXPR): If must emit multiple
1158 instructions, then don't allow a MEM target.
1160 Wed Jan 25 17:07:47 1995 Pat Rankin (rankin@eql.caltech.edu)
1162 * cccp.c (do_include): For VMS, don't attempt to
1163 treat `#include X' as `#include <X.h>' unless `X' has already been
1165 (main): For VMS, do a better job of picking out the base name from
1166 argv[0]'s absolute name.
1167 * vax/xm-vms.h (FAILURE_EXIT_CODE): Define.
1169 Wed Jan 25 14:50:45 1995 David S. Miller (davem@nadzieja.rutgers.edu)
1171 * genattrtab.c (check_attr_value): Change error message text.
1172 (simplify_test_exp): Likewise.
1173 * stmt.c (expand_asm, expand_asm_operands): Likewise.
1174 * mips.c (print_operand, print_operand_address): Likewise.
1175 * dsp16xx.c (dsp16xx_reg_class_from_letter): Likewise.
1176 (limit_reload_class, double_reg_to_memory): Likewise.
1177 (print_operand_address, emit_1600_core_shift): Likewise.
1178 (gen_tst_reg, gen_compare_reg): Likewise.
1179 * dsp16xx.md (compare): Likewise.
1180 * unroll.c (find_splittable_givs): Likewise.
1182 Wed Jan 25 13:21:10 1995 Matthias Pfaller (leo@marco.de)
1184 * configure (ns32k-pc532-netbsd): Use netbsd32k.h instead of netbsd.h.
1185 * ns32k/netbsd32k.h: Renamed from netbsd.h.
1186 Don't include ansi.h.
1187 Include config/netbsd.h and delete definitions included from it.
1188 * ns32k/xm-netbsd.h (HAVE_ATEXIT): Deleted.
1190 Wed Jan 25 12:53:40 1995 Philippe De Muyter (phdm@info.ucl.ac.be)
1192 * m68k/mot3300.h (DEFAULT_PCC_STRUCT_RETURN): Define as zero.
1193 (RETURN_IN_MEMORY): Small aggregates are to be returned in d0.
1195 Wed Jan 25 12:48:43 1995 Paul Eggert <eggert@twinsun.com>
1197 * cccp.c (handle_directive): Fix typo: '\' caused next char to
1198 be copied blindly, which was an error if !traditional and if
1199 the next char was newline or one of <\'"/.
1201 Wed Jan 25 08:15:49 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
1203 * jump.c: Include expr.h after insn-config.h and insn-flags.h.
1205 Tue Jan 24 23:19:28 1995 Doug Evans <dje@cygnus.com>
1207 Improved conditional move support from Richard Earnshaw.
1208 * optabs.c (movcc_gen_code): New variable.
1209 (init_optabs): Initialize it.
1210 (emit_conditional_move): New function.
1211 (can_conditionally_move_p): New function.
1212 * combine.c (simplify_set): Call it.
1213 * expr.h: (emit_conditional_move): Declare it.
1214 (can_conditionally_move_p): Likewise.
1215 (movcc_gen_code): Likewise.
1216 * genopinit.c (optabs): Add entry for movcc_gen_code.
1217 * genconfig.c (main): Delete #ifndef around HAVE_conditional_move.
1218 * jump.c (jump_optimize): Try to emit a conditional move insn before
1219 trying a store-flag insn.
1220 * alpha.md (movsicc): New named pattern.
1221 (movdicc, movsfcc, movdfcc): Likewise.
1222 (SImode conditional move): New matcher.
1223 * sparc.h (HAVE_conditional_move): Delete.
1225 * configure: Recognize and ignore --x-* options.
1227 Mon Jan 23 23:23:33 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1229 * config/svr4.h (ASM_OUTPUT_SECTION_NAME): Renamed from
1230 ASM_OUTPUT_SECTION. The old name was a typo.
1231 (ASM_OUTPUT_SECTION_NAME): Take proper number of args.
1233 Mon Jan 23 18:51:38 1995 Jason Merrill <jason@phydeaux.cygnus.com>
1235 * collect2.c (main): Check LD_INIT_SWITCH and LD_FINI_SWITCH
1237 (scan_prog_file): Don't add shared library initializers or
1238 finalizers to list if LD_INIT_SWITCH or LD_FINI_SWITCH are
1239 defined, respectively.
1241 Mon Jan 23 18:45:13 1995 Ian Lance Taylor <ian@cygnus.com>
1243 * config/mips/mips.c (override_options): Permit any small integral
1244 mode in the HI/LO registers.
1246 Mon Jan 23 15:41:10 1995 Steve Chamberlain <sac@cygnus.com>
1248 * h8300.md (table_jump_h8300, table_jump_h8300h): Constrain
1249 operand to use register.
1251 Sat Jan 21 00:01:08 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1253 * configure (*-*-gnuelf*): Set elf=yes.
1254 (*-*-gnu*): Use ${cpu_type}/gnuelf.h under --with-elf.
1256 Fri Jan 20 20:11:17 1995 Jim Wilson <wilson@cygnus.com>
1258 * combine.c (num_sign_bit_copies): Can handle paradoxical subreg only
1259 if LOAD_EXTEND_OP is defined to SIGN_EXTEND.
1261 * loop.c (record_giv): Initialize new field same_insn.
1262 * loop.h (structure induction): Add new field same_insn.
1263 * unroll.c (copy_loop_body): When check for shared address givs, use
1264 new same_insn field.
1265 (find_splittable_givs): New variable v2. Scan givs to set new
1266 same_insn field. Use same_insn to indentify address givs to be
1269 * flow.c (find_basic_blocks): No longer need to check for deleted
1271 * function.c (delete_handlers): When clear LABEL_PRESERVE_P,
1272 also remove label from nonlocal_label list.
1273 * integrate.c (save_for_inline_copying): Add comment that
1274 nonlocal_label list should be updated if it ever can be nonzero.
1276 * sdbout.c (syms.h): Don't include under Linux.
1278 * loop.c (scan_loop): For the replace_rtx call, copy the rtx that is
1279 being substituted in before the call.
1281 * sh.c (machine_dependent_reorg): When remove SUBREG, add in
1282 SUBREG_WORD to new register number.
1284 * sh.c (multcosts): Do not compute cost of constant power-of-two
1285 multiplies as if they were shifts. Reduce multiply cost from 5 to 3.
1286 Delete variable insn_cost.
1288 Fri Jan 20 14:21:49 1995 Mike Stump <mrs@cygnus.com>
1290 * stmt.c (expand_cleanups): Add 4th argument to indicate if code
1291 needs to be expanded for the cleanup.
1292 (expand_goto_internal): Ditto.
1293 (bc_expand_goto_internal): Ditto.
1294 (fixup_gotos): Ditto.
1295 (expand_end_bindings): Ditto. We now always call expand_cleanups,
1296 even after BARRIERs, so that the call to the exception handling
1297 routines is always done.
1299 Thu Jan 19 18:39:14 1995 Ian Lance Taylor <ian@cygnus.com>
1301 * config/mips/mips.h (MASK_SINGLE_FLOAT): Define.
1303 (TARGET_SINGLE_FLOAT, TARGET_DOUBLE_FLOAT): Define.
1304 (TARGET_MAD): Define.
1305 (TARGET_SWITCHES): Add single-float, double-float, mad, no-mad,
1307 (ASM_SPEC): For gas, pass down -m4650, and pass -m4650 if -mmad is
1309 (CC1_SPEC): If -mips3 is used, only set -mfp64 if neither
1310 -msingle-float nor -m4650 are used. Don't permit both -mfp64 and
1311 -msingle-float, or both -mfp64 and -m4650. If -m4650 is used,
1312 pass down -mcpu=r4650.
1313 (FIXED_REGISTERS): Change HI and LO to not be fixed.
1314 (HARD_REGNO_NREGS): If TARGET_SINGLE_FLOAT, use floating point
1315 registers in 4 byte units, not 8 byte units.
1316 (SECONDARY_RELOAD_CLASS): Define.
1317 (mips_secondary_reload_class): Declare.
1318 (LIBCALL_VALUE): If TARGET_SINGLE_FLOAT, only use FP_RETURN if the
1320 (REGISTER_MOVE_COST): Use a cost of 12 when moving HI or LO to
1321 anything other than a general register.
1322 * config/mips/mips.c (function_arg): If TARGET_SINGLE_FLOAT, pass
1323 DFmode arguments in general registers.
1324 (override_options): Accept 4650 as a cpu type. If
1325 TARGET_SINGLE_FLOAT, permit only small floating point modes in
1326 floating point registers. Always permit SImode modes in HI/LO
1328 (compute_frame_size): If TARGET_SINGLE_FLOAT, only save 4 bytes
1329 per floating point register. Align the floating point register
1330 save space to an eight byte boundary.
1331 (save_restore_insns): If TARGET_SINGLE_FLOAT, save floating point
1332 regisers in single precision.
1333 (mips_secondary_reload_class): New function.
1334 * config/mips/mips.md: Require TARGET_DOUBLE_FLOAT for all double
1335 precision floating point insns. Change the multiplication insns
1336 to be single instructions which set a register of class l or h or
1337 x, as appropriate, rather than explicitly setting HI and/or LO.
1338 Use define_expand to avoid generating a shift near a multiply on
1339 the r4000. Use match_scratch in the division insns to clobber HI
1340 and LO, rather than mentioning them explicitly. Add support for
1341 r4650 mad and madu insns.
1342 * config/mips/t-ecoff (MULTILIB_OPTIONS): Add mips1/mips3.
1343 (MULTILIB_DIRNAMES): Add mips1 mips3.
1345 Wed Jan 18 07:43:53 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
1347 * tree.c (stabilize_reference): Fix typo in last change.
1348 * expr.c (get_inner_reference): Don't ignore CONVERT_EXPR from
1349 non-UNION_TYPE to UNION_TYPE.
1350 (expand_expr, case CONVERT_EXPR): Check for conversion to union
1351 before checking for not changing mode.
1353 Tue Jan 17 22:33:27 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
1355 * tree.c (stabilize_reference, case RTL_EXPR): New case.
1357 Tue Jan 17 18:42:44 1995 Jeffrey A. Law (law@snake.cs.utah.edu)
1359 * pa.c (emit_move_sequence): Also handle displacements which
1360 do not fit in 14 bits for fp load/store secondary reloads.
1362 Tue Jan 17 13:34:22 1995 Jason Merrill <jason@phydeaux.cygnus.com>
1364 Avoid bogus errors for C++ lvalues.
1365 * c-decl.c (init_decl_processing): Set pedantic_lvalues to pedantic.
1366 * fold-const.c (pedantic_non_lvalue): Only force a non-lvalue if
1367 pedantic_lvalues is set.
1368 * tree.h: Declare pedantic_lvalues.
1370 Generalize shared truthvalue code to allow for C++ bool.
1371 * c-tree.h: Declare boolean_{type,true,false}_node.
1372 * c-decl.c (init_decl_processing): Set up
1373 boolean_{type,true,false}_node to equal
1374 integer_{type,one,zero}_node.
1375 * c-common.c (truthvalue_conversion): Use
1376 boolean_{type,true,false}_node instead of
1377 integer_{type,one,zero}_node.
1378 (shorten_compare): Ditto.
1380 Mon Jan 16 07:11:50 1995 Paul Eggert <eggert@twinsun.com>
1382 * cccp.c (rescan): Fix typo that caused tokens to be glued
1383 together improperly.
1385 Sun Jan 15 21:00:24 1995 Doug Evans (dje@cygnus.com)
1387 * configure (vintmsg): Delete.
1389 Sat Jan 14 17:50:06 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
1391 * expr.c (get_inner_reference): Only treat offset of PLUS_EXPR
1392 as special if second arg is integer constant.
1394 Sat Jan 14 01:28:15 1995 Doug Evans (dje@cygnus.com)
1396 * expmed.c (extract_bit_field, fields bigger than word case): Count
1397 subwords in target. Zero remaining upper bits if unsigned.
1399 * c-common.c (decl_attributes): Fix typo in packed ignored warning.
1400 Fix unrecognized mode warning. Make string comparisons consistent.
1401 Support machine attributes with arguments. Make noreturn/volatile
1402 warnings consistent with others.
1404 * a29k.h (INIT_CUMULATIVE_INCOMING_ARGS): Reserve two regs for
1406 * a29k.c (incoming_reg): Keep regstack aligned to even boundary.
1408 Fri Jan 13 20:29:30 1995 Philippe De Muyter (phdm@info.ucl.ac.be)
1410 * sdbout.c (plain_type_1): For LONG_LONG_TYPE_SIZE, return T_[U]LONG
1411 instead of 0 (i.e. T_VOID).
1413 * optabs.c (expand_binop): Do not force constant shift-count to
1414 a register, to allow possible widening; do not convert_to_mode
1415 mode{1,2} or copy_to_mode_reg if mode{1,2} is VOIDmode.
1416 * m68k.md (zero_extendsidi2): New pattern.
1417 (extendqidi2, extendhidi2, extendsidi2, extendplussidi): New patterns.
1418 (adddia_sexthishl32, adddid_sexthishl32): New patterns.
1419 (adddi_dilshr32, adddi_dishl32, adddi_mem): New patterns.
1420 (adddi3, subdi3): Allow more alternatives.
1421 (subdia_sexthishl32, subdid_sexthishl32): New patterns.
1422 (subdi_dishl32, subdi_mem): New patterns.
1423 (negdi2): New pattern.
1424 (ashldi_sexthi, ashldi_const32, ashldi_const, ashldi3): New patterns.
1425 (subreg1ashrdi_const32, ashrdi_const32): New patterns.
1426 (ashrdi_const32_mem, ashrdi_const, ashrdi3): New patterns.
1427 (subreg1lshrdi_const32, lshrdi_const32, lshrdi_const, lshrdi3): Ditto.
1428 (lshrsi_31): New pattern.
1429 (lshrsi_16, lshrsi_17_24): New names for old unnamed patterns.
1431 * m68k.c (use_movqi, const_method): New functions.
1432 (const_int_cost, output_move_const_into_data_reg): Likewise.
1433 (singlemove_string): Call output_move_const_into_data_reg.
1434 * m68k.md (fullword move): Likewise.
1435 * m68k.h (CONST_COSTS): Call const_int_cost.
1437 Fri Jan 13 20:17:55 1995 Oliver Kellogg (okellogg@salyko.cube.net)
1439 * 1750a.h, 1750a.c: Remove use of function prototypes.
1441 Fri Jan 13 15:53:33 1995 Jason Merrill <jason@phydeaux.cygnus.com>
1443 * tree.h (DECL_STATIC_CONSTRUCTOR): New macro.
1444 (DECL_STATIC_DESTRUCTOR): New macro.
1445 (tree_decl): Add static_ctor_flag and static_dtor_flag.
1447 * objc-act.c (finish_file): Renamed from objc_finish.
1449 * c-parse.in (program): Call finish_file.
1451 * c-decl.c (duplicate_decls): Propagate DECL_STATIC_{CON,DE}STRUCTOR.
1452 (finish_function): Handle DECL_STATIC_{CON,DE}STRUCTOR.
1454 * c-lang.c (finish_file): New function to emit code for calling
1455 static constructor and destructor functions as necessary.
1457 * c-common.c (decl_attributes): Support __attribute__s
1458 "constructor" and "destructor".
1460 Fri Jan 13 19:38:08 1995 Paul Eggert <eggert@twinsun.com>
1462 * gcc.c (execute): Don't wait for just any N subprocesses,
1463 since we may have started with some subprocesses before we
1464 started executing. Wait just for _our_ N subprocesses.
1466 Fri Jan 13 18:08:17 1995 John F Carr <jfc@mit.edu>
1468 * gencodes.c, genemit.c, genflags.c (gen_insn): Ignore insns whose
1469 names begin with '*'.
1470 * genoutput.c (output_epilogue): Do not reference gen_ functions for
1471 insns whose names begin with '*'.
1473 Fri Jan 13 17:54:42 1995 Wolfgang Formann (wolfi@exner.tgm.ac.at)
1475 * i386/isc.h (ASM_FILE_START): New macro.
1477 Fri Jan 13 15:01:59 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
1479 * c-parse.in (unary_expr): If -pedantic, give error for &&.
1481 * fold-const.c (fold, case COND_EXPR): Properly swap args 1 and 2.
1482 Strip nops from ARG2, just like ARG1.
1483 Make {MIN,MAX}_EXPR properly when type of result different than args.
1485 * function.c (optimize_bit_field): Don't remove a SUBREG that
1488 * Makefile.in (stmp-multilib*): Pass CC and CFLAGS to recursive make.
1490 * alpha/osf12.h (LINK_SPEC): Add missing "\".
1492 Thu Jan 12 13:37:13 1995 Jim Wilson <wilson@cygnus.com>
1494 * i960/t-* (LIBGCC1, CROSS_LIBGCC1): Define to empty instead of
1496 * mips/t-*, sparc/t-*: Likewise.
1498 Thu Jan 12 08:13:55 1995 Steve Chamberlain (sac@wombat.gnu.ai.mit.edu)
1500 * libgcc2.c (__lshldi3, __lshrdi3, __ashldi3, __ashrdi3):
1501 Shift count comes as a word, not as an SI. Keep temporary in
1503 (__moddi3, __divdi3): Make negate flag `c' have word_type for
1506 Thu Jan 12 07:18:09 1995 Stephen L Moshier (moshier@world.std.com)
1508 * real.c (toe64): Use Intel bit pattern for little-endian XFmode Inf.
1509 (e64toe): Likewise; also check the exponent field properly.
1511 Wed Jan 11 14:24:55 1995 Jason Merrill <jason@phydeaux.cygnus.com>
1513 * toplev.c (lang_options): Add -f{no-,}gnu-keywords,
1514 -f{no-,}operator-names.
1516 Tue Jan 10 19:16:07 1995 David Edelsohn <edelsohn@mhpcc.edu>
1518 * rs6000.h (REGISTER_MOVE_COST): Add LINK_OR_CTR_REGS class to
1521 Tue Jan 10 19:07:36 1995 Jonathan Beimel (jbeimel@gomez.sc.intel.com)
1523 * combine.c (simplify_if_then_else): Fix typo: "|" should be "||".
1525 Tue Jan 10 05:49:25 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
1527 * fold-const.c (fold): Avoid infinite recursion caused by last change.
1529 Mon Jan 9 17:08:56 1995 Michael Meissner (meissner@cygnus.com)
1531 * configure: All AIX versions [456789].* use the AIX 4.1 support.
1533 Mon Jan 9 13:21:07 1995 David Edelsohn <edelsohn@npac.syr.edu>
1535 * rs6000/aix41ppc.h: New file.
1537 * configure (powerpc-ibm-aix4.1*): Add support AIX version 4.1 on
1540 Sat Jan 7 08:51:29 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
1542 * sparc.c (order_regs_for_local_alloc): Add casts to bcopy call.
1543 (print_operand, case 'f'): New case.
1544 (sparc_initialize_trampoline): Use gen_flush instead of knowing
1545 what pattern looks like.
1546 Use MEM instead of address in flush insn, so virtual reg
1547 instantiation can update.
1548 Ensure address in flush insn is valid.
1549 * sparc.md (flush): Change to using a MEM instead of address.
1551 * reorg.c (dbr_schedule): Add missing casts in bzero call.
1553 * fold-const.c (fold, case CONVERT_EXPR): Don't remove an
1554 integer conversion when outer is FP unless it doesn't change
1555 signedness; rework code in this area to be clearer.
1557 Sat Jan 7 02:58:21 1995 Jeffrey A. Law (law@snake.cs.utah.edu)
1559 * pa.h (enum processor_type): New enumeration describing the
1560 processor to schedule for (700, 7100, 7100LC).
1561 (pa_cpu_attr, TARGET_OPTIONS, OVERRIDE_OPTIONS): Define.
1562 (pa_cpu_string, pa_cpu): Provide extern decls.
1563 * pa.c (pa_cpu, pa_cpu_string): Provide definitions.
1564 (override_options): New function.
1565 (pa_adjust_cost): Handle PROCESSOR_7100 and PROCESSOR_7100LC
1566 scheduling. Handle anti-dependendy cases involving fp division
1567 and sqrt. Handle output dependencies correctly. Break TYPE_FPMUL
1568 into TYPE_FPMULSGL and TYPE_FPMULDBL.
1569 * pa.md (cpu attribute): New attribute.
1570 Clean up comments for PROCESSOR_700 scheduling info. Slightly
1571 simplify. Make conditional on PROCESSOR_700.
1572 Add comments and scheduling information for PROCESSOR_7100 and
1573 PROCESSOR_7100LC. Set types for instructions which use the shifter
1574 to "shift". Explicitly set lengths and types for all instructions.
1575 Break type "fpmul" into "fmulsgl" and "fpmuldbl".
1577 Fri Jan 6 17:50:48 1995 Jim Wilson <wilson@chestnut.cygnus.com>
1579 * sh/sh.h (DO_GLOBAL_CTORS_BODY): Run constructors from right to
1580 left not left to right.
1581 * h8300/h8300.h: Likewise.
1583 Thu Jan 5 12:37:26 1995 Doug Evans <dje@cygnus.com>
1585 * loop.c (get_condition): Use CONST0_RTX instead of const0_rtx.
1587 Wed Jan 4 04:26:23 1995 Jeffrey A. Law (law@snake.cs.utah.edu)
1589 * pa.md (call expander): Use emit_insn_before to emit an insn to
1590 save the PIC register before a function call.
1591 (call_value expander): Likewise.
1593 Tue Jan 3 15:23:49 1995 Jim Wilson <wilson@cygnus.com>
1595 * va-mips.h (va_arg, mips3 case): Use __PTRDIFF_TYPE__ not int in
1598 * c-decl.c (duplicate_decls): Push to correct obstack before
1599 creating new function types.
1601 Fri Dec 30 16:12:52 1994 Ian Lance Taylor <ian@cygnus.com>
1603 * fixinc.svr4: Remove special patch for <netinet/in.h>.
1605 Fri Dec 30 08:00:53 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
1607 * varasm.c: Include output.h.
1608 Add prototyes for all static functions; remove forward declarations
1609 of non-static functions.
1610 (assemble_variable): Add missing arg decl.
1611 (bc_make_decl_rtl, const_hash, const_hash_rtx): Now static.
1612 (output_addressed_constants, output_constructor): Likewise.
1613 (bc_output_constructor): Add missing argument.
1614 (output_byte_asm): Delete, unused.
1615 * output.h: Add decls of functions in varasm.c.
1616 Allow to be included when rtl.h is not.
1617 * function.h ({save_restore}_varasm_status): Add decls.
1618 * c-decl.c, c-typeck.c, toplev.c: Include output.h.
1619 * Makefie.in (c-decl.o, c-typeck.o, toplev.o, varasm.o): Likewise.
1621 Thu Dec 29 21:48:03 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
1623 * calls.c (expand_call): Set MEM_IN_STRUCT_P as needed on return
1624 value from assign_stack_temp.
1625 (store_one_arg): Likewise.
1626 * expr.c (save_noncopied_parts): Likewise.
1627 (expand_expr): Likewise.
1628 * function.c (assign_parms): Likewise.
1629 * integrate.c (expand_inline_function): Likewise.
1630 * stmt.c (expand_decl): Likewise.
1632 Thu Dec 29 14:06:34 1994 Jim Wilson <wilson@cygnus.com>
1634 * cse.c (simplify_unary_operation): Cast constant 1 to HOST_WIDE_INT
1635 before shifting left to form mask.
1636 * gcc.c (print_multilib_info): Initialize last_path_len to 0.
1637 * varasm.c (output_constructor): Change type of variable value to
1640 * expmed.c (expand_mult_highpart): Use convert_modes instead of
1641 gen_lowpart to do conversions.
1643 Thu Dec 29 13:42:08 1994 Mike Stump <mrs@cygnus.com>
1645 * toplev.c (lang_options): Add -frtti flag for rtti support in C++.
1647 Wed Dec 28 22:04:42 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
1649 * config/pa/lib2funcs.asm: New file.
1650 * config/pa/t-pa (LIB2FUNCS_EXTRA): Define.
1651 * config/pa/pa.h (DO_GLOBAL_DTORS_BODY): Define. Include a
1652 reference to __gcc_plt_call so __gcc_plt_call always appears in
1653 executables which reference __main.
1655 Wed Dec 28 21:18:26 1994 Jim Wilson <wilson@cygnus.com>
1657 * mips.md (truncdiqi2+[123]): Add patterns to optimize DImode to
1660 * reorg.c (fill_simple_delay_slots): For the epilogue case, set needed
1661 to include frame pointer and stack pointer, don't include all of
1662 end_of_function_needs. Reject insn if it sets a previously set
1665 * sh.c (sh_expand_prologue): Clear extra_push at start. Clear
1666 current_function_anonymous_args if set. Clear shiftsyms array.
1667 (sh_expand_epilogue): Don't clear extra_push,
1668 current_function_pretend_args_size, current_function_anonymous_args,
1669 and shiftsyms array.
1671 * reload.c (find_equiv_reg): Exclude registers clobbered in the
1672 CALL_INSN_FUNCTION_USAGE field of a CALL_INSN.
1674 Tue Dec 27 19:22:35 1994 Mike Stump <mrs@cygnus.com>
1676 * stmt.c (expand_cleanups): Add third parameter so that we can
1677 avoid marking a cleanup region if this cleanup is part of a fixup
1679 (expand_goto_internal): Pass a 1 to expand_cleanups.
1680 (bc_expand_goto_internal): Ditto.
1681 (fixup_gotos): Ditto.
1682 (expand_end_bindings): Pass a 0 to expand_cleanups.
1684 Tue Dec 27 15:45:18 1994 Jeffrey A. Law <law@snake.cs.utah.edu>
1686 * pa.c (output_movb): Fix ttypo.
1688 Tue Dec 27 15:11:42 1994 Ian Lance Taylor <ian@cygnus.com>
1690 * config/i960/i960.c (i960_output_double): Print hex constants if
1691 REAL_VALUE_TO_TARGET_DOUBLE is defined.
1692 (i960_output_float): Likewise with REAL_VALUE_TO_TARGET_SINGLE.
1694 Sun Dec 25 07:22:30 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
1696 * convert.c (convert_to_pointer): Eliminate ref to null_pointer_node.
1698 Thu Dec 22 12:51:31 1994 Stephen R. van den Berg (berg@pool.informatik.rwth-aachen.de)
1700 * limitx.h (syslimits.h): Find syslimits.h in the same directory.
1702 * limity.h (_GCC_NEXT_LIMITS_H): If macro defined, recurse down
1705 * gsyslimits.h (_GCC_NEXT_LIMITS_H): Define macro and start recursing
1706 down to the real limits.h.
1708 Thu Dec 22 12:17:11 1994 Ian Lance Taylor <ian@cygnus.com>
1710 * Makefile.in (LIMITS_H_TEST): New variable.
1711 (xlimits.h): Use LIMITS_H_TEST.
1712 * config/m68k/t-next (LIMITS_H_TEST): Define.
1713 * config/i386/t-next (LIMITS_H_TEST): Define.
1715 Wed Dec 21 15:56:13 1994 Holger Teutsch (teutsch@sw017.ffm-iw.Degussa.DE)
1717 * clipper.h (TRAMPOLINE_TEMPLATE): Specify some code as explicit hex
1718 words. Shorten template.
1719 (TRAMPOLINE_SIZE,INITIALIZE_TRAMPOLINE): Update accordingly.
1720 (FUNCTION_ARG,FUNCTION_ARG_ADVANCE): Aggregates are ALWAYS passed
1722 * va-clipper.h (__va_rounded_size): Delete.
1723 (__va_round): Args have at least PARM_BOUNDARY (=32) alignment.
1725 Wed Dec 21 15:36:46 1994 Stephen L Moshier (moshier@world.std.com)
1727 * m68k.md (sqrtsf2, sinsf2, sindf2, sinxf2): Define.
1728 (cossf2, cosdf2, cosxf2): Likewise.
1729 (sqrtxf2): Operand 1 now XFmode.
1731 Wed Dec 21 14:39:46 1994 Philippe De Muyter (phdm@info.ucl.ac.be)
1733 * m68k.md (adddi3, subdi3): New patterns.
1735 Wed Dec 21 13:56:08 1994 Michael Gschwind <mike@vlsivie.tuwien.ac.at>
1737 * pdp11.md (mulhisi3): Add truncate to mulhisi3 to fix bug and
1738 change from define_insn to define_expand to survive register
1741 Wed Dec 21 12:51:10 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
1743 * stmt.c (expand_asm_operands): Make sure input operands are
1744 valid constants if they are constants.
1746 * toplev.c (rest_of_compilation): Adjust tests for when to
1747 inline and when to defer.
1748 * calls.c (expand_call): Only inline if DECL_INLINE; don't
1749 call function_cannot_inline_p here.
1751 * stmt.c (expand_expr_stmt): If want values for statements,
1752 convert function to address-of-function.
1754 Wed Dec 21 00:02:33 1994 Ian Lance Taylor <ian@cygnus.com>
1756 * combine.c (simplify_shift_const): Always copy flags to new MEM.
1758 Tue Dec 20 14:15:58 1994 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1760 * rs6000/aix41.h (LINK_SPEC): Add case for -shared, just like rs6000.h.
1762 Tue Dec 20 09:14:00 1994 DJ Delorie (dj@ctron.com)
1764 * i386/go32.h: support #pragma pack().
1766 * msdos/configur.bat: add libgcc.a target.
1767 * msdos/mklibgcc.c: new file, helps build libgcc.a.
1768 * msdos/libgcc.mak: new file, makefile fragment for libgcc.a.
1769 * msdos/top.sed: change Makefile to be able to build libgcc.a.
1771 Mon Dec 19 20:52:13 1994 Jim Wilson <wilson@cygnus.com>
1773 * mips/x-sysv (CLIB): Add -L/usr/lib/cmplrs/cc3.11.
1775 * dsp16xx/dsp16xx.h (HAVE_VPRINTF): Delete.
1777 * flow.c (mark_set_1): For multi-reg hard register, clear all
1778 reg_next_use entries.
1780 Mon Dec 19 17:49:59 1994 Doug Evans <dje@cygnus.com>
1782 * Makefile.in (stmp-multilib): Check recursive make's return code.
1783 (.PHONY): Tell GNU make the various LANGUAGES are phony targets.
1785 Mon Dec 19 17:07:41 1994 Ian Lance Taylor <ian@cygnus.com>
1787 * config/mips/mips.c (print_operand): Don't print a CONST_DOUBLE
1788 as a floating point value if it is not MODE_FLOAT.
1790 Mon Dec 19 15:27:42 1994 Jim Wilson <wilson@cygnus.com>
1792 * fp-bit.c (fpadd_parts): Adding infinities with opposite signs
1795 * loop.c (invariant_p): Reject const volatile references.
1797 Sun Dec 18 21:55:26 1994 Jeffrey A. Law <law@snake.cs.utah.edu>
1799 * pa.md (pic2_highpart): Accept readonly operands.
1801 Sun Dec 18 16:29:20 1994 Jim Wilson <wilson@cygnus.com>
1803 * mips/dec-bsd.h (CPP_PREDEFINES): Change _MIPSEB to _MIPSEL.
1805 * cccp.c (macarg1): Count newline at end of C++ comment.
1807 Sun Dec 18 06:54:34 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
1809 * stor-layout.c (layout_decl): Allow DECL_BIT_FIELD for any type.
1811 Sat Dec 17 03:43:24 1994 Jeffrey A. Law <law@snake.cs.utah.edu>
1813 * pa.h (readonly_section): During PIC code generation, put
1814 readonly data into the standard data section.
1816 * pa.c (pic_label_operand): Disallow SYMBOL_REFs (constant data).
1818 Fri Dec 16 06:44:40 1994 Jim Wilson <wilson@chestnut.cygnus.com>
1820 * sparc/litecoff.h (DBX_BLOCKS_FUNCTION_RELATIVE, DBX_FUNCTION_FIRST,
1821 DBX_OUTPUT_MAIN_SOURCE_FILE_END): Define.
1822 (ASM_OUTPUT_SOURCE_LINE): Modify it to output function relative stabs.
1824 * sh/lib1funcs.asm (ashiftrt_r4_1): Delete useless or instruction.
1825 Add nop to rts delay slot.
1827 * combine.c (distribute_notes): When output an insn to hold a REG_DEAD
1828 note, update basic_block_head if necessary.
1830 Thu Dec 15 15:22:46 1994 Jeffrey A. Law <law@snake.cs.utah.edu)
1832 * pa.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Don't emit a ".text"
1833 pseudo-op, we already make sure we're in the right space/subspace.
1835 Thu Dec 15 07:49:36 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
1837 * expr.c (store_constructor): Properly get constant part of
1838 bit position when DECL_FIELD_BITPOS is a PLUS_EXPR.
1840 Wed Dec 14 19:01:32 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
1842 * expr.c (get_inner_reference): Use EXACT_DIV_EXPR to
1843 compute byte offset from bit offset.
1845 Wed Dec 14 11:41:21 1994 Ian Lance Taylor <ian@cygnus.com>
1847 * fixincludes: Fix non const atof parameter on NEWS-OS 4.2R.
1849 Tue Dec 13 18:39:09 1994 Doug Evans <dje@cygnus.com>
1851 * h8300.c (handle_pragma): Only print warning once.
1853 * function.c (instantiate_virtual_regs_1, case PLUS): If offset is
1854 zero, make sure register replacement is still validated.
1856 Tue Dec 13 07:51:20 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
1858 * tower-as.h (FUNCTION_EXTRA_EPILOGUE): Fix typo in mov.l opcode.
1859 * tower.h (IMMEDIATE_PREFIX): Really define.
1861 * expr.c (expand_expr, case MINUS_EXPR): Properly handle case
1862 when the NEGATE overflows.
1864 Mon Dec 12 17:22:19 1994 der Mouse (mouse@collatz.mcrcim.mcgill.edu)
1866 * reload.c (debug_reload): Use GET_MODE_NAME to avoid warning.
1868 Mon Dec 12 13:15:04 1994 Doug Evans <dje@cygnus.com>
1870 * function.c (locate_and_pad_parm): Don't call pad_below for BLKmode
1873 * expmed.c (emit_store_flag): Set mode after canonicalizing op0/op1
1876 Mon Dec 12 08:04:33 1994 Pat Rankin (rankin@eql.caltech.edu)
1878 * cccp.c, toplev.c (vms_fopen): Call `fopen' through an indirect
1879 pointer to inhibit checking argument list against its prototype.
1880 Increase RMS multi-block count from 16 to 32.
1882 Sat Dec 10 17:03:59 1994 H.J. Lu (hjl@nynexst.com)
1884 * cccp.c (do_include): Avoid dynamic initialization of aggregate.
1886 Sat Dec 10 16:57:50 1994 Andreas Luik (luik@isa.de)
1888 * m68k.md (cmpsi): Make this into a define_expand; legitimize
1889 PIC addresses if necessary.
1890 Old cmpsi code now unnamed define_insn pattern.
1892 Sat Dec 10 16:06:03 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
1894 * fold-const.c (pedantic_omit_one_operand): New function.
1895 (fold, case COND_EXPR): Use it instead of calling
1896 pedantic_non_lvalue on the result of omit_one_operand.
1898 Fri Dec 9 15:53:35 1994 Steve Chamberlain (sac@wombat.gnu.ai.mit.edu)
1900 * reload.c (find_reloads_address_1): Handle TRUNCATE and
1901 ZERO_EXTEND in same way as SIGN_EXTEND.
1903 Fri Dec 9 14:52:41 1994 Jason Merrill <jason@phydeaux.cygnus.com>
1905 * rs6000/rs6000.h (LINK_SPEC): Add %{shared:-bM:SRE}.
1906 (LINK_LIBGCC_SPECIAL_1): Use LIBGCC_SPEC instead.
1908 Fri Dec 9 14:24:02 1994 Per Bothner <bothner@kalessin.cygnus.com>
1910 * gcc.c (default_compilers): Add support for Chill (.ch and .chi).
1912 Fri Dec 9 17:31:46 1994 Jason Merrill <jason@phydeaux.cygnus.com>
1914 * fixinc.svr4 (sys/byteorder.h): Turn extern inlines back into
1915 static inlines for targets (such as SPARC/Solaris) that don't
1916 supply these functions in the C library.
1918 Fri Dec 9 17:19:44 1994 David Edelsohn <edelsohn@npac.syr.edu>
1920 * rs6000.h (MASK_NO_FPR, TARGET_NO_FPR): Define.
1921 (TARGET_SWITCHES): Add "fp-regs" and "no-fp-regs".
1922 (CONDITIONAL_REGISTER_USAGE): Set FPRs fixed and call_used if
1925 Fri Dec 9 16:06:23 1994 Doug Evans <dje@cygnus.com>
1927 * fold-const.c (fold): Call real_zerop for real constants.
1929 Thu Dec 8 17:28:57 1994 Jason Merrill <jason@phydeaux.cygnus.com>
1931 * dbxout.c (dbxout_type_method_1): Don't try to look at the first
1932 argument of non-methods (which might not have a first argument).
1934 Thu Dec 8 16:07:27 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1936 * configure (mips-*-gnu*): Recognize this configuration.
1937 * config/mips/gnu.h: New file.
1939 Thu Dec 8 15:41:32 1994 Philippe De Muyter (phdm@info.ucl.ac.be)
1941 * m68k.c (extend_operator): New predicate.
1942 * m68k.md (bsetmemqi, bclrmemqi): New patterns to set bit in memory
1943 byte with bit number dynamic (use bclr/bset instructions).
1945 Thu Dec 8 14:13:45 1994 Paul Eggert <eggert@twinsun.com>
1947 * cccp.c (do_include): Don't turn newline markers into spaces
1948 when expanding an include file name.
1950 * cccp.c (discard_comments): If traditional, replace a comment
1951 with nothing instead of with a space.
1953 * cccp.c (char_name): New var.
1954 (initialize_char_syntax): Initialize it.
1955 (handle_directive): Use it to simplify printing of diagnostics.
1956 Warn about '\r' too.
1957 (create_definition, do_pragma, do_endif, make_assertion): Be consistent
1958 about skipping all horizontal white space, not just space and tab.
1960 Thu Dec 8 13:54:38 1994 H.J. Lu (hjl@nynexst.com)
1962 * i386/linuxelf.h: Modified for stabs-in-ELF.
1963 (PREFERRED_DEBUGGING_TYPE): Defined as DBX_DEBUG.
1964 (FUNCTION_PROFILER): Use mcount instead of _mount.
1965 (CPP_PREDEFINES): Add -D__ELF__.
1966 (CPP_SPEC): Add -D__PIC__ -D__pic__ for -fPIC or -fpic.
1967 (LIB_SPEC): Don't use any default library if -shared.
1968 (LIBGCC_SPEC, LINK_SPEC, STARTFILE_SPEC, ENDFILE_SPEC): New specs.
1969 * configure (gxx_include_dir): Set default to '$(prefix)/include/g++'
1970 (i[345]86-*-linuxelf): New platform for ELF.
1971 * crtstuff.c (CRT_END): Add dummy refs to ___brk_addr, __environ
1972 and atexit if __linux__ and __PIC__ defined.
1974 Thu Dec 8 12:58:34 1994 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1976 * config/xm-freebsd.h, i386/xm-freebsd.h: New files.
1977 * configure (i[345]86-*-freebsd*): Use i386/xm-freebsd.h.
1979 Wed Dec 7 16:51:56 1994 Philippe De Muyter (phdm@info.ucl.ac.be)
1981 * m68k.md: New pattern for ior between SImode target and zero_extended
1984 Wed Dec 7 16:42:46 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
1986 * combine.c (distribute_notes): If can't find place for REG_DEAD
1987 note, add an INSN with a USE to hold it.
1989 * tree.c (preserve_momentary): New function.
1991 Wed Dec 7 15:59:00 1994 Doug Evans <dje@cygnus.com>
1993 * function.c (locate_and_pad_parm): Do padding before rounding
1994 so pad_below knows how much is needed.
1996 Tue Dec 6 17:53:37 1994 Steve Chamberlain (sac@wombat.gnu.ai.mit.edu)
1998 * sh.md (ashrsi2_16): New pattern doesn't clobber reg 18.
2001 Tue Dec 6 19:11:36 1994 Stephen L Moshier (moshier@world.std.com)
2003 * c-decl.c (init_decl_processing): Implement built-in functions
2004 fabsf, sqrtf, sinf, cosf, fabsl, sqrtl, sinl, cosl.
2006 Tue Dec 6 18:42:15 1994 Pat Rankin (rankin@eql.caltech.edu)
2008 * make-gcc.com: Eliminate `set symbol/scope=noGlobal'.
2010 * vax/vms.h (CPP_PREDEFINES): Set __GNUC_MINOR__ to 7.
2012 Tue Dec 6 15:10:37 1994 Jason Merrill <jason@phydeaux.cygnus.com>
2014 * sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Don't use PIC if
2015 cross-compiling, use the native assembler otherwise.
2017 Tue Dec 6 05:48:32 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2019 * configure (i[345]86-*-gnu*): Just set cpu_type=i386 here.
2020 (*-*-gnu*): Match this in second case stmt and set other vars based on
2022 * config/gnu.h: New file.
2023 * config/i386/gnu.h: Include "gnu.h".
2025 Mon Dec 5 16:59:39 1994 Doug Evans <dje@cygnus.com>
2027 * sparc/t-sparcbare (LIB2FUNCS_EXTRA): Compile fp-bit.c.
2029 Mon Dec 5 14:48:53 1994 Jim Wilson <wilson@mole.gnu.ai.mit.edu>
2031 * unroll.c (copy_loop_body): Reformat CODE_LABEL_NUMBER macro call
2032 to avoid HPUX compiler bug.
2034 Mon Dec 5 13:53:45 1994 Doug Evans <dje@cygnus.com>
2036 * m68k.md (negsf2): Flip sign bit if software floating point.
2037 (negdf2,negxf2): Likewise.
2038 (abssf2): Zero sign bit if software floating point.
2039 (absdf2,absxf2): Likewise.
2041 Mon Dec 5 13:00:37 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
2043 * rs6000.h (EXTRA_CONSTRAINT, case 'R'): Fix error in last change.
2045 Mon Dec 5 00:40:11 1994 Doug Evans <dje@cygnus.com>
2047 * Makefile.in (c-parse.h): Split away from c-parse.c for parallel
2049 (bi-parser.h): Likewise with bi-parser.c.
2051 Sun Dec 4 21:04:40 1994 Doug Evans <dje@cygnus.com>
2054 * reorg.c (fill_slots_from_thread): Create a USE insn for any
2055 redundant insn we pretend to fill a delay slot with. Continue
2056 searching for a suitable delay slot insn at the new USE insn.
2058 Fri Dec 2 11:29:41 1994 Per Bothner <bothner@kalessin.cygnus.com>
2060 * expr.c (store_constructor): Add support for SET_TYPE.
2062 Fri Dec 2 18:14:09 1994 David Edelsohn <edelsohn@npac.syr.edu>
2064 * rs6000.h (MASK_64BIT, TARGET_64BIT, SHORT_TYPE_SIZE): Define.
2065 (INT_TYPE_SIZE, MAX_INT_TYPE_SIZE, LONG_TYPE_SIZE): Define.
2066 (MAX_LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, CHAR_TYPE_SIZE): Define.
2067 (FLOAT_TYPE_SIZE, DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Define.
2068 (POINTER_SIZE, PARM_BOUNDARY): Depend on TARGET_64BIT.
2069 (BIGGEST_ALIGNMENT, STARTING_FRAME_OFFSET): Likewise.
2070 (FIRST_PARM_OFFSET, REG_PARM_STACK_SPACE): Likewise.
2071 (STACK_POINTER_OFFSET, Pmode, FUNCTION_MODE): TARGET_64BIT dependent.
2072 * xcoffout.c (xcoff_output_standard_types): Add TARGET_64BIT
2073 dependencies. Add "wchar", "long long int", and "long long
2074 unsigned int" built-in C types.
2076 Fri Dec 2 18:08:16 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
2078 * integrate.c (subst_constant): Don't treat all virtual regs as
2079 constants, just those that are off FP and AP, but not SP.
2080 (expand_inline_function): If called function calls alloca, save and
2081 restore SP around its call.
2083 * rs6000.c (input_operand): Correctly check for SYMBOL_REF
2084 referring to the TOC.
2085 * rs6000.h (EXTRA_CONSTRAINT): Likewise.
2087 Wed Nov 30 20:42:57 1994 Jeffrey A. Law <law@snake.cs.utah.edu)
2089 * reorg.c (fill_slots_from_thread): Create a USE insn for any
2090 redundant insn we pretend to fill a delay slot with. Continue
2091 searching for a suitable delay slot insn at the new USE insn.
2093 Wed Nov 30 19:02:49 1994 Jim Wilson <wilson@chestnut.cygnus.com>
2095 * combine.c (record_dead_and_set_regs_1): Handle SUBREGs.
2097 * expr.c (convert_move): When emit multiword conversion, force FROM
2098 into a new pseudo-reg if it overlaps TO.
2100 * fold-const.c (fold_truthop): Delete BIT_AND_EXPR of constants
2103 Wed Nov 30 18:22:31 1994 David Edelsohn <edelsohn@npac.syr.edu>
2105 * rs6000.h (BITS_PER_WORD): TARGET_POWERPC64 dependent.
2106 (MAX_BITS_PER_WORD): Define.
2107 (UNITS_PER_WORD): TARGET_POWERPC64 dependent.
2108 (MAX_UNITS_PER_WORD): Define.
2109 (UNITS_PER_FP_WORD): Define.
2110 (HARD_REGNO_NREGS): Use MAX_UNITS_PER_FP_WORD.
2111 (HARD_REGNO_MODE_OK): Likewise.
2112 (CLASS_MAX_NREGS): Likewise.
2113 (MOVE_MAX): TARGET_POWER and TARGET_POWERPC64 dependent.
2114 (MAX_MOVE_MAX): Define.
2115 * rs6000.md (floatsidf2): Test BITS_PER_WORD in pattern condition
2116 not during build. Fail if TARGET_POWERPC64.
2117 (floatunssidf2): Likewise.
2119 * rs6000.md (extendsidi2): Use lwa_operand predicate.
2120 (sign_extend load with update): New PowerPC64 pattern.
2121 * rs6000.c (lwa_operand): New predicate.
2122 * rs6000.h (PREDICATE_CODES): Add lwa_operand.
2124 Wed Nov 30 18:19:08 1994 Will Athanasiou (will@westford.ccur.com)
2126 * rs6000.md (extendsfdf2): SFmode and DFmode register format
2127 identical so use define_expand with paradoxical subreg no-op and
2128 accompanying new define_split.
2130 Wed Nov 30 18:05:03 1994 Michael Collison (collison@sw.stratus.com)
2132 * reload.c (combine_reloads): If using reg dying in this insn as
2133 reload reg, ensure it can't be a secondary output reload reg.
2135 Wed Nov 30 15:48:29 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
2137 * expr.c (emit_block_move): Only use movstr if size is
2138 small enough constant or MODE is at least BITS_PER_WORD.
2140 * c-common.c (decl_attribute): Allow special names (e.g, `word')
2142 * libgcc2.c (word_type): Use __attribute__ ((mode (__word__))).
2144 Tue Nov 29 16:50:37 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
2146 * expmed.c (expand_shift): Open-code rotate even if by a variable.
2147 * optabs.c (init_optabs): Don't set functions for rotl and rotr.
2149 Tue Nov 29 00:39:56 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
2151 * pa.h (DEFAULT_PCC_STRUCT_RETURN): Define as zero.
2152 (RETURN_IN_MEMORY): Only large structs (>8 bytes) and addressable
2153 structs should be returned in memory.
2154 * calls.c (expand_call): Handle returning BLKmode values in
2155 registers. Do not try to promote BLKmode.
2156 * expr.c (expand_assignment): For BLKmode structure returns,
2157 copy the return value from registers into the target memory
2159 * integrate.c (function_cannot_inline_p): Do not inline functions
2160 which return a BLKmode value in registers.
2161 * stmt.c (expand_return): For BLKmode structure returns, copy
2162 the return value from memory into the return registers. Use
2163 an integer mode rather than BLKmode for returning structures
2165 * explow.c (hard_function_value): Change a register in BLKmode
2166 to a register in a sufficiently wide integer mode.
2168 * calls.c (expand_call): Do not set is_integrable if the
2169 function is not inlineable according to function_cannot_inline_p.
2171 Mon Nov 28 18:53:06 1994 Dave Love (d.love@dl.ac.uk)
2173 * Makefile.in (FLAGS_TO_PASS): Fix typo in GCC_FOR_TARGET.
2175 Mon Nov 28 18:15:58 1994 Stephen R. van den Berg (berg@pool.informatik.rwth-aachen.de)
2177 * configure (lang): Really fix the quoting bug in bash 1.12.
2179 Mon Nov 28 18:03:48 1994 Jim Wilson (wilson@cygnus.com)
2181 * expmed.c (store_bit_field, extract_bit_field): Consistently use
2182 SLOW_UNALIGNED_ACCESS instead of STRICT_ALIGNMENT.
2183 * expr.c (move_by_pieces, move_by_pieces_ninsns, emit_push_insn,
2184 expand_assignment, store_field, expand_expr): Likewise.
2185 (SLOW_UNALIGNED_ACCESS): Default to STRICT_ALIGNMENT, not zero.
2187 * cccp.c (create_definition): Error if comma not followed by an
2189 (collect_expansion): Error if # used in macro with no arguments.
2191 * c-decl.c (finish_decl): Use DECL_CONTEXT instead of
2192 current_binding_level to identify file-scope variables.
2194 Wed Nov 23 19:44:25 1994 Steve Chamberlain (sac@jonny.cygnus.com)
2196 * sh.c (MSW, LSW): New macros.
2197 (print_operand_address): Added 'T' and 'S'. Modified
2198 to support alternate endianness.
2199 (output_movedouble): Support both byte orders.
2200 (output_options): Tell assembler when in little endian mode.
2201 (shiftinsns): New function to calculate shift cost more
2203 (gen_shifty_op): Use new function.
2204 * sh.h (CPP_SPEC, ASM_SPEC, LINK_SPEC, LIBGCC2_WORDS_BIG_ENDIAN): New.
2205 (TARGET_SWITCHES, WORDS_BIG_ENDIAN, BYTES_BIG_ENDIAN, ): Support
2207 * sh.md (addi3, subdi3, ashrdi3, ashldi3, extendsidi2, movdi, movdf):
2208 Support both byte orders.
2209 (ashrsi2_16, ashrsi2_31): New.
2210 t-sh: Support both byte orders.
2212 Wed Nov 23 17:25:43 1994 Ian Dall (dall@hfrd.dsto.gov.au)
2214 * config/ns32k/{ns32k.c,ns32k.h}: Add -mhimem to
2215 support linking above 0x20000000 boundary.
2217 * config/ns32k/{netbsd.h,pc532.h, ns32k.c}: Fix meaning
2220 Wed Nov 23 17:24:24 1994 Matthias Pfaller (leo@marco.de)
2222 * configure (ns32k-pc532-netbsd): No need for fixincludes
2224 * ns32k/ns32k.h (CONST_COSTS): Correct range is -0x1fff to 0x2000.
2225 * ns32k/ns32k.md (everywhere): Correct range is -0x1fffffff
2226 to 0x20000000, others have to be loaded with movd.
2227 Shortcircuit with TARGET_32532 as early as possible.
2228 (movsi): Use movd to load unknown symbol values. to allow
2229 * ns32k/ns32k.c (print_operand): Removed dead code.
2230 * ns32k/pc532.h (TARGET_DEFAULT): Forbid usage of bitfield
2233 Wed Nov 23 14:09:42 1994 Jim Wilson (wilson@cygnus.com)
2235 * mips.c (mips_output_external): Exclude __builtin_next_arg from list
2236 of used external functions.
2238 * sh.c (arith_reg_operand): Disallow MACH_REG and MACL_REG.
2240 * sparc.h (SECONDARY_MEMORY_NEEDED_RTX, SECONDARY_MEMORY_NEEDED_MODE):
2243 Wed Nov 23 13:30:52 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
2245 * expr.c (emit_move_insn): If splitting up into individual words
2246 and X is a push_operand, do the push and reference top of stack.
2248 Tue Nov 22 21:39:52 1994 Doug Evans (dje@cygnus.com)
2250 * mips/elf64.h (ASM_OUTPUT_SECTION_NAME): Define.
2252 Tue Nov 22 06:29:21 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
2254 * fold-const.c (fold_convert): Don't fold conversion if it would
2255 produce constant larger than we can support.
2256 * emit-rtl.c (gen_lowpart_common): Do nothing if size is
2257 greater than twice host wordsize, not just if equal.
2259 * optabs.c (emit_no_conflict_block): Just emit the insns if
2260 the block contains something not an INSN or has an embedded block.
2262 * emit-rtl.c (init_emit): Set REGNO_POINTER_FLAG
2263 for HARD_FRAME_POINTER_REGNUM.
2265 * machmode.h (ptr_mode): Add declaration.
2266 * emit-rtl.c (ptr_mode): Add definition.
2267 (init_emit_once): Initialize ptr_mode.
2268 * stor-layout.c (layout_type): Use ptr_mode instead of equivalent
2269 call to mode_for_size.
2271 Mon Nov 21 18:41:42 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
2273 * varasm.c (output_constant): When eliminating conversions,
2274 treat ARRAY_TYPE like a record.
2276 * m68k.md (movqi): Fix typo in push/pop case.
2278 Mon Nov 21 18:11:55 1994 Stephen R. van den Berg (berg@pool.informatik.rwth-aachen.de)
2280 * genopinit.c (gen_insn): Use GET_MODE_WIDER_MODE macro instead of
2281 directly accessing the array.
2283 Mon Nov 21 17:59:07 1994 David Edelsohn <edelsohn@npac.syr.edu>
2285 * aix41.h (LINK_SPEC): New overriding defintion.
2287 Mon Nov 21 17:44:01 1994 John F Carr (jfc@mit.edu)
2289 * rs6000.c (input_operand): Allow a SYMBOL_REF referring to a
2292 Mon Nov 21 14:39:13 1994 Doug Evans (dje@cygnus.com)
2294 * mips/t-ecoff (dp-bit.c): Fix typos.
2296 Mon Nov 21 14:06:29 1994 Jim Wilson (wilson@cygnus.com)
2298 * emit-rtl.c (operand_subword): For CONST_DOUBLE, add case to
2299 handle BITS_PER_WORD of 16.
2301 * reload1.c (reload): When decrement max_groups of superclass, can
2302 only do so if the group_size is smaller than the current group.
2304 * c-lex.c (yylex): Do warn about floating point out of range if
2305 target floating-point format is IEEE. Use warning instead of
2306 pedwarn to avoid getting errors.
2308 Mon Nov 21 13:37:03 1994 Doug Evans (dje@cygnus.com)
2310 * m88k/m88k-aout.h (CPP_PREDEFINES): Add -Acpu and -Amachine.
2311 * m88k/m88k-coff.h (CPP_PREDEFINES): Likewise.
2312 (DBX_DEBUGGING_INFO): Define.
2314 * m68k/t-m68kbare (MULTILIB_MATCHES): Treat m68302/m68332 like m68000.
2316 Mon Nov 21 00:58:36 1994 Jeffrey A. Law (law@mole.gnu.ai.mit.edu)
2318 * pa.c (output_call): When emitting an inline long-call, use LP%
2319 and RP% prefixes to get the function's address.
2321 Sun Nov 20 07:00:25 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
2323 * Makefile.in (objc-parse.y): Fix typo.
2326 * t-svr4 (EXTRA_PARTS): Deleted.
2327 * i386/t-crtstuff, i386/t-crtpic: New files.
2328 * i386/t-svr3dbx (EXTRA_PARTS): Deleted.
2329 * configure: Replace use of t-svr3 with extra_parts definition.
2330 Add extra_parts to t-svr4 users; likewise for i386/t-svr3dbx.
2331 (i386 configurations): Add t-crtstuff if can't build crtstuff.c
2332 with -fomit-frame-pointer; use t-crtpic if also must build with -fpic.
2334 Sat Nov 19 17:14:54 1994 Jim Wilson (wilson@cygnus.com)
2336 * m68k/lb1sf68.asm (addsf3): After using swap for 16 bit rotate,
2337 branch back only if count still greater than 0.
2339 * c-typeck.c (build_binary_op): Can shorten shift only if shift count
2340 is less than size in bits of arg0.
2341 * expmed.c (expand_shift): Re-enable truncation of immediate shift
2344 * mips.c (mips_const_double_ok): Accept VOIDmode not DImode.
2345 (mips_move_1word): Accept VOIDmode CONST_DOUBLE.
2347 Sat Nov 19 05:36:35 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
2349 * alpha.c (print_operand, case 'c', case 'd'): New cases.
2350 * alpha.md (sign_extend): Disable pattern with explicit SUBREG.
2351 (cmov): Allow first operand of comparison to be zero, 2nd reg.
2353 * a29k/unix.h (DEFAULT_PCC_STRUCT_RETURN): Define as 0.
2354 * a29k/x-unix (CLIB): Remove -lsysv.
2356 Fri Nov 18 22:37:26 1994 Jason Merrill (jason@phydeaux.cygnus.com)
2358 * m88k/mot-sysv4.h: Remove, no longer needed.
2359 * configure: Remove m88k-mot*-sysv4* special case.
2361 * collect2.c: Make various functions static.
2363 * sparc/sysv4.h ([CD]TORS_SECTION_ASM_OP): Remove #execinstr.
2365 * svr4.h, i386/sol2.h, m88k/dgux.h, sparc/sol2.h
2366 (LINK_SPEC): Pass -z text when -shared or -symbolic.
2367 * svr4.h (LIBGCC_SPEC): Don't pass -lgcc when -symbolic.
2369 * crtstuff.c: Fix comments.
2371 Fri Nov 18 22:36:26 1994 Jason Merrill (jason@phydeaux.cygnus.com)
2373 * pa/pa-hpux.h (LDD_SUFFIX): Move to pa.h.
2374 (PARSE_LDD_OUTPUT): Ditto.
2375 * pa/pa.h: (LDD_SUFFIX): Move from pa-hpux.h.
2376 (PARSE_LDD_OUTPUT): Ditto.
2377 (LINK_SPEC): Pass -b if -shared. Don't pass -u main if -shared.
2378 * pa/pa1-osf.h: Reduce code duplication.
2380 Fri Nov 18 22:35:26 1994 Jason Merrill (jason@phydeaux.cygnus.com)
2382 * Makefile.in (crt{begin,end}.o): Pass $(CRTSTUFF_T_CFLAGS).
2383 (CRTSTUFF_T_CFLAGS): New variable.
2385 * svr4.h, m88k/sysv4.h, sparc/sysv4.h (FINI_SECTION_ASM_OP): Define.
2386 * i386/sol2.h (FORCE_FINI_SECTION_ALIGN): Define to
2387 FORCE_INIT_SECTION_ALIGN.
2388 * m88k/dgux.h, m88k/mot-sysv4.h, sparc/sysv4.h
2389 (INIT_SECTION_PREAMBLE): Remove.
2390 * svr4.h, sparc/sol2.h (STARTFILE_SPEC): Include crti.o and
2391 values-X?.o when building a shared lib.
2392 * svr4.h, i386/sol2.h, sparc/sol2.h (LIB_SPEC): Remove endfiles.
2393 (ENDFILE_SPEC): Handle endfiles.
2395 * libgcc2.c (__do_global_dtors): Don't define if
2396 INIT_SECTION_ASM_OP and OBJECT_FORMAT_ELF.
2397 (L_[cd]tor_list): Lose unused pieces.
2399 * crtstuff.c (__[CD]TOR_{LIST,END}__): static if OBJECT_FORMAT_ELF.
2400 (__do_global_ctors_aux): In .text if OBJECT_FORMAT_ELF.
2401 (__do_global_dtors_aux): Ditto.
2402 (init_dummy): Dummy function to stick a call to __do_global_ctors_aux
2403 into the .init section if OBJECT_FORMAT_ELF.
2404 (fini_dummy): Similarly.
2405 Remove reference to INIT_SECTION_PREAMBLE.
2407 * mips/iris5.h (HAS_INIT_SECTION): Define.
2408 (LINK_SPEC): Pass -u __main -init __main if not -shared.
2409 (STARTFILE_SPEC): Don't include these when -shared.
2410 (LIB_SPEC): Don't include these when -shared.
2411 (ENDFILE_SPEC): Define.
2412 (LD_INIT_SWITCH): Define.
2413 (LD_FINI_SWITCH): Define.
2415 * alpha/alpha.h (LD_INIT_SWITCH): Define.
2416 (LD_FINI_SWITCH): Define.
2417 (INIT_NAME_FORMAT): Lose.
2418 (FINI_NAME_FORMAT): Lose.
2420 Fri Nov 18 22:34:26 1994 Ronald F. Guilmette (rfg@segfault.us.com)
2422 * crtstuff.c, svr4.h, i860/sysv4.h, m88k/sysv4.h, sparc/sysv4.h
2423 (CTORS_SECTION_ASM_OP): Remove @progbits, add SHF_WRITE.
2424 (DTORS_SECTION_ASM_OP): Ditto.
2426 * t-svr4, i386/t-sol2, m88k/t-sysv4, sparc/t-sol2
2427 (CRTSTUFF_T_CFLAGS): Define to -fpic.
2429 Fri Nov 18 22:33:26 1994 Jason Merrill (jason@phydeaux.cygnus.com)
2431 * gcc.c (LIBGCC_SPEC): New spec.
2432 (link_command_spec): Use LIBGCC_SPEC.
2433 (set_spec): Handle LIBGCC_SPEC.
2434 (process_command): Ditto.
2435 (do_spec_1): %G is LIBGCC_SPEC.
2436 (validate_all_switches): Also validate LIBGCC_SPEC.
2438 * alpha/alpha.h (LIBGCC_SPEC): Do include libgcc when
2439 creating a shared library.
2441 Fri Nov 18 22:32:26 1994 Steve Dum (steve_dum@mentorg.com)
2443 * collect2.c (SUNOS4_SHARED_LIBRARIES): Support scanning the
2444 _DYNAMIC field of SunOS 4 shared libraries directly.
2446 Fri Nov 18 22:31:26 1994 Jason Merrill (jason@phydeaux.cygnus.com)
2448 * collect2.c (main): For shared libraries, link in stubs even if
2449 there are no constructors or destructors so that static objects
2450 can be added without re-linking everything that uses the library.
2451 (write_c_file_stat): Tweak.
2453 * configure: Use sunos4.h instead of sparc.h for SunOS 4 targets.
2455 * sparc/sunos4.h: New file for SunOS 4-specific things.
2456 (SUNOS4_SHARED_LIBRARIES): Define to 1.
2457 * sparc/sparc.h: (LINK_SPEC): Support -shared.
2460 * pa/pa-hpux.h (LDD_SUFFIX): New macro.
2461 (PARSE_LDD_OUTPUT): New macro.
2462 (LINK_SPEC): Pass -b if -shared. Don't pass -u main if -shared.
2463 (LIB_SPEC): Don't include if -shared.
2465 * collect2.c (scan_prog_file): Ignore undefined symbols.
2467 Fri Nov 18 22:30:26 1994 Steve Dum (steve_dum@mentorg.com)
2469 * collect2.c (enum pass): Add PASS_LIB.
2470 (is_ctor_dtor): Check for shared library constructor and destructor
2472 (main): Add o_file after any link libraries, too.
2473 Create a shared object if COLLECT_GCC_OPTIONS contains -shared.
2474 Also scan shared libraries for constructors and destructors if
2475 LDD_SUFFIX is defined.
2476 (write_c_file_stat): New function to write out file for a shared
2478 (write_c_file_glob): Renamed from write_c_file.
2479 (write_c_file): Calls one of write_c_file_{stat,glob}.
2480 (scan_prog_file): Update to deal with shared libraries.
2481 (scan_libraries): New function to scan shared libraries for
2482 constructors and destructors.
2484 Fri Nov 18 19:16:19 1994 David Edelsohn (edelsohn@npac.syr.edu)
2486 * rs6000.c (addrs_ok_for_quad_peep): New function.
2487 (output_prolog): Use liu mnemonic.
2488 (registers_ok_for_quad_peep): New function.
2489 * rs6000.md (peepholes for two DF load/store): New peepholes.
2491 Fri Nov 18 19:10:24 1994 Kresten Krab Thorup (krab@next.com)
2493 * objc/object.c (class_create_instance): Replace memchr
2496 Fri Nov 18 19:06:15 1994 Doug Evans (dje@cygnus.com)
2498 * sparc/lite.h: #include "gofast.h"
2499 (INIT_SUBTARGET_OPTABS): Define.
2501 Fri Nov 18 19:01:51 1994 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2503 * Makefile.in (extraclean): Remove *.ps.
2505 Fri Nov 18 18:53:57 1994 Philippe De Muyter (phdm@info.ucl.ac.be)
2507 * cccp.c (create_definition): Allow carriage-return ('\r')
2508 as white space in simple or empty expansion.
2510 Fri Nov 18 18:30:40 1994 Douglas Rupp (drupp@cs.washington.edu)
2512 * winnt/ld.c (main): Fix off-by-one error allocating sdbuff.
2514 Fri Nov 18 18:23:54 1994 Mike Collison (collison@sw.stratus.com)
2516 * regclass.c (record_reg_classes): For single SET between hard reg
2517 alone in a class and pseudo, ensure reg is the only member of class.
2519 Fri Nov 18 15:15:27 1994 Jim Wilson (wilson@cygnus.com)
2521 * sol2.h (MD_STARTFILE_PREFIX): Delete.
2523 Fri Nov 18 14:16:04 1994 Chris Huey (cah@tactix.rain.com)
2525 * Makefile.in (objc-parse.y, mostlyclean): Rename temp file
2526 for objc-parse.y to be under 14 characters.
2528 Thu Nov 17 20:46:15 1994 Doug Evans <dje@cygnus.com>
2530 VxWorks support from various people at Cygnus.
2531 * config.sub: Vendor for vxworks is wrs.
2532 * configure (i960-wrs-vxworks*): New target.
2533 (m68k-wrs-vxworks*): New target.
2534 (sparc-wrs-vxworks*, sparclite-wrs-vxworks*): New targets.
2535 * i960/t-vxworks960, i960/vx960-coff.h, i960/vx960.h: New files.
2536 * m68k/t-vxworks68, m68k/vxm68k.h: New files.
2537 * sparc/t-vxsparc, sparc/vxsparc.h: New files.
2539 * h8300/h8300.h (DBX_DEBUGGING_INFO): Define.
2540 (PREFERRED_DEBUGGING_TYPE): Define to SDB_DEBUG.
2542 * configure (--program-prefix, --program-suffix,
2543 --program-transform-name, -v, -verbose): New arguments.
2544 (as): If gas is in build tree, use it.
2545 (ld, real-ld): Likewise but watch for use_collect.
2546 (program_transform_name): Update Makefile if
2547 --program-transform-name given.
2548 (program_transform_cross_name): Likewise.
2549 * Makefile.in (program_transform_name): Define.
2550 (program_transform_cross_name): Define.
2551 (GCC_INSTALL_NAME, GCC_CROSS_NAME): Define.
2552 (install-common): Use them.
2553 (install-man): Likewise.
2554 (distclean): Delete *.asm.
2555 (stage*, risky-stage*): If as/ld/real-ld exist, copy them to stage dir.
2557 Embedded target support from various Cygnus people.
2558 * config.sub (sparc): Recognize as a cpu.
2559 (ecoff*, vsta, udi): Recognize as os's.
2560 (udi29k): New alias.
2561 * configure: (a29k-*-udi): New target.
2562 (i[345]86-*-aout*): New target.
2563 (i[345]86-*-coff*): New target.
2564 (i[345]86-*-vsta): New target.
2565 (m68k-*-aout*): New target.
2566 (m68k-*-coff*): New target.
2567 (m88k-*-aout*): New target.
2568 (m88k-*-coff*): New target.
2569 (mipsel-*-ecoff*): New target.
2570 (mips-*-ecoff*): New target.
2571 (mipsel-*-elf*): New target.
2572 (mips-*-elf*): New target.
2573 (mips64el-*-elf*): New target.
2574 (mips64orionel-*-elf*): New target.
2575 (mips64-*-elf*): New target.
2576 (mips64orion-*-elf*): New target.
2577 (sparc-*-aout*): New target.
2578 (sparclite-*-coff*): New target.
2579 (sparclite-*-*): Set tmake_file to sparc/t-sparclite.
2580 (mips*-*-*): Changed from mips-*-*.
2581 * optabs.c (expand_unop): Try subtraction from zero if there isn't a
2582 negate library function.
2583 * config/gofast.h: New file.
2584 * a29k/a29k-udi.h, a29k/t-a29kbare: New files.
2585 * i386/i386-aout.h, i386/i386-coff.h, i386/t-i386bare: New files.
2586 * i386/vsta.h, i386/t-vsta, i386/x-vsta, i386/xm-vsta.h: New files.
2587 * m68k/coff.h: New file (renamed from m68k-coff.h).
2588 * m68k/lynx-ng.h, m68k/lynx.h: Include it.
2589 * m68k/fpgnulib.c, m68k/lb1sf68.asm, m68k/m68kemb.h: New files.
2590 * m68k/m68k-aout.h, m68k/m68k-coff.h, m68k/m68k-none.h: New files.
2591 * m68k/t-m68kbare: New file.
2592 * m88k/m88k-aout.h, m88k/m88k-coff.h, m88k/t-bug: New files.
2593 * mips/ecoff-gdb.h, mips/ecoff.h, mips/ecoffl-gdb.h: New files.
2594 * mips/ecoffl.h, mips/elf.h, mips/elf64.h, mips/elfl.h: New files.
2595 * mips/elfl64.h, mips/elflorion.h, mips/elforion.h: New files.
2596 * mips/t-ecoff: New files.
2597 * sparc/lb1spc.asm, sparc/lb1spl.asm, sparc/litecoff.h: New files.
2598 * sparc/sparc-aout.h, sparc/t-sparcbare, sparc/t-sparclite: New files.
2600 Thu Nov 17 18:32:24 1994 Torbjorn Granlund (tege@tiny.cygnus.com)
2602 * cse.c (simplify_binary_operation): Do (x - (x & y)) -> (x & ~y).
2604 Thu Nov 17 17:26:02 1994 Mark P. Gooderum (mark@good.com)
2606 * stddef.h: Include <machine/ansi.h> on NetBSD.
2607 Check for _BSD_XXX_T_ as well as _XXX_T_.
2608 Add _BSD_XXX_T_ to list of defines to check and define for a given
2609 type for SIZE_T, PTRDIFF_T, and WCHAR_T.
2611 Thu Nov 17 11:11:50 1994 Mike Collison (collison@sw.stratus.com)
2613 * dsp16xx.c (notice_update_cc): Removed reference to obsolete LSHIFT.
2614 * dsp16xx.h (RTX_COSTS): Likewise.
2616 Thu Nov 17 11:06:43 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
2618 * alpha.c (some_operand): New function.
2619 * alpha.h (PREDICATE_CODES): Add `some_operand'.
2620 * alpha.md (addsi3, adddi3): For patterns valid only
2621 during reload, allow operand 1 to be `some_operand'.
2623 * flow.c (find_auto_inc): Insert missing "return" statement.
2625 * c-common.c (print_char_table): Allow `L' for `u'.
2627 Thu Nov 17 10:15:50 1994 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2629 * config.sub: Accept -domain as OS, and make it default for Apollo.
2631 Wed Nov 16 19:28:46 1994 Jim Wilson (wilson@chestnut.cygnus.com)
2633 * loop.c (move_movables): For move_insn case, skip notes when deleting
2636 Wed Nov 16 16:13:48 1994 Ian Lance Taylor (ian@cygnus.com)
2638 * bi-run.h: Always check BITS_BIG_ENDIAN, BYTES_BIG_ENDIAN, and
2639 WORDS_BIG_ENDIAN at run time, never at compile time.
2640 * bytecode.h, combine.c, cse.c, dbxout.c, dwarfout.c: Likewise.
2641 * expmed.c, expr.h, final.c, fold-const.c, function.c: Likewise.
2642 * jump.c, objc-act.c, real.c, real.h, recog.c, reload.c: Likewise.
2643 * reload1.c, sdbout.c, tree.c, varasm.c: Likewise.
2644 * real.c: Replace uses of MIEEE and IBMPC with a compile time
2645 check of IEEE and a runtime check of FLOAT_WORDS_BIG_ENDIAN.
2646 * libgcc.2 (LIBGCC2_WORDS_BIG_ENDIAN): If not defined, define to
2647 WORDS_BIG_ENDIAN. Use it instead of WORDS_BIG_ENDIAN.
2648 * mips-tfile.c (init_file): Initialize fBigendian field based on
2649 HOST_WORDS_BIG_ENDIAN, not BYTES_BIG_ENDIAN.
2650 * config/mips/mips.h (MASK_BIG_ENDIAN): Define, replacing
2652 (TARGET_BIG_ENDIAN): Define.
2653 (TARGET_SWITCHES): Add eb and el. Include TARGET_ENDIAN_DEFAULT
2655 (TARGET_ENDIAN_DEFAULT): Define if not defined, based on
2657 (CC1_SPEC): Convert -EB to -meb, convert -EL to -mel, and warn if
2658 -EB and -EL are both used.
2659 (CPP_SPEC): If -EB is seen, undefine MIPSEL, _MIPSEL, __MIPSEL and
2660 __MIPSEL__, and define _MIPSEB, __MIPSEB, __MIPSEB__ and MIPSEB
2661 (the last only if -ansi was not seen). Similarly if -EL is seen.
2662 (REAL_ARITHMETIC): Define.
2663 (BYTES_BIG_ENDIAN, WORDS_BIG_ENDIAN): Base on TARGET_BIG_ENDIAN.
2664 (LIBGCC2_WORDS_BIG_ENDIAN): Define.
2665 (CONST_COSTS): Use split_double in CONST_DOUBLE case.
2666 * config/mips/mips.c (mips_move_2words): Use split_double rather
2667 than CONST_DOUBLE_LOW and CONST_DOUBLE_HIGH.
2668 (output_block_move): Check BYTES_BIG_ENDIAN at run time, not
2670 (print_operand): Check WORDS_BIG_ENDIAN, rather than using
2671 MOST_SIGNIFICANT_WORD and LEAST_SIGNIFICANT_WORD.
2672 * config/mips/t-mips (MULTILIB_OPTIONS, MULTILIB_DIRNAMES,
2673 MULTILIB_MATCHES, LIBGCC, INSTALL_LIBGCC): Define to build both
2674 big and little endian versions of libgcc.a.
2675 * config/mips/t-mips-gas: LIkewise.
2676 * config/mips/dec-bsd.h (CPP_SPEC): Same change as in mips.h.
2677 * config/mips/dec-osf1.h (CPP_SPEC): Likewise.
2678 * config/mips/iris3.h (CPP_SPEC): Likewise.
2679 * config/mips/iris5.h (CPP_SPEC): Likewise.
2680 * config/mips/osfrose.h (CPP_SPEC): Likewise.
2681 (CC1_SPEC): Same change as in mips.h.
2683 Wed Nov 16 16:04:21 1994 Paul Eggert <eggert@twinsun.com>
2685 * cccp.c (rescan): Remove unnecessary comparisons of ibp to limit.
2687 Wed Nov 16 07:48:17 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
2689 * regclass.c (record_reg_classes): Handle case of single SET
2690 between a hard register alone in a class and a pseudo.
2692 * tree.c (integer_{zero,one,all_ones,pow2}p): Handle COMPLEX_CST.
2693 (real_{zero,one,two}p): Likewise.
2695 * gcc.c (main): For -V output, give both driver and compiler
2696 versions, if they differ.
2698 * toplev.c (rest_of_compilation): Always rerun jump_optimize
2701 * fold-const.c (fold): If moved conversion into COND_EXPR,
2702 leave it there if it is an integral conversion to word or narrower.
2703 (fold, case NOP_EXPR): Ignore conversion to same type as operand.
2704 (fold, case COND_EXPR): Make third operand the simplest.
2706 * expr.c (convert_move): Don't put FROM in a register if it
2708 (store_expr): If don't want a value and storing into promoted
2709 variable, do conversion at tree level; don't copy volatile MEM
2710 unless want value, as comment says.
2712 Tue Nov 15 20:02:34 1994 Doug Evans (dje@cygnus.com)
2714 * varasm.c (named_section): New argument decl, all callers changed.
2715 * h8300/h8300.h, sh/sh.h, sparc/sysv4.h (ASM_OUTPUT_SECTION_NAME):
2718 Mon Nov 14 15:07:19 1994 Jason Merrill <jason@phydeaux.cygnus.com>
2720 * tree.h (POINTER_TYPE_P): New macro.
2721 * m68k/m68kv4.h, m68k/mot3300.h (FUNCTION_VALUE): Use
2722 POINTER_TYPE_P rather than checking the type against
2723 POINTER_TYPE (to include references).
2724 * function.c (init_function_start): Ditto.
2726 * alpha/alpha.h (FUNCTION_VALUE): Use INTEGRAL_MODE_P rather than
2727 checking the type against various integral and pointer types.
2729 * m68k/{3b1,3b1g,crds,mot3300}.h: Don't define __PTR_TO_INT and
2731 * m68k/xm-{3b1,crds,mot3300}.h: Define __PTR_TO_INT and __INT_TO_PTR.
2733 Tue Nov 15 19:29:04 1994 Per Bothner <bothner@kalessin.cygnus.com>
2735 * tree.c (staticp): A non-nested function is always static.
2737 Tue Nov 15 19:12:03 1994 Jim Meyering (meyering@comco.com)
2739 * Makefile.in (specs, float.h-cross, xlimits.h): Use temporary instead
2740 of redirecting output directly to make target.
2741 ($(MD_FILE), xsys-protos.h): Likewise.
2742 (mostlyclean): Remove any of these temporaries.
2743 (libgcc2.a): Add missing semicolon in commented code that could cause
2744 a /bin/sh syntax error if uncommented.
2746 Tue Nov 15 19:07:00 1994 Warner Losh (imp@village.org)
2748 * i386/freebsd.h (NO_IMPLICIT_EXTERN_C): Define.
2750 Tue Nov 15 19:00:55 1994 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2752 * reorg.c (redundant_insn): Renamed from redundant_insn_p; all
2755 Tue Nov 15 18:57:46 1994 Jim Wilson (wilson@chestnut.cygnus.com)
2757 * reorg.c (relax_delay_slots): When invert a conditional jump over a
2758 single unconditional jump, invert the INSN_FROM_TARGET_P bit of insns
2761 * reorg.c (redundant_insn_p): Change return type to rtx. Return the
2762 redundant insn instead of true.
2763 (update_reg_unused_notes): New function.
2764 (fill_slots_from_thread): Call update_reg_unused_notes after one of
2765 the redundant_insn_p calls.
2767 Tue Nov 15 18:39:33 1994 Torbjorn Granlund (tege@tiny.cygnus.com)
2769 * expmed.c (expand_divmod, case ROUND_DIV_EXPR): Implement.
2770 * expr.c (do_jump_by_parts_greater_rtx): No longer static.
2771 (expand_expr): Delete code for plain `abs'.
2772 * optabs.c (expand_abs): New function, code moved from expand_expr.
2773 * expr.h: Declare expand_abs.
2775 Tue Nov 15 12:11:26 1994 Jeffrey A. Law (law@mole.gnu.ai.mit.edu)
2777 * pa.c (output_cbranch): Improve code for short backwards branch
2778 with an unfilled delay slot.
2779 (output_bb, output_dbra, output_movb): Likewise.
2781 Tue Nov 15 09:55:31 1994 Doug Evans (dje@cygnus.com)
2783 * jump.c (delete_insn): Delete labels in ADDR_VECs and
2784 ADDR_DIFF_VECs if their use count becomes zero.
2785 * flow.c (flow_delete_insn): New function.
2786 (find_basic_blocks): Call it to physically delete insns in
2787 unreachable blocks. When scanning blocks after dead ones,
2788 start scanning after the dead one (not at the dead one).
2789 If there are lots of unreachable blocks, make another pass to squeeze
2790 them out (this reduces memory usage in some pathalogical cases by a
2791 significant amount without resorting to sparse matrices).
2792 (propagate_block): Make code a bit more efficient (for example,
2793 no need to test `loop_depth' for each insn, just notes).
2795 Tue Nov 15 09:42:31 1994 Lynn Shumaker (shumaker@saifr00.ateng.az.honeywell.com)
2797 * function.c (assign_stack_temp): Compute size of slot after
2798 assign_stack_local has accounted for alignment.
2800 Mon Nov 14 23:47:20 1994 Torbjorn Granlund (tege@tiny.cygnus.com)
2802 * pa.h (GO_IF_LEGITIMATE_ADDRESS): Allow
2803 (lo_sum (reg) (unspec (symref))).
2805 * pa.md (pic2_lo_sum): New pattern matching when -fPIC using UNSPEC.
2806 * pa.c (legitimize_pic_address): Generate an insn matching
2807 pic2_lo_sum when -fPIC.
2809 * pa.md (pic_highpart): Add missing mode for PLUS.
2810 (add_high_const): Likewise.
2812 * pa.md (matcher for plain lo_sum): Call abort if this happens
2813 when generating pic or PIC.
2815 Mon Nov 14 23:47:20 1994 Jeffrey A. Law (snake.cs.utah.edu)
2817 * Automatic generation of inline long call sequences when needed.
2818 * pa.h (TARGET_LONG_CALLS): Delete. Replace all uses of with
2819 TARGET_PORTABLE_RUNTIME.
2820 (TARGET_MILLICODE_LONG_CALLS): New target flag.
2821 * pa.c (output_function_prologue): Keep track of the total number
2822 of code bytes emitted for each source file.
2823 (output_call): Handle TARGET_PORTABLE_RUNTIME and millicode calls
2824 for TARGET_MILLICODE_LONG_CALLS. Emit an inline long-call if
2825 needed. If emitting an inline long-call, perform argument relocations
2826 before the call if they are needed, unfill the delay slot of the
2828 * pa.md (define_delay for millicode): Disable the delay slot if
2829 TARGET_MILLICODE_LONG_CALLS.
2830 (millicode insns and indirect calls): Properly compute length for
2831 both TARGET_PORTABLE_RUNTIME and TARGET_MILLICODE_LONG_CALLS.
2832 (call_internal_symref): Properly compute the length when more
2833 than 240000 bytes of code have already been output. Take
2834 TARGET_MILLICODE_LONG_CALLS into account in the length
2837 * pa.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Define.
2838 (ASM_FILE_END): Delete unneeded definition.
2840 * Fast indirect call support.
2841 * pa.h (TARGET_FAST_INDIRECT_CALLS): New target switch.
2842 (TARGET_SWITCHES): Add "fast-indirect-calls" and inverse.
2843 * pa.md (call_internal_reg, call_value_internal_reg): Generate
2844 appropriate code for TARGET_FAST_INDIRECT_CALLS.
2847 * pa.c (secondary_reload_class): Refine. Readonly data needs a
2848 secondary reload only during PIC generation. Loading a floating
2849 point register with a constant requires a register from R1_REGS
2850 during -fPIC code generation.
2851 (read_only_operand): Constant pool entries are no longer read only
2852 during PIC code generation.
2853 (hppa_legitimize_address): If flag_pic is nonzero, then
2854 immediately call legitimize_pic_address.
2855 (emit_move_sequence): Call legitimize_pic_address to handle
2856 constant data. Handle secondary reloads for PIC. Use
2857 pic_label_operand rather than open coding the test. Handle
2858 loading a LABEL_REF when generating PIC.
2859 (legitimzie_pic_address): Handle constant data addressing for PIC
2860 here. Fix loading of symbolic addresses for -fPIC generation.
2861 (pic_label_operand): Renamed from pic_operand. Handle any read
2862 only operand (such as constant data). Reject function addresses,
2863 Accept SYMBOL_REF with the read-only bit set. Generalize to
2864 handle (const (plus (reg) (int))).
2865 (finalize_pic): Delete unused function.
2866 (check_pic): Delete function.
2867 (pic_pc_rtx): Delete variable definition.
2868 (current_function_uses_pic_offset_table): Delete extern decl.
2869 (force_reg, validize_mem): Likewise.
2870 (output_global_address): Don't tack on "-$global$" when generating
2872 (finalize_pic): Don't emit code for initialization of
2873 hppa_save_pic_table_rtx here. Don't claim we USE
2874 pic_offset_table_rtx at function end.
2875 * pa.h (SELECT_RTX_SECTION): Define. During PIC generation
2876 everything (in the constant pool) goes into the data space.
2877 (PRINT_OPERAND_ADDRESS): Handle CONST_INTs during PIC
2878 generation. Handle LO_SUM address during -fPIC generation.
2879 (LEGITIMATE_CONSTANT_P): Reject function labels when generating
2881 (GO_IF_LEGITIMATE_ADDRESS): Only accept pic_reg + SYMBOL_REF for
2883 (EXTRA_SECTION_FUNCTIONS): For -fpic, use the TEXT section for
2884 constants to avoid GAS lossage.
2885 (OVERRIDE_OPTIONS): Delete.
2886 (PIC_OFFSET_TABLE_REG_CALL_CLOBBERED): Define.
2887 (FINALIZE_PIC): Delete definition.
2888 (INIT_EXPANDERS): Define. Clear hppa_save_pic_table_rtx here.
2889 * pa.md: Use !flag_pic rather than calling check_pic.
2890 (HImode high and lo_sum): Only accept const_int_operands.
2891 (pic_load_label): Force output to be in %r1.
2892 (pic_highpart): New pattern. Output must go into %r1. More
2894 (symbolic high and lo_sum): Disallow during PIC generation if
2895 source is a symbolic operand. Handle CONST_INT LO_SUM during PIC
2896 generation. Simplify.
2897 (define_split for symbolic_operand load): Do not accept a symbolic
2898 operand that is a pic_label_operand.
2899 (pic_load_label): Name this pattern. Mask least significant bits
2900 and optimize when a simple label is within reach of an ldo.
2901 (call, call_value): Emit new-style USE information for
2902 pic_offset_table_rtx. Emit code for initialization of
2903 hppa_save_pic_table_rtx and wrap it into push_topmost_sequence()
2904 and pop_topmost_sequence() calls.
2906 * Various PA configuration cleanups.
2907 * configure (hppa*-*-h[pi]ux): Use xm-pahpux.h and x-pa-hpux instead
2908 of the redundant hiux files. Likewise for t-pa instead of t-pa-hpux.
2909 * config/pa/xm-pahiux.h: Delete. It's identical to xm-pahpux.h.
2910 * config/pa/x-pa-hiux: Delete. It's idential to x-pa-hpux.
2911 * config/pa/x-pa (TAROUTOPTS): Delete. It was an HPUX host
2912 conditional, and x-pa is a BSD host target fragment.
2913 (INSTALL_HEADERS): Define.
2914 (STMP_FIXPROTO): Define.
2915 * config/pa/t-pa (INSTALLED_H): Delete.
2916 * config/pa/t-pa-hpux: Delete, it's identical to t-pa.
2917 * config/pa/pa-hiux.h: Include "pa/pa-hpux.h" and just override
2919 (CPP_PREDEFINES): Add -A assertions.
2920 * config/pa/{pa1-hiux.h, pa-ghiux.h, pa1-ghiux.h}: Likewise.
2921 * config/pa/pa-ghpux.h: Simplify by including pa-hpux.h.
2922 (DBX_DEBUGGING_INFO): Define.
2923 (DEFAULT_GDB_EXTENSIONS): Define.
2925 Mon Nov 14 19:16:00 1994 Dennis Glatting <war04!dennisg@kerby.ocsg.com>
2927 * fixincludes: Fixes for NextStep 3.2. Remove ``__const__'' from
2928 sin and cos prototypes in ansi/math.h. Remove keyword ``template''
2929 from bfd/libc.h. Remove ``volatile'' from abort in bsd/libc.h
2930 and abort and exit in ansi/stdlib.h.
2932 Mon Nov 14 18:54:28 1994 Douglas Rupp (drupp@cs.washington.edu)
2934 * i386/x-winnt (EXTRA_PROGRAM): Match target name.
2936 Mon Nov 14 18:48:21 1994 Torbjorn Granlund (tege@tiny.cygnus.com)
2938 * freebsd.h (INCLUDE_DEFAULTS): Move definition beyond
2939 FREEBSD_NATIVE conditional.
2940 (FUNCTION_PROFILER): Move down to make file more similar to
2942 (DEFAULT_TARGET_MACHINE, etc): Comment our this braindamage!
2944 Mon Nov 14 18:46:18 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
2946 * calls.c (expand_call): If IS_CONST and VALREG == 0, end our
2947 sequence and emit the insns.
2949 Sat Nov 12 06:35:42 1994 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2951 * Version 2.6.2 released.
2953 Sat Nov 12 06:35:21 1994 Torbjorn Granlund (tege@cygnus.com)
2955 * expmed.c (expand_divmod, case TRUNC_DIV_EXPR): Promote signed
2956 division by 0x80000000 to unsigned.
2958 Fri Nov 11 17:07:35 1994 Michael Meissner (meissner@osf.org)
2960 * c-common.c (decl_attributes): Add double-underscore version of
2961 printf and scanf for format type.
2963 Fri Nov 11 16:38:04 1994 Jim Wilson (wilson@chestnut.cygnus.com)
2965 * mips-tdump.c: Include <time.h>. Delete ctime prototype.
2967 Fri Nov 11 14:16:00 1994 Holger Teutsch <holger@hotbso.rhein-main.de>
2969 * clipper.md (movsi+1): Allow r->m move during reloading.
2971 Fri Nov 11 12:40:51 1994 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2973 * c-decl.c (duplicate_decls): Properly merge decls with
2974 differing DECL_CONTEXT.
2976 * function.c (preserve_rtl_expr_result): find_temp_slot_from_address
2978 Don't bring the temp slot to an inner level than it was.
2979 (assign_stack_temp): Always initialize p->rtl_expr.
2981 * m68k/mot3300g.h (SPACE_AFTER_L_OPTION): Deleted.
2983 Thu Nov 10 18:50:52 1994 Kresten Krab Thorup (krab@next.com)
2985 * objc/list.h: Add ifndef/define for repeated inclusion.
2987 Thu Nov 10 18:02:58 1994 Michael Meissner <meissner@pasta.osf.org>
2989 * c-common.c (decl_attributes): Check for attributes with leading
2990 and trailing double underscores.
2992 Thu Nov 10 17:55:07 1994 Chris Metcalf (metcalf@catfish.lcs.mit.edu)
2994 * fixincludes: Make argument type const for popen and tempnam in
2995 stdio.h and for strdup in string.h, for OSF/1 V3.0.
2997 * va-alpha.h (va_arg): Add cast to void * to suppress warning.
2999 Thu Nov 10 17:48:21 1994 Walter Misar (hrz.th-darmstadt.de)
3001 * m68k/hp320.h (FUNCTION_{PRO,EPI}LOGUE): Don't define.
3002 (IMMEDIATE_PREFIX, REGISTER_PREFIX): Define.
3004 Thu Nov 10 15:04:57 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
3006 * m68k/crds.h (FUNCTION_{PRO,EPI}LOGUE): Add code to adjust stack
3007 when no frame pointer.
3008 * m68k.c (output_function_epilogue): Use a1 as scratch, not a0.
3009 * m68k/tower-as.h (FUNCTION_{PRO,EPI}LOGUE): No longer defined.
3010 (FUNCTION_EXTRA_EPILOGUE): Define.
3011 * m68k/tower.h (REGISTER_PREFIX, IMMEDIATE_PREFIX): Define.
3013 * i386/x-sco, i386/x-sco4 (CLIB): Add -lPW.
3016 * c-common.c ({print,scan}_char_table): Allow `L' modifier
3017 for integer output formats.
3018 (check_format_info): Treat `ll' like `q'.
3020 * rs6000.md (movsi): In TOC symbol case, use "la" for PowerPC.
3021 (movdi): Handle TOC symbol just like movsi.
3023 * objc-act.c (init_objc): Add missing casts to args of bcopy.
3024 (lang_init): Ensure line number is 0, not -1.
3026 Tue Nov 8 07:51:53 1994 Paul Eggert <eggert@twinsun.com>
3028 * cccp.c (dump_single_macro, dump_defn_1): If -traditional,
3029 dump macros in traditional style. This also avoids a bogus error
3030 message if the macro uses traditional stringizing.
3032 Mon Nov 7 21:28:13 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu>
3034 * protoize.c [!POSIX]: Only define O_RDONLY and O_WRONLY if not
3037 Mon Nov 7 19:33:31 1994 Jim Wilson (wilson@mole.gnu.ai.mit.edu)
3039 * combine.c (try_combine): Update split_code after converting MULT
3042 Mon Nov 7 12:26:24 1994 Torbjorn Granlund <tege@cygnus.com>
3044 * rs6000.md (DImode load-with-update matcher): Fix typo in MEM mode.
3045 (compare patterns): Fix several typos, SImode => CCmode.
3046 * sh.md (subdi3): Delete % from constraints.
3047 * 1750a.md (subqi3): Likewise.
3048 * clipper.md (subdi3): Likewise.
3049 * i370.md (subqi3): Likewise.
3050 (anonymous subqi3 matcher): Likewise.
3051 * i860.md (subdi3): Likewise.
3052 * dsp16xx.md (mulqi3): Fix typo in MULT mode.
3053 * elxsi.md (one_cmplsi2): Fix typo in NOT mode.
3055 Mon Nov 7 12:47:37 1994 Ian Lance Taylor <ian@cygnus.com>
3057 * m68kv4.h (ASM_IDENTIFY_GCC): Use proper definition for SGS assembler.
3059 Mon Nov 7 11:02:25 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
3061 * gcc.c (process_command): Ignore LIBRARY_PATH and LPATH if
3064 Sun Nov 6 07:23:37 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
3066 * cross-test.c (foo): Return value for BU in range for shifts.
3068 Sat Nov 5 14:25:36 1994 Jim Wilson (wilson@chestnut.cygnus.com)
3070 * m68k.h (PREFERRED_RELOAD_CLASS): FP constants rejected by 'G'
3071 are OK for class FP_REGS.
3073 Sat Nov 5 14:08:31 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
3075 * calls.c (store_one_arg): Preserve any temp slots whose address
3076 may have been taken.
3078 * real.c (GET_REAL, PUT_REAL): Cast args to bcopy to char *.
3079 * reload1.c (reload): Likewise.
3080 * i386.c ({save,restore}_386_machine_status): Likewise.
3081 * reg-stack.c (subst_asm_stack_regs): Likewise.
3082 (BLOCK_NUM): Rework to avoid cast of abort to int *.
3083 (find_blocks): Don't use BLOCK_NUM on lhs.
3084 (reg_to_stack, record_arg_reg_life): Cast arg to bzero to char *.
3086 Sat Nov 5 08:29:45 1994 Paul Eggert <eggert@twinsun.com>
3088 * cccp.c (rescan): Do not preserve newlines after macro name
3089 if rescanning a macro expansion. Instead, preserve them if
3090 not outputting marks.
3092 Fri Nov 4 17:25:29 1994 John David Anglin (dave@hiauly1.hia.nrc.ca)
3094 * vax.c: Include tree.h and VMS-specific functions #ifdef VMS_TARGET.
3095 * vms.h (VMS_TARGET): Define.
3097 Fri Nov 4 17:19:30 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
3099 * bi-arity.c (main): Cast enum to char in output.
3100 * bc-emit.c (bc_emit_bytecode): Add missing cast.
3102 Thu Nov 3 14:17:22 1994 Mike Stump <mrs@cygnus.com>
3104 * libgcc2.c (__register_exceptions): Find max ending of a segment for
3106 * libgcc2.c (__unwind_function): New function to support stack
3107 unwinding on i[34]86 for g++ exception handling.
3109 Thu Nov 3 18:55:42 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
3111 * Makefile.in (c-parse.o, c-lex.o): c-parse.h is in $(srcdir).
3113 Thu Nov 3 18:11:56 1994 John F Carr (jfc@mit.edu)
3115 * rs6000.md (movsi): New alternative for SYMBOL_REF source operand.
3116 * rs6000.c (print_operand): New code '*' to print TOC register number.
3117 * rs6000.h (EXTRA_CONSTRAINT): 'R' matches a SYMBOL_REF for TOC entry.
3118 (PRINT_OPERAND_PUNCT_VALID_P): Recognize '*'.
3119 (PREDICATE_CODES): input_operand can now match SYMBOL_REF.
3121 Thu Nov 3 18:03:24 1994 Jason Merrill (jason@phydeaux.cygnus.com)
3123 * cccp.c: TOOL_INCLUDE_DIR is not C++-aware.
3125 Thu Nov 3 17:23:30 1994 Jim Wilson (wilson@chestnut.cygnus.com)
3127 * mips.c (mips_output_external): Exclude alloca from list of
3128 used external functions.
3130 Tue Nov 1 19:19:41 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
3132 * Version 2.6.1 released.
3134 Tue Nov 1 18:51:00 1994 Torbjorn Granlund (tege@cygnus.com)
3136 * pa.md (add_high_const): Add missing mode for PLUS.
3138 Tue Nov 1 18:39:53 1994 Stephen L Moshier (moshier@world.std.com)
3140 * cse.c (simplify_unary_operation, case TRUNCATE): Set LV and HV.
3142 Tue Nov 1 18:36:23 1994 Pat Rankin (rankin@eql.caltech.edu)
3144 * vax.c (struct extern_list): Put code back outside of #ifdef VMS.
3145 (vms_check_external, vms_flush_pending_externals): Likewise.
3147 Mon Oct 31 16:18:12 1994 Michael Meissner <meissner@pasta.osf.org>
3149 * i386/i386.md (movsf, movdf, movxf): If we are moving floating
3150 point constants to a non-memory location that aren't 0 or 1,
3151 assume we need the pic register if -fpic.
3153 Mon Oct 31 13:26:45 1994 Jim Wilson (wilson@mole.gnu.ai.mit.edu)
3155 * sparc.h (GO_IF_LEGITIMATE_ADDRESS): Don't allow TFmode LO_SUM.
3156 * sparc.md (movtf+3): Disable pattern.
3158 Mon Oct 31 08:11:47 1994 Doug Evans <dje@canuck.cygnus.com>
3160 * expr.c (expand_expr, COND_EXPR case): Don't use original target as
3161 a temp if it's a volatile mem ref. Finish previous patch (don't
3162 expand "X ? A & 1 : A" as "A & (X != 0)").
3164 Mon Oct 31 08:07:09 1994 Pat Rankin (rankin@eql.caltech.edu)
3166 * vax.c: Include tree.h #ifdef VMS.
3167 (struct extern_list): Move inside #ifdef VMS; add SIZE and IN_CONST
3168 fields; make `extern_head' static; add second list head.
3169 (vms_check_external): Move inside #ifdef VMS; give new args; maintain
3170 list of both pending external symbols and previously defined ones.
3171 (vms_flush_pending_externals): New function.
3172 * vax/vms.h (ASM_GLOBALIZE_LABEL): Pass new args to vms_check_external.
3173 (ASM_OUTPUT_EXTERNAL): Just call vms_check_external.
3174 (ASM_{,FINISH_}DECLARE_OBJECT_NAME, ASM_FILE_END): Define.
3176 Mon Oct 31 08:00:59 1994 Michael Gschwind (mike@vlsivie.tuwien.ac.at)
3178 * pdp11.h (TARGET_SWITCHES): Add -split and -no-split.
3179 (TARGET_SPLIT, TARGET_NOSPLIT): New macros.
3180 (TRAMPOLINE_TEMPLATE, INITIALIZE_TRAMPOLINE): Abort if -split.
3182 Mon Oct 31 07:53:34 1994 Warner Losh <imp@village.org>
3184 * i386/x-freebsd (CLIB): Add definition.
3186 Mon Oct 31 07:49:17 1994 Jeffrey A Law <law@snake.cs.utah.edu>
3188 * reorg.c (mark_set_resources): Properly handle SUBREGs.
3190 Mon Oct 31 07:24:32 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
3192 * expr.c (expand_expr, case COMPONENT_REF): Don't extract
3193 field from a CONSTRUCTOR if it already has a TREE_CST_RTL.
3194 (expand_expr, case ADDR_EXPR): Call mark_temp_addr_taken
3195 on the temporary made when operand needs to be stored into memory.
3196 * function.c (preserve_temp_slots): Preserve anything whose
3197 address was taken when X is zero.
3199 Sun Oct 30 15:11:51 1994 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3201 * msdos/top.sed, i386/config-nt.sed: Update version to 2.6.1.
3202 * pa/t-pa-hpux: Add missing newline at end.
3204 Sat Oct 29 21:16:29 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
3206 * emit-rtl.c (operand_subword): Fix typo: HOST_BITS_PER_INT
3207 should be HOST_BITS_PER_WIDE_INT.
3209 Fri Oct 28 19:13:13 1994 Andrew McCallum (mccallum@vein.cs.rochester.edu)
3211 * objc/misc.c (__objc_xcalloc): Use calloc instead malloc/bzero.
3213 Fri Oct 28 19:07:53 1994 Michael Gschwind (mike@vlsivie.tuwien.ac.at)
3215 * pdp11.h (TRAMPOLINE_SIZE): Install real implementation.
3216 (INITIALIZE_TRAMPOLINE, TRAMPOLINE_TEMPLATE): Likewise.
3218 Fri Oct 28 19:01:27 1994 Craig Burley (burley@gnu.ai.mit.edu)
3220 * Makefile.in (stage?-start): Add semicolon between fi and done.
3222 Fri Oct 28 17:12:26 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
3224 * cse.c (cse_insn): Don't record a DEST if paradoxical SUBREG
3225 and SRC is a SIGN_EXTEND or ZERO_EXTEND.
3227 * alpha.md (reload_outqi): Correctly handle scratch assignments
3228 for unaligned case when ADDR is a REG.
3230 Fri Oct 28 07:55:40 1994 Michael Meissner (meissner@osf.org)
3232 * i386/i386.md (adddi3): Fixup code in case operands[0] is equal
3235 Thu Oct 27 18:58:39 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
3237 * reload1.c (count_possible_groups): Fix typo in setting
3240 Thu Oct 27 15:30:41 1994 Per Bothner <bothner@kalessin.cygnus.com>
3242 * c-typeck.c (process_init_element): In the case of
3243 [LO .. HI] = VALUE, use save_expr to only evaluate VALUE once.
3245 Thu Oct 27 15:15:25 1994 Torbjorn Granlund (tege@rtl.cygnus.com)
3247 * gcc.c (process_command): Don't forget to split -Wl arguments at
3250 * gcc.c (process_command): Handle -Wl, and -Xlinker similar to -l,
3251 i.e., preserve their order with respect to linker input files.
3253 Thu Oct 27 13:11:16 1994 Douglas Rupp (drupp@cs.washington.edu)
3255 * configure (i[345]86-*-winnt3*): Allow any version 3.x.
3256 Don't use a t-winnt file and move x-winnt to config/i386.
3257 * i386/x-winnt: Build ld-winnt.exe only on host.
3258 * winnt/t-winnt: Deleted.
3260 Thu Oct 27 13:05:16 1994 Mike Collison (collison@chianti.sw.stratus.com)
3262 * reload.c (debug_reload): New function to print reload info
3263 set up by find_reloads.
3265 Wed Oct 26 18:27:03 1994 David Mosberger-Tang <davidm@piston.cs.arizona.edu>
3267 * alpha.h (FUNCTION_PROFILER): Use $28 instead of $27.
3268 (LINK_SPEC): Pass -pg to linker.
3269 (LIB_SPEC): Link in -lprof1 with -pg, not -lprof2.
3270 (STARTFILE_SPEC): USe gcrt0.o if -pg, not mcrt0.o.
3272 Wed Oct 26 18:22:34 1994 Doug Evans (dje@cygnus.com)
3274 * expr.c (expand_expr, COND_EXPR case): Don't expand
3275 "X ? A & 1 : A" as "A & (X != 0)".
3277 Wed Oct 26 18:06:52 1994 Douglas Rupp (drupp@cs.washington.edu)
3279 * winnt/ld.c (expand_lib, main): Fix off-by-one bugs in several
3282 Wed Oct 26 22:00:09 1994 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3284 * winnt/t-winnt: Remove some spurious blank lines.
3286 Wed Oct 26 14:14:39 1994 Michael Meissner (meissner@osf.org)
3288 * i386/osfrose.h (REAL_NM_FILE_NAME): Use /usr/ccs/gcc/bfd-nm
3289 instead of /usr/ccs/bin/nm, since the GNU nm does not output stab
3292 Wed Oct 26 13:47:06 1994 Michael Gschwind (mike@vlsivie.tuwien.ac.at)
3294 * config.sub (pdp11): New machine name.
3295 * configure (pdp11-*-*): New configuration.
3296 * pdp11.c, pdp11.h, pdp11.md, xm-pdp11.h: New files.
3298 Wed Oct 26 07:33:40 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
3300 * flow.c (find_basic_blocks): Ensure each live basic block is
3302 (life_analysis): Clean up handling of basic_block_drops_in.
3304 Tue Oct 25 18:40:12 1994 Paul Eggert <eggert@twinsun.com>
3306 * cccp.c (rescan): ".." no longer terminates a preprocessing
3307 number, since that's incompatible with the C standard.
3309 Tue Oct 25 16:16:40 1994 Michael Dobson (dobson@info.usuhs.mil)
3311 * we32k.h (CPP_PREDEFINES): Define u3b2, not u3b.
3313 Tue Oct 25 16:15:27 1994 Jim Wilson (wilson@cygnus.com)
3315 * reorg.c (fill_slots_from_thread): Update THREAD if it is split.
3317 Mon Oct 24 00:12:46 1994 Jason Merrill (jason@phydeaux.cygnus.com)
3319 * toplev.c (lang_options): Add -f{no-,}access-control.
3321 Mon Oct 24 06:14:03 1994 Richard Earnshaw (rwe@pegasus.esprit.ec.org)
3323 * arm/arm.md (peepholes for call followed by branch): Disable.
3325 Sun Oct 23 08:54:27 1994 Richard Earnshaw (rwe@pegasus.esprit.ec.org)
3327 * arm/x-riscix (INSTALL): Invoke install.sh with -c flag.
3329 Fri Oct 21 00:42:08 1994 Jason Merrill (jason@phydeaux.cygnus.com)
3331 * Makefile.in (LIB2FUNCS): Add _pure.
3333 * libgcc2.c (__pure_virtual): New function to go into vtable
3334 entries for pure virtual methods instead of abort.
3336 Thu Oct 20 18:40:36 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
3338 * alpha.md (define_split comparison op with power of two minus 1):
3341 Thu Oct 20 13:14:24 1994 Jason Merrill (jason@phydeaux.cygnus.com)
3343 * collect2.c (add_to_list): Check for duplicates.
3345 * alpha/alpha.h (LINK_SPEC): Pass -shared through; don't
3346 pass -init __main if -shared.
3347 (STARTFILE_SPEC): Wrap startfiles in %{!shared:}.
3348 (INIT_NAME_FORMAT): Define.
3349 (FINI_NAME_FORMAT): Define.
3350 * alpha/osf12.h (LINK_SPEC): Ditto.
3351 * alpha/gdb-osf12.h: #include osf12.h instead of alpha.h
3353 * gcc.c (STARTFILE_SPEC): Wrap startfiles in %{!shared:}.
3355 Thu Oct 20 16:07:46 1994 Jim Wilson (wilson@cygnus.com)
3357 * unroll.c (loop_iterations): Move all failure exits after the
3358 computation of final_value.
3360 * mips.md (movdf_internal2+1): Disable when TARGET_64BIT.
3362 * i960.c (VARARGS_STDARG_FUNCTION): New macro.
3363 (i960_function_name_declare, output_function_profiler,
3364 i960_function_epilogue, i960_output_call_insn, i960_output_ret_insn,
3365 i960_reg_parm_stack_space): Use it.
3366 (compute_frame_size): Don't use current_function_pretend_args_size.
3367 (i960_function_arg_advance, i960_function_arg): Don't use parameter
3369 (i960_setup_incoming_varargs): No need to adjust first_reg_offset
3370 after setting it. Don't save last named argument to stack.
3371 Don't set pretend_size.
3372 * i960.h (SIGNED_CHAR_SPEC): Use #if instead of ?:.
3373 * va-i960.h (va_start): Use builtin_arts_info instead of
3376 * cse.c (merge_equiv_classes, cse_insn): Call rehash_using_reg
3378 (canon_hash): Don't use qty_const to compute hash code for a
3381 Thu Oct 20 09:41:51 1994 Richard Kenner (kenner@vlsi1.ultra.nyu)
3383 * stor-layout.c (variable_size): Return SIZE if it contains
3386 Tue Oct 18 19:51:24 1994 Jason Merrill (jason@phydeaux.cygnus.com)
3388 * collect2.c (main): Check REAL_*_FILE_NAME first.
3390 Wed Oct 19 15:55:15 1994 David J. MacKenzie <djm@duality.gnu.ai.mit.edu>
3392 * config.sub: Add licensing exception for Autoconf.
3394 Wed Oct 19 06:43:46 1994 Michael Meissner (meissner@osf.org)
3396 * i386/i386.h (FUNCTION_BLOCK_PROFILER): Don't bother preserving
3397 eax if -fpic, since it is a call clobbered register anyway. Fix -fpic
3398 code so that it is correct.
3400 Tue Oct 18 18:00:23 1994 Michael Meissner (meissner@osf.org)
3402 * i386/i386.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Move
3403 macros here from osfrose, netbsd, and freebsd ports. Remove
3404 assumptions that the assembler is gas. Rewrite and fix the
3405 instructions produced with -fpic.
3407 * i386/osfrose.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Delete.
3408 * i386/freebsd.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Delete.
3409 * i386/netbsd-i386.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER):
3412 Tue Oct 18 20:27:29 1994 Doug Evans (dje@cygnus.com)
3414 * sparc.h (FRAME_POINTER_REQUIRED): Require frame pointer if
3415 non-leaf flat function.
3416 * sparc.c (sparc_frame_info): Combine members gp_sp_offset and
3417 fp_sp_offset into reg_offset. All uses changed.
3418 (RETURN_ADDR_REGNUM): New macro.
3419 (RETURN_ADDR_MASK, FRAME_POINTER_MASK): New macros.
3420 (sparc_flat_compute_frame_info): Rename local mask to gmask.
3421 Only ensure reg save area is 8 byte aligned if necessary.
3422 (sparc_flat_save_restore): New arguments base_reg, offset, gmask,
3423 and fmask. All callers changed. No longer use %g2 to save regs
3424 in big stack frames.
3425 (sparc_flat_output_function_prologue): Delete local tsize.
3426 Reorder storing of previous frame pointer and return address reg to
3427 make it easier for gdb to identify flat functions. Decrement %sp
3428 twice when saving call-saved regs in big frames.
3429 Count fp regs as 4 bytes in assembler comment.
3430 (sparc_flat_output_function_epilogue): Likewise when restoring
3433 Tue Oct 18 19:33:55 1994 Mike Collison (collison@sw.stratus.com)
3435 * reload1.c (reload): Correctly compute group additional needs when
3436 the return register cannot be used as a spill register.
3438 Tue Oct 18 16:17:26 1994 Jim Wilson (wilson@mole.gnu.ai.mit.edu)
3440 * mips.h (ASM_SPEC): Pass -mcpu= option to GNU as.
3442 Tue Oct 18 08:39:49 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
3444 * flow.c (propagate_block): Call mark_used_regs to show global regs
3446 * combine.c (can_combine_p): Don't combine into CALL_INSN where
3447 DEST is a global reg.
3449 * c-decl.c (start_function): Save immediate_size_expand
3450 and initialize it to zero in case nested function.
3452 * pa.c (non_hard_reg_operand): New function.
3453 * pa.md (reload_{in,out}*): Replace general_operand with
3454 non_hard_reg_operand.
3456 Fri Oct 14 18:35:30 1994 Jason Merrill (jason@phydeaux.cygnus.com)
3458 * gcc.c (default_compilers): Treat files with an extension of .c++
3461 Mon Oct 17 19:21:57 1994 David Edelsohn (edelsohn@npac.syr.edu)
3463 * configure (rs6000-ibm-aix4.1*): New configuration.
3464 * rs6000/aix41.h: New file.
3466 Mon Oct 17 19:15:14 1994 Jim Wilson (wilson@mole.gnu.ai.mit.edu)
3468 * va-mips.h (va_arg): Add little endian mips3 support.
3470 * sparc.h (RETURN_IN_MEMORY): Return true for TCmode values.
3472 * README.IRIX5: Delete.
3473 * install.texi: Update Irix 5 debugging info.
3475 * mips.c (function_prologue): Only emit line number when SDB_DEBUG.
3477 * configure: Delete new argument, --noguess. Default build from
3478 host if host specified, otherwise guess build. Fix typo in
3479 setting build from host.
3481 Mon Oct 17 15:54:56 1994 Per Bothner <bothner@kalessin.cygnus.com>
3483 * calls.c (expand_call, emit_library_call, emit_library_call_value):
3484 Allways adjust current_function_outgoing_args_size, even #ifndef
3485 ACCUMULATE_OUTGOING_ARGS. (Useful for stack overflow checking.)
3486 * function.c (current_function_outgoing_args_size): Update comment.
3488 Mon Oct 17 18:49:01 1994 Paul Eggert <eggert@twinsun.com>
3490 * cccp.c (rescan): Preserve newlines after macro names at the top level
3491 since this is more likely to do the right thing with line numbers.
3493 Mon Oct 17 11:31:42 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
3495 * reload1.c (gen_reload): Renamed from gen_input_reload.
3496 (emit_reload_insns): Delete SECONDARY_MEM_NEEDED case for input
3497 reloads that can't happen and doesn't work.
3498 Fix errors in use of reload_outxx insns.
3499 Simplify output reload code by using gen_reload.
3500 * reload.h (gen_reload): Renamed from gen_input_reload.
3502 Mon Oct 17 09:26:57 1994 Richard Earnshaw (rwe@pegasus.esprit.ec.org)
3504 * unroll.c (copy_loop_body, case JUMP_INSN): Don't abort if invert_exp
3505 fails. Instead, redirect the jump around an unconditional branch.
3507 Sun Oct 16 05:02:23 1994 Richard Earnshaw (rwe@pegasus.esprit.ec.org)
3509 * emit-rtl.c (add_insn_{before,after}): Don't abort because AFTER was
3510 deleted when not optimizing.
3512 Fri Oct 14 19:26:28 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3514 * pa.c (emit_move_sequence): Handle secondary reload when loading
3515 a constant into SAR.
3517 Fri Oct 14 10:29:31 1994 Richard Earnshaw (rwe@pegasus.esprit.ec.org)
3519 * fixincludes: Fix X11/Intrinsic.h for RISCiX to remove ___type from
3521 Add all files that receive special attention to REQUIRED, so that
3522 dependent copies are done if necessary.
3524 * getpwd.c: Always use getwd if HAVE_GETWD is defined.
3525 * arm/xm-arm.h: Define HAVE_GETWD.
3527 * arm/x-riscix, arm/t-riscix: New files
3528 * configure (arm-*-riscix*): Use them.
3530 Thu Oct 13 17:12:27 1994 Jim Wilson (wilson@mole.gnu.ai.mit.edu)
3532 * i960.md (call, call_internal, call_value, call_value_internal):
3533 Use memory_operand not general_operand.
3535 * optabs.c (expand_fix): Correct typo with FIX/UNSIGNED_FIX
3538 Thu Oct 13 10:44:32 1994 Ian Lance Taylor (ian@cygnus.com)
3540 * genattrtab.c (optimize_attrs): Don't do anything if
3541 num_insn_ents is zero.
3543 Wed Oct 12 19:06:48 1994 Jim Wilson (wilson@mole.gnu.ai.mit.edu)
3545 * mips/mips.c (mips_expand_prologue): Handle types that need
3546 constructing. Rename TYPE to PASSED_TYPE and use consistently.
3548 Wed Oct 12 11:32:05 1994 Ian Lance Taylor (ian@cygnus.com)
3550 * genattrtab.c (num_insn_ents): New static variable.
3551 (remove_insn_ent): Decrement num_insn_ents.
3552 (insert_insn_ent): Increment num_insn_ents.
3553 (optimize_attrs): Use xmalloc to allocate all the attr_value_list
3554 structures at once, rather than using alloca for each one.
3556 Wed Oct 12 09:17:34 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
3558 * optabs.c (??hf2_libfunc): Define like ??sf2_libfunc.
3559 (emit_float_lib_cmp): Call HFmode library functions.
3560 (init_optabs): Set names for HFmode comparison functions.
3561 * expr.h (??hf2_libfunc): Add declarations, like ??sf2_libfunc.
3563 Tue Oct 11 19:20:48 1994 Douglas Rupp (drupp@cs.washington.edu)
3565 * winnt/ld.c (main): Pass -debug:full -debugtype:coff.
3566 * winnt/t-winnt: Rework rules for ld.
3567 * i386/config-nt.bat: Renamed from config/i386/config-winnt.bat.
3568 Make specific for x86, not all winnt; change filenames.
3569 * i386/config-nt.sed: Remove -g from CFLAGS.
3570 Reflect changes to t-winnt and other minor changes.
3571 * i386/x-winnt: Renamed from winnt/x-winnt.
3572 * i386/config-nt.sed: Renamed from config/winnt/top.sed.
3574 Tue Oct 11 18:40:41 1994 Peter Schauer (Peter.Schauer@regent.e-technik.tu-muenchen.de)
3576 * rs6000.h (ASM_DECLARE_FUNCTION_NAME): Always put out .lglobl
3577 for static functions.
3579 Mon Oct 10 19:19:51 1994 Alex T. Ramos (ramos@engr.latech.edu)
3581 * expr.c (convert_move): Add TImode conversions.
3583 Mon Oct 10 18:46:44 1994 Alex Dreyzen (alex@alex.jf.intel.com)
3585 * optabs.c (expand_float): Copy TEMP to TARGET when
3586 making recursive call and adjusting.
3588 Mon Oct 10 07:10:25 1994 Michael Meissner (meissner@osf.org)
3590 * i386/linux.h (DEFAULT_PCC_STRUCT_RETURN): Do not define as 0 if
3591 LINUX_ELF is defined.
3592 (perform.h): Include perform.h to define asm statements to use for
3595 * i386/linuxelf.h (DEFAULT_PCC_STRUCT_RETURN): Define as 1.
3596 (RETURN_IN_MEMORY): Don't define.
3598 Sun Oct 9 11:49:20 1994 Michael Meissner (meissner@osf.org)
3600 * i386/i386.md (movsf_mem): Add & constraint, so that the scratch
3601 register does not clobber the destination address.
3603 Sun Oct 9 12:40:43 1994 Richard Earnshaw (rwe@pegasus.esprit.ec.org)
3605 * arm.md (reload_outdf): Don't call gen_addsi3 if the address is just
3608 Sat Oct 8 11:16:50 1994 Doug Evans (dje@cygnus.com)
3610 * objc/archive.c (__objc_free): New function.
3611 (__objc_finish_read_root_object): Use it.
3613 Fri Oct 7 19:23:03 1994 J.T. Conklin (jtc@cygnus.com)
3615 * ginclude/stddef.h: Netware uses _SIZE_T_DEFINED_, _WCHAR_T_DEFINED_.
3617 Fri Oct 7 12:45:43 1994 Michael Meissner (meissner@osf.org)
3619 * i386/i386.c (legitimate_address_p): Disable SUBREGs as either
3620 the index or base register.
3622 Fri Oct 7 08:24:44 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
3624 * i386/gnu.h (CPP_PREDEFINES): Define __HURD__.
3626 * collect2.c (my_strerror): If HAVE_STRERROR defined, call strerror.
3627 * xm-gnu.h (HAVE_STRERROR): Define.
3629 * function.c (preserve_temp_slots): If X cannot be a temp
3630 slot, preserve all things whose address was taken at the
3633 * function.c (assign_stack_temp): Abort if SIZE == -1.
3635 * expr.c (safe_from_p): If EXP has a variable size, assume safe.
3636 (preexpand_calls): Don't preexpand a call that returns a variable-
3639 * emit-rtl.c (add_insn_{after,before}): Fix error in last change.
3641 Thu Oct 6 09:18:28 1994 Kresten Krab Thorup (krab@next.com)
3643 Adam Fedor (fedor@hopper.colorado.edu)
3644 * objc/archive.c (__objc_finish_read_root_object): Delay freeing
3647 Andrew McCallum (mccallum@cs.rochester.edu)
3648 * objc/objc.h (BOOL): Changed from char to unsigned char.
3650 Thu Oct 6 08:17:04 1994 Stan Cox (coxs@dg-rtp.dg.com)
3652 * m88k/m88k.c (emit_move_sequence): If operand1 is an invalid PIC
3653 address, then legitimize it before doing anything else.
3655 Thu Oct 6 06:54:03 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
3657 * cse.c (cse_insn): Don't call force_const_mem on (const (truncate)).
3659 * expr.c (store_expr): Don't clobber TEMP with address.
3661 * reorg.c (try_merge_delay_insns): Update THREAD if it is split.
3663 * function.c (struct temp_slot): New field addr_taken.
3664 (assign_stack_temp): Initialize it.
3665 (mark_temp_addr_taken): New function.
3666 (preserve_temp_slots): Decrement level of things at same level
3667 but whose address has been taken.
3668 * expr.c (expand_expr, case ADDR_EXPR): Call mark_temp_addr_taken.
3670 Wed Oct 5 14:17:39 1994 Jason Merrill (jason@phydeaux.cygnus.com)
3672 * fold-const.c (fold, COMPONENT_REF): Don't die if the CONSTRUCTOR
3673 doesn't initialize the field we want.
3675 Wed Oct 5 11:38:48 1994 Michael Meissner (meissner@osf.org)
3677 * i386/i386.c (legitimize_pic_address): Changes to support
3678 LABEL_REF references when using -fpic.
3679 (output_pic_addr_const): Ditto.
3680 (print_operand_address): Ditto.
3682 * i386/i386.md (movsi insn): Changes to support LABEL_REF
3683 references when using -fpic.
3684 (movsi_lea): Name insn supporting lea instruction so it shows up
3685 more clearly when doing -dp.
3687 Wed Oct 5 06:56:36 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
3689 * reorg.c (try_merge_delay_insns): Update THREAD if deleting first
3692 Wed Oct 5 01:19:14 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3694 * configure (i[345]86-*-gnu*): Set xm_file=i386/xm-gnu.h.
3695 * config/i386/xm-gnu.h: New file.
3696 * config/xm-gnu.h: New file.
3697 * config/i386/gnu.h: Move #include <fcntl.h> out of here, into
3700 Tue Oct 4 23:19:28 1994 Michael Meissner <meissner@pasta.osf.org>
3702 * protoize.c (POSIX includes): If POSIX is defined, include
3703 sys/wait.h to get WIFSIGNALED, WTERMSIG, WIFEXITED, and
3706 Tue Oct 4 21:48:02 1994 Michael I Bushnell <mib@churchy.gnu.ai.mit.edu>
3708 * config/i386/gnu.h: Include <fcntl.h> to get O_RDONLY definition.
3709 * gcc.c (O_RDONLY): Define macro iff not already defined.
3710 (read_specs): Second arg to open should be O_RDONLY, not constant 0.
3712 Tue Oct 4 19:06:38 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
3714 * expr.c (do_jump_for_compare): Properly scan insns when
3715 branch is at start of sequence.
3717 Tue Oct 4 16:53:54 1994 Ian Lance Taylor (ian@cygnus.com)
3719 * gcc.c, collect2.c, protoize.c (WIFSIGNALED): Define if not
3721 (WTERMSIG, WIFEXITED, WEXITSTATUS): Likewise.
3722 * gcc.c (execute): Use them.
3723 * collect2.c (do_wait): Likewise.
3724 * protoize.c (gen_aux_info_file): Likewise.
3726 Tue Oct 4 16:38:06 1994 Michael Meissner <meissner@pasta.osf.org>
3728 * i386/i386.h (RETURN_IN_MEMORY): Define so that large types such
3729 as complex double values get returned like structures do, and
3730 don't overwrite %ebx.
3732 Tue Oct 4 15:58:21 1994 Jim Wilson (wilson@mole.gnu.ai.mit.edu)
3734 * lynx-ng.h, lynx.h (PREFERRED_DEBUGGING_INFO): Add undef before
3737 Tue Oct 4 05:12:02 1994 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3739 * config.sub: Translate -gnu/linux* to -linux*.
3741 Mon Oct 3 11:43:45 1994 Ian Lance Taylor (ian@cygnus.com)
3743 * config.sub: Add support for MIPS variants: mips64, mipsel,
3744 mips64el, mips64orion, mips64orionel, mips3*.
3746 Sun Oct 2 18:26:34 1994 Jason Merrill (jason@phydeaux.cygnus.com)
3748 * function.c (push_function_context_to): Renamed from
3749 push_function_context, adds argument to indicate that the new
3750 function is not a nested function.
3751 (push_function_context): Call it.
3752 (pop_function_context{,_from}): Similarly.
3754 * tree.c (save_tree_status): Add argument to indicate that the new
3755 function is not a nested function.
3756 (restore_tree_status): Ditto.
3758 Sun Oct 2 18:05:37 1994 Doug Evans (dje@cygnus.com)
3760 * configure (i[34]86-*): Change to i[345]86-*.
3761 (target_cpu_default): Treat i586 as an i486 (for now).
3763 Sun Oct 2 10:25:51 1994 Richard Earnshaw (rwe@pegasus.esprit.ec.org)
3765 * arm.md (movsf): If reloading, create a scratch from the target for
3766 loading a constant into integer regs.
3769 Support for variants that fault on unaligned addrs:
3770 * arm.h (TARGET_SHORT_BY_BYTES): New macro.
3771 (TARGET_SWITCHES): Recognize switches -m[no-]short-load-bytes.
3772 (TARGET_DEFAULT): Only define if not already done so.
3773 (PROMOTE_MODE): Promote HImode unsigned if TARGET_SHORT_BY_BYTES.
3774 (SECONDARY_INPUT_RELOAD_CLASS): Need a scratch for reloading HImode if
3775 TARGET_SHORT_BY_BYTES.
3776 * arm.c (arm_reload_in_hi): New function.
3777 * arm.md (zero_extendhisi2, extendhisi2): Expand to suitable byte
3778 sequence when TARGET_SHORT_BYTES and loading a mem.
3779 (movhi_bytes, extendhisi2_mem): New expands.
3780 (movhi): Call movhi_bytes to load a short from memory if
3781 TARGET_SHORT_BY_BYTES.
3782 (all matchers loading a short from memory): Don't match if
3783 TARGET_SHORT_BY_BYTES.
3784 (matcher for movhi when TARGET_SHORT_BY_BYTES): New pattern to cover
3785 remaining valid cases.
3787 Sun Oct 2 08:54:30 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
3789 * reg-stack.c (subst_stack_regs): Check for NOTE to see if insn was
3792 * reorg.c (fill_slots_from_thread): Update THREAD if deleting
3795 * reg-stack.c (delete_insn_for_stacker): Don't set INSN_DELETED_P
3796 on NOTE_INSN_DELETED.
3798 Sat Oct 1 20:42:33 1994 Chip Salzenberg <chip@fin.uucp>
3800 * sco4.h (CPP_PREDEFINES): Remove i386, unix.
3801 (CPP_SPEC): Add them here, so that they're undefined if -ansi.
3802 Also add _i386 and _unix, which are always defined.
3803 * x-sco (CLIB): Add "-lmalloc".
3804 (ALLOCA): Define as "-lPW".
3805 * x-sco4 (CC, OLDCC, RCCFLAGS, CCLIBFLAGS, CLIB, ALLOCA): From x-sco.
3808 Sat Oct 1 14:27:45 1994 Michael Meissner (meissner@osf.org)
3810 * i386/i386.md (movsf_push386): Rename to movsf_push_nomove.
3811 (movdf_normal): Prefer to use float registers rather than general
3814 Sat Oct 1 07:01:10 1994 Richard Earnshaw (rwe@pegasus.esprit.ec.org)
3816 * c-decl.c (shadow_label): Emit an error if the label is already
3817 declared at this label scope.
3819 Sat Oct 1 06:44:58 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
3821 * emit-rtl.c (add_insn_{before,after}): Abort if insertion point is
3823 * jump.c (jump_optimize): When deleting a jump, properly set NEXT.
3824 (duplicate_loop_exit_test): Don't insert NOTE_INSN_LOOP_VTOP
3825 before deleted insn; insert first, then delete.
3827 * gcc.c: Install omitted hunk from last diff.
3829 Fri Sep 30 18:26:11 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
3831 * emit-rtl.c (add_insn_after): Abort if can't find AFTER and it
3833 (add_insn_before): New function.
3834 (emit_{insn,insns,jump_insn,call_insn,barrier,note}_before): Call it.
3836 Fri Sep 30 17:33:41 1994 Douglas Rupp (drupp@cs.washington.edu)
3838 * config.sub (windowsnt): Alias for winnt.
3839 (winnt): New OS name.
3840 * configure (extra_programs): New, like extra_parts.
3841 (i[34]86-*-winnt3.1): New configuration.
3842 * genattr.c (atoi): Remove declaration.
3843 * getpwd.c: #ifdef WINNT, include direct.h.
3844 * sdbout.c: Don't include syms.h for winnt.
3845 * toplev.c: Don't include times.h for winnt.
3846 (get_run_time): Just return zero for winnt.
3847 (main): Don't print memory usage for OS/2 or winnt.
3848 * cccp.c (main): Use DIR_SEPARATOR if defined.
3849 Use "Include" environment variable instead of CPATH for winnt.
3850 * gcc.c: Don't include sys/file.h for winnt; use process.h instead.
3851 (concat): Now just concats two things; all callers changed.
3852 (concat[346]): New functions.
3853 (dir_separator_str): New variable.
3854 (exec_prefixes, startfile_prefixes, include_prefixes): Renamed
3855 from same names without plural; all users changed.
3856 (find_a_file, process_command, do_spec_1): Use DIR_SEPARATOR.
3857 (find_file, is_directory, main): Likewise.
3858 (lookup_compiler): If OS/2, do case-independent search.
3859 (fix_argv): New function on winnt.
3860 (FIX_ARGV): New macro for some systems; use instead of argv.
3861 * i386/unix.h: Treat ALMOST_STDC like __STDC__.
3863 * i386.c (output_387_binary_op): Use AS2C instead of AS2 with
3865 * config/winnt/config-nt.bat, config/winnt/ld.c: New files.
3866 * config/winnt/{[tx]-winnt, config/winnt/top.sed: New files.
3867 * config/winnt/winnt.h, config/winnt/xm-winnt: New files.
3868 * i386/winnt.h, i386/xm-winnt.h: New files.
3870 Thu Sep 29 19:53:14 1994 Jim Wilson (wilson@cygnus.com)
3872 * sparc.md (movdf+3): Handle overlapping registers in define_split.
3874 * gcc.c (default_compilers): Add %Z to all cpp specs.
3875 (n_preprocessor_options, preprocessor_options): New variables.
3876 (process_command): Handle -Wp option.
3877 (do_spec_1): Handle %Z spec.
3879 * i960/i960-coff.h: New file.
3880 * t-960bare: New file.
3881 * config.sub (os): Accept coff as an OS.
3882 * configure (i960-*-coff): New configuration.
3884 * expr.c (result_vector): Use INCOMING_REGNO when !savep instead
3886 * sparc.md (call): Use struct value pattern is struct size is not
3887 equal to zero instead of greater than zero.
3888 (call+7, call+8): New patterns for untyped calls.
3889 (untyped_call): Revise to emit explicit rtl for all operation.
3890 Delete four old patterns that matched the unexpanded untyped_call
3892 (blockage): New pattern.
3893 (flush_register_windows): Modify from 0 to 1.
3894 (goto_handler_and_restore): Modify from 1 to 2.
3895 (flush): Modify from 2 to 3.
3896 * sparc.c (sparc_initialize_trampoline): FLUSH is now 3 not 2.
3898 * calls.c (emit_library_call): For FUNCTION_ARG_PASS_BY_REFERENCE,
3899 pass address through force_operand before using it.
3901 * i960.c (i960_setup_incoming_varargs): Store parameter registers
3902 at proper offset in argument block.
3904 Thu Sep 29 16:39:32 1994 Mike Stump <mrs@cygnus.com>
3906 * stmt.c (expand_return): We have to be careful of cleanups that can
3907 be generated when expanding the return value, as they might otherwise
3908 wipe out the return value.
3910 Thu Sep 29 13:35:24 1994 Mike Stump <mrs@cygnus.com>
3912 * expr.c (do_jump): Handle cleanups in TRUTH_ANDIF_EXPR and
3915 Thu Sep 29 13:23:56 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
3917 * gcc.c (struct option_map): Sort in alphabetical order.
3918 (translate_options): Ignore option once an error occurs.
3919 Fix error with reversed 'a' and 'o'.
3920 Give error if specified abbreviation is unambiguous.
3922 * c-typeck.c (convert_for_assignment): When converting object
3923 to union, allow converting the constant zero into a pointer
3924 member of the union.
3926 Wed Sep 28 19:33:01 1994 Alex T Ramos (ramos@engr.latech.edu)
3928 * machmode.def (PSImode): Widens to PDImode.
3929 * expr.c (convert_move): Added handling of PDImode conversions.
3931 Wed Sep 28 19:24:17 1994 H.J. Lu (hjl@nynexst.com)
3933 * configure: Don't make objc-runtime if cross-compiling gcc.
3934 * build-make (FIXINCLUDES): Set to Makefile.in.
3936 Wed Sep 28 19:18:19 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
3938 * function.c (trampoline_address): Add missing call to
3941 Wed Sep 28 18:34:13 1994 Michael Meissner (meissner@osf.org)
3943 * config/svr4.h (ESCAPES): Print \v in octal rather than as '\v',
3944 since some older versions of gas didn't accept it.
3946 Wed Sep 28 14:29:20 1994 Ian Lance Taylor (ian@cygnus.com)
3948 * fixincludes: Comment out loop which handles symbolic links to
3949 files. It appears to not work, and to be unnecessary.
3951 Tue Sep 27 19:27:56 1994 Matthias Pfaller (leo@marco.de)
3953 * ns32k.h (ENCODE_SECTION_INFO): Only calls may go through the
3954 PLT. All address loads, even function address loads, have to
3955 go through the GOT or function addresses will not be unique.
3957 Tue Sep 27 19:20:12 1994 Paul Eggert (eggert@twinsun.com)
3959 * cccp.c (newline_fix, name_newline_fix): Don't treat \r
3960 specially here; it only causes bugs. This undoes the
3961 May 14 16:01:13 1990 change to newline_fix and name_newline_fix.
3963 Tue Sep 27 19:02:55 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
3965 * m88k.h (ASM_OUTPUT_SOURCE_LINE): Add missing #undef.
3967 Tue Sep 27 18:32:17 1994 William J. Eaton (wje@hoffman.rstnu.bcm.tmc.edu)
3969 * function.c (optimize_bit_field): Put any insns made by
3970 change_address in front of INSN.
3971 (expand_function_end): Don't pass DECL_INITIAL to setjmp_protect
3972 if it is error_mark_node.
3974 * genoutput.c, reload.c (n_occurrences): Make arg int, not char.
3975 * objc-act.c (warn_with_method): Likewise.
3977 * optabs.c (expand_fix): Call emit_library_call_value.
3979 Tue Sep 27 12:39:10 1994 Mike Stump (mrs@cygnus.com)
3981 * Makefile.in, libgcc2.c (L_eh): some support routines for C++.
3983 Mon Sep 26 06:45:20 1994 Michael Meissner (meissner@osf.org)
3985 * 386/i386.md (adddi3, subdi3): Rewrite to add a clobber of a
3986 scratch variable, so that memory/memoroy adds and subtracts can be
3987 done using just one scratch register. Also, don't require op1 to
3990 Fri Sep 23 19:03:09 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3992 * config/i386/gnu.h (LIB_SPEC): Remove macro.
3994 Fri Sep 23 16:11:26 1994 Michael Meissner (meissner@osf.org)
3996 * i386/lynx-ng.h (CALL_USED_REGISTERS): Copy definition from
3997 i386/lynx.h that makes ebx be a call clobbered register, since
3998 some system calls evidently trash it.
4000 Fri Sep 23 15:54:53 1994 Jim Wilson (wilson@cygnus.com)
4002 * configure (mips-*riscos*): Changed to mips-*-riscos*.
4003 (mips-*-riscos*-*): Deleted.
4005 * cse.c (invalidate): New parameter FULL_MODE. All callers
4007 (set_nonvarying_address_components): Modify initial comment.
4008 (cse_insn): When call invalidate for dest, use the actual dest not
4011 Thu Sep 22 18:56:19 1994 Torbjorn Granlund (tege@cygnus.com)
4013 * expmed.c (expand_divmod): Special case for signed CEIL_DIV_EXPR
4014 when divisor is power of 2.
4016 Thu Sep 22 12:28:53 1994 Jason Merrill (jason@deneb.cygnus.com)
4018 * fixinc.svr4: Fix size_t, ptrdiff_t and wchar_t like fixincludes
4019 does. Use extern inline rather than static inline in byteorder.h.
4021 Thu Sep 22 12:22:03 1994 Steve Dum (steve_dum@mentorg.com)
4023 * collect2.c (main): Discard the first executable once we've
4026 Thu Sep 22 11:38:34 1994 Ian Lance Taylor (ian@cygnus.com)
4028 * fixincludes: Tweaks for LynxOS 2.2.2: accept spaces after # when
4029 removing #define void int in curses.h; change prototype of fnctl
4030 in fcntl.h to match POSIX.1.
4032 Thu Sep 22 07:18:37 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
4034 * configure: Consistently put specified manufacturer names ahead
4035 of entries with wildcard manufacturers.
4037 * calls.c (emit_call_1): Fix typo in last change.
4039 Wed Sep 21 21:32:56 1994 Chris Smith (csmith@convex.com)
4041 * config.guess: Add convex c3* and c4* guesses.
4042 * configure: Don't run fixincludes on convex.
4044 Wed Sep 21 15:59:12 1994 Ashley Saulsbury (ans@sics.se)
4046 * alpha.h (ASM_FILE_START): Write .set volatile.
4048 Wed Sep 21 14:45:45 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
4050 * calls.c (emit_call_1): Properly add a CLOBBER for sp
4051 to CALL_INSN_FUNCTION_USAGE.
4053 * c-typeck.c (mark_addressable): Give different error if trying
4054 to put object with volatile fields into register; don't use DECL_NAME.
4056 Wed Sep 21 14:02:10 1994 Jim Wilson (wilson@cygnus.com)
4058 * reload1.c (eliminate_regs): Make test in LOAD_EXTEND_OP case
4061 Wed Sep 21 11:34:12 1994 Ian Lance Taylor (ian@cygnus.com)
4063 * fixincludes: Don't try to remove empty directories until after
4064 removing DONE files.
4066 Wed Sep 21 05:52:49 1994 Uwe Seimet (seimet@chemie.uni-kl.de)
4068 * m68k/atari.h (NO_{DOLLAR,DOT}_IN_LABEL): Define.
4070 Tue Sep 20 20:06:08 1994 Doug Evans (dje@cygnus.com)
4072 * final.c (asm_insn_count): Handle ASM_INPUTs too.
4074 Tue Sep 20 19:32:10 1994 Oliver Kellogg (okellogg@salyko.cube.net)
4076 * 1750a.h, 1750a.c, 1750a.md: New files, to use as1750.
4077 * 1750a/m1750.inc: File deleted.
4078 * 1750a/ms1750.inc: New file.
4080 Tue Sep 20 17:55:50 1994 Hallvard B Furuseth (hbf@durin.uio.no)
4082 * cccp.c (make_definition): Enable `-D' with macro arguments.
4084 Tue Sep 20 17:49:47 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
4086 * cexp.y (HOST_WIDE_INT, HOST_BITS_PER_WIDE_INT): New macros.
4087 (expression_value): Now HOST_WIDE_INT.
4088 (parse_c_expression): Now returns HOST_WIDE_INT.
4089 * cccp.c (eval_if_expression): Likewise.
4090 (do_if, do_elif): Reflect new return value of functions.
4092 * alpha.c (mode_mask_operand): Always return a value.
4094 * function.c (pop_function_context): Clear reg_renumber.
4096 * gcc.c (process_command): Add new switch, -dumpmachine.
4098 Tue Sep 20 15:57:40 1994 Jim Wilson (wilson@cygnus.com)
4100 * sched.c (sched_analyze_insn): Parameter loop_note type changed
4101 to rtx, and name changed to loop_notes. Code adding it to
4102 REG_NOTES modified to account for type change.
4103 (sched_analyze): Variable loop_note type changed to rtx, and name
4104 changed to loop_notes. Store LOOP_* REG_DEAD notes in it instead
4105 of LOOP_* NOTE_LINE_NUMBER.
4106 (schedule_block): Pass last not insn to emit_note_before call.
4108 * iris5.h (ASM_OUTPUT_UNDEF_FUNCTION): Define.
4109 (ASM_OUTPUT_EXTERNAL_LIBCALL): Define.
4110 (ASM_DECLARE_FUNCTION_SIZE): Define.
4111 * mips.c (mips_output_external): Use ASM_OUTPUT_UNDEF_FUNCTION.
4112 (mips_output_external_libcall): New function.
4113 (mips_asm_file_end): Handle ASM_OUTPUT_UNDEF_FUNCTION.
4114 * README.IRIX5: Update.
4116 Tue Sep 20 14:39:37 1994 Michael Meissner (meissner@osf.org)
4118 * i386/i386.h (output_move_memory): Add declaration.
4119 (output_move_pushmem): Ditto.
4121 * i386/i386.c (output_move_pushmem): New function to handle
4122 pushing bytes from memory onto the stack, possibily using
4123 temporary registers.
4124 (output_move_memory): New function to handle moving bytes from
4125 memory to memory via temporary registers.
4127 * i386/i386.md (movsi insn): If -fpic and the value we are moving
4128 is a constant pool address, emit a leal instruction instead of
4130 (movsf_push): Allow pushes from memory.
4131 (SF, DF, XF, DI pushes): Move most of the code to the common
4132 function output_move_pushmem.
4133 (SF, DF, XF, DI memory->memory moves): Move most of the code to
4134 the common function output_move_memory.
4135 (DI move patterns): Combine DI patterns into two, one for pushes,
4136 and one for everything else, so that the combiner will combine a
4137 load with a store into a memory->memory move.
4138 (untyped_call): Replace non-working code with m68k version that
4139 emits a regular call, then breaks the parallel moves into separate
4140 moves, and then issue a blockage instruction.
4141 (blockage): New unspec_volatile insn to block insns from being
4142 moved across this point.
4143 (untyped_return): Delete.
4144 (update_return): Delete.
4146 * objc/sendmsg.c (get_imp): Allow __inline__ on x86 platforms.
4148 Tue Sep 20 12:21:12 1994 Ian Lance Taylor (ian@cygnus.com)
4150 * fixincludes: Handle the case of a symlink to root/* from a
4151 subdirectory of another symlink to root/*.
4153 Mon Sep 19 20:30:21 1994 Jason Merrill (jason@deneb.cygnus.com)
4155 * fold-const.c (fold): Handle COMPONENT_REFs involving CONSTRUCTORs.
4157 Mon Sep 19 20:25:38 1994 Will Athanasiou (will@westford.ccur.com)
4159 * rs6000.md (load sf with update): Fix RTL typo.
4161 Mon Sep 19 08:46:46 1994 Charles M. Hannum (mycroft@duality.gnu.ai.mit.edu)
4163 * c-common.c (check_format_info): Enable checking of format
4164 specifiers using the `q' (quad) length modifier.
4165 (format_char_info): Add `qlen'.
4166 (print_char_table, scan_char_table): Add appropriate entries for
4169 Sat Sep 17 12:48:57 1994 Per Bothner (bothner@kalessin.cygnus.com)
4171 * stmt.c (mark_seen_cases): Don't call fatal (or do anything
4172 else) if case index out of range. Warning is given later.
4174 Fri Sep 16 19:22:46 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
4176 * global.c (global_alloc): Mark regs assigned to SCRATCH as used by
4177 more than just local alloc.
4179 Thu Sep 15 14:36:59 1994 Michael Meissner <meissner@pasta.osf.org>
4181 * i386/i386.c (order_regs_for_local_alloc): Instead of using
4182 flag_cse_follow_jumps and not leaf_function_p to determine whether
4183 to allocate EDX, and ECX before EAX, use whether or not a DImode
4184 variable was used in the compilation. DImode variables seem to
4185 cause spill failures if EAX is allocated first, while smaller code
4186 is generated if EAX is allocated first, assuming no spill failure.
4188 * i386/i386.md (SF, DF, XF, and DI moves and pushes): Eliminate
4189 special patterns for TARGET_386 that allow direct pushes from
4190 memory, and instead allow direct pushes from memory as the last
4191 alternative in case no scratch registers could be allocated.
4192 (movxf_mem): Remove inadvertent !TARGET_386 condition.
4193 (addsi3): Allow generation of lea on 486, since the single
4194 instruction lea is at least as fast as the mov and add it
4196 (zero extend patterns): Replace !TARGET_486 with TARGET_386.
4197 (bit extracts): Ditto.
4199 * i386/osfrose.h (LONG_DOUBLE_TYPE_SIZE): Don't redefine to be 64
4200 unless NO_LONG_DOUBLE is defined.
4202 Thu Sep 15 13:46:05 1994 Jim Wilson (wilson@cygnus.com)
4204 * expmed.c (store_split_bit_field): Use number of bits in arg not
4205 BITS_PER_WORD to adjust arg in BYTES_BIG_ENDIAN case.
4207 Thu Sep 15 09:19:12 1994 Richard Earnshaw (rwe@pegasus.esprit.ec.org)
4209 * optabs.c (expand_binop, multi-word shifts): Generate rtl
4210 free of conflicts for shifts less than one word.
4212 Thu Sep 15 05:29:58 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
4214 * gcc.c: Rework last change so it's done like collect2.c.
4216 * cse.c (cse_around_loop): Don't invalidate SUBREG unless
4217 it's a SUBREG of a REG.
4219 * sched.c (sched_analyze_insn): Don't set SCHED_GROUP_P for previous
4220 INSN a USE unless it's a USE of a REG.
4222 Wed Sep 14 10:08:58 1994 Michael I Bushnell <mib@churchy.gnu.ai.mit.edu>
4224 * gcc.c: Include <sys/errno.h> in case `errno' is really a macro
4225 as permitted by ANSI C.
4227 * getpwd.c (GUESSPATHLEN): If there is no definition of
4228 MAXPATHLEN, then set GUESSPATHLEN to be 100. (It's used
4229 as a starting point, not a limit, so this is harmless.)
4231 Tue Sep 13 15:02:19 1994 Michael Meissner <meissner@pasta.osf.org>
4233 * i386/i386.md (movxf_mem): Fix typo with memory/memory moves
4234 of XFmode variables, where the store actually did a load, ie, the
4235 source and destination operands were fixed.
4236 (fixuns_trunc patterns): Revert to the old code.
4237 (movdf_push486, movxf_push486, movdi_push486): If an address is
4238 based on the stack pointer, account for the stack pointer changing
4239 due to the intermediate pushes generated.
4241 Tue Sep 13 14:11:16 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
4243 * collect2.c (fatal_perror, fatal, error): Declare all args as char *.
4245 Tue Sep 13 12:40:39 1994 Jeffrey A. Law (snake.cs.utah.edu)
4247 * pa.c (emit_move_sequence): Handle secondary FP load/store
4248 reloads of the form (subreg (mem (plus (reg) (disp)))).
4249 (secondary_reload_class): A secondary register is needed to handle
4250 out-of-range FP loads and stores.
4251 * pa.md (reload_indf, reload_outdf): New expanders.
4252 (reload_insf, reload_outsf): Likewise.
4254 Mon Sep 12 18:15:48 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
4256 * t-pa (ADA_CFLAGS): New override.
4257 * pa/t-pa-hpux: New file.
4258 * configure (hppa*-*-hpux*): Use t-pa-hpux instead of t-libc-ok.
4260 Mon Sep 12 14:52:17 1994 Jim Wilson (wilson@cygnus.com)
4262 * function.c (assign_parms): Set RTX_UNCHANGING_P on stack_parm
4263 for const parameter before calling move_block_from_reg.
4265 Mon Sep 12 14:27:58 1994 Doug Evans (dje@cygnus.com)
4267 * config/fp-bit.c (FLO_union_type): Add packed attribute to `bits'.
4269 Sat Sep 10 09:50:41 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
4271 * cse.c (invalidate_for_call): Properly set IN_TABLE.
4273 Sat Sep 10 06:46:24 1994 Bill Burton (billb@progress.com)
4275 * Added improved support for Sequent DYNIX/ptx 1.x and 2.x:
4276 * fixinc.ptx: New file.
4277 * i386/seq-sysv3.h (HAVE_ATEXIT): No longer defined.
4278 * i386/seq2-sysv3.h: New file.
4279 * configure (i[34]86-sequent-ptx[12]*): New configurations.
4280 (i[34]86-sequent-sysv*, i[34]84-sequent-ptx): Deleted configurations.
4281 * config.sub (ptx): New OS; use for Sequent.
4283 Fri Sep 9 21:48:48 1994 Paul Eggert (eggert@twinsun.com)
4285 * cccp.c (rescan, handle_directive): Backslash no longer suppresses the
4286 specialness of the following char unless -traditional.
4287 (rescan): Remove backslash-newline only if at top level, since
4288 backslash-newline-space can be encountered during macro processing.
4289 (collect_expansion): Remove special hack for \# inside a #define;
4290 it's not compatible with the C Standard.
4292 Thu Sep 9 17:36:03 1994 Jason Merrill (jason@deneb.cygnus.com)
4294 * Utilize OSF/1's limited .init support.
4295 * alpha/alpha.h (HAS_INIT_SECTION): Define.
4296 (LINK_SPEC): Add '-init __main'.
4297 * alpha/osf12.h (LINK_SPEC): Ditto.
4299 * function.c (expand_main_function): Don't call __main if
4300 HAS_INIT_SECTION is defined.
4302 Fri Sep 9 16:36:46 1994 Mike Stump (mrs@cygnus.com)
4304 * tree.c (decl_function_context): Don't treat C++ member
4305 functions of classes declared in a function, as nested functions.
4307 Fri Sep 9 16:10:25 1994 Steve Chamberlain (sac@jonny.cygnus.com)
4309 * sh/sh.c (prepare_move_operands): Generate better DI constant
4311 (fake_shift): New function.
4312 * sh/sh.md (ashlsi3_n, lshrsi3_n): Only recognise if fake_shift
4314 * sh/{lib1funcs.asm, ashlsi3.c, lshrsi3.c, ashrsi3.c} : New files.
4315 * sh/t-sh : Build new files.
4317 Fri Sep 9 15:52:54 1994 Hallvard B Furuseth (h.b.furuseth@usit.uio.no)
4319 * cccp.c: Correct unprototyped pointer args from `0' to `NULL_PTR'
4321 Fri Sep 9 15:17:52 1994 Matthew Green (mrg@splode.mame.mu.oz.au)
4323 * configure (sparc-*-netbsd): New configuration.
4324 * sparc/netbsd.h: New file.
4326 Fri Sep 9 15:15:48 1994 Jim Wilson (wilson@cygnus.com)
4328 * mips.md (truncdisi2): Change from define_expand to define_insn.
4329 (truncdihi2, truncdiqi2): Likewise.
4331 * sparc.h (SQRTTF2_LIBCALL): Delete.
4332 (INIT_TARGET_OPTABS): Define.
4333 (INIT_SUBTARGET_OPTABS): Define.
4335 * stmt.c (check_for_full_enumeration_handling): Cast malloc result
4336 to `unsigned char *' not `char *'.
4338 * dbxout.c (dbxout_symbol_location): Handle error_mark_node in
4339 DECL_INITIAL for C++.
4341 * mips.md (memory): Add missing !r4600 to first define_function_unit.
4343 * sparc.md (negsi2): Use register_operand not general_operand for
4346 Fri Sep 9 14:52:58 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
4348 * config/netbsd.h: Add #undef for everything we define; a few were
4351 * reload.c (find_reloads, case 'p'): Operand is BASE_REG_CLASS.
4353 Fri Sep 9 14:00:28 1994 Mike Collison (collison@world.std.com)
4355 * configure (dsp16xx-*): New configuration.
4356 * config.sub (dsp16xx): New basic machine.
4357 * dsp16xx.c, dsp16xx.md, dsp16xx.h, xm-dsp16xx.h: New files.
4359 Fri Sep 9 12:47:00 1994 Michael Meissner (meissner@osf.org)
4361 * i386/i386.md (All SF, DF, XF, DI 486 push patterns): Merge the
4362 memory and nonmemory push patterns together.
4364 Fri Sep 9 00:53:36 1994 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4366 * config.sub: Accept i586 like i386.
4367 Do not use SCO as a default for i386-*.
4369 Thu Sep 8 18:49:35 1994 Steve Chamberlain (sac@cygnus.com)
4371 * config/fp-bit.c (_fpmul_parts): Perform optimized
4372 64bit*64bit multiply correctly.
4373 * sh/sh.c (synth_constant): Ensure DI mode constants get their
4375 (add_constant): Entabled constants are only identical if their
4378 Thu Sep 8 14:40:31 1994 Jim Wilson (wilson@cygnus.com)
4380 * flow.c (mark_used_regs, case REG): Correct typo, use GET_MODE
4382 * sched.c (attach_deaths): Likewise.
4384 Tue Sep 6 23:33:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
4386 * tree.c (get_set_constructor_bits, get_set_constructor_words):
4387 New functions. Extract bits or words from SET_TYPE CONSTRUCTOR.
4388 * tree.h: Declare above new functions.
4390 Thu Sep 8 14:02:05 1994 Michael Meissner (meissner@osf.org)
4392 * 386/i386.h (TARGET_OPTIONS): New macro to define -mreg-alloc=
4393 switch to allow users to override the register allocation order.
4394 (OVERRIDE_OPTIONS): Call the function override_options.
4395 (REG_ALLOC_ORDER): Define to allocate in the natural order, this
4396 is needed for ORDER_REGS_FOR_LOCAL_ALLOC to work.
4397 (ORDER_REGS_FOR_LOCAL_ALLOC): Define to call the function
4398 order_regs_for_local_alloc.
4399 (regclass_map): Move declaration to end of file.
4400 (i386_compare_op0, i386_compare_op1): Ditto.
4401 (CLASS_LIKELY_SPILLED_P): Define, return 1 for AD_REGS in addition
4402 to all of the single register classes, since AD_REGS is only used
4403 to allocate EAX:EDX.
4404 (override_options, order_regs_for_local_alloc): Add declarations.
4405 (hi_reg_name): Add declaration.
4406 (qi_reg_name): Ditto.
4407 (qi_high_reg_name): Ditto.
4408 (i386_reg_alloc_order): Add declaration for TARGET_OPTIONS to use.
4410 * i386/i386.c (i386_compare_op0, i386_compare_op1): Initialize
4412 (i386_reg_alloc_order): Provide global variable definition.
4413 (regs_allocated): Static array to note whether a register is noted
4414 via -mreg-alloc=<xxx>.
4415 (override_options): Provide checking for registers declared with
4417 (order_regs_for_local_alloc): If -mreg-alloc=<xxx> was used,
4418 allocate registers mentioned in order, and then allocate all other
4419 registers in the normal register order. If -mreg-alloc=<xxx> was
4420 not used, allocate registers in natural order except for non-leaf
4421 functions with CSE following jumps, allocate EAX after EDX and
4422 ECX, to allow the function return to be CSE'd, and perl 4.036's
4423 perly.y to be compiled without aborting due to not being able to
4424 find a spill register.
4425 (movsf, movdf, movdi): Rewrite all patterns to provide effecient
4426 memory to memory moves, including pushes for i386 and i486. Fixes
4427 problems in compiling motif+ without optimization.
4428 (swapsf): Add, like swapdf and swapxf.
4429 (fixuns_truncsfsi2, fixuns_truncdfsi2): Use general_operand
4430 instead of register_operand for define_expand, since the operand
4431 is copied to a new pseudo register as part of the expansion.
4432 (fix_truncxfdi2, fix_truncdfdi2, fix_truncsfdi2): Rewrite to call
4433 the more primitive generator functions instead of knowing how many
4434 clobbers of match_scratchs they do.
4436 * Makefile.in (aux_output.o): Define TARGET_CPU_DEFAULT if
4437 specified when compiling aux_output.o to allow the machine C file
4438 access to this if it wants it.
4440 Thu Sep 8 07:15:29 1994 David Edelsohn (edelsohn@npac.syr.edu)
4442 * rs6000.md (movsi matcher): Merge TARGET_POWER and !TARGET_POWER
4443 cases. Rationalize mnemonics.
4444 (movhi and movqi matchers): Likewise.
4445 (movsf matcher): Correct length attribute for stfs which no longer
4448 Thu Sep 8 07:06:31 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
4450 * rs6000.h (REGISTER_MOVE_COST): Fix typo in last change.
4452 Wed Sep 7 19:31:52 1994 Paul Eggert (eggert@twinsun.com)
4454 * cccp.c (handle_directive): In `#include <xxx>' directives,
4455 remove backslash-newline properly. Don't allow any other newlines.
4457 Wed Sep 7 18:11:29 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
4459 * rs6000.h (REGISTER_MOVE_COST): Moving between special registers
4462 * combine.c (simplify_comparison): Convert comparison to unsigned
4463 when stripping off a ZERO_EXTEND.
4465 * combine.c (simplify_set): Only convert IF_THEN_ELSE to logical
4466 expression if mode of object being compared is result mode.
4468 Wed Sep 7 18:09:17 1994 David J. MacKenzie (djm@geech.gnu.ai.mit.edu)
4470 * configure: Ignore --help, --version, --program-prefix,
4471 --program-suffix, --cache-file, --quiet, --silent.
4473 Wed Sep 7 13:29:50 1994 Doug Evans (dje@cygnus.com)
4475 * stmt.c (expand_asm_operands): Move test for misspelled registers
4476 higher so all cases caught.
4478 Wed Sep 7 09:54:14 1994 Per Bothner (bothner@kalessin.cygnus.com)
4480 * configure: Touch Makefile.ll before appending subdir stuff.
4481 (Needed if there are no subdirs.)
4483 Wed Sep 7 11:19:18 1994 Kresten Krab Thorup (krab@akvavit.next.com)
4485 * objc/init.c (__objc_init_protocols): Remove assertion.
4486 * objc/Object.m (conformsTo:): Make lookup allways happen in
4489 Tue Sep 6 17:47:39 1994 Per Bothner (bothner@kalessin.cygnus.com)
4491 * configure: Rename *-next-ns[23] to *-next-nextstep[23].
4492 * config.sub: Cleanup NeXT support to emit nextstep*.
4494 Tue Sep 6 18:38:02 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
4496 * reload.c (find_reloads_address): Don't reorder the operands of a
4497 PLUS when fixing up index.
4499 Tue Sep 6 18:24:50 1994 Matthias Pfaller (leo@marco.de)
4501 * ns32k.md (stackadjust/push peepholes): For the adjust/push/push
4502 pattern one offset was wrong.
4503 Don't use addr for register and and MEM refs.
4505 Tue Sep 6 11:24:06 1994 Steve Chamberlain (sac@jonny.cygnus.com)
4507 * sh/sh.c (push, pop): Generate REG_NOTES.
4508 (synth_constant): Correct one of the patterns.
4509 (output_file_start): Bump version number.
4510 * sh/sh.h (EXIT_IGNORE_STACK): Now 1.
4511 * sh/sh.md (adddi3, subdi3): Simplify.
4512 (casesi_worker): Use TARGET_BIGTABLE.
4514 Mon Sep 5 12:29:15 1994 Ian Lance Taylor (ian@cygnus.com)
4516 * ginclude/math-68881.h: Change inline functions from static to
4519 * configure (i[34]86-*-sysv4*): If --with-stabs, set tm_file to
4521 * config/i386/sysv4gdb.h: New file; sets PREFERRED_DEBUGGING_TYPE.
4523 Sun Sep 4 08:40:02 1994 Chris Smith (csmith@convex.com)
4525 * convex.h (VTABLE_USES_MASK, VINDEX_MAX, SET_DECL_VINDEX):
4526 delete, no longer used.
4527 (target_flags): delete cexp.c hack, no longer needed.
4528 * convex.md (decr-and-set-cc0): fix HImode to use halfword
4530 (cmpqi patterns): fix constraints not to use A regs
4532 Sat Sep 3 14:12:11 1994 Michael Meissner (meissner@osf.org)
4534 * i386/i386.md (DImode move and push insns): Eliminate movdi
4535 wrapper that made a DI temp register to do a memory to memory
4536 move because it creates too much register pressure, especially
4537 when not optimizing. On the 486, allocate and use 1-2 scratch
4538 registers to push a DImode value.
4540 Fri Sep 2 15:11:59 1994 Jason Merrill (jason@deneb.cygnus.com)
4542 * c-decl.c (min_precision): Move from here.
4543 * c-common.c: To here.
4545 Fri Sep 2 13:16:38 1994 Per Bothner (bothner@kalessin.cygnus.com)
4547 * tree.h (maximum_field_alignment, set_alignment): New declarations.
4549 Fri Sep 2 14:25:36 1994 Ian Lance Taylor (ian@cygnus.com)
4551 * config/svr4.h (DBX_DEBUGGING_INFO, PREFERRED_DEBUGGING_TYPE,
4552 DBX_BLOCKS_FUNCTION_RELATIVE, ASM_IDENTIFY_GCC,
4553 ASM_IDENTIFY_GCC_AFTER_SOURCE, ASM_OUTPUT_SOURCE_LINE,
4554 DBX_FUNCTION_FIRST): Define. This adds support for -gstabs for
4555 SVR4 configurations. -gstabs requires gas and gdb.
4556 * config/sparc/sol2.h (DBX_DEBUGGING_INFO,
4557 DBX_BLOCKS_FUNCTION_RELATIVE, ASM_IDENTIFY_GCC,
4558 ASM_IDENTIFY_GCC_AFTER_SOURCE, ASM_OUTPUT_SOURCE_LINE,
4559 DBX_FUNCTION_FIRST): Don't define. Now defined by config/svr4.h.
4560 (PREFERRED_DEBUGGING_TYPE): Undefine before defining.
4561 * config/sparc/sysv4.h (DBX_DEBUGGING_INFO): Don't bother to
4562 undefine before including svr4.h.
4563 (ASM_OUTPUT_SOURCE_LINE): Undefine before including svr4.h.
4565 Thu Sep 1 22:02:02 1994 Michael Meissner (meissner@osf.org)
4567 * toplev.c (fatal_insn): Move most of the code from
4568 fatal_insns_not_found here, and add an argument to give the error
4570 (fatal_insn_not_found): Call fatal_insn.
4571 * rtl.h (fatal_insn, fatal_insn_not_found): Add prototypes.
4572 * genextra.c (main): Don't declare fatal_insn_not_found in
4574 * reload1.c (reload): Call fatal_insn where appropriate to print
4575 an error message instead of calling abort.
4576 (spill_failure): Ditto.
4577 (reload_as_needed): Ditto.
4578 (allocate_reload_reg): Ditto.
4579 (emit_reload_insns): Ditto.
4581 Thu Sep 1 19:34:26 1994 Jason Merrill (jason@deneb.cygnus.com)
4583 * tree.c (type_list_equal): If the types of the default arguments
4584 differ, the lists do not match.
4586 Thu Sep 1 19:29:58 1994 Matthias Pfaller (leo@marco.de)
4588 * ns32k.md (stack-adjust/push peepholes): Addresses are
4589 moved with "addr", not with "movd".
4591 Thu Sep 1 19:17:55 1994 Paul Eggert (eggert@twinsun.com)
4593 * cccp.c (make_definition): Don't dump core when given an
4594 unterminated string in a -D option.
4596 Thu Sep 1 19:13:35 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
4598 * c-typeck.c (convert_arguments): Give proper warnings when
4599 converting COMPLEX_TYPE; widen check to include all integral types.
4601 Wed Aug 31 20:38:53 1994 Per Bothner (bothner@spiff.gnu.ai.mit.edu)
4603 * fixproto: Define FIX_HEADER (needed by Aug 19 change).
4604 Use FIX_HEADER instead of $original_dir/fix-header (twice).
4606 Wed Aug 31 16:56:15 1994 Jason Merrill (jason@deneb.cygnus.com)
4608 * stmt.c (warn_if_unused_value): Extend special case for casted
4609 MODIFY_EXPRs to apply to INIT_EXPRs as well.
4611 Wed Aug 31 16:30:09 1994 Per Bothner (bothner@kalessin.cygnus.com)
4613 * stor-layout.c (set_alignment): New global.
4614 (layout-type): Add support for SET_TYPE.
4616 * expmed.c (store_bit_field): Semi-revert Aug 25 change:
4617 Make it apply only for BLKmode, not integral modes.
4619 * stmt.c (all_cases_count, mark_seen_cases): New functions.
4620 (BITARRAY_TEST, BITARRAY_SET): New macros. Used (mainly by
4621 Chill) to check all cases are covered (for enums and ranges).
4622 (check_for_full_enumeration_handling): Re-write to use the
4623 new functions, now that we have them.
4625 Wed Aug 31 19:19:29 1994 Richard Earnshaw (rwe@pegasus.esprit.ec.org)
4627 * combine.c (nonzero_bits, cases DIV, MOD, UDIV, UMOD): Declare
4628 op0_maybe_minusp and op1_maybe_minusp as HOST_WIDE_INT.
4630 Wed Aug 31 18:54:54 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
4632 * expmed.c (store_split_bit_field): Always adjust arg to
4633 extract_fixed_bit_field in BYTES_BIG_ENDIAN case.
4635 Wed Aug 31 02:49:34 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
4637 * config/i386/gnu.h (LIB_SPEC): New macro.
4639 Tue Aug 30 16:35:23 1994 Jason Merrill (jason@deneb.cygnus.com)
4641 * toplev.c (lang_options): Add -W{no-,}reorder.
4643 Tue Aug 30 13:55:58 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
4645 * combine.c (simplify_comparison, case GEU): Add missing break.
4647 Mon Aug 29 17:50:55 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
4649 * vax.md (extv, extzv): Don't use ROTL when field is outside
4650 boundaries of a word.
4652 Mon Aug 29 11:43:18 1994 Kresten Krab Thorup (krab@akvavit.next.com)
4654 * objc/sendmsg.c (get_imp): Don't inline on 386.
4656 Sun Aug 28 18:56:03 1994 Andrew McCallum (mccallum@cs.rochester.edu)
4658 * objc/class.c (objc_get_meta_class): New function.
4660 Sat Aug 27 23:13:53 1994 Michael Meissner (meissner@osf.org)
4662 * i386/i386.c (legitimate_address_p): If index register is either
4663 the arg pointer or the stack pointer, and there is no scale
4664 factor, swap with the base register.
4666 * i386/i386.h (REG_CLASS_CONTENTS): Don't allow the arg pointer
4667 register as an index register, since the frame could be omitted,
4668 and the stack pointer is not valid as an index.
4670 * i386/i386.md (mov*, movstrict*): Don't create pushes of memory
4671 values when creating insns, let the combiner create a push of a
4672 memory value if -m386. In particular, pushes of byte values was
4673 broken because there is no pattern to recognize such a push.
4675 Fri Aug 26 16:03:09 1994 Michael Meissner (meissner@osf.org)
4677 * i386/i386.h (MASK_*): Add masks for all of the switches.
4678 (TARGET_*): Use appropriate MASK_* instead of a number. Add
4679 -mdebug-addr switch to debug GO_IF_LEGITIMATE_ADDRESS,
4680 -mno-wide-multiply to turn off widening multiplies, and -mno-move
4681 to allow integer move insns to generate direct memory to memory
4682 copies, which reload will fix up. Add TARGET_386 which is not of
4684 (REG_ALLOC_ORDER): Go to the order used in 2.5.8, eax, edx, ecx, ...
4685 Add a comment describing the tradeoffs.
4686 (REG_OK*): Add strict and non-strict versions of the macros that
4687 are always present, and REG_OK_STRICT chooses between the two
4689 (GO_IF_LEGIMATE_ADDRESS): Move processing to legitimate_address_p
4691 (LEGITIMIZE_ADDRESS): Move processing to legitimize_address
4693 (function declarations): Add function declarations for all extern
4694 functions in i386.c.
4696 * i386/i386.c (asm_add): Add support in case adding by 1 or -1 to
4698 (various): Change TARGET_486 -> !TARGET_386.
4699 (legitimate_address_p): Move GO_IF_LEGITIMATE_ADDRESS processing
4700 here from i386.h. Combine OSF/rose support from osfrose.h through
4701 the use of conditional macros. Only recognize addresses in
4702 canonical formats, code adapted from the i960 port. Add tracing
4704 (legitimize_address): Move LEGITIMIZE_ADDRESS here from i386.h,
4705 and add adaptations from the i960 port.
4706 (convert_387_op): Remove unused function.
4708 * i386/i386.md (various): Remove cast to char * of output
4709 functions, since i386.h now declares them all properly. Change
4710 TARGET_486 tests to !TARGET_386 and !TARGET_486 to TARGET_386.
4711 (movsi, movstricthi, movhi, movstrictqi, movqi, movdi): Add
4712 define_expand wrappers to prevent memory<->memory moves from being
4713 generated unless -mno-move is used. On 486's do not allow push of
4714 memory insns to be generated unless -mno-move.
4715 (movdi): For movdi patterns, add 2 (clobber (match_scratch...))
4716 declarations to allow memory<->memory moves with non-contigous
4717 registers, so that reload don't abort if it can't make a DI
4719 (umulsidi3, mulsidi3): Don't allow pattern if -mno-wide-multiply.
4720 (smultsi3_highpart, umultsi3_highpart): Add patterns to make
4721 division by constants generate better code.
4723 * i386/osfrose.h (MASK_*): Use octal to define bitmasks, not hex,
4724 for compatibility with i386.h.
4725 (NO_IMPLICIT_EXTERN_C): Define.
4726 (LONG_DOUBLE_TYPE_SIZE): Explicitly define to be 64 instead of
4728 (GO_IF_LEGITIMATE_ADDRESS): Delete, merged with common i386 code.
4729 (ASM_FILE_END): Print -fschedule-insns and -fschedule-insns2 in
4730 ident string if those options are used.
4731 (REAL_LD_FILE_NAME): Delete.
4732 (ASM_OUTPUT_DOUBLE): Delete, use the common macros.
4733 (ASM_OUTPUT_FLOAT): Ditto.
4734 (ASM_OUTPUT_LONG_DOUBLE): Ditto.
4736 Thu Aug 25 17:15:18 1994 Per Bothner (bothner@kalessin.cygnus.com)
4738 * expmed.c (store_bit_field): Always store into multi-word
4739 bitfields starting with low addresses. (Old code was
4740 incompatible with operand_subword_force on big-endian targets.)
4742 Thu Aug 25 18:31:20 1994 Antti Miettinen (amiettin@ntc.nokia.com)
4744 * m68k/lynx.h (CALL_USED_REGS): Add d2 and d3 as call-used.
4746 Thu Aug 25 11:30:44 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
4748 * cse.c (record_jump_cond): Don't do anything if OP0 and OP1
4749 are already equivalent.
4751 * rtlanal.c (may_trap_p, case EXPR_LIST): New case.
4753 * c-common.c (shorten_compare): Don't issue warning if both
4754 operands constants and the signedness doesn't affect the
4757 * configure: Refine handling and error-checking of positional args.
4759 * print-tree.c (print_node): Print more flags for types and decls.
4761 * c-typeck.c (type_lists_compatible_p): Treat transparent unions
4762 just like unnamed ones.
4764 Wed Aug 24 19:34:52 1994 Charles Hannum (mycroft@duality.gnu.ai.mit.edu)
4766 * configure: Rearrange handling of NetBSD ports to use the standard
4767 `cpu-vendor-os' format.
4768 * config.sub: Recognize names of NetBSD ports that do not correspond
4771 Wed Aug 24 18:43:30 1994 Philippe De Muyter (phdm@info.ucl.ac.be)
4773 * print-tree.c (print_node_brief, print_node): Use assignment instead
4774 of initialization for aggregate local variable REAL_VALUE_TYPE d.
4776 Wed Aug 24 18:28:52 1994 Ian Lance Taylor (ian@cygnus.com)
4778 * config/svr4.h (ASM_OUTPUT_SECTION_NAME): Define.
4779 * config/sparc/sysv4.h (ASM_OUTPUT_SECTION_NAME): Output #alloc to
4780 set SHF_ALLOC in section flags.
4782 Wed Aug 24 17:45:19 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
4784 * c-parse.in (parmlist_2): Give error for function with only
4785 ELLIPSIS as an argument.
4787 Wed Aug 24 17:36:22 1994 H.J. Lu (hjl@nynexst.com)
4789 * i386/linux.h (STARTFILE_SPEC): Add %{static:-static}.
4791 Wed Aug 24 14:34:37 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
4793 * calls.c (expand_call): Check for variable-sized return value
4796 * c-typeck.c (default_conversion): Don't substitute constant
4797 value if array since will return address.
4799 * configure (LANG_MAKEFILE): Include lang/Makefile.in in list.
4801 * alpha.h (EXTRA_CONSTRAINT): Add new letter, `R'.
4802 (ENCODE_SECTION_INFO): Don't check TREE_ASM_WRITTEN.
4803 (PREDICATE_COSTS): Add call_operand.
4804 * alpha.c (call_operand): New function.
4805 (output_epilog): Don't set SYMBOL_REF_FLAG of current function.
4806 * alpha.md (call): Rework to use macro version of jsr.
4807 * osf2.h (LINK_SPEC): Don't define; should never have been.
4809 * c-typeck.c (push_init_level): Don't blow up if construct_type
4810 is null (can happen with missing brace).
4812 Wed Aug 24 10:49:35 1994 Michael Meissner (meissner@osf.org)
4814 * i386/i386.h (REG_ALLOC_ORDER): Restore previous version which
4815 allocates edx first, then ecx, eax, ... This is because perl
4816 doesn't build when the order is eax, ecx, edx...
4818 Tue Aug 23 09:20:16 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
4820 * configure: Restore old behavior of positional arguments.
4821 Add new argument, --noguess.
4822 config.guess now guesses BUILD, not HOST; HOST defaults from BUILD.
4823 Always compare canonical names, not user-specified names.
4824 Numerous minor changes in the messages output to make the
4825 configuration chosen clearer.
4827 Tue Aug 23 02:01:42 1994 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4829 * config.sub: Move m68k-ccur handling to proper part of file.
4830 Canonicalize cpu type pentium into i486. (Change it to i586 later.)
4832 Mon Aug 22 18:41:59 1994 Steve Chamberlain (sac@jonny.cygnus.com)
4834 * sh/sh.c (find_barrier): Calculate the size of larger than
4836 (general_movsrc_operand): Allow label_refs plus const.
4837 (sh_function_arg_partial_nregs, sh_function_arg): Pass BLKmode
4838 objects in partial regs.
4839 * sh.h (TARGET_DEFAULT): Turn off BIGTABLE_BIT.
4840 (EXTRA_CONSTRAINT_Q): Allow label_refs plus const.
4841 (READONLY_DATA_SECTION_ASM_OP, EXTRA_SECTIONS, rdata_section):
4842 Delete rdata section and refs.
4843 * sh.md (dimode split): Don't allow a Q constraint source.
4845 Sun Aug 21 23:15:35 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
4847 * pa.h (FUNCTION_ARG): Use indirect calling conventions when
4848 TARGET_LONG_CALLS is in effect.
4850 Sat Aug 20 13:31:34 1994 Jim Wilson (wilson@cygnus.com)
4852 * sched.c (sched_analyze_insn): Add new parameter loop_note.
4853 If loop_note set, then serialize on this insn.
4854 (sched_analyze): New variable loop_note. Pass to
4855 sched_analyze_insn. Set it if we pass a NOTE_INSN_LOOP_BEG or
4857 (unlink_notes): Don't save away NOTE_INSN_LOOP_BEG or
4858 NOTE_INSN_LOOP_END notes.
4859 (schedule_block): Generalize code that looks for magic REG_DEAD
4860 notes and converts them to notes.
4862 Sat Aug 20 12:47:21 1994 Michael Meissner (meissner@osf.org)
4864 * i386.h (REG_ALLOC_ORDER): Allocate eax first, then ecx, edx, and
4865 then do the nromal allocation order for the remaining registers.
4867 Fri Aug 19 20:14:35 1994 Jim Wilson (wilson@cygnus.com)
4869 * tree.c (build_type_variant): Only return existing type if it
4870 also has the same TYPE_NAME.
4872 * irix5.h (NO_IMPLICIT_EXTERN_C): Comment out.
4874 Fri Aug 19 16:41:43 1994 Per Bothner (bothner@kalessin.cygnus.com)
4876 * fixproto: Use $FIX_HEADER macro instead of calling
4877 fix-header directly in 2nd location.
4879 Fri Aug 19 17:34:19 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
4881 * expr.c (emit_move_insn_1): Never make a no-conflict block.
4883 * tree.h (struct tree_type): New field transparent_union_flag.
4884 (struct tree_decl): New field transparent_union.
4885 ({DECL,TYPE}_TRANSPARENT_UNION): New macros.
4886 * c-common.c (decl_attribute): Handle "transparent_union" attribute.
4887 * function.c (assign_parms): If parm is transparent union, use
4888 type of first field.
4889 * calls.c (expand_call): Likewise.
4890 * integrate.c (function_cannot_inline): Don't inline if any
4891 parm is a transparent union.
4893 Fri Aug 19 12:01:11 1994 Ian Lance Taylor (ian@cygnus.com)
4895 * fixincludes: Canonicalize ${INPUT} to avoid automounter
4898 Fri Aug 19 11:31:24 1994 Kresten Krab Thorup (krab@akvavit.next.com)
4900 * objc-act.c (build_selector_translation_table): Reset
4901 current_function_decl after hack_function_prototype build it.
4902 (build_module_descriptor): Return constructor name from functions
4905 Thu Aug 18 17:23:18 1994 Per Bothner (bothner@spiff.gnu.ai.mit.edu)
4907 * README.FRESCO: New file. Notes about compiling the Fresco
4910 Thu Aug 18 14:10:22 1994 Jim Wilson (wilson@cygnus.com)
4912 * combine.c (distribute_notes, case REG_UNUSED): Ignore notes when
4913 from_insn != i3 only if the notes would remain as REG_UNUSED notes.
4915 Wed Aug 17 18:31:43 1994 Holger Teutsch (holger@hotbso.rhein-main.de)
4917 * clipper.h (CLIPPER_ARG_SIZE): Return size in bytes.
4918 (FUNCTION_ARG_ADVANCE): Fix argument alignment processing.
4920 Wed Aug 17 18:03:54 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
4922 * fx80.md (casesi_2): Operand 0 is HImode; add SIGN_EXTEND
4924 (casesi): Operand 0 is HImode.
4925 (unnamed PC addition pattern): Add SIGN_EXTEND to add HImode
4926 offset to SImode PC.
4927 * m68k.md (tablejump): Add SIGN_EXTEND to HImode offset
4928 so can add to SImode PC.
4929 Likewise for matching pattern.
4930 * cse.c (fold_rtx): When folding tablejump, allow LABEL_REF
4931 to be in arg0; also allow other arg to be MINUS, not just be
4934 Mon Aug 15 19:19:11 1994 Paul Eggert (eggert@twinsun.com)
4936 * cccp.c (index0): New function.
4937 (trigraph_pcp): Use index0 instead of index, so that a null
4938 byte doesn't suppress further trigraph preprocessing.
4940 * cccp.c (rescan, do_ident): Pass more accurate size request
4943 * cccp.c (main): Don't dump core if given -pcp, -MD, or -MMD
4944 without following arg.
4946 Mon Aug 15 17:56:38 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
4948 * stmt.c (expand_elseif): New function.
4950 Mon Aug 15 14:16:18 1994 Ian Lance Taylor (ian@cygnus.com)
4952 * configure: If the host is guessed, and the target name is a
4953 prefix of the host name, then use the target name as the host
4956 Mon Aug 15 13:35:24 1994 Stan Shebs (shebs@andros.cygnus.com)
4958 * m68k/m68k-coff.h: New file.
4960 Sun Aug 14 00:28:15 1994 Andrew McCallum (mccallum@vein.cs.rochester.edu)
4962 * objc/encoding.c (objc_sizeof_type): Assign from ROUND,
4963 don't increment. Remove ; after while to fix infinite loop.
4964 Add float and double cases.
4965 (objc_alignof_type): Add float and double cases.
4966 * objc/selector.c (): Use __objc_selector_names, not
4967 __objc_selector_array.
4968 (sel_types_match): New function.
4969 (sel_get_typed_uid): Use sel_types_match. Change strcmp to !strcmp.
4971 Sun Aug 14 21:54:29 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
4973 * pa.h (ASM_OUTPUT_ALIGNED_COMMON, ASM_OUTPUT_ALIGNED_LOCAL):
4975 (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL): Delete.
4977 * pa.c (hppa_expand_prologue): Avoid writing outside the current
4978 stack boundary in code to handle large stack frames.
4980 Sun Aug 14 18:55:51 1994 Jim Wilson (wilson@cygnus.com)
4982 * unroll.c (loop_iterations): Use PREV_INSN not prev_nonnote_insn.
4984 * bsd-5.h (ASM_OUTPUT_NEWLINE): Delete.
4985 (ASM_OUTPUT_ASCII): Define.
4986 * mips-5.h, svr3-5.h, svr4-5.h: Likewise.
4987 * mips.h (ASM_OUTPUT_NEWLINE): Delete.
4988 (ASM_OUTPUT_ASCII): Don't use ASM_OUTPUT_NEWLINE.
4990 * va-mips.h (va_start): Add cast to __gnuc_va_list type.
4992 * flow.c (mark_used_regs): When adding REG_DEAD notes, check for
4993 the case where a multiple register hard reg overlaps a register
4995 * sched.c (attach_deaths): Likewise.
4996 * combine.c (distribute_notes, case REG_DEAD): Add another
4997 find_reg_fusage call.
4999 * unroll.c (calculate_giv_inc): Handle constants loaded with IOR.
5001 Sun Aug 14 16:40:04 1994 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5003 * cccp.c (skip_if_group): New arg op. All callers changed.
5004 If output_conditionals is true, output text of failed conditionals.
5005 (conditional_skip): New arg op. All callers changed.
5006 (main): Handle -ifoutput option.
5008 Sun Aug 14 05:49:29 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
5010 * print-tree.c (print_node{,_brief}): Use REAL_VALUE_TO_DECIMAL
5011 to print REAL_CST ifdef REAL_ARITHMETIC.
5013 * reload1.c (count_possible_groups) Pass CLASS as arg and only
5014 try to find groups of that class.
5016 * configure: If config.guess fails and target specified, use as host.
5017 Print a message when making a cross-compiler.
5019 Sat Aug 13 17:12:30 1994 Jim Wilson (wilson@cygnus.com)
5021 * configure (sparc-*-sunos4.0*): New configuration.
5022 * t-sunos4: Rename file to t-sunos41.
5023 * t-sunos40: New file.
5025 Sat Aug 13 13:50:22 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
5027 * reload1.c (emit_reload_insns): Handle a secondary input reload
5028 which needs to use secondary memory too.
5030 Fri Aug 12 18:53:24 1994 Ian Lance Taylor (ian@cygnus.com)
5032 * mips/mips.c (override_options): If neither -mcpu= nor -mipsN was
5033 used, and MIPS_CPU_DEFAULT is defined, set mips_cpu to
5034 MIPS_CPU_DEFAULT and set mips_cpu_string to
5035 MIPS_CPU_STRING_DEFAULT.
5037 Fri Aug 12 10:54:35 1994 Stan Cox (coxs@dg-rtp.dg.com)
5039 * m88k/dgux.h, m88k/dguxbcs.h (ASM_SPEC,CPP_SPEC):
5040 Made -pipe work for -msvr4. Added -D*_TARGET definitions.
5042 * m88k.c (emit_bcnd): Improved code generated by changing cmp/bbx
5043 instruction pair to single bcnd instruction
5045 Fri Aug 12 07:52:20 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
5047 * cse.c (set_nonvarying_address_components): If BASE is CONST_INT,
5048 add value to start and set BASE to const0_rtx.
5049 (refers_to_mem_p): Don't do it here.
5051 * function.c (expand_function_start): Add redundant copy to
5052 static_chain_incoming_rtx if SMALL_REGISTER_CLASS so inlining
5054 * integrate.c (expand_inline_function): Use single_set when
5056 Delete insn that sets static_chain_incoming_rtx before its use.
5057 (subst_constants): Treat virtual reg as constant.
5059 * flow.c (mark_used_regs): Only show changes size if one mode is
5061 * stupid.c (stupid_mark_refs): Likewise.
5062 * combine.c (simplify_rtx, case FLOAT_TRUNCATE): Remove
5063 redundant float_truncate.
5064 * rs6000.md (movsf): Don't truncate if not register; clean up.
5066 * c-decl.c (duplicate_decls): Suppress -Wredundant-decls warning
5067 if we have already given an error.
5069 Thu Aug 11 18:44:25 1994 Jason Merrill (jason@deneb.cygnus.com)
5071 * stmt.c (expand_anon_union_decl): Fix up the alignment and mode
5072 of the member VAR_DECLs.
5074 Thu Aug 11 13:36:14 1994 Per Bothner (bothner@kalessin.cygnus.com)
5076 * tree.c (stabilize_reference): Handle COMPOUND_EXPR.
5078 * fix-header.c (write_rbrac): If NO_IMPLICIT_EXTERN_C is defined,
5079 add extern "C" { ... } to added prototypes. (Needed for hpux.)
5081 Thu Aug 11 14:23:59 1994 Paul Eggert (eggert@twinsun.com)
5083 * cccp.c (rescan): Fix botches with `-lint': the output buffer
5084 pointer was not recached properly, leading to lost output.
5085 Also, buffer overrun was possible.
5087 * cccp.c (dump_defn_1): Skip newlines and strings correctly.
5089 Thu Aug 11 14:13:17 1994 Niklas Hallqvist (niklas@appli.se)
5091 * configure (m68k-*-netbsd*): New target, like others.
5093 Thu Aug 11 14:09:23 1994 David Mosberger-Tang (davidm@piston.cs.arizona.edu)
5095 * alpha.h (FUNCTION_PROFILER): Load global pointer from $27, not $26. e
5097 Thu Aug 11 13:52:15 1994 Walter Misar (misar@rbg.informatik.th-darmstadt.de)
5099 * m68k/hp320.h (NO_DOT_IN_LABEL): Define if HPUX_ASM.
5101 Thu Aug 11 13:12:12 1994 David Mosberger-Tang (davidm@cs.arizona.edu)
5103 * alpha.h (BLOCK_PROFILER): Use $26 and $27 instead of $0 and $1.
5105 Thu Aug 11 13:09:36 1994 Antti Miettinen (amiettin@trshp.trs.ntc.nokia.com)
5107 * config/lynx.h (ASM_OUTPUT_SOURCE_LINE): Call assemble_name.
5109 Thu Aug 11 12:57:22 1994 Stephen L Moshier (moshier@world.std.com)
5111 * expr.c (expand_builtin): Relegate sin and cos to ffast-math.
5113 Thu Aug 11 12:45:20 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
5115 * flow.c (find_auto_inc): Ensure that all proposed changes to
5116 insns are valid before commiting to the auto-inc.
5118 * calls.c (expand_call): Ensure we call force_operand on
5119 structure_value_addr.
5121 * configure: Use config.guess to get default value for host,
5124 Thu Aug 11 12:43:24 1994 Robert Wilhelm (Robert.Wilhelm@physik.tu-muenchen.de)
5126 * Makefile.in (mostlyclean): Add missing -f.
5128 Tue Aug 9 02:02:07 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
5130 * pa.md (default set high): Do not accept function label arithmetic
5132 (default lo_sum): Likewise.
5133 * pa.c (hppa_legitimize_address): Do nothing with function label
5135 (emit_move_sequence): Split up function label arithmetic so that
5136 function's address is loaded first, then constant part is added to
5137 the function's address.
5138 (is_function_label_plus_const): New function.
5140 Mon Aug 8 19:57:05 1994 Matthias Pfaller (leo@marco.de)
5142 * ns32k.md (all patterns that use ins/inss and ext/exts):
5143 Disallow use of these instructions when -mnobitfield is
5145 * ns32k.h (TARGET_BITFIELD): New macro.
5146 (TARGET_SWITCHES): Support for TARGET_BITFIELD.
5147 * ns32k/netbsd.h (TARGET_DEFAULT): Added -mnobitfield.
5148 (CPP_PREDEFINES): Added -Dpc532.
5149 (WCHAR_{TYPE, UNSIGNED, TYPE_SIZE}): Changed to match new definition
5151 * ns32k.c (print_operand_address): A patch for 2.5.8 ended up at the
5154 Mon Aug 8 19:42:09 1994 Paul Eggert (eggert@twinsun.com)
5156 * cccp.c (create_definition): Warn about `#define a@', since a
5157 diagnostic is now required (see ISO TC1's addition to
5158 subclause 6.8). Also warn about `#define is-empty(x) (!x)'.
5160 Mon Aug 8 16:32:37 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
5162 * fix-header.c (write_rbrac): Set up to use fixed headers
5163 if __USE_FIXED_HEADERS__ is defined.
5165 * reload1.c (emit_reload_insns): Always clear new_spill_reg_store.
5167 * reload.c (find_reloads): Force reload for paradoxical SUBREG
5168 of MEM if BYTES_BIG_ENDIAN.
5170 * m68k/hp320.h (READONLY_DATA_SECTION): Remove definition.
5172 * function.c (expand_function_start): Only use
5173 static_chain_incoming_rtx once if it is a REG and we
5174 have SMALL_REGISTER_CLASSES.
5176 * local-alloc.c (find_free_reg): Fix typo in last change.
5177 * rs6000.h (CLASS_CANNOT_CHANGE_SIZE): New macro.
5179 Sun Aug 7 08:54:42 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
5181 * regs.h (reg_changes_size): Add declaration.
5182 * flow.c (reg_changes_size): New variable.
5183 (allocate_for_life_analysis): Allocate and initialize it.
5184 (mark_used_regs, case SUBREG): Set it.
5185 * local-alloc.c (qty_changes_size): New variable.
5186 (alloc_qty{,_for_scratch}, update_qty_class): Set it.
5187 (local_alloc): Allocate it.
5188 (find_free_reg): If CLASS_CANNOT_CHANGE_SIZE, avoid its registers
5189 if qty_changes_size.
5190 * global.c (find_reg) If CLASS_CANNOT_CHANGE_SIZE, avoid its
5191 registers if reg_changes_size.
5192 * stupid.c (regs_change_size): New variable.
5193 (stupid_life_analysis): Alloc, init and pass it to stupid_free_reg.
5194 (stupid_mark_regs): Set it.
5195 (stupid_find_reg): New arg, CHANGES_SIZE; avoid regs
5196 in CLASS_CANNOT_CHANGE_SIZE if defined and CHANGES_SIZE nonzero.
5197 * reload.c (push_reload): Make test in LOAD_EXTEND_OP case more
5198 precise; handle CLASS_CANNOT_CHANGE_SIZE.
5199 (find_relods): When setting force_reloads, make LOAD_EXTEND_OP
5201 * alpha.h (CLASS_CANNOT_CHANGE_SIZE): New macro.
5203 * reload1.c (eliminate_regs, case SUBREG): Add USE of pseudo
5204 so we don't improperly delete an output reload.
5206 Fri Aug 5 15:08:39 1994 Jason Merrill (jason@deneb.cygnus.com)
5208 * expr.c (expand_expr, COND_EXPR case): Use truthvalue_conversion
5209 to make the condition for running cleanups acceptable to
5212 Fri Aug 5 12:29:42 1994 Jim Wilson (wilson@cygnus.com)
5214 * expmed.c (expand_mult): Accept DImode for synth_mult only if
5215 CONST_DOUBLE_HIGH is zero. Reject negative values for synth_mult
5216 if the mode is larger than HOST_BITS_PER_INT. Don't do the
5217 negate_variant if the mode is larger than HOST_BITS_PER_INT.
5219 Fri Aug 5 12:23:17 1994 Stephen L Moshier (moshier@world.std.com)
5221 * gbl-ctors.h (DO_GLOBAL_CTORS_BODY): Use long instead of
5224 Fri Aug 5 12:18:18 1994 Kaveh R. Ghazi (ghazi@caip.rutgers.edu)
5226 * configure: In subdirectories, make link to include directory.
5227 * Makefile.in (distclean): Delete it.
5229 Thu Aug 4 17:21:02 1994 Jason Merrill (jason@deneb.cygnus.com)
5231 * expr.c (defer_cleanups_to): Put back line which was mistakenly
5234 Wed Aug 3 21:37:31 1994 Doug Evans (dje@cygnus.com)
5236 * sparc.c (v9 sparc_builtin_saveregs): Save quadword fp regs on
5237 16 byte boundaries. Handle non-zero number of named fp args.
5238 * va-sparc.h (v9 va_start): Pass an arg to __builtin_next_arg.
5239 (v9 va_arg): Advance over float's.
5241 Wed Aug 3 11:10:32 1994 Ian Lance Taylor (ian@mole.gnu.ai.mit.edu)
5243 * fixincludes: Changes for glibc. In the main loop, don't fix
5244 files which contain the string ``This file is part of the GNU C
5245 Library''. Don't include <stdarg.h> in <stdio.h> if <stdio.h>
5246 contains the string ``__need___va_list''. In <stdio.h>, don't
5247 change GNUC_VA_LIST to GNUC_DUMMY_VA_LIST. Don't add extern "C"
5248 to <assert.h> if it contains the string ``__BEGIN_DECLS''. Don't
5249 add multiple inclusion protection to <time.h> or <sys/time.h> if
5250 they contain the string ``#ifndef''.
5252 Tue Aug 2 18:38:46 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
5254 * cse.c (simplify_unary_operation): Clean up some mode and
5255 size checks with CONST_DOUBLEs; TRUNCATE should do nothing.
5257 * combine.c (subst_prev_insn): Remove variable and all uses.
5259 Tue Aug 2 14:42:29 1994 Doug Evans (dje@canuck.cygnus.com)
5261 * sparc.h (V9_SWITCHES): Add -mmedlow, -mmedany.
5262 (TARGET_OPTIONS): Delete.
5263 (CONDITIONAL_REGISTER_USAGE): Don't unfix %g4 if -mmedany.
5264 * sparc.c (sparc_code_model): Delete.
5265 (sparc_override_options): Code model flags only useable with v9.
5267 * sparc.h (enum reg_class): New values EXTRA_FP_REGS,
5268 GENERAL_OR_EXTRA_FP_REGS for the v9 case.
5269 (REG_CLASS_NAMES): Likewise.
5270 (REG_CLASS_CONTENTS): Likewise.
5271 (REGNO_REG_CLASS): Handle EXTRA_FP_REGS.
5272 (REG_CLASS_FROM_LETTER): Likewise, as `e'.
5273 Treat `e' like `f' in v8 case.
5274 (FP_REG_CLASS_P): New macro.
5275 (PREFERRED_RELOAD_CLASS): Use it.
5276 (SECONDARY_INPUT_RELOAD_CLASS, SECONDARY_OUTPUT_RELOAD_CLASS,
5277 SECONDARY_MEMORY_NEEDED, CLASS_MAX_NREGS, REGISTER_MOVE_COST):
5279 * sparc.md (all DF/TFmode patterns): Use `e' in contraint field
5282 Mon Aug 1 20:05:51 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5284 * config/i386/gnu.h: New file.
5285 * configure (i[34]86-*-gnu*): Deal with this on its own, not like
5286 i[34]86-*-mach*. Use i386/gnu.h and t-libc-ok; set gnu_ld and
5287 gas, and disable fixincludes.
5289 Mon Aug 1 19:27:44 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
5291 * tree.c (permanent_allocation): When freeing to
5292 momentary_function_firstobj, set momentary_firstobj to be
5293 the next available location (i.e., momentary_function_firstobj).
5295 Mon Aug 1 18:52:40 1994 Chris Arthur (csa@gnu.ai.mit.edu)
5297 * stddef.h: Handle _BSD_WCHAR_T_ like _WCHAR_T_, since
5298 at least BSD/386 1.1 uses the former instead of the latter.
5299 If _BSD_RUNE_T_ is defined, then define rune_t when we define
5300 wchar_t. Test definedness of _GCC_SIZE_T as well as
5301 _GCC_SIZE_T_; likewise for _GCC_PTRDIFF_T and _GCC_WCHAR_T.
5303 Mon Aug 1 05:20:44 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
5305 * pa-ghpux.h, pa-hpux.h (LINK_SPEC): Any -g argument implies
5308 Sun Jul 31 17:19:37 1994 Jason Merrill (jason@deneb.cygnus.com)
5310 * integrate.c (expand_inline_function): Don't fall down trying to
5311 pass things by invisible reference.
5313 Sun Jul 31 06:56:46 1994 Pat Rankin (rankin@eql.caltech.edu)
5315 * cccp.c (my_strerror): New function.
5316 (error_from_errno, perror_with_name): Use it.
5318 Sat Jul 30 12:59:01 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
5320 * fold-const.c (fold_truthop): Apply masks to constants.
5322 * print-tree.c (print_node{,_brief}): Use correct printf code to
5323 print INTEGER_CST if HOST_WIDE_INT is wider than int.
5325 * expmed.c ({store,extract}_bit_field): Don't use bitfield insn
5326 if OP0 is register and bitfield spans it.
5328 * m88k.c (arith64_operand): Integer CONST_DOUBLE is not DImode.
5329 * sparc.c (reg_or_0_operand): Likewise.
5330 * ns32k.c, pa.c (print_operand): Likewise.
5331 * fx80.h, gmicro.h, ns32/{genix,merlin}.h (PRINT_OPERAND): Likewise.
5332 * m68k/crds.h, m68k/news.h, pyr.h (PRINT_OPERAND): Likewise.
5334 * alpha.h (CASE_VECTOR_PC_RELATIVE): Define.
5335 (ASM_OUTPUT_ADDR_VEC_ELT): Abort.
5336 (ASM_OUTPUT_ADDR_DIFF_ELT): Now what used to be previous definition.
5337 * alpha.md (tablejump): Rework to look like normal add but verify
5338 that label is for next insn and is tablejump; look for ADDR_DIFF_ELT.
5339 * cse.c (fold_rtx, case MEM): Surround TRUNCATE for jump table
5341 (fold_rtx, case '1'): Handle operand 0 of a CONST.
5342 (fold_rtx, case PLUS): Handle (const (minus (label_ref) (label_ref))).
5344 Fri Jul 29 19:27:17 1994 Lee Iverson (leei@ai.sri.com)
5346 * c-decl.c (finish_decl): Preserve initialializer if iterator.
5348 Fri Jul 29 19:07:23 1994 Hallvard B Furuseth (h.b.furuseth@usit.uio.no)
5350 * libgcc2.c: Add declaration of ctime.
5351 * bc-emit.c (bc_sym_write): Change %d to %lu in printf calls.
5352 * fix-header.c (write_{l,r}brac): Specify return type of int.
5353 * tree.c (change_main_variant): Return type now void.
5354 * varasm.c (bc_output_constructor): Return type now rtx.
5356 Fri Jul 29 18:33:48 1994 Ken Duda (kjd@cache.crc.ricoh.com)
5358 * c-typeck.c (build_unary_op, case *INCREMENT_EXPR):
5359 Add size in bytes, not value of sizeof.
5361 Fri Jul 29 17:36:38 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
5363 * function.c (expand_function_start): Initialize VALUE_ADDRESS.
5365 * romp.md (tst?f): Use CONST0_RTX instead of incorrect call
5366 to immed_real_const_1.
5368 * expr.c (move_block_to_reg): Do nothing if NREGS == 0.
5370 Fri Jul 29 17:17:18 1994 Tom Tromey (tromey@busco.lanl.gov)
5372 * cccp.c (special_symbol, do_xifdef): Don't access value.defn
5375 Thu Jul 28 17:19:32 1994 Jason Merrill (jason@deneb.cygnus.com)
5377 * gbl-ctors.h (DO_GLOBAL_CTORS_BODY): Reverse order of execution
5378 of constuctor lists.
5379 * config/svr3.h (DO_GLOBAL_CTORS_BODY): Ditto.
5381 * libgcc2.c (__do_global_dtors): Reverse order of execution of
5384 Thu Jul 28 19:56:30 1994 Jim Pendergraft (jimp@dg-rtp.dg.com)
5386 * dwarfout.c (output_decl, case FUNCTION_DECL): Corrected
5387 and simplified code that determined when to generate
5388 varargs or ANSI stdargs variable length parameter list
5391 Thu Jul 28 19:38:57 1994 Andreas Schwab (schwab@issan.informatik.uni-dortmund.de)
5393 * m68k.md (extv, extzv): In patterns that will use movb and
5394 movw, ensure size is 8 or 16.
5396 Thu Jul 28 19:28:31 1994 David Robinson (drtr@mail.ast.cam.ac.uk)
5398 * expr.c (expand_expr, case CONJ_EXPR): Use correct mode for
5399 parts of a complex expression.
5401 * optabs.c (expand_binop, case MULT [complex]) Fix typo.
5403 Thu Jul 28 19:21:38 1994 Uwe Seimet (seimet@chemie.uni-kl.de)
5405 * am68k/atari.h (FUNCTION_VALUE): New override.
5407 Thu Jul 28 17:27:38 1994 Paul Eggert (eggert@twinsun.com)
5409 * Makefile.in (c-lex.o, distdir-start):
5410 Depend on $(srcdir)/c-gperf.h, not c-gperf.h.
5412 Thu Jul 28 15:14:33 1994 Oliver Kellogg (okellogg@salyko.cube.net)
5414 * m1750.inc (DNR.M): Add missing macro.
5416 Thu Jul 28 13:02:56 1994 Kresten Krab Thorup (krab@akvavit)
5418 * objc/misc.c (__objc_xcalloc): Remove declaration of bzero.
5420 Thu Jul 28 07:29:52 1994 Markus Wild (mw@eunet.ch)
5422 * c-common.c (decl_attributes): Correct string check for "format"
5423 to include unsigned and signed char.
5425 Thu Jul 28 07:11:36 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
5427 * reload1.c (compare_spill_regs): Simplify and return zero if
5428 registers are the same.
5430 * c-decl.c (finish_struct): Don't look at alignment of error_mark_node.
5432 * combine.c (try_combine): Don't make a MULT if none of the insns
5433 in our input had one.
5435 Wed Jul 27 19:06:53 1994 R Bowler (rbowler@cix.compulink.co.uk)
5437 * i370/mvs.h (ASM_OUTPUT_ASCII): Fix bug when first character
5438 of string constant is single quote.
5440 Wed Jul 27 22:44:32 1994 Jason Merrill (jason@deneb.cygnus.com)
5442 * m68k/next.h: #undef PCC_STATIC_STRUCT_RETURN.
5444 * alpha/alpha.h: #define NO_IMPLICIT_EXTERN_C.
5446 Wed Jul 27 14:06:37 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
5448 * expmed.c (expand_mult): Properly set ADD_TARGET for add_variant.
5450 * alpha.h (INITIAL_ELIMINATION_OFFSET): Properly compute offset
5451 between AP and SP when get_frame_size and
5452 current_function_pretend_args_size are not a multiple of 16 bytes.
5454 * expmed.c (expand_divmod): Don't make REG_NOTE if last insn's
5455 destination isn't QUOTIENT.
5457 Tue Jul 26 19:45:54 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
5459 * expr.c (expand_expr, case ARRAY_REF): Don't fold L"foo"[2].
5461 Tue Jul 26 14:10:52 1994 Per Bothner (bothner@kalessin.cygnus.com)
5463 * config.sub: Refer to NeXT's operating system as nextstep.
5465 Tue Jul 26 13:50:37 1994 Jim Wilson (wilson@cygnus.com)
5467 * c-typeck.c (process_init_element): Do not call push_init_level
5468 if the value is error_mark_node.
5470 * iris5.h (NO_IMPLICIT_EXTERN_C): Define.
5472 Mon Jul 25 00:20:36 1994 Chris Arthur (csa@gnu.ai.mit.edu)
5474 * configure (canon_target): add cases to recognize BSD/386
5475 specifically, so we can use a tm_file that will cause __bsdi__
5476 to get defined (since emacs, among other things, needs it).
5478 * config/i386/bsd386.h: New. Use 386bsd.h, and just override
5479 CPP_PREDEFINES (add -Dbsdi) and WCHAR stuff.
5481 Sat Jul 23 16:30:12 1994 Kaveh R. Ghazi (ghazi@caip.rutgers.edu)
5483 * fixinc.svr4: Change i860 in #if to __i860__, as with other CPUs.
5485 Fri Jul 22 14:33:59 1994 Doug Evans (dje@cygnus.com)
5487 * h8300.md (andhi3, iorhi3, xorhi3): Change constraint on
5488 operand 2 from `i' to `n'.
5490 Fri Jul 22 09:30:39 1994 DJ Delorie (dj@ctron.com)
5492 * configure.bat: move code to config/msdos/* (simplification)
5494 * config/msdos/configure.bat [new file]: moved most processing
5495 here so that as things get more complicated with the language
5496 breakouts, the top directory won't get too messy. Sed script
5497 broken out to simplify processing and avoid quoting errors.
5498 * config/msdos/top.sed [new file]: sed script to change Makefile.in
5499 to Makefile in top directory (currently used for cp directory also)
5500 sed commands changed to handle language breakout
5502 * gcc.c (pexecute): use spawn*() for djgpp to ensure that quotes
5503 are properly preserved. Response file code left for 16-bit
5504 compilers, which can't handle the long command lines that gcc
5507 * config/i386/go32.h: define NO_IMPLICIT_EXTERN_C.
5509 Thu Jul 21 23:19:03 1994 Steve Chamberlain (sac@wombat.gnu.ai.mit.edu)
5511 * sh/sh.h (TARGET_SWITCHES, PACKSTRUCT_BIT, STRUCTURE_SIZE_BOUNDARY):
5512 parse and handle new option.
5513 (LEGITIMATE_CONSTANT_P): LABEL_REFs are no longer illegal.
5514 (WCHAR_TYPE, WCHAR_TYPE_SIZE): New definitions.
5515 (HANDLE_PRAGMA): Has return.
5517 * sh/sh.c (add_function, seen_function): Experimental code to
5519 (handle_pragma): Return final char.
5520 (expand_acall): Handle TARGET_BSR.
5521 (general_movdst_operand, general_movsrc_operand): Allow ok
5523 (bsr_operand): New function.
5524 (fixit): Need to fix LABEL_REFs.
5526 * sh/sh.md (addc): Simplify.
5527 (adddi3, subdi3, negdi3): Use operand_subword.
5528 (subc, negc): New pattern.
5529 (shifts): Fix constraints.
5531 Thu Jul 21 17:59:43 1994 Jim Wilson (wilson@cygnus.com)
5533 * objc-act.c (build_module_descriptor): Don't set DECL_EXTERNAL on
5534 current_function_decl.
5536 * combine.c (simplify_rtx): For (not (xor X C)) generate new rtx
5537 instead of modifying old rtx.
5539 * c-decl.c (start_function): If old_decl is NULL, then set it to
5540 the implicit decl if any. Delete superfluous test from warn missing
5541 prototypes code. For warn missing declarations code, only warn if
5542 previous decl is implicit.
5544 Thu Jul 21 17:47:05 1994 Paul Eggert (eggert@twinsun.com)
5546 * fold-const.c (fold): Don't fold X-X to 0 if X is floating point
5547 and !flag_fast_math.
5549 Thu Jul 21 02:07:45 1994 Charles Levert (charles@comm.polymtl.ca)
5551 * Makefile.in (stmp-multilib): Rework to handle make -n.
5552 (stmp-multilib-sub): New target.
5554 Tue Jul 19 23:14:42 1994 Larry Jones (larry.jones@sdrc.com)
5556 * configure (i[34]86-*-isc*): Treat isc4 like isc3.
5557 Remove references to nonexistant files and add extra_parts
5559 (i[34]86-*-solaris2*): Remove reference to nonexistant
5560 t-sco and use extra_parts instead.
5561 (i[34]86-*-sysv*, i860-*-sysv3*, m68k-*-sysv3*, m68k-ncr-sysv*):
5562 Replace t-svr3 with extra_parts.
5564 Tue Jul 19 20:31:34 1994 Doug Evans (dje@cygnus.com)
5566 * configure (find lang subdirs loop): Try to work around an
5567 apparent bug in bash 1.12 on linux.
5569 * Makefile.in (clean): Remove multilib build dirs.
5571 * h8300.c (print_operand, default case): Handle SFmode regs.
5573 Mon Jul 18 22:02:53 1994 Jim Wilson (wilson@cygnus.com)
5575 * sparc.c (call_operand): Use symbolic_operand not CONSTANT_P.
5576 (call_operand_address): Likewise.
5577 * sparc.md (call*): Use symbolic_operand not immediate_operand.
5578 Use 's' constraint not 'i' constraint.
5580 * toplev.c (rest_of_compilation): Clear DECL_ABSTRACT_ORIGIN if
5583 * global.c (find_reg): Store divide results in temporary variables.
5585 * gcc.c (process_command): When have -BstageN option, pass include
5586 not stageN/../include to preprocessor.
5588 Mon Jul 18 21:58:27 1994 Torbjorn Granlund (tege@tiny.cygnus.com)
5590 * loop.c (move_movables): Aviod lossage when CALL_INSN_FUNCTION_USAGE
5593 Mon Jul 18 20:53:54 1994 Ian Lance Taylor (ian@cygnus.com)
5595 * fixincludes: Rework required loop to avoid crash on decstation.
5597 Thu Jul 14 09:42:23 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
5599 * Version 2.6.0 released.
5601 * explow.c (force_reg): Don't make a REG_EQUAL note for an insn
5602 that doesn't set TEMP.
5604 Wed Jul 13 17:00:35 1994 Torbjorn Granlund (tege@rtl.cygnus.com)
5606 * expmed.c (expand_divmod, case CEIL_DIV_EXPR):
5607 Handle emit_store_flag returning 0.
5609 Wed Jul 13 16:35:57 1994 Jim Wilson (wilson@cygnus.com)
5611 * expr.c (store_field): Set MEM_IN_STRUCT_P on object and
5614 Wed Jul 13 08:40:11 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
5616 * Makefile.in (distdir-start): Make tmp/ginclude and copy its files.
5617 (distdir-finish): Don't use -f Makefile.in.
5618 (gcc.xtar.gz): Add --best.
5620 * fold-const.c (decode_field_reference): Merge operand of
5621 a BIT_AND_EXPR with the mask made from the description of the field.
5623 * fold-const.c (fold, case MULT_EXPR): Remove last change.
5625 Wed Jul 13 07:12:32 1994 Torbjorn Granlund (tege@adder.cygnus.com)
5627 * xm-pa.h, xm-pahpux.h, xm-pahiux.h (USE_C_ALLOCA): Define.
5629 Wed Jul 13 03:30:36 1994 Jason Merrill (jason@deneb.cygnus.com)
5631 * tree.h (TYPE_NEEDS_CONSTRUCTING): New macro.
5632 (tree_type): Add needs_constructing_flag.
5633 * function.c (assign_parms): If TYPE_NEEDS_CONSTRUCTING, pass by
5634 invisible reference.
5635 * calls.c (expand_call): Ditto.
5637 Wed Jul 13 06:49:05 1994 Simon Cooper (scooper@hardees.rutgers.edu)
5639 * objc/Object.m: Include stdarg.h before stdio.h.
5641 Tue Jul 12 21:31:59 1994 Jim Wilson (wilson@cygnus.com)
5643 * c-decl.c (pushdecl): Don't call lookup_name_current_level_global
5644 when traditional. When doing checks against
5645 IDENTIFIER_LIMBO_VALUE, also do check against
5646 INDENTIFIER_GLOBAL_VALUE when traditional.
5648 * final.c (getpwd): Declare.
5650 Tue Jul 12 16:24:10 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
5652 * pa.h (GO_IF_LEGITIMATE_ADDRESS): Only allow immediate addressing
5653 using 5 bits to avoid losing with FP loads and stores on page zero.
5655 Tue Jul 12 16:20:09 1994 David Edelsohn (edelsohn@npac.syr.edu)
5657 * rs6000.md (ashlsi3, lshrsi3, ashrsi3): Only output low-order five
5658 bits for !TARGET_POWER case.
5660 Tue Jul 12 13:06:14 1994 Jim Wilson (wilson@cygnus.com)
5662 * combine.c (record_dead_and_set_regs_1): Can only handle SUBREG
5663 if the register is smaller or equal to BITS_PER_WORD.
5665 * sparc/sysv4.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Define.
5667 * final.c (end_final): Store full path name in .d file not just
5670 * README.IRIX5: New file.
5672 Tue Jul 12 10:55:14 1994 Michael Meissner (meissner@osf.org)
5674 * i386/osfrose.h (CC1_SPEC): If both -pic-extern/-pic-lib and
5675 -pic-none, use -pic-extern win, instead of -pic-none.
5677 * i386/osfelf.h (CC1_SPEC): Ditto.
5679 Tue Jul 12 09:08:06 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
5681 * reload.c (find_reloads): Don't try to call force_const_mem on
5684 * fold-const.c (fold, case MULT_EXPR): If arg is an unsigned
5685 CEIL_DIV_EXPR, convert to TRUNC_DIV_EXPR of a PLUS_EXPR in some cases.
5687 * alpha.md (ashldi3): Update pattern for (sign_extend (ashift ..))
5688 to match the current canonicalization.
5690 * explow.c (round_push, allocate_dynamic_stack_space): Avoid
5691 using CEIL_DIV_EXPR; add adjustment and use TRUNC_DIV_EXPR instead.
5693 Tue Jul 12 08:12:04 1994 Richard Earnshaw (rwe11@cl.cam.ac.uk)
5695 * dbxout.c (dbxout_source_file): Increment source_label_number outside
5698 * arm.c (reversible_cc_register): New function.
5699 (final_prescan_insn): Don't try to conditionalize jumps with JUMP_CLOB
5701 * arm.h (PREDICATE_CODES): Add reversible_cc_register.
5702 * arm.md (matcher for SFmode inequality comparison): Use cmfe, not cfm.
5703 (matchers for {store-flag, not-store-flag, neg-store-flag}): Output
5704 if-false instruction first before if-true instruction.
5705 (matcher for (AND store-flag x)): Only match if reversible_cc_register.
5706 (matcher for (IF-THEN-ELSE reg (NOT reg))): Likewise.
5708 * arm.h (FRAME_POINTER_REQUIRED): Always true if the function has
5710 * arm.md ({save,restore}_stack_nonlocal): Delete.
5712 Mon Jul 11 19:29:15 1994 Oliver Kellogg (okellogg@salyko.cube.net)
5714 * machmode.def (TQFmode): New mode.
5715 * expr.c (convert_move): Add some conversions for TQFmode.
5716 * varasm.c (assemble_real): Handle TQFmode output.
5717 * config.sub (basic_machine): Add 1750a.
5718 * configure (1750a-*-*): New configuration.
5719 * 1750a.c, 1750a.h, 1750a.md, m1750a.inc: New files.
5721 Mon Jul 11 18:38:42 1994 Doug Evans (dje@cygnus.com)
5723 Add support for the h8/300h cpu.
5724 * config/h8300/lib1funcs.asm: New file.
5725 * h8300/t-h8300 (CROSS_LIBGCC1): Use libgcc1-asm.a.
5726 (LIB1ASMSRC, LIB1ASMFUNCS, LIB2FUNCS_EXTRA, MULTILIB_OPTIONS,
5727 MULTILIB_DIRNAMES, LIBGCC, INSTALL_LIBGCC): Define.
5728 (fp-bit.c): Build it.
5729 * h8300/h8300.h (CPP_PREDEFINES, CPP_SPEC, LIB_SPEC, TARGET_SWITCHES,
5730 BITS_PER_WORD, MAX_BITS_PER_WORD, UNITS_PER_WORD, MAX_UNITS_PER_WORD,
5731 POINTER_SIZE, PARM_BOUNDARY, BIGGEST_ALIGNMENT,
5732 BIGGEST_FIELD_ALIGNMENT, STACK_BOUNDARY, HARD_REGNO_NREGS,
5733 HARD_REGNO_MODE_OK, REG_CLASS_NAMES, REG_CLASS_CONTENTS,
5734 REGNO_REG_CLASS, PUSH_ROUNDING, FUNCTION_ARG_ADVANCE,
5735 TRAMPOLINE_TEMPLATE, TRAMPOLINE_SIZE, INITIALIZE_TRAMPOLINE,
5736 CONSTANT_ADDRESS, MOVE_MAX, Pmode, SIZE_TYPE, PTRDIFF_TYPE):
5737 Add h8/300h support.
5738 (LINK_SPEC, TARGET_RTL_DUMP, TARGET_H8300, TARGET_H8300H,
5739 REAL_ARITHMETIC, SETUP_INCOMING_VARARGS, HAVE_POST_INCREMENT,
5740 HAVE_PRE_DECREMENT, MAX_MOVE_MAX, NO_BUILTIN_SIZE_TYPE,
5741 NO_BUILTIN_PTRDIFF_TYPE, WCHAR_TYPE, WCHAR_TYPE_SIZE,
5742 MAX_WCHAR_TYPE_SIZE, ASM_WORD_OP, INIT_SECTION_ASM_OP,
5743 CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP, EXTRA_SECTIONS,
5744 EXTRA_SECTION_FUNCTIONS, ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR,
5745 DO_GLOBAL_CTORS_BODY, DO_GLOBAL_DTORS_BODY, INIT_TARGET_OPTABS):
5747 (CAN_DEBUG_WITHOUT_FP, PCC_STATIC_STRUCT_RETURN, STRUCT_VALUE_REGNUM,
5748 STRUCT_VALUE_INCOMING, STRUCTURE_SIZE_BOUNDARY): Undefine.
5749 (enum reg_class): Add h8/300h support.
5750 (emit_a_shift): Declare.
5751 (TARGET_DEFAULT): Set default to -mquickcall.
5752 (DOUBLE_TYPE_SIZE): Fix at 32. DFmode support doesn't exist.
5753 (CALL_USED_REGISTERS, REG_ALLOC_ORDER): Swap registers 2,3 with 4,5.
5754 Registers 0,1 contain function result, allocate after 2,3.
5755 (STATIC_CHAIN_REGNUM): Use reg 4.
5756 (CONST_OK_FOR_LETTER_P): 'O' is ok_for_bclr, 'P' is small_power_of_two.
5757 (FUNCTION_PROFILER, FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): First
5758 attempt at an implementation.
5759 (CONST_COSTS): Move code into function const_costs.
5760 (BRANCH_COST): Set to 0.
5761 (NOTICE_UPDATE_CC): Move code into function notice_update_cc.
5762 (ASM_FILE_START): Move code into function asm_file_start.
5763 (ASM_FILE_END): Move code into function asm_file_end.
5764 (ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT): Use REAL_VALUE_TO_DECIMAL.
5765 * h8300/h8300.c (cpu_type, names_extended, names_upper_extended,
5766 h8_reg_names, h8_push_ops, h8_pop_ops, h8_mov_ops, h8_push_op,
5767 h8_pop_op, h8_mov_op, current_function_anonymous_args, extra_pop,
5768 hand_list): New variables.
5769 (h8300_init_once, asm_file_start, asm_file_end, ok_for_bclr, o_operand,
5770 p_operand, call_insn_operand, jump_address_operand, bit_operand,
5771 eq_operator, const_costs, notice_update_cc, bit_operator,
5772 nshift_operator, expand_a_shift, get_shift_alg, emit_a_shift,
5773 fix_bit_operand): New functions.
5774 (shift_alg, shift_type, shift_mode): New enums.
5775 (shift_insn): New struct.
5776 (shift_n_bits, can_shift): Deleted.
5777 (shift_one, rotate_one): New variables.
5778 (WORD_REG_USED): New macro (was function word_reg_used).
5779 (dosize, function_prologue, function_epilogue, print_operand_address):
5780 Add h8/300h support.
5781 (small_power_of_two): Renamed from potl8.
5783 (general_operand_src): Fix POST_INC case.
5784 (general_operand_dst): Fix PRE_DEC case.
5785 (function_arg): 3 regs of args are passed if -mquickcall.
5786 4 regs of args are passed to handwritten assembler routines.
5787 (print_operand): New cases 'A', 'P', 'S', 'U', 'W', 'b', 'c', 'd', 'g'.
5788 Delete case 'O'. Sort cases. Add h8/300h support.
5789 (do_movsi): Renamed from domovsi.
5790 Handle reload_in_progress and reload_completed.
5791 (initial_offset): Renamed from io. Add h8/300h support.
5792 * h8300/h8300.md (cpu): New attribute.
5793 (attribute length): Add h8/300h support.
5794 (attribute cc): New value `cbit'.
5795 (all anonymous insns): Give them names.
5796 (move insns): Add h8/300h support.
5797 (tstqi, tsthi): Use btst insn if able.
5798 (arithmetic insns): Add h8/300h support.
5799 (boolean insns): Likewise.
5800 (negate insns): Likewise.
5801 (branch insns): Likewise.
5802 (call_value): Use call_insn_operand for operand 1.
5803 (shift insns): Completely rewritten. Add h8/300h support.
5804 (zero/sign extension insns): Add h8/300h support.
5806 (insv, extzv): Only use for h8/300.
5807 (bitfield insns): Completely rewritten.
5808 (fancyb*): New insns for speeding up bit accesses.
5810 * optabs.c (init_optabs): Allow target specific libcalls
5811 with INIT_TARGET_OPTABS.
5813 Mon Jul 11 18:32:42 1994 Steve Chamberlain (sac@cygnus.com)
5815 * config/fp-bit.c: New file. Provides simple fp emulation library.
5817 Mon Jul 11 18:27:42 1994 Ian Lance Taylor (ian@cygnus.com)
5819 * Makefile.in (libgcc1-asm.a): New target for building libgcc1.a
5822 Mon Jul 11 17:00:45 1994 David Edelsohn (edelsohn@npac.syr.edu)
5824 * rs6000.md (movsi matcher): Add nop for moving special register
5825 to itself for !TARGET_POWER.
5826 (movhi and movqi matcher): Likewise and add mtjmpr attribute.
5827 Separate MQ from CTR and LR target registers for TARGET_POWER.
5829 * powerpc.h (CPP_SPEC): Fix typo.
5831 Mon Jul 11 16:50:29 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
5833 * c-parse.in (stmt): Don't give more than one error message if a
5834 nested `if' has an empty body.
5836 * a29k.md (movqi): Call loadhi, not loadqi.
5838 Mon Jul 11 16:46:09 1994 Jeffrey A. Law (law@mole.gnu.ai.mit.edu)
5840 * pa.h (DEBUGGER_ARG_OFFSET): Define. If no frame pointer
5841 is available, then adjust the offset by the size of the
5844 Mon Jul 11 16:34:14 1994 Stan Shebs (shebs@andros.cygnus.com)
5846 * configure (*-*-lynxos*): Always run fixincludes, and if not using
5847 gas, set tm_file to lynx-ng.h.
5848 * config/x-lynx: Always run fixproto.
5849 * config/lynx.h, i386/lynx.h, m68k/lynx.h, sparc/lynx.h: Rewrite
5850 to work with gas producing coff files.
5851 * config/lynx-ng.h, i386/lynx-ng.h, m68k/lynx-ng.h,
5852 sparc/lynx-ng.h: New files.
5854 Mon Jul 11 15:16:28 1994 Pat Rankin (rankin@eql.caltech.edu)
5856 * make-cc1.com: Compile most of cc1plus in the `cp' subdirectory.
5857 * vmsconfig.com: When setting up tm.h, convert "vax/vax.h" into
5858 "config-vax.h" rather than "[.config.vax]vax.h" for #include so
5859 it will work from [.cp] subdirectory; copy vax.h to config-vax.h
5860 as part of configuration setup. Also, manually include cc1plus
5861 in the list of buildable compilers (a temporary measure; it
5862 should process cp/Makefile.in like it does for primary makefile).
5864 * make-cc1.com: Use `=' rather than `:=' when setting up CC,
5865 so that `gcc' can be defined as a foreign command if necessary;
5866 eliminate `set symbol/scope=noGlobal' for same reason; use `='
5867 with all other symbols, for consistency; add explicit .obj
5868 extension to some lists of object files passed to the linker;
5869 general cleanup of the command text echoed during execution.
5870 * make-cccp.com: Revise to be more consistent with make-cc1.com
5871 for symbol setup & usage and for echoing command execution.
5873 Mon Jul 11 15:03:23 1994 Charles Hannum (mycroft@duality.gnu.ai.mit.edu)
5875 * configure: Recognize m68k-*-netbsd* and i[345]86-*-netbsd*.
5876 * cccp.c, collect2.c, gcc.c, protoize.c, cp/g++.c (sys_errlist)
5877 [bsd4_4]: Do this for __NetBSD__ also.
5879 Mon Jul 11 14:16:28 1994 Kresten Krab Thorup (krab@spiff.gnu.ai.mit.edu)
5881 * mips/mips.h (STRUCT_VALUE): Change definition from `(rtx)0' to
5882 just `0' so it is a valid expression for the pre-processor.
5884 Mon Jul 11 10:54:35 1994 Stan Cox (coxs@dg-rtp.dg.com)
5886 * configure (m88k-dg-dguxbcs): New configuration. m88k-dg-dgux
5887 Now builds an elf compiler. Both targets will create bcs or elf.
5889 * m88k/dgux.h (ASM_SPEC,STARTFILE_SPEC,LIB_SPEC): svr4 default.
5891 * m88k/dguxbcs.h (ASM_SPEC,STARTFILE_SPEC,LIB_SPEC):
5892 New target for svr3.
5894 * m88k/x-dgux, m88k/t-dgux, m88k/x-dguxbcs:
5895 Changed for svr4/svr4/svr3 respectively.
5897 * m88k/m88k.h (TARGET_SVR3): New target switch.
5899 Wed Jun 29 19:23:27 1994 David Mosberger-Tang (davidm@piston.cs.arizona.edu)
5901 * alpha.h (LIB_SPEC): If -pg, add -lprof2.
5903 Mon Jul 11 13:17:38 1994 Ian Lance Taylor (ian@cygnus.com)
5905 * combine.c (simplify_set): Only turn IF_THEN_ELSE into AND if
5908 Sun Jul 10 06:03:12 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
5910 * reload1.c (eliminate_regs_in_insn): Handle special case of
5911 assignment from hard frame pointer to frame pointer (for
5913 * function.c (instantiate_virtual_regs_1): Remove last change.
5914 * stmt.c (expand_end_bindings): When adjusting FP, set it
5915 from hard_frame_pointer_rtx.
5917 * expr.c (expand_builtin, case BUILT_IN_FSQRT): Don't use
5918 asterisk in name of `errno'.
5920 Fri Jul 8 22:07:32 1994 Jim Wilson (wilson@cygnus.com)
5922 * stdarg.h: Delete include of <stdarg.h> when not gcc.
5923 * varargs.h: Delete include of <varargs.h> when not gcc.
5925 Fri Jul 8 18:45:56 1994 Philippe De Muyter (phdm@info.ucl.ac.be)
5927 * m68k/mot3300.h (FUNCTION_EXTRA_EPILOGUE): Copy a0 to d0, not
5930 Fri Jul 8 17:41:39 1994 Jim Wilson (wilson@cygnus.com)
5932 * expr.c (get_inner_unaligned_p): New function.
5933 (expand_assignment, expand_expr): Use it.
5935 Fri Jul 8 17:16:25 1994 Doug Evans (dje@cygnus.com)
5937 * expmed.c (extract_split_bit_field): Set UNIT to BITS_PER_WORD for
5939 (store_split_bit_field): Likewise. Call operand_subword_force.
5941 Fri Jul 8 13:48:23 1994 Mike Stump (mrs@cygnus.com)
5943 * expr.c (target_temp_slot_level): New variable to keep track of
5944 the current stack level for temporaries created by TARGET_EXPRs.
5945 * expr.h (target_temp_slot_level): Declare it.
5946 * expr.c (expand_expr): Add code to maintain the new temporary
5947 stack for TARGET_EXPRs to the CLEANUP_POINT_EXPR code and change
5948 the allocation of temporaries for TARGET_EXPRs to be from the new
5949 stack, so that they may live longer, and only be reused after they
5950 are no longer in use.
5951 * function.c (assign_stack_temp): KEEP can now also be 2, to
5952 indicate allocation from the longer term frontend controlled
5954 * function.c (init_function_start): Initialize
5955 target_temp_slot_level to zero.
5957 Fri Jul 8 16:52:38 1994 Jim Wilson (wilson@cygnus.com)
5959 * combine.c (distribute_notes, REG_DEAD case): When check to see
5960 if insn uses register, also call find_regno_fusage.
5962 * sparc.h (SECONDARY_MEMORY_NEEDED_RTX): Call assign_stack_local
5963 if the frame has zero size.
5965 Fri Jul 8 11:46:50 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
5967 * varasm.c (record_constant_rtx, force_const_mem): Ensure everything
5968 is in saveable_obstack, not current_obstack.
5970 * combine.c (force_to_mode): OP_MODE must be MODE if MODE and
5971 mode of X are of different classes.
5972 (nonzero_bits, num_sign_bit_copies): Say nothing known for
5973 floating-point modes.
5975 * function.c (instantiate_virtual_regs_1, case SET):
5976 If DEST is virtual_stack_vars_rtx, replace with hardware
5979 * expr.c (expand_expr, case CONVERT_EXPR): If changing signedness
5980 and we have a promoted SUBREG, clear the promotion flag.
5982 * c-decl.c (finish_decl): Put RTL and other stuff in
5983 permanent_obstack if DECL is.
5985 * combine.c (gen_unary): Add new arg, OP0_MODE.
5986 All callers changed.
5988 Thu Jul 7 19:58:35 1994 Jason Merrill (jason@deneb.cygnus.com)
5990 * varasm.c (assemble_variable): Do set TREE_ASM_WRITTEN on
5991 erroneous incomplete decls.
5993 Thu Jul 7 17:59:46 1994 Joseph Arceneaux (jla@gnu.ai.mit.edu)
5995 * configure (m68k-motorola-sysv*): Use mot3300g.h for gas.
5996 * m68k/mot3300g.h: New file.
5998 Thu Jul 7 17:42:21 1994 Philippe De Muyter (phdm@info.ucl.ac.be)
6000 * m68k/mot3300.h (FUNCTION_EXTRA_EPILOGUE): Fix typo in last change.
6002 Thu Jul 7 17:36:26 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
6004 * expmed.c (expand_mult_highpart): Build constant forms of CNST1
6005 in MODE or WIDE_MODE, as appropriate.
6007 * optabs.c (expand_binop, case DIV [complex]): Fix typo in last change.
6009 * alpha.md (reload_inqi): Make operand[2] be TImode and
6010 pass register number that differs to unaligned_loadqi.
6011 (reload_outqi): Change overlap in temps to unaligned_storeqi.
6012 * alpha.c ({un,}aligned_memory_operand): Check against
6013 hard_frame_pointer_rtx, not frame_pointer_rtx.
6015 Thu Jul 7 01:39:33 1994 Doug Evans (dje@cygnus.com)
6017 * combine.c (make_compound_operation, AND case): Do extraction in
6018 desired result mode.
6020 * flow.c (mark_set_1): Record explicit hard registers in their
6022 (mark_used_regs): Likewise.
6023 * combine.c (distribute_notes): Likewise.
6025 Wed Jul 6 14:45:08 1994 Pat Rankin (rankin@eql.caltech.edu)
6027 * longlong.h (vax sdiv_qrnnd): Fix typo.
6029 Wed Jul 6 19:59:12 1994 Mike Stump (mrs@cygnus.com)
6031 * expr.c (expand_expr, defer_cleanups_to, expand_cleanups_to): All
6032 cleanups have to be protected by interim exception handling code.
6033 * stmt.c (expand_decl_cleanup, expand_cleanups): Ditto.
6034 * toplev.c (interim_eh_hook): Hook for interim exception handling.
6035 * toplev.c (interim_eh): Default implementation for exception
6036 handling that does nothing.
6037 * toplev.c (main): Set default for interim_eh_hook.
6039 Wed Jul 6 17:56:37 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
6041 * alpha.c (output_prolog): Start memory probing with $2.
6043 Wed Jul 6 14:21:14 1994 Jim Wilson (wilson@cygnus.com)
6045 * stmt.c (struct nesting): Add new field alt_end_label.
6046 (expand_start_loop): Initialize it to zero.
6047 (expand_end_loop): Reorder loop if find either a jump to end_label
6048 or a jump to alt_end_label.
6049 (expand_exit_loop_if_false): Set alt_end_label.
6051 Wed Jul 6 05:07:31 1994 Richard Earnshaw (rwe11@cl.cam.ac.uk)
6053 * c-common.c (decl_attributes): If TREE_TYPE for the DECL is updated,
6054 then update TYPE as well.
6056 * longlong.h (arm umul_ppmm): Fix use of uninitialized register.
6057 Eliminate clobbers of hard registers.
6059 Wed Jul 6 03:22:04 1994 Torbjorn Granlund (tege@rtl.cygnus.com)
6061 * expmed.c (expand_divmod): Clear out TARGET also if OP1 is a
6062 constant, when TARGET == OP0.
6064 Tue Jul 5 18:58:28 1994 Torbjorn Granlund (tege@rtl.cygnus.com)
6066 * Makefile.in (c-parse.y): Redirect through tmp file.
6067 (objc-parse.y): Likewise.
6068 (c-gperf.h): Likewise.
6069 (mostlyclean): Delete the new tmp files.
6071 * expmed.c (expand_divmod): Fix typo setting op1_is_pow2.
6072 (expand_divmod): Handle powers-of-two specifically for unsigned
6075 * longlong.h: Really fix the test for _IBMR2. Change test of
6076 __powerpc__ to _ARCH_PPC.
6078 Tue Jul 5 17:00:19 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
6080 * combine.c (try_combine): Don't check for replacing
6081 arg of function here.
6082 (can_combine_p): Do it here.
6084 * expr.c (expand_increment): If pre-incrementing a promoted
6085 variable, don't adjust OP0 since the result won't be used.
6087 * jump.c (duplicate_loop_exit_test): Handle SUBREG in SET_DEST
6088 of loop exit test statements.
6090 * combine.c (try_combine): If I2DEST was used in I2SRC, it isn't
6091 unused just because there is no SET for I2 anymore.
6093 Mon Jul 4 11:15:13 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
6095 * rs6000.h (RS6000_OUTPUT_BASENAME): Always call assembler_name
6096 and pass the actual symbol name.
6098 * varasm.c (assemble_name): Call STRIP_NAME_ENCODING.
6100 * cse.c (canon_hash, exp_equiv_p): Refer to string in SYMBOL_REF
6101 with XSTR, not XEXP.
6103 Sat Jul 2 18:53:19 1994 Jim Wilson (wilson@cygnus.com)
6105 * mips.md (smuldi3_highpart, smuldi3_highpart_internal,
6106 umuldi3_highpart, umuldi3_highpart_internal): New patterns.
6108 * unroll.c (loop_iterations): Only use REG_EQUAL note value if it
6111 * dbxout.c (dbxout_type_methods): Enable debugging info for
6114 * c-lex.c (yylex): Reject imaginary numbers when pedantic.
6116 * c-decl.c (duplicate_decls): When make void* match char*, set
6117 DECL_IN_SYSTEM_HEADER.
6119 * Makefile.in (clean): Delete LIB2FUNCS_EXTRA.
6121 * alpha.h (FUNCTION_PROFILER, FUNCTION_BLOCK_PROFILER,
6122 BLOCK_PROFILER): Use multiple fputs/fprintf calls instead of ANSI
6123 C concatenated strings.
6124 (PREDICATE_CODES): Add cint8_operand.
6126 * gcc.c (DEFAULT_WORD_SWITCH_TAKES_ARG): Add -isystem.
6128 Sat Jul 2 09:34:20 1994 Torbjorn Granlund (tege@rtl.cygnus.com)
6130 * expmed.c (expand_divmod): Always return gen_lowpart (mode, ...).
6132 Fri Jul 1 19:28:39 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
6134 * reorg.c (make_return_insns): Make sure redirecting a jump to
6135 a RETURN insn does not invalidate the delay slots of the jump.
6137 Fri Jul 1 16:32:58 1994 Richard Earnshaw (rwe11@cl.cam.ac.uk)
6139 * longlong.h: (arm umul_ppmm): Fix typos in last change. Mark
6140 hard-coded registers with "%|".
6142 Fri Jul 1 10:08:47 1994 Jason Merrill (jason@deneb.cygnus.com)
6144 * toplev.c (compile_file): Pass through static consts and inlines
6145 multiple times in case they reference each other.
6147 Fri Jul 1 07:41:19 1994 Torbjorn Granlund (tege@tiny.cygnus.com)
6149 * longlong.h: Test for _AM29K and _IBMR2, not ___AM29K__
6151 (arm umul_ppmm): New definition.
6152 (clipper umul_ppmm, smul_ppmm, __umulsidi3): New definitions.
6153 (hppa count_leading_zeros): New definition.
6154 (i960 umul_ppmm, __umulsidi3): New definitions.
6155 (mc68000 umul_ppmm): Use %. before size suffixes.
6156 (mc88110 umul_ppmm, udiv_qrnnd): Rewrite,
6157 (mc88000): Get UMUL_TIME and UDIV_TIME right.
6158 (mips): Get UMUL_TIME right.
6159 (ns32000 umul_ppmm): New definition.
6160 (ns32000 udiv_qrnnd): Rename from bogus div_qrnnd, rewrite.
6161 (powerpc umul_ppmm, smul_ppmm): New definitions.
6162 (_IBMR2/powerpc add_ssaaaa, sub_ddmmss): Improve.
6163 (pyr umul_ppmm): Fix typo.
6164 (sparc add_ssaaaa, sub_ddmmss): Match constant 0 for all inputs.
6165 (vax sdiv_qrnnd): New definition.
6167 * expmed.c (expand_divmod): Put OP0 in a register when computing
6168 remainder, or when OP1 is constant.
6170 Fri Jul 1 06:46:09 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
6172 * jump.c (jump_optimize): Don't convert if (foo) x++ into an
6173 add of an scc unless X has no side effects and can't trap.
6175 * c-parse.in (initelt): The equal sign is optional when
6176 positioning to a single element of an array.
6178 * c-typeck.c (push_init_level): If not at "unfilled" position,
6179 set constructor_incremental to 0; likewise for range.
6181 * xm-alpha.h: If GNUC, include alloca.h, else declare alloca.
6183 * m68k/mot3300.h (FUNCTION_EXTRA_EPILOGUE): New macro.
6185 * expmed.c (expand_divmod): Don't set REG_NOTES unless we generated
6188 Thu Jun 30 18:25:52 1994 David Edelsohn (edelsohn@npac.syr.edu)
6190 * gcc.c (do_spec_1, case 'P'): Don't add underscores to macros
6191 starting with '_[A-Z]'.
6193 Thu Jun 30 18:16:36 1994 Will Athanasiou (will@guardian.westford.ccur.com)
6195 * m68k.md (umulsi3_highpart, smulsi3_highpart): Fix constraint
6196 for operand 0 in define_insn.
6198 Thu Jun 30 16:07:33 1994 Kaveh R. Ghazi (ghazi@noc.rutgers.edu)
6200 * fixincludes: Put wrappers around <time.h> and <sys/time.h> to
6201 avoid multiple inclusion errors on m88k-tektronix-sysv3.
6203 Thu Jun 30 12:08:48 1994 Kresten Krab Thorup (krab@spiff.gnu.ai.mit.edu)
6205 * objc-act.c, objc/init.c (OBJC_VERSION): Incremented to 6.
6207 * objc/sendmsg.c (INVISIBLE_STRUCT_RETURN): New macro.
6208 (__objc_block_forward): Declare depending on the above.
6210 * objc/class.c (objc_next_class): New function.
6211 * objc/objc-api.h (objc_next_class): New function.
6213 * objc-act.c (get_proto_encoding, build_typed_selector_reference):
6214 New fucnctions. (UTAG_PROTOCOL): New define.
6215 (objc_selector_template, flag_typed_selectors): New variables.
6216 (objc_init): set flag_typed_selectors if -fgnu-runtime.
6217 (synth_module_prologue): Change declaration of
6218 _OBJC_SELECTOR_TABLE when flag_typed_selectors is non-null.
6219 (build_module_descriptor): Make sure the generated constructor
6220 function is declared public.
6221 (build_selector): Only cast to SEL when not doing typed selectors.
6222 (build_selector_translation_table): Rewrite initialization.
6223 (build_tmp_function_decl): Make up new name when called, since it
6224 may now be called multiple times.
6225 (hack_method_prototype): Use init_function_start to reinit args
6226 machinery. Also set current_function_decl before calling
6228 (generate_protocols): Don't generate encoding twice.
6229 (build_selector_template): New function.
6230 (build_method_list_template): Generate (void*)0 as first element,
6232 (build_message_expr): move the call to build_selector_reference
6233 towards the end, where we have determined the function prototype.
6235 * objc/Object.h, objc/Object.m (read:, write:, streamVersion:):
6236 Un-disable for alpha. (forward::, performv::): Declare and fix to
6238 * objc/archive.c: Completely rewritten to handle 64 bit longs and
6240 * objc/class.c (class_pose_as): Rewritten.
6241 * objc/encoding.c: use new ROUND macro for alignment rounding.
6242 * objc/init.c, objc/selector.c, objc/sendmsg.c: Rewritten to
6243 handle new selectors.
6245 Thu Jun 30 07:49:50 1994 Richard Earnshaw (rwe11@cl.cam.ac.uk)
6247 * arm.h (INITIAL_ELIMINATION_OFFSET): Check frame_pointer_needed when
6248 eliminating the arg pointer into the stack pointer.
6250 Thu Jun 30 06:25:50 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
6252 * c-common.c (c_build_type_variant): Remove last change; instead,
6253 copy TYPE if not in old obstack.
6255 Wed Jun 29 21:51:52 1994 Jason Merrill (jason@deneb.cygnus.com)
6257 * toplev.c (lang_options): Add -W{no-,}non-virtual-dtor.
6259 Wed Jun 29 19:23:27 1994 David Mosberger-Tang (davidm@piston.cs.arizona.edu)
6261 * final.c (end_final,profile_function): Profiling variables are
6262 size of pointer, not int.
6263 * alpha.h (LIB_SPEC): If -pg, add -lprof2.
6264 (STARTFILE_SPEC, {FUNCTION,BLOCK,FUNCTION_BLOCK}_PROFILER): New macros.
6266 Wed Jun 29 15:52:45 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
6268 * loop.c (basic_induction_var, case REG): Allow previous
6269 insn to set a SUBREG of X.
6271 * alpha.c (alpha_sa_size): Round size to 16-byte boundary.
6272 (add_long_const): Add new arg, TEMP_REG.
6273 (output_{pro,epi}log): Rework to put save area between outgoing
6274 args and local variables.
6275 * alpha.h (FRAME_POINTER_REGNUM): Now register 63.
6276 (HARD_FRAME_POINTER_REGNUM): New macro.
6277 (CONDITIONAL_REGISTER_USAGE, REG_CLASS_CONTENTS, REGNO_REG_CLASS):
6278 Show register 63 is not an FP register.
6279 (REGHNO_OK_FOR_BASE_P, REG_OK_FOR_BASE_P, REGISTER_NAMES): Likewise.
6280 (ALPHA_ROUND): New macro.
6281 (STARTING_FRAME_OFFSET, ELIMINABLE_REGS, INITIAL_ELIMINATION_OFFSET):
6282 Modify to reflect save area between outgoing args and local vars.
6283 * alpha.md: Add new pattern for double-add when have
6284 reg + frame pointer.
6285 Slight changes to all such patterns and add define_splits for them.
6287 * global.c (global_alloc): Make a more accurate attempt to see
6288 if the frame pointer will be used.
6289 If it is, show HARD_FRAME_POINTER_REGNUM used if its not
6290 the same as FRAME_POINTER_REGNUM.
6291 * reload1.c (reload): Can't eliminate if frame pointer needed
6292 and TO is stack pointer.
6293 Spill HARD_FRAME_POINTER_REGNUM if not FRAME_POINTER_REGNUM
6294 and frame pointer is needed.
6295 (spill_hard_reg): If CANT_ELIMINATE, set regs_ever_live;
6296 no longer done by callers.
6298 * a29k.md (movqi): Add missing `DONE'.
6300 Wed Jun 29 15:44:18 1994 Doug Evans (dje@canuck.cygnus.com)
6302 * sparc/sparc.h (CPP_SPEC): Split up v9/non-v9 stuff.
6303 Move -Acpu and -Amachine from here.
6304 (CPP_PREDEFINES): To here.
6305 (NO_BUILTIN_PTRDIFF_TYPE): Undefine.
6306 (NO_BUILTIN_SIZE_TYPE): Likewise.
6307 (PTRDIFF_TYPE): Split up v9/non-v9 definitions.
6308 (SIZE_TYPE): Likewise.
6309 * sparc/sp64-elf: (PTRDIFF_TYPE): Remove dependence on POINTER_SIZE.
6310 (SIZE_TYPE): Likewise.
6312 Wed Jun 29 15:28:17 1994 Michael Meissner (meissner@osf.org)
6314 * cccp.c (collect_expansion): Always put 1 space after the macro
6315 expansion in ANSI mode to fix regression from June 24th.
6317 Tue Jun 28 22:41:52 1994 Doug Evans (dje@cygnus.com)
6319 * combine.c (simplify_set): Evaluate HAVE_conditional_move at runtime.
6321 Tue Jun 28 20:27:08 1994 Torbjorn Granlund (tege@adder.cygnus.com)
6323 * optab.c (expand_binop): Convert OP0 to mode for library calls.
6325 Changes to optimize division-by-constants, and make ceil and floor
6326 rounding work correctly:
6327 * expmed.c (expand_mult): Generalize to call synth_mult also
6329 (ceil_log2): New function.
6330 (choose_multiplier): New function.
6331 (invert_mod2n): New function.
6332 (expand_mult_highpart_adjust): New function.
6333 (expand_mult_highpart): New function.
6334 (EXACT_POWER_OF_2_OR_ZERO_P): New macro.
6335 (expand_divmod): Almost completely rewritten.
6336 (expand_shift): Don't truncate immediate shift count, it doesn't work
6337 for types smaller than int.
6338 * expr.h (smul_highpart_optab, umul_highpart_optab): New variables.
6339 * genopinit.c (optabs): Add [us]mul_highpart_optab.
6340 * optabs.c (smul_highpart_optab, umul_highpart_optab): New variables.
6341 (expand_binop): Handle [us]mul_highpart_optab as commutative.
6342 (init_optabs): Initialize [us]mul_highpart_optab.
6343 * fold-const.c (div_and_round_double): Make it globally accessible.
6344 * a29k.md (smulsi3_highpart, umulsi3_highpart): New patterns.
6345 * alpha.md (umuldi3_highpart): New expander and matcher.
6346 * alpha.c (cint8_operand): New predicate.
6347 * m68k.md (umulsi3_highpart, const_umulsi3_highpart):
6348 New expander and matcher.
6349 (smulsi3_highpart, const_smulsi3_highpart): Likewise.
6351 Tue Jun 28 13:42:10 1994 Jim Wilson (wilson@cygnus.com)
6353 * sol2.h (CPP_SPEC): Handle -msupersparc.
6354 * sparc.c (cpu_type, sparc_cpu_type): Rename to arch_type and
6355 sparc_arch_type. Fix all users.
6356 (supersparc_adjust_cost): New function.
6357 * sparc.h (cpu_type, sparc_cpu_type): Rename to arch_type and
6359 (CPP_SPEC): Handle -msupersparc.
6360 (MASK_SUPERSPARC, TARGET_SUPERSPARC): New macros.
6361 (TARGET_SWITCHES): Add -msupersparc and -mcypress.
6362 (ADJUST_COST): New macro.
6363 * sparc.md (cpu attribute): Rename to arch attribute. Add a new
6364 cpu attribute. Fix all users.
6365 (type attribute): Add ialu, shift, imul, fpdivs, and fpdivd.
6367 (function units): Add Cypress and Supersparc versions of each.
6368 (addsi3, subsi3, andsi3, iorsi3, xorsi3): Add ialu type attribute.
6369 (mulsi3): Add imul type attribute.
6370 (divtf3, divdf3): Use fpdivd not fpdiv type attribute.
6371 (divsf3); Use fpdivs not fpdiv type attribute.
6372 (ashlsi3, ashrsi3, lshrsi3): Add shift type attribute.
6374 * i960.md (andsi3+6): Replace bad clrbit pattern with two working
6377 Tue Jun 28 13:31:31 1994 Uwe Seimet (seimet@iris1.chemie.uni-kl.de)
6379 * configure (m68k-atari-sysv4*): New configuration.
6380 * m68k/atari.h, m68k/xm-atari.h: New files.
6382 Tue Jun 28 12:41:32 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
6384 * pa.md (define_split for (plus (reg) (large_constant))): Treat
6385 large_constant as signed.
6387 Tue Jun 28 05:46:55 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
6389 * reload1.c (eliminate_regs_in_insn): When checking for moves
6390 and adds, use single_set.
6392 * reload1.c (reloads_conflict): Handle R1_TYPE of RELOAD_OTHER.
6394 * expr.c (do_jump, case BIT_AND_EXPR): Only narrow to a type
6395 that corresponds to a mode.
6397 Tue Jun 28 05:41:29 1994 Will R. Athanasiou (will@westford.ccur.com)
6399 * rs6000.h (MEMORY_MOVE_COST): Make processor-dependent.
6400 * rs6000.md (movsf): Emit frsp if storing to memory and not PowerPC.
6401 (movsf matcher): Remove explicit frsp.
6402 (store sf with update): Likewise.
6403 * rs6000.c: Include ctype.h.
6405 Tue Jun 28 05:40:44 1994 Mike Collison (collison@chianti.sw.stratus.com)
6407 * real.c: Treat HFmode like SFmode, for now.
6409 Mon Jun 27 19:16:49 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
6411 * optabs.c (expand_binop, multi-words shifts and rotates):
6412 Fix errors in last change.
6414 Mon Jun 27 11:29:18 1994 Richard Earnshaw (rwe11@cl.cam.ac.uk)
6416 * arm.c: Include "expr.h".
6417 (arm_fpu): New variable.
6418 (arm_gen_movstrqi): Fix typo.
6419 * arm.h: (enum floating_point_type): New enumeration type.
6420 (arm_fpu): New declaration.
6421 * arm.md: (function_unit fpa): Add more accurate scheduling
6423 (all floating point patterns): Add more detailed instruction type
6424 information to attributes.
6425 * riscix.h: (STARTFILE_SPEC,SIZE_TYPE,PTRDIFF_TYPE): Fix typos.
6426 (ASM_FINAL_SPEC): Only reject -mbsd and -mxopen when -pedantic.
6428 Sun Jun 26 05:37:26 1994 Pat Rankin (rankin@eql.caltech.edu)
6430 * toplev.c (v_message_with_decl): Avoid fwrite for stderr; mixing
6431 it with fprintf and fputs can cause strange results under VMS.
6433 Sat Jun 25 06:07:56 1994 Richard Earnshaw (rwe11@cl.cam.ac.uk)
6435 * combine.c (distribute_notes, case REG_DEAD): If a call uses a
6436 hard reg, then this is where it dies.
6438 Fri Jun 24 19:09:33 1994 Chip Salzenberg (chip@fin.uucp)
6440 * cccp.c (create_definition): Eliminate whitespace before and
6441 after macro definitions.
6443 Fri Jun 24 16:19:27 1994 Philippe De Muyter (phdm@info.ucl.ac.be)
6445 * c-decl.c (lang_decode_option): Set warn_bad_function_cast
6446 for -Wbad-function-cast.
6447 * c-typeck.c (build_c_cast): Issue a warning for non-matching cast
6448 from a function call (like malloc without proto).
6449 * c-tree.h: Declare warn_bad_function_cast.
6450 * toplev.c (lang_options): Add -W[no]-bad-function-cast.
6452 Fri Jun 24 16:09:12 1994 Pat Rankin (rankin@eql.caltech.edu)
6454 * vax.h (ASM_IDENTIFY_LANGUAGE): New macro.
6456 Fri Jun 24 15:36:37 1994 Richard Earnshaw (rwe11@cl.cam.ac.uk)
6458 * jump.c (jump_optimize): If we reverse "if (foo) bar else break;"
6459 and there follows a NOTE_INSN_LOOP_END, move the note before "bar".
6461 * arm.md (movstrsi): Delete.
6462 (movstrqi): New expand.
6463 * arm.h (arm_gen_movstrqi): New function.
6465 Fri Jun 24 14:43:46 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
6467 * alpha.c (alpha_builtin_saveregs): Fix typo in computing value
6470 * vax.md (zero_extract patterns): Don't allow constants in
6471 the first operand of ZERO_EXTRACT since the recognizer
6472 function forces them to match the mode of the match_operand.
6474 * c-typeck.c (decl_constant_value): Test for const and
6476 (default_conversion, digest_init): Remove redundant checks
6477 before calling decl_constant_value.
6478 (convert_for_assignment): See if RHS has a constant value.
6480 * m68k.md (ashrsi3, lshrsh3): Remove patterns using bfext[su].
6482 * reg-stack.c (goto_block_pat): Ignore undefined label.
6484 Thu Jun 23 22:07:42 1994 Doug Evans (dje@cygnus.com)
6486 * sparc/sp64-elf.h (LINK_SPEC): Fix typo.
6487 (PTRDIFF_TYPE): Likewise.
6489 Thu Jun 23 19:15:36 1994 Jason Merrill (jason@deneb.cygnus.com)
6491 * tree.h (TREE_SYMBOL_REFERENCED): New macro.
6492 * varasm.c (assemble_name): Set TREE_SYMBOL_REFERENCED on the
6493 identifier for `name'.
6494 * toplev.c (compile_file): Use TREE_SYMBOL_REFERENCED instead of
6495 TREE_USED and TREE_ADDRESSABLE where appropriate.
6497 Thu Jun 23 19:06:05 1994 Randy Wright (rwright@dhostwo.convex.com)
6499 * cse.c (simplify_unary_operation, case UNSIGNED_FLOAT): Add
6500 missing cast to unsigned.
6502 Thu Jun 23 19:00:18 1994 David Edelsohn (edelsohn@npac.syr.edu)
6504 * rs6000.md (fix_truncdfsi2, movsf, movdi): Use assign_stack_temp.
6505 (mulsidi3): Add earlyclobber constraint modifier to PowerPC
6506 version and !TARGET_POWERPC64 to final condition.
6508 * rs6000.h (CPP_PREDEFINES): Define _POWER (alias for _IBMR2).
6509 (CPP_SPEC): New macro.
6510 * powerpc.h (ASM_SPEC): Use PowerPC mode, not 601 mode.
6511 (CPP_SPEC): New macro.
6512 (TARGET_DEFAULT): Generate pure PowerPC code, not 601-specific.
6514 Thu Jun 23 18:09:23 1994 Pat Rankin (rankin@eql.caltech.edu)
6516 * vax.h (CPP_PREDEFINES): Add `__vax__'.
6517 * vax/vms.h (CPP_PREDEFINES): Add `__vax__', `__vms__', and `__VMS__';
6518 update __GNUC_MINOR__ to 6.
6520 Thu Jun 23 17:59:41 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
6522 * toplev.c (compile_file): Don't try to write function if we
6523 didn't save insns for it.
6525 * reload.c (find_reloads): Don't rejecting non-const due to value
6526 of PREFERRED_RELOAD_CLASS if no regs were valid for alternative.
6528 Thu Jun 23 17:45:55 1994 Matthias Pfaller (leo@marco.de)
6530 * ns32k.c (output_move_double): If the dest is register pair and both
6531 regs are used in src address, use ADDR to compute src address, not
6532 ADDD, which throws away scaled index.
6534 Thu Jun 23 17:40:06 1994 Craig Burley (burley@gnu.ai.mit.edu)
6536 * c-decl.c (clear_binding_level): Add missing fields in initializer.
6537 (c_decode_option): Correct misspelling of -fno-dollars-in-identifiers.
6539 Thu Jun 23 13:47:23 1994 Ian Lance Taylor (ian@cygnus.com)
6541 * fixincludes: Fix return type of sbrk in <unistd.h> on Alpha
6542 OSF/1 V2.0. Also, redirect grep errors to /dev/null in <assert.h>
6545 Thu Jun 23 12:08:23 1994 Richard Earnshaw (rwe11@cl.cam.ac.uk)
6547 * arm.c: Include tree.h.
6548 (const_ok_for_arm): Add fast return for 0 or just one non-zero bit.
6549 (const_ok_for_op, arm_split_constant): New functions.
6550 (arm_rtx_costs, reg_or_int_operand): New functions.
6551 (shift_operator): Accept ROTATERT.
6552 (multi_register_push): New function.
6553 (shift_op): Don't abort if a constant is outside the acceptable range,
6554 but convert the whole shift expression into something legal. If the
6555 shift is zero, then return NULL.
6556 (output_return_instruction): Output a call to abort if the function is
6558 (arm_volatile_func): New function.
6559 (get_prologue_size): Remove all adjustments for insns that are now
6561 (output_func_prologue): Remove all code that outputs instructions,
6562 just print a few comments.
6563 (output_func_epilogue): Output a call to abort if a volatile function
6565 (emit_multi_reg_push): New function.
6566 (arm_expand_prologue): New function. Don't bother to push call-saved
6567 regs if we will never return.
6568 (arm_print_operand, case 'S'): If shift_op returns NULL, then no shift
6570 * arm.h (TARGET_WHEN_DEBUGGING): Delete.
6571 (MODES_TIEABLE_P): All modes of the same class are tieable.
6572 (CONST_OK_FOR_LETTER_P): Add 'M' for constants valid in a shift.
6573 (FUNCTION_PROFILER): Don't call arm_increase_location.
6574 (INITIAL_ELIMINATION_OFFSET): Call saved regs are no-longer pushed for
6575 functions that don't return.
6576 (LEGITIMIZE_ADDRESS): Push constants that will never be legitimate --
6577 symbols and labels -- into registers. Handle DImode better.
6578 (DEFAULT_SIGNED_CHAR): Use unsigned unless already defined.
6579 (RTX_COSTS): Call arm_rtx_costs.
6580 (ADDRESS_COST): Since most operations have the same rtx cost, make the
6581 more complex addresses cheaper.
6582 (PREDICATE_CODES): Add ROTATERT to shift_operator; and new predicates
6583 for reg_or_int_operand and multi_register_push.
6584 (DBX_CONTIN_LENGTH): Only define if not already done.
6585 (PRINT_OPERAND_ADDRESS): Let arm_print operand output the ", " for
6587 * arm.md (addsi3, subsi3, andsi3, iorsi3, ashlsi3, ashrsi3, lshrsi3,
6588 rotrsi3): Rewrite as expand patterns.
6589 (rotlsi3): New expand.
6590 (matchers, and split patterns for above): New.
6591 (all patterns with shifts): Let arm_print_operand output the ", "
6592 before a shift if it is needed.
6593 (zero_extendqihi2): Delete.
6594 (zero_extendqisi2): Expand to (and ...) if not memory.
6595 (movsi): Call arm_split_constant to generate a constant.
6596 (movqi): Only force a MEM into a register if not reloading.
6597 (movsf, movdf): If loading a non-immediate floating point value, or
6598 loading and floating point immediate into integer regs, push the
6599 constant straight into the pool.
6600 (movdf): Get rid of the scratch register.
6601 (reload_outdf): Rewrite to expand to the two required insns.
6602 (matcher for movdf): Remove alternative that used scratch register for
6604 (movxf): rewrite as expand.
6605 (matcher for movxf): Recognize even when XFmode code is disabled, so
6606 that prologue insns can be generated.
6607 (Matcher for reversed conditional jump): Don't match if the mode of the
6608 CC register is not reversible.
6609 (prologue): New expand.
6610 (matcher for multi_register_push insn): New.
6611 * riscix.h: Delete some dead code.
6612 (STARTFILE_SPEC): Look in the correct places for start files.
6614 (LINK_SPEC): Define.
6615 (TARGET_WHEN_DEBUGGING): Delete.
6616 (DEFAULT_SIGNED_CHAR): Set to unsigned.
6617 (SIZE_TYPE, PTRDIFF_TYPE, TARGET_EDOM): Define.
6618 * rix-gas.h (DBX_CONTIN_LENGTH): Set to 80.
6619 (DEFAULT_GDB_EXTENSIONS, DBX_NO_XREFS): Don't try to pander to dbx, it
6620 is just to broken to use.
6622 Wed Jun 22 20:13:03 1994 Will Athanasiou (will@westford.ccur.com)
6624 * configure (m68k-ccur-rtu): New configuration.
6625 * config.sub (m68k-ccur): New system.
6626 * protoize.c: Include <dirent.h>, not <sys/dir.h> on Concurrent.
6627 * ccur-GAS.h, x-ccur: New files.
6629 Wed Jun 22 18:49:17 1994 Walter Misar (misar@rbg.informatik.th-darmstadt.de)
6631 * m68k/hp320.h (LINK_SPEC): New macro.
6633 Wed Jun 22 18:43:51 1994 Ian Lance Taylor (ian@cygnus.com)
6635 * configure: For target alpha-*-*, if using gas, set
6636 target_cpu_default to 4.
6637 * config/alpha/alpha.h (TARGET_SWITCHES): Include
6638 TARGET_CPU_DEFAULT in default value.
6639 (TARGET_CPU_DEFAULT): Define as 0 if not already defined.
6640 (ASM_FINAL_SPEC): Include TARGET_CPU_DEFAULT in test for which
6643 Wed Jun 22 18:15:41 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
6645 * loop.c (strength_reduce): When replacing DEST_ADDR givs, make
6646 sure resulting insn is valid.
6648 * optabs.c (expand_binop): New variable next_methods; pass to
6649 most recursive calls when trying to avoid libcalls.
6650 Always check for a return value of zero in recursive calls.
6651 (expand_float): Ensure TARGET has proper mode.
6652 Pass OPTAB_LIB_WIDEN to expand_binop calls.
6654 Tue Jun 21 14:35:38 1994 Doug Evans (dje@cygnus.com)
6656 * cccp.c (skip_to_end_of_comment): Catch unterminated comments.
6658 Sat Jun 18 17:49:41 1994 Jason Merrill (jason@deneb.cygnus.com)
6660 * fixproto: Move hacking of assert.h from here.
6661 * fixincludes: To here.
6663 Sat Jun 18 16:42:31 1994 Jim Wilson (wilson@cygnus.com)
6665 * c-typeck.c (process_init_element): For fieldtype, don't access
6666 TYPE_MAIN_VARIANT field if the type is error_mark_node.
6668 * jump.c (duplicate_loop_exit_test): Initialize copy to zero.
6669 Emit jump to end lable if copy is still zero.
6671 * mips.md (truncdisi2): Change from define_insn to define_expand.
6672 (truncdihi2, truncdiqi2, extendsidi2): Likewise.
6673 (extendsidi2_internal): New pattern.
6675 * loop.c (move_movables): Copy CALL_INSN_FUNCTION_USAGE field.
6677 * sdbout.c (sdbout_one_type): Use DECL_ASSEMBLER_NAME if
6678 DECL_LANG_SPECIFIC is set. Use DECL_ASSEMBLER_NAME not
6679 DECL_NAME for child_type that is a template type.
6680 (sdbout_symbol): Use DECL_ASSEMBLER_NAME if DECL_LANG_SPECIFIC
6683 Sat Jun 18 16:39:03 1994 Kung Hsu (kung@mexican.cygnus.com)
6685 * dbxout.c (dbxout_symbol): Replace DECL_IGNORED_P with
6686 TYPE_DECL_SUPPRESS_DEBUG.
6688 Sat Jun 18 10:21:44 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
6690 * expmed.c (expand_shift): Don't try extzv for lshr.
6692 * vax.md (lshrsi3): New define_expand.
6694 * optabs.c: Pass NULL_RTX for TARGET in calls to expand_{un,bin}op.
6695 (expand_float): Use expand_shift instead of expand_binop.
6697 Fri Jun 17 15:05:58 1994 Ian Lance Taylor (ian@cygnus.com)
6699 * fixincludes: Correct math.h on Lynx handling again.
6701 Fri Jun 17 10:52:41 1994 Richard Earnshaw (rwe11@cl.cam.ac.uk)
6703 * cse.c (simplify_binary_operation, case MINUS): Check mode of op0,
6704 instead of op1, before calling plus_constant.
6706 Fri Jun 17 01:42:37 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
6708 * pa.h (DEBUGGER_AUTO_OFFSET): Define. If no frame pointer
6709 is available, then adjust the offset by the size of the current
6712 Thu Jun 16 16:35:12 1994 Jason Merrill (jason@deneb.cygnus.com)
6714 * tree.h (DECL_DEFER_OUTPUT): New macro.
6715 * toplev.c (compile_file): Unset DECL_DEFER_OUTPUT on decls
6716 considered at end of file.
6717 * integrate.c (output_inline_function): Unset DECL_DEFER_OUTPUT on
6719 * toplev.c (rest_of_compilation): Also postpone compilation of
6720 inlines with DECL_DEFER_OUTPUT set.
6721 (compile_file): Always emit postponed inlines if
6722 -fkeep-inline-functions.
6724 Thu Jun 16 11:00:14 1994 Ian Lance Taylor (ian@cygnus.com)
6726 * fixincludes: Fix argument type for ffs in <string.h> on Alpha
6729 Thu Jun 16 06:49:03 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
6731 * reload1.c (reload_reg_free_p, case RELOAD_OTHER): Allowed
6732 to conflict with RELOAD_FOR_OTHER_ADDRESS.
6734 * cse.c (set_nonvarying_address_components): Rework and also
6735 handle an AND used for non-aligned accesses.
6737 Thu Jun 16 06:36:49 1994 Chip Salzenberg (chip@fin.uucp)
6739 * i386.h (REG_ALLOC_ORDER): Prefer registers listed in
6740 CALL_USED_REGISTERS.
6742 Wed Jun 15 20:45:14 1994 Jason Merrill (jason@deneb.cygnus.com)
6744 * tree.h (TREE_NO_UNUSED_WARNING): Note that this can be applied
6745 to COMPOUND_EXPRs, too.
6747 * stmt.c (warn_if_unused_value): Handle TREE_NO_UNUSED_WARNING for
6748 COMPOUND_EXPRs, too.
6750 Wed Jun 15 20:35:21 1994 David Edelsohn (edelsohn@npac.syr.edu)
6752 * rs6000.md (divsi3): Fix divide by 2^N with compare RTL.
6754 * rs6000.md (maxsf3, minsf3, maxdf3, mindf3): Fix predicate of
6756 (muldi3): Fix predicate.
6757 (movdf matcher): Allow update and indexed for lfd instruction.
6759 Wed Jun 15 19:24:23 1994 Doug Evans (dje@cygnus.com)
6761 * dbxout.c (dbxout_type): Fix call to bzero.
6763 Wed Jun 15 19:20:34 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
6765 * cse.c (simplify_unary_operation): Fix typo in last change.
6767 Wed Jun 15 15:20:54 1994 Per Bothner (bothner@cygnus.com)
6769 * dbxout.c (dbxout_range_type): Handle the case that an array
6770 range is neither an integer nor a sub-range. (In Pascal or
6771 Chill it could be a Boolean, character, or enumeral type.)
6773 Wed Jun 15 04:00:42 1994 Ian Lance Taylor (ian@cygnus.com)
6775 * genmultilib: New shell script to generate multiple library
6777 * Makefile.in (multilib.h, stmp-multilib, install-multilib): New
6779 (gcc.o): Depend on multilib.h.
6780 (clean): Remove multilib.h and tmpmultilib*.
6781 * gcc.c: Include multilib.h.
6782 (print_multi_lib, print_multi_directory, multilib_select,
6783 multilib_dir): New static variables.
6784 (option_map): Added --print-multi-lib and --print-multi-directory.
6785 (set_spec): Get multilib_select from specs file.
6786 (process_command): Dump multilib_select into specs file. Handle
6787 -print-multi-lib and -print-multi-directory.
6788 (do_spec_1): Try multilib_dir for %D case.
6789 (find_file): Try multilib_dir.
6790 (main): Call set_multilib_dir. Handle print_multi_lib and
6791 print_multi_directory.
6792 (used_arg, set_multilib_dir, print_multilib_info): New functions.
6793 * configure (sparc-*-sunos4*): Use target fragment sparc/t-sunos4.
6794 * sparc/t-sunos4: New file.
6796 Wed Jun 15 03:54:32 1994 Doug Evans (dje@cygnus.com)
6798 Add support for the SPARC V9 cpu.
6799 * configure (sparc64-*-aout): New target.
6800 (sparc64-*-elf): New target.
6801 * config.sub (sparc64): New cpu.
6802 (aout, elf): New os's.
6803 * genconfig.c (main): Allow targets to override HAVE_conditional_move.
6804 * jump.c (jump_optimize): Use it at run-time.
6805 * sparc/t-sp64: New file.
6806 * sparc/sp64-aout.h: New file.
6807 * sparc/sp64-elf.h: New file.
6808 * sparc/sysv4.h (ASM_OUTPUT_CASE_LABEL): Handle 64 bit pointers.
6809 * sparc/sparc.h (cpu_type): New enum.
6810 (CPP_PREDEFINES,CPP_SPEC): Add v9 support.
6811 (NO_BUILTIN_PTRDIFF_TYPE, NO_BUILTIN_SIZE_TYPE, MAX_WCHAR_TYPE_SIZE,
6812 SHORT_TYPE_SIZE, INT_TYPE_SIZE, LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE,
6813 FLOAT_TYPE_SIZE, DOUBLE_TYPE_SIZE, MAX_INT_TYPE_SIZE,
6814 MAX_LONG_TYPE_SIZE): Define.
6815 (PTRDIFF_TYPE, SIZE_TYPE, BITS_PER_WORD, MAX_BITS_PER_WORD,
6816 UNITS_PER_WORD, MAX_UNITS_PER_WORD, LONG_DOUBLE_TYPE_SIZE,
6817 POINTER_SIZE, PARM_BOUNDARY, STACK_BOUNDARY, SPARC_STACK_ALIGN,
6818 EMPTY_FIELD_BOUNDARY, BIGGEST_ALIGNMENT, FIRST_PSEUDO_REGISTER,
6819 FIXED_REGISTERS, CALL_USED_REGISTERS, CONDITIONAL_REGISTER_USAGE):
6821 (sparc_override_options, sparc_code_model): Declare.
6822 (OVERRIDE_OPTIONS): Call it.
6823 (MASK_*): Define bits set by target flags.
6824 (TARGET_*): Use them.
6825 ({MASK,TARGET}_{V9,INT64,LONG64,PTR64,ENV32,STACK_BIAS,
6826 MEDLOW,MEDANY,FULLANY}): Define.
6827 (MEDANY_BASE_REG): Define.
6828 (V9_SWITCHES, TARGET_OPTIONS): Define.
6829 (TARGET_SWITCHES, TARGET_DEFAULT): Use MASK_*.
6830 (SPARC_STACK_BIAS, SECONDARY_MEMORY_NEEDED_MODE): Define.
6831 (SECONDARY_MEMORY_NEEDED): Simplify.
6832 (hard_regno_mode_class, sparc_mode_class, sparc_cpu_type): Declare.
6833 (REG_PARM_STACK_SPACE): Do not define if v9.
6834 (HARD_REGNO_NREGS, HARD_REGNO_MODE_OK, MODES_TIEABLE_P,
6835 RETURN_IN_MEMORY, STRUCT_VALUE, STRUCT_VALUE_INCOMING, reg_class,
6836 REG_CLASS_NAMES, REG_CLASS_CONTENTS, REGNO_REG_CLASS, REG_ALLOC_ORDER,
6837 REG_LEAF_ALLOC_ORDER, LEAF_REGISTERS, REG_CLASS_FROM_LETTER,
6838 CLASS_MAX_NREGS, STARTING_FRAME_OFFSET, FIRST_PARM_OFFSET,
6839 BASE_RETURN_VALUE_REG, BASE_OUTGOING_VALUE_REG, BASE_PASSING_ARG_REG,
6840 BASE_INCOMING_ARG_REG, FUNCTION_ARG_REGNO_P): Add v9 support.
6841 (sparc_arg_class): New enum (v9 only).
6842 (sparc_args): New struct to record v9 arguments.
6843 (CUMULATIVE_ARGS): Use it (v9 only).
6844 (GET_SPARC_ARG_CLASS): Define.
6845 (sparc_arg_count, sparc_n_named_args): Declare.
6846 (PASS_IN_REG_P): Define.
6847 (ROUND_REG, ROUND_ADVANCE, INIT_CUMULATIVE_ARGS, FUNCTION_ARG_ADVANCE,
6848 FUNCTION_ARG, FUNCTION_INCOMING_ARG, FUNCTION_ARG_PARTIAL_NREGS,
6849 FUNCTION_ARG_PASS_BY_REFERENCE, FUNCTION_ARG_CALLEE_COPIES):
6851 (sparc64_init_expanders, sparc64_fpconv_stack_temp): Declare.
6852 (INIT_EXPANDERS): Define (v9 only).
6853 (gen_v9_scc, output_v9branch): Declare.
6854 (HAVE_conditional_move): Define.
6855 (FUNCTION_PROFILER, FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
6856 DYNAMIC_CHAIN_ADDRESS, RETURN_ADDR_RTX, REGNO_OK_FOR_FP_P,
6857 REG_OK_FOR_INDEX_P, REG_OK_FOR_BASE_P, EXTRA_CONSTRAINT,
6858 CASE_VECTOR_MODE, Pmode, EXTRA_CC_MODES, EXTRA_CC_NAMES,
6859 SELECT_CC_MODE, REGISTER_NAMES): Add v9 support.
6860 (REGNO_OK_FOR_CCFP_P): Define.
6861 (sparc_initialize_trampoline, sparc64_initialize_trampoline): Declare.
6862 (INITIALIZE_TRAMPOLINE): Call them.
6863 (ENCODE_SECTION_INFO): Mark functions in v9.
6864 (RTX_COSTS): Assume MULT costs the same for v9 as v8.
6865 (ASM_LONGLONG, ASM_FLOAT): Define.
6866 (ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Add v9 support.
6867 * sparc/sparc.c (SKIP_CALLERS_UNIMP_P): Define.
6868 (sparc_cpu_type, sparc_arg_count, sparc_n_named_args,
6869 frame_base_offset, fpconv_stack_temp): New globals.
6870 (leaf_reg_remap): Add additional registers for v9.
6871 (sparc_override_options, sparc64_init_expanders,
6872 sparc64_fpconv_stack_temp, intreg_operand, ccfp_reg_operand,
6873 data_segment_operand, text_segment_operand, v9_regcmp_op,
6874 arith11_operand, arith10_operand, arith11_double_operand,
6875 arith10_double_operand, gen_v9_scc, emit_v9_brxx_insn,
6876 sparc_init_modes, build_big_number, output_v9branch,
6877 sparc_initialize_trampoline, sparc64_initialize_trampoline):
6879 (arith_double_operand, gen_compare_reg, finalize_pic,
6880 emit_move_sequence, mem_aligned_8, output_move_double,
6881 output_move_quad, output_fp_move_double, output_fp_move_quad,
6882 output_block_move, save_regs, restore_regs): Add v9 support.
6883 (sparc_mode_class): New enum.
6884 (*_MODES): Redefine to use it.
6885 (hard_32bit_mode_classes): Renamed from hard_regno_mode_ok.
6886 (hard_regno_mode_classes, hard_64bit_mode_classes,
6887 sparc_mode_class): New globals.
6888 (num_gfregs): Renamed from num_fregs.
6889 (compute_frame_size): Add v9 support. Simplify calculations.
6890 (output_function_prologue): Call build_big_number to compute stack
6891 size in %g1, then adjust %sp.
6892 Fix saving of call saved registers. Handle new v9 registers.
6893 (output_function_epilogue): Fix restoration of call saved registers.
6894 Handle new v9 registers.
6895 Use SKIP_CALLERS_UNIMP_P to see if unimp insn is at return address.
6896 (sparc_builtin_saveregs): Define v9 version.
6897 (output_cbranch): New argument fp_cond_reg. All callers changed.
6899 (output_return): Use SKIP_CALLERS_UNIMP_P.
6900 (print_operand): New codes '_', '@', 'C', 'D'.
6901 (output_double_int): Handle LABEL_REF and MINUS for v9.
6902 Use ASM_LONGLONG if assembler can handle it.
6903 * sparc/sparc.md (cpu): New attribute.
6904 (type attribute): New value cmove (conditional moves).
6905 (cmpdi): New pattern for v9.
6906 (seq*, sne*): Add v9 support.
6907 (sgt,slt,sge,sle): Explicitly restrict operand 0 to the integer
6908 registers. Try emitting a conditional move for v9.
6909 (sgtu,sltu,sgeu,sleu): Likewise.
6910 (comparison insns): Add v9 versions.
6911 (scc insns): Add DImode versions for v9.
6912 (beq, bne, bgt, blt, bge, ble): If comparing DImode with 0 on v9,
6913 use brxx insns. Use emit_jump_insn, not emit_insn, as the latter
6914 mishandles brxx insns.
6915 (branch insns): Update calls to output_cbranch.
6916 Add v9 versions to support multiple floating point condition code regs.
6917 Add v9 versions to support brxx insns.
6918 (lo_sum, high, pic): Add v9 support.
6919 (symbolic move patterns): Disable for v9.
6920 (DImode, DFmode, TFmode moves): Add v9 support.
6921 (conditional move insns): Define for v9.
6922 (zero_extendqidi2, extendqidi2, zero_extendhidi2, extendhidi2,
6923 zero_extendsidi2, extendsidi2, floatdisf2, floatdidf2, floatditf2,
6924 fix_truncsfdi2, fix_truncdfdi2, fix_trunctfdi2, muldi3, divdi3,
6925 udivdi3, ashldi3, ashrdi3, lshrdi3, ffsdi2): New patterns for v9.
6926 (bitfield compare insn): Add DImode version for v9.
6927 (adddi3, subdi3, negdi2, anddi3, iordi3, xordi3, one_cmpldi2,
6928 mixed mode fp mult insns, negdf2, negtf2, absdf2, abstf2, tablejump,
6929 call, call_value, untyped_call, untyped_return, indirect_jump,
6930 flush_register_windows, flush): Add v9 support.
6931 (ldd peep holes): Disable for v9.
6932 (set/compare peep hole): Define DImode version for v9.
6933 (sign extend/compare peep hole): Likewise.
6934 (return peep holes): Add v9 support.
6935 (call/jump peep holes): Add v9 support.
6936 * ginclude/va-sparc.h: Add v9 support.
6938 Tue Jun 14 22:44:52 1994 Michael Meissner (meissner@osf.org)
6940 * config/i386/i386.h (reg_class): Add AD_REGS that match %eax and
6941 %edx to allow %eax:%edx to be specified as one DI register.
6942 (REG_CLASS_NAMES): Ditto.
6943 (REG_CLASS_CONTENTS): Ditto.
6944 (REG_CLASS_FROM_LETTER): 'A' specifies AD_REGS.
6946 * config/i386/i386.md (umulqihi3): Name the insn with the standard
6948 (mulqihi3, umulsidi3, mulsidi3): Add new widening multiply
6951 Tue Jun 14 22:25:16 1994 Torbjorn Granlund (tege@adder.cygnus.com)
6953 * fold-const.c (encode, decode): Use 4 HOST_WIDE_INTs for encoded
6954 value with HOST_BITS_PER_WIDE_INT/2 bits in each.
6955 (LOWPART, HIGHPART): New macros.
6956 (BASE): Move definition outside of div_and_round_double.
6957 (add_double, mul_double, lshift_double, rshift_double): Rewrite.
6958 (lrotate_double): Use LOWPART, HIGHPART, and BASE.
6959 (rrotate_double): Likewise.
6960 (div_and_round_double): Major changes to code for general case.
6961 Now it actually produces non-garbage results for large operands.
6962 (div_and_round_double): Simplify condition for special code used when
6964 (const_binop): Delete special cases for multiplying by 0, 1, 2, 4, 8.
6965 (fold, case *_DIV_EXPR): Don't try to optimize for overflow.
6966 * machmode.h (MAX_SHORTS): Deleted.
6968 * m68k.md: Trivial simplification of many patterns.
6969 (subsi3): Don't handle CONST_INT for operand 2.
6970 (ashiftrt, op2 > 8): New pattern.
6971 (lshiftrt, op2 > 8): New pattern.
6973 * a29k.md (logical patterns): Tune to give better code for immediate
6975 * a29k.c (cmplsrcb_operand): New predicate.
6976 * a29k.h (PREDICATE_CODES): Add cmplsrcb_operand.
6978 Tue Jun 14 17:52:10 1994 Tor Egge (tegge@flipper.pvv.unit.no)
6980 * m88k/sysv3.h (DO_GLOBAL_CTORS_BODY): Call __builtin_alloca
6981 with a non-zero argument, forcing a frame pointer to be needed.
6983 Tue Jun 14 17:37:41 1994 Mike Collison (collison@sw.stratus.com)
6985 * reload.h (RELOAD_FOR_OPADDR_ADDR): New reload class.
6986 * reload.c (find_reloads): Change secondary reloads of class
6987 RELOAD_FOR_OPERAND_ADDRESS to RELOAD_FOR_OPADDR_ADDR.
6988 * reload1.c (reload): Process and accumulate needs for
6989 RELOAD_FOR_OPADDR_ADDR reloads.
6990 When determining if needs are nongroup needs, ignore
6991 inactive or optional reloads.
6992 (reload_reg_used_in_op_addr_reload): New variable to indicate
6993 when reloads of class RELOAD_FOR_OPADDR_ADDR are in use.
6994 (mark_reload_reg_in_use, clear_reload_reg_in_use):
6995 Process reloads of class RELOAD_FOR_OPADDR_ADDR.
6996 (reload_reg_free_p, reload_reg_free_before_p, reloads_conflict):
6998 (choose_reload_regs): Support RELOAD_FOR_OPADDR_ADDR reloads.
6999 (emit_reload_insns): Output RELOAD_FOR_OPADDR_ADDR reloads.
7001 Tue Jun 14 17:29:53 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
7003 * cccp.c, toplev.c, tree.c, print-tree.c, fold-const.c:
7004 Cast pointer operands to bzero, bcopy, and bcmp to (char *).
7005 * function.c, stmt.c, expmed.c, varasm.c, emit-rtl.c: Likewise.
7006 * dbxout.c, integrate.c, jump.c, real.h, calls.c, cse.c: Likewise.
7007 * loop.c, unroll.c, flow.c, stupid.c, combine.c, regclass.c: Likewise.
7008 * local-alloc.c, global.c, reload.c, reload1.c, sched.c: Likewise.
7009 * genattrtab.c, bc-emit.c, gcc.c, collect2.c: Likewise.
7011 * c-decl.c (min_precision): New function.
7012 (finish_enum): Rewrite code to determine precision required
7015 * cse.c (simplify_unary_operation): Correctly and consistently
7016 handle CONST_INT cases for FLOAT and UNSIGNED_FLOAT.
7018 * xm-alpha.h (sbrk): Don't declare here.
7020 * alpha.h (CONST_COSTS, case CONST_INT): Fix typo.
7022 * tree.c (staticp, case FUNCTION_DECL): A nested function isn't static.
7024 * i386/linux.h (STARTFILE_SPEC): Don't force -static for -g.
7026 * gcc.c (find_a_file): Try EXECUTABLE_SUFFIX first, then file
7029 * jump.c (jump_optimize): Don't delete dead insn if it has a
7032 * fix-header.c (xstrdup): Renamed from strdup.
7033 (check_protection): Call xstrdup, not strdup.
7035 Tue Jun 14 17:26:08 1994 David Edelsohn (edelsohn@npac.syr.edu)
7037 * rs6000.h (TARGET_SWITCHES): Remove -mpowerpc64 and -mno-powerpc64.
7038 * rs6000.c (rs6000_override_options): Remove MPC620 cpu variants.
7040 * rs6000.c (output_prolog): Fix error in loading size of large
7043 Tue Jun 14 17:24:09 1994 Chip Salzenberg (chip@fin.uucp)
7045 * reload1.c (reload_as_needed): Clear spill_reg_store at start.
7046 (emit_reload_insns): Omit erroneous predicate of reload
7047 deletion -- reload_spill_index is not indexed by regno.
7049 Tue Jun 14 15:59:55 1994 Ian Lance Taylor (ian@cygnus.com)
7051 * fixincludes: Wrap assert.h in extern "C" { } to avoid problem on
7052 HP/UX, which uses NO_IMPLICIT_EXTERN_C. Also fix 12 May 94
7055 Tue Jun 14 15:12:50 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7057 * jump.c (condjump_in_parallel_p): New function to detect
7058 conditional jumps within PARALLEL insns.
7059 (jump_optimize): Allow for some simple optimizations involving
7060 conditional jumps within PARALLEL insns.
7061 * reorg.c (get_jump_flags): Handle conditional jumps in PARALLEL
7063 (get_branch_condition, fill_simple_delay_slots): Likewise.
7064 (fill_eager_delay_slots, relax_delay_slots, dbr_schedule): Likewise.
7066 * pa-osf.h (SIZE_TYPE): Define as "long unsigned int" to be
7067 compatable with system include files.
7068 * pa1-osf.h (SIZE_TYPE): Likewise.
7070 * pa1-osf.h (WCHAR_TYPE): Define as "short unsigned int".
7071 (WCHAR_TYPE_SIZE): Define as 16 bits.
7073 * pa.c (output_arg_descriptor): Restore old behavior for SImode
7074 USE insns of FP registers (used by untyped call support).
7076 Mon Jun 6 09:15:43 1994 Richard Earnshaw (rwe11@cl.cam.ac.uk)
7078 * arm.c (arm_reload_out_hi): Rewrite. Add support for processors
7079 running in big-endian mode.
7080 (fp_immediate_constant): Fix typo in argument declaration.
7081 * arm.h (PROMOTE_MODE): Promote HImode integers as signed.
7082 (BYTES_BIG_ENDIAN): Allow OS description to override default.
7083 (LOAD_EXTEND_OP): When big-endian, HImode loads are sign extended.
7084 * arm.md (storehi_bigend): New expansion pattern.
7085 (storeinthi): Rework to generate better code, add big-endian support.
7086 (movhi): Add support for processors running in big-endian mode.
7087 (movhi_bigend): New expansion pattern.
7088 (matcher for movhi): Remove incorrect alternative for storing HImode to
7089 memory. Only match when little endian.
7090 (matcher for big-endian movhi): New pattern.
7091 (matchers/peepholes for extended pre/post increment HImode loads): Only
7092 match when little-endian.
7093 (matcher for operating on adjacent memory locations): Load operation
7094 into arith operands.
7095 (peepholes for extended pre-increment byte loads): New patterns.
7097 Sat Jun 4 21:06:29 1994 Kaveh R. Ghazi (ghazi@noc.rutgers.edu)
7099 * sys-types.h (__gnuc_va_list): Use instead of va_list.
7100 * sys-protos.h (*): Use __gnuc_va_list, not va_list.
7102 Sat Jun 4 07:19:39 1994 Richard Earnshaw (rwe11@cl.cam.ac.uk)
7104 * arm.c (print_multi_reg, output_call, output_call_mem,
7105 output_mov_long_double_fpu_from_arm,
7106 output_mov_long_double_arm_from_fpu,
7107 output_mov_double_fpu_from_arm, output_mov_double_arm_from_fpu,
7108 output_return_instruction, output_func_{prologue,epilogue},
7109 arm_print_operand, output_load_symbol): Print the register prefix
7110 before each register name.
7111 (output_func_prologue, output_lcomm_directive): Output the target
7112 dependent comment char for asm comments.
7113 * arm.h (FUNCTION_PROFILER): Delete duplicate definition.
7114 (FUNCTION_PROFILER, TRAMPOLINE_TEMPLATE, ASM_FILE_START,
7115 ASM_OUTPUT_REG_{PUSH,POP}, PRINT_OPERAND_ADDRESS): Output register
7116 prefix before any explicit register name.
7117 (ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT,
7118 ASM_OUTPUT_COMMON): Output the target dependent comment char.
7119 (ASM_FILE_START): Output register alias for r10.
7120 (REGISTER_NAMES): Output "r9" now for r9, not "rfp".
7121 (ADDITIONAL_REGISTER_NAMES): New macro.
7122 * arm.md (all patterns explicitly mentioning register names): Output
7123 the target dependent prefix before the register name.
7124 (all patterns with asm comments): Output the target dependent comment
7127 Fri Jun 3 18:14:07 1994 Doug Evans (dje@cygnus.com)
7129 * c-common.c (decl_attributes): Fix section attributes.
7130 * varasm.c (make_decl_rtl): If section attribute is being ignored,
7133 Fri Jun 3 15:53:57 1994 Torbjorn Granlund (tege@adder.cygnus.com)
7135 * pa.h (FP_REGNO_P): New macro for intra file usage.
7136 (REGNO_OK_FOR_FP_P): Use FP_REGNO_P.
7137 (FUNCTION_VALUE_REGNO_P): Revert last change.
7138 * pa.md (mulsi3): Use MATCH_DUP for op3, not MATCH_OPERAND.
7140 * pa.h (CONDITIONAL_REGISTER_USAGE): Partially revert last changes;
7141 Make non-existing 1.0 fp regs fixed, including odd-numbered regs.
7142 (enum reg_class): Get rid of SNAKE_FP_REGS, GENERAL_OR_SNAKE_FP_REGS,
7144 (REG_CLASS_NAMES): Likewise.
7145 (REG_CLASS_CONTENTS): Likewise.
7146 (REGNO_REG_CLASS): Likewise.
7147 (HARD_REGNO_MODE_OK): Corresponding changes. Don't force 1.0 fpregs
7148 to even regno here; fixed_regs does the job better.
7149 (FP_REG_CLASS_P): Get rid of SNAKE_FP_REGS.
7150 (REG_CLASS_FROM_LETTER, case 'z'): Deleted.
7151 (HARD_REGNO_NREGS): Partially revert last change.
7152 (CLASS_MAX_NREGS): Partially revert last change.
7153 * pa.md (globally): Delete 'x' constraint or change it to 'f',
7156 Fri Jun 3 09:18:55 1994 Richard Earnshaw (rwe11@cl.cam.ac.uk)
7158 * arm.h (CONST_OK_FOR_LETTER_P): Only allow constants that are valid
7159 when inverted for 'K'. Only allow constants that are valid when
7161 * arm.md (all patterns): Update instruction generation to reflect new
7162 meanings of constraints 'K' and 'L'. Use output type 'B' to
7163 generate an inverted constant. Use output type 'N' to generate a
7164 negated floating point constant.
7166 Thu Jun 2 22:43:58 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7168 * pa.h (TARGET_SWITCHES): Enable TARGET_LONG_CALLS when
7169 TARGET_PORTABLE_RUNTIME is enabled.
7170 * pa.c (output_call): If TARGET_LONG_CALLS is enabled, then emit
7171 an inline long-call sequence.
7172 * pa.md (millicode define_delay): Disable delay slots if
7174 (call_internal_reg, call_value_internal_reg): If TARGET_LONG_CALLS
7175 is enabled, then emit an inline long-call sequence. Fix length
7176 computation for TARGET_LONG_CALLS.
7177 (millicode calls): Fix length computation for TARGET_LONG_CALLS.
7179 * pa.h (ASM_DECLARE_FUNCTION_NAME): Fix typo.
7181 Thu Jun 2 18:28:07 1994 Jason Merrill (jason@deneb.cygnus.com)
7183 * stmt.c (expand_end_bindings): Don't bother emitting cleanups
7186 Thu Jun 2 18:10:36 1994 Stephen L Moshier (moshier@world.std.com)
7188 * libgcc2.c (__floatdisf): Protect against double-rounding error.
7190 Thu Jun 2 17:47:54 1994 David Edelsohn (edelsohn@npac.syr.edu)
7192 * rs6000.h (MASK_PPCFPX): Delete.
7193 (MASK_PPC_GPOPT, MASK_PPC_GFXOPT, TARGET_PPC_GPOPT, TARGET_PPC_GFXOPT):
7195 (TARGET_SWITCHES): Remove -mpowerpc-fpx; add -mpowerpc-gpopt
7196 and -mpowerpc-gfxopt.
7197 * rs6000.c (processor_target_table): Use new macros.
7198 * rs6000.md (define_function_unit): Remove ppc604 from sqrt list.
7199 (divsi3, udivsi3): Remove spaces from PowerPC output templates.
7200 (sqrtsf2, maxsf3, minsf3, sqrtdf2, maxdf3, mindf3): Use new macros.
7201 (floatdidf2, fix_truncdfdi2, ffsdi2, muldi3): New patterns.
7202 ({s,u}muldi3_highpart, divdi3, udivdi3, rotldi3): Likewise.
7203 (movdi): Handle moves between FPRs and GPRs.
7204 (scc insn): Correct swapped compare and delayed_compare attributes.
7206 Thu Jun 2 14:45:04 1994 Richard Earnshaw (rwe11@cl.cam.ac.uk)
7208 * arm.c (arm_condition_code): Move to start of file.
7209 (const_pool_offset): Correct typo.
7210 (fp_const_from_val): New function.
7211 (all instruction generators): mark position where conditionalization
7212 should be with '%?'.
7213 (output_move_double): Use new '%m' output type to simplify load/store
7214 multiple generation.
7215 (shift_instr): Delete.
7216 (shift_op): New function.
7217 (output_arithmetic): Delete.
7218 (output_arithmetic_with_shift): Delete.
7219 (output_arithmetic_with_immediate_multiply): Delete.
7220 (output_shifted_move): Delete.
7221 (output_shift_compare): Delete.
7222 (arm_print_operand): New function.
7223 * arm.h (output_func_{prologue,epilogue}): Change declarations from
7224 output_{prologue,epilogue}.
7225 (arm_output_llc, arithmetic_instr,
7226 output_arithmetic_with_immediate_mulitply,
7227 output_arithmetic_with_shift, shift_instr): Delete function
7229 (ASM_OUTPUT_OPCODE): Delete.
7230 (PRINT_OPERAND): Call arm_print_operand, instead of doing it directly.
7231 (ARM_COMMENT_CHAR): New macro.
7232 (ARM_REG_PREFIX): New macro.
7233 (ARM_SIGN_EXTEND): New macro.
7234 (PRINT_OPERAND_ADDRESS): Delete variable 'shift'. Change type of
7235 variable 'offset' to HOST_WIDE_INT. Use arm_print_operand to handle
7236 shifts in addresses.
7237 * arm.md (all output patterns): Use new capabilities of
7238 arm_print_operand to simplify output sequences. Mark position of
7239 condition code with '%?'.
7241 * riscix.h (ASM_FINAL_SPEC [CROSS_COMPILE]): Correct typo.
7243 Thu Jun 2 08:14:00 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
7245 * c-common.c (c_build_type_variant): Don't change TYPE_MAIN_VARIANT
7248 * expr.c (expand_expr, case ADDR_EXPR): If result is ignored,
7249 just return const0_rtx.
7251 Wed Jun 1 13:52:01 1994 Jason Merrill (jason@deneb.cygnus.com)
7253 * i386/sco4.h: #define NO_IMPLICIT_EXTERN_C.
7255 Wed Jun 1 04:55:06 1994 Richard Earnshaw (rwe11@cl.cam.ac.uk)
7257 * arm.c: General tidy up.
7258 #include <string.h>.
7259 Declare some prototypes.
7260 (output_memory_reference_mode): Change type to enum machine_mode.
7261 (arm_const_nmoves): Delete.
7262 (adjacent_mem_locations, {load,store}_multiple_operation): Explicitly
7263 declare to return int.
7264 ({load,store}_multiple_operation): Change type of 'count', 'base' and
7265 'i' to HOST_WIDE_INT.
7266 (output_add_immediate): Change type of 'n' to HOST_WIDE_INT.
7267 (output_multi_immediate): Change type of Argument 'n' to
7268 HOST_WIDE_INT, if wider than 32 bits, mask out the high bits.
7269 (output_arithmetic_with_immediate_multiply): Change type of 'shift'
7271 (output_func_{prologue,epilogue}): Renamed from
7272 output_{prologue,epilogue}. Check all registers to see if they are
7273 live, but only push/pop them if they are not in call_used_regs.
7274 * arm.h: Delete some dead code.
7275 (FUNCTION_{PROLOGUE,EPILOGUE}): Call output_func_{prologue,epilogue}.
7276 (INITIAL_ELIMINATION_OFFSET): Inspect all registers, but only add
7277 those that are not in call_used_regs.
7278 (GO_IF_LEGITIMATE_INDEX): Change type of variable 'range' to
7279 HOST_WIDE_INT; change type of variable 'code' to enum rtx_code.
7280 (REVERSIBLE_CC_MODE): New macro.
7282 * arm.c (const_pool_offset): New function.
7283 (get_prologue_size): New function.
7284 (output_func_prologue): Eliminate variable code_size.
7285 (output_func_epilogue): Only call arm_increase_location when
7286 optimizing; also add the size of the function just compiled, and the
7287 size of the prologue.
7288 (arm_output_asm_insn): Delete. All callers changed to use
7290 (arm_output_llc): Delete.
7291 (output_load_symbol): New first parameter 'insn'. Rewrite so that
7292 assembler can detect whether we made a mistake.
7293 * arm.h (arm_output_asm_insn): Delete declaration.
7294 (EXTRA_CONSTAINT): New constraint 'R' to match a constant pool label.
7295 Make constraint 'S' never match when not optimizing.
7296 (CONSTANT_ADDRESS_P): Only accept symbols marked with SYMBOL_REF_FLAG
7298 (ENCODE_SECTION_INFO): Don't mark any symbols when not optimizing.
7299 (ASM_OUTPUT_REG_{PUSH,POP}: Don't call arm_increase_location.
7300 (ASM_OUTPUT_ADDR_VEC_ELT): Likewise.
7301 * arm.md (all insn and peephole patterns): Rewrite without using
7302 arm_output_asm_insn.
7303 (matcher for movsi): New alternative to load symbol directly into a
7304 register. Add new parameter in call to output_load_symbol.
7306 * arm.md (all patterns): Length attribute now describes length in
7308 * arm.c (short_branch): Convert length calculations to bytes.
7310 Tue May 31 20:35:39 1994 Torbjorn Granlund (tege@adder.cygnus.com)
7312 * pa.c (emit_move_sequence): Add missing argument to symbolic_operand.
7313 (output_block_move): Prefer addl to add.
7314 (print_operand): Print fp regs with L suffix when appropriate.
7315 (output_arg_descriptor): Rewrite to accomodate new convention for
7318 * pa.h (SECONDARY_MEMORY_NEEDED): Simplify.
7319 (ADDITIONAL_REGISTER_NAMES): Define.
7320 (CONDITIONAL_REGISTER_USAGE): Make PIC_OFFSET_TABLE_REGNUM fixed
7323 Changes to combine fp registers for 1.0 and 1.1 architectures.
7324 (Make explicit clobbers of fp registers work.)
7325 * pa.h (FIRST_PSEUDO_REGISTER): Now 89.
7326 (FIXED_REGISTERS): Delete 1.0 fp registers,
7327 (CALL_USED_REGISTERS): Likewise.
7328 (CONDITIONAL_REGISTER_USAGE): Almost deleted.
7329 (REG_ALLOC_ORDER): Update register numbers.
7330 (HARD_REGNO_NREGS): Delete special case for 1.0 fp registers.
7331 (HARD_REGNO_MODE_OK): Rewrite. Don't allow use of odd fp registers
7332 (enum reg_class): Delete HI_SNAKE_FP_REGS and FP_OR_SNAKE_FP_REGS.
7333 (REG_CLASS_NAMES): Corresponding change.
7334 (REG_CLASS_CONTENTS): Delete HI_SNAKE_FP_REGS and
7335 FP_OR_SNAKE_FP_REGS. Make SNAKE_FP_REGS class contain all fp
7336 registers. Update all values for changed register numbering.
7337 (REGNO_REG_CLASS): Corresponding changes.
7338 (REG_CLASS_FROM_LETTER): Delete 'y'.
7339 (FP_REG_CLASS_P): No longer test HI_SNAKE_FP_REGS.
7340 (CLASS_MAX_NREGS): Delete special case for 1.1 fp registers.
7341 (FUNCTION_VALUE): Remove TARGET_SNAKE conditionals.
7342 (LIBCALL_VALUE): Likewise.
7343 (FUNCTION_ARG_REGNO_P): Likewise.
7344 (FUNCTION_VALUE_REGNO_P): Likewise. Add registers 29 and 33.
7345 (FUNCTION_ARG): Remove TARGET_SNAKE conditionals. Update register
7347 (REGNO_OK_FOR_FP_P): Update register number.
7348 (REGISTER_NAMES): Delete special entries for 1.0 fp registers.
7349 (DBX_REGISTER_NUMBER): Likewise.
7350 * pa.c (compute_frame_size): Update for changed register numbers.
7351 Simplify loops over general registers to stop at register 4.
7352 (hppa_expand_prologue): Likewise.
7353 (hppa_expand_epilogue): Likewise.
7355 Tue May 31 19:32:18 1994 Jim Wilson (wilson@cygnus.com)
7357 * mips.md (movesi_unaligned, movsi_ulw, movsi_usw): Delete.
7358 (extv, extzv, insv, movsi_ulw, movsi_usw): New patterns.
7360 * dbxout.c (dbxout_type): Always emit cross-references if
7361 use_gnu_debug_info_extensions set.
7363 * final.c (output_source_line): Call xcoffout_source_line.
7364 * xcoffout.c (xcoff_lastfile): New variable.
7365 (ABS_OR_RELATIVE_LINENO, ASM_OUTPUT_SOURCE_LINE): Define here.
7366 (xcoffout_source_file, xcoffout_source_line): New functions.
7367 (xcoffout_declare_function): Use xcoffout_source_file.
7368 * xcoffout.h (xcoff_lastfile): Declare.
7369 (DBX_OUTPUT_MAIN_SOURCE_FILENAME): Clean up. Set xcoff_lastfile.
7370 (ABS_OR_RELATIVE_LINENO, ASM_OUTPUT_SOURCE_LINE): Delete here.
7371 (DBX_OUTPUT_SOURCE_FILENAME): Delete.
7373 * unroll.c (copy_loop_body): Copy CALL_INSN_FUNCTION_USAGE field.
7375 * sparc.h (ASM_SPEC): Don't pass -k when -pg or -p given.
7376 (OVERRIDE_OPTIONS): Warn when disabling -fpic.
7378 * mips-tdump.c (print_global_hdr): Remove "l" from printf format
7380 (print_sym_hdr): Add missing "l" to printf formats.
7381 (print_symbol, print_file_desc): Likewise.
7383 * i960.h (PUT_SDB_TYPE): Adjust value for compatibility with GNU960
7386 * sparc.h (LIB_SPEC): Don't link in /usr/lib/bb_link.o with -a.
7387 (CONDITIONAL_REGISTER_USAGE): When -a, make %g1 and %g2 fixed.
7389 * mips/iris5gas.h, mips/iris5gdb.h: New files.
7390 * configure (mips-sgi-irix5): Use iris5gas.h and iris5gdb.h.
7392 Tue May 31 19:21:44 1994 Torbjorn Granlund (tege@adder.cygnus.com)
7394 * pa.md (movsi matcher): Use ldi for moving of 0 to a reg.
7395 (movhi matcher): Likewise.
7396 (movqi matcher): Likewise.
7397 (many patterns): Prefer addl to add, and shNaddl to shNadd.
7398 (define_split for (plus (reg) (large_constant))): Cleanup.
7399 (divsi3): Use match_dup for operand 3, not match_operand.
7400 (udivsi3): Likewise.
7402 (umodsi3): Likewise.
7404 Tue May 31 19:15:31 1994 Doug Evans (dje@cygnus.com)
7406 * toplev.c (v_pedwarn_with_decl): Don't even issue warnings from
7407 pedantic errors in system header files.
7409 Tue May 31 17:16:41 1994 David Edelsohn (edelsohn@npac.syr.edu)
7411 * rs6000.md (extendqidi2, extendqisi2, extendqihi2): Remove
7412 non-existent lba instruction.
7413 (ashrdi3): Undo previous change.
7415 Tue May 31 12:30:00 1994 Jason Merrill (jason@deneb.cygnus.com)
7417 * toplev.c (lang_options): Add -f{no-,}implicit-templates.
7418 (compile_file): Don't output SDB debugging info for
7421 Tue May 31 07:20:18 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
7423 * stmt.c (expand_asm_operands): Make MEM with BLKmode for clobber
7425 * loop.c (note_addr_stored): A SET or CLOBBER of a BLKmode MEM means
7426 that all memory is clobbered.
7428 Mon May 30 14:01:48 1994 Doug Evans (dje@cygnus.com)
7430 * gcc.c (default_compilers): Pass -MG to cpp if present.
7431 (option_map): New option --print-missing-file-dependencies/-MG.
7432 * cccp.c (print_deps_missing_files): New global.
7433 (main): New argument -MG. Treat missing include files as
7434 generated files and output dependencies for them.
7436 Mon May 30 10:42:14 1994 Frederic Pierresteguy (F.Pierresteguy@frcl.bull.fr)
7438 * m68k/dpx2cdbx.h (PREFERRED_DEBUGGING_TYPE): Define as SDB_DEBUG.
7439 * m68k/dpx2g.h: Disable code that manages gcc.ifile.
7441 Mon May 30 10:35:49 1994 Stephen L Moshier (moshier@world.std.com)
7443 * optabs.c (expand_float): Avoid double-rounding when float is
7444 is narrower than int.
7445 * real.c (significand_size): New function.
7446 * real.h (significand_size): Declare.
7448 Sun May 29 15:58:21 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
7450 * jump.c (jump_optimize): When deleting unneeded stack adjusts
7451 or mem-mem copies, use delete_computation.
7453 * combine.c (force_to_mode): NEXT_SELECT is true for NEG.
7454 Only exit quickly if X is narrower than MODE and MASK has all
7455 bits in X's mode set.
7456 (force_to_mode, case SUBREG): Don't check for WORD_REGISTER_OPERATIONS.
7457 (force_to_mode, case NEG): Special-case test for low-order bit.
7459 * rtlanal.c (volatile_insn_p): Call ourselves in recursive scan.
7461 Sat May 28 19:03:23 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
7463 * c-parse.in (init, compstmt, stmt, all_iter_stmt_with_decl):
7464 If the lookahead token is a constant and we need to pop the
7465 momentary obstack, don't free it.
7467 * stmt.c (expand_end_case): Have INDEX_TYPE track conversions done
7470 Sat May 28 06:25:40 1994 Torbjorn Granlund (tege@adder.cygnus.com)
7472 * pa.md (call): Force address into register in non-symbol case.
7473 (call_value): Likewise.
7475 Fri May 27 19:29:30 1994 Doug Evans (dje@cygnus.com)
7477 * toplev.c (compile_file): Call init_regs after `word_mode' is valid.
7478 * regclass.c (init_reg_modes): If choose_hard_reg_mode can't find a
7479 valid mode, fall back to word_mode.
7481 * expr.c (use_reg): Fix recording of USE information.
7482 (use_regs): Likewise.
7483 Delete argument `reg'. All callers changed.
7484 * expr.h (use_regs): Update prototype.
7485 * calls.c (expand_call): Update call to use_regs. Call use_reg
7486 if parm is wholly in registers.
7488 * configure: If compiling in separate dir, add subdirs to .gdbinit.
7490 Fri May 27 18:18:23 1994 David Edelsohn (edelsohn@npac.syr.edu)
7492 * rs6000.md (zero_extendqidi2, zero_extendhidi2): Use rldicl
7494 * rs6000.h (RTX_COSTS): Update PPC603 and PPC604 values.
7496 Fri May 27 17:56:07 1994 Douglas Rupp (drupp@cs.washington.edu)
7498 * i386/xm-dos.h (DIR_SEPARATOR): New macro.
7500 Fri May 27 17:45:08 1994 Holger Teutsch (teutsch@ffm-iw.Degussa.DE)
7502 * clipper.h (PCC_STATIC_STRUCT_RETURN): No longer defined.
7504 Fri May 27 17:36:53 1994 Pat Rankin (rankin@eql.caltech.edu)
7506 * make-l2.com: Update to handle `ginclude' subdirectory
7507 when compiling libgcc2.
7509 Fri May 27 17:30:37 1994 Matthias Pfaller (leo@marco.de)
7511 * ns32k.c (print_operand_address): print_operand_address
7512 creates PLUS-rtls for internal use, so it has to handle them.
7514 Fri May 27 16:13:53 1994 Chris Torek (torek@elf.bsdi.com)
7516 * function.c (assign_parms): Set REG_USERVAR_P when parm
7517 is passed by invisible reference but can live in register.
7519 Fri May 27 06:03:11 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
7521 * reload.c (find_reloads): Revert to old code and change secondary
7522 reloads to RELOAD_FOR_OPERAND_ADDRESS too.
7524 * combine.c (try_combine): Don't make complemented XOR for
7525 constant out of range.
7527 * alpha.c (or_operand): Renamed from ior_operand.
7528 * alpha.h (PREDICATE_CODES): Likewise.
7529 * alpha.md (iordi3): Likewise.
7530 (xordi3): Use or_operand and add second alternative.
7531 (eqv): Only accept registers.
7533 * expr.c (expand_expr, case CONSTRUCTOR): If constant and large
7534 enough for memcpy to be used, build constructor into static memory.
7536 * alpha.md: Add define_split for sign-extended PLUS of a MULT
7537 of an SImode comparison.
7539 * combine.c (simplify_comparison): Narrow comparison for AND's
7540 that are ZERO_EXTENDs.
7541 Can widen for all comparisons if inputs are both sign extended.
7543 * reload1.c (reload_as_needed): Update spill_reg_order once we sort
7546 * alpha.md: Add define_split for sign-extended PLUS of an SImode
7547 comparison; change comparison to DImode.
7549 * stmt.c (expand_end_case): Use old type of INDEX_EXPR when making
7552 * local-alloc.c (requires_inout): Renamed from requires_inout_p and
7553 returns number of alternatives that require a match.
7554 (block_alloc): Use new function and handle case where all
7555 alternatives have some operand that must match operand 0.
7557 * local-alloc.c (qty_phys_num{,_copy}_sugg): New variables.
7558 (qty_phys_has{,_copy}_sugg): Deleted.
7559 (qty_sugg_compare{,_1}): New functions.
7560 (local_alloc): Allocate and init new vars instead of deleted ones.
7561 (block_alloc): Update and use new vars.
7562 Order quantities using new functions when allocating quantities
7563 with suggested registers.
7564 (combine_regs, find_free_reg): Use new vars to count number
7567 Thu May 26 11:55:44 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
7569 * jump.c (jump_optimize): When looking for an `if' statement
7570 that takes two insns to compute a result using a temporary,
7571 allow the temporary to be a SUBREG.
7573 * combine.c (simplify_comparison): Call CANONICALIZE_COMPARISON,
7575 * alpha.h (CANONICALIZE_COMPARISON): New macro.
7577 * combine.c (simplify_if_then_else): Don't make (mult (cond))
7578 in simple case; leave as IF_THEN_ELSE instead.
7580 * expmed.c (expand_divmod): Correctly set CAN_CLOBBER_OP0 when we've
7581 converted OP0 to COMPUTE_MODE.
7583 Thu May 26 11:41:58 1994 Ian Lance Taylor (ian@cygnus.com)
7585 * fixincludes: Protect bool in curses.h with #ifndef __cplusplus,
7586 since g++ now defines bool as a basic type.
7588 * fixinc.svr4: Protect definition of __P used in Solaris math.h
7589 and floatingpoint.h to avoid future fixproto conflicts.
7591 * Makefile.in (stmp-fixinc): Don't pass ${srcdir} argument to
7592 $(FIXINCLUDES); no longer needed, and always problematical for
7593 binary only installations.
7594 * fixincludes: Remove initialization of ${SRCDIR}. Don't
7595 explicitly copy over multimedia/audio_errno.h; should be handled
7596 by Oct 11, 1993 change.
7597 * fixinc.svr4: Remove initialization of ${SRCDIR}.
7598 * fixinc.sco, fixinc.dgux: Likewise.
7600 Fri May 20 12:48:24 1994 Jim Wilson (wilson@cygnus.com)
7602 * stmt.c (expand_exit_loop_if_false): Emit conditional jump around
7603 unconditional loop exit instead of conditional loop exit.
7605 * rs6000.c (output_prolog): Use multiple fputs calls instead of
7606 one call with multiple strings.
7608 * iris4.h (STARTFILE_SPEC, LIB_SPEC): Define.
7610 * xcoffout.c (MAKE_LINE_SAFE): Delete.
7611 (ASM_OUTPUT_LBB, ASM_OUTPUT_LBE): Don't use MAKE_LINE_SAFE.
7613 Fri May 20 01:18:30 1994 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7615 * config.sub (basic_machine): Accept cxux*.
7617 Thu May 19 19:12:41 1994 Mike Stump (mrs@cygnus.com)
7619 * calls.c (expand_call): Only destroy temps here, if -fshort-temps
7622 Thu May 19 19:07:59 1994 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7624 * config.sub: Fix unrecognized os error message.
7626 Thu May 19 17:46:55 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
7628 * reload1.c (emit_reload_insns): When seeing if an equivalent
7629 register can have it's output reload deleted, check for REG_DEAD
7630 notes for reload_in instead of calling dead_or_set_p.
7632 Thu May 19 16:38:32 1994 Stephen L Moshier (moshier@world.std.com)
7634 * emit-rtl.c (operand_subword): Fix arg of REAL_VALUE_TO_TARGET_SINGLE
7635 and .._DOUBLE. Permit float subword extraction when host's word
7636 width is wider than target's.
7638 Thu May 19 15:09:21 1994 Ian Lance Taylor (ian@cygnus.com)
7640 * fixincludes: Make OSF/1 getopt.h fix work on AIX also.
7642 Wed May 18 15:34:10 1994 Jason Merrill (jason@deneb.cygnus.com)
7644 * fixincludes: Add forward declaration of struct exception to
7647 Wed May 18 12:46:46 1994 Per Bothner (bothner@kalessin.cygnus.com)
7649 * stor-layout.c (layout_decl): Allow any integral types
7650 for bit fields. (Specifically, C++ now has a 'bool' type.)
7652 Wed May 18 16:32:40 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
7654 * reload1.c (compare_spill_regs): Fix typo in declaration.
7656 Wed May 18 10:39:00 1994 Brendan Kehoe (brendan@lisa.cygnus.com)
7658 * fixinc.svr4: Avoid the SVR4 typedef of bool in curses.h when
7659 compiling for C++, since g++ now supports it as an official typename.
7661 Tue May 17 18:06:32 1994 Matthias Pfaller (leo@marco.de)
7663 * ns32k.md: Don't use the extsd/extd instructions on the ns32532.
7665 Tue May 17 17:44:38 1994 Pat Rankin (rankin@eql.caltech.edu)
7667 * make-cc1.com (CFLAGS): Separate include file handling; for
7668 stage 1, CFLAGS1 is appended to CFLAGS, otherwise CFLAGS2.
7670 Tue May 17 16:35:22 1994 Jason Merrill (jason@deneb.cygnus.com)
7672 * convert.c (convert_to_real): Accept boolean values.
7674 * config/m68k/hp320.h: #define NO_IMPLICIT_EXTERN_C
7676 Tue May 17 15:52:05 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
7678 * libgcc2.c (__umoddi3): Correct type of variable `w'.
7680 * combine.c (simplify_set): Move call to make_field_assignment
7681 to end; if SRC or DEST is a (clobber (const_int 0)), return it.
7682 (force_to_mode): If X is a CALL, just return it.
7684 * reload.c (find_reloads): Properly account for cost when
7685 constant is forced to memory to ensure same alternative chosen later.
7687 Tue May 17 11:30:19 1994 Richard Earnshaw (rwe11@cl.cam.ac.uk)
7689 * combine.c (simplify_set): Use rtx_equal_p to compare cc_use and its
7691 (make_extraction): Don't put a subreg around a register if it is
7692 already in the correct mode.
7694 * reload1.c (compare_spill_regs): New function.
7695 (reload_as_needed): Sort the spilled regs.
7696 (allocate_reload_reg): If we have group needs and failure would be
7697 fatal, do not try to do round-robin allocation of the spill regs.
7699 Mon May 16 18:58:10 1994 David Edelsohn (edelsohn@npac.syr.edu)
7701 * rs6000.md (zero_extendqidi2): Fix omission of TARGET_POWERPC64
7702 test in previous change.
7704 Mon May 16 14:59:25 1994 Per Bothner (bothner@cygnus.com)
7706 * dbxout.c (dbxout_type): When emitting an ENUMERAL_TYPE, if
7707 the precision is different from the default precision (perhaps
7708 because of -fshort-enums), write out the precision.
7710 Mon May 16 17:44:49 1994 Stephen L Moshier (moshier@world.std.com)
7712 * real.c (ereal_from_int, ereal_to_int, etarsingle): Correct
7713 signed/unsigned discrepancies.
7714 (ereal_from_double): Avoid "right shift count too big" warning
7716 * final.c (split_double): Fix arg of REAL_VALUE_TO_TARGET_DOUBLE.
7718 * real.h (REAL_VALUE_FROM_TARGET_SINGLE, .._DOUBLE): Change
7719 arg from long to HOST_WIDE_INT.
7720 * real.c (ereal_from_float, .._double): Likewise, and unpack
7723 Mon May 16 16:16:32 1994 Richard Earnshaw (rwe11@cl.cam.ac.uk)
7725 * flow.c (try_pre_increment_1): Don't try to create a pre-increment
7726 expression if the register dies in the succeeding insn.
7728 * expr.c: Use #ifdef TARGET_EDOM, not #if.
7730 * expr.c (convert_move): When {zero,sign}_extending, allow a wider
7731 intermediate than to_mode if truncation is a no-op.
7733 Mon May 16 11:49:28 1994 Doug Evans (dje@cygnus.com)
7735 * m68k/apollo68.h (REGISTER_PREFIX_MD): Delete.
7737 Mon May 16 08:11:57 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
7739 * rs6000.c (rs6000_convert_preincs): Delete.
7740 * rs6000.h (FINAL_PRESCAN_INSN): Delete.
7742 * c-typeck.c (initializer_constant_valid_p): Rework to use
7743 precision, not size.
7744 Allow conversions from integer to pointer if int is wide enough.
7746 * c-decl.c (finish_enum): Handle VALUES being an ERROR_MARK.
7748 * rs6000.md: Replace bogus "andil" opcode with rlinm.
7750 Sat May 14 21:26:05 1994 Doug Evans (dje@cygnus.com)
7752 * hard-reg-set.h (GO_IF_HARD_REG_EQUAL): Fix typo.
7754 * jump.c (find_cross_jump): Two CALL_INSNs only compare equal if
7755 their CALL_INSN_FUNCTION_USAGEs are the same as well.
7757 * stupid.c (stupid_life_analysis): Make sure a function result reg
7758 is still live if it contains an argument.
7760 Fri May 13 22:17:48 1994 Doug Evans (dje@cygnus.com)
7762 * reorg.c (mark_referenced_resources): Fix typo.
7764 Fri May 13 18:54:38 1994 Jason Merrill (jason@deneb.cygnus.com)
7766 * integrate.c (integrate_decl_tree): Use copy_node to make a copy
7767 of the decl. Also call copy_lang_decl to copy the
7768 language-specific bits.
7769 * tree.h: Declare copy_lang_decl.
7770 * c-decl.c (copy_lang_decl): No-op function that will never
7773 Fri May 13 15:12:20 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
7775 * cse.c (cse_insn): Correctly check for two modes being the
7776 same number of words.
7778 Fri May 13 05:03:51 1994 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7780 * c-parse.in (enumlist): Add error alternative.
7782 Thu May 12 23:25:38 1994 Jason Merrill (jason@deneb.cygnus.com)
7784 * c-common.c (truthvalue_conversion): If expr is a BIT_AND_EXPR
7785 where one of the operands is integer_onep, just return expr.
7787 Thu May 12 20:08:49 1994 Mike Stump (mrs@cygnus.com)
7789 Fixup lifetime of temporaries.
7791 * calls.c (expand_call): Only destroy temporaries at the end
7792 of function calls, if flag_short_temps is set.
7793 * expr.c (safe_from_p, expand_expr): Handle CLEANUP_POINT_EXPRs.
7794 * expr.c (expand_expr): Improve handling of temporaries inside
7795 COND_EXPRs, cures call to sorry.
7796 * expr.c (defer_cleanups_to): New routine to handle the deferral
7798 * flags.h (flag_short_temps): New flag, to allow better control
7799 over the lifetime of temporaries.
7800 * toplev.c (flag_short_temps, lang_options): Ditto.
7801 * tree.def (CLEANUP_POINT_EXPR): Add, to allow better control over
7802 the lifetime of temporaries.
7804 Thu May 12 19:33:54 1994 David Edelsohn (edelsohn@npac.syr.edu)
7806 * rs6000.md (function units): Numerous cycle count change.
7807 (zero_extendqidi2, extendqidi2, zero_extendhidi2): New patterns.
7808 (extendhidi2, zero_extendsidi2, extendsidi2): Likewise.
7809 (zero_extendqisi2, zero_extendqihi2, zero_extendhisi2): Use
7810 andil/andi instead of rlinm/rlwinm.
7811 (zero_extendqihi2): Add condition register variants.
7812 (extendqisi2, extendqihi2): Use extsb for PowerPC.
7813 (adddi3, subdi3, negdi2, ashrdi3): Emulate only if !TARGET_POWERPC64.
7814 (movdf, movdi, movti): New PowerPC64 versions.
7815 (load/store with update): New PowerPC64 patterns.
7817 Thu May 12 18:50:55 1994 Stephen L Moshier (moshier@world.std.com)
7819 * real.c (m16m): Change first arg to int; all callers changed.
7821 Thu May 12 18:46:26 1994 Bill Cox (bill@cygnus.com)
7823 * fixincludes: Add definition of DBL_MAX to math.h for Lynx math.h.
7824 Correct return type of strlen in Lynx string.h.
7825 Delete definition of 'void' as 'int' from Lynx curses.h.
7827 Thu May 12 18:11:33 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
7829 * reload.c (find_reloads): Don't change a secondary reload
7830 to RELOAD_FOR_OPERAND_ADDRESS.
7832 * function.c (assign_parms): Fix typo in previous change.
7834 Thu May 12 15:48:54 1994 Stephen R. van den Berg (berg@pool.informatik.rwth-aachen.de)
7836 * c-common.c (decl_attributes): Revert to identifiers for
7838 * libgcc2.c: Likewise.
7840 Thu May 12 15:41:38 1994 Pat Rankin (rankin@eql.caltech.edu)
7842 * vax/xm-vms.h (lookup_name_current_level_global): New macro.
7844 Wed May 11 17:44:47 1994 Jim Wilson (wilson@cygnus.com)
7846 * cse.c (cse_insn): Set src_eqv if the dest is a STRICT_LOW_PART.
7848 * expmed.c (store_fixed_bit_field): Delete code to handle
7849 MODE_FLOAT values here.
7850 (store_bit_field): Put it here instead.
7852 Wed May 11 16:18:21 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
7854 * a29k.c (a29k_clobbers_to): New function.
7855 * a29k.md (clobbers_to): Deleted.
7856 (call_internal, call_value_internal): New patterns.
7857 (call, call_value): Just call new patterns and a29k_clobbers_to.
7859 * stor-layout.c (layout_type): Use POINTER_SIZE, instead of width
7860 of Pmode, when appropriate.
7862 * calls.c (emit_call_1): Put new function usage data at end of
7863 any data already there.
7864 * expr.c (expand_builtin_apply): Likewise.
7866 * sched.c (sched_analyze_insn): Fix typo in last change.
7868 Wed May 11 14:45:12 1994 Doug Evans (dje@cygnus.com)
7870 * configure: Fix handing case of no language subdirs.
7872 Wed May 11 12:11:40 1994 Ian Lance Taylor (ian@cygnus.com)
7874 * fixincludes: Don't recursively search symlinks to `.'.
7876 Tue May 10 17:49:57 1994 Stephen R. van den Berg (berg@pool.informatik.rwth-aachen.de)
7878 * configure: Include stage4 in the list.
7880 * gcc.c (process_command): Kludge in stageN/../include instead of
7883 Mon May 9 21:04:19 1994 Jim Wilson (wilson@cygnus.com)
7885 * sparc.h (*TF*_LIBCALL): Delete `*' from libcall name.
7887 Mon May 9 18:42:10 1994 Matthias Pfaller (leo@marco.de)
7889 * ns32k.c (output_move_dconst): Fix errors on ranges.
7891 Mon May 9 18:33:16 1994 Chris Torek (torek@bsdi.com)
7893 * gcc.c (delete_if_ordinary): New function.
7894 (delete_temp_files, delete_failure_queue): Call it.
7896 Sat May 7 12:12:58 1994 Andreas Neubacher (aneubach@risc.uni-linz.ac.at)
7898 * i386/seq-sysv3.h (LIB_SPEC): Support -fshared-data.
7899 (CPP_SPEC): Set _SEQUENT_ to 1.
7900 (SHARED_SECTION_ASM_OP, ASM_OUTPUT_SHARED_COMMON): Supply new macros.
7901 (SHARED_BSS_SECTION_ASM_OP, BSS_SECTION_FUNCTION): Likewise.
7903 Sat May 7 10:09:49 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
7905 * reorg.c (mark_{referenced,set}_resources): Fix typos in last change.
7907 * reload1.c (emit_reload_insns): Don't try to delete output reload
7910 * i386.h (REG_ALLOC_ORDER): New macro.
7912 * sched.c (sched_analyze_insn, attach_deaths_insn): Look at
7913 CALL_INSN_FUNCTION_USAGE.
7915 * reload1.c (choose_reload_regs): Remove previous change.
7917 Fri May 6 20:32:22 1994 Doug Evans (dje@canuck.cygnus.com)
7919 * sparc.c (leaf_reg_backmap): Delete.
7920 (sparc_flat_compute_frame_size): Renamed from
7921 sparc_frw_compute_frame_size. All callers changed.
7922 (sparc_flat_save_restore): Likewise.
7923 (sparc_flat_output_function_prologue): Likewise.
7924 Delete decl of call_used_regs.
7925 Delete reference to frame_base_name, use frame pointer explicitly.
7926 Print prologue end marker.
7927 (sparc_flat_output_function_epilogue): Likewise (renaming).
7928 Delete decls of asm_out_data_file, asm_out_file, call_used_regs.
7929 Print epilogue start marker.
7930 (sparc_flat_epilogue_delay_slots): Likewise (renaming).
7931 (sparc_flat_eligible_for_epilogue_delay): Likewise.
7932 * sparc.h (TARGET_FRW): Add note saying this option is deprecated.
7933 (TARGET_FLAT): Renamed from TARGET_FRW_COMPAT.
7934 (TARGET_SWITCHES): Delete references to -mfrw, -mfrw-compat.
7936 (CONDITIONAL_REGISTER_USAGE): If -mflat, fix %i7, rename "%fp"
7937 to "%i7", and make %g7 a global_reg.
7938 (FRAME_POINTER_REQUIRED): Handle -mflat.
7939 (INITIAL_FRAME_POINTER_OFFSET): Likewise.
7940 (ARG_POINTER_REGNUM): Explicitly say it's the frame pointer.
7941 (LEAF_REGISTERS): Make %g7 not a leaf register.
7942 (leaf_reg_backmap): Delete.
7943 (LEAF_REG_BACKMAP): Likewise.
7944 (FUNCTION_PROLOGUE): Handle -mflat.
7945 (FUNCTION_EPILOGUE): Likewise.
7946 (DELAY_SLOTS_FOR_EPILOGUE): Likewise.
7947 (ELIGIBLE_FOR_EPILOGUE_DELAY): Likewise.
7949 Fri May 6 14:05:00 1994 Stephen R. van den Berg (berg@pool.informatik.rwth-aachen.de)
7951 * tree.h (TYPE_ATTRIBUTES): New macro.
7952 (struct tree_type): attributes, new field.
7953 (precision): Move this field up for better alignment.
7954 (attribute_list_{equal,contained}): Prototype for new functions.
7955 (build_type_attribute_variant): Prototype for new function.
7956 * c-parse.in: Rewrite attribute parsing; update the expected
7957 conflicts and state numbers.
7958 * tree.c (TYPE_HASH): Move definition to top of file.
7959 (make_node): Add support for SET_DEFAULT_TYPE_ATTRIBUTES.
7960 (build_type_attribute_variant): New function.
7961 (type_hash_lookup): Check if the attributes match.
7962 (attribute_list_{equal,contained}): New functions.
7963 * c-typeck.c (common_type): Add attribute merging.
7964 (comp_types): Use COMP_TYPE_ATTRIBUTES macro.
7965 * print-tree.c (print_node): Print attributes.
7966 * c-common.c (decl_attributes): Move the attribute
7967 recognition and rejection here from c-parse.in.
7968 (decl_attributes): Use VALID_MACHINE_ATTRIBUTE macro.
7970 * regclass.c (init_reg_sets_1): Eliminate several permanent
7973 * rtl.def (CALL_INSN): Define new CALL_INSN_FUNCTION_USAGE field.
7974 * rtl.h (CALL_INSN_FUNCTION_USAGE): New macro.
7975 (find_reg{,no}_fusage): Prototype for new function.
7976 * rtlanal.c (reg_used_between_p): Check usage exprs on CALL_INSNs.
7977 (reg_referenced_between_p, reg_set_p, dead_or_set_regno_p): Likewise.
7978 (find_reg{,no}_fusage): New functions.
7979 * combine.c (try_combine): Restrict combining on CALL_INSNs.
7980 (distribute_{notes,links}): Look at CALL_INSN_FUNCTION_USAGE.
7981 * cse.c (cse_insn): Invalidate CLOBBERed registers.
7982 (count_reg_usage): Count registers in USE rtls on CALL_INSNs.
7983 * emit-rtl.c (make_call_insn_raw): New function.
7984 (emit_call_insn{,_before}): Use make_call_insn_raw.
7985 * calls.c (prepare_call_address, emit_call_1, expand_call): Change
7986 from USE and CLOBBER insns to using CALL_INSN_FUNCTION_USAGE.
7987 (emit_library_call{,_value}): Likewise.
7988 * expr.c (use_regs, expand_builtin_apply): Likewise.
7989 * expr.h (use_regs): Likewise.
7990 * flow.c (flow_analysis, find_basic_blocks): Likewise.
7991 * caller-save.c (insert_save_restore): Likewise.
7992 * function.c (fixup_var_refs_insns): Likewise.
7993 * jump.c (find_cross_jump, get_label_{before,after}): Likewise.
7994 * reload1.c (emit_reload_insns): Likewise.
7995 * reorg.c (mark_referenced_resources, mark_set_resources): Likewise.
7996 * integrate.c (save_for_inline_copying, expand_inline_function):
7997 Copy CALL_INSN_FUNCTION_USAGE field.
7998 * reload1.c (choose_reload_regs): Ban filled argument registers.
7999 * caller-save.c (save_call_clobbered_regs): CALL_INSN_FUNCTION_USAGE
8000 requires a sharper liveliness check.
8001 * flow.c (propagate_block): Mark all registers mentioned in USE
8002 usage expressions on a CALL_INSN as used.
8003 * jump.c (find_cross_jump): If STACK_REGS is defined two
8004 CALL_INSNs only compare equal if their USE usage rtls are
8006 * stupid.c (stupid_life_analysis): Check the usage information
8009 * function.c (assign_parms): Spread out the REG_EQUIV notes
8012 Fri May 6 12:43:10 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
8014 * reload.c (find_reloads): Ignore alternatives that will
8015 not be reloadable due to PREFERRED_RELOAD_CLASS.
8017 * explow.c (allocate_dynamic_stack_space): Just return
8018 virtual_stack_dynamic_rtx if asking for zero bytes.
8019 Set current_function_calls_alloca here and also record new
8020 stack level for nonlocal gotos.
8021 * expr.c (expand_builtin, case BUILT_IN_ALLOCA): Don't
8022 set current_function_calls_alloca here nor record new
8023 stack level for nonlocal gotos.
8024 * stmt.c (expand_decl): Likewise.
8026 * function.c (assign_parms): Use expr_size when appropriate.
8028 * c-typeck.c (comptypes): An enum type is compatible with type of
8029 same signedness as well as precision.
8031 * alpha.h (CONST_COSTS): Revise all costs.
8032 * alpha.md (addsi3, subsi3): Add define_expand to make
8033 adddi3/subdi3; old pattern is now anonymous.
8035 * combine.c (simplify_rtx, case MULT): Don't convert MULT to
8037 (simplify_logical, case IOR): Convert back to PLUS if valid and
8038 it will combine with another PLUS.
8039 (extract_left_shift): New function.
8040 (make_compound_operation, case ASHIFTRT): Simplify by calling it.
8041 (force_to_mode): Don't ignore if X is a SUBREG.
8042 (force_to_mode, case AND): Try to turn unchecked bits on
8043 instead of just off and see which is cheaper.
8045 Fri May 6 11:22:23 1994 Ian Lance Taylor (ian@cygnus.com)
8047 * Makefile.in (libgcc1.a, libgcc2.a): Don't ignore errors in for
8048 loops over $(LIB[12]FUNCS_EXTRA).
8050 Fri May 6 06:14:56 1994 Mike Stump (mrs@cygnus.com)
8052 * expr.c (expand_cleanups_to): Tell expand_expr that we are going
8053 to ignore the result of the cleanup.
8055 Thu May 5 17:45:02 1994 Stan Shebs (shebs@andros.cygnus.com)
8057 * gcc.c (do_spec_1): If -save-temps, always clear the deletion flag.
8059 Thu May 5 13:39:35 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
8061 * combine.c (simplify_rtx, case SUBREG): Don't call force_to_mode.
8062 (simplify_set): Call force_to_mode here.
8064 * m68k.md (movhi): Simplify code involving jump-table
8066 (load_address): Handle case of jump-table reference; output
8069 Thu May 5 12:28:16 1994 Ian Lance Taylor (ian@cygnus.com)
8071 * cccp.c (main): Include source file name in dependency output.
8073 Wed May 4 18:45:07 1994 Doug Evans (dje@cygnus.com)
8075 * config.sub: Remove duplicate -freebsd* entry.
8077 Wed May 4 18:03:34 1994 Jason Merrill (jason@deneb.cygnus.com)
8079 * cccp.c (special_symbol): Don't copy simple strings, use wchar_type.
8080 (main): Setup wchar_type for C++ if needed.
8081 (initialize_builtins): Use wchar_type.
8083 Wed May 4 17:19:34 1994 Mike Collison (collison@sw.stratus.com)
8085 * reload.c (push_secondary_reload): Use TYPE for secondary type
8086 if it is RELOAD_FOR_{INPUT,OUTPUT}_ADDRESS.
8088 Wed May 4 16:35:49 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
8090 * configure (i386-gnu): New, same as i386-mach.
8092 * global.c (find_reg): When looking for locally-allocated hard
8093 regs to reclaim, use REG_ALLOC_ORDER to find least used.
8095 * reload1.c (emit_reload_insns): Add another way to delete an
8098 * reload1.c (reload, reload_as_needed): Check for use of return
8099 register with reg_referenced_p, not reg_mentioned_p.
8101 Wed May 4 14:23:51 1994 Jim Wilson (wilson@cygnus.com)
8103 * mips.c (override_options): Delete TARGET_LLONG128 references.
8104 * mips.h (MASK_LLONG128, TARGET_LLONG128): Delete.
8105 (TARGET_SWITCHES): Delete -mlonglong128 option.
8106 (LONG_LONG_TYPE_SIZE): Delete TARGET_LLONG128 reference.
8108 * mips/bsd-4.h, mips/bsd-5.h, mips/news4.h, mips/news5.h,
8109 mips/nws3250v4.h, mips/svr3-4.h, mips/svr3-5.h, mips/svr4-4.h,
8110 mips/svr4-5.h (CPP_SPEC): Delete.
8111 * mips/dec-bsd.h (CPP_SPEC): Define __SIZE_TYPE__,
8112 __PTRDIFF_TYPE__, and __mips.
8113 (SIZE_TYPE): Delete.
8114 * mips/dec-osf1.h (PTRDIFF_TYPE): Delete.
8115 (CPP_SPEC): Define, overriding ultrix.h version.
8116 * mips/iris5.h (CPP_SPEC): Define __SIZE_TYPE__, __PTRDIFF_TYPE__,
8118 * mips/osfrose.h (CPP_SPEC): Define __PTRDIFF_TYPE__ and __mips.
8119 (PTRDIFF_TYPE): Delete.
8120 (SIZE_TYPE): Define.
8121 (SET_ASM_OP): Define.
8122 * config/mips/ultrix.h (CPP_SPEC): Delete.
8123 (SIZE_TYPE): Delete.
8125 Tue May 3 19:04:43 1994 Jason Merrill (jason@deneb.cygnus.com)
8127 * Makefile.in (stamp-objlist): Depend on OBJS and BC_OBJS so that
8128 subdir makes will know to re-link.
8130 Mon May 2 16:05:05 1994 Per Bothner (bothner@kalessin.cygnus.com)
8132 * toplev.c (compile_file): If static consts haven't been written
8133 out yet, don't do it just because TREE_USED is set (if we're
8134 optimizing). (This wins for C++, which uses static consts a lot.)
8136 Mon May 2 16:42:59 1994 Jim Wilson (wilson@cygnus.com)
8138 * stmt.c (expand_end_case): Make sure gen_casesi operands are
8139 valid by passing them through copy_to_mode_reg if necessary.
8140 * mips.md (casesi): Delete force_reg calls.
8142 * ns32k.c (output_move_double): Always use split_double for the
8145 * gcc.c (translate_options): For options that take an argument,
8146 don't skip the argument if it doesn't exist.
8148 * c-decl.c (pushdecl): Use lookup_name_current_level_global instead
8149 of lookup_name for extern references. Don't return duplicate decl
8150 if it came from the global binding level, and there exists a
8151 conflicting decl in an intervening block.
8152 (lookup_name_current_level_global); New function.
8153 * c-tree.h (lookup_name_current_level_global): Declare.
8155 * sys-protos.h (read, write): Last parm is size_t not unsigned int.
8157 * unroll.c (remap_split_bivs): New function.
8158 (unroll_loop): When remapping split bivs in the last instruction,
8159 handle JUMP_INSNs in addition to INSNs.
8161 Mon May 2 12:53:57 1994 Jason Merrill (jason@deneb.cygnus.com)
8163 * config/nextstep.h (INCLUDE_DEFAULTS): Add cxx_aware field.
8164 * config/vax/xm-vms.h (INCLUDE_DEFAULTS): Ditto.
8166 Fri Apr 29 18:30:38 1994 Kung Hsu (kung@cygnus.com)
8168 * tree.h (TYPE_DECL_SUPPRESS_DEBUG): new macro to support
8169 suppressing of detail type infos into stabs.
8170 * dbxout.c (dbxout_type): check the above flag to generate cross
8173 Fri Apr 29 01:01:45 1994 Doug Evans (dje@cygnus.com)
8175 * Makefile.in (stamp-objlist): New target.
8177 Thu Apr 28 22:17:15 1994 Doug Evans (dje@cygnus.com)
8179 * Makefile.in (USE_ALLOCA): Rearrange "'s.
8180 (FLAGS_TO_PASS): Delete CLIB, MALLOC, OBSTACK.
8182 Thu Apr 28 19:04:17 1994 Jim Wilson (wilson@cygnus.com)
8184 * stmt.c (expand_end_case): Correct test for sign extending
8185 unsigned constant index when creating index_expr.
8187 * cccp.c (macroexpand): Use start_line for line number of the new
8188 instack level pushed at the end.
8190 Thu Apr 28 18:59:17 1994 Mike Stump (mrs@cygnus.com)
8192 * stmt.c: Remove old exception handling support from the backend.
8194 Thu Apr 28 18:59:53 1994 Torbjorn Granlund (tege@adder.cygnus.com)
8196 * sparc.c (arith_double_operand): Modify to accept all possible constants.
8197 * sparc.md (adddi3, subdi3, anddi3, iordi3, xordi3): Corresponding changes.
8198 (one_cmpldi3): Don't allow constants for operand 1.
8200 Thu Apr 28 18:10:18 1994 David Edelsohn (edelsohn@npac.syr.edu)
8202 * rs6000.md (addsi3): Prefer add without carry instructions and
8203 flag input operands as commutative for condition register variant.
8204 (subsi3): Define PowerPC patterns using subtract without carry.
8205 (numerous): Flag input operands as commutative for condition
8207 (mov* matchers): Use mr instruction in ! TARGET_POWERPC case as
8208 well and mr. in condition register variant.
8209 * rs6000.c (output_prolog): Use mr, lis, and li instructions.
8210 Use subf instruction if TARGET_POWERPC.
8211 (output_epilog): Use cal/addi instruction.
8213 Thu Apr 28 12:48:59 1994 Andreas Neubacher (aneubach@risc.uni-linz.ac.at)
8215 * i386/seq-sysv3.h (SHARED_SECTION_ASM_OP): Defined.
8217 Thu Apr 28 12:40:28 1994 Doug Evans (dje@cygnus.com)
8219 * expr.c (expand_builtin): Fix typo in previous patch
8220 (allow __builtin_next_arg in varargs functions).
8222 Tue Apr 26 16:31:44 1994 Per Bothner (bothner@cygnus.com)
8224 * tree.h (AGGREGATE_TYPE_P): New macro.
8225 * calls.c, expr.c, function.c, stmt.c, varasm.c: Use
8226 new macro AGGREGATE_TYPE_P.
8228 Mon Apr 25 18:45:28 1994 John Hassey (hassey@dg-rtp.dg.com)
8230 * varasm.c (copy_constant, case CONSTRUCTOR): Fix typo; copied list
8231 was placed on old CONSTRUCTOR, not new one.
8233 Mon Apr 25 15:04:53 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
8235 * c-decl.c (grokdeclarator): Never warn about `long long' in
8238 * c-decl.c (finish_decl): Redo last change.
8240 * Makefile.in (*compare*): Add missing semicolons.
8242 Mon Apr 25 15:02:31 1994 Doug Evans (dje@cygnus.com)
8244 * configure (m68k-hp-hpux): t-hp320g no longer needed as of gas 2.1.
8245 * m68k/t-hp320g: Deleted.
8247 Mon Apr 25 14:23:18 1994 Poul-Henning Kamp (phk@login.dkuug.dk)
8249 * config.sub, configure: Recognize FreeBSD.
8250 * i386/freebsd.h, x-freebsd: New files.
8251 * i386/x-freebsd: New file.
8252 * i386.h (TARGET_NO_FANCY_MATH_387): New option.
8253 * i386.md (TARGET_NO_FANCY_MATH_387): Implement new option.
8254 * ginclude/stdarg.h, ginclude/stddef.h, ginclude/varargs.h:
8255 Recognize __FreeBSD__.
8256 * gcc.c (link_command_spec): Add -Z argument for ZMAGIC's on FreeBSD.
8258 Mon Apr 25 14:08:26 1994 Doug Evans (dje@cygnus.com)
8260 * configure (language search loop): Correct test for no languages.
8261 (CC): Use single quotes to avoid shell expansion of $(CC).
8263 Mon Apr 25 13:10:07 1994 Andreas Stolcke (stolcke@icsi.berkeley.edu)
8265 * Makefile.in (install-common): Install EXTRA_PARTS with
8266 INSTALL_DATA, not INSTALL_PROGRAM.
8268 Mon Apr 25 06:34:00 1994 Stephen L Moshier (moshier@world.std.com)
8270 * fold-const.c (fold-convert): Use assignment, instead of
8271 initializing, aggregate local variable REAL_VALUE_TYPE.
8273 Sun Apr 24 11:17:20 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
8275 * reorg.c (redirect_with_delay_list_safe_p): Fix off-by-one error.
8277 * real.c (etoe53, etoe24): Make all occurrences static.
8279 * emit-rtl.c (try_split): Don't try to recursively split deleted insn.
8281 * rs6000.md (movti): Adjust constraints to avoid impossible reload.
8283 * expr.c (expand_expr, case SAVE_EXPR): Fix error in last change.
8285 Sat Apr 23 06:45:50 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
8287 * reload1.c (reloads_conflict, case RELOAD_FOR_OUTPUT): Fix typo.
8289 Fri Apr 22 18:43:08 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
8291 * configure (alpha-dec-osf): Fix typo.
8293 Fri Apr 22 15:02:22 1994 Hallvard B Furuseth (h.b.furuseth@usit.uio.no)
8295 * gcc.c (handle_braces, check_live_switch): Refine previous change.
8297 Fri Apr 22 03:27:26 1994 Doug Evans (dje@cygnus.com)
8299 * configure: Sort machines.
8301 * Language directory reorganization.
8302 * configure: Auto-configure each language subdirectory by looking
8303 for */config-lang.in.
8304 Add language makefile fragments (Make-lang.in) to top level makefile,
8305 and hook them in via lang.* targets.
8306 Configure each language subdirectory. On hosts that support them,
8307 create stage[123] symlinks in each subdirectory.
8308 If there is a configure script in the subdirectory, run it.
8309 * Makefile.in (LANGUAGES): Remove c++.
8310 (SUBDIRS): New variable.
8311 (LEX, LEXFLAGS): Ditto.
8312 (MAKEOVERRIDES): Ditto.
8313 (COMPILERS): Remove cc1plus.
8314 (LANG_MAKEFILES, LANG_STAGESTUFF, LANG_DIFF_EXCLUDES, FLAGS_TO_PASS):
8316 (CPLUS_OBJS, CPLUS_TREE_H, C++, c++, g++, g++-cross, cc1plus,
8317 cp-*.o, g++.o, gplus.info): Deleted.
8318 (STAGESTUFF): Remove g++, g++-cross, cc1plus. Add $(LANG_STAGESTUFF).
8319 (Makefile): Depend on $(LANG_MAKEFILES).
8320 (####language hooks, ####language fragments): New spots for sed
8322 (all.cross, all.build, start.encap, rest.encap, info, dvi,
8323 install-normal, install-common, install-info, install-man,
8324 uninstall, distdir, mostlyclean, clean, distclean, extraclean,
8325 realclean, stage1, stage2, stage3, stage4): Depend on lang.foo.
8326 (mostlyclean, clean, distclean, extraclean, realclean): Clean as
8327 much of the language subdirectories as we can.
8328 (install-common): Remove g++ installation.
8329 (install-man): Remove g++.1 installation.
8330 (uninstall): Remove g++ reference.
8331 (TAGS): Remove cp-parse.? reference.
8333 (distdir-start, distdir-finish): New targets.
8334 (diff): Remove cp-parse.? reference. Add $(LANG_DIFF_EXCLUDES).
8335 (compare, compare3, gnucompare, gnucompare3): Compare language
8337 (stage1-start, stage2-start, stage3-start, stage4-start): New targets.
8338 Ensure stage subdirectory exists before processing language
8340 * cp/Makefile.in: New file, makefile for c++ subdirectory.
8341 * cp/Make-lang.in: New file, c++ language makefile fragment.
8342 This file provides c++ specific support to the top level makefile via
8343 several well defined targets: c++.all.build, c++.all.cross,
8344 c++.start.encap, c++.rest.encap, c++.info, c++.dvi,
8345 c++.install-normal, c++.install-common, c++.install-info,
8346 c++.install-man, c++.uninstall, c++.distdir, c++.mostlyclean,
8347 c++.clean, c++.distclean, c++.extraclean, c++.realclean,
8348 c++.stage1, c++.stage2, c++.stage3, c++.stage4.
8349 * cp/config-lang.in: New file, defines language name and other
8350 configuration parameters for the c++ language: compilers, stagestuff,
8352 * g++.c: Move into cp subdirectory.
8354 * g++int.texi: Ditto.
8355 * cp-*: Ditto, remove "cp-" prefix except for cp-tree.h.
8357 Thu Apr 21 15:47:01 1994 Jim Wilson (wilson@cygnus.com)
8359 * sparc.c (mem_aligned_8): Don't assume addresses with
8360 MEM_IN_STRUCT_P set are 8 byte aligned.
8362 * iris5.h (CPP_SPEC): Define _LANGUAGE_C for Objective C also.
8364 * unroll.c (find_splittable_givs): Share dest_reg for multiple
8365 address givs within a single instruction.
8366 (copy_loop_body): Only update psuedo-reg for shared giv once.
8368 * sparc.c (sparc_type_code): Don't put more than 30 bits of info
8369 into the variable qualifiers.
8371 * expr.c (store_expr): Don't check the TYPE_MODE of an ERROR_MARK.
8373 Thu Apr 21 15:34:11 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
8375 * calls.c (calls_function_1): A language-specific code must
8376 be assumed to call a function and also call alloca.
8377 Check for inlined functions that call alloca.
8379 * reload1.c (reload): Clear forbidden_regs earlier.
8380 (new_spill_reg): Mention in error message that asm clauses can also
8381 cause the compiler to run out of spill regs.
8382 (scan_paradoxical_regs): If SMALL_REGISTER_CLASSES, forbid
8383 hard regs used in explicit user variables.
8385 * combine.c (can_combine_p, combinable_i3pat, try_combine): Allow
8386 combination involving hard regs if the hard reg is a user variable.
8388 * gcc.c (default_compilers): If -E and the file is (e.g.) x.s,
8389 don't run the assembler; similarly for .i, .ii, .adb, etc.
8391 * Cleanups related to adding prototypes to many declarations.
8392 * rtl.h: If TREE_CODE undefined, make an incomplete union for tree.
8393 (STDIO_PROTO): Define here if not already defined.
8394 (read_rtx): Use STDIO_PROTO.
8395 (output_constant_def, immed_real_const): Use "union tree_node *".
8396 (immed_real_const_1): Move declaration to real.h.
8397 (rtx_to_tree_code): Supply prototype.
8398 * tree.h: If RTX_CODE undefined, make an incomplete struct for rtx.
8399 Add some missing declarations of functions in stmt.c.
8400 (STDIO_PROTO): Define here if not already defined.
8401 * real.h: Add prototypes to declarations of functions in real.c.
8402 (immed_real_const_1): Move declaration from rtl.h.
8403 * output.h: Add missing declarations of functions in final.c.
8404 (STDIO_PROTO): Don't define here.
8405 * c-tree.h (STDIO_PROTO): Likewise.
8406 * reload.h (PROTO, STDIO_PROTO): Likewise.
8407 * bi-opcode.c (main): Don't write overly-long line.
8408 * cse.c, emit-rtl.c: Use CONST_DOUBLE_FROM_REAL_VALUE macro for immed
8410 * expmed.c: Add prototypes for static functions.
8411 * expr.c (bc_expand_expr): Call expand_decl and expand_decl_init,
8412 not the bc_ versions.
8413 * final.c: Include stdio.h and ctype.h early.
8414 Add prototypes for static functions.
8415 * function.c: Add prototypes for static functions.
8416 (bc_expand_function_end, expand_function_end): Call new
8417 expand_fixups instead of old fixup_gotos.
8418 * global.c, local-alloc.c: Add prototypes for static functions.
8419 * integrate.c: Likewise.
8420 Use CONST_DOUBLE_FROM_REAL_VALUE macro for immed_real_const_1.
8421 * optabs.c: Likewise.
8422 * real.c: Make most functions static and add prototypes for
8423 all static functions.
8424 (GET_REAL, PUT_REAL): Cast parameter to proper pointer type in
8425 some cases; use unsigned array.
8426 * stmt.c: Add prototypes for static functions.
8427 (expand_fixups): New function.
8428 (fixup_gotos): Now static.
8429 Don't call bc_fixup_gotos with wrong type (but now probably wrong
8432 (expand_exit_loop_if_false): Call bc_expand_goto_internal with
8433 proper null pointer.
8434 (expand_decl_init): Call bc_expand_decl_init if writing bytecode.
8436 Thu Apr 21 14:21:56 1994 Ian Lance Taylor (ian@cygnus.com)
8438 Support taking the address of a text segment symbol when using
8439 MIPS -membedded-pic.
8440 * mips.h (embedded_pic_fnaddr_rtx): Declare.
8441 (embedded_pic_offset): Declare.
8442 (mips_finalize_pic): Declare.
8443 (FINALIZE_PIC): Define.
8444 (GO_IF_LEGITIMATE_ADDRESS): When using -membedded-pic, reject
8445 combining an embedded PIC text reference with a register.
8446 (ENCODE_SECTION_INFO): Under -membedded-pic set SYMBOL_REF_FLAG to
8447 0 for text segment symbols, 1 for data segment symbols.
8448 * mips.c (embedded_pic_fnaddr_rtx): New variable.
8449 (embedded_pic_offset): New function.
8450 (mips_finalize_pic): New function.
8451 (mips_select_section): When using -membedded-pic and not using
8452 -fwritable-strings, put strings in the text section, not the read
8454 * mips.md (movsi): When using -membedded-pic, add special code
8455 when loading a symbol directly to use an offset from the start of
8456 the current function.
8457 (get_fnaddr): New insn to get address of current function.
8459 Wed Apr 20 19:38:38 1994 Doug Evans (dje@cygnus.com)
8461 * regclass.c (init_reg_sets_1): Make static.
8462 (init_reg_modes): New function.
8463 (init_regs): Likewise.
8464 * toplev.c (compile_file): Call init_regs after init_rtl.
8465 (main): Delete call to init_reg_sets_1.
8467 Wed Apr 20 15:06:35 1994 Steve Chamberlain (sac@cygnus.com)
8469 * sh.c (REG_ODD): Allow DIs and DFs into odd registers.
8470 (print_operand): New command char '@', change nop insn.
8471 (synth_constant): Don't allocate temp reg during reload.
8472 (expand_block_move): Don't expand if TARGET_SMALLCODE.
8473 (prepare_split_double_ops): Deleted.
8474 (howshift, multcosts): Work out costs exactly.
8475 (dump_table): Emit a label before the align.
8476 (hi_const): TARGET_SHORTADDR makes more things HI consts.
8477 (machine_dependent_reorg): Look through SUBREGS.
8478 (from_compare): Get better code when relational args are loaded
8480 (expand_acall): Cope with TARGET_BSR.
8481 (general_movdst_operand): Don't allow illegal autoincs.
8482 (mac_operand): New function.
8483 (sh_function_arg, sh_function_partial_nregs): From sh.h
8484 * sh.h (PARANOID_BIT, RETR2_BIT, CONSTLEN0_BIT, BSR_BIT,
8485 SHORTADDR_BIT, TARGET_PARANOID, TARGET_RETR2, TARGET_CONSTLEN0,
8486 TARGET_BSR, TARGET_SHORTADDR, TARGET_SWITCHES): New options.
8487 (OVERRIDE_OPTIONS): No function_cse when TARGET_BSR.
8488 (FIRST_RET_REG): Depends on TARGET_RETR2.
8489 (FUNCTION_ARG, FUNCTION_ARG_PARTIAL_NREGS): Moved to sh.c
8490 (HAVE_POST_INCREMENT, HAVE_PRE_DECREMENT): Define.
8491 (MODE_DISP_OK_8): Define.
8492 (REG_OK_FOR_PRE_POST_P): Allow a pseudoreg.
8493 (GO_IF_LEGITIMATE_ADDRESS): Allow DI addressing modes.
8494 (MOVE_RATIO): Depends on TARGET_SMALLCODE.
8495 * sh.md (interrupt_function): New attr.
8496 (define_delay): Account for interrupt functions.
8497 (addc): Describe pattern better.
8498 (adddi3): Expanded better.
8499 (peepholes): Deleted many obsolete patterns.
8501 Wed Apr 20 13:37:58 1994 Jason Merrill (jason@deneb.cygnus.com)
8503 * expr.c (expand_expr): Don't force ignore when expanding the
8504 subexpression of a WITH_CLEANUP_EXPR. Don't check ignore when
8505 deciding whether or not to expand the cleanup for a TARGET_EXPR.
8507 Wed Apr 20 12:20:16 1994 Doug Evans (dje@cygnus.com)
8509 * h8300/h8300.h (RTX_COSTS): Remove LSHIFT.
8510 * h8300/h8300.md (lshrhi3_eight): Fix name.
8512 * i860/i860.c (safe_insn_src_p): Remove LSHIFT.
8513 (single_insn_src_p): Likewise.
8514 * i960/i960.c (i960_expr_alignment): Remove LSHIFT.
8515 * sh/sh.c (output_shift, ASHIFTRT case): Do opposite shift as ASHIFT.
8517 * sh/sh.h (RTX_COSTS): Remove LSHIFT, add LSHIFTRT.
8518 * spur/spur.md (lshlsi3): Delete.
8520 Wed Apr 20 06:40:15 1994 Philippe De Muyter (phdm@info.ucl.ac.be)
8522 * c-lex.c (check_newline): Avoid unreachable statement when
8523 HANDLE_SYSV_PRAGMA defined.
8525 Wed Apr 20 01:52:24 1994 Steve Chamberlain (sac@mole.gnu.ai.mit.edu)
8527 * flow.c (find_auto_inc, try_pre_increment): Make sure
8528 that insertion of autoinc addressing mode would yield a valid
8531 Tue Apr 19 23:41:14 1994 Doug Evans (dje@cygnus.com)
8533 * Makefile.in (expr.o): Depend on regs.h.
8534 * rtl.h (choose_hard_reg_mode): Declare.
8535 * regs.h (reg_raw_mode): Declare.
8536 * caller-save.c (choose_hard_reg_mode): Delete from here.
8537 * regclass.c (choose_hard_reg_mode): Define here.
8538 (reg_raw_mode): Define.
8539 (init_reg_sets_1): Initialize reg_raw_mode.
8540 * expr.c: #include regs.h.
8541 (use_regs): Use reg_raw_mode.
8542 * reload1.c (emit_reload_insns): Record additional spill registers
8543 in their intrinsic mode.
8544 * combine.c (move_deaths): Record death information of remaining
8545 registers in their intrinsic mode.
8546 * sched.c (attach_deaths): Create partial register dead notes using
8547 register's intrinsic mode.
8549 Tue Apr 19 21:40:57 1994 Mike Stump (mrs@cygnus.com)
8551 * toplev.c (lang_options): Add -fhandle-signatures for C++
8554 Tue Apr 19 19:00:30 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
8556 * cccp.c (do_error): Don't terminate.
8558 Tue Apr 19 17:48:41 1994 Hallvard B Furuseth (hbf@durin.uio.no)
8560 * gcc.c: Add new options -print-file-name= and -print-prog-name=.
8562 * gcc.c (struct switchstr): New field LIVE_COND.
8563 (process_command): Initialize it.
8564 (check_live_switch): New function.
8565 (handle_braces): Call it.
8567 Mon Apr 18 19:22:25 1994 Lee Iverson (leei@ai.sri.com)
8569 * mips.h (RTX_COSTS): Remove LSHIFT.
8571 Mon Apr 18 17:56:22 1994 Philippe De Muyter (phdm@info.ucl.ac.be)
8573 * c-decl.c (duplicate_decls): Always warn when const declaration
8574 follows non-const one for variables.
8576 Mon Apr 18 16:38:30 1994 Stephen R. van den Berg (berg@pool.informatik.rwth-aachen.de)
8578 * calls.c (prepare_call_address): New arg REG_PARM_SEEN.
8579 All callers changed.
8580 (expand_call): Pre-load args if small reg classes and reg parms.
8581 * expr.h (prepare_call_address): Extend prototype.
8582 * expr.c (expand_builtin_apply): Pass new arg to prepare_call_address.
8584 Mon Apr 18 14:53:14 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
8586 * fold-const.c (const_binop): If arg is NaN, just return it
8587 (fold_convert): Handle NaN in real->int and real->real cases.
8589 * c-lex.c (yylex): If FP value is NaN, use value of zero.
8591 * expr.h (PROMOTE_MODE): Don't supply default here.
8592 (promote_mode): Add declaration.
8593 * explow.c (promote_mode): New function.
8594 * calls.c (expand_call): Use it.
8595 * function.c (assign_parms, promoted_input_arg, expand_function_start):
8597 * expr.c (expand_expr, case VAR_DECL, SAVE_EXPR): Likewise.
8598 * stmt.c (expand_value_return, expand_decl): Likewise.
8600 Mon Apr 18 11:36:04 1994 Jason Merrill (jason@deneb.cygnus.com)
8602 * Makefile.in (LIB2FUNCS): Change _op_vec_delete to _op_vec_del.
8605 Mon Apr 18 11:19:07 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8607 * reorg.c (redirect_with_delay_list_safe_p): New function,
8608 similar to redirect_with_delay_slots_safe_p.
8609 (fill_slots_from_thread): Do not redirect a jump if doing
8610 so would invalidate the delay list for the jump.
8612 Mon Apr 18 03:09:30 1994 Doug Evans (dje@cygnus.com)
8614 * scan-types.sh: Fix program's name in error message.
8615 Rename dummy.c to avoid collisions in parallel makes.
8617 Sun Apr 17 18:29:00 1994 David Edelsohn (edelsohn@npac.syr.edu)
8619 * rs6000.h (PROCESSOR_COMMON, PROCESSOR_POWER, PROCESSOR_POWERPC):
8621 * rs6000.c (processor_target_table): Change "all" to "common".
8622 Add "power" and "powerpc" generic processors. Explicitly turn off
8623 new mnemonics for all members of the POWER architecture family.
8625 Sun Apr 17 10:04:18 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
8627 * tree.h (DECL_PRINT_NAME): Deleted.
8628 (struct tree_decl): Field print_name deleted.
8630 Sun Apr 17 06:59:58 1994 Pat Rankin (rankin@eql.caltech.edu)
8632 * vax.h (RTX_COSTS), vax.c (vax_rtx_cost): Remove LSHIFT case.
8634 Sun Apr 17 01:15:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8636 * function.c (locate_and_pad_parm): For ARGS_GROW_DOWNWARD,
8637 Round sizetree for both upward and downward padding, nuke
8638 the (now unnecessary) call to pad_below for arg_size_ptr.
8640 Sat Apr 16 21:05:40 1994 David Edelsohn (edelsohn@npac.syr.edu)
8642 * rs6000.md (one_cmplsi2): Always use nor instruction;
8643 remove extraneous minus sign from condition register set constraint.
8645 Sat Apr 16 17:12:40 1994 Philippe De Muyter (phdm@info.ucl.ac.be)
8647 * m68k.c (print_operand): 'x' and 'y' mode letters only
8649 (print_operand_address): If (new) ASM_OUTPUT_CASE_FETCH defined,
8650 use it to emit the address for the insn before a tablejump.
8651 * m68k/mot3300.h (FUNCTION_ARG_PADDING, FUNCTION_PROLOGUE): Deleted.
8652 (FUNCTION_EPILOGUE, PRINT_OPERAND, PRINT_OPERAND_ADDRESS): Deleted.
8653 (SGS_SWITCH_TABLES, ASM_OUTPUT_CASE_END): Deleted.
8654 (ASM_OUTPUT_FLOAT_OPERAND, ASM_OUTPUT_DOUBLE_OPERAND): Deleted.
8655 (SGS_NO_LI, ASM_OUTPUT_CASE_FETCH, ASM_RETURN_CASE_JUMP): Defined.
8657 * configure (header_files): Use ${srcdir} instead of $(srcdir).
8659 Sat Apr 16 16:51:15 1994 DJ Delorie (dj@ctron.com)
8661 * objc/makefile.dos (OBJC_O): Add encoding.o.
8663 Sat Apr 16 16:38:32 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
8665 * c-lex.c (yylex): Turn off overflow flag when fixing up large
8666 traditional hex constants.
8668 * c-decl.c (finish_decl): If asmspec_tree, clear DECL_BUILT_IN
8669 for function and DECL_RTL always.
8671 Wed Apr 13 13:08:10 1994 Per Bothner (bothner@cygnus.com)
8673 * toplev.c (compile_file): Never warn about unused static consts,
8674 since it is reasonable to have those in header files.
8676 Wed Apr 13 12:25:21 1994 Jason Merrill (jason@deneb.cygnus.com)
8678 * varasm.c (contains_pointers_p): When examining a RECORD_TYPE,
8679 only look at the FIELD_DECLs.
8681 Tue Apr 12 18:14:42 1994 Jason Merrill (jason@deneb.cygnus.com)
8683 * Makefile.in (LIB2FUNCS): Add _op_vec_{delete,new}.
8685 * libgcc2.c (__builtin_vec_{delete,new}): New functions per the
8686 latest C++ working paper.
8687 (__default_new_handler): No longer static.
8688 (__set_new_handler): Lose.
8690 * cccp.c: Don't implicitly wrap LOCAL_INCLUDE_DIR.
8691 (struct default_include): Add cxx_aware field.
8692 (include_defaults_array): Ditto.
8693 (main): Use cxx_aware field.
8695 Tue Apr 12 16:13:10 1994 Richard Stallman (rms@mole.gnu.ai.mit.edu)
8697 * config.sub (next): Fix typo in m68k-next-ns3 alternative.
8699 Tue Apr 12 07:41:17 1994 Michael Meissner (meissner@osf.org)
8701 * i386/i386.c (notice_update_cc): Remove LSHIFT case, since there
8702 is no LSHIFT rtl code any more.
8704 * halfpic.h (NO_STDIO_H): Do not include stdio.h if this is defined.
8706 Mon Apr 11 17:24:46 1994 Philippe De Muyter (phdm@info.ucl.ac.be)
8708 * scan.c (get_token): Correctly increment lineno after
8709 encountering #ident (or other #-directive).
8711 Mon Apr 11 13:22:51 1994 Jim Wilson (wilson@cygnus.com)
8713 * reorg.c (try_merge_delay_insns): Account for resources set/used
8714 by a filled insn before trying to simplify insns in delay slots.
8716 * x-iris, x-iris3, x-mips, x-sony, x-sysv (OLDCC): Change -XNh1500
8719 * c-decl.c (finish_decl): Don't preserve initializer if it is
8722 * reorg.c (try_merge_delay_insns): Move next_trial update
8723 immediately after the try_split call.
8725 * mips.c (mips_select_rtx_section, mips_select_section): New
8726 functions. Prefer rdata when TARGET_EMBEDDED_DATA, and prefer
8728 * mips.h (MASK_EMBEDDED_DATA, TARGET_EMBEDDED_DATA): New macros.
8729 (TARGET_SWITCHED): Add new option -membedded-data.
8730 (SELECT_RTX_SECTION, SELECT_SECTION): Call function in mips.c.
8732 * Makefile.in (all.cross, rest.encap): Delete objc-runtime and
8734 (OBJC, OBJECTIVE-C): Add objc-runtime.
8735 (proto): Add SYSCALLS.c.X.
8736 (libgcc2.ready, libobjc.a, sublibobjc.a, SYSCALLS.c.X): Add
8737 dependence on stmp-int-hdrs.
8739 * cccp.c (rescan): Don't look for C++ // comment before directive.
8740 Handle \-newline inside a C++ // comment.
8741 (skip_if_group): Likewise.
8742 (handle_directive): Also handle C++ // comment after #. Point
8743 ip->bufp after the comment start before calling
8744 skip_to_end_of_comment.
8745 (validate_else): Handle \-newline inside a C++ // comment.
8746 (skip_to_end_of_comment, macarg1, discard_comments): Likewise.
8748 * varasm.c (immed_double_const): Sign-extend constants when they
8749 have the most significant bit set for the target.
8751 Mon Apr 11 06:20:56 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
8753 * reload1.c (reload): When accumulating needs, use nested
8754 structures to simplify and speed up the code.
8756 * alpha.md (compare define_split): Fix bugs in last addition.
8758 * calls.c (expand_call, emit_library_call{,_value}, store_one_arg):
8759 Use convert_modes instead of convert_to_mode.
8761 * tree.h (frame_size): Now a union.
8762 (DECL_ALIGN, DECL_FRAME_SIZE, DECL_FUNCTION_CODE): Access proper
8763 field of frame_size union.
8764 (DECL_SET_FUNCTION_CODE): Simplified; retained for compatibility.
8765 * c-decl.c (duplicate_decls, pushdecl, builtin_function):
8766 Use DECL_FUNCTION_CODE instead of DECL_SET_FUNCTION_CODE.
8768 Mon Apr 11 05:50:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8770 * mips-tfile.c (update_headers): Do not copy stStatic symbols that
8771 result from internal labels.
8773 Sun Apr 10 07:13:24 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
8775 * rtl.def (LSHIFT): Deleted.
8776 * combine.c, cse.c, function.c: No longer handle LSHIFT.
8777 * genattrtab.c, loop.c, reload1.c: Likewise.
8778 * expr.h (lshl_optab): Deleted.
8779 * optabs.c (lshl_optab): Deleted.
8780 (expand_binop, init_optabs): No longer reference it.
8781 * genopinit.c, expmed.c (expand_shift): Likewise.
8783 * arm.c, arm.h, arm.md: Remove references to LSHIFT and lshlsi3.
8784 * clipper.h, clipper.md, convex.h, convex.md, elxsi.md: Likewise.
8785 * fx80.h, fx80.md, gmicro.md, i370.md: Likewise.
8786 * m68k.c, m68k.h, m68k.md, m88k.c, m88k.md, ns32k.md: Likewise.
8787 * rs6000.md, tahoe.md: Likewise.
8789 * combine.c (simplify_shift_count, case EQ): LSHIFT should be
8792 Sun Apr 10 04:48:37 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8794 * pa-ghiux.h (LIB_SPEC): Remove last change until we've got the
8795 go ahead from HP to distribute /usr/lib/end.o.
8796 * pa-ghpux.h, pa-hiux.h, pa-ghiux.h: Likewise.
8798 Sat Apr 9 15:06:22 1994 Christian Kranz (kranz@sent5.uni-duisburg.de)
8800 * config.sub: Add ns* as operating systems; default to ns2 for NeXT.
8801 * configure (m68k-next-ns2*): New configuration.
8802 * libgcc2.c: Include <mach.h>, not <mach/mach.h> for NeXTStep 2.1.
8803 * config/nextstep21.h, m68k/next21.h: New files.
8805 Sat Apr 9 10:56:06 1994 Randy Wright (rwright@convex.com)
8807 * combine.c (force_to_mode, case ROTATE): Don't assume
8808 simplify_binary_operation always returns CONST_INT.
8809 (simplify_shift_const, case IOR, PLUS): Likewise.
8811 Sat Apr 9 09:13:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8813 * i386/sequent.h (STRUCT_VALUE{,_INCOMING,_REGNUM}):
8814 Redefine for calling conventions of native cc.
8816 Sat Apr 9 08:25:43 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
8818 * rs6000.h (FINAL_PRESCAN_INSN): Define.
8819 * rs6000.c (rs6000_convert_preincs): New function.
8821 * i386.md (mulhi3): Use SImode for MULT RTL.
8823 * fold-const.c (fold): Avoid exponential work when simplifying
8824 conditional expressions; don't recurse twice if ARG1 is constant.
8826 * function.c (unitialized_vars_warning, setjmp_args_warning):
8827 Reword warning to be less ambiguous.
8829 * c-typeck.c (convert_arguments): Truncate and reextend
8830 for PROMOTE_PROTOTYPES so we can give error on overflow.
8832 * reload1.c (reload_conflicts): Rewrite to clean up and fix
8833 numerous bugs; move to later in file.
8835 * c-decl.c (duplicate_decls): Put new type in same obstack as
8836 old ones, or permanent if old ones in different obstacks.
8838 Fri Apr 8 18:18:18 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
8840 * fold-const.c (fold, case GT_EXPR): Simplify X < (1 << Y)
8843 Fri Apr 8 11:23:51 1994 Ian Lance Taylor (ian@cygnus.com)
8845 Add support for -membedded-pic to MIPS backend, to create
8846 genuinely position independent code without using a global offset
8847 table. Requires GNU as and ld.
8848 * mips.h (MASK_EMBEDDED_PIC): Define.
8849 (TARGET_EMBEDDED_PIC): Define.
8850 (TARGET_SWITCHES): Add embedded-pic and no-embedded-pic.
8851 (ASM_SPEC): Pass -membedded-pic to assembler.
8852 (ASM_OUTPUT_ADDR_DIFF_ELT): If TARGET_EMBEDDED_PIC output a
8853 difference, rather than using .gpword.
8854 (ASM_OUTPUT_CASE_LABEL): Define.
8855 * mips.md (casesi, casesi_internal): New instructions, used only
8856 for TARGET_EMBEDDED_PIC.
8857 * mips.c (override_options): For TARGET_EMBEDDED_PIC warn
8858 if -mabicalls or -G were used, and set flag_pic and
8859 mips_section_threshold.
8860 (print_operand): Handle 'S' by printing a label with a leading LS.
8862 Thu Apr 7 22:20:09 1994 Jim Wilson (wilson@mole.gnu.ai.mit.edu)
8864 * calls.c (emit_library_call_value): Move is_const set after ifdef.
8866 Wed Apr 6 21:34:17 1994 Pat Rankin (rankin@eql.caltech.edu)
8868 * expr.c (expand_builtin, case BUILT_IN_NEXT_ARG): Test whether
8869 an argunment has been passed to __builtin_next_arg; warn if not.
8871 Wed Apr 6 17:28:44 1994 Per Bothner (bothner@kalessin.cygnus.com)
8873 * toplev.c (lang_options): Add -f[no-]vtable-thunks (for C++).
8875 Wed Apr 6 15:35:42 1994 Jim Wilson (wilson@cygnus.com)
8877 * cccp.c (discard_comments): Replace comments with a single space.
8879 * Makefile.in (USER_H): Add $(srcdir)/ before every ginclude use.
8881 * calls.c (emit_library_call_value): New variable is_const. Clear
8882 it for functions that return an aggregate in memory.
8884 * configure (header_files): Prepend $(srcdir)/ginclude/ to each
8885 element before substituting into the Makefile. Delete ginclude/
8886 at each point where we set header_files.
8888 * c-decl.c (finish_decl): Correct typo in use of tree_int_cst_sgn.
8890 Wed Apr 6 07:39:47 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
8892 * alpha.md: Add define_split to simplify "(unsigned) x > 0xffffff".
8894 * toplev.c (lang_options): Group and alphabetize some options.
8896 Wed Apr 6 07:03:13 1994 Stephen R. van den Berg (berg@pool.informatik.rwth-aachen.de)
8898 * function.c (push_function_context): Use current_function_varargs.
8899 (pop_function_context): Likewise.
8900 (assign_parms): Respect current_function_varargs.
8901 Save args_so_far in any case.
8902 * expr.c (expand_builtin): Allow builtin_next_arg for varargs
8904 * function.h (struct function): New field for current_function_varargs.
8905 * integrate.c (function_cannot_inline_p): Use current_function_varargs.
8906 * va-alpha.h, va-m88k.h, va-sparc.h (va_dcl): Add ... to
8907 set current_function_varargs.
8909 * c-decl.c (warn_missing_declarations): New variable.
8910 (c_decode_option): -Wmissing-declarations.
8911 (start_function): Actually do the checking.
8912 * toplev.c (lang_options): Add -Wmissing-declarations.
8914 * function.c (expand_function_start): Delay copying static chain.
8916 * calls.c (emit_library_call): Move the invocation of
8917 prepare_call_address before the assignments of the function arguments.
8918 (emit_library_call_value): Likewise.
8920 * i386.h (DEBUG_PRINT_REG): Fix printing of coprocessor regs in QImode.
8922 Wed Apr 6 06:42:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8924 * mips-tfile.c (update_headers): Copy stStatic symbols from the old
8925 local symbol table to the new local symbol table if they did not get
8926 added via debugging psuedo ops.
8928 Wed Apr 6 06:36:05 1994 Philippe De Muyter (phdm@info.ucl.ac.be)
8930 * stdarg.h, varargs.h (__va_rounded_size): Round to multiple
8931 of sizeof (short) on sysV68.
8933 * m68k.c (output_function_prologue): pea/move: Fix typos.
8934 asm_fprintf("add%.[wl] ...): Undo previous change.
8936 Tue Apr 5 20:05:10 1994 Doug Evans (dje@cygnus.com)
8938 * gcc.c (process_command): Add "include" prefix for [foo/]stageN.
8940 Tue Apr 5 01:22:08 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8942 * pa-ghiux.h (LIB_SPEC): Link in /usr/lib/end.o
8943 * pa-ghpux.h, pa-hiux.h, pa-hpux.h (LIB_SPEC): Likewise.
8945 Mon Apr 4 17:36:55 1994 Jim Wilson (wilson@mole.gnu.ai.mit.edu)
8947 * final.c (final_scan_insn): Pass new arg, block num, to
8949 * sdbout.c (sdbout_begin_block): Don't output block for function
8950 level scope unless MIPS_DEBUGGING_INFO is defined.
8951 (sdbout_end_block): Likewise. Add new parameter n for the block
8954 * calls.c (expand_call): If PCC_STATIC_STRUCT_RETURN defined, mark
8955 function as addressable same time as we clear is_integrable.
8957 Mon Apr 4 17:11:17 1994 Jason Merrill (jason@deneb.cygnus.com)
8959 * Makefile.in (xsys-protos.h): Undefine __*_TYPE when
8960 preprocessing fixtmp.c.
8961 * fixincludes: Fix ptrdiff_t and wchar_t in system headers like we
8963 * scan-types.sh: Use __WCHAR_TYPE__, __PTRDIFF_TYPE__, and
8964 __SIZE_TYPE__. Still deduce size_t so that it can be used for
8965 ssize_t if necessary.
8966 * stddef.h (wchar_t): Always define as __WCHAR_TYPE__.
8967 * cccp.c (special_symbol, case T_WCHAR_TYPE): Output "__wchar_t"
8970 Sat Apr 2 08:14:02 1994 Michael Meissner (meissner@osf.org)
8972 * i386/osfrose.h (FUNCTION_PROLOGUE, FUNCTION_PROFILER): Correct
8973 code for -fpic ELF case.
8975 Fri Apr 1 17:33:35 1994 Jason Merrill (jason@deneb.cygnus.com)
8977 * fixproto: Add strncpy, strpbrk, strrchr, strspn, strstr, strtok
8978 and strxfrm to the required list for string.h.
8980 Fri Apr 1 01:05:53 1994 Jim Wilson (wilson@cygnus.com)
8982 * configure: Change math-68881.h to ginclude/math-68881.h.
8983 (EXTRA_HEADERS): Use | not / in sed command.
8984 * math-68881.h, math-3300.h: Move to ginclude directory.
8986 * libgcc2.c: Modify all uses of __attribute__ mode to use new
8989 * Makefile.in (USER_H): Files in ginclude now. Add stdarg.h,
8990 stddef.h, varargs.h.
8991 (all.cross, rest.encap): Move LIBGCC after stmp-headers. Add
8992 objc-runtime, and SYSCALLS.c.X.
8993 (for-bootstrap): Delete.
8994 (OBJC, OBJECTIVE-C): Delete objc-runtime.
8995 (proto): Delete SYSCALLS.c.X.
8996 (*.o): Delete gvarargs.h dependencies.
8997 (stmp-int-hdrs): Delete gvarargs.h, gstdarg.h, gstddef.h deps, and
9000 * bc-emit.c: Change <gvarargs.h> to <varargs.h>.
9001 * enquire.c, libgcc2.c, sys-types.h: Change "gstddef.h" to <stddef.h>.
9002 * gcc.c: Change "gstdarg.h" to <stdarg.h> and "gvarargs.h" to
9004 * objc/Object.m: Change "gstdarg.h" to <stdarg.h>.
9005 * objc/runtime.h, scan-types.sh: Change "gstddef.h" to <stddef.h>.
9006 Change "gstdarg.h" to <stdarg.h>.
9007 * objc/hash.h, objc/objc.h, objc/sarry.h: Delete use of IN_GCC to
9008 control stddef.h/gstddef.h include.
9009 * cccp.c (pcfinclude): Modify comment referring to gstddef.h.
9010 * sparc/sparc.h (CPP_PREDEFINES): Update GCC_NEW_VARARGS comment.
9011 * i386/x-next, m68k/x-next (libgcc2.a, stdarg.h): Delete rules.
9012 * fixincludes: Modify comment referring to gvarargs.h.
9013 * cp/Makefile.in: Modify comments that refer to gvarargs.h and
9016 * gstdarg.h, gstddef.h, gvarargs.h: Move to ginclude directory
9017 and strip off initial `g'.
9018 * va-*.h, proto.h: Move to ginclude directory.
9020 Thu Mar 31 19:49:17 1994 Jim Wilson (wilson@cygnus.com)
9022 * sparc.h (SPARC_STACK_ALIGN): Use ~7 not 0xfffffff8 for portability.
9024 * xcoffout.h (DBX_OUTPUT_MAIN_SOURCE_FILENAME): Disable.
9026 * sol2.h: Delete ifdefed out section defining *_SECTION_ASM_OP
9028 ({CTORS,DTORS}_SECTION_ASM_OP) Delete definitions.
9029 * sysv4.h (INIT_SECTION_ASM_OP): Don't set the alloc flag.
9030 ({CTORS,DTORS}_SECTION_ASM_OP): Set execinstr flag.
9032 * dbxout.c (dbxout_type): Re-enable debugging output for anonymous
9033 structures. Change all three places that refer to xrefs to use
9034 exactly the same condition.
9036 * c-typeck.c (pop_init_level): Correct typo in use of
9039 * mips.c (mips_rtx_classify, md_register_operand,
9040 fpsw_register_operand, cmp2_op, uns_cmp_op, fcmp_op): Delete.
9041 (mips_const_double_ok, mips_fill_delay_slot, output_block_move,
9042 print_operand, function_epilogue): Don't treat gas differently
9043 than native assembler.
9044 (equality_op, cmp_op): Delete use of classify_op.
9045 (override_options): Delete uses of mips_rtx_classify.
9046 (final_prescan_insn): Simplify based on other changes.
9047 * mips.h (mips_rtx_classify, cmp2_op, fcmp_op,
9048 fpsw_register_operand, md_register_operand, uns_cmp_op,
9049 classify_op, additive_op, divmod_op, unsigned_op, CLASS_*_OP,
9050 NOTICE_UPDATE_CC): Delete.
9051 (RTX_COSTS): Use different numbers for R3000/R6000/R4000.
9052 (REGISTER_MOVE_COST): Use cost of 2 within same register class, 4
9053 for FP to GR copy, 6 otherwise.
9054 (ADJUST_COST): Give anti and output dependencies zero cost.
9055 (PREDICATE_CODES): Delete obsolete functions from list.
9056 * mips.md (addsi3_internal): Don't output subtract.
9057 (subsi3_internal): Don't output add.
9058 (smulsi3_highpart, umulsi3_highpart): Add missing third operand to
9059 mips_move_1word call.
9061 Thu Mar 31 12:09:42 1994 Ian Lance Taylor (ian@cygnus.com)
9063 * longlong.h: Change RS/6000 macros to use PowerPC mnemonics when
9064 using -mnew-mnemonics.
9066 Wed Mar 30 17:37:16 1994 Frederic Pierresteguy (F.Pierresteguy@frcl.bull.fr)
9068 * m68k/dpx2.h (NO_ASM_FMOVECR): Defined.
9069 * m68k.c (standard_68881_constant_p): Return 0 if NO_ASM_FMOVECR
9072 * configure: Add case for rs6000-bull-bosx.
9074 Wed Mar 30 17:31:24 1994 Matthias Pfaller (leo@marco.de)
9076 * ns32k.c (global_symbolic_reference_mentioned_p): New parameter F.
9077 (print_operand_address): When generating pic baseregisters are
9078 only allowed if offset is CONST_INT. For {SYMBOL,LABEL}_REF
9079 a indexregister has to be used instead. (sb) is no longer
9080 emitted for constant absolute addresses.
9081 (output_move_double): Use CONSTANT_P instead of CONSTANT_ADDRESS_P.
9082 * ns32k.h (FUNCTION_PROLOGUE): use __GLOBAL_OFFSET_TABLE_,
9083 not _GLOBAL_OFFSET_TABLE_.
9084 (LEGITIMATE_CONSTANT_P, LEGITIMATE_PIC_OPERAND_P): Use
9085 LEGITIMATE_PIC_OPERAND_P, not LEGITIMATE_CONSTANT_P,
9086 to set current_function_uses_pic_offset_table.
9087 (INDIRECTABLE_1_ADDRESS_P): Baseregisters are not legal
9088 for {LABEL,SYMBOL}_REFS when emitting pic.
9089 (GO_IF_INDEXABLE_ADDRESS): INDIRECTABLE_1_ADDRESSes are indexable too.
9090 * ns32k/netbsd.h, ns32k/xm-netbsd.h: New files.
9091 * configure (ns32k-pc532-netbsd*): New case, to use new files.
9093 Wed Mar 30 16:39:24 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
9095 * reload1.c (reload): Fix typo in previous change.
9097 * gcc.c (process_command, case 'B'): If name is "stageN/",
9098 add "include" to system include prefix.
9100 * bc-emit.c, calls.c, combine.c, emit-rtl.c, final.c, g++.c:
9101 Include <stdarg.h> instead of "gstdarg.h"; similarly for varargs.
9102 * genattrtab.c, mips-tfile.c, protoize.c, toplev.c, tree.c: Likewise.
9104 * fold-const.c (strip_compound_expr): New function.
9105 (fold): Call it; avoid exponential work when simplifying
9106 binary op over a COND_EXPR.
9108 * cse.c (cse_insn): Add missing definition of var TEM; clean up
9111 * sparc.c (sparc_type_code): Revise so it supports non-C types.
9113 Wed Mar 30 14:52:26 1994 Jim Wilson (wilson@mole.gnu.ai.mit.edu)
9115 * xm-alpha.h (string.h): Don't include when inhibit_libc is defined.
9117 Wed Mar 30 10:37:51 1994 Stan Coxs (coxs@dg-rtp.dg.com)
9119 * m88k.md (movdf): Do not consider extended registers when doing
9122 Wed Mar 30 01:49:06 1994 Torbjorn Granlund (tege@cygnus.com)
9124 * config/m68k/m68k.c (output_move_double): Use `%.' where appropriate.
9126 Tue Mar 29 10:46:18 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9128 * pa.h (ASM_OUTPUT_LABEL): TARGET_GAS no longer needs trailing colons.
9129 (ASM_OUTPUT_INTERNAL_LABEL, ASM_OUTPUT_COMMON): Likewise.
9131 * pa.h (TARGET_PORTABLE_RUNTIME): Define.
9132 (TARGET_SWITCHES): Add -mportable-runtime and -mno-portable-runtime.
9133 (CUMULATIVE_ARGS): Now a "struct hppa_args" rathern than an int.
9134 All references changed.
9135 (INIT_CUMULATIVE_ARGS): Also initialize nargs_prototype.
9136 (INIT_CUMULATIVE_INCOMING_ARGS): Define.
9137 (FUNCTION_ARG_ADVANCE): Decrement nargs_prototype for each arg seen.
9138 (FUNCTION_ARG): Handle TARGET_PORTABLE_RUNTIME.
9139 (ASM_DECLARE_FUNCTION_NAME): Explicitly disallow argument relocations
9140 for TARGET_PORTABLE_RUNTIME.
9141 (ASM_OUTPUT_INT): Do not use a P% prefix for function references
9142 if TARGET_PORTABLE_RUNTIME.
9144 * pa.md (high and lo_sum for function addresses): Provide alternate
9145 definitions for TARGET_PORTABLE_RUNTIME.
9147 * pa.c (output_arg_descriptor): Explicitly disallow argument
9148 relocations for TARGET_PORTABLE_RUNTIME.
9150 Tue Mar 29 07:45:44 1994 Chris Smith (csmith@convex.com)
9152 * convex.h (check_float_value): fix return type in extern.
9154 Mon Mar 28 18:36:56 1994 Philippe De Muyter (phdm@info.ucl.ac.be)
9156 * m68k/mot3300.h (ASM_IDENTIFY_GCC): Define to be non-null.
9158 Sun Mar 27 20:26:36 1994 Richard Stallman (rms@mole.gnu.ai.mit.edu)
9160 * c-parse.in (attrib): Handle string args as expressions,
9161 merging the two rules. `mode' attribute now takes a string arg.
9162 Delete the rule for an identifier as arg.
9163 * c-common.c (decl_attributes): `mode' attribute now takes string arg.
9165 Sun Mar 27 14:42:39 1994 Doug Evans (dje@cygnus.com)
9167 * c-parse.in (attrib): Back out last patch.
9169 Fri Mar 25 17:52:44 1994 Walter Misar (misar@rbg.informatik.th-darmstadt.de)
9171 * m68k.md (movsi): New strategy for moving small constants into dregs,
9172 if it can't be done with moveq.
9173 * m68k.h (CONST_COSTS): Reflect the change in m68k.md.
9175 Fri Mar 25 14:30:47 1994 Philippe De Muyter (phdm@info.ucl.ac.be)
9177 * m68k.md (call): If (new) MOTOROLA_BSR defined, try to emit 'bsr'.
9178 * m68k/mot3300.h (MOTOROLA_BSR): Defined.
9180 * m68k.c (output_function_prologue): Use link.w on 68040;
9181 emit pea fp + movl sp,fp instead of linkw 0 for 68040.
9183 Fri Mar 25 14:21:06 1994 Jim Meyering (meyering@idefix.comco.com)
9185 * bc-emit.c (bc_emit_bytecode): Remove decl of unused variable NPUSHES.
9186 (bc_emit_instruction): Remove decl of unused variable LITERAL.
9187 * c-aux-info.c (gen_decl): Remove decl of unused variable.
9188 * c-common.c (truthvalue_conversion): Remove decl of unused CODE.
9189 * c-decl.c (push_parm_decl): Move decl of unused variable OLDDECL
9191 (finish_enum): Remove decls of unused variables I and TEMPORARY.
9192 * c-parse.in (primary): Remove decl of unused variable CONTEXT.
9193 * c-typeck.c (convert_arguments): Remove decls of unused variables.
9194 * collect2.c (putenv): Remove decl of unused variable STR_LEN.
9195 (main): Remove decls of unused variables LEN and CLEN.
9196 * combine.c (try_combine): Remove decls of unused variables.
9197 (subst): Remove decls of unused variables ORIG_CODE.
9198 (simplify_if_then_else): Remove decl of unused variable C2.
9199 (make_compound_operation): Remove decl of unused variable COUNT.
9200 (known_cond): Remove decl of unused variable NEW.
9201 (make_field_assignment): Remove decl of unused variable OURDEST.
9202 (simplify_and_const_int): Remove decls of unused variables.
9203 (simplify_shift_const): Remove decl of unused variable INNER.
9204 * cse.c (cse_insn): Remove decl of unused variable TEM.
9205 * dbxout.c (dbxout_symbol): Remove decls of unused variables.
9206 * emit-rtl.c (reset_used_flags): Remove decl of unused variable.
9207 (gen_sequence): Remove decl of unused variable NEWVEC.
9208 * enquire.c (f_rep): Remove decl of unused variable F1.
9209 * final.c (output_source_line): Remove decl of unused variable.
9210 * fix-header.c (read_scan_file): Remove decl of unused variable RPTR.
9211 (write_rbrac): Remove decl of unused variable PARTIAL.
9213 * g++.c (main): Remove decl of unused variable FN.
9214 * genattr.c (main): Remove decl of unused variable MAX_ISSUE_TIME.
9215 * genattrtab.c (expand_units): Remove decl of unused variable.
9216 * genrecog.c (break_out_subroutines): Remove decl of unused variable.
9217 * global.c (global_conflicts): Move decl of unused variable I into
9219 * integrate.c (save_for_inline_nocopy): Remove decls of unused vars.
9220 (expand_inline_function): Remove two block-scope decls of unused
9222 * jump.c (invert_jump): Remove decl of unused variable OLABEL.
9223 * loop.c (init_loop): Remove decls of unused variables.
9224 (loop_optimize): Remove decl of unused variable END.
9225 (combine_movables): Remove decls of unused variables.
9226 (check_final_value): Remove decl of unused variable TEM.
9227 (check_dbra_loop): Remove decls of unused variables.
9228 (maybe_eliminate_biv): Remove decls of unused variables SET and V.
9229 * reload.c (find_reloads_address): Remove two block-scope decls of
9230 unused variable OLDREF.
9231 * rtl.c (read_rtx): Remove decl of unused variable STRINGBUFSIZE.
9232 * scan.c (get_token): Remove decl of unused variable QUOTE.
9233 (get_token): Remove unused label AGAIN.
9234 * sched.c (clear_units): Remove decl of unused variable UNIT.
9235 (actual_hazard_this_instance): Remove decl of unused variable I.
9236 (actual_hazard): Remove two block-scope decls of unused variable BEST.
9237 (sched_analyze_1): Remove decls of unused variables OFFSET and BIT.
9238 (sched_analyze): Remove decl of unused variable DEST.
9239 (sched_note_set): Remove decl of unused variable J.
9240 (create_reg_dead_note): Remove decl of unused variable BACKLINK.
9241 (new_sometimes_live): Remove decl of unused variable I.
9242 (schedule_block): Remove decls of unused variables LAST_NOTE and REGNO.
9243 (schedule_insns): Remove decls of unused variables I and INSNS.
9244 * sdbout.c (sdbout_symbol): Remove decl of unused variable LETTER.
9245 (sdbout_type): Remove decl of unused variable TEM.
9246 * toplev.c (compile_file): Remove unused label.
9247 * tree.c (stabilize_reference_1): Remove decl of unused variable.
9248 * unroll.c (unroll_loop): Remove decl of unused variable V.
9249 (precondition_loop_p): Remove decls of unused variables.
9250 (final_giv_value): Remove decl of unused variable CODE.
9252 Fri Mar 25 13:40:05 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9254 * pa.h (DBX_REGISTER_NUMBER): Fix numerous bugs in handling
9255 of FP registers and the SAR register.
9257 Fri Mar 25 12:46:56 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
9259 * i386.md (movhi, movqi): Properly recognize unsigned forms of -1
9262 * expr.c (expand_expr, case ADDR_EXPR): Return const0_rtx if
9263 taking address of an ERROR_MARK; also do some minor cleanup.
9265 * calls.c (expand_call): Don't require both -W and -Winline to say
9266 that call can't be inlined.
9267 Warn if inlining is tried but fails.
9269 * cccp.c (for_lint): Variable renamed from `lint'.
9271 * expr.c (expand_expr, case ABS_EXPR): Compare with 0 of proper mode.
9273 * fold-const.c (fold, case *_DIV_EXPR): Correct result when
9274 product of constants overflows.
9276 * alpha.c (output_prolog): Correctly compute floating-reg save
9279 * stmt.c (init_stmt_for_function): Clear stack_block_stack.
9281 * reload1.c (reload): Fix error in last change; only check
9282 against group reloads and check all reloads.
9284 Thu Mar 24 13:19:43 1994 Doug Evans (dje@cygnus.com)
9286 * toplev.c (v_pedwarn_with_decl): Don't cause compilation to fail
9287 from pedantic errors in system header files.
9289 Thu Mar 24 03:01:05 1994 Frederic Pierresteguy (F.Pierresteguy@frcl.bull.fr)
9291 * config.sub: Add case for Bull dpx20.
9293 * config/m68k/dpx2.h (CPP_PREDEFINES): Fix typo.
9295 Wed Mar 23 17:29:56 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
9297 * reload1.c (reload): Fix error in last change; compute MODE before
9300 * loop.c (get_condition): Exit if we don't recognize SET_SRC of
9301 a SET that modifies OP0.
9303 * combine.c (simplify_rtx, case FLOAT_TRUNCATE): Simplify
9304 case of (float_truncate (abs (float_extend X))).
9306 Wed Mar 23 17:20:54 1994 Jim Wilson (wilson@cygnus.com)
9308 * dbxout.c (dbxout_parms): For parameter living in psuedo-reg that
9309 was optimized away, use declared type instead of passed type.
9311 * mips.c (mips_asm_file_start): Add comment on TARGET_GP_OPT code.
9313 * c-decl.c (init_decl_processing): Change builtin_next_arg type so
9314 that it accepts any parameter instead of none.
9315 * cp/decl.c (init_decl_processing): Likewise.
9316 * expr.c (expand_builtin, BUILT_IN_NEXT_ARG case): Verify that
9317 parameter is last named argument.
9318 * gstdarg.h (va_start): Pass LASTARG as a parameter to
9320 * va-h8300.h, va-i860.h, va-i960.h, va-mips.h, va-sparc.h
9321 (va_start): Likewise.
9322 * va-alpha.h (va_start): Add call to builtin_next_arg.
9323 * va-clipper.h, va-m88k.h, va-pa.h, va-sparc.h (va_start):
9326 Tue Mar 22 18:57:54 1994 Jim Wilson (wilson@cygnus.com)
9328 * iris5.h (MIPS_DEFAULT_GVALUE): Define to zero.
9329 * mips.c (pic_address_needs_scratch): New function.
9330 (override_options): Set flag_pic when TARGET_ABICALLS.
9331 * mips.h (GO_IF_LEGITIMATE_ADDRESS): Also pretend that we have REG
9332 plus CONST_INT addresses by deleting an else.
9333 (CONSTANT_ADDRESS_P): When pic, don't accept addresses which are
9334 symbol_ref plus a large integer.
9335 (LEGITIMATE_PIC_OPERAND_P): Likewise.
9336 (LEGITIMIZE_ADDRESS): When pic, convert addresses which are
9337 symbol_reg plus a large integer, to reg plus a large integer.
9338 (ASM_OUTPUT_ADDR_DIFF_ELT): Use .gpword instead of subtracting
9340 * mips.md (movsi): Add special handling for constants which are
9341 illegal addresses when pic.
9342 (tablejump_internal1, tablejump_internal2): Emit .cpadd when
9343 TARGET_ABICALLS. Adjust length to include .cpadd.
9345 * mips.h (TRAMPOLINE_TEMPLATE): Add `move $25,$3' for when
9346 TARGET_ABICALLS. Delete padding for 64 bit case. Adjust offsets.
9347 (TRAMPOLINE_SIZE): Increase from 9 to 10 words for 32 bit case.
9348 (INITIALIZE_TRAMPOLINE): Increase offsets by 4 bytes for 32 bit case.
9350 Tue Mar 22 15:46:42 1994 Michael Meissner (meissner@osf.org)
9352 * i386/osfrose.h (HANDLE_PRAGMA_WEAK): Define in terms of
9354 (ASM_OUTPUT_DEF): Provide a definition.
9356 Mon Mar 21 15:56:58 1994 Per Bothner (bothner@cygnus.com)
9358 * fix-header.c: Make sstring buf extern (rather than "common").
9360 Mon Mar 21 17:45:56 1994 Doug Evans (dje@cygnus.com)
9362 * configure: Accept and ignore --without-*.
9364 Mon Mar 21 17:05:25 1994 Jim Wilson (wilson@cygnus.com)
9366 * dbxout.c (source_label_number): New variable.
9367 (dbxout_source_file): Use it. Output an Ltext label.
9369 * c-decl.c (duplicate_decls): When pedantic, warn when any static
9370 declaraction follows a non-static.
9372 * sparc.md (seq, sne, sgt, slt, sge, sle): Add support
9373 for !TARGET_HARD_QUAD.
9375 Mon Mar 21 16:59:02 1994 Mike Collison (collison@chianti.sw.stratus.com)
9377 * reload1.c (reload): More accurately compute nongroup needs.
9378 (reloads_conflict): New function.
9380 Mon Mar 21 16:21:07 1994 Doug Evans (dje@cygnus.com)
9382 * libgcc2.c (__builtin_saveregs): Fix return type.
9384 Mon Mar 21 07:37:13 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
9386 * function.c (preserve_temp_slots): If argument is REG, see if it
9387 is address of a temp slot we know about.
9388 * expr.c (expand_expr, case ADDR_EXPR): Update temp slot address
9389 if we put it in a register; mark result as pointer.
9391 * cse.c (FIXED_REGNO_P): Treate global regs as fixed.
9392 (CHEAP_REGNO): Renamed from CHEAP_REG.
9393 (CHEAP_REG): New macro; user var in hard reg is cheap.
9394 (COST): Pass RTL to CHEAP_REG, not regno.
9395 (rtx_cost, case REG): Likewise.
9397 Sun Mar 20 19:38:44 1994 Stephen L Moshier (moshier@world.std.com)
9399 * m68k/news.h (PRINT_OPERAND): Print float infinity
9400 and NaN's as +/-99e999.
9402 Sun Mar 20 17:42:09 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9404 * mips-tfile.c (update_headers): Align symbol table sections,
9405 using ALIGN_SYMTABLE_OFFSET. Provide a default definition which
9407 * alpha.h (ALIGN_SYMTABLE_OFFSET): New macro.
9409 Sun Mar 20 06:38:41 1994 Richard Earnshaw (rwe11@cl.cam.ac.uk)
9411 * emit_rtl.c (try_split): Rename third parameter as LAST.
9412 Recursively call try_split for each new insn created.
9414 * combine.c (mark_used_regs_combine): Correct typo.
9416 Sun Mar 20 06:28:23 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
9418 * vax.h (CHECK_FLOAT_VALUE): Add missing continuation character.
9419 * tree.c (build_real): Add `overflow' var; pass to CHECK_FLOAT_VALUE.
9421 Sat Mar 19 17:44:14 1994 Jim Wilson (wilson@cygnus.com)
9423 * expr.c (expand_expr, case ABS_EXPR): Fix typo in last change.
9425 Sat Mar 19 17:13:47 1994 Richard Earnshaw (rwe11@cl.cam.ac.uk)
9427 * combine.c (newpat_used_regs): New variable.
9428 (mark_used_regs_combine): New function.
9429 (try_combine): Use them.
9430 (reg_dead_at_p): Registers marked in newpat_used_regs must always be
9431 considered to be live.
9433 Sat Mar 19 06:29:38 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
9435 * c-parse.in (attrib): Use `identifier' instead of `IDENTIFIER'
9436 since names that are (e.g.) typedef names are still OK.
9438 * m68k/next.h (GO_IF_INDEXABLE_BASE): Make compatible with m68k.h.
9440 * genoutput.c (output_epilogue, insn_names): Write correct names
9441 for patterns before first named pattern.
9443 * nextstep.h (SELECT_SECTION): Fix typo (arg names) in last change.
9445 * c-decl.c (grokdeclarator): Use signed version of `sizetype' for
9446 type of array index.
9448 Sat Mar 19 06:25:39 1994 Stephen L Moshier (moshier@world.std.com)
9450 * fold-const.c (const_binop): Avoid initialized aggregate
9451 local variables, for antique compilers.
9453 Fri Mar 18 18:43:28 1994 Jim Wilson (wilson@cygnus.com)
9455 * i386/osfrose.h (SELECT_SECTION): Variables go in readonly data
9456 only if the initializer is constant.
9457 * i386/svr3gas.h, m88k/m88k.h, mips/mips.h, nexstep.h,
9458 rs6000/rs6000.h, sparc/sparc.h, svr3.h, svr4.h, vax/vms.h
9459 (SELECT_SECTION): Likewise.
9460 * varasm.c (assemble_variable): Likewise.
9462 Fri Mar 18 17:54:12 1994 David Edelsohn (edelsohn@npac.syr.edu)
9464 * rs6000.md (divmodsi4, udivsi3, divsi3, udivmodsi4): Add AIX
9466 (mulh_call, mull_call, divss_call, divus_call, quoss_call, quous_call):
9467 AIX common-mode call patterns.
9468 (ashlsi3): More TARGET_POWERPC to ! TARGET_POWER changes.
9469 (addsf3, subsf3, mulsf3, divsf3, etc.): Change TARGET_POWER
9470 to ! TARGET_POWERPC.
9471 (fix_truncdfsi2): Use POWER/2 and PowerPC FP convert instruction.
9472 (fpcvtsi): New pattern.
9473 (mulsidi3): Add AIX common-mode case, add imul attribute to POWER
9474 pattern, add PowerPC pattern, flag input operands as commutative.
9475 (smulsi3_highpart): Add AIX common-mode case.
9476 (movsi matcher): Add mtjmpr attribute to ! TARGET_POWER case.
9477 (movsf): Clean up load from memory or integer register test.
9478 (movdi matcher): Add FP register support.
9480 * rs6000.c (common_mode_defined): New variable.
9481 (output_prolog): Define external common-mode calls.
9483 * rs6000.h (HARD_REGNO_MODE_OK): Allow DImode in FP registers.
9484 (CONDITIONAL_REGISTER_USAGE): Delete ppcas mention from comment.
9485 (RTX_COSTS): Costs based upon processor_type enum.
9487 Fri Mar 18 17:53:35 1994 Torbjorn Granlund (tege@cygnus.com)
9489 * rs6000.md (smulsi3_highpart): New patterns.
9490 (umulsi3_highpart_power): New pattern.
9492 Fri Mar 18 15:26:56 1994 Jim Wilson (wilson@cygnus.com)
9494 * sol2.h (SELECT_RTX_SECTION): Delete.
9495 * sysv4.h (SELECT_RTX_SECTION): Add.
9496 (ASM_SPEC): Pass -K to assembler when PIC.
9498 * cccp.c (before_system, last_before_system): New variables.
9499 (main): Handle -isystem option. Insert -isystem directories in
9500 search chain at first_system_include.
9501 * gcc.c (include_prefix): New variable.
9502 (process_command): Add path/include to include_prefix when see a
9504 (do_spec_1, case 'I'): Pass include_prefix directories to cpp with
9505 the -isystem option.
9507 * loop.c (scan_loop): New variable loop_depth. Increment and
9508 decrement on LOOP_BEG and LOOP_END notes. Only use LOOP_VTOP note
9509 if loop_depth is zero.
9510 (strength_reduce): Likewise.
9512 * sparc/sparc.h (FIXUNS_TRUNCTFSI2_LIBCALL): Define.
9513 * optabs.c (init_optabs): Use FIXUNS_TRUNCTFSI2_LIBCALL macro.
9515 Thu Mar 17 13:13:46 1994 Per Bothner (bothner@kalessin.cygnus.com)
9517 * stor-layout.c (layout_type, case BOOLEAN_TYPE):
9518 Set TREE_UNSIGNED unless TYPE_MIN_VALUE is negative.
9520 Thu Mar 17 18:36:34 1994 Jim Wilson (wilson@cygnus.com)
9522 * c-common.c (shorten_compare): When simplify compare against
9523 zero, check for restype_ptr unsigned instead of primop0 unsigned.
9525 * calls.c (expand_call): Undo Feb 27 change. Set nregs to -1 for
9528 Thu Mar 17 17:43:28 1994 Ian Lance Taylor (ian@cygnus.com)
9530 * fixinc.svr4: Define BYTE_ORDER in <sys/byteorder.h> as on
9533 Thu Mar 17 06:02:24 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
9535 * stor-layout.c (layout_type, case INTEGER_TYPE): Properly test for
9536 nonnegative lower bound.
9538 Wed Mar 16 12:41:19 1994 Ian Lance Taylor (ian@cygnus.com)
9540 * tree.c (build_nt, build_parse_node): Don't declare last
9541 parameter to be register, since it is used in VA_START, which
9542 may take its address.
9543 * genattrtab.c (attr_printf): Likewise.
9545 Wed Mar 16 12:00:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9547 * pa.h (INITIALIZE_TRAMPOLINE): Do not mask off high
9548 bits of address passed to icacheflush.
9550 * pa.h (WCHAR_TYPE): Use "unsigned int" by default.
9551 (WCHAR_TYPE_SIZE): Change appropriately.
9552 * pa-ghiux.h, pa-ghpux.h, pa-gux7.h, pa-hiux.h, pa-hpux.h,
9553 pa-hpux7.h (WCHAR_TYPE): Delete definition.
9554 (WCHAR_TYPE_SIZE): Likewise.
9555 * pa-osf.h (WCHAR_TYPE): Override appropriately for OSF1.
9556 (WCHAR_TYPE_SIZE): Likewise.
9558 * pa.md (DImode lo_sum): Add earlyclobber for alternative one.
9560 * pa.h (ASM_OUTPUT_ADDR_DIFF_ELT): Rewrite to match
9561 ASM_OUTPUT_ADDR_VEC_ELT which is PIC-safe.
9563 Wed Mar 16 09:07:34 1994 Matthias Pfaller (leo@marco.de)
9565 * ns32k.c (global_symbolic_reference_mentioned_p): Recurse only
9566 if GET_CODE (op) == CONST.
9568 * ns32k.h (FUNCTION_PROLOGUE): Load sb through r0 if TARGET_REGPARM
9571 Wed Mar 16 06:57:45 1994 Richard Kenner (kenner@vlsi1.ultra.nyu)
9573 * emit-rtl.c (gen_lowpart_common, gen_highpart, operand_subword):
9574 Test input against RTX for FP, AP, and SP, not same register number.
9576 * expr.c (expand_expr): Update comments and fix formatting.
9577 (expand_expr, case VAR_DECL, STRING_CST, CONSTRUCTOR): If
9578 flag_force_addr, put address in register unless REG.
9579 (expand_expr, case CONSTRUCTOR, CONVERT_EXPR): Make TARGET with
9580 TMODE, if specified.
9581 (expand_expr, case IN_EXPR): Clean up. Allow INDEX to be an
9582 unsigned type. Always evaluate SET and INDEX in case of side effects.
9583 (expand_expr, case CONVERT_EXPR): Use convert_modes to handle consts.
9584 (expand_expr, case ABS_EXPR): Simplify processing of COMPLEX.
9585 Compare with zero word-by-word if required.
9586 (expand_expr, case ABS_EXPR, MIN_EXPR, COND_EXPR): Don't use TARGET
9588 (expand_expr, case TRUTH_*_EXPR): Modes of input and output must agree.
9589 (expand_expr, case CONJ_EXPR): Remove redundant def of MODE.
9591 * stor-layout.c (layout_record): If the place where we were going
9592 to put a field changed, lay it out again.
9594 Tue Mar 15 07:53:36 1994 Paul A Vixie (paul@vix.com)
9596 * Makefile.in (stmp-fixproto): Add missing "-" in front of "if".
9597 (install-headers-tar, gcc.xtar): Use "-" in front of tar options.
9599 Mon Mar 14 16:28:16 1994 Paul Eggert (eggert@twinsun.com)
9601 * fixincludes: Insert newlines just before the end of 'sed'
9602 command strings if the last 'sed' command is 'a' or 'i';
9603 BSDI 1.1 'sed' needs this.
9605 Mon Mar 14 15:46:29 1994 Ian Lance Taylor (ian@cygnus.com)
9607 * fixinc.svr4: Don't name variables in mmap prototype.
9609 Mon Mar 14 15:16:38 1994 Doug Evans (dje@cygnus.com)
9611 * objc/Makefile (*.o): Add explicit dependencies for Sun's VPATH.
9613 Mon Mar 14 05:11:42 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
9615 * function.c (assign_parms, expand_function_start): Properly
9616 set MEM_IN_STRUCT_P for DECL_RTL of function result.
9618 * c-decl.c (grokdeclarator): Convert to sizetype when manipulating
9619 size of array and use care to avoid mixed-type operations.
9621 * expr.c (expand_expr): Don't call bc_expand_expr
9622 if EXPAND_INITIALIZER.
9623 * bc-optab.c (bc_expand_{binary,unary}_operation): Add missing
9624 args to call to expand_expr.
9625 * stmt.c (bc_expand_start_cond): Set exit_label if not EXITFLAG.
9626 (bc_expand_end_bindings): Only define exit_label if set.
9627 Don't pop nesting_stack.
9628 * varasm.c (output_constant_def): Do hashing and make label
9630 * bc-emit.c (bc_seg_write): Don't make unaligned reference to
9632 * toplev.c (compile_file): Call bc_write_file here and pass
9633 asm_out_file, not stdout.
9634 (main): Don't call bc_write_file here.
9635 Fix wording on error if -fbytecode specified on unsupported target.
9637 * fold-const.c (fold, associate): If -ffast-math, associate FP mults.
9638 (fold, case RDIV_EXPR): Split case; ignore division by 1.
9639 If -ffast-math, convert to multply by reciprocal.
9640 (fold, case *_DIV_EXPR): Simplify A/C1/C2.
9642 * tree.h (tree_int_cst_sgn): New declaration.
9643 * tree.c (tree_int_cst_sgn): New function.
9644 * c-decl.c (finish_{decl,struct,enum}): Call it.
9645 * c-typeck.c (build_binary_op, pop_init_level): Likewise.
9646 (output_pending_init_elements): Likewise.
9647 * expr.c (expand_builtin, case BUILT_IN_RETURN_ADDRESS): Likewise.
9648 * fold-const.c (fold): Likewise.
9649 (fold, case *_DIV_EXPR): Add missing conversion.
9650 * convert.c (convert_to_integer): Convert integer_one_node to
9651 proper type before tree_int_cst_lt call.
9653 Sun Mar 13 06:46:13 1994 Wolfgang Stukenbrock (wgstuken@immd4.informatik.uni-erlangen.de)
9655 * gcc.c (do_spec_1): Don't duplicate a macro starting with '__'.
9657 Sun Mar 13 05:54:00 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
9659 * convert.c (convert_to_integer): When changing type of truthvalue
9660 operation, change types of inputs too.
9661 * c-common.c (TRUTH_*_EXPR): Convert to integer_type_node.
9663 * tree.c: Include setjmp.h.
9664 (build_real_from_int_cst): Propagate overflow flags and
9665 establish float handler.
9666 (build_complex): Propagate overflow flags.
9667 * cse.c (simplify_binary_operation): Protect real_value_truncate
9669 * fold-const.c (force_fit_value): Operate on REAL_CST as well.
9670 (real_value_truncate): Don't use its own handler.
9671 (const_binop): Set overflow on FP error and call force_fit_type.
9672 (fold_convert): Likewise.
9673 * c-common.c (constant_expression_warning, overflow_warning):
9674 Handle REAL_CST and COMPLEX_CST.
9675 * convex.h, convex.c, fx80.h, tahoe.h, vax.h, vax.c: Add OVERFLOW
9676 operand to CHECK_FLOAT_VALUE.
9678 * jump.c (rtx_equal_for_thread_p): Correct error in previous
9679 change; add missing arg in recursive call.
9681 Sat Mar 12 19:42:03 1994 H.J. Lu (hjl@nynexst.com)
9683 * configure (gxx-include-dir): Replacement for gxx-prefix.
9684 * Makefile.in (gxx_include_dir): Likewise, for gxx_prefix.
9686 * i386/linux.h (NO_IMPLICIT_EXTERN_C): Defined.
9688 Sat Mar 12 07:42:12 1994 Paul Eggert (eggert@twinsun.com)
9690 * Makefile.in (stmp-fixproto): Work around a `make' bug in BSDI 1.1.
9692 Sat Mar 12 07:38:08 1994 Klaus Kaempf (kkaempf@didymus.rmi.de)
9694 * bi-run.h: Properly test BYTES_BIG_ENDIAN.
9695 * bytecode.h: Likewise for WORDS_BIG_ENDIAN.
9697 * cccp.c (do_include, hack-vms_include_specification): Change handling
9698 of '#include filename' to be compatible with VAX-C.
9700 * genemit.c (gen_exp): Added \n to printf to shorten line for VAX-C.
9702 Sat Mar 12 06:42:38 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
9704 * expr.h (emit_float_lib_cmp): Add declaration here.
9705 * optabs.c: Don't define emit_float_lib_cmp now that no longer static.
9707 * jump.c: Add prototypes for static functions.
9708 (jump_optimize, delete_insn): Use GET_RTX_CLASS to test for insns.
9709 (mark_jump_label): Delete dead code.
9710 (delete_computation, redirect_tablejump): No longer static.
9712 Fri Mar 11 14:40:40 1994 Jim Wilson (wilson@cygnus.com)
9714 * lite.h (TARGET_DEFAULT): Use parentheses.
9715 * sparc.h (TARGET_HARD_QUAD): New macro.
9716 (TARGET_SWITCHES): Add hard-quad-float, soft-quad-float.
9717 (TARGET_DEFAULT): Use parentheses.
9718 ({ADDTF3,SUBTF3,MULTF3,DIVTF3,SQRTTF2,FLOATSITF2,FIX_TRUNCTFSI2,
9719 EXTENDSFTF2,TRUNCTFSF2,EXTENDDFTF2,TRUNCTFDF2,EQTF2,NETF2,GTTF2,
9720 GETF2,LTTF2,LETF2}_LIBCALL): New macros.
9721 * sparc.md (sleu+4, sleu+7, extendsftf2, extenddftf2, trunctfsf2,
9722 trunctfdf2, floatsitf2, fix_trunctfsi2, addtf3, subtf3, multf3,
9723 divtf3, sqrttf2): Disable when -msoft-quad-float.
9724 (beq, bne, bgt, blt, bge, ble): When -msoft-quad-float, account
9725 for return value of SPARC ABI routines that differs from libgcc.
9726 * flow.c (libcall_dead_p): Fail not abort for libcall that returns
9727 value via invisible pointer.
9728 * optabs.c (emit_float_lib_cmp): Make non static.
9729 (init_optabs): Use {ADDTF3,SUBTF3,MULTF3,DIVTF3,SQRTTF2,FLOATSITF2,
9730 FIX_TRUNCTFSI2,EXTENDSFTF2,TRUNCTFSF2,EXTENDDFTF2,TRUNCTFDF2,EQTF2,
9731 NETF2,GTTF2,GETF2,LTTF2,LETF2}_LIBCALL macros.
9733 * sparc/sparc.h (STARTING_FRAME_OFFSET): Depend on
9734 LONG_DOUBLE_TYPE_SIZE.
9736 Fri Mar 11 08:01:54 1994 Stephen R. van den Berg (berg@pool.informatik.rwth-aachen.de)
9738 * rtl.h, tree.h, g++.c, gcc.c (PVPROTO): New macro.
9739 * combine.c, expr.h, rtl.h, tree.h, gcc.c: Use it for varargs protos..
9740 * genattrtab.c, mips-tfile.c, output.h, toplev.c: Likewise.
9742 Fri Mar 11 07:21:36 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
9744 * emit-rtl.c (copy_rtx_if_shared, case LABEL_REF): Can't share.
9745 * jump.c (jump_optimize): Delete REG_LABEL note if label no
9748 * c-decl.c (finish_decl): When preserving an initializer, ensure
9749 its type is on a good obstack.
9751 Thu Mar 10 15:32:42 1994 Mike Collison (collison@sw.stratus.com)
9753 * reload1.c (emit_reload_insns): When clearing reg_last_reload_reg,
9754 clear all hard regs in reload_out.
9756 Thu Mar 10 15:23:10 1994 Hallvard B Furuseth (hbf@durin.uio.no)
9758 * collect2.c (dup2): Catch `dup' failure. Return correct value.
9760 Thu Mar 10 15:18:08 1994 Richard Earnshaw (rwe11@cl.cam.ac.uk)
9762 * gcc.c ([__MSDOS__]): Use #ifdef, not #if.
9763 * collect2.c ([__MSDOS__]): Likewise.
9765 Thu Mar 10 15:03:01 1994 Paul Eggert (eggert@twinsun.com)
9767 * cccp.c (main, finclude, check_precompiled): When safe_read
9768 returns a partial buffer, this means EOF has been reached;
9769 don't try to read any more.
9771 Wed Mar 9 18:47:29 1994 Paul Eggert (eggert@twinsun.com)
9773 * real.c (target_negative): -0 counts as negative.
9775 Wed Mar 9 15:32:01 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
9777 * m68k.md (movqi): Disable special-case of stack push if operand
9778 one is an address register.
9780 * c-typeck.c (pointer_int_sum): Multiplication should be
9782 (pointer_diff): Likewise the division.
9783 * fold-const.c (fold, case MULT_EXPR): Simplify MULT_EXPR of an
9784 EXACT_DIV_EXPR with the same divisor as our multiplicand.
9786 * jump.c (rtx_equal_for_thread_p): Commutative operations
9787 are identical if the operands match in the opposite order.
9788 * sched.c (rtx_equal_for_memref_p): Likewise.
9790 Wed Mar 9 12:07:29 1994 Richard Earnshaw (rwe11@cl.cam.ac.uk)
9792 * cse.c (simplify_relational_operation): Fix typos; use
9793 ARG_POINTER_REGNUM and FRAME_POINTER_REGNUM in condtionals.
9795 Tue Mar 8 16:12:07 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
9797 * explow.c (break_out_memory_refs): Don't call mark_reg_pointer
9799 (memory_address): Call it here if X changed and is now a REG
9802 Tue Mar 8 15:57:29 1994 Jim Wilson (wilson@cygnus.com)
9804 * c-decl.c (finish_decl): When saving/discarding initializers,
9805 don't check TREE_PERMANENT and TREE_STATIC.
9806 (finish_decl, finish_function): Pass new argument to
9807 permanent_allocation.
9808 * cp/decl.c (finish_function): Likewise.
9809 * cp/decl2.c (write_vtable_entries, finish_file): Likewise.
9810 * toplev.c (compile_file): Likewise.
9811 * function.h (struct function): Add momentary_function_firstobj
9813 * tree.c (momentary_function_firstobj): New variable.
9814 (init_obstack): Set it.
9815 (save_tree_status): Save it and set it.
9816 (restore_tree_status): Use it and restore it.
9817 (permanent_allocation): New parameter function_end. Clear
9818 momentary_obstack to momentary_function_firstobj if true.
9819 (preserve_initializer): Set base field of every momentary
9820 level on the momentary stack to new momentary_firstobj.
9821 (pop_momentary): Only free back to previous base.
9822 * tree.h (permanent_allocation): Add prototype.
9824 Mon Mar 7 20:10:56 1994 Jim Wilson (wilson@cygnus.com)
9826 * iris4gl.h: Rewrite. Include iris4loser.h not iris4-gdb.h.
9827 Define PREFERRED_DEBUGGING_TYPE not ASM_SPEC.
9829 * bsd-4.h (LINK_SPEC): Do not depend on gas. Don't interpret -EB
9830 and -EL options, but do pass them.
9831 * bsd-5.h (LINK_SPEC): Likewise.
9832 * decl-osf1.h (LINK_SPEC): Likewise.
9833 * iris5.h (LINK_SPEC): Likewise.
9834 * mips-5.h (LINK_SPEC): Likewise.
9835 * mips.h (LINK_SPEC): Likewise.
9836 * svr3-4.h (LINK_SPEC): Likewise.
9837 * svr3-5.h (LINK_SPEC): Likewise.
9838 * svr4-4.h (LINK_SPEC): Likewise.
9839 * svr4-5.h (LINK_SPEC): Likewise.
9841 * dec-bsd.h (LINK_SPEC): Pass all normal linker options to gld.
9842 (ASM_SPEC): Pass all normal assembler options to gas.
9843 * osfrose.h (LINK_SPEC): Likewise.
9844 (ASM_SPEC): Likewise.
9846 * mips.h (ASM_SPEC): Make definition depend on whether or
9847 not the default assembler is gas. Pass all normal assembler
9849 * iris4loser.h (ASM_SPEC): Likewise. Pass -O0 if the assembler is
9852 * iris3.h (ASM_SPEC, LINK_SPEC): Delete.
9853 * news4.h (ASM_SPEC, LINK_SPEC): Delete.
9854 * news5.h (LINK_SPEC): Delete.
9855 * nws3250v4.h (ASM_SPEC, LINK_SPEC): Delete.
9856 * ultrix.h (ASM_SPEC, LINK_SPEC): Delete.
9858 * mips.h (ASM_FINAL_SPEC): Cross compiling does not presume gas.
9860 * osfrose.h (SIZE_TYPE): Delete.
9861 (MAX_WCHAR_TYPE_SIZE): Define.
9863 * calls.c (expand_call): For pcc_struct_value case, set
9864 MEM_IN_STRUCT_P correctly on target.
9866 * Makefile.in (mostlyclean): Don't explicitly delete ld.
9868 Mon Mar 7 20:06:38 1994 Ian Lance Taylor (ian@cygnus.com)
9870 * mips-tdump.c (print_symbol): The index field of a global symbol
9871 is the symbol table index of the corresponding local symbol, not
9872 an index into the aux table.
9873 (print_file_desc): Print out size of line number information
9874 rather than repeating line number count. The cbLineOffset field
9875 of a PDR is relative to the cbLineOffset field of the FDR. Also,
9876 when computing line_end of the last PDR, use cbLineOffset, not
9879 Mon Mar 7 17:42:35 1994 H.J. Lu (hjl@nynexst.com)
9881 * Makefile.in (gxx_prefix): New; default to $(libdir).
9882 (GPLUSPLUS_INCLUDE_DIR): Change to $(gxx_prefix)/g++-include.
9883 * configure (gxx_prefix): New; default to $(libdir).
9885 * i386/linux.h (GPLUSPLUS_INCLUDE_DIR): Deleted.
9886 (STARTFILE_SPEC): Remove "-nojump".
9888 Mon Mar 7 17:06:08 1994 Stephen R. van den Berg (berg@pool.informatik.rwth-aachen.de)
9890 * i386/xm-linux.h (malloc): Remove disabled code.
9892 Mon Mar 7 13:27:09 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
9894 * cccp.c (no_record_file): New variable.
9895 (main): Set it for -imacros and -include files.
9896 (do_endif): Don't call record_control_macro for -include or -imacros
9897 files or files included from -imacros.
9899 Sun Mar 6 21:48:51 1994 Richard Stallman (rms@mole.gnu.ai.mit.edu)
9901 * config.sub: Accept freebsd as OS.
9903 Sun Mar 6 14:40:00 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
9905 * stupid.c: Add prototypes for static functions.
9906 (last_{jump,label}_suid): Deleted; all uses deleted.
9907 (reg_crosses_blocks): Likewise.
9908 (stupid_life_analysis): Only allocate MAX_SUID entries
9909 of after_insn_hard_regs.
9910 Use GET_RTX_CLASS when possible.
9911 Initialize all of reg_renumber.
9912 Use reg_alternate_class when reg not available in preferred class.
9913 (stupid_find_reg): Delete argument CROSSES_BLOCKS.
9915 * stupid.c (stupid_mark_refs): If setting reg_where_dead, set
9916 regs_live so we don't later clobber it.
9918 * recog.c (constrain_operands): Properly handle '#' in constraint.
9920 * combine.c (subst): Split into five functions.
9921 (simplify_{rtx,if_then_else,set,logical}): New functions.
9923 Sun Mar 6 13:12:48 1994 James Van Artsdalen (james at bigtex.cactus.org)
9925 * reg-stack.c (find_blocks): Undo previous change to block
9926 delineation algorithm.
9927 (reg_to_stack): Make algorithm identical to that in find_blocks.
9929 Sat Mar 5 16:27:58 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
9931 * genattrtab.c (attr_printf): Remove `register' from decl of FMT.
9932 * tree.c (build_nt, build_parse_node): Remove `register' from decl
9935 * reload.c (get_secondary_mem): Call SECONDARY_MEMORY_NEEDED_MODE
9937 * alpha.h (SECONDARY_MEMORY_NEEDED_MODE): New macro.
9938 * alpha.c (output_{pro,epi}log): Round var size to quadword boundary.
9940 * alpha.md (unaligned_{load,store}hi): Clear low bit of
9941 address before using as operand to extwl, mskwl, and inswl.
9942 (movhi, reload_inhi, reload_outhi): Pass extra scratch value.
9944 Fri Mar 4 17:16:23 1994 Leonard Norrgard (vinsci@nic.funet.fi)
9946 * c-lex.c: Delete gperf-generated source from here.
9947 * c-gperf.h: New file; contains just gperf output.
9948 * Makefile.in (c-gperf.h): New rule.
9949 (c-lex.o): Depends on c-gperf.h.
9950 (realclean): Delete c-gperf.h.
9951 (distdir): Build c-gperf.h.
9952 (diff): Omit differences in c-gperf.h.
9954 Fri Mar 4 06:35:26 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
9956 * svr4.h, m88k.h (ASM_FINISH_DECLARE_OBJECT): Set
9957 size_directive_output to 1.
9959 * reload1.c (emit_reload_insns): Don't call gen_input_reload if
9960 src and dest are identical.
9962 Thu Mar 3 15:32:55 1994 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
9964 * alpha.md (mskXl): Add missing NOT in patterns.
9966 * t-m88k: Remove added realclean rule.
9968 See ChangeLog.8 for earlier changes.