]> gcc.gnu.org Git - gcc.git/blob - gcc/ChangeLog
* expr.c: Fix formatting.
[gcc.git] / gcc / ChangeLog
1 2000-08-06 Kazu Hirata <kazu@hxi.com>
2
3 * expr.c: Fix formatting.
4
5 2000-08-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6
7 * rs6000.c (rs6000_maybe_dead): Prototype.
8
9 2000-08-06 Richard Henderson <rth@cygnus.com>
10
11 * stmt.c (expand_goto): Do virtual_stack_vars_rtx replacement for
12 HAVE_nonlocal_goto as well.
13 * config/i960/i960.md (nonlocal_goto): Don't do it here.
14 * config/pj/pj.md (nonlocal_goto): Likewise.
15
16 2000-08-07 Michael Hayes <mhayes@cygnus.com>
17
18 * loop.c (try_swap_copy_prop): New function.
19 (load_mems): Rename copies to load_copies and add new regset
20 store_copies. Check for sets of shadow registers and mark
21 in store_copies. Call try_swap_copy_prop for registers
22 marked in store_copies.
23
24 Sun Aug 6 00:54:42 2000 Ovidiu Predescu <ovidiu@cup.hp.com>
25
26 * objc/objc-act.c: New command line option -fconstant-string-class
27 to allow specifying a user defined constant string class,
28 different from NXConstantString.
29
30 * toplev.c: Moved the Objective-C specific options to
31 objc/lang-options.h.
32
33 * objc/lang-options.h: Moved the Objective-C specific options from
34 toplev.c. Added -fconstant-string-class.
35
36 2000-08-05 Chris Demetriou <cgd@sibyte.com>
37
38 * mips/elf.h (CTOR_LIST_BEGIN, CTOR_LIST_END,
39 DTOR_LIST_BEGIN, DTOR_LIST_END): change type of
40 __CTOR_LIST__ from func_ptr array to just func_ptr, to
41 avoid extra alignment imposed on arrays.
42 * mips/elf64.h (CTOR_LIST_BEGIN, CTOR_LIST_END,
43 DTOR_LIST_BEGIN, DTOR_LIST_END): Likewise.
44
45 * mips.h: Clean up comments and spacing near MASKs.
46 (TARGET_UNIX_ASM): Delete.
47 (MASK_MIPS16, MASK_NO_CHECK_ZERO_DIV, MASK_CHECK_RANGE_DIV,
48 MASK_UNINIT_CONST_IN_RODATA): Change values to make mask
49 values contiguous.
50
51 2000-08-05 Joseph S. Myers <jsm28@cam.ac.uk>
52
53 * c-common.c (print_char_table): Add entries for the X/Open '
54 format flag (print decimals with locale's thousands grouping
55 character). Make %C expect wint_t.
56 (check_format_info): If pedantic, warn when the %n$ operand
57 number form is used. Allow for the ' flag; warn about it if
58 pedantic.
59
60 2000-08-05 Zack Weinberg <zack@wolery.cumb.org>
61
62 * i386.h (FUNCTION_OK_FOR_SIBCALL): Not OK if DECL's return
63 type is a float mode, cfun->decl's return type is not, and
64 TARGET_FLOAT_RETURNS_IN_80387.
65
66 2000-08-04 Andreas Schwab <schwab@suse.de>
67
68 * cppmain.c (cb_def_pragma): Skip the first two tokens from the
69 token list, which are always `#' and `pragma'.
70
71 2000-08-04 Zack Weinberg <zack@wolery.cumb.org>
72
73 * tree.c (tree_expr_nonnegative_p): Move to...
74 * fold-const.c: ... here. Also handle BIND_EXPR and RTL_EXPR.
75 (rtl_expr_nonnegative_p): New.
76 * tree.h: Add prototype for rtl_expr_nonnegative_p.
77
78 * real.h (CONST_DOUBLE_LOW, CONST_DOUBLE_HIGH, CONST_DOUBLE_MEM,
79 CONST_DOUBLE_CHAIN: Move to...
80 * rtl.h: ...here. Use XCINT/XCEXP.
81
82 * Makefile.in: Remove toplev.o from OBJS. Add rule to make
83 libbackend.a; add libbackend.a to STAGESTUFF. Add BACKEND
84 variable. Use BACKEND when linking cc1, not OBJS. Add BACKEND
85 to VOL_FILES.
86
87 * objc/Make-lang.in (cc1obj): Link with $(BACKEND).
88
89 2000-08-05 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
90
91 * config/c4x/c4x.md (return_indirect_internal): New.
92 * config/c4x/c4x.c (c4x_expand_epilogue): Use it.
93
94 2000-08-04 Joseph S. Myers <jsm28@cam.ac.uk>
95
96 * c-common.c (time_char_table): Mark up formats added in C99 and
97 make other corrections. %D and %g were added in C99. %Og is an
98 extension. %EX is permitted. %R, %T, %n, %r, %t were added in
99 C99. %e was added in C99. %Oj is an extension. %G and %z are in
100 C99 rather than GNU extensions, but %OG and %Oz are extensions.
101 %h was added in C99. %C was added in C99. %OY and %OC are
102 extensions. Add the C99 format %F.
103 (check_format_info): If pedantic and not in C99 mode, warn for C99
104 formats, %E and %O.
105
106 Fri Aug 4 23:01:58 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
107
108 * function.c (schedule_fixup_var_refs): New function, broken out
109 of put_reg_into_stack.
110 (put_reg_into_stack): Use it.
111 (put_var_into_stack): In CONCAT case, fixup up references for
112 components only after fixing up references to the whole concat.
113
114 2000-08-04 Rodney Brown <RodneyBrown@pmsc.com>
115
116 * alias.c (mark_constant_function): Use INSN_P.
117 (init_alias_analysis): Likewise.
118 * combine.c (combine_instructions): Use INSN_P.
119 (can_combine_p): Likewise.
120 (try_combine): Likewise.
121 (distribute_notes): Likewise.
122 (distribute_links): Likewise.
123 * cse.c (cse_around_loop): Use INSN_P.
124 (invalidate_skipped_block): Likewise.
125 (cse_set_around_loop): Likewise.
126 (cse_end_of_basic_block): Likewise.
127 (delete_trivially_dead_insns): Likewise.
128 * emit-rtl.c (unshare_all_rtl_again): Use INSN_P.
129 (unshare_all_rtl_1): Likewise.
130 (next_cc0_user): Likewise.
131 (try_split make_insn_raw): Likewise.
132 (remove_unnecessary_notes): Likewise.
133 * final.c (shorten_branches): Use INSN_P.
134 (leaf_renumber_regs): Likewise.
135 (leaf_renumber_regs_insn): Likewise.
136 * flow.c (find_label_refs): Use INSN_P.
137 (verify_wide_reg): Likewise.
138 (notice_stack_pointer_modification): Likewise.
139 (count_or_remove_death_notes): Likewise.
140 (verify_flow_info): Likewise.
141 (clear_log_links): Likewise.
142 * function.c (fixup_var_refs_insns): Use INSN_P.
143 (compute_insns_for_mem): Likewise.
144 * gcse.c (alloc_gcse_mem): Use INSN_P.
145 (compute_sets): Likewise.
146 (compute_hash_table): Likewise.
147 (classic_gcse): Likewise.
148 (cprop): Likewise.
149 (insert_insn_end_bb): Likewise.
150 (delete_null_pointer_checks_1): Likewise.
151 * global.c (expand_preferences): Use INSN_P.
152 (build_insn_chain): Likewise.
153 * graph.c (node_data): Use INSN_P.
154 * haifa-sched.c (priority): Use INSN_P.
155 (rm_line_notes): Likewise.
156 (rm_other_notes): Likewise.
157 (find_insn_reg_weight): Likewise.
158 (init_target_units): Likewise.
159 (schedule_block): Likewise.
160 (compute_block_forward_dependences): Likewise.
161 (debug_dependencies): Likewise.
162 (set_priorities): Likewise.
163 * integrate.c (function_cannot_inline_p): Use INSN_P.
164 (save_parm_insns): Likewise.
165 (copy_insn_list): Likewise.
166 * jump.c (mark_all_labels): Use INSN_P.
167 (never_reached_warning): Likewise.
168 * lcm.c (optimize_mode_switching): Use INSN_P.
169 * local-alloc.c (validate_equiv_mem): Use INSN_P.
170 (memref_used_between_p): Likewise.
171 (update_equiv_regs): Likewise.
172 (block_alloc): Likewise.
173 (no_conflict_p): Likewise.
174 * loop.c (scan_loop): Use INSN_P.
175 (find_and_verify_loops): Likewise.
176 (count_loop_regs_set): Likewise.
177 (loop_reg_used_before_p): Likewise.
178 (strength_reduce): Likewise.
179 (recombine_givs): Likewise.
180 (check_dbra_loop): Likewise.
181 (load_mems): Likewise.
182 (try_copy_prop): Likewise.
183 * print-rtl.c (print_rtx): Use INSN_P.
184 * recog.c (find_single_use): Use INSN_P.
185 * reg-stack.c (stack_regs_mentioned): Use INSN_P.
186 (next_flags_user): Likewise.
187 (swap_rtx_condition): Likewise.
188 * regmove.c (mark_flags_life_zones): Use INSN_P.
189 (optimize_reg_copy_1): Likewise.
190 (optimize_reg_copy_2): Likewise.
191 (optimize_reg_copy_3): Likewise.
192 (reg_is_remote_constant_p): Likewise.
193 (fixup_match_2): Likewise.
194 (regmove_optimize): Likewise.
195 (fixup_match_1): Likewise.
196 * regrename.c (build_def_use): Use INSN_P.
197 (replace_reg_in_block): Likewise.
198 (consider_use): Likewise.
199 * reload.c (find_equiv_reg): Use INSN_P.
200 * reload1.c (reload): Use INSN_P.
201 (maybe_fix_stack_asms): Likewise.
202 (calculate_needs_all_insns): Likewise.
203 (reload_as_needed): Likewise.
204 (emit_output_reload_insns): Likewise.
205 (delete_address_reloads_1): Likewise.
206 (reload_cse_regs_1): Likewise.
207 (reload_combine): Likewise.
208 (reload_cse_move2add): Likewise.
209 * reorg.c (redundant_insn): Use INSN_P.
210 (dbr_schedule): Likewise.
211 * resource.c (find_dead_or_set_registers): Use INSN_P.
212 (mark_target_live_regs): Likewise.
213 * rtlanal.c (reg_used_between_p): Use INSN_P.
214 (reg_referenced_between_p): Likewise.
215 (reg_set_between_p): Likewise.
216 (reg_set_p): Likewise.
217 (single_set): Likewise.
218 (multiple_sets): Likewise.
219 (find_last_value): Likewise.
220 (reg_set_last): Likewise.
221 (find_reg_note): Likewise.
222 (find_regno_note): Likewise.
223 * sibcall.c (sequence_uses_addressof): Use INSN_P.
224 * simplify-rtx.c (cselib_process_insn): Use INSN_P.
225 * ssa.c (find_evaluations): Use INSN_P.
226 (rename_block): Likewise.
227 (rename_equivalent_regs): Likewise.
228 * unroll.c (loop_find_equiv_value): Use INSN_P.
229 (set_dominates_use): Likewise.
230 * varasm.c (mark_constant_pool): Use INSN_P.
231 (mark_constants): Likewise.
232 * config/alpha/alpha.c (alpha_does_function_need_gp): Use INSN_P.
233 (alphaev4_next_group): Likewise.
234 (alphaev5_next_group): Likewise.
235 * config/c4x/c4x.c (c4x_process_after_reload): Use INSN_P.
236 (c4x_rptb_rpts_p): Likewise.
237 * config/mips/mips.c (mips16_optimize_gp): Use INSN_P.
238 * config/rs6000/rs6000.c (uses_TOC): Use INSN_P.
239 (rs6000_adjust_priority): Likewise.
240 * config/sh/sh.c (sh_loop_align): Use INSN_P.
241 (machine_dependent_reorg): Likewise.
242 (split_branches): Likewise.
243 * config/tahoe/tahoe.c (tahoe_cmp_check): Use INSN_P.
244
245 Fri Aug 4 11:43:49 2000 John Wehle (john@feith.com)
246
247 * combine.c (recog_for_combine): Remove the old notes
248 prior to attempting to recognize the new pattern.
249 (distribute_notes): Ignore REG_NONNEG notes.
250
251 2000-08-04 Chandrakala Chavva <cchavva@redhat.com>
252
253 * varasm.c (output_constructor): Add .align 0 for packed vars.
254
255 2000-08-04 J. David Anglin <dave@hiauly1.hia.nrc.ca>
256
257 * configure.in: Use default thread_file even when enable_threads is
258 yes or dce because hpux10.20 pa port uses MULTILIB implementation.
259 * configure: Rebuilt.
260
261 * gthr-dce.h (__gthread_objc_condition_allocate): Fix typo.
262
263 2000-08-04 Donn Terry (donnte@microsoft.com)
264
265 * prefix.c (translate_name): Don't strip trailing DIR_SEPARATOR.
266
267 2000-08-04 Mark Elbrecht <snowball3@bigfoot.com>
268
269 * i386/x-djgpp: Delete code that conditionally modifies target_alias.
270 Delete code that conditionally modifies 'version'.
271 Delete X_CPPFLAGS. Add comment for SYSTEM_HEADER_DIR.
272 * i386/xm-djgpp.h (GCC_DRIVER_HOST_INITIALIZATION): New macro.
273 * gcc.c (main): Use it.
274 * config/i386/xm-djgpp.h (UPDATE_PATH_HOST_CANONICALIZE): New macro.
275 * prefix.c (update_path): Use it.
276 * i386/djgpp.h (STANDARD_INCLUDE_DIR): Define.
277 (MD_EXEC_PREFIX): Set to '/dev/env/DJDIR/bin/'.
278 (ASM_OUTPUT_SECTION_NAME): Add code attribute to sections containing
279 code.
280 (SUPPORTS_WEAK, SUPPORTS_ONE_ONLY): Default to true.
281 (SUBTARGET_SWITCHES): Adjust.
282 (WCHAR_UNSIGNED, WCHAR_TYPE_SIZE, WCHAR_TYPE): Undefine before
283 defining.
284 (WINT_TYPE, SIZE_TYPE, PTRDIFF_TYPE): Define.
285
286 2000-08-04 Joseph S. Myers <jsm28@cam.ac.uk>
287
288 * c-common.h (flag_isoc94): Declare.
289 * c-decl.c (flag_isoc94): Define.
290 (c_decode_option): Set flag_isoc94 as appropriate.
291 * c-common.c (T_PD, T_IM, T_UIM): Define.
292 (format_char_info): Add tlen and jlen.
293 (print_char_table): Add entries for %t and %j. Allow %zn. Allow
294 %F. Allow %lf.
295 (scan_char_table): Add entries for %t and %j. Allow %F. Allow
296 %l[.
297 (time_char_table): Add NULL entries for %t and %j.
298 (check_format_info): Allow for %t and %j. Warn for %F if pedantic
299 and not C99. Warn for %lc, %ls and %l[ if pedantic and not C94.
300 Warn for printf %lf if pedantic and not C99. Don't warn for empty
301 precision. Allow precision argument to be unsigned int. If
302 pedantic, warn for %p passed an argument not a pointer to possibly
303 qualified void or a possibly qualified character type, and for
304 pointer targets of the wrong sign, except for character pointers.
305
306 2000-08-04 Joseph S. Myers <jsm28@cam.ac.uk>
307
308 * ginclude/stddef.h: Don't declare wint_t unless __need_wint_t.
309 * c-common.h (enum c_tree_index): Add CTI_WINT_TYPE.
310 (wint_type_node): Define.
311 * c-decl.c (WINT_TYPE): Define.
312 (init_decl_processing): Create the wint_type_node type.
313 * c-common.c (T_WI): Define.
314 (print_char_table): Use T_WI for %lc format.
315
316 2000-08-04 Bruce Korb <bkorb@gnu.org>
317
318 * fixinc/: Verified that the MSDOS patch does not break
319 the UNIX functionality and applied the next three patches
320 from July:
321
322 2000-07-28 Eli Zaretskii <eliz@is.elta.co.il>
323
324 * fixinc/fixfixes.c (main) [__MSDOS__]: Avoid overwriting the
325 output file with the temporary one by appending ".X" to generate
326 the temporary fuile's name. If the output file already has an
327 extension, replace it with ".X".
328
329 * fixinc/fixincl.c (fix_with_system) [__MSDOS__]: Use $ORIGDIR,
330 not $DESTDIR, to find applyfix. Use sprintf instead of snprintf;
331 reallocate the command buffer while copying the command-line
332 argument. Redirect the output directly to the temporary file,
333 instead of going through another temporary file.
334 (process): Close the temporary file before unlinking it.
335 (machine_matches) [__MSDOS__]: If the machine doesn't match, set
336 the FD_SKIP_TEST flag. Pay attention to the FD_MACH_IFNOT flag.
337 (run_compiles): Pass p_fixd argument to machine_matches, as it
338 expects.
339
340 * fixinc/fixincl.sh: Export ORIGDIR. If $DJDIR is set in the
341 environment, assume there are no symlinks in the include
342 directory. When cleaning up the DONE files, look for them
343 case-insensitively. Don't try to remove symlinks if they aren't
344 there.
345
346 * fixinc/fixlib.c (make_raw_shell_str): Accept new argument smax;
347 all callers changed. Declare pz "const char *", to avoid compiler
348 warnings.
349
350 * fixinc/fixlib.h (ENV_TABLE): Get ORIGDIR from the environment.
351 Change prototype of make_raw_shell_str.
352
353 2000-07-27 Eli Zaretskii <eliz@is.elta.co.il>
354
355 * fixinc/fixincl.c [__MSDOS__]: Don't include "server.h".
356 (initialize) [__MSDOS__]: Use tempnam.
357 (initialize): Don't use SIGPIPE if it is not defined.
358
359 * fixinc/fixfixes.c (main) [__MSDOS__]: freopen for stdout should
360 return stdout.
361
362 2000-07-25 Bruce Korb <bkorb@gnu.org>
363
364 * fixinc/fix*.[ch]: substantially reworked to make it possible
365 to run this program without using fork(2) or pipe(2) (i.e. in
366 a DOS environment).
367
368 2000-08-04 Joseph S. Myers <jsm28@cam.ac.uk>
369
370 * cppdefault.h (WINT_TYPE): Define.
371 * cppinit.c (builtin_array): Define __WINT_TYPE__.
372 * tradcpp.c (initialize_builtins): Define __WINT_TYPE__.
373 * tm.texi (NO_BUILTIN_WINT_TYPE, WINT_TYPE): Document.
374
375 Fri Aug 4 06:53:46 2000 Clinton Popetz <cpopetz@cygnus.com>
376
377 * (mips_legitimate_address_p): Don't allow register+offset
378 if the offset is large and negative, and we are compiling
379 for 64 bit registers.
380
381 2000-08-04 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
382
383 * gencodes.c (main): Define CODE_FOR_nothing as the last possible
384 insn_code_number + 1.
385
386 2000-08-04 Kazu Hirata <kazu@hxi.com>
387
388 * h8300.c (function_prologue): Rearrange code for conciseness.
389 (function_epilogue): Likewise.
390 * h8300.h (OK_FOR_U): Fix formatting.
391
392 * cse.c: Fix a comment typo. Fix formatting.
393
394 2000-08-03 Richard Henderson <rth@cygnus.com>
395
396 * config/i386/i386.md (return_indirect_internal): New.
397 * config/i386/i386.c (ix86_expand_epilogue): Use it.
398
399 2000-08-03 Zack Weinberg <zack@wolery.cumb.org>
400
401 * cpplex.c (parse_name): Might have to glue a CPP_OTHER token
402 before the name.
403 (lex_line): Glue @ onto the beginning of identifiers and
404 string constants, in Objective-C mode.
405 (output_token, spell_token): Handle CPP_OSTRING.
406 (can_paste, maybe_paste_with_next): Handle pasting @ onto the
407 beginning of a NAME or a STRING, in objc mode.
408
409 * cpplib.c (get_define_node): Do not permit identifiers that
410 begin with @ to be #defined.
411 * cppmacro.c (CAN_PASTE_AFTER): Add CPP_OTHER.
412 * cpplib.h (TTYPE_TABLE): Add CPP_OSTRING.
413
414 * c-lang.c, objc/objc-act.c (build_objc_string): Delete.
415 * c-tree.h (build_objc_string): Delete prototype.
416 * objc/objc-tree.def: Delete OBJC_STRING_CST.
417 * c-lex.c (yylex): Use build_string for all three kinds of strings.
418
419 * c-parse.in, objc/objc-act.c: Update commentary.
420
421 2000-08-03 Mark Mitchell <mark@codesourcery.com>
422
423 * extend.texi: Fix typo in last change.
424
425 * extend.texi: Add commentary on statement-expressions and their
426 interactions with C++.
427
428 2000-08-03 Nick Clifton <nickc@cygnus.com>
429
430 * dwarf2.h (DW_LANG_Java): Change value to 0x000b.
431 * dwarf.h (LANG_JAVA): Change value to 0x000b.
432
433 2000-08-03 Anthony Green <green@cygnus.com>
434
435 * dwarf2out.c (gen_compile_unit_die): Add java language support.
436 (add_bound_info): Check for java language.
437 (is_java): New function.
438 * dwarfout.c (output_compile_unit_die): Ditto.
439 * dwarf.h (dwarf_source_language): Add java source language type.
440 * dwarf2.h (dwarf_source_language): Ditto.
441
442 Thu Aug 3 20:32:25 MET DST 2000 Jan Hubicka <jh@suse.cz>
443
444 * reg-stack.c (subst_stack_regs_pat): Use replace_reg to swap
445 operands.
446
447 * i386.c (ix86_expand_branch): Mode of comparison in
448 IF_THEN_ELSE is VOIDmode.
449
450 Thu Aug 3 10:05:53 2000 Akiko Matsushita <matusita@sra.co.jp>
451
452 * gengenrtl.c, rtl.c: Avoid #elif.
453
454 2000-08-03 Michael Poole <poole@troilus.org>
455
456 * tm.texi (Register Classes): Clarify order of sub-initializers
457 in REG_CLASS_CONTENTS.
458
459 Thu Aug 3 15:53:03 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
460
461 From SAITOH Masanobu:
462 * sh.h (ASM_OUTPUT_REG_PUSH): Fix syntax.
463
464 2000-08-03 David Billinghurst <David.Billinghurst@riotinto.com.au>
465
466 * config/i386/cygwin.h: Remove -remap from CPP_SPEC since this option
467 is not supported by tradcpp and isn't actually needed for cygwin.
468
469 2000-08-03 Kazu Hirata <kazu@hxi.com>
470
471 * h8300.c: Fix a comment typo.
472 * h8300.h (OK_FOR_U): Accept a 32-bit constant address on H8/S.
473
474 * jump.c: Fix formatting.
475
476 * toplev.c: Fix formatting.
477
478 Thu Aug 3 01:05:32 2000 Jeffrey A Law (law@cygnus.com)
479
480 * flow.c (find_auto_inc): Verify that we've got a REG before
481 peeking at its regno. Fail, don't abort if we can't find
482 the increment of the desired register.
483
484 * pa.md (shadd height reduction patterns/splitters): Remove.
485
486 2000-08-02 Jim Wilson <wilson@cygnus.com>
487
488 * config/ia64/ia64-protos.h (flag_ssa): Declare.
489 * config/ia64/ia64.md (movti_internal, movti_internal+1): New.
490
491 2000-08-02 Mark Mitchell <mark@codesourcery.com>
492
493 * dce.c: Remove all uses of assert.
494 * dwarf2out.c: Likewise.
495 * dwarfout.c: Likewise.
496 * ssa.c: Likewise.
497
498 2000-08-02 Zack Weinberg <zack@wolery.cumb.org>
499
500 * gcc.h (lang_specific_driver): Constify second argument.
501 * gcc.c (translate_options, process_command, main): Likewise.
502 Constify variables to match. Cast second argument to
503 pexecute.
504
505 * cppspec.c, gccspec.c: Adjust type of second argument to
506 lang_specific_driver, and update code as necessary.
507
508 2000-08-02 Jakub Jelinek <jakub@redhat.com>
509
510 * loop.c (scan_loop): Ensure update_end label does not
511 go away until reg_scan_update is run.
512
513 2000-08-02 Zack Weinberg <zack@wolery.cumb.org>
514
515 * c-common.h: Prototype min_precision and c_build_qualified_type here...
516 * c-tree.h: ... not here.
517 * errors.h: Prototype fancy_abort.
518
519 * emit-rtl.c (gen_lowpart_common): Move variable 'c' into
520 HOST_BITS_PER_WIDE_INT == 64 ifdef block.
521 * regrename.c (regrename_optimize): Make control flow explicit.
522 (replace_reg_in_block): Initialize reg_use to 0.
523
524 * i386.c (legitimate_address_p): Rename error label to
525 report_error to avoid namespace clash.
526
527 2000-08-02 Kazu Hirata <kazu@hxi.com>
528
529 * fold-const.c: Fix formatting.
530
531 Wed Aug 2 16:26:15 MET DST 2000 Jan Hubicka <jh@suse.cz>
532
533 * i386.c (legitimate_address_p): Accept other bases than
534 pic_offset_table_rtx for GOTOFF constructs.
535
536 Wed Aug 2 15:59:34 MET DST 2000 Jan Hubicka <jh@suse.cz>
537
538 * i386.md (shift to lea splitter): Use const_int_operand.
539
540 2000-08-02 Zack Weinberg <zack@wolery.cumb.org>
541
542 * cppexp.c, cppinit.c, cpplex.c, cpplib.c, cppmacro.c,
543 cppspec.c: Do not use 'legal' or 'illegal' in error messages
544 and comments.
545
546 * cppmain.c (cb_define, cb_undef): Don't generate any output
547 if not done_initializing.
548 * cpplex.c (maybe_paste_with_next): When the token after a ##
549 is an omitted rest argument, only delete the token before it
550 if that token is a comma. Do not warn about bogus token
551 pastes for , ## rest_arg.
552
553 * cpp.texi: Update.
554 * cpp.1: Regenerate.
555
556 2000-08-02 Fred Fish <fnf@be.com>
557
558 * config/i386/beos-elf.h (STARTFILE_SPEC): Add i386-mcount.o
559 when user gives -p option. Add init_term_dyn.o for BeOS 5.0
560 and later.
561
562 * config/i386/beos-elf.h (INCLUDE_DEFAULTS): Add additional
563 Be directories to search path.
564
565 Remove support for __declspec(dllimport) and __declspec(dllexport).
566 This is leftover cruft from the earlier BeOS gcc port when BeOS
567 used Microsoft's PE object file format.
568 * configure.in (i*86-*-beoself): Remove extra_objs=winnt.o.
569 * config/i386/t-beos (winnt.o): Remove Makefile frag.
570 * config/i386/beos-elf.h (TARGET_NOP_FUN_DLLIMPORT): Remove.
571 (VALID_MACHINE_DECL_ATTRIBUTE): Remove.
572 (VALID_MACHINE_TYPE_ATTRIBUTE): Remove.
573 (MERGE_MACHINE_DECL_ATTRIBUTES): Remove.
574 (REDO_SECTION_INFO_P): Remove.
575 (ASM_EXPORT_DECL): Remove.
576 (ASM_DECLARE_FUNCTION_NAME): Remove.
577 (ASM_DECLARE_OBJECT_NAME): Remove.
578 (ASM_OUTPUT_ALIGNED_COMMON): Remove.
579 (ASM_OUTPUT_ALIGNED_DECL_COMMON): Remove.
580 (ASM_OUTPUT_ALIGNED_LOCAL): Remove.
581 (STRIP_NAME_ENCODING): Remove.
582
583 Remove support for obsolete version of BeOS that is no longer
584 supported by Be.
585 * configure.in (i*86-*-beospe*): Remove.
586 * config/i386/beos-pe.h: Remove.
587
588 2000-08-01 Jeffrey Oldham <oldham@codesourcery.com>
589 Mark Mitchell <mark@codesourcery.com>
590
591 * Makefile.in (OBJS): Added dce.o.
592 (ssa.o): Updated target to include ssa.h.
593 (flow.o): Likewise.
594 (toplev.o): Likewise.
595 (dce.o): Created target.
596 * basic-block.h: Added comments.
597 (INVALID_BLOCK): Added definition.
598 (connect_infinite_loops_to_exit): Added declaration.
599 Moved SSA declarations to ssa.h.
600 * flow.c: Added inclusion of ssa.h.
601 (struct depth_first_search_dsS, depth_first_search_ds):
602 Added definitions.
603 (compute_immediate_postdominators): Added definition.
604 (connect_infinite_loops_to_exit): Likewise.
605 (flow_dfs_compute_reverse_init): Likewise.
606 (flow_dfs_compute_reverse_add_bb): Likewise.
607 (flow_dfs_compute_reverse_execute): Likewise.
608 (flow_dfs_compute_reverse_finish): Likewise.
609 * rtl.h (rtx/in_struct): Added use to determine insn necessity.
610 (LABEL_P): Added definition.
611 (JUMP_P): Likewise.
612 (NOTE_P): Likewise.
613 (BARRIER_P): Likewise.
614 (JUMP_TABLE_DATA_P): Likewise.
615 (INSN_DEAD_CODE_P): Likewise.
616 * ssa.c: Replaced inclusions with ssa.h inclusion.
617 (CONVERT_HARD_REGISTER_TO_SSA_P): Moved to ssa.h.
618 (rename_registers): Removed unnecessary variables.
619 * ssa.h: Created by moving declarations from ssa.c and
620 basic-block.h.
621 * timevar.def: Defined TV_DEAD_CODE_ELIM.
622 * toplev.c: Added ssa.h inclusion.
623 (dump_file_index): Added DFI_dce.
624 (dump_file): Added "dce" entry.
625 Defined flag_ssa.
626 (f_options): Added dce entry.
627 * invoke.texi: Document -fdce. Emphasize experimental status of
628 -fssa.
629 * dce: New file.
630
631 2000-08-01 Zack Weinberg <zack@wolery.cumb.org>
632
633 * cpperror.c (v_message): Split into _cpp_begin_message and
634 v_message macro. All callers updated.
635 (_cpp_begin_message): Do inhibit_errors/inhibit_warnings
636 checks here.
637
638 * cppfiles.c (cpp_syshdr_flags): New function.
639 (read_include_file): Don't call cpp_output_tokens. Call
640 enter_file hook.
641 * cppinit.c (dump_macros_helper): Moved to cppmain.c.
642 (cpp_reader_init): Don't initialize token_buffer. Call
643 _cpp_init_internal_pragmas.
644 (cpp_cleanup): Don't clear token_buffer.
645 (cpp_start_read): Don't worry about output from -D processing.
646 Don't call cpp_output_tokens.
647 (cpp_finish): Don't dump macros here. Don't call
648 cpp_output_tokens.
649 * cppmacro.c (_cpp_dump_definition): Rename
650 cpp_dump_definition. Write directly to a FILE *.
651 (dump_funlike_macro): Delete.
652 (dump_macro_args): New.
653
654 * cpplex.c (TOKEN_LEN): Convert to inline function.
655 (_cpp_grow_token_buffer, safe_fwrite, cpp_output_tokens,
656 cpp_scan_line, _cpp_dump_list): Delete.
657 (cpp_printf, cpp_output_list): New.
658 (output_line_command): Don't worry about entering or leaving files.
659 (cpp_scan_buffer): Just output each token as we hit it.
660 (process_directive): Don't call cpp_output_tokens.
661 (_cpp_glue_header_name): Don't use token_buffer.
662 (output_token, dump_param_spelling): Write directly to a FILE *.
663
664 * cpplib.c (pass_thru_directive, dump_macro_name,
665 pragma_dispatch, do_pragma_gcc): Delete.
666 (do_define, do_undef, parse_include, do_line, do_ident, do_pragma,
667 do_pragma_poison, cpp_pop_buffer): Call the appropriate hook
668 functions.
669 (do_error, do_warning, pragma_dependency): Call
670 _cpp_begin_message, then cpp_output_list.
671 (cpp_register_pragma, cpp_register_pragma_space,
672 _cpp_init_internal_pragmas): New.
673 (do_pragma): Walk the pragmas table here.
674 (do_pragma_once, do_pragma_poison, do_pragma_system_header,
675 do_pragma_dependency): Return void.
676 (do_pragma_implementation): Moved to cppmain.c.
677
678 * cpplib.h: Update prototypes.
679 (struct cpp_reader): Remove printer, token_buffer,
680 token_buffer_size, and limit. Add struct cb, and pragmas.
681 (struct cpp_printer): Remove last_id and written.
682 (CPP_WRITTEN, CPP_PWRITTEN, CPP_SET_WRITTEN,
683 CPP_ADJUST_WRITTEN): Delete.
684 * cpphash.h: Update prototypes.
685 (ufputs): New wrapper.
686
687 * cppmain.c (cb_define, cb_undef, cb_include, cb_ident,
688 cb_enter_file, cb_leave_file, cb_def_pragma): New functions.
689 (main): Set up callbacks. Register #pragma implementation.
690 Dump macros from here.
691
692 2000-08-01 Geoff Keating <geoffk@cygnus.com>
693
694 * rtl.h (enum reg_note): Add REG_MAYBE_DEAD.
695 * rtl.c (reg_note_name): Add REG_MAYBE_DEAD.
696 * flow.c (propagate_one_insn): Allow deletion of prologue/epilogue
697 insns if they have a REG_MAYBE_DEAD note attached.
698 * config/rs6000/rs6000.c (rs6000_maybe_dead): New function.
699 (rs6000_emit_load_toc_table): TOC loads may go dead.
700
701 2000-08-01 Jim Wilson <wilson@cygnus.com>
702
703 * config/ia64/ia64.c (ia64_function_arg): Fix last change. Verify
704 type exists before using it. Use number of words as alignment
705 otherwise.
706 (ia64_function_arg_partial_nregs, ia64_function_arg_advance,
707 ia64_va_arg): Propagate ia64_function_args changes here.
708
709 2000-08-01 Richard Henderson <rth@cygnus.com>
710
711 * config/elfos.h (ASM_DECLARE_OBJECT_NAME): Care for null DECL.
712 * config/ia64/sysv4.h (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Likewise.
713
714 2000-08-01 Bernd Schmidt <bernds@cygnus.co.uk>
715
716 From Joern Rennecke:
717 * sh.h (CPP_SPEC, TARGET_SWITCHES): Add m4-nofpu.
718 * sh.md (udivsi3, divsi3): Don't use libcalls that use the FPU
719 unless TARGET_SH3E is set.
720 * t-sh (MULTILIB_MATCHES): Add m2=m4-nofpu.
721
722 * sh.md (ashlsi3_d, ashlsi3_k): Remove, replace with
723 (ashlsi3_std): New pattern.
724 (ashlsi3 expander): Use it for TARGET_SH3.
725 * sh.c (gen_ashift): Use it instead of ashlsi3_k.
726
727 Tue Aug 1 12:34:21 MET DST 2000 Jan Hubicka <jh@suse.cz>
728
729 * loop.c (canonicalize_condition): Use destination, not source to
730 determine SET's mode.
731
732 2000-07-31 Mark Mitchell <mark@codesourcery.com>
733
734 * flow.c (clear_log_links): Fix typo.
735
736 Mon Jul 31 22:19:24 2000 Jeffrey A Law (law@cygnus.com)
737
738 * loop.c (check_dbra_loop): Make change from July 17, 2000 work
739 on targets which need more than one insn for a compare/cbranch
740 operation.
741
742 2000-07-31 Jim Wilson <wilson@cygnus.com>
743
744 * config/ia64/ia64.c (ia64_function_arg): Use alignment not size
745 when computing offset.
746
747 Mon Jul 31 20:35:50 2000 Denis Chertykov <denisc@overta.ru>
748
749 * genpeep.c (main): Handle DEFINE_PEEPHOLE2.
750
751 2000-07-31 Geoff Keating <geoffk@cygnus.com>
752
753 * flow.c (clear_log_links): Nuke global_live_at_start and
754 global_live_at_end data, since if the log_links stuff is invalid
755 so is global_live_at_*.
756
757 2000-07-31 Richard Henderson <rth@cygnus.com>
758
759 * tm.texi (Addressing Modes): Clarify PRE/POST_MODIFY descriptions.
760
761 2000-07-31 Jakub Jelinek <jakub@redhat.com>
762
763 * cpplex.c (_cpp_get_line): If index is 0, return line 0 col 0.
764 (_cpp_get_token): Don't macro expand a just pasted token if it
765 was pasted at no_expand_level.
766
767 2000-07-31 Zack Weinberg <zack@wolery.cumb.org>
768
769 * cppmacro.c (find_param, count_params, save_expansion):
770 Permit 'defined' as a macro parameter name.
771
772 2000-07-31 Zack Weinberg <zack@wolery.cumb.org>
773
774 * Makefile.in: Rename cpp to cpp0, tradcpp to tradcpp0, and
775 xcpp to cpp throughout.
776 (native): Remove unnecessary dependency on cpp.
777
778 * gcc.c (trad_capable_cpp, C specs): Rename cpp to cpp,
779 tradcpp to tradcpp0.
780 (.i spec): Add missing output-file spec to cc1 command line.
781 * objc/lang-specs.h: Rename cpp to cpp0 and/or tradcpp to tradcpp0.
782
783 2000-07-31 Zack Weinberg <zack@wolery.cumb.org>
784
785 * c-decl.c (mesg_implicit_function_declaration): Init to -1.
786 (implicit_decl_warning): New function.
787 (implicitly_declare): Use it.
788 * c-typeck.c (build_external_ref): Use implicit_decl_warning
789 to complain about implicit decls of builtins.
790
791 * c-lang.c (lang_init): Set mesg_implicit_function_declaration
792 based on pedantic && flag_isoc99, if not already set.
793 * c-tree.h: Declare mesg_implicit_function_declaration.
794 Prototype implicit_decl_warning.
795
796 2000-07-30 Jeffrey D. Oldham <oldham@codesourcery.com>
797
798 * Makefile.in (ssa.o): Updated header files in dependences.
799 * basic-block.h: Added compute_immediate_postdominators declaration.
800 * config/i386/i386.h (CONVERT_HARD_REGISTER_TO_SSA_P): Added
801 definition.
802 * flow.c (compute_immediate_dominators): Updated comment.
803 (compute_immediate_postdominators): Added definition.
804 * rtl.h (HARD_REGISTER_P): Added definition.
805 * ssa.c: Include additional header files.
806 (assert): Added definition.
807 (ssa_rename_to_lookup): Added to reimplement ssa_rename_to to
808 include select hard registers.
809 (ssa_rename_to_insert): Likewise.
810 (ssa_rename_from_initialize): Likewise.
811 (ssa_rename_from_lookup): Likewise.
812 (original_register): Likewise.
813 (ssa_rename_from_insert): Added to reimplement ssa_rename_from to
814 include select hard reigsters.
815 (ssa_rename_from_traverse): Likewise.
816 (ssa_rename_from_free): Likewise.
817 (ssa_rename_from_print): Likewise.
818 (ssa_rename_from_print_1): Likewise.
819 (ssa_rename_from_hash_function): Likewise.
820 (ssa_rename_from_equal): Likewise.
821 (ssa_rename_from_delete): Likewise.
822 (simplify_to_immediate_dominators): Removed in favor of
823 flow.c:compute_immediate_dominators.
824 (find_evaluations_1): Modified to work with hard registers.
825 (insert_phi_node): Likewise.
826 (insert_phi_nodes): Likewise.
827 (struct rename_set_data): Updated prev_reg comment.
828 (create_delayed_rename): Modified to work with hard registers.
829 (RENAME_NO_RTX): Updated comment.
830 (apply_delayed_renames): Modified to work with hard registers.
831 (rename_insn_1): Likewise and added handling of CLOBBER rtls.
832 (rename_block): Updated to use revised ssa_rename_to interface.
833 (rename_registers): Updated to use revised ssa_rename_to and
834 ssa_rename_from interface.
835 (convert_to_ssa): Revised to use compute_immediate_dominators and
836 deal with hard registers.
837 (make_regs_equivalent_over_bad_edges): Modified to work with hard
838 registers. Added check for illegal unification of hard register.
839 (make_equivalent_phi_alternatives_equivalent): Modified to work
840 with hard registers.
841 (compute_conservative_reg_partition): Likewise.
842 (coalesce_if_unconflicting): Modified to work with hard registers
843 and check for conflicting hard registers.
844 (mark_phi_and_copy_regs): Revised loop to work only on pseudo
845 registers.
846 (rename_equivalent_regs_in_insn): Modified to work with hard
847 registers.
848 (record_canonical_element_1): Added definition.
849 (check_hard_regs_in_partition): Added definition.
850 (convert_from_ssa): Added data structure deallocation and check
851 for illegal hard register unification.
852 (conflict_hard_regs_p): Added definition.
853 * toplev.c (rest_of_compilation): Added comment.
854
855 2000-07-31 Anthony Green <green@redhat.com>
856
857 * config/ia64/crtbegin.asm (__EH_FRAME_BEGIN__): Align correctly.
858
859 2000-07-31 Jason McMullan <jmcmullan@linuxcare.com>
860
861 * builtins.c (expand_builtin_apply): Don't defer pop during
862 argument setup.
863
864 2000-07-31 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
865
866 * calls.c (combine_pending_stack_adjustment_and_call): Only use
867 preferred_unit_stack_boundary when it is > 1.
868
869 2000-07-31 Joseph S. Myers <jsm28@cam.ac.uk>
870
871 * c-common.c (init_function_format_info): Add C99 format functions
872 in C99 mode.
873
874 * c-decl.c (get_parm_info): Don't treat 'const void', 'volatile
875 void' or 'register void' as being the special case of 'void' alone
876 in a parameter list.
877
878 * c-typeck.c (build_c_cast): Change -Wcast-qual pedwarn for
879 discarding qualifiers into a plain warning.
880
881 2000-07-31 Kazu Hirata <kazu@hxi.com>
882
883 * combine.c: Fix formatting.
884
885 * h8300.md: Fix formatting.
886
887 * local-alloc.c: Fix formatting.
888
889 * h8300.c (get_shift_alg): Remove the variable alg.
890 (emit_a_shift): Rearrange code to improve readability.
891
892 * h8300.md (movsi_h8300hs): Rearrange code to improve readability.
893
894 * h8300.h (MODES_TIEABLE_P): Accept a combination of QImode and
895 HImode on all architectures and a combination of HImode and SImode
896 on H8/300H and H8/S.
897
898 * h8300.c (split_adds_subs): Rearrange code for conciseness.
899
900 Mon Jul 31 12:27:55 MET DST 2000 Jan Hubicka <jh@suse.cz>
901
902 * i386.md (addsi to lea splitter, ashlqi3_1_lea): Fix bugs
903 in my last checkin.
904
905 Mon Jul 31 10:41:01 MET DST 2000 Jan Hubicka <jh@suse.cz>
906
907 * recog.c (extract_insn): Set operand_mode according to
908 operand if match_operand is VOIDmode.
909
910 Mon Jul 31 10:36:38 MET DST 2000 Jan Hubicka <jh@suse.cz>
911
912 * recog.c (validate_replace_rtx_1): Do not abort for (nil) expression.
913
914 2000-07-31 Geoff Keating <geoffk@cygnus.com>
915
916 * c-parse.in (extdefs): Call ggc_collect between external
917 definitions.
918
919 2000-07-30 Michael Hayes <mhayes@cygnus.com>
920 Richard Henderson <rth@cygnus.com>
921
922 * Makefile.in (OBJS): Add doloop.o.
923 * doloop.c: New file.
924
925 * final.c (insn_current_reference_address): Return 0 before final.
926 * flags.h (flag_branch_on_count_reg): Fix typos in commentary.
927 * jump.c (any_uncondjump_p): Likewise.
928 * loop.c (indirect_jump_in_function): Make static.
929 (strength_reduce): Call doloop_optimize.
930 (insert_bct, instrument_loop_bct): Remove.
931 * loop.h (doloop_optimize): Prototype.
932 * recog.c (split_all_insns): Split all INSN_P.
933 * toplev.c (flag_branch_on_count_reg): Default on.
934
935 * config/c4x/c4x.c (c4x_optimization_options): Don't set
936 flag_branch_on_count_reg.
937 * config/i386/i386.c (override_options): Likewise.
938 * config/rs6000/rs6000.c (optimization_options): Likewise.
939
940 * config/i386/i386.md (decrement_and_branch_on_count): Remove.
941 (doloop_end): New.
942 (dbra_ge): Remove, as well as all it's splitters.
943
944 * config/rs6000/rs6000.md (decrement_and_branch_on_count): Remove.
945 (doloop_end): New.
946
947 * config/ia64/ia64-protos.h (ar_lc_reg_operand): Declare.
948 (ia64_register_move_cost): Declare.
949 * config/ia64/ia64.c (ar_lc_reg_operand): New.
950 (struct ia64_frame_info): Add ar_size.
951 (ia64_compute_frame_size): Set it.
952 (save_restore_insns): Save and restore ar.lc.
953 (ia64_register_move_cost): New, moved from header file. Handle
954 application registers.
955 (REG_AR_PFS, REG_AR_EC): Remove. Replace with AR_*_REGNUM numbers.
956 (emit_insn_group_barriers): Special case doloop_end_internal.
957 (ia64_epilogue_uses): Mark ar.lc live at end.
958 * config/ia64/ia64.h (AR_CCV_REGNUM, AR_LC_REGNUM): New registers.
959 (AR_EC_REGNUM, AR_PFS_REGNUM): New registers.
960 (FIRST_PSEUDO_REGISTER): Make room.
961 (AR_M_REGNO_P, AR_I_REGNO_P, AR_REGNO_P): New.
962 (FIXED_REGISTERS, CALL_USED_REGISTERS): Update.
963 (REG_ALLOC_ORDER): Update.
964 (HARD_REGNO_MODE_OK): Update.
965 (REGISTER_NAMES): Update.
966 (enum reg_class): Add AR_M_REGS and AR_I_REGS.
967 (REG_CLASS_NAMES, REG_CLASS_CONTENTS): Update.
968 (REGNO_REG_CLASS): Update.
969 (LEGITIMATE_ADDRESS_DISP): Displacement range is 9 bits, not 10.
970 (REGISTER_MOVE_COST): Move out of line.
971 (PREDICATE_CODES): Update.
972 * config/ia64/ia64.md (movdi patterns): Handle ar register classes.
973 (addsi3_plus1_alt, adddi3_plus1_alt): New.
974 (shladd_elim splitter): Allow constants in the predicate.
975 (doloop_end, doloop_end_internal): New.
976
977 2000-07-30 Richard Henderson <rth@cygnus.com>
978
979 * genattrtab.c (struct insn_def): Add lineno member.
980 (struct insn_ent): Likewise.
981 (struct attr_desc): Likewise.
982 (struct delay_desc): Likewise.
983 (struct function_unit_op): Likewise.
984 (struct function_unit): Likewise.
985 (check_attr_value): Use message_with_line.
986 (check_defs): Likewise.
987 (expand_units): Likewise.
988 (check_attr_test): Take a lineno argument.
989 (gen_attr): Likewise.
990 (gen_insn): Likewise.
991 (gen_delay): Likewise.
992 (gen_unit): Likewise.
993 (main): Give it to them.
994 (convert_set_attr_alternative): Take an insn_def argument
995 instead of num_alt and insn_index.
996 (convert_set_attr): Likewise.
997 (write_test_expr): Protect INSN_ADDRESSES load
998 with INSN_ADDRESSES_SET_P.
999
1000 2000-07-30 Richard Henderson <rth@cygnus.com>
1001
1002 * flow.c (init_propagate_block_info): Use pc_set.
1003
1004 Sun Jul 30 20:58:34 MET DST 2000 Jan Hubicka <jh@suse.cz>
1005
1006 * i386.md (*lea_general_[123]) New insns and splits.
1007 (addsi3 to lea splitter): Handle other modes too.
1008 (shlsi3 to lea splitter): Likewise.
1009 (addhi_1_lea, shlhi_1_lea): New patterns.
1010 (addhi_1, shlhi_1): Conditionize by PARTIAL_REG_STALL.
1011
1012 Sun Jul 30 20:51:25 MET DST 2000 Jan Hubicka <jh@suse.cz>
1013
1014 * recog.c (general_operand, nonimmediate_operand): Accept
1015 any mode for VOIDmode CONSTANT_P operands.
1016
1017 Sun Jul 30 20:42:21 MET DST 2000 Jan Hubicka <jh@suse.cz>
1018
1019 * gcse.c (try_replace_reg): Use validate_replace_rtx_subexp
1020 instead of replace_rtx.
1021 * recog.c (validate_replace_rtx_subexp): New function.
1022 * recog.h (validate_replace_rtx_subexp): Declare.
1023
1024 Sun Jul 30 20:38:26 MET DST 2000 Jan Hubicka <jh@suse.cz>
1025
1026 * combine.c (simplify_set, make_extraction, make_compound_operation
1027 make_field_assignment): Use full mask instead of GET_MODE_MASK (mode)
1028 as force_to_mode argument.
1029
1030 Sun Jul 30 20:30:41 MET DST 2000 Jan Hubicka <jh@suse.cz>
1031
1032 * combine.c (if_then_else_cond): Be sure that mode fits in
1033 HOST_WIDE_INT.
1034
1035 Sun Jul 30 20:27:36 MET DST 2000 Jan Hubicka <jh@suse.cz>
1036
1037 * combine.c (record_promoted_value): Allow bitsize of mode
1038 to be equivalent to HOST_BITS_PER_WISE_INT.
1039
1040 Sun Jul 30 20:25:21 MET DST 2000 Jan Hubicka <jh@suse.cz>
1041
1042 * function.c (assign_stack_local_1, assign_stack_temp_for_type):
1043 Do not call gen_mode_alignment when mode is BLKmode.
1044
1045 Sun Jul 30 20:21:54 MET DST 2000 Jan Hubicka <jh@suse.cz>
1046
1047 * loop.c (express_from_1): Fix call of simplify_gen_binary.
1048
1049 Sun Jul 30 20:08:37 MET DST 2000 Jan Hubicka <jh@suse.cz>
1050
1051 * simplify-rtx.c (simplify_relational_operation): Verify that mode ==
1052 VOIDmode implies both operands to be VOIDmode.
1053 (simplify_ternary_operation): Compute properly the mode of comparison.
1054 * combine.c (combine_simplify_rtx): Likewise.
1055
1056 2000-07-25 Michael Hayes <mph@paradise.net.nz>
1057
1058 * basic-block.h (struct loops): New field rc_order.
1059 * flow.c (flow_loops_cfg_dump): Dump rc_order if computed.
1060 (flow_loops_free): Free rc_order.
1061 (flow_depth_first_order_compute): New parameter rc_order.
1062 (flow_loops_find): Allocate rc_order and swap usage with
1063 dfs_order.
1064
1065 2000-07-30 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
1066 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1067
1068 * config/c4x/c4x.md (set_ldp_prologue): Add for RTL prologue/epilogue.
1069 (push_st, push_dp, pop_st, pop_dp, popqi_unspec): Likewise.
1070 (nodb_call, return_from_epilogue): Likewise.
1071 (return_from_interrupt_epilogue, prologue, epilogue): Likewise.
1072 * config/c4x/c4x.c (c4x_expand_prologue, c4x_expand_eplilogue): Add.
1073 * config/c4x/c4x-protos.h (c4x_interrupt_function_p): Add.
1074 (c4x_expand_prologue, c4x_expand_epilogue): Likewise.
1075 (c4x_valid_type_attribute_p): Likewise.
1076 * config/c4x/c4x.h (FUNCTION_PROLOGUE, FUNCTION_EPILOGUE): Delete.
1077 (FUNCTION_BLOCK_PROFILER_EXIT): Convert to emit RTL.
1078
1079 2000-07-30 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1080
1081 * config/c4x/c4x.c (c4x_emit_move_sequence): Use loadqi_big_constant
1082 and loadhi_big_constant if applicable.
1083 * config/c4x/c4x.md (loadqi_big_constant, loadhi_big_constant): Tweak
1084 and add new splitter.s
1085
1086 2000-07-30 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1087
1088 * config/c4x/c4x.c (c4x_rptb_insert): Make more robust.
1089
1090 2000-07-30 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1091
1092 * config/c4x/c4x.h (ASM_FORMAT_PRIVATE_NAME): Output $ in label.
1093
1094 2000-07-30 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1095
1096 * config/c4x/c4x.h (IS_XXX_REGNO): Rewrite to avoid unsigned warnings.
1097
1098 2000-07-30 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1099
1100 * config/c4x/libgcc.S (divqf3): Improve accuracy.
1101
1102 2000-07-27 Mark Mitchell <mark@codesourcery.com>
1103
1104 Put phi nodes after NOTE_INSN_BASIC_BLOCK.
1105 * rtl.h (NOTE_INSN_BASIC_BLOCK_P): New macro.
1106 * bb-reorder.c (get_next_bb_note): Use NOTE_INSN_BASIC_BLOCK_P.
1107 (get_prev_bb_note): Likewise.
1108 (remove_scope_notes): Likewise.
1109 * flow.c (commit_one_edge_insertion): Likewise.
1110 (merge_blocks_nomove): Likewise.
1111 (verify_flow_info): Likewise.
1112 * gcse.c (insert_insn_end_bb): Likewise.
1113 * reg-stack.c (emit_swap_insn): Likewise.
1114 * ssa.c (first_insn_after_basic_block_note): New function.
1115 (insert_phi_node): Use it.
1116 (rename_block): Likewise.
1117 (eliminate_phi): Likewise.
1118 (make_regs_equivalent_over_bad_edges): Likewise.
1119 (make_equivalent_phi_alternatives_equivalent): Likewise.
1120 (for_each_successor_phi): Likewise.
1121 (convert_from_ssa): Modify phi-node deletion algorithm.
1122
1123 2000-07-29 Andreas Jaeger <aj@suse.de>
1124
1125 * configure.in (mips*-*-linux*): Use mips*el to check for little
1126 endian MIPS, add tmake_file.
1127
1128 * config/mips/linux.h (TARGET_VERSION): Use GNU/Linux.
1129 (SUBTARGET_CPP_SPEC): Default MIPS_ISA is 1.
1130 Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
1131
1132 2000-07-28 Richard Henderson <rth@cygnus.com>
1133
1134 * config/ia64/ia64.c (ia64_print_operand): Fix typos.
1135 Sign extend mode size before negating.
1136
1137 2000-07-28 Richard Henderson <rth@cygnus.com>
1138
1139 * emit-rtl.c (gen_lowpart_common): Add missing 'c' variable.
1140
1141 2000-07-28 Bernd Schmidt <bernds@cygnus.co.uk>
1142
1143 * cse.c (canon_hash): Handle PRE_MODIFY/POST_MODIFY.
1144 (cse_insn): Likewise.
1145 (addr_affects_sp_p): Likewise.
1146 * expr.c (move_by_pieces): Likewise.
1147 (clear_by_pieces): Likewise.
1148 * gcse.c (oprs_unchanged_p): Likewise.
1149 * haifa-sched.c (sched_analyze_2): Likewise.
1150 * recog.c (offsettable_address_p): Likewise.
1151 * regclass.c (record_address_regs): Likewise.
1152 * reload.c (find_reusable_reload): Likewise.
1153 (push_reload): Likewise.
1154 (operands_match_p): Likewise.
1155 (decompose): Likewise.
1156 (find_reloads_address_1): Likewise.
1157 (find_inc_amount): Likewise.
1158 * reload1.c (elimination_effects): Likewise.
1159 * resource.c (mark_set_resources): Likewise.
1160 * flow.c (attempt_auto_inc): New function; mostly broken out
1161 of find_auto_inc.
1162 (find_auto_inc): Split into two functions and enhanced to
1163 generate POST_MODIFY.
1164 * rtl.def (PRE_MODIFY, POST_MODIFY): Adjust comment.
1165 * rtl.h (count_all_occurrences): Declare.
1166 (HAVE_{PRE,POST}_MODIFY_{DISP,REG}): Provide default of 0 if not
1167 defined.
1168 * rtlanal.c (count_all_occurrences): New function.
1169 * tm.texi (HAVE_POST_MODIFY_DISP, HAVE_PRE_MODIFY_DISP,
1170 HAVE_POST_MODIFY_REG, HAVE_PRE_MODIFY_REG): Document.
1171
1172 * config/ia64/ia64-protos.h (destination_operand): Declare.
1173 * config/ia64/ia64.c (destination_operand): New function.
1174 (ia64_print_operand): Handle POST_MODIFY.
1175 (rtx_needs_barrier): Likewise.
1176 * config/ia64/ia64.h (HAVE_POST_MODIFY_DISP): Define to 1.
1177 (HAVE_POST_MODIFY_REG): Define to 1.
1178 (MAX_REGS_PER_ADDRESS): Change to 2.
1179 (GO_IF_LEGITIMATE_ADDRESS): Accept POST_MODIFY too.
1180 (LEGITIMATE_ADDRESS_REG): New helper macro.
1181 (LEGITIMATE_ADDRESS_DISP): Likewise.
1182 (PREDICATE_CODES): Add entry for destination_operand.
1183 * config/ia64/ia64.md (all mov patterns): Use destination_operand
1184 predicate for operand 0.
1185
1186 2000-07-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1187
1188 * dwarf2out.c: Indent #error directive.
1189
1190 * gbl-ctors.h: Fix typo in comment.
1191 (__do_global_ctors): Prototype.
1192
1193 * gcse.c (record_one_set, pre_delete): Remove unused variables.
1194
1195 * rs6000.c (rs6000_maybe_dead): Delete unused prototype.
1196 (print_operand): Initialize variable `t'.
1197
1198 2000-07-27 Aldy Hernandez <aldyh@redhat.com>
1199
1200 * config/arm/arm.md ("call_value"): removed constraints.
1201 Constraints are ignored in expanders.
1202 (*call_value_reg): split =rf into various constraints.
1203 (*call_value_mem): same
1204 (*call_value_symbol): same
1205 (*sibcall_value_insn): same
1206
1207 2000-07-28 Philipp Thomas <pthomas@suse.de>
1208
1209 * install.texi (--enable-nls): Change the description of the NLS
1210 related configure options to match the current state.
1211 (--with-included-gettext): Likewise.
1212 (--enable-maintainer-mode): New description added.
1213 * extend.texi (-fstrict-prototype): Add missing '.'.
1214
1215 2000-07-27 Jim Wilson <wilson@cygnus.com>
1216
1217 * dwarf2out.c (gen_decl_die): Don't call gen_abstract_function if
1218 DECL_INITIAL (decl) == NULL_TREE.
1219
1220 2000-07-27 Alexandre Oliva <aoliva@redhat.com>
1221
1222 * Makefile.in (INSN_ATTR_H): New macro. Replace all dependencies
1223 on insn-attr.h with it.
1224 * genattr.c: Generate `#include "insn-addr.h"' if HAVE_ATTR_length.
1225 * insn-addr.h: New header.
1226 (insn_addresses_): Renamed from insn_addresses.
1227 (INSN_ADDRESSES_DEFN, INSN_ADDRESSES, INSN_ADDRESSES_ALLOC,
1228 INSN_ADDRESSES_FREE, INSN_ADDRESSES_SET_P, INSN_ADDRESSES_SIZE,
1229 INSN_ADDRESSES_NEW): New macros.
1230 * genattrtab.c (write_test_expr): Use new macros.
1231 * final.c (insn_addresses, init_insn_lengths): Likewise.
1232 (align_fuzz, shorten_branches): Likewise.
1233 (final): Likewise. Do not reject new insns if their addresses
1234 have been added to INSN_ADDRESSES.
1235 * config/arm/arm.c, config/avr/avr.c: Use new macros.
1236 * config/h8300/h8300.c, config/i370/i370.c: Likewise.
1237 * config/m88k/m88k.c, config/pa/pa.c, config/pa/pa.md: Likewise.
1238 * config/sparc/sparc.c, config/sparc/sparc.md: Likewise.
1239 * config/sh/sh.c: Likewise.
1240 (output_branchy_insn): Use INSN_ADDRESSES_NEW.
1241
1242 * Makefile.in (bootstrap): Move -BstageN/ back to the beginning.
1243
1244 2000-07-27 Andrew Cagney <cagney@b1.cygnus.com>
1245
1246 * gcc.c (struct prefix_list): Add member priority.
1247 (enum path_prefix_priority): Declare.
1248 (add_prefix): Replace ``first'' with ``priority''. Append new
1249 entry but keep list in priority order.
1250 (process_command): Update. Pass PREFIX_PRIORITY_B_OPT or
1251 PREFIX_PRIORITY_LAST to add_prefix.
1252 (process_command): Move include kludge - foo/stageN - to before
1253 foo/include.
1254
1255 2000-07-27 Jason Merrill <jason@redhat.com>
1256
1257 * dwarf2out.c (gen_typedef_die): Abort if we get identical
1258 TREE_TYPE and DECL_ORIGINAL_TYPE on a typedef.
1259
1260 2000-07-27 RodneyBrown <RodneyBrown@pmsc.com>
1261
1262 * expr.h (get_alias_set, lang_get_alias_set): Delete prototypes.
1263 * tree.h (get_alias_set, lang_get_alias_set): Prototype.
1264
1265 2000-07-27 Joseph S. Myers <jsm28@cam.ac.uk>
1266
1267 * c-decl.c (finish_function): Don't treat 'main' specially unless
1268 flag_hosted. In C99 mode, return 0 from 'main' unless
1269 DEFAULT_MAIN_RETURN is otherwise defined.
1270
1271 * c-decl.c (store_parm_decls): In C99 mode, pedwarn for function
1272 parameters defaulting to int in an old-style function definition.
1273
1274 2000-07-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1275
1276 * c-parse.in (string): For -Wtraditional, warn about string
1277 concatenation only once per line.
1278
1279 Thu Jul 27 09:25:17 2000 Akiko Matsushita <matusita@sra.co.jp>
1280
1281 * pa/x-pa-hpux: Add -D_HIUX_SOURCE to FIXPROTO_DEFINES
1282 for HI-UX/WE2 systems.
1283
1284 2000-07-24 Bruce Korb <bkorb@gnu.org>
1285
1286 * fixincl/fixfixes.c(emit_gnu_type): rewrote to *rely* on GCC
1287 defining the __xxx_TYPE__ macros.
1288 * fixincl/fixincl.tpl(gnu_type_map): now obsolete
1289 * fixincl/fixlib.h: don't need to include "tm.h" anymore
1290 * fixincl/inclhack.def(type_map): now obsolete
1291
1292 Thu Jul 27 11:54:17 2000 Andrew Cagney <cagney@b1.cygnus.com>
1293
1294 * cpp.texi: Append a trailing full-stop to xrefs where needed.
1295
1296 2000-07-26 Dave Pitts <dpitts@cozx.com>
1297
1298 * i370.c: Remove LONGEXTERNAL ifdef from alias_number. Added hash
1299 routine constants.
1300 (mvs_hash_alias): New function.
1301 (mvs_add_alias): Change argument spacing.
1302 (mvs_need_alias): Change aliasing criteria. Added documentation.
1303 (mvs_get_alias): Change to use hashed name. The hashed name prevents
1304 CSECT name collisions.
1305 (mvs_check_alias): Likewise.
1306 (handle_pragma): Change documentation.
1307 * i370.md (mulsi3, divsi3, udivsi3, modsi3, umodsi3): Changed gen_rtx
1308 mode from SImode to DImode.
1309 (iorhi3): Changed LTORG size for insn.
1310
1311 Wed Jul 26 19:44:05 2000 Hans-Peter Nilsson <hp@axis.com>
1312
1313 * reload.c (find_reloads_toplev): Reload a paradoxical subreg of a
1314 mem if the address is a mode_dependent_address_p.
1315
1316 2000-07-26 Kazu Hirata <kazu@hxi.com>
1317
1318 * h8300.c (print_operand): Print ":8" when the 'R' operand is
1319 suitable for 8-bit absolute.
1320 * h8300.h (EIGHTBIT_CONSTANT_ADDRESS_P): New.
1321 (OK_FOR_U): Add a case for the 8-bit constant address on the
1322 H8/300H.
1323
1324 Wed Jul 26 19:26:21 2000 Hans-Peter Nilsson <hp@axis.com>
1325
1326 * varasm.c (assemble_variable) [! defined(ASM_OUTPUT_ALIGNED_COMMON)
1327 && ! defined (ASM_OUTPUT_ALIGNED_BSS]): Also test
1328 ! defined(ASM_OUTPUT_ALIGNED_DECL_COMMON) before complaining about
1329 lack of implemented alignment.
1330
1331 2000-07-26 Geoffrey Keating <geoffk@cygnus.com>
1332
1333 * emit-rtl.c (gen_lowpart_common) [REAL_ARITHMETIC]: Handle
1334 cross-compiling between 64-bit and 32-bit machines.
1335
1336 2000-07-27 Richard Henderson <rth@cygnus.com>
1337
1338 * config/ia64/ia64.md (movqicc_astep, movqi_internal_astep): New.
1339 (movhicc_astep, movhi_internal_astep): New.
1340 (movsicc_astep, movsi_internal_astep): New.
1341 (movdicc_astep, movdi_internal_astep): New.
1342 (movsfcc_astep, movsf_internal_astep): New.
1343 (movdfcc_astep, movdf_internal_astep): New.
1344 (movxfcc_astep, movxf_internal_astep): New.
1345 (cmovdi_internal_astep, cmovsi_internal_astep): New.
1346 Unify the cmov[ds]i splitters.
1347
1348 2000-07-27 Rodney Brown <RodneyBrown@pmsc.com>
1349
1350 * real.c (asctoeg): Rename `error' label to unexpected_char_error
1351
1352 2000-07-26 Nick Clifton <nickc@cygnus.com>
1353
1354 * config/arm/vxarm.h (CPP_PREDEFINES): Remove definition of
1355 __arm__. Allow it to be defined by CPP_ISA_SPEC in arm.h
1356
1357 * dwarf2out.c (dwarf2out_frame_debug_expr): Accept SEQUENCE as
1358 well as PARALLEL blocks in FRAME_RELATED_EXPR notes.
1359
1360 2000-07-26 Alexandre Oliva <aoliva@redhat.com>
1361
1362 * c-decl.c (finish_enum): Convert enumerations that fit in an
1363 `int' to `int'.
1364 (build_enumerator): In pedantic mode, cast to `int' those that
1365 don't.
1366
1367 2000-07-25 Rodney Brown <RodneyBrown@pmsc.com>
1368
1369 * config/alpha/osf.h (SIZE_TYPE, PTRDIFF_TYPE): New.
1370
1371 Tue Jul 25 23:08:33 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
1372
1373 * sh.md (cmpgtdi_t): Must be split.
1374 (cmpgtdi_t+1): New splitter.
1375
1376 2000-07-25 Zack Weinberg <zack@wolery.cumb.org>
1377
1378 * cpplib.c (_cpp_check_directive): Issue -Wtraditional
1379 warnings for indented directives even if we are skipping.
1380
1381 2000-07-25 Nathan Sidwell <nathan@codesourcery.com>
1382
1383 * invoke.texi (strict-prototypes): Remove.
1384 * extend.texi (Deprecated Features): Add strict-prototypes.
1385 (Backwards Compatibility): New node.
1386
1387 2000-07-25 Jakub Jelinek <jakub@redhat.com>
1388
1389 * config/i386/i386.md (andsi_1+1): Allow HImode.
1390 (andsi_1+2): Require q_regs_operand.
1391
1392 2000-07-25 Jakub Jelinek <jakub@redhat.com>
1393
1394 * config/i386/i386.md (call_pop): Check operands[0],
1395 not operands[1]. Only check SYMBOL_REF_FLAG for a SYMBOL_REF.
1396 (call): Likewise.
1397 (call_value_pop): Only check SYMBOL_REF_FLAG for a SYMBOL_REF.
1398 (call_value): Likewise.
1399
1400 2000-07-25 Zack Weinberg <zack@wolery.cumb.org>
1401
1402 * toplev.c (pipe_closed): Delete.
1403 (crash_signal): New. Generate ICE for a fatal signal.
1404 (float_signal): Call crash_signal outside a float-handler
1405 block, not abort.
1406 (main): Install crash_signal as handler for core-dumping signals.
1407
1408 2000-07-25 David Edelsohn <edelsohn@gnu.org>
1409
1410 * rs6000.c (print_operand, case 'T'): New case.
1411
1412 * rs6000.md (call_indirect_aix32): Convert to expander of
1413 scheduled instructions.
1414 (call_indirect_aix64): Likewise.
1415 (call_value_indirect_aix{32,64}): Likewise.
1416 (call, call_value): Invoke expanders for AIX. Fall through to
1417 matchers for SysV.
1418 (call_indirect_nonlocal_aix{32,64}): New patterns (ctr and lr).
1419 (call_value_indirect_nonlocal_aix{32,64}): New patterns.
1420 (call_nonlocal_aix32): Remove CALL_LONG alternative. Operand 1
1421 only "g" constraint.
1422 (call_nonlocal_aix64): Likewise.
1423 (call_value_nonlocal_aix{32,64}): Likewise.
1424 (call_nonlocal_sysv): New pattern for ctr, lr, and symbolic
1425 operands.
1426 (call_value_nonlocal_sysv): New pattern.
1427 (indirect_jump{si,di}): Use new 'T' modifier.
1428 (tablejump{si,di} matchers): Likewise.
1429 (return_internal_{si,di}): Likewise.
1430 (return_eh_{si,di}): Likewise.
1431
1432 2000-07-24 Richard Henderson <rth@cygnus.com>
1433
1434 * config/ia64/ia64.c (ia64_print_operand): Handle "%,".
1435 * config/ia64/ia64.h (PRINT_OPERAND_PUNCT_VALID_P): Likewise.
1436 * config/ia64/ia64.md (movdi_internal): Use it.
1437
1438 2000-07-24 Zack Weinberg <zack@wolery.cumb.org>
1439
1440 * cppexp.c: Warn about unary + if -Wtraditional.
1441 * cpplex.c (lex_line): Always set BOL on the first token of a line.
1442
1443 2000-07-24 Michael Meissner <meissner@redhat.com>
1444
1445 * d30v.h (FUNCTION_ARG_KEEP_AS_REFERENCE): Delete references to
1446 unsupported macro.
1447
1448 2000-07-24 Nick Clifton <nickc@cygnus.com>
1449
1450 * config/arm/arm.c (emit_multi_reg_push): Generate a
1451 REG_FRAME_RELEATED_NOTE that is compatable with the code in
1452 dwarf2out_debug_frame_expr.
1453
1454 2000-07-24 Jason Merrill <jason@redhat.com>
1455
1456 * dwarf2out.c: Complain if DWARF2_DEBUGGING_INFO is defined without
1457 UNALIGNED_INT_ASM_OP.
1458 (def_cfa_1): Don't emit def_cfa_register or def_cfa_offset to adjust
1459 a location expression.
1460 (dwarf2out_frame_debug_expr): Lose cfa_old_reg stuff. Don't
1461 assume indirect access if we're saving the CFA address exactly.
1462
1463 * Makefile.in (bootstrap): Move -BstageN/ to the end.
1464
1465 2000-07-24 Jakub Jelinek <jakub@redhat.com>
1466
1467 * tradcpp.c (main): Update max_include_len for cpp_include_defaults
1468 as well.
1469
1470 2000-07-24 Michael Meissner <meissner@redhat.com>
1471
1472 * invoke.texi (D30V Options): Add d30v options.
1473
1474 Mon Jul 24 02:04:52 2000 Jeffrey A Law (law@cygnus.com)
1475
1476 * gcse.c (alloc_pre_mem): Do not alloc TRANSPOUT, it is not
1477 needed by our gcse pass anymore.
1478 (free_pre_mem): Corresponding changes.
1479 (compute_pre_data): Do not call compute_transpout anymore.
1480
1481 * gcse.c (alloc_avail_expr_mem): Kill unused 'u_bitmap'.
1482 (free_avail_expr_mem, alloc_pre_mem, free_pre_mem): Corresponding
1483 changes.
1484
1485 * gcse.c (free_pre_mem): Do not free ANTLOC and AE_KILL here.
1486 (compute_pre_data): Do it here instead.
1487
1488 * gcse.c (alloc_pre_mem, free_pre_mem): Delete unused bitmap
1489 'temp_bitmap'.
1490 (pre_delete): Corresponding changes.
1491
1492 2000-07-23 Mark Mitchell <mark@codesourcery.com>
1493
1494 * c-semantics.c (make_rtl_for_local_static): Use TREE_ASM_WRITTEN
1495 to figure out whether or not a variable has already been emitted.
1496
1497 Sun Jul 23 14:49:12 2000 Jason Eckhardt <jle@cygnus.com>
1498
1499 * config/i860/i860.md (untyped_call expander): Use GEN_CALL
1500 instead of gen_call.
1501
1502 Sun Jul 23 11:52:03 2000 George Helffrich (george@gly.bris.ac.uk)
1503
1504 * dbxout.c (dbxout_type, case COMPLEX_TYPE): Fix length field in stab.
1505
1506 2000-07-23 Kazu Hirata <kazu@hxi.com>
1507
1508 * h8300.c: Fix formatting.
1509
1510 2000-07-23 Joseph S. Myers <jsm28@cam.ac.uk>
1511
1512 * c-typeck.c (c_expand_start_case): Change -Wtraditional pedwarn
1513 for `long' switch expression into a plain warning.
1514
1515 * c-lex.c (init_lex): Keep the "inline" keyword in C99 mode.
1516 (yylex): Don't pedwarn for "inline" in C99 mode.
1517
1518 * bitmap.c (debug_bitmap_file): Cast pointers to PTR for printing
1519 with %p.
1520 * ggc-page.c (debug_print_page_list, alloc_page, free_page,
1521 ggc_alloc): Likewise.
1522 * bb-reorder.c (dump_scope_forest_1): Likewise.
1523
1524 2000-07-22 Aldy Hernandez <aldyh@redhat.com>
1525
1526 * reload.c (find_reloads_toplev): Add new parameter
1527 "address_reloaded".
1528 (find_reloads): Add new parameter to find_reloads_toplev calls.
1529
1530 2000-07-22 Jeffrey Oldham <oldham@codesourcery.com>
1531
1532 * collect2.c (main): Typo fixed.
1533 * diagnostic.c: Typo fixed.
1534 * dwarf2out.c (dwarf2out_frame_debug_expr): Typo fixed.
1535 * eh-common.h: Typo fixed.
1536 * emit-rtl.c (start_sequence): Typo fixed.
1537 * flow.c (find_label_refs): Typo fixed.
1538 (calculate_global_regs_live): Typo fixed.
1539 (mark_regno_cond_dead): Typo fixed.
1540 (create_edge_list): Typos fixed.
1541 (verify_edge_list): Typo fixed.
1542 * ggc-common.c (ggc_mark_rtx_children): Typo fixed.
1543 * loop.c (strength_reduce): Typo in function name fixed.
1544 * rtl.h: Added comments. Typo in function name fixed.
1545 * rtlanal.c: Typo in function name fixed.
1546 (insn_dependant_p): Rename to ...
1547 (insn_dependent_p): ... this.
1548 (computed_jumo_p): Typo fixed.
1549
1550 2000-07-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1551
1552 * system.h (__FUNCTION__): Wrap definition in #ifndef.
1553
1554 2000-07-21 David Edelsohn <edelsohn@gnu.org>
1555
1556 * rs6000.h (SIZE_TYPE): Define.
1557
1558 2000-07-21 Mark Mitchell <mark@codesourcery.com>
1559
1560 * ssa.c (rename_insn_1): Don't rename registers that are
1561 CLOBBERed.
1562
1563 2000-07-21 Zack Weinberg <zack@wolery.cumb.org>
1564
1565 * diagnostic.c (trim_filename, fancy_abort): Moved here from
1566 rtl.c.
1567 (fatal_function, set_fatal_function): Removed.
1568 (fatal): Don't prepare for or call the fatal_function.
1569 (diagnostic_lock, error_recursion): New.
1570 (diagnostic_for_decl, report_diagnostic): Guard against
1571 re-entering the error reporting routines.
1572 (fancy_abort): Assume function is not NULL.
1573
1574 * errors.c (fancy_abort): New. Assume function is not NULL.
1575 * tradcpp.c (fancy_abort): Assume function is not NULL.
1576
1577 * system.h: Provide default definition of __FUNCTION__.
1578 * rtl.h: Use __FUNCTION__ not __PRETTY_FUNCTION__ throughout.
1579 Always use __FUNCTION__ in definition of abort.
1580 * tree.h: Likewise.
1581 * varray.h: Likewise.
1582 * toplev.h: Likewise. Don't prototype set_fatal_function.
1583
1584 2000-07-20 Geoff Keating <geoffk@cygnus.com>
1585
1586 * config/rs6000/aix43.h (CPP_SPEC): Define __LONG_MAX__ correctly
1587 in 64-bit mode.
1588 * glimits.h: Don't do #if defined for ARCH_PPC.
1589
1590 * config/rs6000/rs6000.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY_P): All
1591 constants of size no larger than a pointer should go in the TOC.
1592 Add 'MODE' parameter.
1593 (LEGITIMIZE_RELOAD_ADDRESS): Add MODE parameter to
1594 ASM_OUTPUT_SPECIAL_POOL_ENTRY_P.
1595 (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Likewise.
1596 * config/rs6000/aix.h (SELECT_RTX_SECTION): Likewise.
1597 * config/rs6000/netware.h (SELECT_RTX_SECTION): Likewise.
1598 * config/rs6000/rs6000.c (constant_pool_expr_1): Likewise.
1599 (rs6000_legitimize_address): Likewise.
1600 (rs6000_emit_move): Likewise.
1601 (rs6000_select_rtx_section): Likewise.
1602 (output_toc): Deal properly with outputting small constants like
1603 HImode, and SFmode in 32-bit mode, and DFmode in 64-bit mode.
1604 * config/rs6000/sysv4.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY_P): Add
1605 MODE parameter. Put small constants in the TOC.
1606
1607 * config/rs6000/rs6000.c (easy_fp_constant_p): All constants are
1608 easy in SImode.
1609 (rs6000_emit_move): When reload calls us with an illegitimate
1610 address, exit early. Move the change_address calls to one place
1611 at the end of the routine. Merge the SImode and DImode expanders.
1612 When called by reload to put an integer into a FP register, force
1613 it to memory.
1614
1615 * config/rs6000/rs6000.c (struct toc_hash_struct): Add 'key_mode'
1616 field.
1617 (rs6000_hash_constant): Hash mode too.
1618 (toc_hash_function): Allow for key_mode.
1619 (toc_hash_eq): Structures are different if key_mode differs.
1620 (output_toc): Add 'mode' parameter. Save key_mode.
1621 * config/rs6000/rs6000.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY):
1622 Pass 'mode' parameter.
1623 * config/rs6000/rs6000-protos.h (output_toc): Add 'mode' param.
1624
1625 * config/rs6000/rs6000.c (output_toc): Use RS6000_OUTPUT_BASENAME
1626 for vtable references.
1627
1628 * config/rs6000/rs6000.h (PREFERRED_RELOAD_CLASS): If we have a
1629 choice, don't put integer values in FP regs.
1630
1631 Thu Jul 20 18:13:52 2000 Jeffrey A Law (law@cygnus.com)
1632
1633 * flow.c (verify_flow_info): Revamp code to verify that the
1634 head and end of each basic block are in the insn chain.
1635
1636 Thu Jul 20 18:02:35 2000 Michael Matz <matzmich@cs.tu-berlin.de>
1637
1638 * gcse.c (record_one_set): Prepend instead of append onto
1639 reg_set_table, making it O(n) instead O(n^2).
1640 * lcm.c (compute_antinout_edge,compute_laterin,compute_available):
1641 Use a queue instead of a stack as worklist.
1642
1643 2000-07-20 Kazu Hirata <kazu@hxi.com>
1644
1645 * h8300.c (two_insn_adds_subs_operand): Fix a typo.
1646 * h8300.h (OK_FOR_T): New.
1647 (EXTRA_CONSTRAINT): Support OK_FOR_T.
1648 * h8300.md: Use inc/dec.[wl] for increment/decrement
1649 by 1 and 2 in HI and SI modes.
1650
1651 2000-07-20 Jim Wilson <wilson@cygnus.com>
1652
1653 * config/ia64/ia64.h (ASM_OUTPUT_MI_THUNK): Handle DELTA values
1654 larger than 14 bits.
1655
1656 2000-07-20 Zack Weinberg <zack@wolery.cumb.org>
1657
1658 * cppmacro.c (CAN_PASTE_AFTER): New macro.
1659 (count_params): Don't set GNU_REST_ARGS on anything.
1660 (save_expansion): Set PASTE_LEFT only on tokens for which
1661 CAN_PASTE_AFTER is true, or which are named operators.
1662
1663 * cpplex.c (parse_args): Distinguish between a rest argument
1664 given one empty argument, and a rest argument given zero arguments.
1665 (maybe_paste_with_next): Look for VOID_REST tag, and trigger
1666 deletion of previous token based on that.
1667 (get_raw_token): Flatten some control structure.
1668
1669 * cpplib.h (CPP_LAST_EQ): Correct.
1670 (VOID_REST): New token flag.
1671 (GNU_REST_ARGS): Delete.
1672
1673 * tradcpp.c (main): Don't munge -D options.
1674 (make_definition): Bring -D handling in line with cpplib.
1675 (do_define): Strip all leading whitespace from macro definitions.
1676
1677 2000-07-20 David Billinghurst <David.Billinghurst@riotinto.com.au>
1678
1679 * Makefile.in (tradcpp): Depend on intl.o and version.o.
1680
1681 2000-07-20 Bruce Korb <bkorb@gnu.org>
1682
1683 * fixincl/check.tpl: strip the platform specific types before testing
1684 * fixincl/fixfixes.c(gnu_type_fix): use platform specific types
1685 * fixincl/fixincl.tpl: use platform specific types
1686 * fixincl/fixlib.h: include the platform specific types
1687 * fixincl/inclhack.def(gnu_types): don't supply the types
1688 * fixincl/fixincl.x: regen
1689
1690 2000-07-19 Jim Wilson <wilson@cygnus.com>
1691
1692 * config/ia64/ia64.h (HARD_REGNO_MODE_OK): Don't allow XFmode in
1693 GR_REGS.
1694
1695 2000-07-19 Zack Weinberg <zack@wolery.cumb.org>
1696
1697 * tradcpp.c (rescan): Do not recognize directives when the #
1698 is indented.
1699
1700 2000-07-19 Zack Weinberg <zack@wolery.cumb.org>
1701
1702 Implement C++ named operators.
1703
1704 * cpplib.h (TTYPE_TABLE): Move CPP_MIN and CPP_MAX into block
1705 of operators allowed in #if and having an _EQ variant. Add
1706 CPP_MIN_EQ, CPP_MAX_EQ, and CPP_DEFINED.
1707 (cpp_token flags): Add NAMED_OP.
1708 (enum node_type): Add T_OPERATOR.
1709 (struct cpp_hashnode): Add code slot to value union.
1710 * cpphash.h (spec_nodes): Remove n_defined.
1711
1712 * cpplex.c (lex_line): Convert T_OPERATOR nodes to their proper types.
1713 (spell_token, can_paste, maybe_paste_with_next): Handle named operators.
1714 (is_macro_disabled): Tweak error messages.
1715
1716 * cpplib.c (get_define_node): Disallow all named operators as
1717 macro names. Tweak error messages.
1718 (_cpp_init_stacks): Don't set up spec_nodes->n_defined.
1719
1720 * cppinit.c (builtin_array): Add entries for the named operators.
1721 * cppexp.c (lex): Check for CPP_DEFINED token.
1722 (priority table): Add entries for CPP_MIN and CPP_MAX.
1723 (_cpp_parse_expr): Handle CPP_MIN and CPP_MAX.
1724
1725 2000-07-19 Bernd Schmidt <bernds@cygnus.co.uk>
1726
1727 * gcse.c (INSN_CUID): If ENABLE_CHECKING, abort if the uid is
1728 larger than the array of cuids.
1729 (alloc_gcse_mem): Use uid_cuid rather than INSN_CUID when computing
1730 cuids.
1731
1732 2000-07-19 Bruce Korb <bkorb@gnu.org>
1733
1734 * fixinc/fixincl.c: Convert to using a table of environment variables
1735 and activate the auto-edit marker on the fixed output files.
1736 * fixinc/fixlib.h: Define the environment table
1737 * fixinc/fixincl.sh: export the ${INPUT} dir
1738 * fixinc/check.tpl: likewise
1739
1740 2000-07-18 Zack Weinberg <zack@wolery.cumb.org>
1741
1742 * gcc.c (.h spec): Fix typo.
1743
1744 Wed Jul 19 01:22:15 CEST 2000 Marc Espie <espie@cvs.openbsd.org>
1745
1746 * Makefile.in: Fix tradcif.c path.
1747
1748 2000-07-18 Zack Weinberg <zack@wolery.cumb.org>
1749
1750 * cpplib.h (TTYPE_TABLE): Rearrange to use only two per-entry
1751 macros, not five.
1752
1753 * cpphash.h (TOKEN_NAME): New macro.
1754 (_cpp_spell_operator): Deleted.
1755 (token_spellings): Now _cpp_token_spellings.
1756
1757 * cppexp.c: Use TOKEN_NAME or TYPE_NAME, not _cpp_spell_operator.
1758 * cpplex.c: Use OP and TK macros when expanding the
1759 TTYPE_TABLE. Eliminate token_names. For non-OPERATOR tokens,
1760 store the stringification of the enumeration name (CPP_CHAR,
1761 etc.) in the name slot of token_spellings.
1762 Use TOKEN_NAME and/or TOKEN_SPELL, do not reference
1763 token_spellings directly.
1764 * cpplib.c: Use TOKEN_SPELL.
1765
1766 * cpplex.c (_cpp_push_token): If the token being pushed back
1767 is the previous token in this context, just subtract one from
1768 context->posn.
1769 * cppmacro.c (save_expansion): Clear aux field when storing a
1770 placemarker.
1771
1772 2000-07-18 Jakub Jelinek <jakub@redhat.com>
1773
1774 * cpplex.c (cpp_scan_buffer): Output line command even at the stop
1775 buffer, provided it is not NULL.
1776
1777 2000-07-18 Alexandre Oliva <aoliva@redhat.com>
1778
1779 * c-decl.c (duplicate_decls): Do not call make_var_volatile() in
1780 case of invalid volatile re-declaration.
1781
1782 2000-07-18 Jakub Jelinek <jakub@redhat.com>
1783
1784 * calls.c (store_arg): Return non-zero if sibcall_failure is desired.
1785 (expand_call): Adjust caller.
1786
1787 2000-07-17 Gabriel Dos Reis <gdr@codesourcery.com>
1788
1789 * diagnostic.h (report_diagnostic): Change prototype.
1790
1791 * diagnostic.c (output_do_verbatim, diagnostic_for_asm,
1792 diagnostic_for_decl): Change prototype.
1793 (error_with_decl, warning_with_decl, pedwarn_with_decl, warning,
1794 error, warning, error_with_file_and_line,
1795 warning_with_file_and_line, pedwarn_with_file_and_line, fatal):
1796 Adjust call to report_diagnostic, diagnostic_for_decl.
1797 (error_for_asm, warning_for_asm): Adjust call to diagnostic_for_asm.
1798 (output_verbatim, verbatim): Adjust call to output_do_verbatim.
1799
1800 * c-errors.c (pedwarn_c99): Adjust call to report_diagnostic. End
1801 varaible argument list.
1802
1803 2000-07-17 Zack Weinberg <zack@wolery.cumb.org>
1804
1805 * cpphash.c: Don't include hashtab.h. Most macro-handling code
1806 moved to cppmacro.c.
1807 (hash_HASHNODE, eq_HASHNODE, _cpp_dump_macro_hash,
1808 dump_hash_helper): Delete.
1809 (expand_hash, higher_prime_number, _cpp_lookup_with_hash,
1810 cpp_forall_identifiers): New. Implement specialized version of
1811 Vlad's expandable hash table.
1812 (cpp_lookup): Use new functions.
1813 (_cpp_init_macros, _cpp_cleanup_macros): Adjust for new
1814 implementation.
1815 * cppmacro.c: New file.
1816 * cppinit.c (dump_macros_helper): New.
1817 (cpp_finish): Iterate over the identifier table directly.
1818 * cpplex.c (parse_name): Calculate the hash of the identifier
1819 while we scan it. Use _cpp_lookup_with_hash when we can.
1820
1821 * cpphash.h: Update prototypes.
1822 (xcnewvec, HASHSTEP): New helper macros.
1823 * cpplib.h: Update prototypes.
1824 * Makefile.in (LIBCPP_OBJS): Add cppmacro.o.
1825 (cppmacro.o): New rule.
1826 (cpphash.o): Update deps.
1827
1828 * cppmain.c: Do not set pfile->printer if no_output is on.
1829
1830 2000-07-15 Neil Booth <neilb@earthling.net>
1831
1832 * cpplib.c: Change all directive-handler functions to return
1833 void, not int.
1834 * cpphash.h: Update typedefs.
1835
1836 2000-07-17 Geoffrey Keating <geoffk@cygnus.com>
1837
1838 * configure: Regenerate.
1839
1840 * extend.texi (Extended Asm): Mention that a memory clobber
1841 does not count as a side-effect.
1842
1843 * unroll.c (copy_loop_body): Fix one instance of using host
1844 arithmetic on the target; fixes loop-4 on a 32-bit -> 64-bit
1845 cross-compile.
1846
1847 * tlink.c (scan_linker_output): Tweak for output of AIX ld.
1848
1849 2000-07-17 Richard Henderson <rth@cygnus.com>
1850
1851 * config/ia64/ia64.md (movdi): Split out load address code.
1852 New post-reload splitter for symbolic operands.
1853 (movdi_internal): Abort if we didn't split symbolic operands
1854 when we should have.
1855 * config/ia64/ia64.c (ia64_expand_load_address): New, from movdi bits.
1856 (ia64_reorg): Split insns when not optimizing.
1857 * config/ia64/ia64-protos.h (ia64_expand_load_address): Declare.
1858
1859 Mon Jul 17 23:43:26 MET DST 2000 Jan Hubicka <jh@suse.cz>
1860
1861 * real.h (REAL_VALUE_TO_TARGET_LONG_DOUBLE): Use LONG_DOUBLE_TYPE_SIZE
1862 instead of MAX_LONG_DOUBLE_TYPE_SIZE to decide output format.
1863
1864 2000-07-17 Chandrakala Chavva <cchavva@cygnus.com>
1865
1866 * loop.c (check_dbra_loop) : Changed loop_continue to loop->cont.
1867
1868 2000-07-17 Jason Merrill <jason@redhat.com>
1869
1870 * Makefile.in (clean): Remove libgcc directory.
1871
1872 * configure.in (-Wno-long-long check): Use higher-level macros.
1873
1874 2000-07-17 Zack Weinberg <zack@wolery.cumb.org>
1875
1876 * simplify-rtx.c (simplify_binary_operation): Recognize
1877 (compare (gt[u] (cc) 0) (lt[u] (cc) 0)).
1878 (simplify_ternary_operation): Do not examine MODE_BITSIZE of
1879 a CONST_INT, it will always be zero.
1880
1881 2000-07-17 Chandrakala Chavva <cchavva@cygnus.com>
1882
1883 * loop.c (check_dbra_loop) : Return if more than one condition is
1884 present to control the loop.
1885
1886 Mon Jul 17 08:26:35 2000 Clinton Popetz <cpopetz@cygnus.com>
1887
1888 * mips.c (mips_expand_prologue): Don't calculate the last argument
1889 register unless we need it. When we are calculating this, make
1890 sure FUNCTION_ARG is giving us a REG.
1891
1892 2000-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1893
1894 * flow.c (libcall_dead_p): Use single_set to verify the insn
1895 has only one set and get for analysis.
1896 (propagate_one_insn): Don't pass the PATTERN of the insn.
1897
1898 2000-07-17 Mark Klein <mklein@dis.com>
1899
1900 * pa.c (emit_hpdiv_const): Update to match new pattern for udivsi3.
1901
1902 2000-07-17 J. David Anglin <dave@hiauly1.hia.nrc.ca>
1903
1904 * Makefile.in (TARGET_GETGROUPS_T): New configuration variable.
1905 * configure.in (TARGET_GETGROUPS_T): Evaluate.
1906 * sys-protos.h (getgroups): Use TARGET_GETGROUPS_T for array type
1907 of second argument of getgroups.
1908 * configure, config.in: Rebuilt.
1909
1910 2000-07-17 Geoffrey Keating <geoffk@cygnus.com>
1911
1912 * simplify-rtx.c (simplify_relational_operation): Two signed
1913 values with equal high words are less/greater than each other if
1914 their low words are less/greater when considered as unsigned.
1915
1916 Mon Jul 17 02:37:06 2000 Marc Espie <espie@openbsd.org>
1917
1918 * configure.in (vax-*-openbsd): Change to new style configuration,
1919 add collect2/float_format information.
1920 * configure: Rebuilt.
1921 * config/vax/openbsd1.h: New.
1922 * config/vax/openbsd.h: New.
1923 * config/vax/t-openbsd: New.
1924
1925 2000-07-17 Chip Salzenberg <chip@valinux.com>
1926
1927 * c-common.c (shorten_compare): Quiet warnings about unsigned
1928 comparisons with zero when they occur in a system header.
1929
1930 2000-07-17 Joseph S. Myers <jsm28@cam.ac.uk>
1931
1932 * invoke.texi (-pedantic): Refer to ISO C instead of ANSI C, and
1933 update to describe current practice.
1934
1935 * glimits.h (LLONG_MIN, LLONG_MAX, ULLONG_MAX): Define for C99.
1936
1937 * contrib.texi, cpp.texi, extend.texi, invoke.texi: Update
1938 references to C9X. Change references to -fstd and -flang-isoc9x
1939 to refer to -std.
1940
1941 * c-common.c (scan_char_table): Allow "z" length modifiers on
1942 diouxXn formats.
1943 (check_format_info): Use TYPE_DOMAIN on the type matched against
1944 for "z" formats, to retrieve the language size_t rather than the
1945 internal one.
1946
1947 * c-common.c (check_format_info): Do not make a pedantic objection
1948 to the 'L' length modifier if used with a floating point type
1949 character.
1950
1951 * c-lex.c (yylex): Don't pedwarn for hexadecimal floating point
1952 constants in C99 mode.
1953
1954 2000-07-17 Kazu Hirata <kazu@hxi.com>
1955
1956 * h8300.md: Fix the format of mac.
1957 (movsi_h8300hs): Output a tab after stmac instead of a space.
1958
1959 * h8300.c (two_insn_adds_subs_operand): Improve code for detecting
1960 profitable adds/subs sequences.
1961
1962 * fold-const.c: Fix comment typos.
1963
1964 2000-07-16 Laurynas Biveinis <lauras@softhome.net>
1965
1966 * cppfiles.c (read_name_map): Set map_list_ptr->map_list_map to NULL.
1967
1968 2000-07-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1969
1970 * fixinc/fixfixes.c (emit_gnu_type): Avoid string concatenation.
1971
1972 2000-07-16 Neil Booth <NeilB@earthling.net>
1973
1974 * cpplex.c: Update comments.
1975 * README.Portability: Small update.
1976
1977 2000-07-16 Neil Booth <NeilB@earthling.net>
1978
1979 * README.Portability: Small update.
1980
1981 2000-07-15 Richard Henderson <rth@cygnus.com>
1982
1983 * config/ia64/ia64-protos.h (ia64_move_ok): Prototype.
1984 * config/ia64/ia64.c (ia64_move_ok): New function.
1985 * config/ia64/ia64.md (movqi, movqi_internal): Use it.
1986 (movhi, movsi, movdi, movsf, movdf, movxf): Likewise.
1987
1988 2000-07-15 Zack Weinberg <zack@wolery.cumb.org>
1989
1990 * cpphash.c (save_expansion): Clear PREV_WHITE on tokens
1991 immediately following a paste operator.
1992 * cppinit.c (sort_options): New function (only for HOST_EBCDIC).
1993 (cpp_reader_init): Call it, if HOST_EBCDIC.
1994 (cpp_handle_options): Do not sort option list here.
1995 (handle_option): Rename to cpp_handle_option and export.
1996 * cpplex.c (cpp_scan_buffer_nooutput, cpp_scan_buffer): Use
1997 _cpp_get_token directly.
1998 (cpp_scan_line): Return 0 at EOF, 1 otherwise.
1999 * cpplib.c (cpp_push_buffer): Don't set new->lineno to 1.
2000 * cpplib.h: Prototype cpp_handle_option. Update prototype of
2001 cpp_scan_line.
2002
2003 2000-07-15 Richard Henderson <rth@cygnus.com>
2004
2005 * fold-const.c (extract_muldiv): Don't optimize past an unsigned
2006 cast around an expression. Tidy other unsigned tests.
2007
2008 2000-07-15 Gabriel Dos Reis <gdr@codesourcery.com>
2009
2010 * diagnostic.c (doing_line_wrapping, line_wrapper_printf, notice,
2011 v_error_with_decl, v_warning_with_decl, v_pedwarn_with_decl): Remove.
2012 (v_message_with_decl): Rename to ...
2013 (format_with_decl): ... this. Tweak
2014 (diagnostic_for_decl): New function.
2015 (fatal_io_error): Use verbatim in lieu of notice.
2016 (announce_function): Use verbatim.
2017 (default_print_error_function): Likewise.
2018 (error_with_decl, warning_with_decl, pedwarn_with_decl): Use new
2019 infratructure.
2020
2021 2000-07-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2022
2023 * mips.c (function_arg_pass_by_reference): Don't do automatic
2024 aggregate initialization.
2025 (machine_dependent_reorg): Initialize variable `mode'.
2026
2027 * mips.md (absdi2): Change variable `regno1' to unsigned int.
2028 (reload_indi): Rename loword/hiword to lo_word/hi_word to avoid
2029 conflicts with sys/param.h macro of the same name.
2030 (reload_outdi): Likewise.
2031
2032 2000-07-15 Michael Meissner <meissner@redhat.com>
2033
2034 * fold-const.c (fold): When optimizing FOO++ == CONST into ++FOO
2035 == CONST + INCREMENT, don't overwrite the tree node for FOO++,
2036 create a new node instead.
2037
2038 2000-07-15 Neil Booth <NeilB@earthling.net>
2039
2040 * README.Portability: Correct example about calling a function
2041 through a pointer to function. Format wide paragraphs.
2042
2043 2000-07-15 Michael Meissner <meissner@redhat.com>
2044
2045 * README.Portability: Update integer suffixes and function
2046 prototype sections.
2047
2048 2000-07-15 Neil Booth <NeilB@earthling.net>
2049
2050 * README.Portability: Small update.
2051
2052 2000-07-15 Neil Booth <NeilB@earthling.net>
2053
2054 * README.Portability: New file.
2055
2056 Fri Jul 14 18:13:53 2000 Mark P Mitchell <mark@codesourcery.com>
2057
2058 * INSTALL: Give special instructions for building GCC on Irix 6.
2059 * config/mips/x-iris6 (CC): Don't set it.
2060 (OLDCC): Likewise.
2061
2062 2000-07-14 Jason Merrill <jason@redhat.com>
2063
2064 * dwarf2out.c (dwarf2out_frame_debug_expr): If we store the CFA
2065 register in the stack and later in another register, use the new
2066 register.
2067
2068 Fri Jul 14 10:25:53 2000 Clinton Popetz <cpopetz@cygnus.com>
2069
2070 * config/mips/mips.md: (absdi2): Handle sign_extend for
2071 second operand.
2072
2073 2000-07-14 Nathan Sidwell <nathan@codesourcery.com>
2074
2075 * cpplib.c (do_pragma_dependency): Tidy warning messages.
2076
2077 2000-07-14 Zack Weinberg <zack@wolery.cumb.org>
2078
2079 * .cvsignore: Correct typo.
2080
2081 2000-07-13 Mark Mitchell <mark@codesourcery.com>
2082
2083 * .cvsignore: Add generated YACC files.
2084 * objc/.cvsignore: New file.
2085
2086 2000-07-14 Neil Booth <NeilB@earthling.net>
2087
2088 * cpplex.c (adjust_column): New funcion.
2089 (skip_whitespace): Use it.
2090 (skip_block_comment): Use it, and warn about /*/* with
2091 -Wcomments.
2092
2093 2000-07-14 Neil Booth <NeilB@earthling.net>
2094
2095 * cpphash.c (struct macro_info): Add new members.
2096 (_cpp_free_definition): Delete the macro directly.
2097 (count_params): Return void, with first token of
2098 expansion in struct macro_info on success.
2099 (parse_define): Return int. Hoist syntax checking from
2100 save_macro_expansion. Leave call to save_expansion to
2101 _cpp_create_definition.
2102 (alloc_macro): Needs just 2 arguments.
2103 (free_macro): Delete.
2104 (save_expansion): Don't perform syntax check.
2105 (_cpp_create_definition): Call save_expansion.
2106
2107 2000-07-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2108
2109 * genrecog.c (write_header): Split long string.
2110
2111 * cpphash.c (macro_info): Don't use the `signed' keyword.
2112
2113 * system.h (alloca): Prototype if __GNUC__ && __SIZE_TYPE__.
2114
2115 2000-07-13 Jakub Jelinek <jakub@redhat.com>
2116
2117 * calls.c (stored_args_map): New variable.
2118 (check_sibcall_argument_overlap_1): New.
2119 (check_sibcall_argument_overlap): New.
2120 (expand_call): Initialize stored_args_map.
2121 Call check_sibcall_argument_overlap.
2122
2123 2000-07-13 Bruce Korb <bkorb@gnu.org>
2124
2125 * fixinc/fixfixes.c: move EXIT_BROKEN to header, add sub-expr max count
2126 (emit_gnu_type): utility procedure for gnu_type_fix
2127 (gnu_type_fix): implement various pre-processor guards around
2128 standard types so these types can be defined over and over
2129 * fixinc/fixincl.tpl: add a "gnu_type_map" that forces the standard
2130 types alluded to above will have GNU-compliant base types
2131 * fixinc/fixlib.h: add EXIT_BROKEN define and the gnu_type_map struct
2132 * fixinc/inclhack.def: add test_text entries and utilize the new
2133 "gnu_types" fix for the ptrdiff_t, size_t and wchar_t types.
2134 * fixinc/fixincl.x: regenerate
2135
2136 2000-07-12 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2137
2138 * diagnostic.c (vline_wrapper_message_with_location,
2139 v_message_with_file_and_line, v_error_with_file_and_file,
2140 v_error_for_asm, v_warning_for_asm, vfatal,
2141 v_warning_with_file_and_line, v_pedwarn_with_file_and_line,
2142 vsorry, verror, vwarning, vpedwarn): Remove.
2143 (diagnostic_for_asm): New function.
2144 (pedwarn, error, warning, pedwarn_with_file_and_line,
2145 error_with_file_and_line, warning_with_file_and_line, sorry,
2146 error_for_asm, warning_for_asm, fatal): Reimplement.
2147 (finish_diagnostic): Clear diagnostic info as well.
2148
2149 2000-07-13 Neil Booth <NeilB@earthling.net>
2150
2151 * c-common.h (flag_digraphs): New.
2152 * c-decl.c (c_decode_option): Set flag_digraphs as appropriate.
2153 * c-lex.c (yylex): Use flag_digraphs to decide whether to
2154 honour digraphs.
2155
2156 2000-07-13 Zack Weinberg <zack@wolery.cumb.org>
2157
2158 * gcc.c (do_spec_1): Add new %B operator.
2159 (set_input): Prepare for %B.
2160
2161 (link_command_spec): Move up with the other tm.h-
2162 overrideable specs. Factor out the portion conditional on
2163 LINK_LIBGCC_SPECIAL into a new spec, %(link_libgcc).
2164 (struct compiler): Just have a single spec string. All users
2165 updated.
2166 (default_compilers): Remove unnecessary braces.
2167 (static_specs): Update.
2168
2169 (trad_capable_cpp, cpp_options, cc1_options, asm_options): New
2170 named specs.
2171 (C and assembly specs): Use the new named specs, as appropriate.
2172
2173 * objc/lang-specs.h: Use the new named specs.
2174 Remove unnecessary braces.
2175
2176 2000-07-12 Zack Weinberg <zack@wolery.cumb.org>
2177
2178 * gcc.c (execute): If a subprocess gets a fatal signal, report
2179 strsignal() of the signal number, and ask for a bug report.
2180 Do not do this for SIGPIPE if there's already been an error.
2181
2182 * tradcpp.c: Don't include signal.h. Don't catch SIGPIPE.
2183 Delete pipe_closed.
2184
2185 * tradcif.c: Remove.
2186
2187 2000-07-12 Zack Weinberg <zack@wolery.cumb.org>
2188
2189 * final.c (profile_function): Do not emit profile counters in
2190 the data section, if NO_PROFILE_COUNTERS is defined.
2191 * tm.texi: Document NO_PROFILE_COUNTERS. Update doc for
2192 FUNCTION_PROFILER.
2193
2194 * config/i386/linux.h (NO_PROFILE_COUNTERS): Define.
2195 (FUNCTION_PROFILER): Just emit a call to mcount.
2196
2197 2000-07-12 Zack Weinberg <zack@wolery.cumb.org>
2198
2199 * tradcpp.c (main): Rename 'perror' label to 'sys_error'.
2200
2201 * cppexp.c, cpphash.c, cpphash.h, cppinit.c, cpplex.c,
2202 cpplib.c, cpplib.h: Eradicate all traces of code dependent on
2203 traditional, lang_chill, or lang_fortran.
2204
2205 * cppfiles.c: #undef strcmp to suppress warning about macros
2206 used without arguments.
2207 (_cpp_execute_include): Use f, not fname, in "No include path"
2208 error.
2209 (_cpp_pop_file_buffer): New function.
2210 * cpplib.c: Don't include <sys/mman.h>.
2211 (cpp_push_buffer): Set line_base and lineno in new buffer.
2212 (cpp_pop_buffer): Use _cpp_pop_file_buffer.
2213
2214 * cpplex.c: Move all prototypes and structure declarations to the
2215 top of the file. Properly parenthesise some macro arguments.
2216 (cpp_scan_line): New function.
2217 (special_symbol [case T_INCLUDE_DEPTH]): Use pfile->include_depth,
2218 don't need to walk up the stack counting.
2219
2220 2000-07-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2221
2222 * c-common.c (combine_strings): Emit a pedantic warning when a
2223 string length is greater than the minimum ANSI C is required
2224 to support.
2225
2226 Wed Jul 12 13:24:30 2000 Jeffrey A Law (law@cygnus.com)
2227
2228 * pa/xm-pa64.h (NO_SYS_SIGLIST): Kill.
2229 * d30v/xm-d30v.h (NO_SYS_SIGLIST): Kill.
2230
2231 2000-07-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2232
2233 * c-decl.c (define_label): Warn about identifier conflicts with
2234 labels in traditional C.
2235
2236 * c-parse.in (unop +): Warn about the unary plus operator for
2237 traditional C.
2238
2239 * c-typeck.c (store_init_value): Warn about automatic aggregate
2240 initialization for traditional C.
2241
2242 * invoke.texi (-Wtraditional): Document new warnings.
2243
2244 2000-07-12 Gabriel Dos Reis <gdr@codesourcery.com>
2245
2246 * Makefile.in (c-errors.o): Fix thinko in dependency.
2247
2248 2000-07-12 Zack Weinberg <zack@wolery.cumb.org>
2249
2250 * gcc.c (C specs [!USE_CPPLIB]): Invoke tradcpp if any of
2251 -traditional, -ftraditional, or -traditional-cpp was given.
2252 Do not pass -traditional to the preprocessor.
2253 (.S spec): Likewise. Don't bother defining __ASSEMBLER__, the
2254 preprocessor does it automatically.
2255 * objc/lang-specs.h: Likewise. Don't bother defining __OBJC__.
2256
2257 * ch/lang-specs.h: Always use tradcpp. Do not pass
2258 -traditional, -trigraphs, or -pedantic to the preprocessor.
2259 * f/lang-specs.h (.F spec): Likewise. Don't bother defining
2260 _LANGUAGE_FORTRAN.
2261
2262 2000-07-12 Zack Weinberg <zack@wolery.cumb.org>
2263
2264 * cppexp.c (LOGICAL): Delete macro.
2265 (_cpp_parse_expr): Do not use UNARY for unary +. Implement ||
2266 and && directly.
2267
2268 * cpphash.c (HASHSIZE): Increase to 4096.
2269 (struct hashdummy): Add hash field.
2270 (eq_HASHNODE): Compare unreduced hashes, then lengths, then
2271 the string values using memcmp.
2272 (cpp_lookup): Set dummy.hash.
2273
2274 Wed Jul 12 13:15:16 2000 Marc Espie <espie@openbsd.org>
2275
2276 * configure.in (m88k-openbsd): Express configuration using new fragment
2277 style.
2278 * configure: Rebuilt.
2279 * m88k/aout-dbx.h: New.
2280 * m88k/openbsd.h: New.
2281 * m88k/xm-openbsd.h: New.
2282
2283 2000-07-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2284
2285 * expr.c (expand_expr): Return const0_rtx, not error_mark_node.
2286
2287 2000-07-12 Richard Henderson <rth@cygnus.com>
2288
2289 * reload.c (push_secondary_reload): Make sure to add the new
2290 reload at the end, after acquiring secondary memory.
2291
2292 2000-07-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2293
2294 * cpplex.c (is_macro_disabled): Use CPP_WTRADITIONAL.
2295
2296 * c-decl.c (set_current_function_name_declared, anon_aggr_type_p,
2297 lang_expand_stmt): Mark parameters with ATTRIBUTE_UNUSED.
2298
2299 * c-parse.in (stmt): Delete unused variables.
2300
2301 * convert.c (convert_to_vector): Likewise.
2302
2303 * gensupport.c (process_rtx): Declare attr as `rtvec' not `rtx'.
2304
2305 * tree.c (finish_vector_type): Prototype.
2306
2307 2000-07-12 Bruce Korb <bkorb@gnu.org>
2308
2309 * fixinc/fixfixes.c: use xmalloc
2310 * fixinc/fixincl.c(initialize): set program name for xmalloc
2311 * fixinc/fixlib.c(must_malloc): obsolete
2312 (is_cxx_header): no longer used - disabled
2313 (skip_quote): inserted and disabled for future use
2314 * fixinc/fixlib.h: reflects above
2315 * fixinc/fixtests.c: removed dinkleberries
2316
2317 2000-07-12 Neil Booth <NeilB@earthling.net>
2318
2319 * cpphash.h: (TOKEN_SPELL) Pulled from cpplex.c.
2320 * cpplex.c (TOKEN_SPELL) Move to cpphash.h.
2321
2322 * cpphash.c: (struct macro_info, alloc_macro, free_macro,
2323 struct toklist_dummy): New.
2324 (cpp_free_definition): Free macros with free_macro.
2325 (count_params): Don't save paramter spellings. Save macro
2326 information in a struct macro_info.
2327 (parse_define): Don't allocate a token list.
2328 (save_expansion): Allocate the macro's token list, and
2329 save parameter spellings if necessary. Use TOKEN_SPELL.
2330 (cpp_create_definition): Make list const.
2331
2332 2000-07-12 Gabriel Dos Reis <gdr@codesourcery.com>
2333
2334 * c-typeck.c (pedwarn_c99): Move to
2335 * c-errors.c: ... Here.
2336 * toplev.h (verror, vwarning, vpedwarn): Remove prototypes.
2337 * diagnostic.c (verror, vwarning, vpedwarn): Make static.
2338 * Makefile.in (C_AND_OBJC_OBJS): Include c-errors.o
2339 (c-errors.o): List dependency.
2340
2341 2000-07-12 Mark Mitchell <mark@codesourcery.com>
2342
2343 * c-parse.c: Remove.
2344 * c-parse.h: Likewise.
2345 * c-parse.y: Likewise.
2346 * objc/objc-parse.c: Likewise.
2347 * objc/objc-pasre.y: Likewise.
2348
2349 2000-07-11 Rodney Brown <RodneyBrown@pmsc.com>
2350
2351 * gcc.texi: Fix minor typos
2352 * extend.texi: Fix minor typos
2353
2354 2000-07-11 Marc Espie <espie@openbsd.org>
2355
2356 * collect2.c (main): Recognize .lo as object files.
2357
2358 2000-07-11 J. David Anglin <dave@hiauly1.hia.nrc.ca>
2359
2360 * pa.c (hppa_encode_label): Store labels in gc memory when ggc_p is
2361 true.
2362
2363 * aclocal.m4 (AC_FUNC_MMAP_ANYWHERE): Extend test to detect systems
2364 with MAP_ANONYMOUS and MAP_ANON.
2365 * configure, config.in: Rebuilt.
2366
2367 2000-07-12 Gabriel Dos Reis <gdr@codesourcery.com>
2368
2369 * diagnostic.c (save_output_state): Remove.
2370 (restore_output_state): Likewise.
2371 (clear_text_info): New function.
2372 (clear_diagnostic_info): Likewise.
2373 (output_text_length, is_starting_newline, output_prefix,
2374 line_wrap_cutoff, ideal_line_wrap_cutoff, prefix_was_emitted_for,
2375 prefixing_policy, output_buffer_ptr_to_format_args): New macros
2376 (set_real_maximum_length, output_set_maximum_length,
2377 output_set_prefix, output_get_prefix, output_set_maximum_length,
2378 output_destroy_prefix, init_output_buffer,
2379 reshape_diagnostic_buffer, output_space_left, output_emit_prefix,
2380 output_add_newline, output_add_character, output_add_space,
2381 output_append_r, output_append, wrap_text, output_format,
2382 output_do_printf, output_printf, output_do_verbatim,
2383 output_verbatim, verbatim): Use them.
2384 (output_clear): Split into cleat_text_info and
2385 clear_diagnostic_info.
2386 (struct output_state): Move to...
2387
2388 * diagnostic.h: ...Here
2389 (struct output_buffer): Adjust.
2390
2391 2000-07-11 Zack Weinberg <zack@wolery.cumb.org>
2392
2393 * cpplex.c (parse_name): No longer inline (premature optimization).
2394 (do_pop_context): Fold into pop_context.
2395 (pop_context): Returns int.
2396 (lex_next): Hoist test for end of directive into pop_context.
2397 (push_macro_context): Returns int; takes just reader and token.
2398 Hoist test for excessive nesting to caller.
2399 (push_arg_context): Returns void; takes just reader and token.
2400 Do not call stringify_arg or get_raw_token.
2401 (get_raw_token): Convert tail recursion through push_arg_context
2402 to a loop at this level. Call stringify_arg here if appropriate.
2403 (maybe_paste_with_next): Convert tail recursion to a while loop.
2404 Hoist test of paste_level to caller.
2405
2406 (stringify_arg): Push arg context at beginning.
2407 (cpp_get_token): Split out core into _cpp_get_token. Call
2408 process_directive here. Throw away CPP_PLACEMARKER tokens.
2409 (_cpp_get_token): Convert tail recursion through
2410 push_macro_context to a loop at this level.
2411 (_cpp_glue_header_name, is_macro_disabled, stringify_arg,
2412 _cpp_get_raw_token): Use _cpp_get_token.
2413 (_cpp_skip_rest_of_line): Drop the context stack directly; do
2414 not call pop_context.
2415 (_cpp_run_directive): Call lex_next directly.
2416
2417 * cpphash.h: Prototype _cpp_get_token.
2418 * cppexp.c (lex): Use it.
2419 * cpphash.c (parse_define): Use it.
2420 * cpplib.c (get_define_node, do_undef, parse_include,
2421 read_line_number, do_line, do_ident, do_pragma, do_pragma_gcc,
2422 do_pragma_implementation, do_pragma_poison, do_pragma_dependency,
2423 parse_ifdef, validate_else): Use it.
2424 (cpp_push_buffer): Tweak error message; abort if anyone tries
2425 to push a buffer while macro expansions are stacked.
2426
2427 2000-07-11 Donn Terry <donnte@microsoft.com>
2428
2429 * cpplex.c (free_macro_args, save_token): Cast arg of free
2430 and/or xrealloc to PTR.
2431 (_cpp_init_input_buffer): Clear all fields of the base context.
2432
2433 Tue Jul 11 15:28:21 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
2434
2435 * gensupport.c (process_rtx): Make rtl checking stop
2436 complaining about the define_insn while it is being
2437 converted from a define_insn_and_split.
2438
2439 Tue Jul 11 16:26:17 2000 Clinton Popetz <cpopetz@cygnus.com>
2440
2441 * config/mips/mips.c (simple_memory_operand): Access the
2442 INTVAL of the address, not it's containing MEM.
2443
2444 2000-07-11 Bruce Korb <bkorb@gnu.org>
2445
2446 * fixinc/fixtests.c(double_slash): obsolete
2447 (else_endif_label): likewise
2448 * fixinc/inclhack.def(irix_multiline_cmnt): obsolete
2449 (libc1_ifdefd_memx): correct initial comment
2450 and omit the #if/#endif pair from the memxxx declarations
2451 * fixinc/fixincl.x: regen
2452
2453 2000-07-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2454
2455 * cpplex.c (T, I, S, C, N): Avoid non-constant initializers.
2456
2457 2000-07-11 Neil Booth <NeilB@earthling.net>
2458
2459 * cpp.texi: Update.
2460
2461 2000-07-11 Neil Booth <NeilB@earthling.net>
2462
2463 * cppinit.c: (cpp_reader_init): Allow digraphs by default.
2464 (handle_option): Set digraphs according to standard.
2465 Merge OPT_lang_c89 handler with OPT_std_c89.
2466
2467 * cpplex.c: (lex_line, can_paste): Honour digraphs in
2468 accordance with the digraphs flag.
2469
2470 * cpplib.h: (struct cpp_options): New option digraphs.
2471
2472 2000-07-10 Hans-Peter Nilsson <hp@axis.com>
2473 Bruce Korb <bkorb@gnu.org>
2474
2475 * fixinc/inclhack.def (libc1_ifdefd_memx): New fix.
2476 * fixinc/fixincl.x: Regenerate.
2477 * fixinc/tests/base/testing.h: Add testcase.
2478
2479 2000-07-10 Richard Henderson <rth@cygnus.com>
2480
2481 * config/ia64/ia64.c (got_symbolic_operand): New.
2482 (symbolic_operand, move_operand): Revert 0701 change.
2483 * config/ia64/ia64.h (PREDICATE_CODES): Update.
2484 * config/ia64/ia64-protos.h (got_symbolic_operand): Declare.
2485 * config/ia64/ia64.md (movdi): Revert 0701 wrt symbolic_operand;
2486 split the offset into a 14-bit low part instead of a 13-bit low part.
2487 (load_fptr): Mark the mem as unchanging.
2488 (load_symptr): Use got_symbolic_operand.
2489
2490 2000-07-10 Nick Clifton <nickc@cygnus.com>
2491
2492 * libgcc2.c (next_stack_level): Cast result of computation to
2493 (void **) so that the assignment does not generate a warning.
2494
2495 2000-07-10 Chandrakala Chavva <cchavva@redhat.com>
2496
2497 * flags.h : Add new variable flag_single_precision_constant.
2498 * toplev.c (display_help) : Add -fsingle-precision-constant option.
2499 (flag_single_precision_constant): New.
2500 * c-lex.c (yylex): Convert floating point constant to single
2501 precision constant.
2502 * invoke.texi : Add documentation for this new option.
2503
2504 2000-07-10 Gabriel Dos Reis <gdr@codesourcery.com>
2505
2506 * diagnostic.c (output_octal): Second parameter is unsigned.
2507 (output_long_octal): Likewise.
2508 (output_hexadecimal): Likewise.
2509 (output_long_hexadecimal): Likewise.
2510 (output_format): Adjust arguments extraction. Tweak.
2511 (output_verbatim, verbatim): End variable argument list.
2512 (report_diagnostic): Improve documentation.
2513
2514 2000-07-10 Benjamin Chelf <chelf@codesourcery.com>
2515
2516 * c-common.h (build_stmt): Declare.
2517 (build_continue_stmt): Likewise.
2518 (build_break_stmt): Likewise.
2519 (build_return_stmt): Likewise.
2520
2521 * c-decl.c (do_case): Rewrite to do what previously done in
2522 c-parse.in.
2523
2524 * c-semantics.c (build_stmt): Define.
2525 (build_return_stmt): Likewise.
2526 (build_break_stmt): Likewise.
2527 (build_continue_stmt): Likewise.
2528 (build_case_label): Likewise.
2529
2530 * c-parse.in (BREAK): Change to build tree, then generate RTL.
2531 (CONTINUE): Likewise.
2532 (RETURN): Likewise.
2533 (CASE): Likewise.
2534 (DEFAULT): Likewise.
2535
2536 * c-parse.y: Regenerate.
2537 * c-pasre.c: Likewise.
2538
2539 2000-07-09 Jason Merrill <jason@redhat.com>
2540
2541 * expr.c (expand_expr): Bail earlier if we get an error_mark_node.
2542
2543 * tree.h (STRIP_NOPS): Check for error_mark_node.
2544 (STRIP_SIGN_NOPS, STRIP_TYPE_NOPS): Likewise.
2545 (dwarf2out_*): Remove duplicate declarations.
2546
2547 * c-decl.c (duplicate_decls): Copy DECL_ABSTRACT_ORIGIN from
2548 DECL_ABSTRACT_ORIGIN, not DECL_ORIGIN.
2549
2550 2000-07-10 Gabriel Dos Reis <gdr@codesourcery.com>
2551
2552 * diagnostic.c (wrap_text): New function.
2553 (maybe_wrap_text): Likewise.
2554 (output_add_string): Use it.
2555 (output_format): Likewise.
2556 (count_error): Use verbatim instead of notice.
2557 (report_error_function): Likewise. Don't use plain fprintf.
2558 (finish_diagnostic): New function.
2559 (output_do_verbatim): Tweak. Commonalize functionalities in
2560 output_verbatim and verbatim.
2561 (output_verbatim): Adjust.
2562 (verbatim): Likewise.
2563 (report_diagnostic): Define.
2564
2565 * diagnostic.h (report_diagnostic): Prototype.
2566
2567 2000-07-09 Zack Weinberg <zack@wolery.cumb.org>
2568
2569 * cppexp.c (_cpp_parse_expr): Don't use unary plus.
2570
2571 2000-07-09 Neil Booth <NeilB@earthling.net>
2572
2573 * cpphash.h: ISvspace, is_vspace, is_nvspace: New.
2574 IShspace, ISspace: Update.
2575
2576 * cppinit.c: ISTABLE: Update.
2577 V: New.
2578
2579 * cpplex.c (IS_HSPACE, S_NEWLINE): Remove.
2580 (IS_DIRECTIVE): Rename KNOWN_DIRECTIVE.
2581 (skip_block_comment, skip_line_comment, parse_string,
2582 lex_line): Use is_vspace rather than IS_NEWLINE.
2583 (skip_whitespace, lex_line): Clean up to use is_nvspace.
2584 (lex_line): Use KNOWN_DIRECTIVE. Any kind of directive
2585 gets a BOL flag.
2586 (lex_next): Unconditionally stop if within a directive.
2587 Treat directives within macro invocations as directives
2588 (after parse_args emits error), not as the argument.
2589
2590 2000-07-09 Gabriel Dos Reis <gdr@codesourcery.com>
2591
2592 * diagnostic.c (diagnostic_args): New macro.
2593 (diagnostic_msg): Likewise.
2594 (output_formatted_integer): Likewise.
2595 (output_state): New data type.
2596 (digit_buffer): Make global.
2597 (output_add_integer): Rename to output_decimal. Squeeze
2598 digit_buffer.
2599 (output_long_decimal, output_unsigned_decimal,
2600 output_long_unsigned_decimal, output_octal, output_long_octal,
2601 output_hexadecimal, output_long_hexadecimal): New functions.
2602 (output_append_r): New function.
2603 (output_append): Tweak.
2604 (output_flush_on): Rename to output_to_stream.
2605 (output_format): Change prototype. Improve documentation. Handle
2606 more format specifiers.
2607 (build_location_prefix): Rename to context_as_prefix.
2608 (output_notice): Rename to output_do_printf.
2609 (output_printf): Tweak.
2610 (line_wrapper_printf): Likewise.
2611 (vline_wrapper_message_with_location): Adjust call to renamed
2612 functions.
2613 (v_message_with_decl): Likewise.
2614 (default_print_error_function): Likewise.
2615 (save_output_state): New function.
2616 (restore_output_state): Likewise.
2617 (output_do_verbatim): Likewise.
2618 (output_verbatim): Define.
2619 (verbatim): Likewise.
2620
2621 * diagnostic.h (printer_fn): Change return type from void to int.
2622 Improve documentation.
2623 (output_add_integer): Rename to output_decimal.
2624 (output_flush_on, output_format): Don't export.
2625 (output_verbatim, verbatim): Declare.
2626
2627 2000-07-08 Toon Moene <toon@moene.indiv.nluug.nl>
2628
2629 * fold-const.c (extract_muldiv) case PLUS_EXPR, MINUS_EXPR:
2630 Check whether c divides op1 exactly if operation is not
2631 multiplication.
2632
2633 2000-07-08 Richard Henderson <rth@cygnus.com>
2634
2635 * final.c (final): Do not abort when reg-stack introduces
2636 a new insn.
2637
2638 2000-07-08 Zack Weinberg <zack@wolery.cumb.org>
2639
2640 * cpplib.h (struct cpp_name): Now struct cpp_string.
2641 (CPP_INT, CPP_FLOAT, CPP_NUMBER, CPP_COMMENT,
2642 CPP_HEADER_NAME): Change to type S.
2643 (struct cpp_token): Rename 'name' field to 'str'. Add 'node'
2644 field, a cpp_hashnode *. All references to val.name updated
2645 to use val.str or val.node as appropriate.
2646 (struct cpp_reader): Add spec_nodes field.
2647 (cpp_idcmp): Now cpp_ideq; takes a token * and a char *.
2648
2649 * cpphash.h (struct spec_nodes): New.
2650 (enum spell_type): Reorder. Only SPELL_STRING tokens use
2651 val.str. All references to 'spelling > SPELL_NONE' updated to
2652 match.
2653
2654 (CPP_IN_SYSTEM_HEADER): Check pfile->buffer and
2655 pfile->buffer->inc are not NULL before dereferencing them.
2656
2657 * cpplex.c (parse_name): Take a pointer to the current token,
2658 plus current position and limit as args; return the new
2659 position; don't copy the text of a name into the string
2660 buffer, instead call cpp_lookup and store the node pointer.
2661 If extending a token, copy out the text of the old into a
2662 scratch buffer, append the new, look that up and store the new
2663 node pointer. Inline.
2664 (maybe_paste_with_next): If the result of paste is a NAME,
2665 then look up the pasted text and store its node pointer.
2666 (lex_line): Adjust for new parse_name interface.
2667 Check for L"str", L'str' using spec_nodes->n_L.
2668 (spell_token): SPELL_IDENT tokens have their spelling in
2669 val.node->name. Handle SPELL_STRING tokens that don't have
2670 string delimiters.
2671 (_cpp_expand_name_space,
2672 (can_paste): Check for L ## "str" using spec_nodes->n_L.
2673 (cpp_get_token, special_symbol): No need to call cpp_lookup.
2674 (cpp_idcmp): Now cpp_ideq; take a token * and a const char *;
2675 return 1=equal 0=not, not a tristate.
2676
2677 * cpphash.c (var_args_str): Delete.
2678 (find_param): Compare node fields directly.
2679 (is__va_args__): Use CPP_PEDANTIC. Just compare
2680 token->val.node with spec_nodes->n__VA_ARGS__.
2681 (dump_funlike_macro): Don't use var_args_str.
2682
2683 * cpplib.c (_cpp_check_directive): Just walk through
2684 spec_nodes->dirs comparing pointers.
2685 (get_define_node, do_pragma_poison, detect_if_not_defined,
2686 parse_ifdef): The identifier has already been looked up.
2687 (do_ifdef, do_ifndef): parse_ifdef won't return a poisoned
2688 node.
2689 (do_if): Only call detect_if_not_defined at beginning of file.
2690 (_cpp_parse_assertion): Only copy string pointers for
2691 SPELL_STRING tokens.
2692 (pragma_dispatch): Take a node pointer and examine its name
2693 field.
2694 (_cpp_init_stacks): Also initialize the spec_nodes structure.
2695
2696 * cppinit.c (cpp_reader_init): Call _cpp_init_stacks after
2697 _cpp_init_macros.
2698 (cpp_cleanup): Free pfile->spec_nodes. Call _cpp_cleanup_* in
2699 reverse order from the corresponding _cpp_init_* routines.
2700
2701 * cppexp.c (parse_number, parse_charconst, parse_defined,
2702 lex): Check val.node->type instead of calling cpp_defined.
2703 Use spec_nodes entries where appropriate.
2704
2705 * fix-header.c, scan-decls.c: Update for interface changes.
2706
2707 2000-07-08 Geoffrey Keating <geoffk@cygnus.com>
2708
2709 * config/rs6000/rs6000.c (rs6000_emit_move): Fix conditions for
2710 emitting aux_truncdfsf2.
2711
2712 2000-07-03 Donn Terry (donnte@microsoft.com)
2713
2714 * cppinit.c (print_help): split overlong line into ISO C89
2715 maximum chunks.
2716
2717 2000-07-07 Zack Weinberg <zack@wolery.cumb.org>
2718
2719 * cppexp.c: Update all code for new lexer interface.
2720 (op_t, operator codes, struct token, tokentab2, op_to_str): Remove.
2721 (struct suffix, vsuf_1, vsuf_2, vsuf_3, op_to_prio): New.
2722 * cpplex.c (token_names): Trim leading CPP_ from names; make
2723 the strings unsigned.
2724 (_cpp_spell_operator): New.
2725 (is_macro_disabled): Disable all macros if rescanning
2726 preprocessed text.
2727 (_cpp_get_directive_token): Remove.
2728
2729 * cppinit.c: Don't set no_macro_expand.
2730 * cpplib.c (read_line_number, do_line): Check only for EOF,
2731 not VSPACE.
2732 * cpphash.h: Update prototypes.
2733 * cpplib.h (CPP_VSPACE): Remove.
2734 (struct cpp_reader): Remove no_macro_expand.
2735
2736 2000-07-08 Neil Booth <NeilB@earthling.net>
2737
2738 * cpphash.c (is__va_args__): New function.
2739 (count_params): Fix line reported in error messages. Use
2740 is__va_args__. Don't return ')' on error. Flag GNU style
2741 rest args macro definitions.
2742 (parse_define): Check macro name is not __VA_ARGS__.
2743 (save_expansion): Check identifier in non-varargs-macro is
2744 not __VA_ARGS__. Don't flag GNU_VARARGS.
2745 * cpplex.c (parse_args): Accept no argument iff GNU_REST_ARGS.
2746 (maybe_paste_with_next): Use per-macro GNU_REST_ARGS rather
2747 than per-token GNU_VARARGS.
2748 * cpplib.h (GNU_VARARGS): Remove.
2749 (GNU_REST_ARGS): New.
2750
2751 Sat Jul 8 01:38:25 MET DST 2000 Jan Hubicka <jh@suse.cz>
2752
2753 * i386.md (call_pop, call, call_value_pop): Do not set
2754 current_function_uses_pic_offset_table for calls to static
2755 functions or indirect calls.
2756
2757 2000-07-07 Jim Wilson <wilson@cygnus.com>
2758
2759 * config/ia64/ia64.c (rws_access_reg): New local write_count. If
2760 is_predicate_reg, then take max write_count of register pair.
2761
2762 2000-07-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2763
2764 * tradcpp.c (main): Rename label `include' to `add_include' to
2765 avoid conflicts with variable `include' in traditional C.
2766
2767 2000-07-07 Jakub Jelinek <jakub@redhat.com>
2768
2769 * integrate.c (copy_insn_list): Remove REG_LABEL notes.
2770
2771 2000-07-07 Jakub Jelinek <jakub@redhat.com>
2772
2773 * sibcall.c (uses_addressof): Add INMEM argument, check for
2774 current_function_internal_arg_pointer outside of MEM rtxs in addition
2775 to ADDRESSOFs.
2776 (sequence_uses_addressof): Update caller.
2777
2778 2000-07-07 Zack Weinberg <zack@wolery.cumb.org>
2779
2780 * tradcpp.c (initialize_builtins): Honor NO_BUILTIN_SIZE_TYPE
2781 and friends.
2782
2783 2000-07-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2784
2785 * system.h (UNION_INIT_ZERO): New macro for initializing union
2786 members in structs.
2787
2788 * cpplex.c (placemarker_token, eof_token): Use UNION_INIT_ZERO.
2789
2790 2000-07-07 Neil Booth <NeilB@earthling.net>
2791
2792 * cpp.texi: Update.
2793
2794 Fri Jul 7 07:47:35 2000 Jeffrey A Law (law@cygnus.com)
2795
2796 * final.c (final): Detect out of bounds array access to
2797 the insn_lengths array.
2798
2799 2000-07-07 Kazu Hirata <kazu@hxi.com>
2800
2801 * fold-const.c (fold): Fix a comment typo.
2802
2803 2000-07-07 Neil Booth <NeilB@earthling.net>
2804
2805 * cpp.texi: Update to new lexer.
2806
2807 2000-07-06 Zack Weinberg <zack@wolery.cumb.org>
2808
2809 * tradcpp.c: New file.
2810 * tradcif.y: New file.
2811 * tradcif.c: New generated file.
2812
2813 * Makefile.in: Add rules to build tradcpp.o, tradcif.o,
2814 $(srcdir)/tradcif.c. Add tradcpp to STAGESTUFF and
2815 dependencies of C. Install tradcpp from install-common, in
2816 $(libsubdir).
2817
2818 2000-07-06 Zack Weinberg <zack@wolery.cumb.org>
2819
2820 * cppinit.c: Include cppdefault.h. Refer to
2821 cpp_GCC_INCLUDE_DIR and cpp_GCC_INCLUDE_DIR_len, not directly
2822 to GCC_INCLUDE_DIR and its length.
2823 (SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE,
2824 USER_LABEL_PREFIX, REGISTER_PREFIX, struct default_include,
2825 STANDARD_INCLUDE_DIR, STANDARD_INCLUDE_COMPONENT): Move to
2826 cppdefault.h.
2827 (include_defaults_array): Move to cppdefault.c.
2828
2829 * cppdefault.h: New file.
2830 * cppdefault.c: New file.
2831
2832 * Makefile.in (LIBCPP_OBJS): Add cppdefault.o.
2833 (cppinit.o): Don't apply $(PREPROCESSOR_DEFINES) to this file.
2834 (cppdefault.o): New rule; apply $(PREPROCESSOR_DEFINES) to
2835 this file.
2836
2837 Thu Jul 6 18:30:36 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2838
2839 * reload.c (push_reload): When seeing if can reuse a register,
2840 check extra registers against widest of INMODE and OUTMODE.
2841
2842 2000-07-06 Neil Booth <NeilB@earthling.net>
2843
2844 * cpplib.c: (_cpp_parse_assertion): Perform hash lookups
2845 based on full length of predicate.
2846
2847 2000-07-06 Hans-Peter Nilsson <hp@axis.com>
2848
2849 * timevar.c: [HAVE_SYS_RESOURCE_H]: Include <sys/resource.h>.
2850 [NEED_DECLARATION_GETRUSAGE]: Declare getrusage.
2851
2852 2000-07-05 Kazu Hirata <kazu@hxi.com>
2853
2854 * h8300-proto.h: Fix formatting.
2855 * h8300.c: Likewise.
2856 * h8300.h: Likewise.
2857
2858 2000-07-05 Jim Wilson <wilson@cygnus.com>
2859
2860 * config/ia64/ia64.h (HARD_REGNO_MODE_OK): If FR_REGNO_P, disallow
2861 CCmode.
2862
2863 2000-07-05 Rodney Brown <RodneyBrown@pmsc.com>
2864
2865 * invoke.texi: Fix minor typos
2866 * md.texi: Fix minor typos
2867
2868 2000-07-05 Zack Weinberg <zack@wolery.cumb.org>
2869
2870 * cpplib.c (_cpp_parse_assertion): Fix buffer overrun.
2871
2872 2000-07-04 Zack Weinberg <zack@wolery.cumb.org>
2873
2874 * cpplex.c: Don't include sys/mman.h.
2875 (cpp_push_buffer, cpp_pop_buffer): Moved to cpplib.c.
2876
2877 * cpplib.c: Include sys/mman.h and obstack.h.
2878 (cpp_push_buffer): Moved from cpplex.c; allocate buffers on an
2879 obstack.
2880 (cpp_pop_buffer): Moved from cpplex.c; free buffers from an obstack.
2881 (_cpp_unwind_if_stack): Now static, unwind_if_stack. Don't
2882 bother freeing if stack entries (they will be freed with their buffer).
2883 (do_endif): Free if stack entries from the buffer obstack.
2884 (push_conditional): Allocate if stack entries from the buffer obstack.
2885
2886 (find_answer): Rename to _cpp_find_answer.
2887 (do_assert, do_unassert): Update.
2888
2889 * cpphash.h: Update prototypes.
2890 (xobnew): New convenience macro.
2891 * cpplib.h (struct cpp_reader): Add hash_ob and buffer_ob fields.
2892 Update comments.
2893 (struct cpp_hashnode): Remove disabled field.
2894
2895 * cppinit.c: Don't include hashtab.h or splay-tree.h.
2896 (report_missing_guard): Moved to cppfiles.c.
2897 (cpp_reader_init): Call cpp_init_stacks, cpp_init_macros,
2898 cpp_init_includes.
2899 (cpp_cleanup): Call cpp_cleanup_stacks, cpp_cleanup_macros,
2900 cpp_cleanup_includes. Don't destroy hashtab or
2901 all_include_files here.
2902 (cpp_finish): Use _cpp_report_missing_guards.
2903
2904 * cppfiles.c (report_missing_guard): Moved from cppinit.c.
2905 (_cpp_init_include_table): Rename _cpp_init_includes.
2906 (_cpp_cleanup_includes, _cpp_report_missing_guards): New.
2907
2908 * cppexp.c (parse_assertion): Update for new name of
2909 find_answer.
2910
2911 * Makefile.in (cpplib.o, cpphash.o, cppinit.o): Update deps.
2912
2913 2000-07-04 Zack Weinberg <zack@wolery.cumb.org>
2914
2915 * cpplib.c (do_ident): s/VSPACE/EOF/
2916
2917 2000-07-05 Neil Booth <NeilB@earthling.net>
2918
2919 * cpplex.c: Fix trigraph replacement within strings.
2920
2921 2000-07-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2922
2923 * rs6000/aix.h (ASM_GENERATE_INTERNAL_LABEL): Fix format specifier.
2924
2925 * xcoffout.c (assign_type_number): Constify.
2926 (xcoffout_source_file): Add static prototype. Don't needlessly
2927 cast away const-ness.
2928
2929 2000-07-04 Jason Merrill <jason@redhat.com>
2930
2931 * frame.h (frame_state): Move base_offset to end.
2932
2933 Mon Jul 3 21:31:43 2000 Clinton Popetz <cpopetz@cygnus.com>
2934
2935 * calls.c (emit_library_call_value_1): Revert previous change.
2936
2937 2000-07-03 Zack Weinberg <zack@wolery.cumb.org>
2938
2939 * fix-header.c (struct partial_proto): Remove unnecessary fields.
2940 (recognized_extern, recognized_function, read_scan_file):
2941 Update for new scheme.
2942 (check_protection): It's still a multiple include guard even
2943 if it doesn't always trigger.
2944 * scan-decls.c (skip_to_closing_brace, scan_decls): Update for
2945 new scheme.
2946 * scan.h: Declare struct cpp_token. Update prototypes.
2947
2948 2000-07-03 Neil Booth <neilb@earthling.net>
2949 Zack Weinberg <zack@wolery.cumb.org>
2950
2951 Complete overhaul of the lexer and macro expander.
2952
2953 * cpphash.c (object_defn, funct_defn, push_macro_expansion,
2954 arg, arglist, argdata, reflist, collect_objlike_expansion,
2955 collect_funlike_expansion, collect_params,
2956 warn_trad_stringify, trad_stringify, duplicate_arg_p, add_pat,
2957 unsafe_chars, macarg, compare_defs, special_symbol,
2958 scan_arguments, stringify, funlike_macroexpand,
2959 _cpp_quote_string, monthnames): Delete.
2960 (cpp_lookup, _cpp_free_definition, dump_funlike_macro,
2961 _cpp_create_definition, _cpp_dump_definition,
2962 dump_hash_helper): Adjust.
2963 (find_param, count_params, parse_define, var_args_str,
2964 check_macro_redefinition, save_expansion): New.
2965
2966 * cpplex.c (skip_block_comment, skip_line_comment, parse_name,
2967 parse_string, output_line_command, trigraph_replace,
2968 lex_line, cpp_push_buffer, cpp_pop_buffer, cpp_output_tokens,
2969 cpp_scan_buffer_nooutput, cpp_scan_buffer, cpp_free_toklist,
2970 cpp_idcmp, _cpp_get_directive_token, _cpp_init_input_buffer,
2971 _cpp_skip_rest_of_line): Modify.
2972
2973 (maybe_macroexpand, skip_comment, copy_comment, skip_string,
2974 find_position, null_warning, bump_column, expand_name_space,
2975 pedantic_whitespace, _cpp_output_list, _cpp_slice_toklist,
2976 _cpp_squeeze_toklist, _cpp_scan_until, _cpp_skip_hspace,
2977 _cpp_parse_name, _cpp_lex_token, cpp_get_non_space_token,
2978 _cpp_prescan): Delete.
2979
2980 (dump_param_spelling, process_directive, lex_next,
2981 is_macro_disabled, stringify_arg, expand_context_stack,
2982 output_token, make_string_token, alloc_number_token,
2983 special_symbol, duplicate_token, maybe_paste_with_next,
2984 can_paste, prevent_macro_expansion, restore_macro_expansion,
2985 get_temp_token, release_temp_tokens, quote_string,
2986 token_names, token_spellings, _cpp_expand_name_space,
2987 _cpp_glue_header_name, _cpp_reserve_name_space,
2988 digraph_spellings, trigraph_ok, skip_whitespace, save_comment,
2989 placemarker_token, eof_token, cpp_context, macro_args,
2990 get_raw_token, parse_arg, parse_args, save_token,
2991 push_arg_context, push_macro_context, pop_context,
2992 do_pop_context, free_macro_args, _cpp_get_line,
2993 _cpp_run_directive): New.
2994
2995 * cpplib.c (validate_else, parse_include, push_conditional,
2996 pass_thru_directive, read_line_number, parse_ifdef,
2997 detect_if_not_defined, _cpp_check_directive, do_define,
2998 do_undef, do_include, do_import, do_include_next, do_error,
2999 do_warning, do_ident, do_pragma, pragma_dispatch, gcc_pragmas,
3000 top_pragmas, do_pragma_gcc, do_pragma_implementation,
3001 do_pragma_poison, do_pragma_system_header,
3002 do_pragma_dependency, do_sccs, do_ifdef, do_ifndef, do_else,
3003 dl_elif, do_endif, _cpp_unwind_if_stack, do_assert,
3004 do_unassert, cpp_define, cpp_undef, cpp_assert, cpp_unassert,
3005 cpp_defined): Update for new scheme.
3006 (strtoul_for_line, get_define_node, dump_macro_name,
3007 _cpp_check_linemarker, _cpp_parse_assertion): New.
3008 (_cpp_handle_directive, do_pragma_default): Delete.
3009
3010 * cpphash.h (struct predicate): Now struct answer.
3011 (enum spell_type, struct token_spelling, struct directive,
3012 directive_handler): New.
3013 Update prototypes. Remove unused macros.
3014 * cpplib.h: Update prototypes. Remove unused macros,
3015 structure definitions, and fields.
3016
3017 * cpperror.c (print_containing_files, v_message): Adjust.
3018 * cppexp.c (parse_assertion, lex, parse_escape,
3019 _cpp_parse_expr): Adjust.
3020 * cppfiles.c (open_include_file, _cpp_execute_include,
3021 _cpp_compare_file_date, cpp_read_file, read_include_file):
3022 Adjust.
3023 * cppinit.c (dump_special_to_buffer): Delete.
3024 (append_include_chain, merge_include_chains, cpp_reader_init,
3025 cpp_cleanup, initialize_builtins, builtin_array, cpp_start_read,
3026 cpp_finish, handle_option, print_help): Adjust.
3027 * cppmain.c (main): Adjust.
3028
3029 2000-07-03 Zack Weinberg <zack@wolery.cumb.org>
3030
3031 * cppspec.c (lang_specific_driver): Use double quotes in error
3032 message.
3033
3034 Mon Jul 3 16:53:43 2000 Clinton Popetz <cpopetz@cygnus.com>
3035
3036 * calls.c (emit_library_call_value_1): Use valreg instead
3037 of hard_libcall_value.
3038
3039 2000-07-03 Geoff Keating <geoffk@cygnus.com>
3040
3041 * config/rs6000/rs6000.c (rs6000_emit_move): New function.
3042 * config/rs6000/rs6000-proto.h: Prototype rs6000_emit_move.
3043 * config/rs6000/rs6000.md (movsi): Use rs6000_emit_move.
3044 (movhi): Likewise.
3045 (movqi): Likewise.
3046 (movdf): Likewise.
3047 (movsf): Likewise.
3048 (movdi): Likewise.
3049 (movti): Likewise.
3050
3051 * expmed.c (expand_mult_highpart): Use op1 instead of wide_op1 when
3052 mode instead of wider_mode is being used.
3053
3054 2000-07-03 Jakub Jelinek <jakub@redhat.com>
3055
3056 * config/i386/i386.md (movstrictqi_xor): Use 'q' constraint instead
3057 of 'r'. Use q_regs_operand.
3058 (andsi_1+2): Use q_regs_operand.
3059
3060 2000-07-03 Jakub Jelinek <jakub@redhat.com>
3061
3062 * builtins.c (get_memory_rtx): Always put into alias set 0.
3063
3064 2000-07-03 Nick Clifton <nickc@cygnus.com>
3065
3066 * config/arm/arm.md: Fix post increment and pre increment
3067 peepholes so that they do not generate UNPREDICATBLE opcodes.
3068 (ie ones where the increment clobbers the source/destination).
3069
3070 2000-07-01 Marek Michalkiewicz <marekm@linux.org.pl>
3071
3072 * config/avr/avr.c (out_adj_frame_ptr): Make "frame pointer
3073 change too big for -mtiny-stack" a warning, if larger than 63.
3074 (out_set_stack_ptr): Change the logic so -mno-interrupts is
3075 always safe to use on possible future devices.
3076 (function_prologue): Write SPH before SPL, for consistency.
3077 If interrupt_func_p true, we know we have enabled interrupts.
3078 (avr_num_arg_regs): New function. Round up to even number of
3079 bytes if no -mpack-args or if calling a libgcc function.
3080 (function_arg, function_arg_advance): Use it.
3081 (output_movsisf, ashlsi3_out, ashrsi3_out, lshrsi3_out):
3082 Output "movw" if available.
3083 (out_tsthi, out_tstsi, ashlqi3_out, lshrqi3_out): Change uses
3084 of TEST_HARD_REG_CLASS macro to test_hard_reg_class function.
3085 (asm_output_section_name): Add blanks for consistent output.
3086 (encode_section_info): Set TREE_READONLY for progmem data to
3087 avoid gas warnings about changed section attributes.
3088 (avr_hard_regno_mode_ok): Force non-QImode data to start in
3089 even numbered registers on devices with "movw".
3090 * config/avr/avr.h (MASK_*): Define bits for target_flags.
3091 (TARGET_SWITCHES): Mark help strings for translation.
3092 Add new -mpack-args and -menhanced switches.
3093 (TARGET_OPTIONS): Mark help strings for translation.
3094 (progmem_section): Add section attributes.
3095 * config/avr/avr.md (*movhi, call_insn, call_value_insn):
3096 Output "movw" if available.
3097 (mulqi3, mulqihi3, umulqihi3, mulhi3, *tablejump_enh):
3098 New patterns.
3099 * config/avr/libgcc.S (_mulqi3, _divqi3): Update to the new
3100 call convention (arguments aligned on even registers).
3101 (_cleanup, _exit): Make weak symbols libc can override.
3102
3103 2000-07-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3104
3105 * fp-bit.h: New file.
3106
3107 * fp-bit.c: Move common code, prototypes, etc into fp-bit.h.
3108 Comment #endif statements.
3109 (__thenan_sf, __thenan_df): Add missing braces around initializer.
3110
3111 Mon Jul 3 00:32:47 2000 Jeffrey A Law (law@cygnus.com)
3112
3113 * gcse.c (compute_pre_data): Compute ae_kill using other local
3114 properties instead of calling compute_ae_kill.
3115
3116 * alias.c (init_alias_analysis): Do not call
3117 prologue_epilogue_contains until after reload has completed.
3118
3119 2000-07-02 Benjamin Chelf <chelf@codesourcery.com>
3120
3121 * c-common.h (genrtl_begin_compound_stmt): Remove declaration.
3122 (genrtl_finish_compound_stmt): Likewise.
3123 (genrtl_compound_stmt): Change to return void.
3124
3125 * c-semantics.c (genrtl_begin_compound_stmt): Remove function and
3126 move code from here to ...
3127 (genrtl_compound_stmt): ... here.
3128 (genrtl_finish_compound_stmt): Remove.
3129 (expand_stmt): Add comment.
3130
3131 2000-07-02 Zack Weinberg <zack@wolery.cumb.org>
3132
3133 * c-typeck.c (build_indirect_ref): Use COMPLETE_OR_VOID_TYPE_P
3134 and VOID_TYPE_P.
3135
3136 2000-07-02 Jakub Jelinek <jakub@redhat.com>
3137
3138 * cpplib.h (struct cpp_reader): New field include_depth.
3139 (struct cpp_printer): Rename last_bsd to last_id.
3140 * cppfiles.c (read_include_file): Bump include_depth.
3141 * cpplex.c (cpp_pop_buffer): Decrement include_depth.
3142 (output_line_command): Output correct #line if a header
3143 is including itself and is not protected against multiple inclusion.
3144 Use include_depth instead of buffer_stack_depth, last_id instead of
3145 last_bsd.
3146 * cppinit.c (cpp_start_read): Initialize last_id instead of
3147 last_bsd.
3148
3149 2000-07-01 Benjamin Chelf <chelf@codesourcery.com>
3150
3151 * Makefile.in (C_AND_OBJC_OBJS): Added c-semantics.o.
3152 (c-semantics.o): New target.
3153
3154 * c-common.h (TREE_LANG_FLAG_?): Added documentation.
3155 (genrtl_do_pushlevel): Moved from cp/cp-tree.h.
3156 (genrtl_clear_out_block): Likewise.
3157 (genrtl_goto_stmt): Likewise.
3158 (genrtl_expr_stmt): Likewise.
3159 (genrtl_decl_stmt): Likewise.
3160 (genrtl_if_stmt): Likewise.
3161 (genrtl_while_stmt): Likewise.
3162 (genrtl_do_stmt): Likewise.
3163 (genrtl_return_stmt): Likewise.
3164 (genrtl_for_stmt): Likewise.
3165 (genrtl_break_stmt): Likewise.
3166 (genrtl_continue_stmt): Likewise.
3167 (genrtl_scope_stmt): Likewise.
3168 (genrtl_switch_stmt): Likewise.
3169 (genrtl_case_label): Likewise.
3170 (genrtl_begin_compound_stmt): Likewise.
3171 (gerntl_finish_compound_stmt): Likewise.
3172 (genrtl_compound_stmt): Likewise.
3173 (genrtl_asm_stmt): Likewise.
3174 (genrtl_decl_cleanup): Likewise.
3175 (DECL_ANON_UNION_ELEMS): Likewise.
3176 (emit_local_var): Likewise.
3177 (make_rtl_for_local_static): Likewise.
3178 (expand_cond): Likewise.
3179 (expand_stmt): Likewise.
3180 (c_expand_return): Likewise.
3181 (c_expand_start_case): Likewise.
3182 (do_case): Likewise.
3183 (COMPOUND_STMT_NO_SCOPE): Likewise.
3184 (c_expand_asm_operands): Likewise.
3185 (NEW_FOR_SCOPE_P): New macro.
3186 (expand_expr_stmt_fn): New type.
3187
3188 (set_current_function_name_declared): Likewise.
3189 (current_function_name_declared): Likewise.
3190 (lang_expand_stmt): Likewise.
3191 (stmts_are_full_exprs_p): Likewise.
3192 (anon_aggr_type_p): Likewise.
3193 (lang_expand_expr_stmt): Likewise.
3194 (build_case_label): Likewise.
3195
3196 * c-decl.c (lang_expand_expr_stmt): Initialize.
3197 (stmts_are_full_exprs_p): Define.
3198 (current_function_name_declared): Likewise.
3199 (do_case): Likewise.
3200 (lang_expand_stmt): Likewise.
3201 (set_current_function_name_declared): Likewise.
3202 (anon_aggr_type_p): Likewise.
3203
3204 * c-semantics.c: New file.
3205 (expand_cond): Moved from cp/semantics.c.
3206 (genrtl_do_pushlevel): Likewise.
3207 (genrtl_clear_out_block): Likewise.
3208 (genrtl_goto_stmt): Likewise.
3209 (genrtl_expr_stmt): Likewise.
3210 (genrtl_decl_stmt): Likewise.
3211 (genrtl_if_stmt): Likewise.
3212 (genrtl_while_stmt): Likewise.
3213 (genrtl_do_stmt): Likewise.
3214 (genrtl_return_stmt): Likewise.
3215 (genrtl_for_stmt): Likewise.
3216 (genrtl_break_stmt): Likewise.
3217 (genrtl_continue_stmt): Likewise.
3218 (genrtl_scope_stmt): Likewise.
3219 (genrtl_switch_stmt): Likewise.
3220 (genrtl_case_label): Likewise.
3221 (genrtl_begin_compound_stmt): Likewise.
3222 (genrtl_finish_compound_stmt): Likewise.
3223 (genrtl_compound_stmt): Likewise.
3224 (genrtl_asm_stmt): Likewise.
3225 (genrtl_decl_cleanup): Likewise.
3226 (make_rtl_for_local_static): Moved from cp/decl.c.
3227 (emit_local_var): Likewise.
3228 (expand_stmt): Define.
3229
3230 * c-tree.h: (c_expand_asm_operands): Moved to c-common.h.
3231 (c_expand_return): Likewise.
3232 (c_expand_start_case): Likewise.
3233
3234 2000-07-01 Richard Henderson <rth@cygnus.com>
3235
3236 * config/ia64/ia64.c (symbolic_operand): Reject CONST expressions
3237 with the low 13 bits set.
3238 (move_operand): Check for CONST|SYMBOL_REF|LABEL_REF directly.
3239 * config/ia64/ia64.md (movdi): Likewise. Expand a CONST with one
3240 of the low 13 bits into a CONST plus an adddi3.
3241 (load_symptr): Set RTX_UNCHANGING_P.
3242
3243 See ChangeLog.3 for earlier changes.
3244
This page took 0.178821 seconds and 6 git commands to generate.