]> gcc.gnu.org Git - gcc.git/blame - gcc/ChangeLog
fixfixes.c (fix_char_macro_uses): Correct regular expression to allow underscores...
[gcc.git] / gcc / ChangeLog
CommitLineData
3a2e9dd2
ZW
12000-01-23 Zack Weinberg <zack@wolery.cumb.org>
2
3 * fixinc/fixfixes.c (fix_char_macro_uses): Correct regular
4 expression to allow underscores in macro names.
5 (fix_char_macro_defines): Increment scanning pointer.
6
5495cc55
RH
72000-01-23 Richard Henderson <rth@cygnus.com>
8
9 * alpha/osf.h (TARGET_HAS_XFLOATING_LIBS): Define.
10 * alpha/osf5.h: New file.
11 * configure.in (alpha-*-osf5): Add it to tm_file.
12
13 * emit-rtl.c (operand_subword): Support TFmode on a 64-bit target.
14
15 * alpha-protos.h (alpha_emit_xfloating_arith): Declare.
16 (alpha_emit_xfloating_cvt, function_arg): Declare.
17 * alpha.c (alpha_emit_conditional_branch): Call
18 alpha_emit_xfloating_compare for TFmode compares.
19 (alpha_lookup_xfloating_lib_func): New.
20 (alpha_compute_xfloating_mode_arg): New.
21 (alpha_emit_xfloating_libcall): New.
22 (alpha_emit_xfloating_arith): New.
23 (alpha_emit_xfloating_compare): New.
24 (alpha_emit_xfloating_cvt): New.
25 (print_operand): Add default abort case.
26 (function_arg): Mind FUNCTION_ARG_PASS_BY_REFERENCE.
27 * alpha.h (TARGET_HAS_XFLOATING_LIBS): New.
28 (BIGGEST_ALIGNMENT): Increase to 128 bits.
29 (RETURN_IN_MEMORY): True for TF/TCmode.
30 (ALPHA_ARG_SIZE): TF/TCmode is passed indirect.
31 (FUNCTION_ARG): Move to function_arg.
32 (FUNCTION_ARG_PASS_BY_REFERENCE): New.
33 (ASM_OUTPUT_LONG_DOUBLE): New.
34 (ASM_OUTPUT_DOUBLE): Always output bits.
35 * alpha.md (addtf3, divtf3, multf3, subtf3, cmptf): New.
36 (fix_trunctfdi2, floatditf2, floatunsditf2): New.
37 (extenddftf2, trunctfdf2): New.
38
ac490444
AO
392000-01-23 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
40
41 * config/sparc/sol2-sld-64.h (TRANSFER_FROM_TRAMPOLINE): Moved...
42 * config/sparc/sol2.h: ... here.
43
d6181b1b
MH
442000-01-24 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
45
46 * basic-block.h (struct loops): New field `levels'.
47 * flow.c (flow_loops_level_compute): Traverse all outer loops.
48 (flow_loop_level_compute): Initialise level to 1.
49 (flow_loops_find): Set loops->levels.
50 (flow_loops_dump): Print loops->levels.
51
7e259f25
RH
522000-01-23 Richard Henderson <rth@cygnus.com>
53
54 * libgcc2.c (dwarf_reg_size_table): Size with DWARF_FRAME_REGISTERS.
55 (throw_helper): Iterate over DWARF_FRAME_REGISTERS.
56
83774849
RH
572000-01-23 Richard Henderson <rth@cygnus.com>
58
59 * i386.c (dbx_register_map, svr4_dbx_register_map): New.
60 * i386.h (DBX_REGISTER_NUMBER): Use them.
61 * i386/beos-elf.h, i386/freebsd-elf.h, i386/i386elf.h: Likewise.
62 * i386/linux.h, i386/osfrose.h, i386/ptx4-i.h: Likewise.
63 * i386/rtemself.h, i386/sco5.h, i386/sysv4.h: Likewise.
64 * i386/sequent.h: Kill incorrect comment.
65
ae373eda
MM
662000-01-23 Mark Mitchell <mark@codesourcery.com>
67
68 * ggc-page.c (struct page_entry): Make `context_depth' an
69 `unsigned short'.
d416576b 70 (struct globals): Likewise.
ae373eda 71
5c75f60e
CP
722000-01-23 Clinton Popetz <cpopetz@cygnus.com>
73
74 * loop.c (check_dbra_loop): When checking a loop for
75 reversability, check the source of any stores to ensure
76 they don't depend on an initial value.
77
7bea4e7a
MH
782000-01-23 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
79
80 * config/c4x/c4x.h (ASM_OUTPUT_BSS): Redefine.
81
ae5c839b
ZW
822000-01-22 Zack Weinberg <zack@wolery.cumb.org>
83
84 * fixinc/fixincl.c: Move declarations of 'pz_fname' and
85 'pz_scan' into scope of entire function. Only affects
86 compiles with -DDEBUG.
87
e8c3586a
AM
882000-01-22 Alan Modra <alan@SPRI.Levels.UniSA.Edu.Au>
89
90 * config/elfos.h (UNIQUE_SECTION): Restore uninitialised data
91 section naming to that prior to 2000-01-07 patch.
92 * config/mips/elf.h (UNIQUE_SECTION): Ditto.
93 * config/mips/elf64.h (UNIQUE_SECTION): Ditto.
94 * config/mips/iris6gld.h (UNIQUE_SECTION): Ditto.
95 * config/i386/interix.c (UNIQUE_SECTION): Ditto.
96 * config/i386/winnt.c (UNIQUE_SECTION): Ditto.
97
37b80d2e
BS
982000-01-22 Bernd Schmidt <bernds@cygnus.co.uk>
99
100 * config/arm/arm.c (soft_df_operand): Reject SUBREGs containing a
101 constant.
102
5787d8da
JW
1032000-01-21 Jim Wilson <wilson@cygnus.com>
104
105 * fixinc/inclhack.tpl: Test for directory before trying to cd into it.
106 * fixinc/fixincl.sh, fixinc/inclhack.sh: Regenerate.
107
4571dc27
ZW
1082000-01-21 Zack Weinberg <zack@wolery.cumb.org>
109
110 * cpphash.c (change_newlines): Delete function.
111 (struct argdata): Delete 'newlines' and 'use_count' fields.
112 (macroexpand): Remove code referencing those fields.
113
4cda35d4
MH
1142000-01-22 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
115
116 * loop.c (loops_info): New variable.
117 (loop_optimize): Allocate loops->array and free it on exit.
118 Allocate memory for loops_info and assign to each loop,
119 replacing alloca.
120 (find_and_verify_loops): Do not allocate loops->array.
121
84c70dec
ZW
1222000-01-21 Zack Weinberg <zack@wolery.cumb.org>
123
124 * fixinc/fixfixes.c (machine_name_fix): Don't free 'scratch'.
125
7652adb5
JJ
1262000-01-21 Jakub Jelinek <jakub@redhat.com>
127
128 * config/sparc/sparc.md (movsi_pic_label_ref): Avoid creating new
129 pseudos if expanded after first flow.
130 (movdi_pic_label_ref): Likewise.
131
7c22ee2b
RH
1322000-01-20 Richard Henderson <rth@cygnus.com>
133
134 * jump.c (jump_optimize_1): Don't do addr_vec optimizations at -O0.
135
52c207e2
ZW
1362000-01-20 Zack Weinberg <zack@wolery.cumb.org>
137
138 * Makefile.in (fixinc.sh): Depend on specs.
139 * fixinc/Makefile.in: Add rule to create machname.h.
140 (fixlib.o): Depend on machname.h.
141 * fixinc/fixtests.c (machine_name): New test.
142 * fixinc/fixfixes.c (machine_name): New fix.
143 * fixinc/fixlib.c (mn_get_regexps): New helper function for
144 the machine_name test and fix.
145 * fixinc/fixlib.h: Prototype it.
146 * fixinc/inclhack.def (machine_name): Use the C test and fix.
147 * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuild.
148
149 * gcc.c (do_spec_1) [case P]: Take care not to create
150 identifiers with three leading or trailing underscores.
151
152 * fixinc/Makefile.in (FIXINC_DEFS): Add -DIN_GCC.
153 (fixincl): Don't specify libraries twice on link line.
154 (gnu-regex.o): Remove special rule.
155 * fixinc/gnu-regex.c: Define REGEX_MALLOC if C_ALLOCA was
156 defined by config.h. Do not define _REGEX_RE_COMP.
157 (regcomp): Allocate and initialize a fastmap.
158 * fixinc/gnu-regex.h: Do not define _REGEX_RE_COMP.
52c207e2 159
d3de1cf7
BL
1602000-01-20 Brad Lucier <lucier@math.purdue.edu>
161
162 * Makefile.in (predict.o): Depend on $(EXPR_H), not expr.h.
163
65f6fa24
RH
1642000-01-19 Richard Henderson <rth@cygnus.com>
165
166 * flow.c (propagate_block): Replace FIRST, LAST and BNUM
167 arguments with BB. Update all callers. Tidy line wrapping.
168
ba52f355
CP
1692000-01-19 Clinton Popetz <cpopetz@cygnus.com>
170
171 * emit-rtl.c (try_split): Return last_insn if we split the
172 last_insn.
173
0903fcab
JH
174Thu Jan 20 01:01:23 MET 2000 Jan Hubicka <jh@suse.cz>
175
176 * i386-protos.h (ix86_compute_frame_size): Remove prototype.
177 (ix86_initial_elimination_offset): Declare.
178 * i386.c (ix86_nsaved_regs): Break out from ...
179 (ix86_can_use_return_insn_p): ... here.
180 (ix86_emit_save_regs): Break out from ...
181 (ix86_expand_prologue): ... here.
182 (ix86_emit_epilogue_esp_adjustment, ix86_emit_restore_regs): Break
183 out from ...
184 (ix86_expand_epilogue): ... here.
185 (ix86_compute_frame_size): Make static, add prototype.
186 (ix86_initial_elimination_offset): Break out from ...
187 * i386.h (INITIAL_ELIMINATION_OFFSET): ... here.
188
0bee0290
KG
1892000-01-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
190
191 * recog.h (OUT_FCN): Delete.
192
193 * vax.md: Call `get_insn_template' instead of OUT_FCN.
194
299d06ad 1952000-01-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
f84c2018
KG
196
197 * cppalloc.c: PROTO -> PARAMS.
198 * cpperror.c: Likewise.
199 * cppfiles.c: Likewise.
200 * cpplib.c: Likewise.
201 * cpplib.h: Likewise.
299d06ad
KG
202
203 * config/arm/arm-protos.h: PROTO -> PARAMS.
204 * config/arm/arm.c: Likewise.
205 * config/c4x/c4x.c: Likewise.
206 * config/fr30/fr30-protos.h: Likewise.
207 * config/nextstep.c: Likewise.
208 * config/pa/pa.c: Likewise.
209 * config/pj/pj.c: Likewise.
210 * config/rs6000/rs6000.c: Likewise.
211 * config/v850/v850-protos.h: Likewise.
212 * config/v850/v850.c: Likewise.
213
f50ec635
KG
2142000-01-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
215
216 * i370-protos.h: New file.
217
218 * i370.c: Include tm_p.h. Fix compile time warnings.
219
220 * i370.h: Move prototypes to i370-protos.h. Fix compile time
221 warnings.
222
223 * i370.md: Likewise.
224
b42b4d2c
KG
2252000-01-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
226
227 * real.c (enan, einan, eiisnan, eiisneg, make_nan): Wrap in NANS.
228 (target_isinf, target_isnan, eisnan): Mark parameter with
229 ATTRIBUTE_UNUSED.
230 (eiisinf): Wrap in INFINITY.
231 (etoe113, etoe64, etoe53, etoe24): Wrap label `nonorm' in INFINITY.
232 (ibmtoe): Remove unused variable `rndsav'.
233
229f17cf
R
234Wed Jan 19 20:23:06 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
235
236 * sh.h (PASS_IN_REG_P): Remove extraneous paranthesis.
237 (GO_IF_LEGITIMATE_ADDRESS): Added missing tab.
238
5c0d5b94
ZW
2392000-01-19 Zack Weinberg <zack@wolery.cumb.org>
240
241 * fixinc/Makefile.in: Correct dependencies of fixincl and fixincl.o.
242 * fixinc/fixfixes.c (IO_use, CTRL_use, IO_defn, CTRL_defn): New fixes.
243 (fix_char_macro_defines, fix_char_macro_uses): New functions.
244
245 * fixinc/fixlib.c (is_cxx_header): Do the text scan with a regexp.
246 Recognize Emacs mode markers also.
247 * fixinc/fixtests.c (else_endif_label): Fix bug in recognition of
248 C++ comments in C++ headers. Call is_cxx_header only if
249 necessary.
250
251 * fixinc/inclhack.def (avoid_bool): Add select for the problem and
252 bypass for ncurses.
253 (bsd43_io_macros, io_def_quotes, ioctl_fix_ctrl): Replace with...
254 (io_def_quotes, io_use_quotes, ctrl_def_quotes, ctrl_use_quotes):
255 ... these, which use the new C fixes.
256 (math_exception): Escape literal '+' in bypass expression.
257
258 * fixinc/fixincl.x, fixinc/fixincl.sh, fixinc/inclhack.sh:
259 Regenerate.
260
0d3ffb5a
GK
2612000-01-19 Geoff Keating <geoffk@cygnus.com>
262
263 * rtlanal.c (reg_referenced_p): A CLOBBER of a MEM uses any REGs
264 inside the MEM.
265
78458962
MH
2662000-01-20 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
267
268 * loop.c (loop_optimize): Allocate loop_info structure for each loop
269 prior to calling scan_loop.
270
eda44c78
R
271Wed Jan 19 19:54:38 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
272
10db12e0
R
273 * sh.c (find_barrier, gen_block_redirect): Fix indentation.
274 (split_branches, calc_live_regs): Likewise.
eda44c78 275
d64264ff
R
276Wed Jan 19 19:12:36 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
277
278 * sh.md (fpu_single, fp_mode): New attributes.
279
e4b68ced
MH
2802000-01-20 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
281
282 * loop.c (current_loop_info): Renamed from loop_info_data
283 and changed to a pointer.
284 (loop_optimize): Allocate loop_info structure for each loop
285 and initialise to zero.
286 (scan_loop): Set current_loop_info.
287
288 * unroll.c (loop_iterations): Don't abort if REG_USERVAR_P set
289 on iteration_var.
290
d29c259b
RH
2912000-01-19 Richard Henderson <rth@cygnus.com>
292
293 * stupid.c: Die die die.
294 * Makefile.in (OBJS): Remove stupid.o.
295 (stupid.o): Likewise.
296
297 * except.c (emit_eh_context): Don't emit USEs for stupid.
298 * explow.c (probe_stack_range): Likewise.
299 * flags.h (obey_regdecls): Remove.
300 * flow.c (find_basic_blocks): Don't run try_merge_blocks
301 when not optimizing.
302 (life_analysis): Limit data collection when not optimizing.
303 (mark_regs_live_at_end): Always mark the return value registers.
304 (mark_used_regs): Remove dummy RETURN case.
305 (print_rtl_with_bb): Don't consult obey_regdecls.
306 * function.c (use_variable, use_variable_after): Remove.
307 (assign_parms): Consult optimize not obey_regdecls.
308 (expand_function_start): Don't emit USEs for stupid.
309 (expand_function_end): Likewise.
310 * global.c (build_insn_chain): Export.
311 * integrate.c (expand_inline_function): Kill return-value USE
312 handling code.
313 * jump.c (jump_optimize_1): Do simple jump optimizations and
314 dead code elimination.
315 (calculate_can_reach_end): Remove check_deleted argument.
316 (delete_insn): Patch out insns even when not optimizing.
317 * local-alloc.c (block_alloc): Don't do tying when not optimizing.
318 * rtl.h (use_variable, use_variable_after): Remove declarations.
319 (build_insn_chain): Declare.
320 * stmt.c (expand_value_return): Don't emit USEs for stupid.
321 (expand_end_bindings): Likewise.
322 (expand_decl): Likewise. Consult optimize not obey_regdecls.
323 * toplev.c (obey_regdecls): Remove.
324 (rest_of_compilation): Don't set it. Kill stupid in favour of
325 flow1, local-alloc, and reload.
326 (main): Don't set obey_regdecls.
327
328 * config/nextstep.c (handle_pragma): Likewise.
329
330 * alpha/alpha.md (allocate_stack): Don't emit USEs for stupid.
331
332 * arm/arm.h (CONDITIONAL_REGISTER_USAGE): Don't fix reg 0 for stupid.
333
f6da8bc3
KG
3342000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
335
336 * alpha-protos.h: PROTO -> PARAMS.
337 * alpha.c: Likewise.
338 * elf.h: Likewise.
339 * h8300.c: Likewise.
340 * i386-protos.h: Likewise.
341 * i386.c: Likewise.
342 * m32r-protos.h: Likewise.
343 * m32r.c: Likewise.
344 * mips.c: Likewise.
345 * mips.md: Likewise.
346 * gmon-sol2.c: Likewise.
347 * sparc.c: Likewise.
348
fabf04b6
KG
3492000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
350
351 * ns32k-protos.h: New file.
352
353 * ns32k.c: Fix compile time warnings.
354
355 * ns32k.h: Move prototypes to ns32k-protos.h. Fix compile time
356 warnings.
357
358 * ns32k.md: Likewise.
359
2fd58acb
KG
3602000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
361
362 * vax-protos.h: New file.
363
364 * vax.c: Fix compile time warnings.
365
366 * vax.h: Move prototypes to vax-protos.h. Fix compile time
367 warnings.
368
369 * vax.md: Likewise.
370
371 * vaxv.md: Likewise.
372
13d516d9
KG
3732000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
374
375 * romp-protos.h: New file.
376
377 * romp.c: Fix compile time warnings.
378
379 * romp.h: Move prototypes to romp-protos.h. Fix compile time
380 warnings.
381
382 * romp.md: Likewise.
383
253f1045
KG
3842000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
385
386 * we32k-protos.h: New file.
387
388 * we32k.c: Fix compile time warnings.
389
390 * we32k.h: Move prototypes to we32k-protos.h. Fix compile time
391 warnings.
392
962f1324
KG
3932000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
394
395 * calls.c (emit_call_1): Mark parameter with ATTRIBUTE_UNUSED.
396
397 * except.c (eh_regs): Likewise.
398
399 * final.c (output_operand): Likewise.
400
401 * fold-const.c (target_isinf, target_isnan): Likewise.
402
e2e52e1b
JH
403Tue Jan 18 16:19:55 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
404
17f24ff0
JH
405 * i386.h (BIGGEST_ALIGNMENT): Set to 128.
406 (BIGGEST_FIELD_ALIGNMENT): Set to (TARGET_ALIGN_DOUBLE ? 64 : 32)
407
e2e52e1b
JH
408 * i386.md (memstr): Do not use rep stosb for counts divisible by 4
409 when optimize_size.
410 (clrstrsi): Rewrite.
411 (strsethi, strsetqi): New expanders.
412 (strsethi_1, strsetqi_1, rep_stossi, rep_stosqi): New insn patterns.
413 (cmpstrsi): Emit compare insn before cmpstrsi_1
414 (cmpstrsi_nz): use flags, set type to str, prefix_length to 1.
415 (strlensi_1): Likewise.
416 (cmpstrsi_1): Likewise; do not output compare.
417 (strlen expander): Do not unroll when optimizing for size.
418 (*subsi3_carry): Rename to subsi3_carry
419 (addqi3_cc): New pattern.
420 * i386.h (processor_costs): Add move_ratio field.
421 (MOVE_RATIO): Use move_ratio field, set to 3 for OPTIMIZE_SIZE
422 * i386.c (*_cost): Set move_ratio.
423 (x86_unroll_strlen): Enable for Athlon, PPro and K6 too.
424 (x86_expand_strlensi_1): Rewrite the main loop.
425
12530dbe
RH
4262000-01-17 Richard Henderson <rth@cygnus.com>
427
428 * combine.c (combine_simplify_rtx): Give FLOAT_STORE_FLAG_VALUE a mode.
429 * cse.c (find_comparison_args, fold_rtx): Likewise.
430 * integrate.c (subst_constants): Likewise.
431 * loop.c (get_condition): Likewise.
432
433 * tm.texi (FLOAT_STORE_FLAG_VALUE): Update docs.
434
435 * alpha.h (FLOAT_STORE_FLAG_VALUE): Use REAL_VALUE_ATOF.
436
101e59f4
ML
437