]> gcc.gnu.org Git - gcc.git/blob - gcc/ChangeLog
Makefile.in (toplev.o): Depend on options.h.
[gcc.git] / gcc / ChangeLog
1 2002-01-08 Richard Henderson <rth@redhat.com>
2
3 * Makefile.in (toplev.o): Depend on options.h.
4 (gcc.o): Depend on specs.h.
5
6 2002-01-08 Jakub Jelinek <jakub@redhat.com>
7
8 * expr.c (store_expr): Convert VOIDmode constants back to target's
9 mode.
10
11 2002-01-08 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
12
13 * doc/invoke.texi: Markup gcc as @command. Refer to
14 http://gcc.gnu.org/onlinedocs/gcc/Contributors.html instead
15 of http://gcc.gnu.org/thanks.html.
16
17 2002-01-08 Dale Johannesen <dalej@apple.com>
18
19 * config/rs6000/rs6000.md: Add missing int register
20 target case to movdf_low.
21
22 2002-01-08 Zack Weinberg <zack@codesourcery.com>
23
24 * Makefile.in (cs-tconfig.h): Don't depend on $(CONFIG_H) or
25 except.h. Remove commands to define USING_SJLJ_EXCEPTIONS.
26 (cppinit.o): Depend on except.h.
27 (gencheck.h, options.h, specs.h, s-gencheck, s-options,
28 s-specs): New rules.
29
30 * configure.in: Don't AC_DEFINE_UNQUOTED PACKAGE or VERSION.
31 Don't create specs.h/options.h/gencheck.h here. Remove
32 unnecessary variable settings from last argument of AC_OUTPUT.
33 * config.in, configure: Regenerate.
34 * intl.c: Hardcode package name as "gcc".
35
36 * cppinit.c: Include except.h.
37 (builtin_array): Define __USING_SJLJ_EXCEPTIONS__ when
38 appropriate.
39 * unwind-dw2.c, unwind-sjlj.c, config/ia64/unwind-ia64.c:
40 Use #if(n)def __USING_SJLJ_EXCEPTIONS, not #if
41 (!)USING_SJLJ_EXCEPTIONS.
42 * doc/cpp.texi: Document __USING_SJLJ_EXCEPTIONS__.
43
44 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
45
46 * doc/tm.texi (ASM_OUTPUT_EH_REGION_BEG, ASM_OUTPUT_EH_REGION_END,
47 ASM_OUTPUT_LABELREF_AS_INT, DOESNT_NEED_UNWINDER, EH_TABLE_LOOKUP,
48 OBJC_SELECTORS_WITHOUT_LABELS, OMIT_EH_TABLE): Remove
49 documentation of obsolete macros.
50 * system.h: Poison these macros.
51 * config/d30v/d30v.h, config/ns32k/encore.h,
52 config/stormy16/stormy16.h: Remove definitions and commented out
53 definitions of obsolete macros.
54
55 Tue Jan 8 15:56:41 2002 Nicola Pero <nicola@brainstorm.co.uk>
56
57 * objc/objc-act.c (handle_class_ref): Mark the declaration of
58 %sobjc_class_ref_%s as used - to prevent unwanted compiler
59 warnings.
60
61 2002-01-08 Ulrich Weigand <uweigand@de.ibm.com>
62
63 * config/s390/linux.h (ASM_OUTPUT_LABELREF): Remove.
64 * config/s390/s390.c (s390_emit_epilog): Add REG_FRAME_RELATED_EXPR
65 to insn adjusting stack/frame pointer.
66 * config/s390/s390.md (reload_la_64, reload_la_31): Do not
67 accept operands that cause the insn to be non-splittable.
68
69 2002-01-08 Graham Stott <grahams@redhat.com>
70
71 * c-tree.h (C_TYPE_FIELDS_READONLY): Uppercase macro parameter.
72 (C_TYPE_FIELDS_VOLATILE): Likewise.
73 (C_TYPE_BEING_DEFINED): Likewise.
74 (C_IS_RESERVED_WORD): Likewise.
75 (C_TYPE_VARIABLE_SIZE): Likewise.
76 (C_DECL_VARIABLE_SIZE): Likewise.
77 (C_MISSING_PROTOTYPE_WARNED): Likewise.
78 (C_SET_EXP_ORIGINAL_CODE): Likewise.
79 (C_TYPEDEF_EXPLICITLY_SIGNED): Uppercase macro parameter and remove
80 parenthesis.
81 (C_DECL_ANTICIPATED): Likewise.
82 (c_build_type_variant): Add parenthesis.
83
84 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
85
86 * gcc.c (option_map): Remove --version.
87 (process_command): Handle -fversion following the GNU Coding
88 Standards. Partially addresses PR other/704.
89
90 2002-01-08 Graham Stott <grahams@redhat.com>
91
92 * combine.c (combine_instructions): Fix typo.
93
94 2002-01-08 Graham Stott <grahams@redhat.com>
95
96 * debug.h: Use "tree" and "rtx" throughout.
97
98 * debug.c: Likewise.
99
100 2002-01-08 Nick Clifton <nickc@cambridge.redhat.com>
101
102 * dbxout.c (dbxout_symbol_location): If a symbol ref is in the
103 constant pool, use the pool's version of the symbol instead.
104
105 2002-01-07 Richard Henderson <rth@redhat.com>
106
107 * regrename.c (find_oldest_value_reg): Ignore the value chain if
108 the original register was copied in a mode with a fewer number of
109 hard registers than the desired mode.
110 (copyprop_hardreg_forward_1): Likewise.
111 (debug_value_data): Fix loop test.
112 * toplev.c (parse_options_and_default_flags): Reenable
113 -fcprop-registers at -O1.
114
115 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
116
117 * config/rs6000/rs6000.c (bdesc_2arg): Add altivec predicates.
118 (altivec_init_builtins): New node v4si_ftype_v16qi_v16qi.
119
120 * config/rs6000/rs6000.h (rs6000_builtins): Add enums for altivec
121 predicates.
122
123 * config/rs6000/rs6000.md: Add altivec predicate patterns.
124
125 2002-01-07 John David Anglin <dave@hiauly1.hia.nrc.ca>
126
127 * pa.c (FUNC_BEGIN_PROLOG_LABEL, current_function_number): Define.
128 (pa_output_function_prologue): Output local label at the beginning of
129 the prologue when profiling.
130 (hppa_profile_hook): Use the local label rather than the function label.
131 * pa.h (PROFILE_BEFORE_PROLOGUE): Define.
132
133 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
134
135 * config/rs6000/rs6000.c (print_operand): Remove extra space.
136 (altivec_expand_unop_builtin): Fix thinko.
137 (altivec_expand_binop_builtin): Same.
138 (altivec_expand_ternop_builtin): Same.
139 (altivec_expand_builtin): Same.
140
141 2002-01-07 Richard Henderson <rth@redhat.com>
142
143 * config/rs6000/xcoff.h (ASM_FILE_START): Reverted to profile_flag.
144
145 2002-01-07 Jason Merrill <jason@redhat.com>
146
147 * unwind-dw2.c (execute_cfa_program): Use < again.
148
149 2002-01-07 Jakub Jelinek <jakub@redhat.com>
150
151 * predict.c (combine_predictions_for_insn): Avoid division by zero.
152
153 2002-01-07 Jakub Jelinek <jakub@redhat.com>
154
155 * simplify-rtx.c (simplify_plus_minus): Bump n_ops for NOT.
156 Don't allow -1 - x -> ~x simplifications in the first pass.
157
158 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
159
160 * rs6000.c (altivec_expand_ternop_builtin): Don't die on invalid
161 arguments.
162 (altivec_expand_binop_builtin): Same.
163 (altivec_expand_unop_builtin): Same.
164 (print_operand): Fix typo.
165 (bdesc_1arg): Add vupk* variants.
166
167 * rs6000.h (rs6000_builtins): Add vupk* enums.
168
169 * rs6000.md: Add altivec_vupk* variants.
170
171 2002-01-07 Joseph S. Myers <jsm28@cam.ac.uk>
172
173 * doc/gcc.texi, doc/gccint.texi, doc/cppinternals.texi,
174 doc/install.texi, doc/invoke.texi, doc/rtl.texi: Update copyright
175 and last update dates.
176
177 2002-01-07 Janis Johnson <janis187@us.ibm.com>
178
179 * doc/rtl.texi (Flags): Clean up documentation of RTL flags
180
181 2002-01-07 Marek Michalkiewicz <marekm@amelek.gda.pl>
182
183 * config/avr/avr.c (avr_mcu_types): Add new MCU types.
184 * config/avr/avr.h (CPP_SPEC): Likewise.
185 (LINK_SPEC): Likewise.
186 (CRT_BINUTILS_SPECS): Likewise.
187 * config/avr/t-avr (MULTILIB_MATCHES): Likewise.
188 * doc/invoke.texi (AVR Options): Document them.
189
190 Mon Jan 7 11:59:34 CET 2002 Jan Hubicka <jh@suse.cz>
191
192 * unroll.c (copy_loop_body): Always properly update JUMP_LABEL and
193 LABEL_NUSES.
194
195 2002-01-07 Graham Stott <grahams@redhat.com>
196
197 * config/i386/i386.h: Update copyright date.
198 (HALF_PIC_PTR): Add parenthesis.
199 (OPTIMIZATION_OPTIONS): Whitespace, add parenthesis and wrap.
200 (CONSTANT_ALIGNMENT): Add parenthesis.
201 (DATA_ALIGNMENT): Likewise.
202 (LOCAL_ALIGNMENT): Likewise.
203 (FUNCTION_ARG_BOUNDARY): Whitespace, add parenthesis and wrap.
204 (IS_STACK_MODE): Uppercase macro parameter, add parenthesis and wrap.
205 (CONDITIONAL_REGISTER_USAGE): Wrap in do {...} while (0).
206 (HARD_REGNO_NREGS): Add paranethesis.
207 (VALID_SSE_REG_MODE): Whitespace.
208 (VALID_MMX_REG_MODE): Whitespace.
209 (VALID_FP_MODE_P): Uppercase macros parameter and whitespace.
210 (ix86_hard_regno_mode_ok): Add parenthesis.
211 (HARD_REGNO_CALLER_SAVE_MODE): Whitespace.
212 (RETURN_IN_MEMORY): Whitespace.
213 (N_REG_CLASSES): Add parenthesis.
214 (INTEGER_CLASS_P): Add parenthesis and wrap.
215 (FLOAT_CLASS_P): Likewise.
216 (SSE_CLASS_P): Likewise.
217 (MMX_CLASS_P): Likewise.
218 (MAYBE_INTEGER_CLASS_P): Likewise.
219 (MAYBE_FLOAT_CLASS_P): Likewise.
220 (MAYBE_SSE_CLASS_P): Likewise.
221 (MAYBE_MMX_CLASS_P): Likewise.
222 (Q_CLASS_P): Likewise.
223 (GENERAL_REGNO_P): Uppercase macro parameter.
224 (REX_INT_REGNO_P): Uppercase macro parameter and wrap.
225 (FP_REGNO_P): Likewise.
226 (ANY_FP_REGNO_P): Uppercase macro parameter.
227 (SSE_REGNO_P): Likewise.
228 (SSE_REGNO): Likewise.
229 (SSE_REG_P): Likewise.
230 (SSE_FLOAT_MODE_P): Likewise.
231 (MMX_REGNO_P): Likewise.
232 (MMX_REG_P):Likewise.
233 (STACK_REG_P): Likewise.
234 (NON_STACK_REG_P): Likewise.
235 (STACK_TOP_P): Likewise.
236 (CONVERT_HARD_REGISTER_TO_SSA_P): Add parenthesis.
237 (PREFERRED_RELOAD_CLASS): Add parenthesis and whitespace.
238 (SECONDARY_MEMORY_NEEDED): Likewise.
239 (SECONDARY_OUTPUT_RELOAD_CLASS): Whitespace.
240 (MD_ASM_CLOBBERS): Whitespace and wrap.
241 (MUST_PASS_IN_STACK): Whitespace and wrap.
242 (RETURN_POPS_ARGS): Add parenthesis.
243 (INIT_CUMULATIVE_ARGS): Likewise.
244 (FUNCTION_ARG): Likewise.
245 (FUNCTION_OK_FOR_SIBCALL): Add parenthesis and whitespace.
246 (SETUP_INCOMING_VARARGS): Likewise.
247 (BUILD_VA_LIST_TYPE): Add parenthesis.
248 (EXPAND_BUILTIN_VA_START): Uppercase macro paremeters and add
249 parenthsis.
250 (EXPAND_BUILTIN_VA_ARG): Likewise.
251 (FUNCTION_PROFILER): Wrap in do { ... } while (0) and add parenthesis.
252 (INITIALIZE_TRAMPOLINE): Add parenthesis.
253 (INITIAL_ELIMINATION_OFFSET): Likewise.
254 (REGNO_OK_FOR_INDEX_P): Add parenthesis.
255 (REGNO_OK_FOR_BASE_P): Likewise.
256 (REGNO_OK_FOR_SIREG_P): Add parenthesis and wrap.
257 (REGNO_OK_FOR_DIREG_P): Likewise.
258 (REG_OK_FOR_INDEX_P): Whitespace.
259 (REG_OK_FOR_BASE_P): Whitespace.
260 (GO_IF_LEGITIMATE_ADDRESS): Wrap in do { ... } while (0) and add
261 parenthesis.
262 (FIND_BASE_TERM): Fix typo.
263 (LEGITIMIZE_ADDRESS): Wrap in { .. } while (0) and add parenthesis.
264 (REWRITE_ADDRESS): Uppercase macro parameter and whitespace.
265 (SYMBOLIC_CONST; Whitespace.
266 (GO_IF_MODE_DEPENDENT_ADDRESS):Wrap in { .. } while (0) and wrap.
267 (ENCODE_SECTION_INFO): Whitespace.
268 (FINALIZE_PIC): Remove do { ... } while (0).
269 (PROMOTE_MODE): Wrap in do { ... } while (0).
270 (CONST_COSTS): Whitespace.
271 (RTX_COSTS): Add paramethesis, whitespace and wrap.
272 (REGISTER_MOVE_COST): Add parenthesis.
273 (MEMORY_MOVE_COST): Likewise.
274 (EXTRA_CC_MODES): Whitespace.
275 (SELECT_CC_MODE): Add parenthesis and whitespace.
276 (DBX_REGISTER_NUMBER): Uppercase macro parameter and add parenthsis.
277 (ASM_PREFERRED_EH_DATA_FORMAT): Add parenthesis and whitespace.
278 (ASM_OUTPUT_LABEL): Add paramethesis.
279 (ASM_OUTPUT_REG_PUSH): Add parenthesis and whitespace.
280 (ASM_OUTPUT_REG_POP): Likewise.
281 (ASM_OUTPUT_ADDR_VEC_ELT): Add parenthesis.
282 (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
283
284 * config/i386/i386.c: Update copyright.
285 (CHECK_STACK_LIMIT): Add parenthesis.
286 (AT_BP): Uppercase macro parameter.
287 (x86_64_int_parameter_registers): Constify.
288 (x86_64_int_return_registers): Likewise.
289 (ix86_compare_op0): Use rtx.
290 (construct_container): Constify INTREG parameter.
291 (function_arg): Use rtx.
292
293 * diagnostic.h: Update copyright date.
294 (output_buffer_state): Add parenthesis.
295 (output_buffer_format_args): Likewise.
296
297 * combine.c (combine_instructions): Replace XEXP (links, 0)
298 with link.
299
300 2002-01-06 H.J. Lu <hjl@gnu.org>
301
302 * cfgcleanup.c (thread_jump): Fix 2 typos.
303
304 2002-01-06 Aldy Hernandez <aldyh@redhat.com>
305
306 * config.gcc: Add support for --enable-altivec.
307
308 2002-01-06 Craig Rodrigues <rodrigc@gcc.gnu.org>
309
310 * emit-rtl.c (gen_highpart): Add check for NULL_RTX.
311
312 2002-01-06 Jakub Jelinek <jakub@redhat.com>
313
314 * objc/objc-act.c (handle_impent): Use assemble_variable to emit
315 __objc_class_name_*.
316
317 2002-01-06 Craig Rodrigues <rodrigc@gcc.gnu.org>
318
319 * doc/install.texi (sparcv9-*-solaris2*): Add documentation.
320
321 2002-01-06 Richard Henderson <rth@redhat.com>
322
323 * reorg.c (emit_delay_sequence): Remove death notes, not merely
324 nop them out. Increment label reference count for REG_LABEL.
325 (fill_slots_from_thread): Frob label reference count around
326 delete_related_insns.
327
328 2002-01-05 Richard Henderson <rth@redhat.com>
329
330 * cfgcleanup.c (try_forward_edges): Detect infinite loops while
331 jump threading.
332
333 2002-01-05 Richard Henderson <rth@redhat.com>
334
335 * c-decl.c (c_expand_body): Don't call outlining_inline_function.
336 * integrate.c (output_inline_function): Likewise.
337 * toplev.c (rest_of_compilation): Do it here instead. Move call
338 to remove_unnecessary_notes after emitting abstract instance.
339 Force an emitted nested function to have its parent emited as well.
340 * dwarf2out.c (loc_descriptor_from_tree): Read mode after checking
341 for null.
342 (rtl_for_decl_location): Do not look at reload data structures
343 before reload has run.
344
345 2002-01-05 Kazu Hirata <kazu@hxi.com>
346
347 * cse.c: Fix formatting.
348 * dwarf2asm.c: Likewise.
349 * dwarf2out.c: Likewise.
350 * explow.c: Likewise.
351 * expmed.c: Likewise.
352 * function.c: Likewise.
353 * gcov.c: Likewise.
354 * gencheck.c: Likewise.
355 * genrecog.c: Likewise.
356 * ggc-common.c: Likewise.
357 * ggc-page.c: Likewise.
358 * global.c: Likewise.
359
360 2002-01-05 Kazu Hirata <kazu@hxi.com>
361
362 * combine.c: Fix formatting.
363
364 2002-01-05 Craig Rodrigues <crodrigu@bbn.com>
365
366 PR middle-end/1557
367 * config/ia64/ia64.h (RENAME_EXTENDED_BLOCKS): Remove.
368
369 2002-01-05 David Edelsohn <edelsohn@gnu.org>
370
371 * config/rs6000/rs6000.h (TARGET_POWERPC): For IN_LIBGCC2, define
372 as 1 for __powerpc64__ as well.
373
374 * config/rs6000/t-aix43 (T_ADAFLAGS): Define.
375
376 * alias.c (find_base_value, PLUS/MINUS): If we found a base,
377 return it.
378
379 2002-01-05 Daniel Berlin <dan@dberlin.org>
380
381 * lcm.c: Revert change, due to performance regression it causes on
382 SPEC because it's slightly more conservative (sigh, I hate
383 edge-based LCM).
384
385 Sat Jan 5 11:52:05 CET 2002 Jan Hubicka <jh@suse.cz>
386
387 * cfgcleanup.c (try_forward_edges): Allow multiple jump threading.
388
389 2002-01-05 Neil Booth <neil@daikokuya.demon.co.uk>
390
391 * doc/cppinternals.texi: Update.
392
393 2002-01-05 Hans-Peter Nilsson <hp@bitrange.com>
394
395 * doc/invoke.texi (Option Summary) <MMIX Options>: Document
396 -mbranch-predict, -mreg-stack-fill-bug-workaround and their
397 negatives.
398 (MMIX Options): Ditto. Fix item/itemx typo for -mno-zero-extend.
399 * config/mmix/mmix.c (mmix_target_asm_function_prologue): Rework
400 kludge for pre-october-14th mmix versions to handle new-found bug
401 with PUSHJ/PUSHGO and the register stack.
402 * config/mmix/mmix.h (struct machine_function): Rename member
403 has_call_value_without_parameters to has_call_without_parameters.
404 All referers changed.
405 (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_DEFAULT
406 TARGET_MASK_BRANCH_PREDICT): New macros.
407 (TARGET_SWITCHES): New options -mreg-stack-fill-bug-workaround,
408 -mno-reg-stack-fill-bug-workaround.
409 * config/mmix/mmix.md ("call"): Set struct machine member
410 has_call_without_parameters.
411
412 Sat Jan 5 02:20:22 CET 2002 Jan Hubicka <jh@suse.cz>
413
414 * cfgcleanup.c (thread_jump): Fix handling of reversed branches.
415
416 Sat Jan 5 01:35:29 CET 2002 Jan Hubicka <jh@suse.cz>
417
418 * cfgcleanup.c: Include tm_p.h
419 (mark_effect): Fix handling of hard register; fix handling of SET
420
421 2002-01-04 Kazu Hirata <kazu@hxi.com>
422
423 * config/h8300/h8300.md (anonymous patterns): Check that
424 operands are registers before using REGNO on them.
425
426 2002-01-03 Roland McGrath <roland@frob.com>
427
428 * doc/invoke.texi (RS/6000 and PowerPC Options): Add -mcall-gnu.
429
430 2002-01-04 Jakub Jelinek <jakub@redhat.com>
431
432 * tree.h (expand_expr_stmt_value): Add maybe_last argument.
433 * c-common.h (genrtl_expr_stmt_value): Likewise.
434 * stmt.c (expand_expr_stmt): Pass 1 as maybe_last.
435 (expand_expr_stmt_value): Add maybe_last argument.
436 Don't warn about statement with no effect if it is the last statement
437 in expression statement.
438 * c-semantics.c (genrtl_expr_stmt): Pass 1 as maybe_last.
439 (genrtl_expr_stmt_value): Add maybe_last argument, pass it down to
440 expand_expr_stmt_value.
441 (expand_stmt) [EXPR_STMT]: Pass 1 as maybe_last to
442 genrtl_expr_stmt_value if t is the last EXPR_STMT in its scope.
443 * expr.c (expand_expr) [LABELED_BLOCK_EXPR, LOOP_EXPR]: Pass 1
444 as maybe_last to expand_expr_stmt_value.
445
446 Fri Jan 4 11:45:05 2002 Jeffrey A Law (law@redhat.com)
447
448 * c-common.c (c_expand_start_cond): Expect the IF_STMT node to
449 be passed in, do not build it.
450 (c_begin_if_stmt): New function.
451 (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
452 * c-common.h (c_expand_start_cond): Update prototype.
453 (c_begin_if_stmt): Prototype new function.
454 (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
455 * c-parse.in (if_prefix): Use c_begin_if_stmt,
456 c_begin_while_stmt and c_finish_while_stmt_cond.
457
458 2002-01-04 William Cohen <wcohen@redhat.com>
459
460 * config/pa/elf.h (ASM_FILE_START): Reverted to profile_flag.
461 * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
462 * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
463 * config/pa/som.h (ASM_FILE_START): Likewise.
464
465 2001-01-04 Daniel Berlin <dan@cgsoftware.com>
466
467 * lcm.c: Include df.h.
468 Add available_transfer_function prototype.
469 (compute_available): Rework to use iterative dataflow framework.
470 (struct bb_info): s/bb_info/lcm_bb_info/g to avoid conflict
471 with bb_info in df.h
472 (available_transfer_function): New function.
473
474 * Makefile.in (lcm.o): add df.h to dependencies.
475
476 2002-01-04 Richard Henderson <rth@redhat.com>
477
478 * config/alpha/alpha.c (some_operand): Accept HIGH.
479 (input_operand): Likewise; accept simple references to globals.
480 (alpha_const_ok_for_letter_p): New, outlined from alpha.h.
481 (alpha_const_double_ok_for_letter_p): Likewise.
482 (alpha_extra_constraint): Likewise.
483 (alpha_preferred_reload_class): Likewise. Do not force
484 symbolic constants to memory.
485 (alpha_legitimate_address_p): Accept simple references
486 to small_symbolic_operand.
487 (alpha_legitimize_address): New arg scratch. Be prepared to be
488 called when no_new_pseudos. Emit simple symbolic references.
489 Split integers into low, high, and rest.
490 (alpha_expand_mov): Use alpha_legitimize_address.
491 (some_small_symbolic_mem_operand): New.
492 (split_small_symbolic_mem_operand): New.
493 * config/alpha/alpha-protos.h: Update.
494 * config/alpha/alpha.h (CONST_OK_FOR_LETTER_P): Out-line.
495 (CONST_DOUBLE_OK_FOR_LETTER_P): Likewise.
496 (EXTRA_CONSTRAINT): Likewise.
497 (PREFERRED_RELOAD_CLASS): Likewise.
498 (LEGITIMIZE_ADDRESS): Update for alpha_legitimize_address change.
499 (PREDICATE_CODES): Update.
500 * config/alpha/alpha.md: New post-reload splitters to convert
501 simplfied symbolic operands to the form that references $29.
502 (divide expanders): Use emit_move_insn, not gen_movdi_er_high_g.
503 (movdi_er_nofix, movdi_er_fix): Accept any symbolic operand.
504
505 2002-01-03 Richard Henderson <rth@redhat.com>
506
507 * local-alloc.c (function_invariant_p): Update commentary.
508
509 2002-01-04 H.J. Lu <hjl@gnu.org>
510
511 * toplev.c (rest_of_compilation): Fix a typo when calling
512 cleanup_cfg.
513
514 2002-01-03 Kazu Hirata <kazu@hxi.com>
515
516 * c-common.c: Fix formatting.
517 * diagnostic.c: Likewise.
518 * doloop.c: Likewise.
519 * dwarf2out.c: Likewise.
520
521 2002-01-03 Kazu Hirata <kazu@hxi.com>
522
523 * config/h8300/h8300.c (output_logical_op): Use 'not.w' instead
524 of 'neg.w' when xoring with 0x0000ffff or 0xffff0000.
525
526 2002-01-03 Neil Booth <neil@daikokuya.demon.co.uk>
527
528 * cpperror.c: Update comments and copyright.
529 * cppexp.c, cppfiles.c, cpphash.c, cpphash.h, cppinit.c,
530 cpplex.c, cpplib.c, cpplib.h, cppmacro.c, cppmain.c: Similarly.
531
532 2002-01-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
533
534 * collect2.c (main): Use strcmp when testing for "-shared".
535
536 2002-01-03 Neil Booth <neil@daikokuya.demon.co.uk>
537
538 * cppmacro.c: Don't include intl.h. Update comments.
539 (new_number_token): Allocate enough buffer for 64-bit unsigned
540 integers; update prototype.
541 * cppmain.c: Update comments.
542
543 2002-01-03 William Cohen <wcohen@redhat.com>
544
545 * function.h (struct function): Add profile.
546 (current_function_profile): New.
547 doc/extend.texi: Update documentation.
548 * final.c (final_start_function): Use current_function_profile
549 instead of profile_flag.
550 (profile_after_prologue): Likewise.
551 * function.c (expand_function_start): Likewise.
552 (expand_function_start): Likewise.
553 * config/alpha/alpha.c (direct_call_operand):
554 (alpha_does_function_need_gp): Likewise.
555 (alpha_expand_prologue): Likewise.
556 * config/arm/arm.c (arm_expand_prologue): Likewise.
557 thumb_expand_prologue: Likewise.
558 * config/d30v/d30v.c (d30v_stack_info): Likewise.
559 * config/fr30/fr30.c (MUST_SAVE_RETURN_POINTER): Likewise.
560 (fr30_expand_prologue): Likewise.
561 * config/i386/cygwin.h (SUBTARGET_PROLOGUE): Likewise.
562 * config/i386/i386.c (ix86_osf_output_function_prologue): Likewise.
563 * config/i386/i386.h (FINALIZE_PIC): Likewise.
564 * config/i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
565 * config/i960/i960.c (i960_output_function_prologue): Likewise.
566 * config/ia64/ia64.c (ia64_compute_frame_size): Likewise.
567 * config/m32r/m32r.c (MUST_SAVE_RETURN_ADDR): Likewise.
568 (m32r_expand_prologue): Likewise.
569 * config/m88k/m88k.c (m88k_layout_frame): Likewise.
570 (m88k_expand_prologue): Likewise.
571 * config/m88k/m88k.h (ADJUST_INSN_LENGTH): Likewise.
572 * config/mips/mips.c (compute_frame_size): Likewise.
573 (mips_expand_prologue): Likewise.
574 (mips_can_use_return_insn): Likewise.
575 * config/pa/elf.h (ASM_FILE_START): Likewise.
576 * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
577 * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
578 * config/pa/som.h (ASM_FILE_START): Likewise.
579 * config/romp/romp.c (romp_using_r14): Likewise.
580 * config/rs6000/rs6000.c (first_reg_to_save): Likewise.
581 (rs6000_stack_info): Likewise.
582 * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
583 * config/rs6000/xcoff.h (ASM_FILE_START): Likewise.
584 * config/v850/v850.c (compute_register_save_size): Likewise.
585
586 2002-01-03 Jakub Jelinek <jakub@redhat.com>
587
588 * simplify-rtx.c (simplify_binary_operation) [DIV]: If
589 gen_lowpart_common fails, use gen_lowpart_SUBREG.
590
591 2002-01-03 Turly O'Connor <turly@apple.com>
592
593 * darwin.c (machopic_output_possible_stub_label): Don't generate
594 stub routines for pseudo-stubs which we've just defined.
595
596 2002-01-03 Kazu Hirata <kazu@hxi.com>
597
598 * builtins.c: Fix formatting.
599 * c-typeck.c: Likewise.
600 * combine.c: Likewise.
601 * expr.c: Likewise.
602 * loop.c: Likewise.
603
604 2002-01-03 Andreas Schwab <schwab@suse.de>
605
606 * cppfiles.c (_cpp_pop_file_buffer): Change return type to bool
607 and return true if _cpp_push_next_buffer pushed a new include
608 file.
609 * cpplib.c (_cpp_pop_buffer): Only call obstack_free if
610 _cpp_pop_file_buffer did not push a new file.
611 * cpphash.h (_cpp_pop_file_buffer): Update declaration.
612
613 2002-01-02 Eric Christopher <echristo@redhat.com>
614
615 * final.c (final_scan_insn): Change 0 -> NULL_RTX in
616 FIND_REG_INC_NOTE call. Update copyright.
617 * loop.c (canonicalize_condition): Ditto.
618 * reorg.c (delete_scheduled_jump): Ditto.
619
620 2002-01-03 Kazu Hirata <kazu@hxi.com>
621
622 * gcse.c: Fix formatting.
623
624 2002-01-03 Graham Stott <grahams@redhat.com>
625
626 * mkconfig.sh: Output to config.h, hconfig.h and tconfig.h
627 forward defs for struct tags rtx_def, union_tree, rtvec_def
628 also output corresponding typedefs for rtx, tree, and rtvec.
629
630 * system.h: Move forward defs for struct tags rtx_def, union_tree,
631 rtvec_def along with corresponding typedefs for rtx, tree, and
632 rtvec to config.h, hconfig.h, tconfig.h.
633
634 2002-01-03 Graham Stott <grahams@redhat.com>
635
636 * tree.h: Update copyright date.
637 (IS_EXPR_CODE_CLASS): Add parenthesis.
638 (TREE_SET_CODE): Add whitespace.
639 (TREE_CHECK): Add parenthesis.
640 (TREE_CLASS_CODE): Add parenthesis and wrap long line.
641 (CST_OR_CONSTRUCTOR_CHECK):
642 (EXPR_CHECK): Add parenthis, whitespace and wrap line.
643 (TREE_SYMBOL_REFERENCED): Whitespace.
644 (INT_CST_LT): Likewise.
645 (INT_CST_LT_UNSIGNED): Likewise.
646 (tree_real_cst): Unwrap comment.
647 (tree_string): Likewise.
648 (tree_complex): Likewise.
649 (IDENTIFIER_POINTER): correct cast.
650 (SAVE_EXPR_CONTEXT): Whitespace.
651 (EXPR_WFL_FILENAME_NODE): Likewise.
652 (EXPR_WFL_FILENAME): Remove parenthesis.
653 (DECL_ORIGIN): Add parenthesis.
654 (DECL_FROM_INLINE): Use NULL_TREE.
655 (build_int_2): Whitespace.
656 (build_type_variant): Add parenthesis.
657
658 * gcc/jcf-parse.c: Update copyright date.
659 (yyparse): Constify resource_filename.
660
661 2002-01-03 Graham Stott <grahams@redhat.com>
662
663 * rtl.h: Update copyright date.
664 (RTL_CHECK1): Wrap long line.
665 (RTL_CHECK2): Likewise.
666 (RTL_CHECKC1): Wrap long line and whitespace.
667 (RTL_CHECKC2): Likewise.
668 (XWINT): Whitespace.
669 (XINT): Likewise.
670 (XSTR): Likewise.
671 (XEXP): Likewise.
672 (XVEC): Likewise.
673 (XMODE): Likewise.
674 (XBITMAP): Likewise.
675 (XTREE): Likewise.
676 (XBBDEF): Likewise.
677 (XTMPL): Likewise.
678 (X0WINT): Likewise.
679 (X0INT):Likewise.
680 (X0UINT): Likewise.
681 (X0STR): Likewise.
682 (X0EXP): Likewise.
683 (X0VEC): Likewise.
684 (X0MODE): Likewise.
685 (X0BITMAP): Likewise.
686 (X0TREE): Likewise.
687 (X0BBDEF): Likewise.
688 (X0ADVFLAGS): Likewise.
689 (X0CSELIB): Likewise.
690 (X0MEMATTR): Likewise.
691 (XCWINT): Likewise.
692 (XCINT): Likewise.
693 (XCUINT): Likewise.
694 (XCSTR): Likewise.
695 (XCEXP): Likewise.
696 (XCVEC): Likewise.
697 (XCMODE): Likewise.
698 (XCBITMAP): Likewise.
699 (XCTREE): Likewise.
700 (XCBBDEF): Likewise.
701 (XCADVFLAGS): Likewise.
702 (XCCSELIB): Likewise.
703 (XC2EXP): Likewise.
704 (INSN_UID): Likewise.
705 (PREV_INSN): Likewise.
706 (PATTERN): Likewise.
707 (INSN_CODE): Likewise.
708 (PUT_REG_NOTE_KIND): Likewise.
709 (CODE_LABEL_NUMBER): Likewise.
710 (NOTE_SOURCE_FILE): Likewise.
711 (NOTE_BLOCK): Likewise.
712 (NOTE_EH_HANDLER): Likewise.
713 (NOTE_RANGE_INFO): Likewise.
714 (NOTE_LIVE_INFO): Likewise.
715 (NOTE_BASIC_BLOCK): Likewise.
716 (NOTE_EXPECTED_VALUE): Likewise.
717 (NOTE_LINE_NUMBER): Likewise.
718 (LABEL_NAME): Likewise.
719 (LABEL_NUSES): Likewise.
720 (LABEL_ALTERNATE_NAME): Likewise.
721 (ADDRESSOF_DECL): Likewise.
722 (JUMP_LABEL): Likewise.
723 (LABEL_NEXTREF): Likewise.
724 (REGNO): Likewise.
725 (ORIGINAL_REGNO: Likewise.
726 (HARD_REGISTER_NUM_P): Add parenthesis.
727 (SUBREG_REG): Whitespace.
728 (SUBREG_BYTE): Likewise.
729 (ASM_OPERANDS_TEMPLATE): Remove parenthesis.
730 (ASM_OPERANDS_OUTPUT_CONSTRAINT): Likewise.
731 (ASM_OPERANDS_OUTPUT_IDX): Likewise.
732 (ASM_OPERANDS_INPUT_VEC): Likewise.
733 (ASM_OPERANDS_INPUT_CONSTRAINT_VEC): Likewise.
734 (ASM_OPERANDS_INPUT): Likewise.
735 (ASM_OPERANDS_INPUT_LENGTH): Likewise.
736 (ASM_OPERANDS_INPUT_CONSTRAINT_EXP): Likewise.
737 (ASM_OPERANDS_INPUT_CONSTRAINT): Likewise.
738 (ASM_OPERANDS_INPUT_MODE): Likewise.
739 (ASM_OPERANDS_SOURCE_FILE): Likewise.
740 (ASM_OPERANDS_SOURCE_LINE): Likewise.
741 (MEM_SET_IN_STRUCT_P): Minor reformat.
742 (TRAP_CONDITION): Whitespace.
743 (TRAP_CODE): Likewise.
744 (COND_EXEC_TEST): Likewise.
745 (COND_EXEC_CODE): Likewise.
746 (FIND_REG_INC_NOTE): Uppercase macro args and add parenthesis.
747 (PHI_NODE_P): Add parenthesis.
748 (plus_constant): Whitespace and add parenthesis.
749
750 2002-01-03 Kazu Hirata <kazu@hxi.com>
751
752 * config/avr/avr.c: Fix comment typos.
753 * config/c4x/c4x.md: Likewise.
754 * config/dsp16xx/dsp16xx.h: Likewise.
755 * config/dsp16xx/dsp16xx.md: Likewise.
756 * config/i386/i386.md: Likewise.
757 * config/ia64/ia64.c: Likewise.
758 * config/m32r/m32r.h: Likewise.
759 * config/m68hc11/m68hc11.md: Likewise.
760 * config/mmix/mmix.c: Likewise.
761 * config/mn10200/mn10200.c: Likewise.
762 * config/romp/romp.c: Likewise.
763 * config/sh/sh.c: Likewise.
764 * config/stormy16/stormy16.c: Likewise.
765 * config/stormy16/stormy16.h: Likewise.
766 * config/stormy16/stormy16.md: Likewise.
767
768 2002-01-03 Graham Stott <grahams@redhat.com>
769
770 * loop.h: Update copyright date.
771 (LOOP_MOVABLES): Fix typo.
772 (LOOP_REGS): Likewise.
773 (LOOP_IVS): Likewise.
774
775 2002-01-03 Graham Stott <grahams@redhat.com>
776
777 * cppinit.c: Update copyright date.
778 Don't include output.h
779 * Makefile.in: Update copyright date.
780 Update dependency.
781
782 2002-01-02 Craig Rodrigues <rodrigc@gcc.gnu.org>
783
784 PR c/5226
785 * invoke.texi (-mthreads): Remove from documented RS/6000 options.
786 (-pthread) Add to RS/6000 options.
787
788 2002-01-02 Kazu Hirata <kazu@hxi.com>
789
790 * except.c: Fix comment typos.
791 * loop.c: Likewise.
792 * varasm.c: Likewise.
793 * doc/tm.texi: Fix a typo.
794
795 2002-01-02 Jakub Jelinek <jakub@redhat.com>
796
797 * c-typeck.c (output_init_element): Allow initializing static storage
798 duration objects with compound literals.
799
800 2002-01-02 Richard Henderson <rth@redhat.com>
801
802 * objc/objc-act.c (hack_method_prototype): Clear current_function_decl
803 after abusing it.
804
805 2002-01-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
806
807 * gcc.c (default_compilers): Const-ify.
808 * mips-tdump.c (stab_names): Likewise.
809 * mips-tfile.c (map_coff_types, map_coff_storage,
810 map_coff_sym_type, map_coff_derived_type, stabs_symbol,
811 pseudo_ops_t, pseudo_ops): Likewise.
812 * protoize.c (default_include): Likewise
813
814 * real.c (GET_REAL, PUT_REAL): Don't cast away const-ness.
815 (ezero, ehalf, eone, etwo, e32, elog2, esqrt2, epi): Const-ify.
816 Add array size in declaration.
817 (endian, emov, eisneg, eisinf, eisnan, eiisnan, eiisneg, emovi,
818 emovo, emovz, eiisinf, ecmpm, eaddm, esubm, m16m, edivm, emulm,
819 esub, eadd, eadd1, ediv, emul, e53toe, e64toe, e113toe, e24toe,
820 etoe113, etoe64, etoe53, etoe24, ecmp, eround, ltoe, ultoe,
821 eifrac, euifrac, e24toasc, e53toasc, e64toasc, e113toasc, etoasc,
822 efloor, efrexp, eldexp, eremain, dectoe, etodec, ibmtoe, etoibm,
823 c4xtoe, etoc4x, uditoe, ditoe, etoudi, etodi, esqrt, etens,
824 emtens, make_nan): Const-ify.
825 (TFbignan, TFlittlenan, XFbignan, XFlittlenan, DFbignan,
826 DFlittlenan, SFbignan, SFlittlenan): Make static and const-ify.
827
828 2002-01-02 Joseph S. Myers <jsm28@cam.ac.uk>
829
830 * config.gcc (ia64-*-*): Set extra_headers.
831 (alpha*-dec-osf*): Likewise. Don't use alpha/t-osf.
832 * config/alpha/t-osf: Remove.
833 * config/ia64/t-ia64 (EXTRA_HEADERS): Remove.
834
835 2002-01-02 David Edelsohn <edelsohn@gnu.org>
836
837 * config/rs6000/t-aix43: Revert previous change.
838
839 2002-01-02 Jason Merrill <jason@redhat.com>
840
841 * c-decl.c (c_expand_body): Call outlining_inline_function when
842 emitting an inline function out of line.
843
844 2002-01-02 Richard Henderson <rth@redhat.com>
845
846 * dwarf2out.c (limbo_die_node): Add created_for member.
847 (new_die): New argument created_for. Update all callers.
848 (mark_limbo_die_list): New.
849 (dwarf2out_init): Register limbo_die_list as a root.
850 (dwarf2out_finish): Force insert limbo dies into their function
851 context.
852
853 2002-01-02 Nathan Sidwell <nathan@codesourcery.com>
854
855 PR c++/5089
856 * doc/invoke.texi (-Wold-style-cast): Only warn about non-void casts.
857
858 2002-01-02 Kazu Hirata <kazu@hxi.com>
859
860 * config/h8300/fixunssfsi.c: Update copyright.
861 Fix comment typos.
862 Fix formatting.
863 * config/h8300/h8300.c: Update copyright.
864 Eliminate warnings.
865
866 2002-01-02 Kazu Hirata <kazu@hxi.com>
867
868 * config/romp/romp.c: Fix comment formatting.
869 * config/romp/romp.h: Likewise.
870 * config/romp/romp.md: Likewise.
871 * config/s390/s390.c: Likewise.
872 * config/stormy16/stormy16.c: Likewise.
873 * config/stormy16/stormy16.h: Likewise.
874
875 2002-01-02 Alexandre Oliva <aoliva@redhat.com>
876
877 * c-common.h (genrtl_expr_stmt_value): Declare.
878 * c-semantics.c (genrtl_goto_stmt): Redirect to...
879 (genrtl_goto_stmt_value): ... this new function. Pass new
880 argument down to expand_expr_stmt_value, taking
881 TREE_ADDRESSABLE into account.
882 * c-common.c (c_expand_expr): Mark the last EXPR_STMT of a
883 STMT_EXPR as addressable, i.e., one whose result we want.
884 * expr.c (expand_expr): Don't save expression statement value
885 of labeled_blocks or loop_exprs.
886 * stmt.c (expand_expr_stmt): Redirect to...
887 (expand_expr_stmt_value): ... this new function. Use new
888 argument to tell whether to save expression value.
889 (expand_end_stmt_expr): Reset last_expr_type and
890 last_expr_value if we don't have either.
891 * tree-inline.c (declare_return_variable): Mark its use
892 statement as addressable.
893 * tree.h: Document new use of TREE_ADDRESSABLE.
894 (expand_expr_stmt_value): Declare.
895
896 2002-01-01 Tom Rix <trix@redhat.com>
897
898 * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Fix for use by
899 rs6000_emit_allocate_stack.
900
901 2002-01-01 Joseph S. Myers <jsm28@cam.ac.uk>
902
903 * configure.in: Prepend ${srcdir}/config/${cpu_type}/ instead of
904 ${srcdir}/ginclude/ to every entry in extra_headers.
905 * configure: Regenerate.
906 * ginclude/math-3300.h: Rename to config/m68k/math-3300.h.
907 * ginclude/math-68881.h: Rename to config/m68k/math-68881.h.
908 * ginclude/ppc-asm.h: Rename to config/rs6000/ppc-asm.h.
909 * ginclude/proto.h: Rename to config/convex/proto.h.
910
911 Tue Jan 1 17:12:56 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
912
913 * attribs.c (handle_vector_size_attribute): Use host_integerp
914 and tree_int_cst; remove warnings.
915 * caller-save.c (insert_restore): Add cast to get rid of warning.
916 (insert_save): Likewise.
917 * emit-rtl.c (adjust_address_1, offset_address): Likewise.
918 * regmove.c (find_matches): Add temporary var to kill a warning.
919
920 2002-01-01 Douglas B Rupp <rupp@gnat.com>
921
922 * config/alpha/vms.h (DWARF2_UNWIND_INFO, EH_RETURN_HANDLER_RTX,
923 LINK_EH_SPEC, MD_FALLBACK_FRAME_STATE_FOR): Define.
924 * config/alpha/t-vms (EXTRA_PARTS): Add vms-dwarf2eh.o
925 (vms-dwarf2eh.o): Add Makefile rule.
926 * config/alpha/vms-ld.c (main): Handle vms-dwarf2eh.o.
927 * config/alpha/vms-dwarf2eh.asm: New file.
928
929 * gcc.c (delete_if_ordinary): Delete all versions.
930
931 2002-01-01 Hans-Peter Nilsson <hp@bitrange.com>
932
933 * config/mmix/mmix.md: Update FIXME to not mention
934 define_constants.
935 (MMIX_rJ_REGNUM): New define_constants constant.
936 ("movqi", "movsi", "movdi", "*movdicc_real_foldable",
937 "*movdicc_real"): Adjust contraints formatting.
938 ("*bCC_foldable"): Add %+ for P in output format and delete FIXME
939 for branch prediction.
940 ("*bCC", "*bCC_inverted_foldable", "*bCC_inverted"): Add %+ in
941 output template.
942 ("*call_real", "*call_value_real", "nonlocal_goto_receiver",
943 "*nonlocal_goto_receiver_expanded"): Use MMIX_rJ_REGNUM instead of
944 number. Delete related FIXMEs.
945 * config/mmix/mmix.h (MMIX_INCOMING_RETURN_ADDRESS_REGNUM): Change
946 from number to MMIX_rJ_REGNUM.
947 (TARGET_MASK_BRANCH_PREDICT): New.
948 (TARGET_DEFAULT): Change to TARGET_MASK_BRANCH_PREDICT.
949 (TARGET_SWITCHES): Update comment. Correct -mno-toplevel-symbols
950 value. Add -mbranch-predict and -mno-branch-predict.
951 (TARGET_VERSION): Drop date.
952 (ADDITIONAL_REGISTER_NAMES): Use MMIX_rJ_REGNUM, not number.
953 * config/mmix/mmix.c (mmix_encode_section_info): Correct condition
954 for finding out global symbols.
955 (mmix_asm_output_labelref): Revert condition for global symbol.
956 (mmix_print_operand): <case '+'>: Emit P for a likely branch.
957 (mmix_print_operand_punct_valid_p): A '+' is valid.
958
959 See ChangeLog.6 for earlier changes.
This page took 0.171997 seconds and 6 git commands to generate.