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