]> gcc.gnu.org Git - gcc.git/blame - gcc/ChangeLog
sysv4.h (CPP_OS_LINUX_SPEC): Fix conditions for -Dunix and -Dlinux, and remove duplic...
[gcc.git] / gcc / ChangeLog
CommitLineData
f58f9450
DJ
1Sat Apr 10 05:25:28 1999 Daniel Jacobowitz <dan@debian.org>
2
3 * rs6000/sysv4.h (CPP_OS_LINUX_SPEC): Fix conditions
4 for -Dunix and -Dlinux, and remove duplicate definition.
5 Change -Asystem(linux) to -Asystem(posix).
6 (CPP_OS_SOLARIS_SPEC): Fix conditions for -Dunix, -Dsun,
7 -DSVR4, -D__EXTENSIONS__.
8
9 * rs6000/linux.h (CPP_PREDEFINES): Remove -Dunix,
10 -Dlinux, -Asystem(linux), and -Asystem(unix).
11
509781a4
ME
12Sat Apr 10 05:14:50 1999 Mark Elbrecht <snowball3@usa.net>
13
14 * collect2.c (find_a_file): Use HAVE_DOS_BASED_FILE_SYSTEM in place
15 of the DIR_SEPARATOR test.
16 Consider any file starting with a drivename to be absolute.
17 If the absolute filename test fails and EXECUTABLE_SUFFIX is
18 defined, append EXECUTABLE_SUFFIX to the file and try again.
19 * cppinit.c (base_name): Use HAVE_DOS_BASED_FILE_SYSTEM
20 in place of __MSDOS__ and _WIN32.
21 * cppfiles.c (simplify_pathname): Likewise.
22 * gcc.c (IS_DIR_SEPARATOR): Define new macro. Returns true if a
23 character is a directory separator.
24 (find_a_file): Use it.
25 (convert_filename): Likewise.
26 (process_command): Likewise.
27 (do_spec_1): Likewise.
28 (is_directory): Likewise.
29 (main): Likewise.
30 * prefix.c (IS_DIR_SEPARATOR): Define. Tests whether a character is
31 a directory separator.
32 (translate_name): Use it.
33 (update_path): Change DIR_SEPARATOR_2 to DIR_SEPARATOR. Fix
34 warning in block where '/' is changed to DIR_SEPARATOR.
35 * i386/xm-djgpp.h (DIR_SEPARATOR): Set to '/'.
36 (DIR_SEPARATOR_2): New macro. Set to '\'.
37 (HAVE_DOS_BASED_FILESYS): Define.
38 * i386/xm-mingw32.h: Updated copyright. Set
39 DIR_SEPARATOR_2 to '/'. Define HAVE_DOS_BASED_FILE_SYSTEM.
40 * i386/xm-os2.h: Likewise.
41 * winnt/xm-winnt.h: Likewise.
42 * i386/xm-dos.h: Likewise. Add copyright.
43
d14ff9bd
JM
441999-04-10 Joseph S. Myers <jsm28@cam.ac.uk>
45
46 * pdp11.h (TARGET_SWITCHES): Add option to vary assembler syntax.
47 (TARGET_DEFAULT): Possibly use UNIX syntax.
48 (TARGET_UNIX_ASM, TARGET_UNIX_ASM_DEFAULT): New macros.
49 (REGISTER_NAMES): Use "r5" instead of "fp".
50 (ASM_OUTPUT_ALIGN): Use ".even" directive, and abort for any
51 greater alignment.
52 * 2bsd.h (TARGET_UNIX_ASM_DEFAULT): Default to UNIX assembler
53 syntax for 2BSD.
54 * pdp11.c (output_ascii): Use working syntax for ".byte".
55 (print_operand_address): Use "*" instead of "@" when using UNIX
56 assembler syntax.
57
3f1b9b1b
JL
58Sat Apr 10 03:50:12 1999 Jeffrey A Law (law@cygnus.com)
59
c4403371
JL
60 * rtl.h (rebuild_jump_labels): Declare.
61 * jump.c (jump_optimize_1): Renamed from jump_optimize. Make static.
62 Add new argument MARK_LABELS_ONLY. Quit after mark_all_labels if
63 requested.
64 (jump_optimize, rebuild_jump_labels): New wrapper functions for
65 jump_optimize_1.
66 * toplev.c (rest_of_compilation): Use rebuild_jump_labels instead of
67 running the entire jump optimizer.
68
3f1b9b1b
JL
69 * rtl.h (local_alloc): Returns an integer now.
70 * local-alloc.c (recorded_label_ref): New file scoped variable.
71 (local_alloc): Initialize recorded_label_ref to zero. Return its
72 value when local allocation has completed.
73 (update_equiv_regs); If we create an equivalence for a LABEL_REF,
74 set recorded_label_ref.
5d90cd8f 75 * toplev.c (rest_of_compilation): Run the jump optimizer after
3f1b9b1b
JL
76 register allocation and reloading if needed.
77
a059f76b
KW
78Fri Apr 9 21:02:57 1999 Krister Walfridsson (cato@df.lth.se)
79
80 * i386/gas.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Fix typo.
81 * i386/freebsd-elf.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Likewise.
82
5e4df1ae
ZW
831999-04-09 22:58 -0400 Zack Weinberg <zack@rabi.columbia.edu>
84
85 * cpphash.c (special_symbol): When expanding __LINE__, use the
86 top file buffer, not the top buffer.
87
73a3903d
JW
88Fri Apr 9 13:41:04 1999 Jim Wilson <wilson@cygnus.com>
89
90 * Makefile.in (check-g++, check-gcc, check-g77, check-objc): Add
91 cd .. to TCL_LIBRARY command.
92
0122a613
NC
93Fri Apr 9 13:04:52 1999 Nick Clifton <nickc@cygnus.com>
94
95 * config/arm/unknown-elf.h (SUBTARGET_CPU_DEFAULT): Only define if
96 not already specified.
97
09a07623
JM
98Fri Apr 9 11:18:55 1999 Jason Merrill <jason@yorick.cygnus.com>
99
100 * c-common.c (decl_attributes, A_INIT_PRIORITY): Allow arrays
101 of classes, too.
102
d330fd93
KG
103Fri Apr 9 10:40:10 1999 Kaveh R. Ghazi <ghazi@snafu.rutgers.edu>
104
105 * rs6000.c (rs6000_override_options, ptt, rs6000_file_start,
106 rs6000_float_const, rs6000_replace_regno, debug_stack_info,
107 rs6000_output_load_toc_table, output_prolog, output_epilog):
108 Const-ify a char*.
109 (output_mi_thunk): Likewise. Mark parameter `thunk_fndecl' with
110 ATTRIBUTE_UNUSED. Hide unused variables `r0', `sp', `toc',
111 `schain', `r12', `buf' and `labelno'.
112 (output_ascii): Const-ify a char*.
113 (rs6000_gen_section_name): Initialize variable `last_period'.
114 (rs6000_adjust_priority): Mark parameter `insn' with
115 ATTRIBUTE_UNUSED.
116 (rs6000_trampoline_template, rs6000_dll_import_ref,
117 rs6000_longcall_ref, rs6000_encode_section_info): Const-ify a char*.
118
119 * rs6000.h (offsettable_mem_operand, optimization_options): Add
120 prototypes.
121
122 * rs6000.md (movdi, define_split): Cast a value to HOST_WIDE_INT
123 when comparing against one.
124
d4ca58b3
JL
125Thu Apr 8 19:20:18 1999 Jeffrey A Law (law@cygnus.com)
126
efd07ca7
JL
127 * expr.c (expand_expr, case ARRAY_REF, COMPONENT_REF, BIT_FIELD_REF):
128 Do not try to optimize a aggregate address which has VOIDmode.
129 Mirrors March 23 change to expand_assignment.
130
4f282ba1
JL
131 * flow.c (delete_unreachable_blocks): Do not require EDGE_FALLTHRU
132 for an edge when tidying an edge which connects consecutive basic
133 blocks.
abb3f0a9
JL
134
135 * flow.c (can_delete_label_p): Do not convert a label into a
136 deleted label here.
137
01e752d3
JL
138 * cse.c (flush_hash_table): New function.
139 (cse_insn): Flush the hash table when we encounter a volatile asm.
140 (cse_basic_block): Use flush_hash_table instead of doing it
141 inline.
142
143 * reload1.c (reload_cse_regs_1): Flush known register values if
144 we encounter a volatile asm.
145
d4ca58b3
JL
146 * loop.c (strength_reduce): Re-enable Joern's loop improvements.
147
36ba9cb8
NC
148Thu Apr 8 09:37:40 1999 Nick Clifton <nickc@cygnus.com>
149
150 * config/arm/arm.c (arm_print_operand): Undo previous change -
151 always print large constants in decimal.
152
64ccbc99
KG
153Thu Apr 8 10:22:23 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
154
155 * configure.in (host_xm_file, build_xm_file): Include hwint.h.
156 Use case statements instead of "if test -a ... -a ... -a ..."
157
158 * machmode.h: Don't define HOST_WIDE_INT, etc. Wrap use of
3fb2a045 159 HOST_WIDE_INT in #ifdef.
64ccbc99
KG
160
161 * mips.h: Include hwint.h instead of providing definitions for
162 HOST_WIDE_INT, etc. Wrap uses of HOST_WIDE_INT in #ifdef.
163
e4ad1003
JW
164Thu Apr 8 06:16:14 EDT 1999 John Wehle (john@feith.com)
165
166 * i386.md (truncdfsf2, truncxfsf2,
167 truncxfdf2): Rewrite using a splitter.
168
0385ba57
AH
169Thu Apr 8 01:26:05 1999 Arg Haas (ahaas@neosoft.com)
170 Jeffrey A Law (law@cygnus.com)
171
3fb2a045 172 * freebsd-elf.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Avoid ambiguous
0385ba57
AH
173 else statement.
174 * gas.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Likewise.
175 * linux.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Likewise.
176 * openbsd.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Likewise.
177
a45f3331
JW
178Wed Apr 7 22:40:19 1999 Jim Wilson <wilson@cygnus.com>
179
180 * i960/i960.c (i960_function_prologue): Don't save static chain
181 pointer.
182 * i960/i960.h (STACK_CHAIN_REGNUM): Change from r3 to g12.
183 (TRAMPOLINE_TEMPLATE): Likewise.
184 (FRAME_POINTER_REQUIRED): Check current_function_has_nonlocal_goto.
185 * i960/i960.md (nonlocal_goto): Rewrite.
186
140fa895
PB
187Tue Apr 6 17:49:49 1999 Philip Blundell <pb@nexus.co.uk>
188
189 * config/arm/lib1funcs.asm: Test for __ELF__ not __elf__.
190
94d5c456
JL
191Wed Apr 7 14:07:34 1999 Jeffrey A Law (law@cygnus.com)
192
098f2a1e
JL
193 * h8300.c (h8300_adjust_insn_length): Also avoid recognizing
194 ADDR_VEC and ADDR_DIFF_VEC insns.
195
47cf37f9
JL
196 * h8300.c (h8300_adjust_insn_length): Avoid trying to recognize
197 USE, CLOBBER or SEQUENCE insns.
198
199 * unroll.c (unroll_loop): For HAVE_cc0 machines, adjust copy_end_luid
200 to account for the uncopied insn that sets cc0 at the end of the loop.
201
94d5c456
JL
202 * unroll.c (copy_loop_body): Always ensure at least two insns
203 are in the copied loop.
204
6ed173d0
CM
205Wed Apr 7 14:52:18 1999 Catherine Moore <clm@cygnus.com>
206
3fb2a045
MS
207 * config/mips/elf.h (MAKE_DECL_ONE_ONLY): Define.
208 (UNIQUE_SECTION_P): Define.
6ed173d0 209
12408bb3
BK
2101999-04-07 11:50 -0800 Bruce Korb <ddsinc09@ix.netcom.com>
211
212 * fixinc/inclhack.tpl & fixincl.tpl:
213 Remove dynamic content from generated files
214
61a1397b
JW
215Wed Apr 7 13:16:22 EDT 1999 John Wehle (john@feith.com)
216
217 * i386.c (output_move_memory): Remove.
218 * i386.h: Likewise.
219
220 * i386.md (movsi, movhi, movstricthi, movqi, movstrictqi,
221 movsf, movdf, movxf, movdi): Check no_new_pseudos instead
222 of (reload_in_progress | reload_completed).
223
5e62dee5
RH
224Wed Apr 7 03:16:45 1999 Richard Henderson <rth@cygnus.com>
225
226 * alpha.c (reg_no_subreg_operand): New function.
227 * alpha.h (PREDICATE_CODES): Add it.
228 * alpha.md (floatdi?f patterns): Use it for op1.
229
230 * alpha.c (alpha_end_function): Don't flag weak functions.
231
d22cba0a
RH
232Wed Apr 7 02:11:55 1999 Richard Henderson <rth@cygnus.com>
233
234 * expr.c (expand_builtin) [BUILT_IN_RETURN_ADDRESS]: Use
235 copy_to_mode_reg; don't force constants into a register.
236
78327a73
RH
237Tue Apr 6 22:55:25 1999 Richard Henderson <rth@cygnus.com>
238
239 * toplev.c (compile_file): Typo flow_dump -> flow2_dump.
240
ed03c6cd
JM
2411999-04-06 Joseph S. Myers <jsm28@cam.ac.uk>
242
243 * pdp11.c (simple_memory_operand): Add default case in switch.
244 * pdp11.h (TARGET_SWITCHES): Add help strings.
245 (NOTICE_UPDATE_CC): Don't include excess argument to format.
246 (ASM_OUTPUT_DOUBLE_INT): Remove.
247
34487bf8
RH
248Tue Apr 6 22:09:40 1999 Richard Henderson <rth@cygnus.com>
249
250 * expr.c (expand_builtin_setjmp): Put setjmp return label on
251 nonlocal_goto_handler_labels for flow.
252
253Tue Apr 6 22:05:21 1999 Jan Hubicka <hubicka@paru.cas.cz>
254 Richard Henderson <rth@cygnus.com>
255
256 * flow.c (verify_flow_info): New function.
257 (find_basic_blocks): Call it if ENABLE_CHECKING.
258 (merge_blocks): Don't merge if there are non-deletable labels.
259 * toplev.c (fatal_insn): Allow a printf-style arg list.
260 * toplev.h (fatal_insn): Update prototype.
261
1e7d57a3
JH
262Tue Apr 6 16:18:58 1999 Jan Hubicka <hubicka@paru.cas.cz>
263
264 * flow.c (split_edge) update correctly flow graph, disable
265 EDGE_CRITICAL flag on the split edge, update NUSES for new label.
266
2454beaf
RH
267Tue Apr 6 15:47:51 1999 Richard Henderson <rth@cygnus.com>
268
269 * emit-rtl.c (gen_rtx_CONST_DOUBLE): Use XWINT not XINT.
270 Clear third and following slots, if they exist.
271
eeea333e
RH
272Tue Apr 6 15:45:28 1999 Richard Henderson <rth@cygnus.com>
273
274 * flow.c (create_basic_block): Make sure the bb note is in the block.
275 (can_delete_note_p): Rename from delete_note_p.
276 (delete_insn_chain): Preserve undeleteable labels too.
277 (tidy_fallthru_edge): Use next_real_insn instead of confusing
278 inline code.
279
099a9dd0
ZW
2801999-04-06 12:56 -0400 Zack Weinberg <zack@rabi.columbia.edu>
281
282 * cppexp.c (parse_charconst): Initialize c.
283 (cpp_parse_expr): Initialize rprio.
284 * cppfiles.c (merge_include_chains): Initialize prev.
285 (finclude) Set fp->line_base to fp->buf before returning.
286 * cpphash.c (macroexpand): Initialize token.
3fb2a045 287 * cppspec.c (lang_specific_driver): Change suff to
099a9dd0
ZW
288 const char *const *.
289
507df939
ZW
2901999-04-06 12:51 -0400 Zack Weinberg <zack@rabi.columbia.edu>
291
292 * cppinit.c (install_predefs): Delete function.
293 (cpp_start_read): Don't call install_predefs.
294 (cpp_handle_option): Remove case 'u' and all refs to
295 opts->inhibit_predefs.
296 (print_help): Don't mention -undef.
297 (initialize_builtins): Define __HAVE_BUILTIN_SETJMP__, to
298 match cccp.
299 * cpplib.h (struct cpp_options): Remove inhibit_predefs
300 member.
301
302 * cccp.c (predefs): Delete variable.
303 (main): Remove case 'u' in argument parse loop,
304 'inhibit_predefs' variable, and the code block that would
305 process CPP_PREDEFINES.
306 (initialize_builtins): Don't define __OBJC__, the driver will
307 do that.
308
309 * gcc.c (default_compilers): Remove -undef from all specs that
310 invoke a C preprocessor.
311 * ch/lang-specs.h: Likewise.
312 * cp/lang-specs.h: Likewise.
313 * f/lang-specs.h: Likewise.
314 * objc/lang-specs.h: Likewise.
315
7325ab47
DT
316Mon Apr 5 11:55:31 1999 Donn Terry (donn@interix.com)
317
318 * Makefile.in (SUBDIR_FLAGS_TO_PASS): Fix misapplied patch.
319
9f22acc4
JL
320Mon Apr 5 11:51:38 1999 Jeffrey A Law (law@cygnus.com)
321
322 * m68k.md (movdf): Hide GPR sources & destinations from regclass.
323
a566f004
JL
324Mon Apr 5 09:54:42 PDT 1999 Jeff Law (law@cygnus.com)
325
326 * version.c: Bump for snapshot.
327
ac95d436
BK
328Mon Apr 5 05:55:15 PDT 1999 Bruce Korb <ddsinc09@ix.netcom.com>
329
330 * fixincl.tpl: Separate "-e" from its argument, a la
331 the Sat Apr 3 17:05:13 1999 fix.
ee8c4259 332 * genfixes: Ensure that the server shell is _NOT_ csh.
ac95d436 333
788d09ba
JL
334Mon Apr 5 03:52:30 PDT 1999 Jeff Law (law@cygnus.com)
335
336 * version.c: Bump for snapshot.
337
0a726ef1
JL
338Mon Apr 5 04:47:14 1999 Jeffrey A Law (law@cygnus.com)
339
340 * i386.c (x86_double_with_add): Turn off for Pentium and PPro.
341 (small_shift_operand, output_ashlsi3): New functions.
342 * i386.h (small_shift_operand, output_ashlsi3): Declare.
343 * i386.md (ashlsi3): Simplify ahlsi3 patterns. Remove splitters
344 that are no longer needed.
345
f114df20
JL
346Sun Apr 4 04:05:04 1999 Jeffrey A Law (law@cygnus.com)
347
348 * stmt.c (expand_loop_end): When copying the loop exit test,
349 do not walk into a nested loop.
350
20cc423f
JL
351Sun Apr 4 00:14:54 1999 Jeffrey A Law (law@cygnus.com)
352
353 * fixinc/hackshell.tpl: Skip links to directories, to avoid
354 removing them.
355 * fixinc/inclhack.tpl: Likewise.
356 * fixinc/fixinc.sh, fixinc/fixincl.x, fixinc/inclhack.sh: Rebuilt.
357
677a9668
DE
358Sat Apr 3 23:46:13 1999 David Edelsohn <edelsohn@gnu.org>
359
360 * rs6000.md (addsi3, iorsi3, xorsi3, adddi3, iordi3, xordi3,
361 movsi_got, movsi, movsf): Use no_new_pseudos.
362 * rs6000.c (rs6000_got_register): Likewise.
363 (offsettable_mem_opereand): Use || not |.
364
264b1a9c
JL
365Sat Apr 3 22:02:56 1999 Jeffrey A Law (law@cygnus.com)
366
367 * acconfig.h (ENABLE_CHECKING): Remove redundant #undef.
368 * config.in: Rebuilt.
369
1ed9faee
TM
370Sat Apr 3 16:22:59 1999 Toshiyasu Morita (tm@netcom.com)
371
3fb2a045 372 * gcc.texi: Add info on regmove pass.
0ea78edb 373
1ed9faee
TM
374 * regmove.c (fixup_match_1): Consistently evaluate
375 HAVE_POST_INCREMENT and HAVE_POST_DECREMENT.
376
e154a394
AO
377Sat Apr 3 19:21:05 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
378
379 * configure.in (DEFAULT_LINKER, DEFAULT_ASSEMBLER): Use grep
380 instead of test and sed to check whether they're GNU programs.
381 * configure: Rebuilt.
382
965c3f43
AO
383Sat Apr 3 17:57:35 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
384
3fb2a045
MS
385 * Makefile.in (install-headers-tar, install-headers-cpio): Avoid
386 problems with CDPATH.
965c3f43
AO
387 Reported by Ralf Canis <canis@bigfoot.com>
388
ebc7e094
JL
389Sat Apr 3 13:50:16 1999 Jeffrey A Law (law@cygnus.com)
390
391 * fixinc.x86-linux-gnu: Deleted.
392
706e665a
AO
393Sat Apr 3 17:05:13 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
394
3fb2a045 395 * inclhack.tpl: Insert spaces between `sed -e' and '...'.
706e665a 396 Reported by Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3fb2a045 397 * fixinc/fixincl.sh, fixinc/fixincl.x, fixinc/inclhack.sh: Regen.
706e665a 398
d9c2af5b
CB
399Sat Apr 3 14:54:46 1999 Craig Burley <craig@jcb-sc.com>
400
401 * tree.def (BLOCK): Fix typo in comment.
402
bc725565
JW
403Sat Apr 3 00:53:29 EST 1999 John Wehle (john@feith.com)
404
405 * i386.md (floatsisf2, floatdisf2, floatsidf2, floatdidf2,
406 floatsixf2, floatdixf2): Rewrite using a splitter.
407
4bc74ece
NC
408Fri Apr 2 17:36:10 1999 Nick Clifton <nickc@cygnus.com>
409
410 * config/arm/arm.c (arm_print_operand): Print large constants in
411 hex rather than decimal.
412
7b028dba
NC
413Fri Apr 2 17:23:58 1999 Nick Clifton <nickc@cygnus.com>
414
415 * print-rtl.c (print_rtx): Use both HOST_WIDE_INT_PRINT_DEC
416 and HOST_WIDE_INT_PRINT_HEX to display constants.
417
1cc6c9bd
ZW
4181999-04-02 20:16 -0500 Zack Weinberg <zack@rabi.columbia.edu>
419
420 * config/i386/i386.h: Document all TARGET_SWITCHES or add
421 explicit null initializer.
422
423 * config/i386/cygwin.h: Document all SUBTARGET_SWITCHES.
424 * config/i386/dgux.h: Likewise.
425 * config/i386/osf1elf.h: Likewise.
426 * config/i386/win32.h: Likewise.
427 * config/i386/osfrose.h: Likewise. Drop obsolete -mno-ident option.
428
cb084004
TM
429Fri Apr 2 17:49:44 1999 Toshiyasu Morita <tm@netcom.com>
430
431 * regmove.c (fixup_match_1): Remove now useless if (0).
432
6e01bd94
MH
433Sat Apr 3 11:37:20 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
434
435 * tm.texi (USE_LOAD_POST_DECREMENT, USE_LOAD_PRE_DECREMENT,
436 USE_STORE_POST_DECREMENT, USE_STORE_PRE_DECREMENT): Document.
437 (USE_LOAD_POST_INCREMENT, USE_LOAD_PRE_INCREMENT,
438 USE_STORE_POST_INCREMENT, USE_STORE_PRE_INCREMENT): Fix documentation.
439
440 * rtl.h (USE_LOAD_POST_DECREMENT, USE_LOAD_PRE_DECREMENT,
441 USE_STORE_POST_DECREMENT, USE_STORE_PRE_DECREMENT,
442 USE_LOAD_POST_INCREMENT, USE_LOAD_PRE_INCREMENT,
443 USE_STORE_POST_INCREMENT, USE_STORE_PRE_INCREMENT): Provide default
444 definition.
445
3fb2a045 446 * expr.c (USE_LOAD_POST_INCREMENT, USE_LOAD_PRE_INCREMENT,
6e01bd94
MH
447 USE_STORE_POST_INCREMENT, USE_STORE_PRE_INCREMENT): Delete default
448 definition.
449
4f71d8e4
JL
450Fri Apr 2 16:03:05 1999 Jeffrey A Law (law@cygnus.com)
451
452 * fixinc.dgux, fixinc.interix, fixinc.irix, fixinc.ptx: Deleted.
453 * fixinc.sco, fixinc.svr4, fixinc.winnt, fixinc.wrap: Likewise.
454
5aa82ace
DT
455Fri Apr 2 15:46:25 1999 Donn Terry (donn@interix.com)
456
3fb2a045 457 * configure.in: Set and substitute quoted_cc_set_by_configure.
5aa82ace
DT
458 * configure: Rebuilt.
459 * Makefile.in (SUBDIR_FLAGS_TO_PASS): Fix quoting problem with ``.
460
ffb6cec0
SC
461Fri Apr 2 14:35:45 1999 Stan Cox <scox@cygnus.com>
462
463 * config/i386/cygwin.h (CPP_SPEC): Use mingw_include_path instead
464 of a hardcoded path for -mno-cygwin.
465 (mingw_include_path): New.
466
09b893bb
JM
4671999-04-02 Joseph S. Myers <jsm28@cam.ac.uk>
468
469 * pdp11.c: Include "recog.h".
470 (output_function_prologue): Remove unused variables `nregs', `i',
471 `offset'.
472 (output_function_epilogue): Remove unused variables
473 `may_call_alloca', `nregs', `regno', `adjust_fp'.
474 (output_ascii): Mark as returning void.
475 (print_operand_address: Likewise.
476 (simple_memory_operand): Remove unused variables `plus0', `plus1',
477 `offset'.
478 * pdp11.h: Declare functions `arith_operand',
479 `const_immediate_operand', `expand_shift_operand',
480 `legitimate_address_p', `notice_update_cc_on_set', `output_ascii',
481 `output_function_epilogue', `output_function_prologue',
482 `print_operand_address', `register_move_cost',
483 `simple_memory_operand'.
3fb2a045 484 (HARD_REGNO_MODE_OK): Parenthesize `REGNO' arg.
09b893bb
JM
485 (REGNO_REG_CLASS): Likewise.
486 * pdp11.md: Add explicit `int' to `static count' (in two places).
487 (addhi3): Add explicit braces to avoid ambiguous else.
488 (addqi3): Likewise.
489 (ashlhi3): Likewise.
490
8b9243df
JJ
491Fri Apr 2 14:17:10 1999 Jerry James <jerry@cs.ucsb.edu>
492
493 * gcc/invoke.texi: Add documentation for additional supported
494 MIPS CPU types, options -mips16 and -mentry, and ABI and ISA
495 defaults.
496
87aa5246
JW
497Fri Apr 2 14:12:06 EST 1999 John Wehle (john@feith.com)
498
499 * i386.md: Delete floating point compare, add, subtract,
500 multiply, and divide patterns which allowed integer
501 operands.
502 * i386.c (output_386_binary_op): Delete unused code.
503 (output_float_compare): Likewise.
504
9f567f56
JW
505Fri Apr 2 11:53:37 1999 John Wehle (john@feith.com)
506
507 * i386.md (movsf+1, movdf+1, movxf+1): Update constraints
508 so that SECONDARY_MEMORY_RELOAD is used. Remove dead code.
509
a734e0bf
BK
5101999-04-02 Bruce Korb <ddsinc09@ix.netcom.com>
511
3fb2a045
MS
512 * fixinc/mkfixinc.sh: Added support for x86-interix.
513 * fixinc/fixinc.interix: Fixincludes script, slight changes
a734e0bf 514 from ./fixinc.interix. Untested (needs interix box).
c095d84a 515 * fixinc/inclhack.def:
3fb2a045
MS
516 Complete the change to the 'fixinc.tmp' file.
517 Fixed regex for finding C++ headers.
518 * fixincl.x, fixincl.sh, inclhack.sh: Regenerate.
a734e0bf 519
69a8af43
JH
520Fri Apr 2 11:36:12 1999 Jan Hubicka (hubicka@paru.cas.cz)
521
522 * i386.c (print_operand_address, case REG): Do not use ESI addressing
523 mode for the K6.
524
525 * i386.c (print_operand_address, case MULT): Use more efficient
526 encoding (mult (reg) (const_int 2)).
527
0133b7d9
RH
528Thu Apr 1 17:01:50 1999 Richard Henderson <rth@cygnus.com>
529
530 Move over patch from Bernd Schmidt from GC branch:
531 * emit-rtl.c (gen_rtx_CONST_DOUBLE): New function.
532 (gen_rtx): Call it. Tidy cases.
533 * rtl.h (gen_rtx_CONST_DOUBLE): Prototype it.
534 * gengenrtl.c: Add commentary.
535 (special_rtx): Also match CONST_DOUBLE.
536 (gencode): Emit call to memset instead of bzero.
537
4b97aaeb
MH
538Fri Apr 2 12:58:26 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
539
540 * config/c4x/c4x.md (ashlhi3, lshrhi3, ashrhi3): Force operand 1
541 into a register if shift count not constant.
542 (ashlhi3_reg, lshrhi3_reg, ashrhi3_reg): Ensure that operand 1
543 is a register.
544
8de858c0
MH
545Fri Apr 2 12:19:17 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
546
547 * config/c4x/c4x.md (*db): Enable pattern if TARGET_LOOP_UNSIGNED
548 is non-zero.
549 (movstrqi_small, movstrqi_large, *cmpstrqi): Add + modifier to address
3fb2a045 550 register constraints.
8de858c0
MH
551 (*movhi_clobber+1): Modify splitter pattern to handle destination
552 register that is used in the source address.
553 (*xorhi3_clobber): Replace AND with XOR in call to legitimize_operands.
554
4adf744b
MH
555Fri Apr 2 12:16:15 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
556
557 * config/c4x/c4x.h: Added more comments.
558
305902b0
MH
559Fri Apr 2 11:58:22 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
560
561 * config/c4x/c4x.c (c4x_emit_move_sequence): Force invalid QImode
562 constants into memory if we get called directly from gen_move_insn
563 rather than emit_move_insn.
564 (c4x_legitimize_address): Fix up LABEL_REF addresses.
565
6ab06cbb
JW
566Thu Apr 1 12:04:05 1999 Jim Wilson <wilson@cygnus.com>
567
568 * expr.c (store_field): When check direct_store, assume all complex
569 modes can be directly stored.
570
b7c8ae04
BK
5711999-04-01 Bruce Korb <ddsinc09@ix.netcom.com>
572
3fb2a045 573 * fixinc/genfixes: New shell script that runs autogen
b7c8ae04
BK
574 to create the generated files.
575
454e562f
MH
5761999-04-01 Manfred Hollstein <manfred@s-direktnet.de>
577
578 * Makefile.in (cppmain$(exeext)): Depend on intl.o. Link in intl.o.
579
a32126ad
L
580Thu Apr 1 03:48:34 1999 H.J. Lu (hjl@gnu.org)
581
80309a9c
L
582 * i386.c (output_fp_conditional_move): Abort for LT, LE, GE, and GT
583 signed integer comparisons.
584
9a6ac4b0
L
585 * i386.c (output_int_conditional_move): Use "enum rtx_code" for code
586 type.
587
a32126ad
L
588 * i386.c (notice_update_cc): No need to check the INT mode for
589 conditional moves since FLOAT conditional moves don't affect cc0.
590
ccce12f3
JL
591Thu Apr 1 02:17:18 1999 Jeffrey A Law (law@cygnus.com)
592
593 * fixinc/inclhack.def (zzz_ki_syscalls, zzz_time): Fix trigger
594 string to only match on hpux11.
595 * fixinc/fixincl.x, fixinc/inclhack.sh, fixinc/fixinc.sh: Rebuilt.
596
adc8046e
AO
597Thu Apr 1 01:09:27 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
598
0cb97c8d
AO
599 * fixinc/hackshell.tpl: Complete transition to fixinc.tmp.
600 * fixinc/inclhack.sh: Rebuilt.
601
adc8046e
AO
602 * fixinc/inclhack.def: Fix typos in c_asm.h fix.
603 * fixinc/fixincl.x, fixinc/inclhack.sh, fixinc/fixinc.sh: Rebuilt.
604
bbd2180d
JL
605Wed Mar 31 17:20:11 1999 Jeffrey A Law (law@cygnus.com)
606
607 * toplev.c (rest_of_compilation): Allow dbr_schedule to write to
608 the dump file too.
609
359da67d
RH
610Wed Mar 31 12:32:43 1999 Richard Henderson <rth@cygnus.com>
611
612 * flow.c (find_basic_blocks): New argument `do_cleanup'.
613 Conditionally call delete_unreachable_blocks.
614 (free_basic_block_vars): Zero ENTRY/EXIT data.
615 (allocate_for_life_analysis): Kill. Split into...
616 (allocate_bb_life_data, allocate_reg_life_data): ... new functions.
617 (life_analysis_1): Update.
618 * gcse.c (gcse_main): Update find_basic_blocks call.
619 * toplev.c (rest_of_compilation): Likewise.
620 * stupid.c (stupid_life_analysis): Update life data calls.
621 * rtl.h, output.h: Update prototypes.
622
42493273
BK
623Wed Mar 31 12:10:00 1999 Bruce Korb <ddsinc09@ix.netcom.com>
624
3fb2a045 625 * inclhack.def (several): Added spaces in tests to ensure
42493273 626 correct shell syntax. Added c_asm.h fix from fixincludes.
b7c8ae04 627 Also corrected the corrected fix to C++ comments :-}
42493273 628
3fb2a045 629 * inclhack.tpl: Changed method of traversing symlink trees
42493273
BK
630 so that file name matching will work correctly.
631
3fb2a045 632 * fixincl.c, hackshell.tpl: Fallout from above.
42493273
BK
633 * fixincl.x, inclhack.sh, fixincl.sh: Rebuilt.
634
863ebdad
PB
635Tue Mar 30 10:43:49 1999 Philip Blundell <pb@nexus.co.uk>
636
637 * config/arm/aout.h (DBX_DEBUGGING_INFO): Avoid redefinition if
638 dbxelf.h was previously included.
639 (CPP_APCS_PC_DEFAULT_SPEC): No need to undefine.
640
641 * config/arm/linux-elf.h (FP_DEFAULT): Correctly override the
642 definition from arm.h.
643
0728688f
KG
644Wed Mar 31 10:33:37 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
645
3fb2a045
MS
646 * Makefile.in (c-gperf.h): Generate using gperf language 'C', not
647 'KR-C', so gperf uses the `const' keyword on strings.
648
649 * c-parse.gperf (resword): Const-ify a char*.
0728688f 650
d1c7c495
ILT
651Wed Mar 31 01:49:31 1999 Ian Lance Taylor <ian@zembu.com>
652
653 * t-rtems (LIMITS_H_TEST, LIBGCC2_INCLUDES): Define.
654
b080ce78
JL
655Wed Mar 31 00:50:48 1999 Jeffrey A Law (law@cygnus.com)
656
924d8a7c
JL
657 * system.h (STDERR_FILENO): Fix typo.
658
3fb2a045 659 * inclhack.def (bool): Also fix bogus bool in curses_colr/curses.h.
b080ce78
JL
660 * fixincl.x, inclhack.sh, fixincl.sh: Rebuilt.
661
30f72379
MM
662Tue Mar 30 20:51:40 1999 Mark Mitchell <mark@codesourcery.com>
663
664 * alias.c (alias_set_compare): Remove.
3fb2a045 665 (record_alias_subset): Use splay_tree_compare_ints instead of
30f72379
MM
666 alias_set_compare.
667 (init_alias_once): Likewise.
668 * cse.c: Include splay-tree.h.
669 (reg_qty): Remove.
670 (reg_tick): Likewise.
671 (reg_table): Likewise.
672 (cse_reg_info): New structure.
673 (cse_reg_info_free_list): New variable.
674 (cse_reg_info_tree): Likewise.
675 (cached_regno): Likewise.
676 (cached_cse_reg_info): Likewise.
677 (all_minus_one): Remove.
678 (consec_ints): Likewise.
679 (GET_CSE_REG_INFO): New macro.
680 (REG_TICK): Likewise. Use throughout instead of reg_tick.
681 (REG_IN_TABLE): Likewise. Use throughout instead of reg_in_table.
682 (REG_QTY): Likewise. Use throughout instead of reg_qty.
683 (get_cse_reg_info): New function.
684 (free_cse_reg_info): Likewise.
685 (new_basic_block): Reinitialize cse_reg_info_tree instead of
686 reg_tick, all_minus_one, and consec_ints.
687 * Makefile.in (cse.o): Depend on splay-tree.h
688
51980de6
JM
689Tue Mar 30 13:19:36 1999 Jason Merrill <jason@yorick.cygnus.com>
690
691 * libgcc2.c (throw_helper): Just return the SP offset, rather than
692 a whole udata. Include args_size in the offset.
693 (__throw, __rethrow): Adjust.
694
24f98470
CB
695Tue Mar 30 11:39:27 1999 Craig Burley <craig@jcb-sc.com>
696
697 * extend.texi (Extended Asm): Delete spurious `b' before
698 `@end example', which was confusing texi2html.
699
2f22d404
JM
700Tue Mar 30 00:26:34 1999 Jason Merrill <jason@yorick.cygnus.com>
701
702 * dwarf2out.c (output_line_info): Don't emit redundant info.
703 Do start a new row if the file changes and the line # doesn't.
704
bba975d4
JM
705Mon Mar 29 15:48:39 1999 Jason Merrill <jason@yorick.cygnus.com>
706
707 * invoke.texi (Invoking G++, C++ Dialect Options): Update.
708
b68e8bdd
RH
709Mon Mar 29 15:05:39 1999 Richard Henderson <rth@cygnus.com>
710
3fb2a045 711 * except.c (start_dynamic_handler): Force jmp_buf address to
b68e8bdd
RH
712 and operand before moving to memory.
713
d3111037
CB
714Mon Mar 29 15:11:10 1999 Craig Burley <craig@jcb-sc.com>
715
716 * invoke.texi (Code Gen Options): Attempt to clarify
717 -fcheck-memory-usage. Minor edits to -fprefix-function-name.
718
fdb1833a
R
719Mon Mar 29 20:52:47 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
720
721 * loop.c (maybe_eliminate_biv): For libcalls that set a giv, skip to
722 end of libcall.
723
aa4778b6
R
724Mon Mar 29 20:35:49 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
725
726 * sh.md (mulsi3): Tag an extra REG_EQUAL note to the middle insn.
727
51c2de46
JQ
728Mon Mar 29 11:50:34 1999 Jerry Quinn <jquinn@nortelnetworks.com>
729
730 * pa.h (HAVE_PRE_INCREMENT): Disable when optimizing for a PA8000
731 class machine.
732 (HAVE_PRE_DECREMENT, HAVE_POST_INCREMENT): Likewise.
733 (HAVE_POST_DECREMENT): Likewise.
734
411b293c
BK
735Mon Mar 29 08:24:43 1999 Bruce Korb <korb@datadesign.com>
736
3fb2a045 737 * fixinc/mkfixinc.sh: Fix portability problems with old shells.
411b293c 738
3fb2a045 739 * fixinc/README: Updated for release announcement
411b293c 740
3228bc05
KG
741Sun Mar 28 20:26:55 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
742
743 * recog.h (insn_outfun, insn_operand_predicate): Add prototype
744 arguments.
745
746 * rtl.h (note_stores): Likewise.
747
748 * rtlanal.c (note_stores): Likewise.
749
8f0e7be4
RH
750Sun Mar 28 15:34:28 1999 Richard Henderson <rth@cygnus.com>
751
752 * varasm.c (output_constant_pool): Always mark the constant pool.
753
86001391
JQ
754Sun Mar 28 16:09:01 1999 "Jerry Quinn" <jquinn@nortelnetworks.com>
755
d2bac0c4
JQ
756 * pa.md (pa7100LCshiftmem, pa7100LCalu): Change simultaneity. Use
757 shift/mem ops in pa7100LCalu.
758
86001391
JQ
759 * pa.c (pa_adjust_cost): Don't do cost adjustments on pa8000.
760 (pa_reorg): Don't call pa_combine_instructions on pa8000.
761
0a76126b
JL
762Sun Mar 28 15:27:26 1999 Jeffrey A Law (law@cygnus.com)
763
764 * reload1.c (reload): Remove accidental code duplication.
765
bb60ffa0
RL
766Sun Mar 28 12:22:12 1999 Robert Lipe (robertlipe@usa.net)
767
768 * i386/sysv5.h: New file to describe UnixWare7/SVR5.
3fb2a045
MS
769 * configure.in (i?86-UnixWare7*-sysv): Use it.
770 * i386/udk.h: Use sysv5.h. Now uses Dwarf-2.
bb60ffa0 771
ddb6d3dc
JL
772Sun Mar 28 01:15:04 PST 1999 Jeff Law (law@cygnus.com)
773
774 * version.c: Bump for snapshot.
775
87b8bec5
JL
776Sun Mar 28 00:44:27 1999 Jeffrey A Law (law@cygnus.com)
777
a51a5234
JL
778 * sdbout.c (sdbout_symbol): Do not call build_pointer_type, build
779 one on the fly and do not cache the result.
780
87b8bec5
JL
781 * gcc.cps, cpp.cps: Delete unwanted files.
782
94b596a7
JW
783Sat Mar 27 23:37:40 EST 1999 John Wehle (john@feith.com)
784
785 * i386.md (movdicc+3, movdicc+4): Rewrite using split_di.
786 * i386.c (output_int_conditional_move): Delete unused code.
787
b9ae3471
DE
788Sat Mar 27 21:17:36 1999 David Edelsohn <edelsohn@gnu.org>
789
790 * rs6000/{aix41.h,aix43.h} (ASM_CPU_SPEC): Add 604e.
791
40b5a77c
JL
792Sat Mar 27 16:13:50 1999 Jeffrey A Law (law@cygnus.com)
793
794 * flow.c (mark_used_regs): Improve handling of ASMs.
795
922cf99e
ZW
7961999-03-26 Zack Weinberg <zack@rabi.columbia.edu>
797
798 * Makefile.in (xcpp, cppspec.o): New targets.
799 (CPP_INSTALL_NAME): New macro.
800 (install-cpp): Install xcpp. Use CPP_INSTALL_NAME.
801 (all.build, start.encap): Build xcpp.
802
803 * cppspec.c: New file, implements argument filtering for a
804 user-visible C preprocessor.
805 * cpp.sh: Removed.
806
2d490c9e
JW
807Fri Mar 26 20:41:46 1999 Jim Wilson <wilson@cygnus.com>
808
809 * Makefile.in (stmp-fixinc): Use tooldir instead of gcc_tooldir.
810
e14db015
NC
811Fri Mar 26 16:02:37 1999 Nick Clifton <nickc@cygnus.com>
812
3fb2a045 813 * configure.in (arm-*-vxworks*): Just include arm/vxarm.h.
e14db015 814 * configure: Regenerate.
20b78b1c
NC
815 * config/arm/vxarm.h: Define SUBTARGET_CPU_DEFAULT before
816 including arm/coff.h
e14db015 817
65120c40
SB
8181999-02-16 Scott Bambrough <scottb@corelcomputer.com>
819
3fb2a045 820 * configure.in (arm*-*-linux-gnu*): Set thread_file to 'posix' if
65120c40 821 --enable-threads[={yes,pthreads,posix}] is passed as a command
3fb2a045 822 line parameter to configure.
65120c40 823
3fb2a045 824 * configure: Regenerate.
65120c40 825
3fb2a045 826 * gcc/config/arm/t-linux (TARGET_LIBGCC2_CFLAGS): Include -fPIC.
65120c40 827
0466bdc4
R
828Fri Mar 26 19:42:19 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
829
830 * loop.c (combine_givs): Fix index into can_combine when doing
831 benefit adjustment for remaining givs when having combined a giv.
832
a833fb4e
NC
833Fri Mar 26 11:38:01 1999 Nick Clifton <nickc@cygnus.com>
834
835 * config/arm/t-arm-elf (EXTRA_MULTILIB_PARTS): Define.
836
de77e128
NC
837Fri Mar 26 10:48:27 1999 Nick Clifton <nickc@cygnus.com>
838
839 * config/arm/linux-elf.h: Include dbxelf.h
840
cedcf937
NC
841Fri Mar 26 10:43:47 1999 Nick Clifton <nickc@cygnus.com>
842
843 * config/svr4.h: Include new header file dbxelf.h.
844 (DBX_DEBUGGING_INFO): Remove definition.
845 (DBX_USE_BINCL): Remove definition.
846 (DBX_BLOCKS_FUNCTION_RELATIVE): Remove definition.
847 (ASM_IDENTIFY_GCC): Remove definition.
848 (ASM_IDENTIFY_GCC_AFTER_SOURCE): Remove definition.
849 (ASM_OUTPUT_SOURCE_LINE): Remove definition.
850 (DBX_FUNCTION_FIRST): Remove definition.
851 (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Remove definition.
852
853 * config/elfos.h: Include new header file dbxelf.h.
854 (DBX_DEBUGGING_INFO): Remove definition.
855 (DBX_BLOCKS_FUNCTION_RELATIVE): Remove definition.
856 (ASM_IDENTIFY_GCC): Remove definition.
857 (ASM_IDENTIFY_GCC_AFTER_SOURCE): Remove definition.
858 (ASM_OUTPUT_SOURCE_LINE): Remove definition.
859 (DBX_FUNCTION_FIRST): Remove definition.
860
861 * config/dbxelf.h: New header file.
862 (DBX_DEBUGGING_INFO): Define.
863 (DBX_BLOCKS_FUNCTION_RELATIVE): Define.
864 (DBX_FUNCTION_FIRST): Define.
865 (DBX_USE_BINCL): Define.
866 (DBX_CONTIN_LENGTH): Define.
867 (ASM_IDENTIFY_GCC): Define.
868 (ASM_IDENTIFY_GCC_AFTER_SOURCE): Define.
869 (ASM_OUTPUT_SOURCE_LINE): Define.
870 (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Define.
871
14241374
CH
872Fri Mar 26 01:59:15 1999 "Charles M. Hannum" <root@ihack.net>
873
11a86c56
CH
874 * fold-const.c (fold_truthop): Optimize bitfield references with
875 different masks as long as their size and bit position are the same.
876
bd910dcf
CH
877 * fold-const.c (fold_truthop): Build a type for both the lhs and
878 rhs and use it appropriately.
879
97ea7176 880 * fold-const.c (fold_truthop): Mask the lhs and rhs after merging
3fb2a045 881 adjacent bitfield references.
97ea7176 882
14241374
CH
883 * fold-const.c (fold_truthop): Verify that the lhs and rhs are
884 in the same bit position when optimizing bitfield references
885 which have the same mask.
886
5197829d
ML
887