1 2002-01-04 H.J. Lu <hjl@gnu.org>
3 * toplev.c (rest_of_compilation): Fix a typo when calling
6 2002-01-03 Kazu Hirata <kazu@hxi.com>
8 * c-common.c: Fix formatting.
9 * diagnostic.c: Likewise.
11 * dwarf2out.c: Likewise.
13 2002-01-03 Kazu Hirata <kazu@hxi.com>
15 * config/h8300/h8300.c (output_logical_op): Use 'not.w' instead
16 of 'neg.w' when xoring with 0x0000ffff or 0xffff0000.
18 2002-01-03 Neil Booth <neil@daikokuya.demon.co.uk>
20 * cpperror.c: Update comments and copyright.
21 * cppexp.c, cppfiles.c, cpphash.c, cpphash.h, cppinit.c,
22 cpplex.c, cpplib.c, cpplib.h, cppmacro.c, cppmain.c: Similarly.
24 2002-01-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
26 * collect2.c (main): Use strcmp when testing for "-shared".
28 2002-01-03 Neil Booth <neil@daikokuya.demon.co.uk>
30 * cppmacro.c: Don't include intl.h. Update comments.
31 (new_number_token): Allocate enough buffer for 64-bit unsigned
32 integers; update prototype.
33 * cppmain.c: Update comments.
35 2002-01-03 William Cohen <wcohen@redhat.com>
37 * function.h (struct function): Add profile.
38 (current_function_profile): New.
39 doc/extend.texi: Update documentation.
40 * final.c (final_start_function): Use current_function_profile
41 instead of profile_flag.
42 (profile_after_prologue): Likewise.
43 * function.c (expand_function_start): Likewise.
44 (expand_function_start): Likewise.
45 * config/alpha/alpha.c (direct_call_operand):
46 (alpha_does_function_need_gp): Likewise.
47 (alpha_expand_prologue): Likewise.
48 * config/arm/arm.c (arm_expand_prologue): Likewise.
49 thumb_expand_prologue: Likewise.
50 * config/d30v/d30v.c (d30v_stack_info): Likewise.
51 * config/fr30/fr30.c (MUST_SAVE_RETURN_POINTER): Likewise.
52 (fr30_expand_prologue): Likewise.
53 * config/i386/cygwin.h (SUBTARGET_PROLOGUE): Likewise.
54 * config/i386/i386.c (ix86_osf_output_function_prologue): Likewise.
55 * config/i386/i386.h (FINALIZE_PIC): Likewise.
56 * config/i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
57 * config/i960/i960.c (i960_output_function_prologue): Likewise.
58 * config/ia64/ia64.c (ia64_compute_frame_size): Likewise.
59 * config/m32r/m32r.c (MUST_SAVE_RETURN_ADDR): Likewise.
60 (m32r_expand_prologue): Likewise.
61 * config/m88k/m88k.c (m88k_layout_frame): Likewise.
62 (m88k_expand_prologue): Likewise.
63 * config/m88k/m88k.h (ADJUST_INSN_LENGTH): Likewise.
64 * config/mips/mips.c (compute_frame_size): Likewise.
65 (mips_expand_prologue): Likewise.
66 (mips_can_use_return_insn): Likewise.
67 * config/pa/elf.h (ASM_FILE_START): Likewise.
68 * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
69 * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
70 * config/pa/som.h (ASM_FILE_START): Likewise.
71 * config/romp/romp.c (romp_using_r14): Likewise.
72 * config/rs6000/rs6000.c (first_reg_to_save): Likewise.
73 (rs6000_stack_info): Likewise.
74 * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
75 * config/rs6000/xcoff.h (ASM_FILE_START): Likewise.
76 * config/v850/v850.c (compute_register_save_size): Likewise.
78 2002-01-03 Jakub Jelinek <jakub@redhat.com>
80 * simplify-rtx.c (simplify_binary_operation) [DIV]: If
81 gen_lowpart_common fails, use gen_lowpart_SUBREG.
83 2002-01-03 Turly O'Connor <turly@apple.com>
85 * darwin.c (machopic_output_possible_stub_label): Don't generate
86 stub routines for pseudo-stubs which we've just defined.
88 2002-01-03 Kazu Hirata <kazu@hxi.com>
90 * builtins.c: Fix formatting.
91 * c-typeck.c: Likewise.
92 * combine.c: Likewise.
96 2002-01-03 Andreas Schwab <schwab@suse.de>
98 * cppfiles.c (_cpp_pop_file_buffer): Change return type to bool
99 and return true if _cpp_push_next_buffer pushed a new include
101 * cpplib.c (_cpp_pop_buffer): Only call obstack_free if
102 _cpp_pop_file_buffer did not push a new file.
103 * cpphash.h (_cpp_pop_file_buffer): Update declaration.
105 2002-01-02 Eric Christopher <echristo@redhat.com>
107 * final.c (final_scan_insn): Change 0 -> NULL_RTX in
108 FIND_REG_INC_NOTE call. Update copyright.
109 * loop.c (canonicalize_condition): Ditto.
110 * reorg.c (delete_scheduled_jump): Ditto.
112 2002-01-03 Kazu Hirata <kazu@hxi.com>
114 * gcse.c: Fix formatting.
116 2002-01-03 Graham Stott <grahams@redhat.com>
118 * mkconfig.sh: Output to config.h, hconfig.h and tconfig.h
119 forward defs for struct tags rtx_def, union_tree, rtvec_def
120 also output corresponding typedefs for rtxm, tree, and rtvcec.
122 * system.h: Move forward defs for struct tags rtx_def, union_tree,
123 rtvec_def along with corresponding typedefs for rtx, tree, and
124 rtvcec to config.h, hconfig.h, tconfig.h
126 2002-01-03 Graham Stott <grahams@redhat.com>
128 * tree.h: Update copyright date.
129 (IS_EXPR_CODE_CLASS): Add parenthesis.
130 (TREE_SET_CODE): Add whitespace.
131 (TREE_CHECK): Add parenthesis.
132 (TREE_CLASS_CODE): Add parenthesis and wrap long line.
133 (CST_OR_CONSTRUCTOR_CHECK):
134 (EXPR_CHECK): Add parenthis, whitespace and wrap line.
135 (TREE_SYMBOL_REFERENCED): Whitespace.
136 (INT_CST_LT): Likewise.
137 (INT_CST_LT_UNSIGNED): Likewise.
138 (tree_real_cst): Unwrap comment.
139 (tree_string): Likewise.
140 (tree_complex): Likewise.
141 (IDENTIFIER_POINTER): correct cast.
142 (SAVE_EXPR_CONTEXT): Whitespace.
143 (EXPR_WFL_FILENAME_NODE): Likewise.
144 (EXPR_WFL_FILENAME): Remove parenthesis.
145 (DECL_ORIGIN): Add parenthesis.
146 (DECL_FROM_INLINE): Use NULL_TREE.
147 (build_int_2): Whitespace.
148 (build_type_variant): Add parenthesis.
150 * gcc/jcf-parse.c: Update copyright date.
151 (yyparse): Constify resource_filename.
153 2002-01-03 Graham Stott <grahams@redhat.com>
155 * rtl.h: Update copyright date.
156 (RTL_CHECK1): Wrap long line.
157 (RTL_CHECK2): Likewise.
158 (RTL_CHECKC1): Wrap long line and whitespace.
159 (RTL_CHECKC2): Likewise.
177 (X0BITMAP): Likewise.
180 (X0ADVFLAGS): Likewise.
181 (X0CSELIB): Likewise.
182 (X0MEMATTR): Likewise.
190 (XCBITMAP): Likewise.
193 (XCADVFLAGS): Likewise.
194 (XCCSELIB): Likewise.
196 (INSN_UID): Likewise.
197 (PREV_INSN): Likewise.
199 (INSN_CODE): Likewise.
200 (PUT_REG_NOTE_KIND): Likewise.
201 (CODE_LABEL_NUMBER): Likewise.
202 (NOTE_SOURCE_FILE): Likewise.
203 (NOTE_BLOCK): Likewise.
204 (NOTE_EH_HANDLER): Likewise.
205 (NOTE_RANGE_INFO): Likewise.
206 (NOTE_LIVE_INFO): Likewise.
207 (NOTE_BASIC_BLOCK): Likewise.
208 (NOTE_EXPECTED_VALUE): Likewise.
209 (NOTE_LINE_NUMBER): Likewise.
210 (LABEL_NAME): Likewise.
211 (LABEL_NUSES): Likewise.
212 (LABEL_ALTERNATE_NAME): Likewise.
213 (ADDRESSOF_DECL): Likewise.
214 (JUMP_LABEL): Likewise.
215 (LABEL_NEXTREF): Likewise.
217 (ORIGINAL_REGNO: Likewise.
218 (HARD_REGISTER_NUM_P): Add parenthesis.
219 (SUBREG_REG): Whitespace.
220 (SUBREG_BYTE): Likewise.
221 (ASM_OPERANDS_TEMPLATE): Remove parenthesis.
222 (ASM_OPERANDS_OUTPUT_CONSTRAINT): Likewise.
223 (ASM_OPERANDS_OUTPUT_IDX): Likewise.
224 (ASM_OPERANDS_INPUT_VEC): Likewise.
225 (ASM_OPERANDS_INPUT_CONSTRAINT_VEC): Likewise.
226 (ASM_OPERANDS_INPUT): Likewise.
227 (ASM_OPERANDS_INPUT_LENGTH): Likewise.
228 (ASM_OPERANDS_INPUT_CONSTRAINT_EXP): Likewise.
229 (ASM_OPERANDS_INPUT_CONSTRAINT): Likewise.
230 (ASM_OPERANDS_INPUT_MODE): Likewise.
231 (ASM_OPERANDS_SOURCE_FILE): Likewise.
232 (ASM_OPERANDS_SOURCE_LINE): Likewise.
233 (MEM_SET_IN_STRUCT_P): Minor reformat.
234 (TRAP_CONDITION): Whitespace.
235 (TRAP_CODE): Likewise.
236 (COND_EXEC_TEST): Likewise.
237 (COND_EXEC_CODE): Likewise.
238 (FIND_REG_INC_NOTE): Uppercase macro args and add parenthesis.
239 (PHI_NODE_P): Add parenthesis.
240 (plus_constant): Whitespace and add parenthesis.
242 2002-01-03 Kazu Hirata <kazu@hxi.com>
244 * config/avr/avr.c: Fix comment typos.
245 * config/c4x/c4x.md: Likewise.
246 * config/dsp16xx/dsp16xx.h: Likewise.
247 * config/dsp16xx/dsp16xx.md: Likewise.
248 * config/i386/i386.md: Likewise.
249 * config/ia64/ia64.c: Likewise.
250 * config/m32r/m32r.h: Likewise.
251 * config/m68hc11/m68hc11.md: Likewise.
252 * config/mmix/mmix.c: Likewise.
253 * config/mn10200/mn10200.c: Likewise.
254 * config/romp/romp.c: Likewise.
255 * config/sh/sh.c: Likewise.
256 * config/stormy16/stormy16.c: Likewise.
257 * config/stormy16/stormy16.h: Likewise.
258 * config/stormy16/stormy16.md: Likewise.
260 2002-01-03 Graham Stott <grahams@redhat.com>
262 * loop.h: Update copyright date.
263 (LOOP_MOVABLES): Fix typo.
264 (LOOP_REGS): Likewise.
265 (LOOP_IVS): Likewise.
267 2002-01-03 Graham Stott <grahams@redhat.com>
269 * cppinit.c: Update copyright date.
270 Don't include output.h
271 * Makefile.in: Update copyright date.
274 2002-01-02 Craig Rodrigues <rodrigc@gcc.gnu.org>
277 * invoke.texi (-mthreads): Remove from documented RS/6000 options.
278 (-pthread) Add to RS/6000 options.
280 2002-01-02 Kazu Hirata <kazu@hxi.com>
282 * except.c: Fix comment typos.
284 * varasm.c: Likewise.
285 * doc/tm.texi: Fix a typo.
287 2002-01-02 Jakub Jelinek <jakub@redhat.com>
289 * c-typeck.c (output_init_element): Allow initializing static storage
290 duration objects with compound literals.
292 2002-01-02 Richard Henderson <rth@redhat.com>
294 * objc/objc-act.c (hack_method_prototype): Clear current_function_decl
297 2002-01-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
299 * gcc.c (default_compilers): Const-ify.
300 * mips-tdump.c (stab_names): Likewise.
301 * mips-tfile.c (map_coff_types, map_coff_storage,
302 map_coff_sym_type, map_coff_derived_type, stabs_symbol,
303 pseudo_ops_t, pseudo_ops): Likewise.
304 * protoize.c (default_include): Likewise
306 * real.c (GET_REAL, PUT_REAL): Don't cast away const-ness.
307 (ezero, ehalf, eone, etwo, e32, elog2, esqrt2, epi): Const-ify.
308 Add array size in declaration.
309 (endian, emov, eisneg, eisinf, eisnan, eiisnan, eiisneg, emovi,
310 emovo, emovz, eiisinf, ecmpm, eaddm, esubm, m16m, edivm, emulm,
311 esub, eadd, eadd1, ediv, emul, e53toe, e64toe, e113toe, e24toe,
312 etoe113, etoe64, etoe53, etoe24, ecmp, eround, ltoe, ultoe,
313 eifrac, euifrac, e24toasc, e53toasc, e64toasc, e113toasc, etoasc,
314 efloor, efrexp, eldexp, eremain, dectoe, etodec, ibmtoe, etoibm,
315 c4xtoe, etoc4x, uditoe, ditoe, etoudi, etodi, esqrt, etens,
316 emtens, make_nan): Const-ify.
317 (TFbignan, TFlittlenan, XFbignan, XFlittlenan, DFbignan,
318 DFlittlenan, SFbignan, SFlittlenan): Make static and const-ify.
320 2002-01-02 Joseph S. Myers <jsm28@cam.ac.uk>
322 * config.gcc (ia64-*-*): Set extra_headers.
323 (alpha*-dec-osf*): Likewise. Don't use alpha/t-osf.
324 * config/alpha/t-osf: Remove.
325 * config/ia64/t-ia64 (EXTRA_HEADERS): Remove.
327 2002-01-02 David Edelsohn <edelsohn@gnu.org>
329 * config/rs6000/t-aix43: Revert previous change.
331 2002-01-02 Jason Merrill <jason@redhat.com>
333 * c-decl.c (c_expand_body): Call outlining_inline_function when
334 emitting an inline function out of line.
336 2002-01-02 Richard Henderson <rth@redhat.com>
338 * dwarf2out.c (limbo_die_node): Add created_for member.
339 (new_die): New argument created_for. Update all callers.
340 (mark_limbo_die_list): New.
341 (dwarf2out_init): Register limbo_die_list as a root.
342 (dwarf2out_finish): Force insert limbo dies into their function
345 2002-01-02 Nathan Sidwell <nathan@codesourcery.com>
348 * doc/invoke.texi (-Wold-style-cast): Only warn about non-void casts.
350 2002-01-02 Kazu Hirata <kazu@hxi.com>
352 * config/h8300/fixunssfsi.c: Update copyright.
355 * config/h8300/h8300.c: Update copyright.
358 2002-01-02 Kazu Hirata <kazu@hxi.com>
360 * config/romp/romp.c: Fix comment formatting.
361 * config/romp/romp.h: Likewise.
362 * config/romp/romp.md: Likewise.
363 * config/s390/s390.c: Likewise.
364 * config/stormy16/stormy16.c: Likewise.
365 * config/stormy16/stormy16.h: Likewise.
367 2002-01-02 Alexandre Oliva <aoliva@redhat.com>
369 * c-common.h (genrtl_expr_stmt_value): Declare.
370 * c-semantics.c (genrtl_goto_stmt): Redirect to...
371 (genrtl_goto_stmt_value): ... this new function. Pass new
372 argument down to expand_expr_stmt_value, taking
373 TREE_ADDRESSABLE into account.
374 * c-common.c (c_expand_expr): Mark the last EXPR_STMT of a
375 STMT_EXPR as addressable, i.e., one whose result we want.
376 * expr.c (expand_expr): Don't save expression statement value
377 of labeled_blocks or loop_exprs.
378 * stmt.c (expand_expr_stmt): Redirect to...
379 (expand_expr_stmt_value): ... this new function. Use new
380 argument to tell whether to save expression value.
381 (expand_end_stmt_expr): Reset last_expr_type and
382 last_expr_value if we don't have either.
383 * tree-inline.c (declare_return_variable): Mark its use
384 statement as addressable.
385 * tree.h: Document new use of TREE_ADDRESSABLE.
386 (expand_expr_stmt_value): Declare.
388 2002-01-01 Tom Rix <trix@redhat.com>
390 * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Fix for use by
391 rs6000_emit_allocate_stack.
393 2002-01-01 Joseph S. Myers <jsm28@cam.ac.uk>
395 * configure.in: Prepend ${srcdir}/config/${cpu_type}/ instead of
396 ${srcdir}/ginclude/ to every entry in extra_headers.
397 * configure: Regenerate.
398 * ginclude/math-3300.h: Rename to config/m68k/math-3300.h.
399 * ginclude/math-68881.h: Rename to config/m68k/math-68881.h.
400 * ginclude/ppc-asm.h: Rename to config/rs6000/ppc-asm.h.
401 * ginclude/proto.h: Rename to config/convex/proto.h.
403 Tue Jan 1 17:12:56 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
405 * attribs.c (handle_vector_size_attribute): Use host_integerp
406 and tree_int_cst; remove warnings.
407 * caller-save.c (insert_restore): Add cast to get rid of warning.
408 (insert_save): Likewise.
409 * emit-rtl.c (adjust_address_1, offset_address): Likewise.
410 * regmove.c (find_matches): Add temporary var to kill a warning.
412 2002-01-01 Douglas B Rupp <rupp@gnat.com>
414 * config/alpha/vms.h (DWARF2_UNWIND_INFO, EH_RETURN_HANDLER_RTX,
415 LINK_EH_SPEC, MD_FALLBACK_FRAME_STATE_FOR): Define.
416 * config/alpha/t-vms (EXTRA_PARTS): Add vms-dwarf2eh.o
417 (vms-dwarf2eh.o): Add Makefile rule.
418 * config/alpha/vms-ld.c (main): Handle vms-dwarf2eh.o.
419 * config/alpha/vms-dwarf2eh.asm: New file.
421 * gcc.c (delete_if_ordinary): Delete all versions.
423 2002-01-01 Hans-Peter Nilsson <hp@bitrange.com>
425 * config/mmix/mmix.md: Update FIXME to not mention
427 (MMIX_rJ_REGNUM): New define_constants constant.
428 ("movqi", "movsi", "movdi", "*movdicc_real_foldable",
429 "*movdicc_real"): Adjust contraints formatting.
430 ("*bCC_foldable"): Add %+ for P in output format and delete FIXME
431 for branch prediction.
432 ("*bCC", "*bCC_inverted_foldable", "*bCC_inverted"): Add %+ in
434 ("*call_real", "*call_value_real", "nonlocal_goto_receiver",
435 "*nonlocal_goto_receiver_expanded"): Use MMIX_rJ_REGNUM instead of
436 number. Delete related FIXMEs.
437 * config/mmix/mmix.h (MMIX_INCOMING_RETURN_ADDRESS_REGNUM): Change
438 from number to MMIX_rJ_REGNUM.
439 (TARGET_MASK_BRANCH_PREDICT): New.
440 (TARGET_DEFAULT): Change to TARGET_MASK_BRANCH_PREDICT.
441 (TARGET_SWITCHES): Update comment. Correct -mno-toplevel-symbols
442 value. Add -mbranch-predict and -mno-branch-predict.
443 (TARGET_VERSION): Drop date.
444 (ADDITIONAL_REGISTER_NAMES): Use MMIX_rJ_REGNUM, not number.
445 * config/mmix/mmix.c (mmix_encode_section_info): Correct condition
446 for finding out global symbols.
447 (mmix_asm_output_labelref): Revert condition for global symbol.
448 (mmix_print_operand): <case '+'>: Emit P for a likely branch.
449 (mmix_print_operand_punct_valid_p): A '+' is valid.
451 See ChangeLog.6 for earlier changes.