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