1 2002-01-06 Craig Rodrigues <rodrigc@gcc.gnu.org>
3 * emit-rtl.c (gen_highpart): Add check for NULL_RTX.
5 2002-01-06 Jakub Jelinek <jakub@redhat.com>
7 * objc/objc-act.c (handle_impent): Use assemble_variable to emit
10 2002-01-06 Craig Rodrigues <rodrigc@gcc.gnu.org>
12 * doc/install.texi (sparcv9-*-solaris2*): Add documentation.
14 2002-01-06 Richard Henderson <rth@redhat.com>
16 * reorg.c (emit_delay_sequence): Remove death notes, not merely
17 nop them out. Increment label reference count for REG_LABEL.
18 (fill_slots_from_thread): Frob label reference count around
21 2002-01-05 Richard Henderson <rth@redhat.com>
23 * cfgcleanup.c (try_forward_edges): Detect infinite loops while
26 2002-01-05 Richard Henderson <rth@redhat.com>
28 * c-decl.c (c_expand_body): Don't call outlining_inline_function.
29 * integrate.c (output_inline_function): Likewise.
30 * toplev.c (rest_of_compilation): Do it here instead. Move call
31 to remove_unnecessary_notes after emitting abstract instance.
32 Force an emitted nested function to have its parent emited as well.
33 * dwarf2out.c (loc_descriptor_from_tree): Read mode after checking
35 (rtl_for_decl_location): Do not look at reload data structures
36 before reload has run.
38 2002-01-05 Kazu Hirata <kazu@hxi.com>
40 * cse.c: Fix formatting.
41 * dwarf2asm.c: Likewise.
42 * dwarf2out.c: Likewise.
45 * function.c: Likewise.
47 * gencheck.c: Likewise.
48 * genrecog.c: Likewise.
49 * ggc-common.c: Likewise.
50 * ggc-page.c: Likewise.
53 2002-01-05 Kazu Hirata <kazu@hxi.com>
55 * combine.c: Fix formatting.
57 2002-01-05 Craig Rodrigues <crodrigu@bbn.com>
60 * config/ia64/ia64.h (RENAME_EXTENDED_BLOCKS): Remove.
62 2002-01-05 David Edelsohn <edelsohn@gnu.org>
64 * config/rs6000/rs6000.h (TARGET_POWERPC): For IN_LIBGCC2, define
65 as 1 for __powerpc64__ as well.
67 * config/rs6000/t-aix43 (T_ADAFLAGS): Define.
69 * alias.c (find_base_value, PLUS/MINUS): If we found a base,
72 2002-01-05 Daniel Berlin <dan@dberlin.org>
74 * lcm.c: Revert change, due to performance regression it causes on
75 SPEC because it's slightly more conservative (sigh, I hate
78 Sat Jan 5 11:52:05 CET 2002 Jan Hubicka <jh@suse.cz>
80 * cfgcleanup.c (try_forward_edges): Allow multiple jump threading.
82 2002-01-05 Neil Booth <neil@daikokuya.demon.co.uk>
84 * doc/cppinternals.texi: Update.
86 2002-01-05 Hans-Peter Nilsson <hp@bitrange.com>
88 * doc/invoke.texi (Option Summary) <MMIX Options>: Document
89 -mbranch-predict, -mreg-stack-fill-bug-workaround and their
91 (MMIX Options): Ditto. Fix item/itemx typo for -mno-zero-extend.
92 * config/mmix/mmix.c (mmix_target_asm_function_prologue): Rework
93 kludge for pre-october-14th mmix versions to handle new-found bug
94 with PUSHJ/PUSHGO and the register stack.
95 * config/mmix/mmix.h (struct machine_function): Rename member
96 has_call_value_without_parameters to has_call_without_parameters.
98 (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_DEFAULT
99 TARGET_MASK_BRANCH_PREDICT): New macros.
100 (TARGET_SWITCHES): New options -mreg-stack-fill-bug-workaround,
101 -mno-reg-stack-fill-bug-workaround.
102 * config/mmix/mmix.md ("call"): Set struct machine member
103 has_call_without_parameters.
105 Sat Jan 5 02:20:22 CET 2002 Jan Hubicka <jh@suse.cz>
107 * cfgcleanup.c (thread_jump): Fix handling of reversed branches.
109 Sat Jan 5 01:35:29 CET 2002 Jan Hubicka <jh@suse.cz>
111 * cfgcleanup.c: Include tm_p.h
112 (mark_effect): Fix handling of hard register; fix handling of SET
114 2002-01-04 Kazu Hirata <kazu@hxi.com>
116 * config/h8300/h8300.md (anonymous patterns): Check that
117 operands are registers before using REGNO on them.
119 2002-01-03 Roland McGrath <roland@frob.com>
121 * doc/invoke.texi (RS/6000 and PowerPC Options): Add -mcall-gnu.
123 2002-01-04 Jakub Jelinek <jakub@redhat.com>
125 * tree.h (expand_expr_stmt_value): Add maybe_last argument.
126 * c-common.h (genrtl_expr_stmt_value): Likewise.
127 * stmt.c (expand_expr_stmt): Pass 1 as maybe_last.
128 (expand_expr_stmt_value): Add maybe_last argument.
129 Don't warn about statement with no effect if it is the last statement
130 in expression statement.
131 * c-semantics.c (genrtl_expr_stmt): Pass 1 as maybe_last.
132 (genrtl_expr_stmt_value): Add maybe_last argument, pass it down to
133 expand_expr_stmt_value.
134 (expand_stmt) [EXPR_STMT]: Pass 1 as maybe_last to
135 genrtl_expr_stmt_value if t is the last EXPR_STMT in its scope.
136 * expr.c (expand_expr) [LABELED_BLOCK_EXPR, LOOP_EXPR]: Pass 1
137 as maybe_last to expand_expr_stmt_value.
139 Fri Jan 4 11:45:05 2002 Jeffrey A Law (law@redhat.com)
141 * c-common.c (c_expand_start_cond): Expect the IF_STMT node to
142 be passed in, do not build it.
143 (c_begin_if_stmt): New function.
144 (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
145 * c-common.h (c_expand_start_cond): Update prototype.
146 (c_begin_if_stmt): Prototype new function.
147 (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
148 * c-parse.in (if_prefix): Use c_begin_if_stmt,
149 c_begin_while_stmt and c_finish_while_stmt_cond.
151 2002-01-04 William Cohen <wcohen@redhat.com>
153 * config/pa/elf.h (ASM_FILE_START): Reverted to profile_flag.
154 * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
155 * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
156 * config/pa/som.h (ASM_FILE_START): Likewise.
158 2001-01-04 Daniel Berlin <dan@cgsoftware.com>
160 * lcm.c: Include df.h.
161 Add available_transfer_function prototype.
162 (compute_available): Rework to use iterative dataflow framework.
163 (struct bb_info): s/bb_info/lcm_bb_info/g to avoid conflict
165 (available_transfer_function): New function.
167 * Makefile.in (lcm.o): add df.h to dependencies.
169 2002-01-04 Richard Henderson <rth@redhat.com>
171 * config/alpha/alpha.c (some_operand): Accept HIGH.
172 (input_operand): Likewise; accept simple references to globals.
173 (alpha_const_ok_for_letter_p): New, outlined from alpha.h.
174 (alpha_const_double_ok_for_letter_p): Likewise.
175 (alpha_extra_constraint): Likewise.
176 (alpha_preferred_reload_class): Likewise. Do not force
177 symbolic constants to memory.
178 (alpha_legitimate_address_p): Accept simple references
179 to small_symbolic_operand.
180 (alpha_legitimize_address): New arg scratch. Be prepared to be
181 called when no_new_pseudos. Emit simple symbolic references.
182 Split integers into low, high, and rest.
183 (alpha_expand_mov): Use alpha_legitimize_address.
184 (some_small_symbolic_mem_operand): New.
185 (split_small_symbolic_mem_operand): New.
186 * config/alpha/alpha-protos.h: Update.
187 * config/alpha/alpha.h (CONST_OK_FOR_LETTER_P): Out-line.
188 (CONST_DOUBLE_OK_FOR_LETTER_P): Likewise.
189 (EXTRA_CONSTRAINT): Likewise.
190 (PREFERRED_RELOAD_CLASS): Likewise.
191 (LEGITIMIZE_ADDRESS): Update for alpha_legitimize_address change.
192 (PREDICATE_CODES): Update.
193 * config/alpha/alpha.md: New post-reload splitters to convert
194 simplfied symbolic operands to the form that references $29.
195 (divide expanders): Use emit_move_insn, not gen_movdi_er_high_g.
196 (movdi_er_nofix, movdi_er_fix): Accept any symbolic operand.
198 2002-01-03 Richard Henderson <rth@redhat.com>
200 * local-alloc.c (function_invariant_p): Update commentary.
202 2002-01-04 H.J. Lu <hjl@gnu.org>
204 * toplev.c (rest_of_compilation): Fix a typo when calling
207 2002-01-03 Kazu Hirata <kazu@hxi.com>
209 * c-common.c: Fix formatting.
210 * diagnostic.c: Likewise.
211 * doloop.c: Likewise.
212 * dwarf2out.c: Likewise.
214 2002-01-03 Kazu Hirata <kazu@hxi.com>
216 * config/h8300/h8300.c (output_logical_op): Use 'not.w' instead
217 of 'neg.w' when xoring with 0x0000ffff or 0xffff0000.
219 2002-01-03 Neil Booth <neil@daikokuya.demon.co.uk>
221 * cpperror.c: Update comments and copyright.
222 * cppexp.c, cppfiles.c, cpphash.c, cpphash.h, cppinit.c,
223 cpplex.c, cpplib.c, cpplib.h, cppmacro.c, cppmain.c: Similarly.
225 2002-01-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
227 * collect2.c (main): Use strcmp when testing for "-shared".
229 2002-01-03 Neil Booth <neil@daikokuya.demon.co.uk>
231 * cppmacro.c: Don't include intl.h. Update comments.
232 (new_number_token): Allocate enough buffer for 64-bit unsigned
233 integers; update prototype.
234 * cppmain.c: Update comments.
236 2002-01-03 William Cohen <wcohen@redhat.com>
238 * function.h (struct function): Add profile.
239 (current_function_profile): New.
240 doc/extend.texi: Update documentation.
241 * final.c (final_start_function): Use current_function_profile
242 instead of profile_flag.
243 (profile_after_prologue): Likewise.
244 * function.c (expand_function_start): Likewise.
245 (expand_function_start): Likewise.
246 * config/alpha/alpha.c (direct_call_operand):
247 (alpha_does_function_need_gp): Likewise.
248 (alpha_expand_prologue): Likewise.
249 * config/arm/arm.c (arm_expand_prologue): Likewise.
250 thumb_expand_prologue: Likewise.
251 * config/d30v/d30v.c (d30v_stack_info): Likewise.
252 * config/fr30/fr30.c (MUST_SAVE_RETURN_POINTER): Likewise.
253 (fr30_expand_prologue): Likewise.
254 * config/i386/cygwin.h (SUBTARGET_PROLOGUE): Likewise.
255 * config/i386/i386.c (ix86_osf_output_function_prologue): Likewise.
256 * config/i386/i386.h (FINALIZE_PIC): Likewise.
257 * config/i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
258 * config/i960/i960.c (i960_output_function_prologue): Likewise.
259 * config/ia64/ia64.c (ia64_compute_frame_size): Likewise.
260 * config/m32r/m32r.c (MUST_SAVE_RETURN_ADDR): Likewise.
261 (m32r_expand_prologue): Likewise.
262 * config/m88k/m88k.c (m88k_layout_frame): Likewise.
263 (m88k_expand_prologue): Likewise.
264 * config/m88k/m88k.h (ADJUST_INSN_LENGTH): Likewise.
265 * config/mips/mips.c (compute_frame_size): Likewise.
266 (mips_expand_prologue): Likewise.
267 (mips_can_use_return_insn): Likewise.
268 * config/pa/elf.h (ASM_FILE_START): Likewise.
269 * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
270 * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
271 * config/pa/som.h (ASM_FILE_START): Likewise.
272 * config/romp/romp.c (romp_using_r14): Likewise.
273 * config/rs6000/rs6000.c (first_reg_to_save): Likewise.
274 (rs6000_stack_info): Likewise.
275 * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
276 * config/rs6000/xcoff.h (ASM_FILE_START): Likewise.
277 * config/v850/v850.c (compute_register_save_size): Likewise.
279 2002-01-03 Jakub Jelinek <jakub@redhat.com>
281 * simplify-rtx.c (simplify_binary_operation) [DIV]: If
282 gen_lowpart_common fails, use gen_lowpart_SUBREG.
284 2002-01-03 Turly O'Connor <turly@apple.com>
286 * darwin.c (machopic_output_possible_stub_label): Don't generate
287 stub routines for pseudo-stubs which we've just defined.
289 2002-01-03 Kazu Hirata <kazu@hxi.com>
291 * builtins.c: Fix formatting.
292 * c-typeck.c: Likewise.
293 * combine.c: Likewise.
297 2002-01-03 Andreas Schwab <schwab@suse.de>
299 * cppfiles.c (_cpp_pop_file_buffer): Change return type to bool
300 and return true if _cpp_push_next_buffer pushed a new include
302 * cpplib.c (_cpp_pop_buffer): Only call obstack_free if
303 _cpp_pop_file_buffer did not push a new file.
304 * cpphash.h (_cpp_pop_file_buffer): Update declaration.
306 2002-01-02 Eric Christopher <echristo@redhat.com>
308 * final.c (final_scan_insn): Change 0 -> NULL_RTX in
309 FIND_REG_INC_NOTE call. Update copyright.
310 * loop.c (canonicalize_condition): Ditto.
311 * reorg.c (delete_scheduled_jump): Ditto.
313 2002-01-03 Kazu Hirata <kazu@hxi.com>
315 * gcse.c: Fix formatting.
317 2002-01-03 Graham Stott <grahams@redhat.com>
319 * mkconfig.sh: Output to config.h, hconfig.h and tconfig.h
320 forward defs for struct tags rtx_def, union_tree, rtvec_def
321 also output corresponding typedefs for rtxm, tree, and rtvcec.
323 * system.h: Move forward defs for struct tags rtx_def, union_tree,
324 rtvec_def along with corresponding typedefs for rtx, tree, and
325 rtvcec to config.h, hconfig.h, tconfig.h
327 2002-01-03 Graham Stott <grahams@redhat.com>
329 * tree.h: Update copyright date.
330 (IS_EXPR_CODE_CLASS): Add parenthesis.
331 (TREE_SET_CODE): Add whitespace.
332 (TREE_CHECK): Add parenthesis.
333 (TREE_CLASS_CODE): Add parenthesis and wrap long line.
334 (CST_OR_CONSTRUCTOR_CHECK):
335 (EXPR_CHECK): Add parenthis, whitespace and wrap line.
336 (TREE_SYMBOL_REFERENCED): Whitespace.
337 (INT_CST_LT): Likewise.
338 (INT_CST_LT_UNSIGNED): Likewise.
339 (tree_real_cst): Unwrap comment.
340 (tree_string): Likewise.
341 (tree_complex): Likewise.
342 (IDENTIFIER_POINTER): correct cast.
343 (SAVE_EXPR_CONTEXT): Whitespace.
344 (EXPR_WFL_FILENAME_NODE): Likewise.
345 (EXPR_WFL_FILENAME): Remove parenthesis.
346 (DECL_ORIGIN): Add parenthesis.
347 (DECL_FROM_INLINE): Use NULL_TREE.
348 (build_int_2): Whitespace.
349 (build_type_variant): Add parenthesis.
351 * gcc/jcf-parse.c: Update copyright date.
352 (yyparse): Constify resource_filename.
354 2002-01-03 Graham Stott <grahams@redhat.com>
356 * rtl.h: Update copyright date.
357 (RTL_CHECK1): Wrap long line.
358 (RTL_CHECK2): Likewise.
359 (RTL_CHECKC1): Wrap long line and whitespace.
360 (RTL_CHECKC2): Likewise.
378 (X0BITMAP): Likewise.
381 (X0ADVFLAGS): Likewise.
382 (X0CSELIB): Likewise.
383 (X0MEMATTR): Likewise.
391 (XCBITMAP): Likewise.
394 (XCADVFLAGS): Likewise.
395 (XCCSELIB): Likewise.
397 (INSN_UID): Likewise.
398 (PREV_INSN): Likewise.
400 (INSN_CODE): Likewise.
401 (PUT_REG_NOTE_KIND): Likewise.
402 (CODE_LABEL_NUMBER): Likewise.
403 (NOTE_SOURCE_FILE): Likewise.
404 (NOTE_BLOCK): Likewise.
405 (NOTE_EH_HANDLER): Likewise.
406 (NOTE_RANGE_INFO): Likewise.
407 (NOTE_LIVE_INFO): Likewise.
408 (NOTE_BASIC_BLOCK): Likewise.
409 (NOTE_EXPECTED_VALUE): Likewise.
410 (NOTE_LINE_NUMBER): Likewise.
411 (LABEL_NAME): Likewise.
412 (LABEL_NUSES): Likewise.
413 (LABEL_ALTERNATE_NAME): Likewise.
414 (ADDRESSOF_DECL): Likewise.
415 (JUMP_LABEL): Likewise.
416 (LABEL_NEXTREF): Likewise.
418 (ORIGINAL_REGNO: Likewise.
419 (HARD_REGISTER_NUM_P): Add parenthesis.
420 (SUBREG_REG): Whitespace.
421 (SUBREG_BYTE): Likewise.
422 (ASM_OPERANDS_TEMPLATE): Remove parenthesis.
423 (ASM_OPERANDS_OUTPUT_CONSTRAINT): Likewise.
424 (ASM_OPERANDS_OUTPUT_IDX): Likewise.
425 (ASM_OPERANDS_INPUT_VEC): Likewise.
426 (ASM_OPERANDS_INPUT_CONSTRAINT_VEC): Likewise.
427 (ASM_OPERANDS_INPUT): Likewise.
428 (ASM_OPERANDS_INPUT_LENGTH): Likewise.
429 (ASM_OPERANDS_INPUT_CONSTRAINT_EXP): Likewise.
430 (ASM_OPERANDS_INPUT_CONSTRAINT): Likewise.
431 (ASM_OPERANDS_INPUT_MODE): Likewise.
432 (ASM_OPERANDS_SOURCE_FILE): Likewise.
433 (ASM_OPERANDS_SOURCE_LINE): Likewise.
434 (MEM_SET_IN_STRUCT_P): Minor reformat.
435 (TRAP_CONDITION): Whitespace.
436 (TRAP_CODE): Likewise.
437 (COND_EXEC_TEST): Likewise.
438 (COND_EXEC_CODE): Likewise.
439 (FIND_REG_INC_NOTE): Uppercase macro args and add parenthesis.
440 (PHI_NODE_P): Add parenthesis.
441 (plus_constant): Whitespace and add parenthesis.
443 2002-01-03 Kazu Hirata <kazu@hxi.com>
445 * config/avr/avr.c: Fix comment typos.
446 * config/c4x/c4x.md: Likewise.
447 * config/dsp16xx/dsp16xx.h: Likewise.
448 * config/dsp16xx/dsp16xx.md: Likewise.
449 * config/i386/i386.md: Likewise.
450 * config/ia64/ia64.c: Likewise.
451 * config/m32r/m32r.h: Likewise.
452 * config/m68hc11/m68hc11.md: Likewise.
453 * config/mmix/mmix.c: Likewise.
454 * config/mn10200/mn10200.c: Likewise.
455 * config/romp/romp.c: Likewise.
456 * config/sh/sh.c: Likewise.
457 * config/stormy16/stormy16.c: Likewise.
458 * config/stormy16/stormy16.h: Likewise.
459 * config/stormy16/stormy16.md: Likewise.
461 2002-01-03 Graham Stott <grahams@redhat.com>
463 * loop.h: Update copyright date.
464 (LOOP_MOVABLES): Fix typo.
465 (LOOP_REGS): Likewise.
466 (LOOP_IVS): Likewise.
468 2002-01-03 Graham Stott <grahams@redhat.com>
470 * cppinit.c: Update copyright date.
471 Don't include output.h
472 * Makefile.in: Update copyright date.
475 2002-01-02 Craig Rodrigues <rodrigc@gcc.gnu.org>
478 * invoke.texi (-mthreads): Remove from documented RS/6000 options.
479 (-pthread) Add to RS/6000 options.
481 2002-01-02 Kazu Hirata <kazu@hxi.com>
483 * except.c: Fix comment typos.
485 * varasm.c: Likewise.
486 * doc/tm.texi: Fix a typo.
488 2002-01-02 Jakub Jelinek <jakub@redhat.com>
490 * c-typeck.c (output_init_element): Allow initializing static storage
491 duration objects with compound literals.
493 2002-01-02 Richard Henderson <rth@redhat.com>
495 * objc/objc-act.c (hack_method_prototype): Clear current_function_decl
498 2002-01-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
500 * gcc.c (default_compilers): Const-ify.
501 * mips-tdump.c (stab_names): Likewise.
502 * mips-tfile.c (map_coff_types, map_coff_storage,
503 map_coff_sym_type, map_coff_derived_type, stabs_symbol,
504 pseudo_ops_t, pseudo_ops): Likewise.
505 * protoize.c (default_include): Likewise
507 * real.c (GET_REAL, PUT_REAL): Don't cast away const-ness.
508 (ezero, ehalf, eone, etwo, e32, elog2, esqrt2, epi): Const-ify.
509 Add array size in declaration.
510 (endian, emov, eisneg, eisinf, eisnan, eiisnan, eiisneg, emovi,
511 emovo, emovz, eiisinf, ecmpm, eaddm, esubm, m16m, edivm, emulm,
512 esub, eadd, eadd1, ediv, emul, e53toe, e64toe, e113toe, e24toe,
513 etoe113, etoe64, etoe53, etoe24, ecmp, eround, ltoe, ultoe,
514 eifrac, euifrac, e24toasc, e53toasc, e64toasc, e113toasc, etoasc,
515 efloor, efrexp, eldexp, eremain, dectoe, etodec, ibmtoe, etoibm,
516 c4xtoe, etoc4x, uditoe, ditoe, etoudi, etodi, esqrt, etens,
517 emtens, make_nan): Const-ify.
518 (TFbignan, TFlittlenan, XFbignan, XFlittlenan, DFbignan,
519 DFlittlenan, SFbignan, SFlittlenan): Make static and const-ify.
521 2002-01-02 Joseph S. Myers <jsm28@cam.ac.uk>
523 * config.gcc (ia64-*-*): Set extra_headers.
524 (alpha*-dec-osf*): Likewise. Don't use alpha/t-osf.
525 * config/alpha/t-osf: Remove.
526 * config/ia64/t-ia64 (EXTRA_HEADERS): Remove.
528 2002-01-02 David Edelsohn <edelsohn@gnu.org>
530 * config/rs6000/t-aix43: Revert previous change.
532 2002-01-02 Jason Merrill <jason@redhat.com>
534 * c-decl.c (c_expand_body): Call outlining_inline_function when
535 emitting an inline function out of line.
537 2002-01-02 Richard Henderson <rth@redhat.com>
539 * dwarf2out.c (limbo_die_node): Add created_for member.
540 (new_die): New argument created_for. Update all callers.
541 (mark_limbo_die_list): New.
542 (dwarf2out_init): Register limbo_die_list as a root.
543 (dwarf2out_finish): Force insert limbo dies into their function
546 2002-01-02 Nathan Sidwell <nathan@codesourcery.com>
549 * doc/invoke.texi (-Wold-style-cast): Only warn about non-void casts.
551 2002-01-02 Kazu Hirata <kazu@hxi.com>
553 * config/h8300/fixunssfsi.c: Update copyright.
556 * config/h8300/h8300.c: Update copyright.
559 2002-01-02 Kazu Hirata <kazu@hxi.com>
561 * config/romp/romp.c: Fix comment formatting.
562 * config/romp/romp.h: Likewise.
563 * config/romp/romp.md: Likewise.
564 * config/s390/s390.c: Likewise.
565 * config/stormy16/stormy16.c: Likewise.
566 * config/stormy16/stormy16.h: Likewise.
568 2002-01-02 Alexandre Oliva <aoliva@redhat.com>
570 * c-common.h (genrtl_expr_stmt_value): Declare.
571 * c-semantics.c (genrtl_goto_stmt): Redirect to...
572 (genrtl_goto_stmt_value): ... this new function. Pass new
573 argument down to expand_expr_stmt_value, taking
574 TREE_ADDRESSABLE into account.
575 * c-common.c (c_expand_expr): Mark the last EXPR_STMT of a
576 STMT_EXPR as addressable, i.e., one whose result we want.
577 * expr.c (expand_expr): Don't save expression statement value
578 of labeled_blocks or loop_exprs.
579 * stmt.c (expand_expr_stmt): Redirect to...
580 (expand_expr_stmt_value): ... this new function. Use new
581 argument to tell whether to save expression value.
582 (expand_end_stmt_expr): Reset last_expr_type and
583 last_expr_value if we don't have either.
584 * tree-inline.c (declare_return_variable): Mark its use
585 statement as addressable.
586 * tree.h: Document new use of TREE_ADDRESSABLE.
587 (expand_expr_stmt_value): Declare.
589 2002-01-01 Tom Rix <trix@redhat.com>
591 * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Fix for use by
592 rs6000_emit_allocate_stack.
594 2002-01-01 Joseph S. Myers <jsm28@cam.ac.uk>
596 * configure.in: Prepend ${srcdir}/config/${cpu_type}/ instead of
597 ${srcdir}/ginclude/ to every entry in extra_headers.
598 * configure: Regenerate.
599 * ginclude/math-3300.h: Rename to config/m68k/math-3300.h.
600 * ginclude/math-68881.h: Rename to config/m68k/math-68881.h.
601 * ginclude/ppc-asm.h: Rename to config/rs6000/ppc-asm.h.
602 * ginclude/proto.h: Rename to config/convex/proto.h.
604 Tue Jan 1 17:12:56 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
606 * attribs.c (handle_vector_size_attribute): Use host_integerp
607 and tree_int_cst; remove warnings.
608 * caller-save.c (insert_restore): Add cast to get rid of warning.
609 (insert_save): Likewise.
610 * emit-rtl.c (adjust_address_1, offset_address): Likewise.
611 * regmove.c (find_matches): Add temporary var to kill a warning.
613 2002-01-01 Douglas B Rupp <rupp@gnat.com>
615 * config/alpha/vms.h (DWARF2_UNWIND_INFO, EH_RETURN_HANDLER_RTX,
616 LINK_EH_SPEC, MD_FALLBACK_FRAME_STATE_FOR): Define.
617 * config/alpha/t-vms (EXTRA_PARTS): Add vms-dwarf2eh.o
618 (vms-dwarf2eh.o): Add Makefile rule.
619 * config/alpha/vms-ld.c (main): Handle vms-dwarf2eh.o.
620 * config/alpha/vms-dwarf2eh.asm: New file.
622 * gcc.c (delete_if_ordinary): Delete all versions.
624 2002-01-01 Hans-Peter Nilsson <hp@bitrange.com>
626 * config/mmix/mmix.md: Update FIXME to not mention
628 (MMIX_rJ_REGNUM): New define_constants constant.
629 ("movqi", "movsi", "movdi", "*movdicc_real_foldable",
630 "*movdicc_real"): Adjust contraints formatting.
631 ("*bCC_foldable"): Add %+ for P in output format and delete FIXME
632 for branch prediction.
633 ("*bCC", "*bCC_inverted_foldable", "*bCC_inverted"): Add %+ in
635 ("*call_real", "*call_value_real", "nonlocal_goto_receiver",
636 "*nonlocal_goto_receiver_expanded"): Use MMIX_rJ_REGNUM instead of
637 number. Delete related FIXMEs.
638 * config/mmix/mmix.h (MMIX_INCOMING_RETURN_ADDRESS_REGNUM): Change
639 from number to MMIX_rJ_REGNUM.
640 (TARGET_MASK_BRANCH_PREDICT): New.
641 (TARGET_DEFAULT): Change to TARGET_MASK_BRANCH_PREDICT.
642 (TARGET_SWITCHES): Update comment. Correct -mno-toplevel-symbols
643 value. Add -mbranch-predict and -mno-branch-predict.
644 (TARGET_VERSION): Drop date.
645 (ADDITIONAL_REGISTER_NAMES): Use MMIX_rJ_REGNUM, not number.
646 * config/mmix/mmix.c (mmix_encode_section_info): Correct condition
647 for finding out global symbols.
648 (mmix_asm_output_labelref): Revert condition for global symbol.
649 (mmix_print_operand): <case '+'>: Emit P for a likely branch.
650 (mmix_print_operand_punct_valid_p): A '+' is valid.
652 See ChangeLog.6 for earlier changes.