]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/ChangeLog
c-common.c: Fix formatting.
[thirdparty/gcc.git] / gcc / ChangeLog
CommitLineData
173bf5be
KH
12002-01-03 Kazu Hirata <kazu@hxi.com>
2
3 * c-common.c: Fix formatting.
4 * diagnostic.c: Likewise.
5 * doloop.c: Likewise.
6 * dwarf2out.c: Likewise.
7
187462ac
KH
82002-01-03 Kazu Hirata <kazu@hxi.com>
9
10 * config/h8300/h8300.c (output_logical_op): Use 'not.w' instead
11 of 'neg.w' when xoring with 0x0000ffff or 0xffff0000.
12
5d8ebbd8
NB
132002-01-03 Neil Booth <neil@daikokuya.demon.co.uk>
14
15 * cpperror.c: Update comments and copyright.
16 * cppexp.c, cppfiles.c, cpphash.c, cpphash.h, cppinit.c,
17 cpplex.c, cpplib.c, cpplib.h, cppmacro.c, cppmain.c: Similarly.
18
518c1311
JDA
192002-01-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
20
21 * collect2.c (main): Use strcmp when testing for "-shared".
22
d15a58c0
NB
232002-01-03 Neil Booth <neil@daikokuya.demon.co.uk>
24
25 * cppmacro.c: Don't include intl.h. Update comments.
26 (new_number_token): Allocate enough buffer for 64-bit unsigned
27 integers; update prototype.
28 * cppmain.c: Update comments.
29
70f4f91c
WC
302002-01-03 William Cohen <wcohen@redhat.com>
31
32 * function.h (struct function): Add profile.
33 (current_function_profile): New.
34 doc/extend.texi: Update documentation.
35 * final.c (final_start_function): Use current_function_profile
36 instead of profile_flag.
37 (profile_after_prologue): Likewise.
38 * function.c (expand_function_start): Likewise.
39 (expand_function_start): Likewise.
40 * config/alpha/alpha.c (direct_call_operand):
41 (alpha_does_function_need_gp): Likewise.
42 (alpha_expand_prologue): Likewise.
43 * config/arm/arm.c (arm_expand_prologue): Likewise.
44 thumb_expand_prologue: Likewise.
45 * config/d30v/d30v.c (d30v_stack_info): Likewise.
46 * config/fr30/fr30.c (MUST_SAVE_RETURN_POINTER): Likewise.
47 (fr30_expand_prologue): Likewise.
48 * config/i386/cygwin.h (SUBTARGET_PROLOGUE): Likewise.
49 * config/i386/i386.c (ix86_osf_output_function_prologue): Likewise.
50 * config/i386/i386.h (FINALIZE_PIC): Likewise.
51 * config/i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
52 * config/i960/i960.c (i960_output_function_prologue): Likewise.
53 * config/ia64/ia64.c (ia64_compute_frame_size): Likewise.
54 * config/m32r/m32r.c (MUST_SAVE_RETURN_ADDR): Likewise.
55 (m32r_expand_prologue): Likewise.
56 * config/m88k/m88k.c (m88k_layout_frame): Likewise.
57 (m88k_expand_prologue): Likewise.
58 * config/m88k/m88k.h (ADJUST_INSN_LENGTH): Likewise.
59 * config/mips/mips.c (compute_frame_size): Likewise.
60 (mips_expand_prologue): Likewise.
61 (mips_can_use_return_insn): Likewise.
62 * config/pa/elf.h (ASM_FILE_START): Likewise.
63 * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
64 * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
65 * config/pa/som.h (ASM_FILE_START): Likewise.
66 * config/romp/romp.c (romp_using_r14): Likewise.
67 * config/rs6000/rs6000.c (first_reg_to_save): Likewise.
68 (rs6000_stack_info): Likewise.
69 * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
2fd17409 70 * config/rs6000/xcoff.h (ASM_FILE_START): Likewise.
70f4f91c
WC
71 * config/v850/v850.c (compute_register_save_size): Likewise.
72
cb1ac742
JJ
732002-01-03 Jakub Jelinek <jakub@redhat.com>
74
75 * simplify-rtx.c (simplify_binary_operation) [DIV]: If
76 gen_lowpart_common fails, use gen_lowpart_SUBREG.
77
61d951df 782002-01-03 Turly O'Connor <turly@apple.com>
cb1ac742 79
61d951df
TC
80 * darwin.c (machopic_output_possible_stub_label): Don't generate
81 stub routines for pseudo-stubs which we've just defined.
82
505ddab6
KH
832002-01-03 Kazu Hirata <kazu@hxi.com>
84
85 * builtins.c: Fix formatting.
86 * c-typeck.c: Likewise.
87 * combine.c: Likewise.
88 * expr.c: Likewise.
89 * loop.c: Likewise.
90
b7e30d8a
AS
912002-01-03 Andreas Schwab <schwab@suse.de>
92
93 * cppfiles.c (_cpp_pop_file_buffer): Change return type to bool
94 and return true if _cpp_push_next_buffer pushed a new include
95 file.
96 * cpplib.c (_cpp_pop_buffer): Only call obstack_free if
97 _cpp_pop_file_buffer did not push a new file.
98 * cpphash.h (_cpp_pop_file_buffer): Update declaration.
99
ff81832f
EC
1002002-01-02 Eric Christopher <echristo@redhat.com>
101
102 * final.c (final_scan_insn): Change 0 -> NULL_RTX in
103 FIND_REG_INC_NOTE call. Update copyright.
104 * loop.c (canonicalize_condition): Ditto.
105 * reorg.c (delete_scheduled_jump): Ditto.
106
8e42ace1
KH
1072002-01-03 Kazu Hirata <kazu@hxi.com>
108
109 * gcse.c: Fix formatting.
110
fb2bf631
GS
1112002-01-03 Graham Stott <grahams@redhat.com>
112
113 * mkconfig.sh: Output to config.h, hconfig.h and tconfig.h
114 forward defs for struct tags rtx_def, union_tree, rtvec_def
115 also output corresponding typedefs for rtxm, tree, and rtvcec.
116
117 * system.h: Move forward defs for struct tags rtx_def, union_tree,
118 rtvec_def along with corresponding typedefs for rtx, tree, and
119 rtvcec to config.h, hconfig.h, tconfig.h
120
1212002-01-03 Graham Stott <grahams@redhat.com>
b9daac31
GS
122
123 * tree.h: Update copyright date.
124 (IS_EXPR_CODE_CLASS): Add parenthesis.
125 (TREE_SET_CODE): Add whitespace.
126 (TREE_CHECK): Add parenthesis.
127 (TREE_CLASS_CODE): Add parenthesis and wrap long line.
128 (CST_OR_CONSTRUCTOR_CHECK):
129 (EXPR_CHECK): Add parenthis, whitespace and wrap line.
130 (TREE_SYMBOL_REFERENCED): Whitespace.
131 (INT_CST_LT): Likewise.
132 (INT_CST_LT_UNSIGNED): Likewise.
133 (tree_real_cst): Unwrap comment.
134 (tree_string): Likewise.
135 (tree_complex): Likewise.
136 (IDENTIFIER_POINTER): correct cast.
137 (SAVE_EXPR_CONTEXT): Whitespace.
138 (EXPR_WFL_FILENAME_NODE): Likewise.
139 (EXPR_WFL_FILENAME): Remove parenthesis.
140 (DECL_ORIGIN): Add parenthesis.
141 (DECL_FROM_INLINE): Use NULL_TREE.
142 (build_int_2): Whitespace.
143 (build_type_variant): Add parenthesis.
144
145 * gcc/jcf-parse.c: Update copyright date.
146 (yyparse): Constify resource_filename.
147
f52eda29
GS
1482002-01-03 Graham Stott <grahams@redhat.com>
149
150 * rtl.h: Update copyright date.
151 (RTL_CHECK1): Wrap long line.
152 (RTL_CHECK2): Likewise.
153 (RTL_CHECKC1): Wrap long line and whitespace.
154 (RTL_CHECKC2): Likewise.
155 (XWINT): Whitespace.
156 (XINT): Likewise.
157 (XSTR): Likewise.
158 (XEXP): Likewise.
159 (XVEC): Likewise.
160 (XMODE): Likewise.
161 (XBITMAP): Likewise.
162 (XTREE): Likewise.
163 (XBBDEF): Likewise.
164 (XTMPL): Likewise.
165 (X0WINT): Likewise.
166 (X0INT):Likewise.
167 (X0UINT): Likewise.
168 (X0STR): Likewise.
169 (X0EXP): Likewise.
170 (X0VEC): Likewise.
171 (X0MODE): Likewise.
172 (X0BITMAP): Likewise.
173 (X0TREE): Likewise.
174 (X0BBDEF): Likewise.
175 (X0ADVFLAGS): Likewise.
176 (X0CSELIB): Likewise.
177 (X0MEMATTR): Likewise.
178 (XCWINT): Likewise.
179 (XCINT): Likewise.
180 (XCUINT): Likewise.
181 (XCSTR): Likewise.
182 (XCEXP): Likewise.
183 (XCVEC): Likewise.
184 (XCMODE): Likewise.
185 (XCBITMAP): Likewise.
186 (XCTREE): Likewise.
187 (XCBBDEF): Likewise.
188 (XCADVFLAGS): Likewise.
189 (XCCSELIB): Likewise.
190 (XC2EXP): Likewise.
191 (INSN_UID): Likewise.
192 (PREV_INSN): Likewise.
193 (PATTERN): Likewise.
194 (INSN_CODE): Likewise.
195 (PUT_REG_NOTE_KIND): Likewise.
196 (CODE_LABEL_NUMBER): Likewise.
197 (NOTE_SOURCE_FILE): Likewise.
198 (NOTE_BLOCK): Likewise.
199 (NOTE_EH_HANDLER): Likewise.
200 (NOTE_RANGE_INFO): Likewise.
201 (NOTE_LIVE_INFO): Likewise.
202 (NOTE_BASIC_BLOCK): Likewise.
203 (NOTE_EXPECTED_VALUE): Likewise.
204 (NOTE_LINE_NUMBER): Likewise.
205 (LABEL_NAME): Likewise.
206 (LABEL_NUSES): Likewise.
207 (LABEL_ALTERNATE_NAME): Likewise.
208 (ADDRESSOF_DECL): Likewise.
209 (JUMP_LABEL): Likewise.
210 (LABEL_NEXTREF): Likewise.
211 (REGNO): Likewise.
212 (ORIGINAL_REGNO: Likewise.
213 (HARD_REGISTER_NUM_P): Add parenthesis.
214 (SUBREG_REG): Whitespace.
215 (SUBREG_BYTE): Likewise.
216 (ASM_OPERANDS_TEMPLATE): Remove parenthesis.
217 (ASM_OPERANDS_OUTPUT_CONSTRAINT): Likewise.
218 (ASM_OPERANDS_OUTPUT_IDX): Likewise.
219 (ASM_OPERANDS_INPUT_VEC): Likewise.
220 (ASM_OPERANDS_INPUT_CONSTRAINT_VEC): Likewise.
221 (ASM_OPERANDS_INPUT): Likewise.
222 (ASM_OPERANDS_INPUT_LENGTH): Likewise.
223 (ASM_OPERANDS_INPUT_CONSTRAINT_EXP): Likewise.
224 (ASM_OPERANDS_INPUT_CONSTRAINT): Likewise.
225 (ASM_OPERANDS_INPUT_MODE): Likewise.
226 (ASM_OPERANDS_SOURCE_FILE): Likewise.
227 (ASM_OPERANDS_SOURCE_LINE): Likewise.
228 (MEM_SET_IN_STRUCT_P): Minor reformat.
229 (TRAP_CONDITION): Whitespace.
230 (TRAP_CODE): Likewise.
231 (COND_EXEC_TEST): Likewise.
232 (COND_EXEC_CODE): Likewise.
233 (FIND_REG_INC_NOTE): Uppercase macro args and add parenthesis.
234 (PHI_NODE_P): Add parenthesis.
235 (plus_constant): Whitespace and add parenthesis.
236
e03f5d43
KH
2372002-01-03 Kazu Hirata <kazu@hxi.com>
238
239 * config/avr/avr.c: Fix comment typos.
240 * config/c4x/c4x.md: Likewise.
241 * config/dsp16xx/dsp16xx.h: Likewise.
242 * config/dsp16xx/dsp16xx.md: Likewise.
243 * config/i386/i386.md: Likewise.
244 * config/ia64/ia64.c: Likewise.
245 * config/m32r/m32r.h: Likewise.
246 * config/m68hc11/m68hc11.md: Likewise.
247 * config/mmix/mmix.c: Likewise.
248 * config/mn10200/mn10200.c: Likewise.
249 * config/romp/romp.c: Likewise.
250 * config/sh/sh.c: Likewise.
251 * config/stormy16/stormy16.c: Likewise.
252 * config/stormy16/stormy16.h: Likewise.
253 * config/stormy16/stormy16.md: Likewise.
254
97e300e9
GS
2552002-01-03 Graham Stott <grahams@redhat.com>
256
257 * loop.h: Update copyright date.
258 (LOOP_MOVABLES): Fix typo.
259 (LOOP_REGS): Likewise.
260 (LOOP_IVS): Likewise.
ff81832f 261
745b26b3
GS
2622002-01-03 Graham Stott <grahams@redhat.com>
263
264 * cppinit.c: Update copyright date.
265 Don't include output.h
266 * Makefile.in: Update copyright date.
267 Update dependency.
268
0a379b7a
CR
2692002-01-02 Craig Rodrigues <rodrigc@gcc.gnu.org>
270
271 PR c/5226
272 * invoke.texi (-mthreads): Remove from documented RS/6000 options.
273 (-pthread) Add to RS/6000 options.
274
a8154559
KH
2752002-01-02 Kazu Hirata <kazu@hxi.com>
276
277 * except.c: Fix comment typos.
278 * loop.c: Likewise.
279 * varasm.c: Likewise.
280 * doc/tm.texi: Fix a typo.
281
e6ecc89b
JJ
2822002-01-02 Jakub Jelinek <jakub@redhat.com>
283
284 * c-typeck.c (output_init_element): Allow initializing static storage
285 duration objects with compound literals.
286
d1094b40
RH
2872002-01-02 Richard Henderson <rth@redhat.com>
288
289 * objc/objc-act.c (hack_method_prototype): Clear current_function_decl
290 after abusing it.
291
0c5d8c82
KG
2922002-01-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
293
5e65297b
KG
294 * gcc.c (default_compilers): Const-ify.
295 * mips-tdump.c (stab_names): Likewise.
296 * mips-tfile.c (map_coff_types, map_coff_storage,
297 map_coff_sym_type, map_coff_derived_type, stabs_symbol,
298 pseudo_ops_t, pseudo_ops): Likewise.
299 * protoize.c (default_include): Likewise
300
0c5d8c82
KG
301 * real.c (GET_REAL, PUT_REAL): Don't cast away const-ness.
302 (ezero, ehalf, eone, etwo, e32, elog2, esqrt2, epi): Const-ify.
303 Add array size in declaration.
304 (endian, emov, eisneg, eisinf, eisnan, eiisnan, eiisneg, emovi,
305 emovo, emovz, eiisinf, ecmpm, eaddm, esubm, m16m, edivm, emulm,
306 esub, eadd, eadd1, ediv, emul, e53toe, e64toe, e113toe, e24toe,
307 etoe113, etoe64, etoe53, etoe24, ecmp, eround, ltoe, ultoe,
308 eifrac, euifrac, e24toasc, e53toasc, e64toasc, e113toasc, etoasc,
309 efloor, efrexp, eldexp, eremain, dectoe, etodec, ibmtoe, etoibm,
310 c4xtoe, etoc4x, uditoe, ditoe, etoudi, etodi, esqrt, etens,
311 emtens, make_nan): Const-ify.
312 (TFbignan, TFlittlenan, XFbignan, XFlittlenan, DFbignan,
313 DFlittlenan, SFbignan, SFlittlenan): Make static and const-ify.
314
817e13c4
JM
3152002-01-02 Joseph S. Myers <jsm28@cam.ac.uk>
316
317 * config.gcc (ia64-*-*): Set extra_headers.
318 (alpha*-dec-osf*): Likewise. Don't use alpha/t-osf.
319 * config/alpha/t-osf: Remove.
320 * config/ia64/t-ia64 (EXTRA_HEADERS): Remove.
321
98095e2b
DE
3222002-01-02 David Edelsohn <edelsohn@gnu.org>
323
324 * config/rs6000/t-aix43: Revert previous change.
325
a4200657
JM
3262002-01-02 Jason Merrill <jason@redhat.com>
327
328 * c-decl.c (c_expand_body): Call outlining_inline_function when
329 emitting an inline function out of line.
330
54ba1f0d
RH
3312002-01-02 Richard Henderson <rth@redhat.com>
332
333 * dwarf2out.c (limbo_die_node): Add created_for member.
334 (new_die): New argument created_for. Update all callers.
335 (mark_limbo_die_list): New.
336 (dwarf2out_init): Register limbo_die_list as a root.
337 (dwarf2out_finish): Force insert limbo dies into their function
338 context.
339
323728aa
NS
3402002-01-02 Nathan Sidwell <nathan@codesourcery.com>
341
342 PR c++/5089
343 * doc/invoke.texi (-Wold-style-cast): Only warn about non-void casts.
344
aefc5826
KH
3452002-01-02 Kazu Hirata <kazu@hxi.com>
346
347 * config/h8300/fixunssfsi.c: Update copyright.
348 Fix comment typos.
349 Fix formatting.
350 * config/h8300/h8300.c: Update copyright.
351 Eliminate warnings.
352
b1c9bc51
KH
3532002-01-02 Kazu Hirata <kazu@hxi.com>
354
355 * config/romp/romp.c: Fix comment formatting.
356 * config/romp/romp.h: Likewise.
357 * config/romp/romp.md: Likewise.
358 * config/s390/s390.c: Likewise.
359 * config/stormy16/stormy16.c: Likewise.
360 * config/stormy16/stormy16.h: Likewise.
361
1574ef13
AO
3622002-01-02 Alexandre Oliva <aoliva@redhat.com>
363
364 * c-common.h (genrtl_expr_stmt_value): Declare.
365 * c-semantics.c (genrtl_goto_stmt): Redirect to...
366 (genrtl_goto_stmt_value): ... this new function. Pass new
367 argument down to expand_expr_stmt_value, taking
368 TREE_ADDRESSABLE into account.
369 * c-common.c (c_expand_expr): Mark the last EXPR_STMT of a
370 STMT_EXPR as addressable, i.e., one whose result we want.
371 * expr.c (expand_expr): Don't save expression statement value
372 of labeled_blocks or loop_exprs.
373 * stmt.c (expand_expr_stmt): Redirect to...
374 (expand_expr_stmt_value): ... this new function. Use new
375 argument to tell whether to save expression value.
376 (expand_end_stmt_expr): Reset last_expr_type and
377 last_expr_value if we don't have either.
378 * tree-inline.c (declare_return_variable): Mark its use
379 statement as addressable.
380 * tree.h: Document new use of TREE_ADDRESSABLE.
381 (expand_expr_stmt_value): Declare.
382
252b88f7
TR
3832002-01-01 Tom Rix <trix@redhat.com>
384
385 * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Fix for use by
386 rs6000_emit_allocate_stack.
387
29f7a208
JM
3882002-01-01 Joseph S. Myers <jsm28@cam.ac.uk>
389
390 * configure.in: Prepend ${srcdir}/config/${cpu_type}/ instead of
391 ${srcdir}/ginclude/ to every entry in extra_headers.
392 * configure: Regenerate.
393 * ginclude/math-3300.h: Rename to config/m68k/math-3300.h.
394 * ginclude/math-68881.h: Rename to config/m68k/math-68881.h.
395 * ginclude/ppc-asm.h: Rename to config/rs6000/ppc-asm.h.
396 * ginclude/proto.h: Rename to config/convex/proto.h.
397
2cc2d4bb
RK
398Tue Jan 1 17:12:56 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
399
400 * attribs.c (handle_vector_size_attribute): Use host_integerp
401 and tree_int_cst; remove warnings.
402 * caller-save.c (insert_restore): Add cast to get rid of warning.
403 (insert_save): Likewise.
404 * emit-rtl.c (adjust_address_1, offset_address): Likewise.
405 * regmove.c (find_matches): Add temporary var to kill a warning.
406
f01c9bcd
DR
4072002-01-01 Douglas B Rupp <rupp@gnat.com>
408
16b61764
DR
409 * config/alpha/vms.h (DWARF2_UNWIND_INFO, EH_RETURN_HANDLER_RTX,
410 LINK_EH_SPEC, MD_FALLBACK_FRAME_STATE_FOR): Define.
411 * config/alpha/t-vms (EXTRA_PARTS): Add vms-dwarf2eh.o
412 (vms-dwarf2eh.o): Add Makefile rule.
413 * config/alpha/vms-ld.c (main): Handle vms-dwarf2eh.o.
414 * config/alpha/vms-dwarf2eh.asm: New file.
415
f01c9bcd
DR
416 * gcc.c (delete_if_ordinary): Delete all versions.
417
91312b81
HPN
4182002-01-01 Hans-Peter Nilsson <hp@bitrange.com>
419
420 * config/mmix/mmix.md: Update FIXME to not mention
421 define_constants.
422 (MMIX_rJ_REGNUM): New define_constants constant.
423 ("movqi", "movsi", "movdi", "*movdicc_real_foldable",
424 "*movdicc_real"): Adjust contraints formatting.
425 ("*bCC_foldable"): Add %+ for P in output format and delete FIXME
426 for branch prediction.
427 ("*bCC", "*bCC_inverted_foldable", "*bCC_inverted"): Add %+ in
428 output template.
429 ("*call_real", "*call_value_real", "nonlocal_goto_receiver",
430 "*nonlocal_goto_receiver_expanded"): Use MMIX_rJ_REGNUM instead of
431 number. Delete related FIXMEs.
432 * config/mmix/mmix.h (MMIX_INCOMING_RETURN_ADDRESS_REGNUM): Change
433 from number to MMIX_rJ_REGNUM.
434 (TARGET_MASK_BRANCH_PREDICT): New.
435 (TARGET_DEFAULT): Change to TARGET_MASK_BRANCH_PREDICT.
436 (TARGET_SWITCHES): Update comment. Correct -mno-toplevel-symbols
437 value. Add -mbranch-predict and -mno-branch-predict.
438 (TARGET_VERSION): Drop date.
439 (ADDITIONAL_REGISTER_NAMES): Use MMIX_rJ_REGNUM, not number.
440 * config/mmix/mmix.c (mmix_encode_section_info): Correct condition
441 for finding out global symbols.
442 (mmix_asm_output_labelref): Revert condition for global symbol.
443 (mmix_print_operand): <case '+'>: Emit P for a likely branch.
444 (mmix_print_operand_punct_valid_p): A '+' is valid.
445
619acae7 446See ChangeLog.6 for earlier changes.