]>
Commit | Line | Data |
---|---|---|
7256efa6 JM |
1 | 2001-08-16 Jason Merrill <jason_merrill@redhat.com> |
2 | ||
3 | * stor-layout.c (layout_decl): Don't set DECL_USER_ALIGN. | |
4 | (finalize_record_size): Don't set TYPE_USER_ALIGN. | |
5 | ||
5972a110 MK |
6 | 2001-08-16 Matt Kraai <kraai@alumni.carnegiemellon.edu> |
7 | ||
8 | * config/i386/i386.c (ix86_init_mmx_sse_builtins): Remove unused | |
9 | variables. | |
10 | ||
0d3c08b6 AJ |
11 | 2001-08-16 Andreas Jaeger <aj@suse.de> |
12 | ||
13 | * config/s390/s390.c: Include "debug.h" for dwarf2out_do_frame | |
14 | prototype. | |
15 | ||
44ce0063 JW |
16 | Wed Aug 15 15:22:52 EDT 2001 John Wehle (john@feith.com) |
17 | ||
18 | * rtl.h (only_sets_cc0_p): New prototype. | |
19 | * jump.c (sets_cc0_p): Handle INSN. | |
20 | (only_sets_cc0_p): New function. | |
21 | * flow.c (merge_blocks_nomove): Use only_sets_cc0_p. | |
22 | (tidy_fallthru_edge): Likewise. | |
23 | * integrate.c (copy_insn_list): Likewise. | |
24 | * unroll.c (unroll_loop): Likewise. | |
25 | (copy_loop_body): Likewise. | |
26 | ||
cff27f1d JE |
27 | 2001-08-15 Jason Eckhardt <jle@redhat.com> |
28 | ||
29 | * config/i960/i960.md (trap): Change "faulteq.t" to "faulte.t". | |
30 | ||
6ad48e84 JH |
31 | Wed Aug 15 14:24:22 CEST 2001 Jan Hubicka <jh@suse.cz> |
32 | ||
33 | * predict.c (struct block_info_def): Remove nvisited. | |
34 | (propagate_freq): Use EDGE_DFS_BACK to detect irreducible regions. | |
35 | (estimate_bb_frequencies): Call mark_dfs_back_edges. | |
36 | ||
37 | * i386.c (ix86_agi_depdendant): Lea causes AGI only on the Pentium | |
38 | (ix86_adjust_cost): Teach scheduler that latency to load operand can | |
39 | be masked. | |
40 | ||
cc10816d JH |
41 | Wed Aug 15 12:41:32 CEST 2001 Jan Hubicka <jh@suse.cz> |
42 | ||
43 | * predict.def: Update hitrates. | |
44 | ||
fd7e958f RH |
45 | 2001-08-15 Richard Henderson <rth@redhat.com> |
46 | ||
47 | * except.c (TYPE_HASH): Cast to size_t, not HOST_WIDE_INT. | |
48 | ||
abb788ba JL |
49 | Tue Aug 14 17:30:59 2001 Jeffrey A Law (law@cygnus.com) |
50 | ||
51 | * flow.c (commit_one_edge_insertion): Don't separate a LOOP_BEG | |
52 | note from its associated jump. | |
53 | ||
d9b761a9 UW |
54 | 2001-08-14 Ulrich Weigand <uweigand@de.ibm.com> |
55 | ||
56 | * config/s390/linux64.h (CPP_PREDEFINES): Define __s390__ | |
57 | also on 64-bit s390x targets. | |
58 | ||
095bb276 NC |
59 | 2001-08-14 Nick Clifton <nickc@cambridge.redhat.com> |
60 | ||
61 | * config/arm/arm.c (arm_compute_initial_elimination_offset): New | |
62 | function. | |
63 | (arm_expand_prologue): Handled nested functions which take a | |
64 | variable argument list. | |
65 | * config/arm/arm.h (ARM_INITIAL_ELIMINATION_OFFSET): Replace | |
66 | macro with an invocation of | |
67 | arm_compute_initial_elimination_offset. | |
68 | * config/arm/arm-protos.h: Prototype | |
69 | arm_compute_initial_elimination_offset. | |
70 | ||
98999d8b GP |
71 | 2001-08-14 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
72 | ||
73 | * doc/install.texi (Specific, avr): Fix markup. | |
74 | (Specific, c4x): Ditto. | |
75 | ||
b213a5ca MK |
76 | 2001-08-14 Matt Kraai <kraai@alumni.carnegiemellon.edu> |
77 | ||
78 | * predict.c (dump_prediction): Change `bool' parameter to `int'. | |
79 | ||
c895acf2 GDR |
80 | 2001-08-14 Gabriel Dos Reis <gdr@codesourcery.com> |
81 | ||
82 | * Makefile.in (OBJS): Add rtl-error.o | |
83 | (rtl-error.o): New rule. | |
84 | (diagnostic.o): Adjust dependency. | |
85 | diagnostic.c (file_and_line_for_asm, diagnostic_for_asm, | |
86 | error_for_asm, _fatal_insn, _fatal_insn_not_found, | |
87 | warning_for_asm): Move to... | |
88 | rtl-error.c: ...here. New file. | |
89 | ||
ddee9e8d RH |
90 | 2001-08-14 Richard Henderson <rth@redhat.com> |
91 | ||
92 | * dwarf2out.c (dwarf2out_frame_finish): Never emit .eh_frame | |
93 | if USING_SJLJ_EXCEPTIONS. | |
94 | ||
eb20f668 SE |
95 | 2001-08-14 Steve Ellcey <sje@cup.hp.com> |
96 | ||
97 | * tlink.c (scan_linker_output): Check string for unsatisfied in | |
98 | addition to undefined and unresolved. | |
99 | ||
540ceb67 GS |
100 | 2001-08-14 Graham Stott <grahams@redhat.com> |
101 | ||
102 | * libgcc2.c (*): Replace EH_FRAME_SECTION with | |
103 | EH_FRAME_SECTION_NAME. | |
104 | ||
2d515d60 JH |
105 | Tue Aug 14 14:57:07 CEST 2001 Jan Hubicka <jh@suse.cz> |
106 | ||
107 | * genattrtab.c (simplify_test_exp_in_temp): New function. | |
108 | (simplify_test_exp): Avoid explicit use of temporary obstack. | |
109 | (simplify_cond, insert_right_side, evaluate_eq_attr, | |
110 | simplify_and_tree, simplify_or_tree, eliminate_known_true): | |
111 | Use simplify_test_exp_in_temp. | |
112 | (optimize_attrs): Iterate until expression stabilizes. | |
113 | ||
881e8e29 UW |
114 | 2001-08-13 Ulrich Weigand <uweigand@de.ibm.com>: |
115 | ||
116 | * glimits.h: Remove the __LONG_MAX__ special case for s390x. | |
117 | * config/s390/linux64.h: Define __LONG_MAX__ in CPP_PREDEFINES. | |
118 | ||
f22db2ef RH |
119 | 2001-08-13 Richard Henderson <rth@redhat.com> |
120 | ||
121 | * config/arm/unknown-elf.h (CTOR_LIST_BEGIN, CTOR_LIST_END): Remove. | |
122 | (DTOR_LIST_BEGIN, DTOR_LIST_END): Remove. | |
123 | * config/arm/conix-elf.h: Likewise. | |
124 | ||
eb296bd9 GK |
125 | 2001-08-13 Geoffrey Keating <geoffk@redhat.com> |
126 | ||
51610b0a GK |
127 | * config/svr4.h (LINK_SPEC): Don't do -Wl, here, it is done |
128 | in gcc.c. | |
129 | * config/rs6000/sysv4.h (LINK_SPEC): Likewise. | |
130 | ||
eb296bd9 GK |
131 | * gcse.c (hash_scan_set): Expressions that are set as part of |
132 | jump instructions are not available. | |
133 | ||
7ee20eba UW |
134 | 2001-08-13 Ulrich Weigand <uweigand@de.ibm.com> |
135 | ||
136 | * config/s390/s390.c (print_operand, s390_function_prologue, | |
137 | s390_va_start): Fixed HOST_WIDE_INT type mismatch. | |
138 | ||
02c9b1ca RH |
139 | 2001-08-13 Richard Henderson <rth@redhat.com> |
140 | ||
141 | * config/rs6000/xcoff.h (EH_FRAME_IN_DATA_SECTION): New. | |
142 | * defaults.h (EH_FRAME_SECTION_NAME): Respect it. | |
143 | * doc/tm.texi (Exception Region Output): Document it. | |
144 | ||
99e2a354 GK |
145 | 2001-08-13 Geoffrey Keating <geoffk@redhat.com> |
146 | ||
147 | * config/rs6000/sysv4.h (PREFERRED_DEBUGGING_TYPE): Use | |
148 | DWARF2 instead of stabs by default. | |
149 | ||
2fc1c679 DE |
150 | 2001-08-13 David Edelsohn <edelsohn@gnu.org> |
151 | ||
152 | * config/rs6000/rs6000.c: Include optabs.h. | |
153 | ||
710fdaad DE |
154 | 2001-08-13 David Edelsohn <edelsohn@gnu.org> |
155 | ||
156 | * config/rs6000/eabi.asm: Define 64-bit versions of FPR | |
157 | save/restore routines. | |
158 | * ginclude/ppc-asm.h: Define 64-bit FUNC_* macros. | |
159 | ||
16757495 AJ |
160 | 2001-08-13 Andreas Jaeger <aj@suse.de> |
161 | ||
162 | * gcc.c (init_spec): Revert last patch by Theodore Papadopoulo, | |
163 | the english is correct. | |
164 | ||
e78d8e51 ZW |
165 | 2001-08-13 Zack Weinberg <zackw@panix.com> |
166 | ||
167 | * expr.h: Split out optab- and libfunc-related code to... | |
168 | * optabs.h, libfuncs.h: ... these new headers. | |
169 | ||
170 | * Makefile.in (CONFIG_H, EXPR_H): Take out insn-codes.h. | |
171 | (OPTABS_H): New. | |
172 | (various .o rules): Add $(OPTABS_H) and/or libfuncs.h to | |
173 | dependencies. | |
174 | * mkconfig.sh: Don't include insn-codes.h from config.h. | |
175 | ||
176 | * reload.h: Use #ifdef GCC_INSN_CODES_H to decide whether | |
177 | enum insn_code is available. Move reload_in_optab and | |
178 | reload_out_optab array declarations to optabs.h. | |
179 | * regmove.c (gen_add3_insn): Move to optabs.c, export from | |
180 | there, prototype in expr.h. | |
181 | * gencodes.c: Cleanup: zap global variables, don't use | |
182 | printf where puts will do, don't bother defining MAX_INSN_CODE | |
183 | which nothing uses, let CODE_FOR_nothing get its value implicitly. | |
184 | ||
185 | * genemit.c, genopinit.c: Include optabs.h in generated file. | |
186 | * genoutput.c: Include insn-codes.h in generated file. | |
187 | * builtins.c, caller-save.c, combine.c, doloop.c, explow.c, | |
16757495 AJ |
188 | expmed.c, expr.c, function.c, ifcvt.c, loop.c, optabs.c, profile.c, |
189 | reload1.c, simplify-rtx.c, stmt.c, unroll.c, config/alpha/alpha.c, | |
e78d8e51 ZW |
190 | config/arm/arm.c, config/c4x/c4x.c, config/clipper/clipper.c, |
191 | config/i386/i386.c, config/ia64/ia64.c, config/mn10300/mn10300.c, | |
192 | config/pj/pj.c, config/sh/sh.c, config/sparc/sparc.c: | |
193 | Include optabs.h. | |
16757495 | 194 | * builtins.c, calls.c, dwarf2out.c, except.c, expr.c, function.c, |
e78d8e51 ZW |
195 | optabs.c, stmt.c, config/c4x/c4x.c, config/clipper/clipper.c, |
196 | config/m88k/m88k.c, config/sparc/sparc.c: | |
197 | Include libfuncs.h. | |
198 | * reload.c: Include expr.h and optabs.h before reload.h. | |
199 | * config/alpha/alpha.c: Include tree.h before reload.h. | |
200 | * config/pa/pa.c: Include expr.h, optabs.h, libfuncs.h, | |
201 | and reload.h in that order. | |
202 | * config/sparc/sparc.c: Include debug.h. | |
203 | * recog.c: Include insn-codes.h. | |
204 | ||
050e4ca2 AJ |
205 | 2001-08-13 Andreas Jaeger <aj@suse.de> |
206 | ||
207 | * config.gcc: Use t-slibgcc-elf to build shared libgcc_s on | |
208 | s390*linux. | |
209 | ||
dd49a9ec TP |
210 | 2000-08-13 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr> |
211 | ||
212 | * dwarf2out.c (output_cfa_loc): Fix typo in comment. | |
213 | * gcc.c (init_spec): Fix typo in comment. | |
214 | * varasm.c (data_section): Fix typo in comment. | |
215 | ||
d195b46f JH |
216 | Mon Aug 13 02:27:39 CEST 2001 Jan Hubicka <jh@suse.cz> |
217 | ||
218 | * predict.c (dump_prediction): New argument "USED". | |
219 | (combine_predictions_for_insn): Determine the used heuristics, | |
220 | output the case no heuristic applied. | |
221 | * predict.def (PRED_DS_THEORY, PRED_NO_HEURISTIC): New. | |
222 | ||
afea8580 AJ |
223 | 2001-08-13 Andreas Jaeger <aj@suse.de> |
224 | ||
225 | * config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Don't capitalize | |
226 | register %rip. | |
227 | ||
5d0cab94 KH |
228 | 2001-08-13 Kazu Hirata <kazu@hxi.com> |
229 | ||
230 | * jump.c: Fix formatting. | |
231 | ||
7ba7767b KH |
232 | 2001-08-13 Kazu Hirata <kazu@hxi.com> |
233 | ||
234 | * config/h8300/h8300.md (zero_extendqihi2): Correct the insn | |
235 | length. | |
236 | ||
5fe2e41b GK |
237 | 2001-08-12 Geoffrey Keating <geoffk@redhat.com> |
238 | ||
353df065 GK |
239 | * loop.c (check_dbra_loop): Use condjump_label to compute |
240 | jump_label. | |
241 | ||
5fe2e41b GK |
242 | * rtl.h: Move prototypes of rtx_alloc and rtvec_alloc around |
243 | to better document the files they're in. | |
244 | ||
a2b498cb ZW |
245 | 2001-08-12 Zack Weinberg <zackw@panix.com> |
246 | ||
247 | * recog.h (struct insn_operand_data): Shrink 'mode' field | |
248 | to 16 bits. | |
249 | ||
dc297297 KH |
250 | 2001-08-12 Kazu Hirata <kazu@hxi.com> |
251 | ||
252 | * gcc.c: Fix comment formatting. | |
253 | * gccspec.c: Likewise. | |
254 | * gcov.c: Likewise. | |
255 | * gcse.c: Likewise. | |
256 | * genemit.c: Likewise. | |
257 | * gengenrtl.c: Likewise. | |
258 | * genrecog.c: Likewise. | |
259 | * gensupport.c: Likewise. | |
260 | * ggc-page.c: Likewise. | |
261 | * global.c: Likewise. | |
262 | * graph.c: Likewise. | |
263 | * ifcvt.c: Likewise. | |
264 | * integrate.c: Likewise. | |
265 | * lcm.c: Likewise. | |
266 | * libgcc2.c: Likewise. | |
267 | * loop.c: Likewise. | |
268 | * mbchar.c: Likewise. | |
269 | * optabs.c: Likewise. | |
270 | * predict.c: Likewise. | |
271 | * prefix.c: Likewise. | |
272 | * profile.c: Likewise. | |
273 | * protoize.c: Likewise. | |
274 | * real.c: Likewise. | |
275 | * recog.c: Likewise. | |
276 | * regclass.c: Likewise. | |
277 | * regmove.c: Likewise. | |
278 | * reg-stack.c: Likewise. | |
279 | * reload1.c: Likewise. | |
280 | * resource.c: Likewise. | |
281 | * rtlanal.c: Likewise. | |
282 | * rtl.c: Likewise. | |
283 | ||
f0d1c3bd KH |
284 | 2001-08-12 Kazu Hirata <kazu@hxi.com> |
285 | ||
286 | * doc/tm.texi (ENCODE_SECTION_INFO): Add documentation on how | |
287 | a tree representing a constant is passed to the macro. | |
288 | ||
d9f6800d RH |
289 | 2001-08-12 Richard Henderson <rth@redhat.com> |
290 | ||
291 | * config/rs6000/rs6000.c (rs6000_elf_asm_out_constructor): New. | |
292 | (rs6000_elf_asm_out_destructor): New. | |
293 | * config/rs6000/sysv4.h (CTORS_SECTION_ASM_OP): Remove. | |
294 | (DTORS_SECTION_ASM_OP): Remove. | |
295 | (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New. | |
296 | (ASM_OUTPUT_INT): Don't hack TARGET_RELOCATABLE for constructors. | |
297 | ||
6ba57472 DE |
298 | 2001-08-12 David Edelsohn <edelsohn@gnu.org> |
299 | ||
300 | Revert: | |
301 | 2001-08-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> | |
302 | * gcc.c (set_collect_gcc_options): New function, split out from | |
303 | main. | |
304 | Ignore elided switches. | |
305 | (do_spec_1): Invoke before executing command. | |
306 | (set_input): Export. | |
307 | Move declaration ... | |
308 | * gcc.h (set_input): ... here. | |
309 | * config/alpha/osf.h (ASM_FINAL_SPEC): Use %U.s to refer to input | |
310 | file. | |
311 | ||
270fc29b RH |
312 | 2001-08-12 Richard Henderson <rth@redhat.com> |
313 | ||
314 | * config/rs6000/rs6000.c (rs6000_elf_section_type_flags): Fix | |
315 | thinko wrt TARGET_RELOCATABLE. | |
316 | ||
21c38ecb NB |
317 | 2001-08-12 Neil Booth <neil@daikokuya.demon.co.uk> |
318 | ||
319 | * fix-header.c (cb_file_change): Update prototype. | |
320 | ||
94aca342 ZW |
321 | 2001-08-11 Zack Weinberg <zackw@panix.com> |
322 | ||
323 | * toplev.c (set_float_handler): Make static. | |
324 | * toplev.h: Don't prototype set_float_handler. | |
325 | ||
326 | * simplify-rtx.c: Don't include setjmp.h. | |
327 | (simplify_unary_real, simplify_binary_real, simplify_binary_is2orm1): | |
328 | New functions. | |
329 | (simplify_unary_operation, simplify_binary_operation): Use them, | |
330 | via do_float_handler. | |
331 | ||
332 | * fold-const.c: Don't include setjmp.h. | |
333 | (exact_real_inverse_1): New function. | |
334 | (exact_real_inverse): Use it, via do_float_handler. | |
335 | ||
336 | * varasm.c: Don't include setjmp.h. | |
337 | (assemble_real_1): New function. | |
338 | (assemble_real): Use it, via do_float_handler. | |
339 | Call internal_error if we get a trap here. | |
340 | ||
341 | * c-parse.in, cse.c, cselib.c, config/i386/i386.c, | |
342 | config/pj/pj.c, config/s390/s390.c: Don't include setjmp.h. | |
343 | ||
31cdd499 ZW |
344 | 2001-08-11 Zack Weinberg <zackw@panix.com> |
345 | ||
346 | * defaults.h: Define PREFERRED_STACK_BOUNDARY to | |
347 | STACK_BOUNDARY if not already defined. | |
348 | ||
349 | * calls.c, function.c, reload1.c, explow.c: Don't default | |
350 | PREFERRED_STACK_BOUNDARY. Remove all #if/#ifdef on | |
351 | PREFERRRED_STACK_BOUNDARY and/or STACK_BOUNDARY. | |
352 | ||
353 | * explow.c (allocate_dynamic_stack_space): Change unsafe #if | |
354 | to run-time test. | |
355 | ||
356 | * doc/tm.texi: Document that STACK_BOUNDARY is required; | |
357 | clarify difference between it and PREFERRED_STACK_BOUNDARY. | |
358 | ||
2b220265 NB |
359 | 2001-08-11 Neil Booth <neil@daikokuya.demon.co.uk> |
360 | ||
361 | * cppmacro.c (enter_macro_context): Push macro expansions even | |
362 | if empty. | |
363 | ||
d0101753 FS |
364 | 2001-08-11 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
365 | ||
366 | * config/rs6000/rs6000.c: Include integrate.h to silence warning. | |
367 | (rs6000_elf_section_type_flags): Actually return a value. | |
368 | ||
994fe660 | 369 | 2001-08-11 Ulrich Weigand <uweigand@de.ibm.com> |
afea8580 AJ |
370 | |
371 | * s390.c, s390.h, s390.md, s390-protos.h, linux.h, t-linux: | |
994fe660 | 372 | Clean up code: add missing comments and prototypes, fix warnings, |
02c9b1ca | 373 | remove obsolete code, fix spacing to conform to coding style. |
994fe660 | 374 | |
f314b9b1 | 375 | 2001-08-11 Ulrich Weigand <uweigand@de.ibm.com> |
afea8580 AJ |
376 | |
377 | * config/s390/s390.c (targetm): Define TARGET_ASM_OPEN_PAREN | |
f314b9b1 UW |
378 | and TARGET_ASM_CLOSE_PAREN. |
379 | (regclass_map): CC register belongs to class NO_REGS. | |
afea8580 | 380 | (legitimize_pic_address): Don't generate unnecessary moves |
f314b9b1 | 381 | (to avoid confusing loop optimization). |
afea8580 AJ |
382 | (check_and_change_labels): Replace jump_long by indirect_jump. |
383 | (s390_final_chunkify): Don't start a new literal pool on section | |
f314b9b1 UW |
384 | switch in 64-bit code. |
385 | (s390_va_start, s390_va_arg): Fixed incorrect sizes for 64-bit. | |
afea8580 | 386 | |
f314b9b1 UW |
387 | * config/s390/s390.h (TARGET_SWITCHES): Renamed debug_arg to debug. |
388 | (MAX_BITS_PER_WORD, MAX_LONG_TYPE_SIZE): Set to 64 (for 64-bit). | |
afea8580 | 389 | (HARD_REGNO_MODE_OK, RETURN_IN_MEMORY): Support complex integer |
f314b9b1 UW |
390 | modes correctly. |
391 | (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Remove CC_REGS. | |
392 | (EH_RETURN_HANDLER_RTX): Fixed incorrect offset for 64-bit. | |
393 | (CONST_COSTS): Fixed incorrect costs. | |
394 | ||
395 | * config/s390/s390.md (fixuns_trunc[sd]f[sd]i2, udivsi3, umodsi3): | |
396 | Use emit_jump instead of emit_jump_insn (gen_jump). | |
afea8580 | 397 | (divsi3, modsi3): Clobber low word of divmoddisi3 before shifting |
f314b9b1 UW |
398 | (to avoid confusing flow analysis). |
399 | (tablejump, tablejump1, tablejump2): Removed. Replaced by casesi. | |
400 | (casesi, casesi_jump): New. | |
401 | (jump_long): Removed. Functionality merged into indirect_jump. | |
402 | (indirect_jump): Accept address_operand, not just register_operand. | |
403 | (cjump_long, icjump_long): Use same logic as indirect_jump. | |
404 | (builtin_setjmp_setup, builtin_setjmp_receiver, builtin_longjmp): | |
405 | Fixed broken setjmp/longjmp handling. | |
406 | (do_builtin_setjmp_setup): Removed. | |
407 | ||
408 | * config/s390/linux.h (ASM_OUTPUT_DOUBLE_INT): Work around | |
409 | broken GNU as versions that don't accept .quad with large | |
410 | negative values. Use hexadecimal output instead. | |
411 | (ASM_OUTPUT_ADDR_DIFF_ELT): Adapt to new casesi insn. | |
412 | (ASM_OPEN_PAREN, ASM_CLOSE_PAREN, FUNCTION_PROLOGUE, | |
413 | FUNCTION_EPILOGUE): Removed. Now in targetm. | |
414 | ||
415 | * config/s390/linux64.h (CALL_USED_REGISTERS): Add CC register. | |
416 | ||
417 | * config/s390/fixdfdi.h: Add missing copyright statement. | |
418 | Fix type conflicts on 64-bit. Add missing SFmode routines. | |
419 | ||
420 | * s390.c, s390.h, s390.md, linux.h, linux64.h: Fixed incorrect | |
421 | email address. | |
422 | ||
dddba205 RH |
423 | 2001-08-11 Richard Henderson <rth@redhat.com> |
424 | ||
425 | * rtl.h (REG_EH_RETHROW): Remove. | |
426 | * rtl.c (reg_note_name): Update. | |
427 | * combine.c (distribute_notes): Don't check for it. | |
428 | ||
ab61c93f RH |
429 | 2001-08-11 Richard Henderson <rth@redhat.com> |
430 | ||
431 | * combine.c (distribute_notes): Place REG_SETJMP. | |
432 | ||
58f4de4f RH |
433 | 2001-08-11 Richard Henderson <rth@redhat.com> |
434 | ||
435 | * doc/extend.texi (Arrays and pointers implementation): Discourage | |
436 | relying on sign-extension of pointers. | |
437 | ||
f841565e L |
438 | 2001-08-11 H.J. Lu <hjl@gnu.org> |
439 | ||
440 | * config/mips/linux.h (EXTRA_SECTIONS): Remove in_ctors and | |
441 | in_dtors. | |
442 | (EXTRA_SECTION_FUNCTIONS): Remove DTORS_SECTION_ASM_OP and | |
443 | RDATA_SECTION_ASM_OP. | |
444 | ||
d8393f64 GP |
445 | 2001-08-11 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
446 | ||
447 | * doc/install.texi (Specific, c4x): Fix cross-reference to the | |
448 | main manual to work both for info and HTML versions. | |
afea8580 | 449 | |
bef985f3 | 450 | 2001-08-11 Neil Booth <neil@daikokuya.demon.co.uk> |
760a4879 | 451 | Matt Kraai <kraai@alumni.carnegiemellon.edu> |
afea8580 | 452 | |
bef985f3 NB |
453 | * cpphash.c (_cpp_destroy_hashtable): Use ht_destroy. |
454 | * cpphash.h (CPP_IN_SYSTEM_HEADER): Fix. | |
455 | (struct cpp_pool): New member first. | |
456 | * cppinit.c (append_include_chain): Plug memory leaks. | |
457 | * cpplib.c (cpp_register_pragma, cpp_register_pragma_space): | |
458 | Allocate pragma structures from the (aligned) macro pool to | |
459 | avoid leaking memory. | |
460 | * cpplex.c (_cpp_init_pool, _cpp_free_pool): Use pool->first | |
461 | so we don't leak memory. | |
462 | * hashtable.c (ht_destroy): New. | |
463 | * hashtable.h (ht_destroy): New. | |
464 | ||
f80f7e8c NB |
465 | 2001-08-11 Neil Booth <neil@daikokuya.demon.co.uk> |
466 | Franz Sirl <Franz.Sirl-kernel@lauterbach.com> | |
467 | ||
468 | * c-lex.c (map): Make const. | |
469 | (cb_file_change): Update for callback passing a line map. | |
470 | Don't assume we have a previous map. Remove sanity check | |
471 | about popping too many files. | |
472 | * cpperror.c (print_location): Make map const. | |
473 | * cppfiles.c (stack_include_file): Update; line maps now hold sysp. | |
474 | (cpp_make_system_header): Similarly. | |
475 | (search_from): Similarly. | |
476 | (_cpp_execute_include): Don't remember where we came from. | |
477 | * cpphash.h (struct cpp_buffer): Remove return_to_line, sysp. | |
478 | (struct cpp_reader): Make map const. | |
479 | (CPP_IN_SYSTEM_HEADER, _cpp_do_file_change): Update. | |
480 | * cpplib.c (do_line): Update; line maps now hold sysp. | |
481 | (cpp_push_buffer): Similarly. | |
482 | (_cpp_do_file_change): Similarly; callback with map instead. | |
483 | (cpp_get_line_maps): Constify return value. | |
484 | (_cpp_pop_buffer): Update. | |
485 | * cpplib.h (struct cpp_file_change): Remove. | |
486 | (struct cpp_callbacks): Update. | |
487 | (cpp_get_line_maps): Constify return value. | |
488 | * cppmacro.c (_cpp_create_definition): Update. | |
489 | * cppmain.c (struct printer): Constify map. | |
490 | (maybe_print_line): Similarly. | |
491 | (print_line): Similarly. Deduce flags 1 and 2 here. | |
492 | (cb_file_change): Update. | |
493 | * line-map.c (free_line_maps): Warn regardless. | |
494 | (add_line_map): Return pointer to const. When passed NULL to_file | |
495 | with LC_LEAVE, use the obvious values for the return point so the | |
496 | caller doesn't have to figure them out. | |
497 | (lookup_line): Return pointer to const. | |
498 | (print_containing_files): Take pointer to const. | |
499 | * line-map.h (struct line_map): New members reason, sysp. | |
500 | (add_line_map): Return pointer to const. | |
501 | (lookup_line): Similarly. | |
502 | (print_containing_files): Take pointer to const. | |
503 | ||
bb948ad3 RZ |
504 | 2001-08-10 Roman Zippel <zippel@linux-m68k.org> |
505 | Richard Henderson <rth@redhat.com> | |
506 | ||
507 | * regmove.c (regmove_optimize): Avoid setting a register twice in | |
508 | a parallel set. | |
509 | ||
cbf4c36f RH |
510 | 2001-08-10 Richard Henderson <rth@redhat.com> |
511 | ||
512 | * doc/extend.texi (Arrays and pointers implementation): Document | |
513 | behavior of pointer/integer conversion. | |
514 | ||
db80cc1f | 515 | 2001-08-10 Ulrich Weigand <uweigand@de.ibm.com> |
afea8580 AJ |
516 | |
517 | * glimits.h (__LONG_MAX__): Add s390x as 64-bit architecture. | |
db80cc1f | 518 | |
fe203faf RH |
519 | 2001-08-10 Richard Henderson <rth@redhat.com> |
520 | ||
521 | * doc/extend.texi (C Implementation): New chapter. | |
522 | * doc/gcc.texi (Top): Link it in. | |
523 | ||
894aeeb0 AC |
524 | 2001-08-10 Andrew Cagney <ac131313@redhat.com> |
525 | ||
526 | * doc/install.texi (Specific): Fix CVS merge botch. | |
527 | ||
d67c7dd8 RH |
528 | 2001-08-10 Richard Henderson <rth@redhat.com> |
529 | ||
530 | * config/m68k/m68k.c (m68k_svr3_asm_out_constructor): Protect with | |
531 | ifdef CTOR_LIST_BEGIN instead of INIT_SECTION_ASM_OP. | |
532 | ||
19652adf ZW |
533 | 2001-08-10 Zack Weinberg <zackw@stanford.edu> |
534 | ||
535 | * calls.c, function.c: Always define PREFERRED_STACK_BOUNDARY | |
536 | if not already defined. Remove all #ifdefs on STACK_BOUNDARY; | |
537 | this macro is now required. | |
538 | ||
539 | * cselib.c (cselib_process_insn), flow.c (propagate_block), | |
540 | loop.c (find_and_verify_loops), reload.c (reload): Check | |
541 | for rtx code of CALL_INSN, not CALL, when deciding if we | |
542 | need to check for REG_SETJMP note. | |
543 | ||
544 | * gcse.c (compute_hash_table, compute_store_table): Update | |
545 | the #ifdef NON_SAVING_SETJMP code to the new REG_SETJMP | |
546 | logic. | |
547 | ||
548 | * config/avr/avr.c: Fix typo. | |
549 | * config/convex/convex.c (expand_movstr): Use adjust_address. | |
550 | * config/dsp16xx/dsp16xx.c: Define dsp16xx_compare_gen | |
551 | variable. | |
552 | * config/dsp16xx/dsp16xx.md: Correct calls to replace_equiv_address. | |
553 | * config/elxsi/elxsi.c: Include tree.h, expr.h, regs.h, and flags.h. | |
554 | Fix typo. | |
555 | * config/elxsi/elxsi.h: Don't define Rmode (typo for Pmode?) | |
556 | Do define STACK_BOUNDARY. | |
557 | * config/i370/i370.c: Include expr.h. | |
558 | * config/i860/sysv3.h, config/i860/sysv4.h, config/m32r/m32r.h, | |
559 | config/pa/som.h, config/v850/v850.h: Take in_ctors and | |
560 | in_dtors out of EXTRA_SECTIONS; take CTORS_SECTION_FUNCTION | |
561 | and DTORS_SECTION_FUNCTION out of EXTRA_SECTION_FUNCTIONS. | |
562 | * config/m88k/m88k.c: Include c-tree.h after expr.h. | |
563 | * config/pdp11/pdp11.c: Include expr.h and toplev.h. | |
564 | * config/romp/romp.c: Include expr.h after tree.h. | |
565 | Include toplev.h. | |
566 | (output_fpop): Use xmalloc, not oballoc. | |
567 | * config/we32k/we32k.c: Include expr.h. | |
568 | ||
cf35eebc KH |
569 | 2001-08-10 Kazu Hirata <kazu@hxi.com> |
570 | ||
571 | * config/h8300/h8300.h: Fix formatting. | |
572 | ||
07b2f2fd JM |
573 | 2001-08-08 Jason Merrill <jason_merrill@redhat.com> |
574 | ||
575 | * c-common.h (RETURN_NULLIFIED_P): Lose. | |
576 | * c-semantics.c (genrtl_return_stmt): Don't check it. | |
577 | ||
67070ffe RS |
578 | 2001-08-10 Richard Sandiford <rsandifo@redhat.com> |
579 | ||
580 | * config/mips/mips.c (mips_add_large_offset_to_sp): New function. | |
581 | (mips_annotate_frame_insn): New function. | |
582 | (mips_emit_frame_related_store): New function. | |
583 | (save_restore_insns): Don't mark instructions that set up the base | |
584 | registers as frame-related. Add REG_FRAME_RELATED_EXPR notes to | |
585 | the store instructions instead. | |
586 | (mips_expand_prologue): If the stack size is moved into a temporary | |
587 | register, do not mark that move as frame-related. Add a | |
588 | REG_FRAME_RELATED_EXPR note to the stack adjustment instruction. | |
589 | ||
a8205f03 RS |
590 | 2001-08-10 Richard Sandiford <rsandifo@redhat.com> |
591 | ||
592 | * config/mips/mips.c (save_restore_insns): Don't mark the RA's | |
593 | stack slot as unchanging if current_function_calls_eh_return. | |
594 | ||
2359d013 RS |
595 | 2001-08-10 Richard Sandiford <rsandifo@redhat.com> |
596 | ||
597 | * config/mips/mips.md (reload_outcc): Use HARD_REGNO_NREGS to | |
598 | access the second half of the TFmode scratch operand. | |
599 | ||
ca11a2e9 AG |
600 | 2001-08-10 Anthony Green <green@redhat.com> |
601 | ||
602 | * java/class.c (emit_register_classes): Conditionalize code on | |
603 | JCR_SECTION_NAME. | |
604 | ||
ca52d046 GP |
605 | 2001-08-10 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
606 | ||
607 | * doc/install.texi (Specific, avr): Fix cross-reference to the | |
608 | main manual to work both for info and HTML versions. | |
609 | ||
396ad517 JDA |
610 | 2001-08-09 John David Anglin <dave@hiauly1.hia.nrc.ca> |
611 | ||
19652adf | 612 | * stmt.c (expand_null_return_1): Remove code to generate simple returns |
396ad517 JDA |
613 | and "use_goto" argument. |
614 | (expand_null_return, expand_value_return): Update all callers. | |
615 | * function.c (expand_function_end): Remove code to generate simple | |
616 | return. | |
617 | * config/vax/vax.md (epilogue): New expander for function return. | |
618 | * doc/md.texi (epilogue): Remove "if defined". | |
619 | ||
e361dcd3 ZW |
620 | 2001-08-09 Zack Weinberg <zackw@stanford.edu> |
621 | ||
622 | * Makefile.in: Partially revert my previous change: | |
623 | put -DGENERATOR_FILE back in HOST_CFLAGS, take it out | |
624 | of the hashtab.o and safe-ctype.o rules. | |
625 | ||
2cc07db4 RH |
626 | 2001-08-09 Richard Henderson <rth@redhat.com> |
627 | ||
628 | * Makefile.in (MAYBE_USE_COLLECT2): Remove; purge all uses. | |
629 | (USE_COLLECT2): Remove duplicate definition. | |
630 | * config.gcc (a29k-udi, a29k-wrs-vxworks) [tm_file]: Remove a29k/udi.h. | |
631 | (use_collect2): Remove dead code. | |
632 | * configure.in (use_collect2): Remove will_use_collect2 and | |
633 | maybe_use_collect2; add USE_COLLECT2 to host_xm_defines and xm_defines. | |
634 | * configure: Rebuild. | |
635 | ||
636 | * target.h (targetm.asm_out.constructor): New. | |
637 | (targetm.asm_out.destructor, targetm.have_ctors_dtors): New. | |
638 | * target-def.h (TARGET_ASM_CONSTRUCTOR): New. | |
639 | (TARGET_ASM_DESTRUCTOR, TARGET_HAVE_CTORS_DTORS): New. | |
640 | * varasm.c (in_ctors, in_dtors): New. | |
641 | (assemble_constructor, assemble_destructor): Remove. | |
642 | (default_stabs_asm_out_destructor): New. | |
643 | (default_named_section_asm_out_destructor): New. | |
644 | (dtors_section, default_dtor_section_asm_out_destructor): New. | |
645 | (default_stabs_asm_out_constructor): New. | |
646 | (default_named_section_asm_out_constructor): New. | |
647 | (ctors_section, default_ctor_section_asm_out_constructor): New. | |
648 | * output.h: Update declarations. | |
649 | * c-decl.c (c_expand_body): Use target hooks instead of | |
650 | assemble_constructor and assemble_destructor. | |
651 | * profile.c (output_func_start_profiler): Likewise. | |
652 | * objc/objc-act.c (finish_objc): Likewise. | |
653 | (build_module_descriptor): Tidy. Set TREE_PUBLIC properly | |
654 | for the constructor. | |
655 | * objc/Make-lang.in (objc-act.o): Depend on TARGET_H. | |
656 | ||
657 | * crtstuff.c (CTORS_SECTION_ASM_OP): Don't define. | |
658 | (DTORS_SECTION_ASM_OP): Likewise. | |
659 | (__CTOR_LIST__): Use attribute section when possible. | |
660 | (__DTOR_LIST__, __CTOR_END__, __DTOR_END__): Likewise. | |
661 | ||
662 | * defaults.h (EH_FRAME_SECTION_NAME): Don't depend on | |
663 | ASM_OUTPUT_CONSTRUCTOR. | |
664 | ||
665 | * config/darwin.c (machopic_asm_out_constructor): New. | |
666 | (machopic_asm_out_destructor): New. | |
667 | * config/darwin-protos.h: Update declarations. | |
668 | * config/darwin.h (ASM_OUTPUT_CONSTRUCTOR): Remove. | |
669 | (ASM_OUTPUT_DESTRUCTOR): Remove. | |
670 | (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New. | |
671 | * config/nextstep.c (nextstep_asm_out_constructor): New. | |
672 | (nextstep_asm_out_destructor): New. | |
673 | * config/nextstep.h (ASM_OUTPUT_CONSTRUCTOR): Remove. | |
674 | (ASM_OUTPUT_DESTRUCTOR): Remove. | |
675 | (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New. | |
676 | * config/nextstep21.h: Undef TARGET_ASM_*STRUCTOR instead of | |
677 | ASM_OUTPUT_*STRUCTOR. | |
678 | * config/i386/aix386ng.h: Likewise. | |
679 | ||
680 | * config/elfos.h (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): Remove. | |
681 | (EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS): No ctors/dtors. | |
682 | (CTORS_SECTION_FUNCTION, DTORS_SECTION_FUNCTION): Remove. | |
683 | (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): Remove. | |
684 | * config/lynx.h: Likewise. | |
685 | * config/netware.h: Likewise. | |
686 | * config/psos.h: Likewise. | |
687 | * config/alpha/alpha-interix.h: Likewise. | |
688 | * config/alpha/elf.h: Likewise. | |
689 | * config/arc/arc.h: Likewise. | |
690 | * config/arm/aof.h: Likewise. | |
691 | * config/arm/coff.h: Likewise. | |
692 | * config/arm/elf.h: Likewise. | |
693 | * config/c4x/c4x.h: Likewise. | |
694 | * config/h8300/h8300.h: Likewise. | |
695 | * config/i386/cygwin.h: Likewise. | |
696 | * config/i386/djgpp.h: Likewise. | |
697 | * config/i386/i386-coff.h: Likewise. | |
698 | * config/i386/i386-interix.h: Likewise. | |
699 | * config/i386/sco5.h: Likewise. | |
700 | * config/i386/vsta.h: Likewise. | |
701 | * config/i386/win32.h: Likewise. | |
702 | * config/i960/i960-coff.h: Likewise. | |
703 | * config/ia64/sysv4.h: Likewise. | |
704 | * config/m68hc11/m68hc11.h: Likewise. | |
705 | * config/m68k/coff.h: Likewise. | |
706 | * config/m68k/mot3300.h: Likewise. | |
707 | * config/m88k/m88k.h: Likewise. | |
708 | * config/mcore/mcore-pe.h: Likewise. | |
709 | * config/mcore/mcore.h: Likewise. | |
710 | * config/mips/elf.h: Likewise. | |
711 | * config/mips/elf64.h: Likewise. | |
712 | * config/mips/iris6.h: Likewise. | |
713 | * config/pa/pa64-hpux.h: Likewise. | |
714 | * config/rs6000/sysv4.h: Likewise. | |
715 | * config/sh/sh.h: Likewise. | |
716 | * config/sparc/litecoff.h: Likewise. | |
717 | ||
718 | * config/svr3.h (CTORS_SECTION_ASM_OP): Remove. | |
719 | (CTORS_SECTION_FUNCTION, DTORS_SECTION_FUNCTION): Remove. | |
720 | (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): Remove. | |
721 | * config/1750a/1750a.h (ASM_OUTPUT_CONSTRUCTOR): Remove. | |
722 | (ASM_OUTPUT_DESTRUCTOR): Remove. | |
723 | * config/a29k/a29k.c: Move include of tree.h. | |
724 | * config/a29k/udi.h: Delete file. | |
725 | * config/alpha/alpha.c (vms_asm_out_constructor): New. | |
726 | (vms_asm_out_destructor): New. | |
727 | * config/alpha/vms.h (EXTRA_SECTIONS): No ctors/dtors. | |
728 | (EXTRA_SECTION_FUNCTIONS): Likewise. | |
729 | (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): Remove. | |
730 | (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New. | |
731 | * config/c4x/c4x.c: Move include of tree.h. | |
19652adf | 732 | * config/clipper/clipper.c (clix_asm_out_constructor): New. |
2cc07db4 RH |
733 | (clix_asm_out_destructor): New. |
734 | * config/clipper/clix.h (ASM_OUTPUT_CONSTRUCTOR): Remove. | |
735 | (ASM_OUTPUT_DESTRUCTOR): Remove. | |
736 | (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New. | |
737 | * config/i386/aix386.h (ASM_OUTPUT_CONSTRUCTOR): Remove. | |
738 | (TARGET_ASM_CONSTRUCTOR): New. | |
739 | * config/i386/i386.c (ix86_svr3_asm_out_constructor): New. | |
740 | (sco_asm_out_constructor): New. | |
741 | * config/i386/sco5.h (TARGET_ASM_CONSTRUCTOR): New. | |
742 | * config/i386/svr3gas.h: Remove stack grows up code. | |
743 | Remove code duplicated from i386/sysv3.h. | |
744 | (TARGET_ASM_CONSTRUCTOR): New. | |
745 | (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): Remove. | |
746 | (DTORS_SECTION_FUNCTION, CTORS_SECTION_FUNCTION): Remove. | |
747 | * config/i386/sysv3.h (ASM_OUTPUT_CONSTRUCTOR): Remove. | |
748 | (TARGET_ASM_CONSTRUCTOR): New. | |
749 | * config/m68hc11/m68hc11.c (m68hc11_asm_out_constructor): New. | |
750 | (m68hc11_asm_out_destructor): New. | |
751 | * config/m68hc11/m68hc11.h (TARGET_ASM_CONSTRUCTOR): New. | |
752 | (TARGET_ASM_DESTRUCTOR): New. | |
753 | * config/m68k/auxgas.h: Don't undef ASM_OUTPUT_*STRUCTOR. | |
754 | * config/m68k/dpx2.h: Properly undef all the bits inherited from | |
755 | config/svr3.h pertaining to section manipulation. | |
756 | * config/m68k/dpx2g.h: Remove #if 0 code. | |
757 | * config/m68k/m68k.c (m68k_svr3_asm_out_constructor): New. | |
758 | * config/m68k/tower-as.h (ASM_OUTPUT_SOURCE_LINE): Fix typo. | |
759 | (ASM_OUTPUT_CONSTRUCTOR): Remove. | |
760 | (TARGET_ASM_CONSTRUCTOR): New. | |
761 | * config/m88k/m88k.c (m88k_layout_frame): Don't use assign_stack_local. | |
762 | (m88k_svr3_asm_out_constructor): New. | |
763 | (m88k_svr3_asm_out_destructor): New. | |
764 | * config/m88k/sysv3.h (ASM_OUTPUT_CONSTRUCTOR): Remove. | |
765 | (ASM_OUTPUT_DESTRUCTOR): Remove. | |
766 | (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New. | |
767 | * config/mips/mips.h: Remove #if 0 ASM_OUTPUT_*STRUCTOR code. | |
768 | * config/rs6000/aix.h: Likewise. | |
769 | * config/mips/rtems64.h: Don't undef removed constructor related bits. | |
770 | * config/mips/vxworks.h: Likewise. | |
771 | * config/rs6000/lynx.h: Likewise. | |
772 | * config/sh/elf.h: Likewise. | |
773 | * config/rs6000/sysv4.h (CTORS_SECTION_ASM_OP): New. | |
774 | (DTORS_SECTION_ASM_OP): New. | |
775 | * config/sparc/linux64.h (ASM_OUTPUT_CONSTRUCTOR): Remove. | |
776 | (ASM_OUTPUT_DESTRUCTOR): Remove. | |
777 | * config/sparc/sol2-sld-64.h: Likewise. | |
778 | * config/vax/vax.c (vms_asm_out_constructor): New. | |
779 | (vms_asm_out_destructor): New. | |
780 | * config/vax/vms.h (ASM_OUTPUT_CONSTRUCTOR): Remove. | |
781 | (ASM_OUTPUT_DESTRUCTOR): Remove. | |
782 | (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New. | |
783 | ||
784 | * doc/tm.texi (@node Initialization): Update. | |
785 | ||
ef8d8b89 RH |
786 | 2001-08-09 Richard Henderson <rth@redhat.com> |
787 | ||
788 | * config/alpha/crtbegin.asm (__JCR_LIST__): New. | |
789 | (__do_global_dtors_aux): Use gp-relative static data to avoid | |
790 | one dynamic relocation. | |
791 | (__do_frame_setup): Register Java classes. | |
792 | * config/alpha/crtend.asm (__JCR_END__): New. | |
793 | ||
1b0c37d7 ZW |
794 | 2001-08-09 Zack Weinberg <zackw@stanford.edu> |
795 | ||
ef8d8b89 RH |
796 | * Makefile.in (HOST_CFLAGS): Take out -DGENERATOR_FILE. |
797 | (CONFIG_H, TCONFIG_H, TM_P_H): Update. | |
798 | (GEN, STAGESTUFF): Add new files. | |
799 | (insn-constants.h, s-constants, tm-preds.h, s-preds, | |
800 | genconstants, genpreds, genconstants.o, genpreds.o): New rules. | |
801 | (hashtab.o, safe-ctype.o): Add -DGENERATOR_FILE. | |
802 | * mkconfig.sh: Include tm-preds.h in tm_p.h; insn-constants.h | |
803 | as well as insn-codes.h and insn-flags.h in config.h; and no | |
804 | extra headers in tconfig.h and hconfig.h. | |
805 | ||
806 | * gencodes.c: Eliminate code to generate predicate declarations | |
807 | or #defines for md-file constants. | |
808 | * genconstants.c, genpreds.c: New files. | |
809 | ||
810 | * i386.md: Re-order guard expressions such that TARGET_64BIT | |
811 | comes first, when this permits better optimization. Add | |
812 | TARGET_64BIT to more x86-64 patterns. Add comment explaining | |
813 | why this is desirable. | |
1b0c37d7 | 814 | |
a734f2a3 JJ |
815 | 2001-08-09 Jakub Jelinek <jakub@redhat.com> |
816 | ||
817 | * config/ia64/fde-glibc.c: Require glibc 2.2.4+ headers. | |
818 | (find_fde_for_dso): Remove. | |
819 | (_Unwind_IteratePhdrCallback): New. | |
820 | (_Unwind_FindTableEntry): Use dl_iterate_phdr. | |
821 | * config/ia64/crtbegin.asm (__ia64_app_header): Remove. | |
822 | ||
21d93687 RK |
823 | Thu Aug 9 11:30:20 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
824 | ||
825 | * expr.c (emit_single_push_insn): Only exists ifdef PUSH_ROUNDING. | |
826 | (move_by_pieces_1): If would call it, abort if no PUSH_ROUNDING. | |
827 | ||
b1b6b0cb GS |
828 | 2001-08-09 Graham Stott <grahams@redhat.com> |
829 | ||
830 | * sched-vis.c (MAX_VISUAL_NO_UNIT): Define. | |
831 | (vis_no_unit): Use it. | |
832 | (visualize_no_unit): Add the insn only if room exists. | |
833 | ||
a0e4ce74 GS |
834 | 2001-08-09 Graham Stott <grahams@redhat.com> |
835 | ||
1b0c37d7 ZW |
836 | * predict.c (estimate_probability): Replace magic numbers with |
837 | appropriate enumeration. | |
a4e11a5c GS |
838 | |
839 | 2001-08-09 Graham Stott <grahams@redhat.com> | |
840 | ||
841 | * cppexp.c (EXTRACT_PRIO): Uppercase and parenthsize macro | |
a0e4ce74 GS |
842 | parameter. |
843 | (EXTRACT_FLAGS): Likewise. | |
844 | ||
77416b3d AH |
845 | 2001-08-09 Aldy Hernandez <aldyh@redhat.com> |
846 | ||
1b0c37d7 ZW |
847 | * config/mips/mips.c (mips_legitimate_address_p): Check for |
848 | CONST_INT in last patch. | |
77416b3d | 849 | |
6351543d AG |
850 | 2001-08-08 Anthony Green <green@redhat.com> |
851 | ||
852 | * java/class.c (emit_register_classes): Use assemble_jcr if | |
853 | possible. Keep the original mechanism as a fallback. | |
854 | * defaults.h (JCR_SECTION_NAME): Define if we have named section | |
855 | and weak symbol support. | |
856 | * crtstuff.c (__JCR_LIST__): Define. | |
857 | (__JCR_END__): Define. | |
858 | (_Jv_RegiserClasses): Define weak symbol if possible. | |
859 | (__do_global_ctors_aux): Register classes for ELF targets with | |
860 | weak symbol support. | |
861 | ||
30f7a378 KH |
862 | 2001-08-08 Kazu Hirata <kazu@hxi.com> |
863 | ||
864 | * dbxout.c: Fix comment formatting. | |
865 | * dependence.c: Likewise. | |
866 | * df.c: Likewise. | |
867 | * diagnostic.c: Likewise. | |
868 | * dominance.c: Likewise. | |
869 | * doprint.c: Likewise. | |
870 | * dwarf2out.c: Likewise. | |
871 | * dwarfout.c: Likewise. | |
872 | * emit-rtl.c: Likewise. | |
873 | * except.c: Likewise. | |
874 | * explow.c: Likewise. | |
875 | * expmed.c: Likewise. | |
876 | * expr.c: Likewise. | |
877 | * flow.c: Likewise. | |
878 | * fold-const.c: Likewise. | |
879 | * function.c: Likewise. | |
880 | ||
35e17f7e FS |
881 | 2001-08-08 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
882 | ||
883 | * global.c (retry_global_alloc): Avoid shadowing allocno. | |
884 | ||
2b1e2382 MM |
885 | 2001-08-08 Mark Mitchell <mark@codesourcery.com> |
886 | ||
887 | * except.c (remove_fixup_regions): Fix typo. | |
888 | ||
b9f22704 JM |
889 | 2001-08-08 Jan van Male <jan.vanmale@fenk.wau.nl> |
890 | ||
1b0c37d7 | 891 | * emit-rtl.c (adjust_address, adjust_address_nv): Cast offset to |
b9f22704 | 892 | unsigned HOST_WIDE_INT to avoid warning. |
1b0c37d7 ZW |
893 | * final.c (final): Cast INSN_UID to unsigned to avoid warning. |
894 | * flow.c (set_block_for_new_insns): Likewise. | |
b9f22704 | 895 | |
a4b07e7f JH |
896 | Wed Aug 8 21:08:14 CEST 2001 Jan Hubicka <jh@suse.cz> |
897 | ||
898 | * sibcall.c (return_value_pseudo): New static variable. | |
899 | (skip_copy_to_return_value): Handle return_value_pseudo. | |
900 | (call_ends_block_p): Ensure that return_value_pseudo is set. | |
901 | (optimize_sibling_and_tail_recursive_call): Discover the | |
902 | load of pseudo return value in alternate exit block. | |
903 | ||
9d98f8f9 JH |
904 | Wed Aug 8 21:06:43 CEST 2001 Jan Hubicka <jh@suse.cz> |
905 | ||
906 | * calls.c (ECF_ALWAYS_RETURN): New constant. | |
907 | (emit_call_1): Add REG_ALWAYS_RETURN note if needed. | |
908 | (expand_call): Use LCF_ALWAYS_RETURN for __bb_fork_func. | |
909 | (emit_library_call_value_1): Handle LCT_ALWAYS_RETRUN. | |
910 | * flow.c (need_fake_edge_p): Handle REG_ALWAYS_RETURN. | |
911 | * rtl.c (reg_note_name): New name. | |
912 | * rtl.h (enum reg_note): Add REG_ALWAYS_RETURN. | |
913 | ||
82423cba AH |
914 | 2001-08-07 Aldy Hernandez <aldyh@redhat.com> |
915 | ||
916 | * config/mips/mips.c (mips_legitimate_address_p): Limit "la" addresses. | |
917 | ||
5755cd38 JM |
918 | 2001-08-08 Jason Merrill <jason_merrill@redhat.com> |
919 | ||
920 | * alias.c (get_alias_set): Return a previously calculated | |
921 | alias set for a VAR_DECL. | |
922 | * function.c (gen_mem_addressof): Calculate the alias set before | |
923 | touching the RTL. | |
924 | ||
0f0138b6 JH |
925 | Wed Aug 8 18:44:37 CEST 2001 Jan Hubicka <jh@suse.cz> |
926 | ||
927 | * predict.def: Set hitrates according our experimental run. | |
928 | ||
929 | Wed Aug 8 18:01:58 CEST 2001 Jan Hubicka <jh@suse.cz> | |
930 | ||
931 | * i386.h (HARD_REGNO_RENAME_OK): New macro. | |
932 | ||
b2bcb32d L |
933 | 2001-08-08 H.J. Lu <hjl@gnu.org> |
934 | ||
935 | * config/mips/mips.c (mips_unique_section): New. Copied from | |
936 | config/mips/elf.h. | |
937 | ||
938 | * config/mips/mips-protos.h (mips_unique_section): New | |
939 | prototype. | |
940 | ||
941 | * config/mips/elf.h (UNIQUE_SECTION): Use mips_unique_section. | |
942 | ||
943 | * config/mips/little.h: New. Generic little endian mips | |
944 | targets. Only mips*-*-linux* is converted to use it so far. | |
945 | ||
946 | * config/mips/linux.h: Include "gofast.h" and "mips/mips.h". | |
947 | (WCHAR_TYPE): Defined | |
948 | (WCHAR_TYPE_SIZE): Likewise. | |
949 | (INIT_SUBTARGET_OPTABS): Likewise. | |
950 | (BSS_SECTION_ASM_OP): Likewise. | |
951 | (SBSS_SECTION_ASM_OP): Likewise. | |
952 | (ASM_OUTPUT_ALIGNED_BSS): Likewise. | |
953 | (ASM_DECLARE_OBJECT_NAME): Likewise. | |
954 | (UNIQUE_SECTION): Likewise. | |
955 | (EXTRA_SECTIONS): Likewise. | |
956 | (ASM_OUTPUT_CONSTRUCTOR): Likewise. | |
957 | (ASM_OUTPUT_DESTRUCTOR): Likewise. | |
958 | (ASM_OUTPUT_DEF): Likewise. | |
959 | (HANDLE_SYSV_PRAGMA): Removed. | |
960 | (NO_IMPLICIT_EXTERN_C): Likewise. | |
961 | (TARGET_MEM_FUNCTIONS): Likewise. | |
962 | (STARTFILE_SPEC): Likewise. | |
963 | (ENDFILE_SPEC): Likewise. | |
964 | (LIB_SPEC): Likewise. | |
965 | (INVOKE__main): Likewise. | |
966 | (CTOR_LIST_BEGIN): Likewise. | |
967 | (CTOR_LIST_END): Likewise. | |
968 | (DTOR_LIST_BEGIN): Likewise. | |
969 | (DTOR_LIST_END): Likewise. | |
970 | (SET_ASM_OP): Likewise. | |
971 | (ASM_OUTPUT_SOURCE_LINE): Likewise. | |
972 | (ASM_OUTPUT_DEF): Likewise. | |
973 | (ASM_OUTPUT_IDENT): Likewise. | |
974 | ||
975 | * config/mips/mips.h (ASM_SPEC): Undefine before define. | |
976 | (CPLUSPLUS_CPP_SPEC): Likewise. | |
977 | (ASM_APP_ON) Redefine only if not defined. | |
978 | (ASM_APP_OFF): Likewise. | |
979 | (ASM_OUTPUT_SOURCE_LINE): Likewise. | |
980 | (ASM_OUTPUT_IDENT): Likewise. | |
981 | ||
982 | * config.gcc: Update tm_file for Linux/mips. | |
983 | ||
b7933c21 BS |
984 | 2001-08-08 Bernd Schmidt <bernds@redhat.com> |
985 | ||
986 | * cselib.c (cselib_record_sets): If insn is predicated, turn | |
987 | sources into IF_THEN_ELSEs. | |
7dcc803e BS |
988 | |
989 | * config/ia64/ia64.md (cond_opsi2_internal, cond_opsi2_internal_b): | |
990 | Turn into define_insn_and_split. | |
b9f22704 | 991 | |
4b6c5340 BS |
992 | * sched-deps.c: Include "cselib.h". |
993 | (add_insn_mem_dependence, sched_analyze_1, sched_analyze_2): | |
994 | Use cselib to turn memory addresses into VALUEs. | |
995 | (sched_analyze): Call cselib_init/cselib_finish if necessary. | |
996 | * sched-int.h (struct sched_info): New member USE_CSELIB. | |
997 | * sched-ebb.c (ebb_sched_info): Initialize it. | |
998 | * sched-rgn.c (rgn_sched_info): Likewise. | |
999 | * Makefile.in (sched-deps.o): Update dependencies. | |
7dcc803e | 1000 | |
91700444 BS |
1001 | * cselib.h (cselib_subst_to_values): Declare. |
1002 | * cselib.c (cselib_subst_to_values): No longer static. Allow MEMs | |
1003 | that have no value and autoincs to be handled by generating a new | |
1004 | dummy value. | |
b9f22704 | 1005 | |
674fc07d GS |
1006 | 2001-08-08 Graham Stott <grahams@redhat.com> |
1007 | ||
1008 | * final.c (shorten_branches): Update the INSN_ADDRESSES of insns | |
1009 | within fixed length SEQUENCE. | |
1010 | ||
5f9689e5 GS |
1011 | 2001-08-08 Graham Stott <grahams@redhat.com> |
1012 | ||
1013 | * diagnostic.h (diagnostic_format_decoder): Parenthesize macro parameter. | |
1014 | (diagnostic_prefixing_rule): Likewise. | |
1015 | (diagnostic_line_cutoff): Likewise. | |
1016 | (diagnostic_kind_count): Likewise. | |
1017 | ||
6d8c73f7 GS |
1018 | 2001-08-08 Graham Stott <grahams@redhat.com> |
1019 | ||
1020 | * alias.c (find_base_decl): Delete redundent assignment. | |
1021 | ||
8e0d15d4 GS |
1022 | 2001-08-08 Graham Stott <grahams@redhat.com> |
1023 | ||
1024 | * dependence.c (INDEX_LIMIT_CHECK): Uppercase macro parameter. | |
1025 | (abs): Uppercase and paranthesize macro parameter. | |
1026 | (MEM_DEPENDENCY): Add whitespace. | |
1027 | ||
e5503743 GS |
1028 | 2001-08-08 Graham Stott <grahams@redhat.com> |
1029 | ||
1030 | * config/mips/mips.c (mips_legitimate_address_p): Fix enable checking | |
1031 | failure check for CONST_INT | |
1032 | ||
5b57e28b GS |
1033 | 2001-08-08 Graham Stott <grahams@redhat.com> |
1034 | ||
1035 | * flow.c (back_edge_of_syntactic_loop_p): Add whitespace. | |
1036 | (libcall_dead_p): Likewise. | |
1037 | ||
1038 | (mark_used_regs): Constify fmt. | |
1039 | (find_use_as_address): Likewise. | |
1040 | ||
0f1e8126 GS |
1041 | 2001-08-08 Graham Stott <grahams@redhat.com> |
1042 | ||
1043 | * c-typeck.c (RESTORE_SPELLING_DEPTH): Uppercase and parenthesize macro | |
1044 | parameter. | |
1045 | ||
e61465ed GS |
1046 | 2001-08-08 Graham Stott <grahams@redhat.com> |
1047 | ||
1048 | * combine.c (combine_simplify_rtx): Update comment and | |
1049 | remove erroneous test. | |
1050 | ||
7364fdd8 NB |
1051 | 2001-08-07 Neil Booth <neil@daikokuya.demon.co.uk> |
1052 | ||
1053 | * cppinit.c (cpp_finish): Pop the final buffer without comment. | |
1054 | * cpplex.c (_cpp_lex_token): Don't pop the final buffer; and | |
1055 | take care to avoid multiple no-newline at EOF warnings in that | |
1056 | case. | |
1057 | ||
570a98eb JH |
1058 | Tue Aug 7 22:18:06 CEST 2001 Jan Hubicka <jh@suse.cz> |
1059 | ||
1060 | * calls.c (expand_call): Do not emit INSN_SETJMP note. | |
1061 | (emit_library_call_value_1): Likewise. | |
1062 | (emit_call_1): Emit REG_SETJMP note. | |
1063 | * cse.c (cse_end_of_basic_block): Use REG_SETJMP instead | |
1064 | of INSN_SETJMP | |
1065 | * cselib.c (cselib_process_insn): Likewise. | |
1066 | * flow.c (propagate_block): Likewise. | |
1067 | * loop.c (find_and_verify_loops): Likewise. | |
1068 | * reload.c (find_equiv_regs): Likewise. | |
1069 | * reload1.c (reload): Likewise. | |
1070 | * resource.c (mark_referenced_resources, | |
1071 | mark_set_resources): Likewise. | |
1072 | * sched-deps (sched_analyze_insn, sched_analyze): Likewise. | |
1073 | * final.c (final_scan_insn): Remove NOTE_INSN_SETJMP. | |
1074 | * haifa-sched.c (unlink_other_notes): Likewise. | |
1075 | (reemit_notes): Likewise. | |
1076 | * sched-ebb.c (sched_ebb): Likewise. | |
1077 | * sched-rgc.c (sched_region): Likewise. | |
1078 | * rtl.c (note_insn_name): Likewise. | |
1079 | (reg_note_name): Add REG_SETJMP | |
1080 | * rtl.h (reg_note): Add REG_SETJMP. | |
1081 | (insn_note): Remove NOTE_INSN_SETJMP. | |
1082 | ||
1083 | * profile.c (branch_prob): Add fake edges for setjmp. | |
1084 | ||
ff25793c DJ |
1085 | 2001-08-07 Daniel Jacobowitz <drow@mvista.com> |
1086 | ||
1b0c37d7 ZW |
1087 | * config.gcc: Quote target_cpu_default2 correctly for |
1088 | powerpc*-*-* targets. | |
ff25793c | 1089 | |
42dcba34 NB |
1090 | 2001-08-07 Neil Booth <neil@daikokuya.demon.co.uk> |
1091 | ||
1092 | * cpplib.h, line-map.h: Update comments. | |
1093 | * cppmain.c (printer_init): Move inline. | |
1094 | (maybe_print_line, print_line): Take a map pointer. | |
1095 | (cb_ident, cb_define, cb_undef, cb_include, cb_def_pragma): Update. | |
1096 | (cb_file_change): Don't use prior value of print.map. | |
1097 | ||
e8515283 DE |
1098 | 2001-08-07 David Edelsohn <edelsohn@gnu.org> |
1099 | ||
1100 | * doc/install.texi: Document fine-grained multilib configuration. | |
1101 | ||
0d025d43 JH |
1102 | Tue Aug 7 16:52:54 CEST 2001 Jan Hubicka <jh@suse.cz> |
1103 | ||
1104 | * rtlanal.c (find_first_parameter_load): Call note_stores | |
1105 | only on the instructions. | |
1106 | ||
24a28584 JH |
1107 | Tue Aug 7 14:56:16 CEST 2001 Jan Hubicka <jh@suse.cz> |
1108 | ||
1109 | * alias.c (nonlocal_mentioned_p): | |
1110 | Rename CONST_CALL_P to CONST_OR_PURE_CALL_P | |
1111 | * calls.c (emit_call_1): Likewise. | |
1112 | * cse.c (cse_insn, invalidate_skipped_block): Likewise. | |
1113 | * cselib.c (cselib_process_insn): Likewise. | |
1114 | * df.c (df_insns_modify): Likewise. | |
1115 | * flow.c (need_fake_edge_p): Likewise. | |
1116 | (propagate_one_insn): Likewise. | |
1117 | * haifa-sched.c (reemit_notes): Likewise. | |
1118 | * integrate.c (copy_insn_list): Likewise. | |
1119 | * jump.c (delete_prior_computation): Likewise. | |
1120 | * local-alloc.c (validate_equiv_mem): Likewise. | |
1121 | * loop.c (scan_loop): Likewise. | |
1122 | * predict.c (estimate_probability): Likewise. | |
1123 | * reload.c (reload): Likewise. | |
1124 | * sched-deps (sched_analyze): Likewise. | |
1125 | * rtl.h (CONST_CALL_P): rename to CONST_OR_PURE_CALL_P. | |
1126 | * gcse.c (compute_hash_table): Likewise. | |
1127 | (mark_call): Likewise. | |
1128 | (store_killed_in_insn): Likewise. | |
1129 | ||
1b81b789 JM |
1130 | 2001-08-07 Jason Merrill <jason_merrill@redhat.com> |
1131 | ||
45dcf572 JM |
1132 | * c-semantics.c (make_rtl_for_local_static): Use DECL_RTL_SET_P. |
1133 | ||
2d2e44d2 RH |
1134 | 2001-08-06 Richard Henderson <rth@redhat.com> |
1135 | ||
1136 | * varasm.c (assemble_gc_entry): Remove. | |
1137 | * output.h: Likewise. | |
1138 | ||
47907859 RH |
1139 | 2001-08-06 Richard Henderson <rth@redhat.com> |
1140 | ||
1141 | * varasm.c (assemble_constructor): Take a symbol_ref and a | |
1142 | priority instead of a bare string. Move priority handling | |
1143 | here from cp/decl2.c. | |
1144 | * output.h: Update decls. | |
1145 | ||
1146 | * c-decl.c (c_expand_body): Update calls to assemble_constructor | |
1147 | and assemble_destructor. | |
1148 | * profile.c (output_func_start_profiler): Likewise. | |
1149 | * objc/objc-act.c (finish_objc): Likewise. | |
1150 | (build_module_descriptor): Return the symbol not the symbol name. | |
1151 | ||
362b68a8 DE |
1152 | 2001-08-06 David Edelsohn <edelsohn@gnu.org> |
1153 | ||
1154 | * config/rs6000/darwin.h (DOUBLE_INT_ASM_OP): Add whitespace. | |
1155 | * config/rs6000/linux64.h (RS6000_MCOUNT): Define. | |
1156 | ({SAVE,RESTORE}_FP_{PREFFIX,SUFFIX}): Define. | |
1157 | * config/rs6000/rs6000.h (ASM_OUTPUT_DOUBLE_INT): Remove whitespace. | |
1158 | * config/rs6000/sysv4.h (DOUBLE_INT_ASM_OP): Add whitespace. | |
1159 | * config/rs6000/xcoff.h (DOUBLE_INT_ASM_OP): Add whitespace. | |
1160 | ||
fde84349 NB |
1161 | 2001-08-06 Neil Booth <neil@daikokuya.demon.co.uk> |
1162 | ||
1163 | * cpperror.c (print_containing_files): Moved to line-map.c. | |
1164 | (print_location): line-map.c handles re-listing or otherwise. | |
1165 | * cpphash.h (struct lexer_state): Remove next_bol. | |
1166 | (struct cpp_buffer): Remove include_stack_listed. | |
1167 | * cpplib.c (do_line, cpp_push_buffer, _cpp_pop_buffer): | |
1168 | Remove faked buffer handling. | |
1169 | (_cpp_do_file_change): Tweak. | |
1170 | * cpplib.h (enum cpp_buffer_type): Remove BUF_FAKE. | |
1171 | * cppmain.c (struct printer): Remove filename. | |
1172 | (print_line, cb_file_change): Update accordingly. | |
1173 | * line-map.c: Include intl.h. | |
1174 | (init_line_maps): Initialize last_listed. | |
1175 | (free_line_maps): Sanity check, warn if ENABLED_CHECKING. | |
1176 | (add_line_map): Sanity check inputs, warn if ENABLED_CHECKING. | |
1177 | (print_containing_files): New. | |
1178 | * line-map.h (struct line_maps): New member last_listed. | |
1179 | (print_containing_files, INCLUDED_FROM): New. | |
1180 | * Makefile.in: Update. | |
1181 | * po/POTFILES.in: Add line-map.c. | |
1182 | ||
df4556a3 RH |
1183 | 2001-08-06 Richard Henderson <rth@redhat.com> |
1184 | ||
1185 | * except.c (convert_from_eh_region_ranges_1): Never mark | |
1186 | USE or CLOBBER insns as throwing. | |
1187 | ||
1188 | * expr.c (store_constructor): Don't clobber memory targets. | |
1189 | ||
a4d3961a AJ |
1190 | 2001-08-06 Andreas Jaeger <aj@suse.de> |
1191 | ||
1192 | * profile.c (branch_prob): Remove unused variable insn. | |
1193 | ||
1194 | * Makefile.in (local-alloc.o): Add dependency on except.h. | |
1195 | ||
1196 | * local-alloc.c: Include except.h for can_throw_internal prototype. | |
1197 | ||
1d482056 RH |
1198 | 2001-08-06 Richard Henderson <rth@redhat.com> |
1199 | ||
1200 | * config/i386/i386.h (FORCE_PREFERRED_STACK_BOUNDARY_IN_MAIN): New. | |
1201 | * function.c (expand_main_function): Implement it. | |
1202 | * doc/tm.texi: Document it. | |
1203 | ||
4f2b1139 SS |
1204 | 2001-08-06 Stan Shebs <shebs@apple.com> |
1205 | ||
1206 | * doc/install.texi: Document powerpc-*-darwin* details. | |
1207 | ||
f984d8df DB |
1208 | 2001-08-06 Daniel Berlin <dan@cgsoftware.com> |
1209 | ||
1210 | * config/rs6000/aix.h (CPP_CPU_SPEC): Move back to rs6000.h | |
1211 | (ASM_CPU_SPEC): Move back to rs6000.h | |
1212 | #undef CPP_DEFAULT_SPEC and ASM_DEFAULT_SPEC before redefining them. | |
1213 | ||
1214 | * config/rs6000/darwin.h (DOUBLE_INT_ASM_OP): New macro. | |
1215 | ||
1216 | * config/rs6000/linux.h: Remove vtable thunks stuff we accidently | |
a4d3961a | 1217 | readded. |
f984d8df DB |
1218 | |
1219 | * config/rs6000/linux64.h: Ditto. | |
1220 | ||
1221 | * config/rs6000/rs6000.h: Move CPP_CPU_SPEC and ASM_CPU_SPEC back | |
1222 | to here. Define default ASM_DEFAULT_SPEC and CPP_DEFAULT SPEC to | |
1223 | nothing. | |
1224 | ||
1225 | Remove accidently readded definitions of FUNCTION_PROLOGUE, | |
1226 | FUNCTION_EPILOGUE, ASM_OPEN_PAREN, ASM_CLOSE_PAREN | |
1227 | ||
1228 | * config/rs6000/sysv4.h: Move CPP_CPU_SPEC and ASM_CPU_SPEC back | |
1229 | to rs6000.h | |
a4d3961a | 1230 | |
78d56e8b RH |
1231 | 2001-08-05 Richard Henderson <rth@redhat.com> |
1232 | ||
1233 | * local-alloc.c (update_equiv_regs): Do not move insns that | |
1234 | can throw. | |
1235 | ||
39f95a2c JH |
1236 | 2001-08-05 Jan Hubicka <jh@suse.cz> |
1237 | ||
1238 | * Makefile.in (reload1.o): Add dedendancy on except.h | |
1239 | * basic-block.h (purge_all_dead_edges, purge_dead_edges): Update | |
1240 | prototypes. | |
1241 | * flow.c (purge_dead_edges, purge_all_dead_edges): Return bool | |
1242 | indicating wehther edges has been cleaned up. | |
1243 | * reload1.c: Inlucde except.h | |
1244 | (fixup_abnormal_edges): Accept deleted insns. | |
1245 | * toplev.c (rest_of_compilation): Purge dead edges unconditionally | |
1246 | after combine. | |
1247 | ||
9765f972 NB |
1248 | 2001-08-06 Neil Booth <neil@daikokuya.demon.co.uk> |
1249 | ||
1250 | * cpplib.c (do_line): Correct line number after pop_buffer. | |
1251 | ||
6604e6f3 NB |
1252 | 2001-08-05 Neil Booth <neil@daikokuya.demon.co.uk> |
1253 | ||
1254 | PR preprocessor/3824 | |
1255 | * line-map.c: Update comments. | |
1256 | * line-map.h: Update comments. | |
1257 | * tradcif.y: Don't consider large numbers unsigned. | |
1258 | ||
67821e3a NB |
1259 | 2001-08-05 Neil Booth <neil@daikokuya.demon.co.uk> |
1260 | ||
1261 | PR preprocessor/3081 | |
1262 | * c-lex.c (map): New. | |
1263 | (cb_file_change): Update map and use it. | |
1264 | (cb_def_pragma, cb_define, cb_undef): Use map and line. | |
1265 | (c_lex): Update to use map. | |
1266 | * cpperror.c (print_location): Move to using logical line numbers. | |
1267 | * cppfiles.c (stack_include_file): Update for new _cpp_do_file_change. | |
1268 | (cpp_make_system_header): Similarly. | |
1269 | (_cpp_execute_include): Stop line numbering hacks. Store the | |
1270 | line we will return to. | |
1271 | * cpphash.h (CPP_BUF_LINE): Remove. | |
1272 | (struct cpp_buffer): Remove lineno and pseudo_newlines. | |
1273 | Add map and return_to_line. | |
1274 | (_cpp_do_file_change): Update. | |
1275 | * cppinit.c (cpp_start_read): Update line kludge. | |
1276 | * cpplex.c (handle_newline): Don't update lineno and pseudo_newlines. | |
1277 | (trigraph_ok): Use logical line numbers for diagnostics. | |
1278 | (skip_block_comment): Likewise. | |
1279 | (skip_whitespace): Likewise. | |
1280 | (skip_line_comment): Use pfile->line instead. | |
1281 | (_cpp_lex_token): Update to use logical line numbering exclusively. | |
1282 | Handle BOL locally. Accept new lines in directives, but keep | |
1283 | pfile->line decremented. Diagnostics use logical lines. Update | |
1284 | directive handling. | |
1285 | * cpplib.c (SEEN_EOL): New. | |
1286 | (skip_rest_of_line, check_eol): Use it. | |
1287 | (end_directive): Increase line number when accepting the newline | |
1288 | at the end of a directive. | |
1289 | (run_directive): Simplify. | |
1290 | (do_line): Bad LC_LEAVEs become LC_RENAMEs. Update. | |
1291 | (_cpp_do_file_change): Update to take buffer line number as an | |
1292 | argument, and store the current map in the cpp_reader. Remove | |
1293 | line number kludges. | |
1294 | (_cpp_do__Pragma): Restore output position after a _Pragma. | |
1295 | (cpp_push_buffer): Don't set output line or lineno. | |
1296 | (_cpp_pop_buffer): Transfer more info from a faked buffer. | |
1297 | Remove line kludge. Set output_line. | |
1298 | * cppmacro.c (builtin_macro): Update handling of __LINE__. | |
1299 | (parse_arg): Use logical lines. | |
1300 | (save_lookahead_token): Save EOFs too now. | |
1301 | * cppmain.c (struct printer): Fix comments. | |
1302 | (printer_init): Simplify, let caller do errors. | |
1303 | (scan_translation_unit, check_multiline_token, dump_macro): Update. | |
1304 | (maybe_print_line): Simplify. | |
1305 | (print_line): Don't print a linemarker if -P. | |
1306 | (cb_define, cb_undef, cb_def_pragma, cb_ident, cb_include): Update. | |
1307 | (cb_file_change): Simplify. | |
1308 | * line-map.h (LAST_SOURCE_LINE): Fix. | |
1309 | (CURRENT_LINE_MAP): New. | |
1310 | ||
b05ecb16 BS |
1311 | 2001-08-05 Bernd Schmidt <bernds@redhat.com> |
1312 | ||
ab59db3c | 1313 | * doloop.c (doloop_modify_runtime): Properly compute number of |
b05ecb16 BS |
1314 | iterations if loop was unrolled. |
1315 | ||
ab59db3c BS |
1316 | * alias.c (rtx_equal_for_memref_p): VALUEs are only identical |
1317 | if their CSELIB_VAL_PTRs are. | |
1318 | ||
703cf211 BS |
1319 | * config/ia64/ia64.c (struct spill_fill_data): New member prev_insn. |
1320 | (setup_spill_pointers): Initialize it. | |
1321 | (spill_restore_mem): Set it. | |
1322 | (do_spill, do_restore): Use it to add REG_INC note. | |
1323 | * config/ia64/ia64.md (movti_internal): Add REG_INC notes as needed. | |
1324 | ||
1ad72cef BS |
1325 | * config/ia64/ia64.c (ia64_sched_reorder): Defer scheduling of |
1326 | asms if other insns are available. | |
1327 | ||
acb0638d BS |
1328 | * config/ia64/ia64.c (condop_operator): New predicate. |
1329 | * config/ia64/ia64.h (PREDICATE_CODES): Add it. | |
1330 | * config/ia64/ia64.md (cond_opsi2_internal and splitters): New | |
1331 | patterns. | |
1332 | ||
8125d7e9 BS |
1333 | * expr.c (expand_expr, case COND_EXPR): Prefer working with a |
1334 | temporary register than directly using a MEM. | |
1335 | ||
12355aec HPN |
1336 | 2001-08-04 Hans-Peter Nilsson <hp@bitrange.com> |
1337 | ||
1338 | * config/sh/sh.c (sh_asm_named_section): Fix typo in align | |
1339 | parameter in last change. | |
1340 | ||
98c0c681 ZW |
1341 | 2001-08-04 Zack Weinberg <zackw@panix.com> |
1342 | ||
1343 | * sparc.md: Don't use #if inside C test expression. | |
1344 | ||
68c5782d RH |
1345 | 2001-08-04 Richard Henderson <rth@redhat.com> |
1346 | ||
1347 | * i386.c: Revert 07-30 ix86_output_main_function_alignment_hack. | |
1348 | ||
8bbbef34 NB |
1349 | 2001-08-04 Neil Booth <neil@daikokuya.demon.co.uk> |
1350 | ||
1351 | * cpphash.h (struct cpp_reader): New member directive_line. | |
1352 | * cpplib.h (struct cpp_callbacks): Update prototypes of callbacks. | |
1353 | * cpplib.c (do_define, do_undef, do_ident, do_include_common, | |
1354 | do_pragma): Pass line to callbacks. | |
1355 | (start_directive): Record line of directive. | |
1356 | * cppmain.c (cb_ident, cb_define, cb_undef, cb_def_pragma, | |
1357 | cb_include): Similarly. | |
1358 | * c-lex.c (cb_ident, cb_define, cb_undef, cb_def_pragma): | |
1359 | Similarly. | |
1360 | ||
95146dd6 HPN |
1361 | 2001-08-04 Hans-Peter Nilsson <hp@bitrange.com> |
1362 | ||
1363 | * config/d30v/d30v.h: Fix typo in start of UNIQUE_SECTION | |
1364 | comment. | |
1365 | ||
f1330226 JH |
1366 | Sat Aug 4 13:51:36 CEST 2001 Jan Hubicka <jh@suse.cz> |
1367 | ||
1368 | * loop.c (try_copy_prop); Kill invalidated REG_EQUAL notes. | |
1369 | ||
1370 | * reload1.c (fixup_abnormal_edges): New static function. | |
1371 | (reload): Use it. | |
1372 | ||
1373 | * flow.c (need_fake_edge_p): New function. | |
1374 | (flow_call_edges_add): Fix handling of noreturn and sibbling calls; | |
1375 | avoid call insn to be very last insn in the insn stream. | |
1376 | ||
1377 | * profile.c (branch_prob): Call flow_call_edges_add instead of | |
1378 | doing that by hand; cleanup cfg to re-merge basic blocks once | |
1379 | we are done. | |
1380 | ||
ef6e958a NB |
1381 | 2001-08-04 Neil Booth <neil@cat.daikokuya.demon.co.uk> |
1382 | ||
1383 | * Makefile.in (CPPLIB_H): New, so that dependencies on cpplib.h | |
1384 | are also on line-map.h. | |
1385 | * cppfiles.c (stack_include_file): Update. | |
1386 | * cpphash.h (struct cpp_buffer): New member return_at_eof. | |
1387 | (_cpp_pop_buffer): New. | |
1388 | * cppinit.c (cpp_destroy, cpp_finish): Update. | |
1389 | (do_includes): Mark each buffer to return at EOF. | |
1390 | * cpplex.c (_cpp_lex_token): Pop buffers at EOF. Continue or | |
1391 | return as requested. | |
1392 | * cpplib.c (run_directive, do_line, cpp_push_buffer): Update. | |
1393 | (cpp_pop_buffer): Rename _cpp_pop_buffer. Stop skipping. | |
1394 | * cpplib.h (cpp_pop_buffer): Remove. | |
1395 | (cpp_scan_buffer_nooutput): Rename cpp_scan_nooutput. | |
1396 | * cppmacro.c (cpp_scan_buffer_nooutput): Similarly. No need to pop | |
1397 | buffers. | |
1398 | * cppmain.c (scan_buffer): Rename scan_translation_unit. No need | |
1399 | to pop buffers. | |
1400 | (do_preprocessing): Update. | |
1401 | * fix-header.c (read_scan_file): Update. No need to pop buffers. | |
1402 | * c-parse.in (_yylex): Similarly. | |
1403 | * scan-decls.c (scan_decls): Similarly. | |
1404 | * line-map.h: Update comments. | |
1405 | ||
1406 | * objc/Make-lang.in (objc-act.o): Update dependencies. | |
1407 | ||
03997728 SC |
1408 | 2001-08-04 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
1409 | ||
a4d3961a | 1410 | * config/m68hc11/m68hc11.md ("cmphi_1", "cmpqi_1"): Allow memory |
03997728 SC |
1411 | and soft register for operand 0. |
1412 | ("cmphi_z_used", "cmpqi_z_used"): Allow memory for operand 0. | |
1413 | ||
d8de89e8 SC |
1414 | 2001-08-04 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
1415 | ||
1416 | * config/m68hc11/m68hc11.md ("bitcmpqi"): Allow memory and soft | |
1417 | register for operand 0. | |
1418 | ("bitcmpqi_z_used"): Allow memory for operand 0. | |
1419 | (split "bitcmpqi"): New split to handle address reg as operand 1. | |
1420 | ||
aaa4ca30 AJ |
1421 | 2001-08-04 Andreas Jaeger <aj@suse.de> |
1422 | ||
1423 | * gcse.c: Revert Daniel's last patch. | |
1424 | ||
da9314d5 ZW |
1425 | 2001-08-03 Zack Weinberg <zackw@stanford.edu> |
1426 | ||
a4d3961a | 1427 | * sparc-protos.h: Add prototypes for fp_zero_operand and |
da9314d5 ZW |
1428 | reg_or_0_operand. |
1429 | * sh-protos.h: Add prototype for fpul_operand. | |
1430 | ||
79323c50 HPN |
1431 | 2001-08-04 Hans-Peter Nilsson <hp@bitrange.com> |
1432 | ||
1433 | * doc/extend.texi (Other Builtins): Fix typo in last change. | |
1434 | ||
7c262518 RH |
1435 | 2001-08-03 Richard Henderson <rth@redhat.com> |
1436 | ||
a4d3961a | 1437 | * target.h (gcc_target): Add asm_out.named_section, |
7c262518 RH |
1438 | section_type_flags, have_named_sections. |
1439 | * target-def.h (TARGET_ASM_NAMED_SECTION): New. | |
1440 | (TARGET_HAVE_NAMED_SECTIONS): New. | |
1441 | (TARGET_SECTION_TYPE_FLAGS): New. | |
1442 | ||
1443 | * Makefile.in (toplev.o): Depend on TARGET_H. | |
1444 | (varasm.o, dbxout.o): Likewise. | |
1445 | * c-common.c (decl_attributes): Check targetm.have_named_sections | |
1446 | instead of ifdef ASM_OUTPUT_SECTION_NAME. | |
1447 | * dbxout.c (dbxout_function_decl): Likewise. | |
1448 | (dbxout_function_end): Likewise. | |
1449 | * toplev.c (compile_file): Likewise. | |
1450 | * varasm.c (exception_section): Likewise. | |
1451 | * cp/decl2.c (finish_objects): Likewise. | |
1452 | ||
1453 | * defaults.h (EH_FRAME_SECTION): Remove. | |
1454 | (EH_FRAME_SECTION_ASM_OP): Remove. | |
1455 | (EH_FRAME_SECTION_NAME): New. | |
1456 | (UNIQUE_SECTION): Don't depend on ASM_OUTPUT_SECTION_NAME. | |
1457 | (UNIQUE_SECTION_P): Remove. | |
1458 | * dwarf2out.c (SECTION_FORMAT): Remove. | |
1459 | (ASM_OUTPUT_SECTION): Remove. | |
1460 | (output_call_frame_info): Use named_section_flags. | |
1461 | (output_comp_unit, dwarf2out_start_source_file): Likewise. | |
1462 | (dwarf2out_end_source_file, dwarf2out_define): Likewise. | |
1463 | (dwarf2out_undef, dwarf2out_init, dwarf2out_finish): Likewise. | |
1464 | * varasm.c (in_eh_frame, eh_frame_section): Remove. | |
1465 | (named_section_flags): New. | |
1466 | (named_section): Use it and targetm.section_type_flags. | |
1467 | (resolve_unique_section): New. | |
1468 | (assemble_start_function): Use it. | |
1469 | (asm_emit_uninitialised, assemble_variable): Likewise. | |
1470 | (default_section_type_flags): New. | |
1471 | (default_no_named_section, default_elf_asm_named_section): New. | |
1472 | (default_coff_asm_named_section, default_pe_asm_named_section): New. | |
1473 | * output.h: Update varasm.c decls. | |
1474 | (SECTION_*): New flags. | |
1475 | ||
1476 | * crtstuff.c: Check EH_FRAME_SECTION_NAME not EH_FRAME_SECTION_ASM_OP. | |
1477 | (__EH_FRAME_BEGIN__, __FRAME_END__): Use attribute section. | |
1478 | ||
1479 | * config/elfos.h (UNIQUE_SECTION_P): Remove. | |
1480 | * config/alpha/elf.h, config/arm/linux-elf.h: Likewise. | |
1481 | * config/arm/pe.h, config/arm/unknown-elf.h: Likewise. | |
1482 | * config/i386/cygwin.h, config/i386/djgpp.h: Likewise. | |
1483 | * config/i386/i386-interix.h, config/i386/win32.h: Likewise. | |
1484 | * config/ia64/sysv4.h, config/mcore/mcore-pe.h: Likewise. | |
1485 | * config/mips/elf.h, config/mips/elf64.h: Likewise. | |
1486 | * config/mips/iris6gld.h, config/mips/mips.h: Likewise. | |
a4d3961a | 1487 | * config/pa/pa64-hpux.h, |
7c262518 RH |
1488 | |
1489 | * config/elfos.h (ASM_OUTPUT_SECTION_NAME): Remove. | |
1490 | (TARGET_ASM_NAMED_SECTION): New. | |
1491 | * config/psos.h, config/a29k/a29k.h, config/alpha/elf.h: Likewise. | |
1492 | * config/alpha/vms.h, config/arm/coff.h: Likewise. | |
1493 | * config/arm/conix-elf.h, config/arm/elf.h: Likewise. | |
1494 | * config/arm/linux-elf.h, config/arm/pe.h: Likewise. | |
1495 | * config/arm/unknown-elf.h, config/avr/avr.h: Likewise. | |
1496 | * config/c4x/c4x.h, config/h8300/h8300.h: Likewise. | |
1497 | * config/i386/cygwin.h, config/i386/djgpp.h: Likewise. | |
1498 | * config/i386/i386-interix.h, config/i386/i386elf.h : Likewise. | |
1499 | * config/i386/sco5.h, config/i386/win32.h: Likewise. | |
1500 | * config/m68k/coff.h, config/mcore/mcore-pe.h: Likewise. | |
1501 | * config/mcore/mcore.h, config/mips/elf.h: Likewise. | |
1502 | * config/mips/elf64.h, config/mips/iris6.h: Likewise. | |
1503 | * config/mips/netbsd.h, config/mips/openbsd.h: Likewise. | |
1504 | * config/pa/pa64-hpux.h, config/rs6000/sysv4.h: Likewise. | |
1505 | * config/rs6000/xcoff.h, config/sh/sh.h: Likewise. | |
1506 | * config/sparc/sysv4.h: Likewise. | |
1507 | ||
1508 | * config/nextstep.h: Error until named sections implemented. | |
1509 | ||
1510 | * config/a29k/a29k.c (a29k_asm_named_section): New. | |
1511 | * config/alpha/alpha.c (SECTION_VMS_OVERLAY): New. | |
1512 | (vms_section_type_flags, vms_asm_named_section): New. | |
1513 | * config/arm/arm.c (arm_elf_asm_named_section): New. | |
1514 | * config/avr/avr.c (asm_output_section_name): Remove. | |
1515 | * config/avr/avr-protos.h: Update. | |
1516 | * config/c4x/c4x.c (c4x_asm_named_section): New. | |
1517 | * config/h8300/h8300.c (h8300_asm_named_section): New. | |
1518 | * config/i386/i386.c (sco_asm_named_section): New. | |
1519 | * config/i386/winnt.c (SECTION_PE_SHARED): New. | |
1520 | (i386_pe_section_type_flags): New. | |
1521 | (i386_pe_asm_named_section): New. | |
1522 | * config/i386/i386-protos.h: Update. | |
1523 | * config/m68k/m68k.c (m68k_coff_asm_named_section): New. | |
1524 | * config/mcore/mcore.c (mcore_asm_named_section): New. | |
1525 | * config/mips/mips.c (iris6_asm_named_section): New. | |
1526 | * config/mips/mips.h (ENCODE_SECTION_INFO): Use DECL_ONE_ONLY | |
1527 | instead of UNIQUE_SECTION_P. | |
1528 | * config/rs6000/rs6000.c (rs6000_elf_section_type_flags): New. | |
1529 | (xcoff_asm_named_section): New. | |
1530 | * config/sh/sh.c (sh_asm_named_section): New. | |
1531 | * config/sparc/sparc.c (sparc_elf_asm_named_section): New. | |
1532 | ||
1533 | * config/i386/djgpp.h (EH_FRAME_SECTION_ASM_OP): Remove. | |
1534 | * config/i386/sco5.h (EH_FRAME_SECTION_ASM_OP*): Remove. | |
1535 | (EH_FRAME_SECTION_NAME): New. | |
1536 | (EXCEPTION_SECTION): New. | |
1537 | * config/ia64/ia64.h (EH_FRAME_SECTION_ASM_OP): Remove. | |
1538 | (DEBUG_*_SECTION): Remove. | |
1539 | * config/m68k/rtemself.h (EH_FRAME_SECTION_ASM_OP): Remove. | |
1540 | * config/mips/iris6.h (DEBUG_*_SECTION): Remove. | |
1541 | (EH_FRAME_SECTION_ASM_OP): Remove. | |
1542 | ||
1543 | * doc/tm.texi (UNIQUE_SECTION_P): Remove. | |
1544 | (ASM_OUTPUT_SECTION_NAME): Remove. | |
1545 | (TARGET_ASM_NAMED_SECTION): New. | |
1546 | (TARGET_HAVE_NAMED_SECTIONS): New. | |
1547 | (TARGET_SECTION_TYPE_FLAGS): New. | |
1548 | (EH_FRAME_SECTION_ASM_OP): Remove. | |
1549 | (EH_FRAME_SECTION_NAME): New. | |
1550 | ||
13104975 ZW |
1551 | 2001-08-03 Zack Weinberg <zackw@stanford.edu> |
1552 | ||
1553 | * builtins.c (fold_builtin_constant_p): Return integer_zero_node | |
1554 | for complex expressions when cfun == 0. | |
1555 | * doc/extend.texi: Document that __builtin_constant_p can be | |
1556 | used in data initializers as well as functions. | |
1557 | ||
7335a349 AO |
1558 | 2001-08-03 Alexandre Oliva <aoliva@redhat.com> |
1559 | ||
1560 | * config/mn10300/mn10300.h (CONDITIONAL_REGISTER_USAGE): Declare | |
1561 | variable I locally, instead of expecting a declaration in the | |
1562 | calling context. | |
1563 | ||
949f197f RH |
1564 | 2001-08-03 Richard Henderson <rth@redhat.com> |
1565 | ||
1566 | * except.c (collect_one_action_chain): Add an explicit cleanup | |
1567 | action if regions surrounding a catch were encoded entirely | |
1568 | within the call-site entry. | |
1569 | ||
c99fa40f RH |
1570 | 2001-08-03 Richard Henderson <rth@redhat.com> |
1571 | ||
1572 | * dbxout.c (dbxout_symbol_location): Flatten subregs first; | |
1573 | don't take REGNO of a non-register. | |
1574 | ||
5241c227 JDA |
1575 | 2001-08-03 John David Anglin <dave@hiauly1.hia.nrc.ca> |
1576 | ||
1577 | * gthr-dce.h (__GTHREAD_MUTEX_INIT_FUNCTION and | |
1578 | __GTHREAD_MUTEX_INIT_DEFAULT): New macros for mutex initialization. | |
1579 | (__gthread_key_delete): Remove code for __PTHREAD_LIBRARY_VERSION_1 >= 1 | |
1580 | (__gthread_mutex_init_function): New function for mutex initialization. | |
1581 | ||
cbec6573 | 1582 | 2001-08-03 Daniel Berlin <dan@cgsoftware.com> |
a4d3961a | 1583 | |
cbec6573 DB |
1584 | * Makefile.in: Revert screwed up commit. |
1585 | ||
70a5787e SC |
1586 | 2001-08-03 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
1587 | ||
1588 | * config/m68hc11/t-m68hc11-gas (T_CPPFLAGS): Add _ctor and _dtor. | |
1589 | * config/m68hc11/larith.asm (_exit): Split in several sub-sections | |
1590 | merged by linker script to get a final _exit(). | |
1591 | (__do_global_dtors): New for destructor handling in specific exit | |
1592 | section. | |
1593 | (__do_global_ctors): New for constructors in specific install section. | |
1594 | (__map_data_section): Map data sections before running constructors. | |
1595 | * config/m68hc11/m68hc11.h (INT_ASM_OP): Define to use .word. | |
1596 | (CTORS_SECTION_ASM_OP): Define to put in readonly section. | |
1597 | (DTORS_SECTION_ASM_OP): Likewise. | |
1598 | (CTORS_SECTION_FUNCTION): Define to force a reference to | |
1599 | __do_global_ctors. | |
1600 | (DTORS_SECTION_FUNCTION): Likewise for __do_global_dtors. | |
1601 | ||
9ebeebda | 1602 | 2001-08-03 Daniel Berlin <dan@cgsoftware.com> |
a4d3961a | 1603 | |
9ebeebda | 1604 | * ChangeLog: Fix date on previous ChangeLog entry for GCSE. |
a4d3961a | 1605 | |
9ebeebda DB |
1606 | * Makefile.in: Add df.h to gcse.c dependencies. |
1607 | ||
c6b74046 JDA |
1608 | 2001-08-03 John David Anglin <dave@hiauly1.hia.nrc.ca> |
1609 | ||
1610 | * varasm.c (output_constant_def_contents): Use for the length of a | |
1611 | string constant either its TREE_STRING_LENGTH or its int_size_in_bytes | |
1612 | depending on which is larger. | |
1613 | ||
9ebeebda | 1614 | 2001-08-03 Daniel Berlin <dan@cgsoftware.com> |
adfcce61 | 1615 | |
39f95a2c JH |
1616 | * gcse.c: Include df.h for use as a dataflow analyzer. |
1617 | Remove regvec. | |
1618 | Declaration of reg_set_info: gone. | |
1619 | New df_analyzer variable used by store motion. | |
1620 | (reg_set_info): Deleted. | |
1621 | (mark_mem_regs): New function, analyze regs used by a mem. | |
1622 | (store_ops_ok): Use dataflow analyzer results to determine if | |
1623 | necessary regs are changed in the block. | |
1624 | (find_moveable_store): Remove check for symbol ref, we can handle | |
1625 | much more complex expressions now. | |
1626 | (compute_store_table): Remove most of the code, it's unnecessary | |
1627 | now that the dataflow analyzer records the info for us. | |
1628 | (store_killed_after): Add parameter to say whether to do the | |
1629 | store_ops_okay test, used to speed up testing when we already know | |
1630 | the answer, and just want to know if the store itself was killed. | |
1631 | (build_store_vector): Largely rewritten to calculate the various | |
1632 | vectors properly, and somewhat optimized. | |
a4d3961a | 1633 | (store_motion): Init the df_analyzer, get REG_DEF chains. |
39f95a2c JH |
1634 | Also handle trapping expressions (since mems almost always trap) |
1635 | (simple_mem): Redefine what a simple mem is. | |
adfcce61 | 1636 | |
667ccf73 DD |
1637 | 2001-08-03 DJ Delorie <dj@redhat.com> |
1638 | ||
1639 | * ifcvt.c (noce_get_alt_condition): Don't make an auxiliary | |
1640 | set from a constant part of the condition. | |
1641 | ||
0821bff7 AC |
1642 | 2001-08-01 Andrew Cagney <ac131313@redhat.com> |
1643 | ||
1644 | * mkdeps.c (deps_add_default_target): Make local variable | |
1645 | ``start'' a const char pointer. | |
1646 | * dwarf2out.c (compute_section_prefix): Localize use of ``p''. | |
1647 | ||
b953cc4b RO |
1648 | 2001-08-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
1649 | ||
1650 | * doc/install.texi (Configuration): Fix markup. | |
1651 | (Specific, i?86-*-udk): Likewise. | |
1652 | (Specific, alpha*-dec-osf*): Warn against --with-gnu-as, | |
a4d3961a | 1653 | --with-gnu-ld. |
b953cc4b RO |
1654 | Document --enable-threads and --enable-libgcj status. |
1655 | (Specific, mips-sgi-irix*): Canonicalize triples. | |
1656 | (Specific, mips-sgi-irix5): Warn about problems with this config. | |
1657 | Mention required GNU as patch. | |
1658 | Native assembler problems are fixed. | |
1659 | (Specific, mips-sgi-irix6): Update O32 ABI support status. | |
1660 | Document --enable-threads and --enable-libgcj status. | |
1661 | ||
ef1f96f0 NC |
1662 | 2001-08-02 Nick Clifton <nickc@cambridge.redhat.com> |
1663 | ||
1664 | * Makefile.in, mklibgcc.in: Restore changes with fixed invocation | |
1665 | of mkinstalldirs. | |
1666 | ||
6e5a6a6b RH |
1667 | 2001-08-03 Richard Henderson <rth@redhat.com> |
1668 | ||
1669 | * config/ia64/sysv4.h (ASM_OUTPUT_LABELREF): Don't write to | |
1670 | constant data. | |
1671 | ||
dbc1a163 RH |
1672 | 2001-08-03 Richard Henderson <rth@redhat.com> |
1673 | ||
1674 | * rtlanal.c (find_first_parameter_load): Stop if we | |
1675 | reach a CODE_LABEL at BOUNDARY. | |
1676 | ||
54aaa4ea RH |
1677 | 2001-08-03 Richard Henderson <rth@redhat.com> |
1678 | ||
1679 | * config/alpha/alpha.md (force_movdi): New insn. | |
1680 | * config/alpha/alpha.c (alpha_expand_prologue): Use it. | |
1681 | Tweek FRP marking of VMS prologue insns. | |
1682 | * config/alpha/vms.h (EPILOGUE_USES): New. | |
1683 | ||
0360b30d RH |
1684 | 2001-08-02 Richard Henderson <rth@redhat.com> |
1685 | ||
1686 | * Makefile.in, mklibgcc.in: Revert mkinstalldirs change. | |
1687 | ||
8aeea6e6 LB |
1688 | 2001-08-02 Lars Brinkhoff <lars@nocrew.org> |
1689 | ||
1690 | * combine.c, config.gcc, cse.c, defaults.h, real.c, reload.c, | |
1691 | simplify-rtx.c, config/alpha/alpha.h, config/avr/avr.h, | |
1692 | config/convex/convex.h, config/d30v/d30v.c, | |
1693 | config/d30v/d30v.h, config/dsp16xx/dsp16xx.h, | |
1694 | config/elxsi/elxsi.h, config/fr30/fr30.h, config/m88k/m88k.c, | |
1695 | config/mips/mips.h, config/mn10200/mn10200.h, | |
1696 | config/mn10300/mn10300.h, config/pdp11/pdp11.md, | |
1697 | config/v850/v850.h, config/vax/openbsd.h, | |
1698 | config/vax/openbsd1.h, config/vax/ultrix.h, | |
1699 | config/vax/vax-protos.h, config/vax/vax.c, config/vax/vax.h, | |
1700 | config/vax/vax.md, config/vax/vaxv.h, config/vax/xm-vms.h, | |
1701 | cp/decl2.c, doc/contrib.texi, doc/cpp.texi, doc/gcc.texi, | |
1702 | doc/install.texi, doc/invoke.texi, doc/md.texi, doc/rtl.texi, | |
1703 | doc/tm.texi: consistently use "VAX", "VAXen", and "MicroVAX" | |
39f95a2c | 1704 | in comments and documentation. |
8aeea6e6 | 1705 | |
d82fc108 NB |
1706 | 2001-08-03 Neil Booth <neil@cat.daikokuya.demon.co.uk> |
1707 | ||
1708 | * line-map.c: New. | |
1709 | * line-map.h: New. | |
1710 | * Makefile.in (line-map.o): New. | |
1711 | (LIBCPP_OBJS, LIBCPP_DEPS): Update. | |
1712 | * c-lex.c (cb_file_change): Update for new cpp_file_change structure. | |
1713 | * cpperror.c (print_containing_files): Similarly. | |
1714 | (print_location): Update. Don't output a space before _Pragma. | |
1715 | * cppfiles.c (stack_include_file): Set to line 1 immediately. | |
1716 | (stack_include_filee, cpp_make_system_header): Update. | |
1717 | (_cpp_execute_include): Get logical line number right for calling | |
1718 | as-yet-unterminated #include. | |
1719 | * cpphash.h (struct cpp_reader): Add line_maps. | |
1720 | (_cpp_do_file_change): Update. | |
1721 | * cppinit.c (cpp_create_reader): Initialize line maps. | |
1722 | (cpp_destroy): Destroy line maps. | |
1723 | (cpp_start_read): Get logical line number right. | |
1724 | * cpplex.c (parse_string): Only warn once for multi-line strings. | |
1725 | Use boolean variable for null warning. | |
1726 | * cpplib.c (_cpp_handle_directive): End the directive if it isn't | |
1727 | already. | |
1728 | (do_include_common): End the directive early. | |
1729 | (do_line): Don't warn about out-of-range lines in preprocessed | |
1730 | source. Update. Remove unused variables. | |
1731 | (_cpp_do_file_change): Update for new line mapping. | |
1732 | (pragma_cb): New typedef. | |
1733 | (cpp_register_pragma): Stop looking ahead before calling the | |
1734 | handler. Clean up. | |
1735 | (do_pragma_system_header): End directive early. | |
1736 | (cpp_get_line_maps): New. | |
1737 | (cpp_pop_buffer): Fudge logical line. Update. | |
1738 | * cpplib.h: Include line-map.h | |
1739 | (enum cpp_fc_reason): Remove. | |
1740 | (struct cpp_file_change): Update. | |
1741 | (cpp_get_line_maps): New. | |
1742 | * cppmain.c (struct_printer): New member map. | |
1743 | (cb_file_change): Update for new mappings. | |
1744 | * fix-header.c (cb_file_change): Similarly. | |
1745 | ||
6dda00f0 NC |
1746 | 2001-08-02 Nick Clifton <nickc@cambridge.redhat.com> |
1747 | ||
1748 | * Makefile.in (libgcc.mk): Define mkinstalldirs. | |
1749 | * mklibgcc.in: Use mkinstalldirs instead of mkdir. | |
1750 | ||
215b48a7 LB |
1751 | 2001-08-02 Lars Brinkhoff <lars@nocrew.org> |
1752 | ||
1753 | * config/vax/vax.c: include expr.h. | |
1754 | ||
e7f62dcf NC |
1755 | 2001-08-02 Nick Clifton <nickc@cambridge.redhat.com> |
1756 | ||
1757 | * Makefile.in ($(srcdir)/configure): Only rebuild in | |
1758 | maintainer mode. | |
1759 | ($(srcdir)/config.in): Only define in maintainer mode. | |
1760 | ($(srcdir)/cstamp-h.in): Only define in maintainer mode. | |
1761 | ||
4b5eb038 DE |
1762 | 2001-08-02 David Edelsohn <edelsohn@gnu.org> |
1763 | ||
1764 | * doc/install.texi (Install GCC: Binaries): Update Bull info. | |
1765 | ||
578672a2 RO |
1766 | 2001-08-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
1767 | ||
1768 | * gcc.c (set_collect_gcc_options): New function, split out from | |
1769 | main. | |
1770 | Ignore elided switches. | |
1771 | (do_spec_1): Invoke before executing command. | |
1772 | (set_input): Export. | |
1773 | Move declaration ... | |
1774 | * gcc.h (set_input): ... here. | |
1775 | * config/alpha/osf.h (ASM_FINAL_SPEC): Use %U.s to refer to input | |
1776 | file. | |
1777 | ||
1dbb6023 NS |
1778 | 2001-08-02 Nathan Sidwell <nathan@codesourcery.com> |
1779 | ||
1780 | Kill -fhonor-std. | |
1781 | * doc/c-tree.texi (Namespaces): Remove std & -fhonor-std | |
1782 | interaction. | |
1783 | * doc/invoke.texi (C++ Dialect Options): Remove -fno-honor-std. | |
1784 | ||
d6b6ba29 RS |
1785 | 2001-08-02 Richard Sandiford <rsandifo@redhat.com> |
1786 | ||
1787 | * mips.md (movdicc): Make conditional on TARGET_64BIT. Likewise | |
1788 | for the unnamed instructions it expands to. | |
1789 | ||
d3259baa RH |
1790 | 2001-08-02 Richard Henderson <rth@redhat.com> |
1791 | ||
1792 | * regclass.c (call_really_used_regs): Conditionally define. | |
1793 | (init_reg_sets_1): Don't use it if not defined. | |
1794 | (fix_register): Similarly, don't set it. | |
1795 | ||
eb77eeb3 GP |
1796 | 2001-08-01 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
1797 | ||
1798 | * params.def (PARAM_MAX_INLINE_INSNS): Change default to 600. | |
1799 | Correct comment that had been missed in the previous change. | |
1800 | ||
4e08ba6c SS |
1801 | 2001-08-01 Stan Shebs <shebs@apple.com> |
1802 | ||
1803 | * config/darwin.c (machopic_stub_name): Try matching by name. | |
1804 | (update_stubs): New function. | |
1805 | (darwin_encode_section_info): Call it and update_non_lazy_ptrs | |
1806 | unconditionally. | |
1807 | ||
7a900ebc RH |
1808 | 2001-08-01 Richard Henderson <rth@redhat.com> |
1809 | ||
1810 | * except.c (output_function_exception_table): Use assemble_align. | |
1811 | * varasm.c (assemble_eh_label): Remove. | |
1812 | (assemble_eh_align, assemble_eh_integer): Remove. | |
1813 | ||
551e8a74 RL |
1814 | 2001-08-01 Robert Lipe <robertl@caldera.com> |
1815 | ||
39f95a2c | 1816 | * dwarfout.c: Remove reference to README.DWARF. |
551e8a74 | 1817 | |
fc1296b7 AM |
1818 | 2001-08-01 Andrew MacLeod <amacleod@redhat.com> |
1819 | ||
1820 | * regclass.c (call_really_used_regs): New array for registers which | |
1821 | are actually used by a call. | |
1822 | (init_reg_sets_1): Initialize regs_invalidated_by_call with the | |
1823 | new array. | |
1824 | (fix_register): Set call_really_used too. | |
1825 | * config/ia64/ia64.h (CALL_REALLY_USED_REGISTERS): Initialize. | |
1826 | * doc/tm.texi (CALL_REALLY_USED_REGISTERS): Document. | |
1827 | ||
b38b083a RH |
1828 | 2001-08-01 Richard Henderson <rth@redhat.com> |
1829 | ||
1830 | * read-rtl.c (read_name): Consider \r whitespace. | |
1831 | ||
edf1b3f3 AC |
1832 | 2001-07-11 Andrew Cagney <ac131313@redhat.com> |
1833 | ||
1834 | * config.gcc: Recognize powerpc-*-netbsd*. | |
a4d3961a | 1835 | |
edf1b3f3 AC |
1836 | * doc/install.texi (Host/target specific installation notes for |
1837 | GCC): Mention powerpc-*-netbsd*. | |
1838 | ||
1839 | * config/rs6000/netbsd.h: New file. | |
1840 | (STANDARD_STARTFILE_PREFIX, LINK_SHLIB_SPEC): Redefine. | |
1841 | (LIB_DEFAULT_SPEC, STARTFILE_DEFAULT_SPEC): Redefine. | |
1842 | (ENDFILE_DEFAULT_SPEC, LINK_START_DEFAULT_SPEC): Redefine. | |
1843 | (LINK_OS_DEFAULT_SPEC, CPP_OS_DEFAULT_SPEC): Redefine. | |
1844 | (TARGET_VERSION): Redefine. | |
1845 | ||
1846 | * config/rs6000/t-ppccomm (MULTILIB_MATCHES_SYSV): Recognize | |
1847 | mcall-netbsd as a match for mcall-sysv. | |
1848 | (EXTRA_MULTILIB_PARTS): Add ncrti$(objext) and ncrtn$(objext). | |
1849 | (ncrti.S, ncrtn.S): New targets. | |
1850 | ($(T)ncrti$(objext), $(T)ncrtn$(objext)): New targets. | |
a4d3961a | 1851 | |
edf1b3f3 AC |
1852 | * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Recognize |
1853 | "netbsd' as a V4 ABI. | |
1854 | (ASM_SPEC): Check for -mcall-netbsd. | |
1855 | (CC1_SPEC, CC1_SPEC, LINK_START_SPEC, LINK_OS_SPEC): Ditto. | |
1856 | (CPP_ENDIAN_SPEC, CPP_SPEC, STARTFILE_SPEC): Ditto. | |
1857 | (LIB_SPEC, ENDFILE_SPEC): Ditto. | |
1858 | (LIB_NETBSD_SPEC, STARTFILE_NETBSD_SPEC): Define. | |
1859 | (ENDFILE_NETBSD_SPEC, LINK_START_NETBSD_SPEC): Define. | |
1860 | (LINK_OS_NETBSD_SPEC, CPP_OS_NETBSD_SPEC): Define. | |
1861 | (SUBTARGET_EXTRA_SPECS): Add NetBSD specs. | |
1862 | ||
1863 | * doc/invoke.texi (Option Summary): Add -mcall-netbsd. | |
1864 | (RS/6000 and PowerPC Options): Mention -mcall-netbsd. | |
1865 | ||
bda33a6e MK |
1866 | 2001-08-01 Mark Kettenis <kettenis@gnu.org> |
1867 | ||
1868 | * unwind-pe.h (base_of_encoded_value, read_encoded_value): Define | |
1869 | only if NO_BASE_OF_ENCODED_VALUE isn't defined. | |
1870 | * unwind-dw2-fde.c (NO_BASE_OF_ENCODED_VALUE): Define before | |
1871 | including "unwind-pe.h". | |
1872 | ||
75540af0 JH |
1873 | Wed Aug 1 20:01:42 CEST 2001 Jan Hubicka <jh@suse.cz> |
1874 | ||
1875 | * rs6000.md (define_splits): Kill unused constraints. | |
1876 | ||
1877 | Wed Aug 1 20:02:12 CEST 2001 Graham Stott <grahams@redhat.com> | |
1878 | Jan Hubicka <jh@suse.cz> | |
1879 | ||
1880 | * function.c (thread_prologue_and_epilogue_insns): Kill code | |
1881 | dealing with non-existent CFG. | |
1882 | ||
ec5c56db KH |
1883 | 2001-08-01 Kazu Hirata <kazu@hxi.com> |
1884 | ||
1885 | * alias.c: Fix comment formatting. | |
1886 | * bitmap.c: Likewise. | |
1887 | * builtins.c: Likewise. | |
1888 | * calls.c: Likewise. | |
1889 | * c-common.c: Likewise. | |
1890 | * c-decl.c: Likewise. | |
1891 | * c-dump.c: Likewise. | |
1892 | * c-lex.c: Likewise. | |
1893 | * collect2.c: Likewise. | |
1894 | * combine.c: Likewise. | |
1895 | * conflict.c: Likewise. | |
1896 | * cppfiles.c: Likewise. | |
1897 | * cppinit.c: Likewise. | |
1898 | * cpplex.c: Likewise. | |
1899 | * cpplib.c: Likewise. | |
1900 | * cppmacro.c: Likewise. | |
1901 | * cppspec.c: Likewise. | |
1902 | * c-pragma.c: Likewise. | |
1903 | * crtstuff.c: Likewise. | |
1904 | * cse.c: Likewise. | |
1905 | * cselib.c: Likewise. | |
1906 | * c-semantics.c: Likewise. | |
1907 | * c-typeck.c: Likewise. | |
1908 | ||
2a25b23f L |
1909 | 2001-08-01 H.J. Lu <hjl@gnu.org> |
1910 | ||
1911 | * config/mips/linux.h (ASM_OUTPUT_IDENT): Defined. | |
1912 | ||
a8329479 L |
1913 | 2001-08-01 H.J. Lu <hjl@gnu.org> |
1914 | ||
1915 | * gcc/config/mips/linux.h (ASM_OUTPUT_SOURCE_LINE): Defined. | |
1916 | ||
f2e6e530 ZL |
1917 | 2001-08-01 Ziemowit Laski <zlaski@apple.com> |
1918 | ||
39f95a2c | 1919 | * c-parse.in (OBJC_NEED_RAW_IDENTIFIER): Define macro and flag for |
f2e6e530 ZL |
1920 | contextualizing Objective-C class name lookup by the lexer. |
1921 | (typespec_reserved_nonattr): Disable ObjC class name lookup after | |
1922 | seeing a TYPESPEC. | |
1923 | (protocoldef): Add support for forward @protocol declarations. | |
1924 | (yylexname): Suppress ObjC class name lookup in certain contexts; | |
1925 | re-enable after lookup is complete. | |
1926 | (_yylex): Re-enable ObjC class name lookup when certain | |
1927 | punctuation marks are seen. | |
1928 | ||
1929 | * objc/objc-act.c (check_protocol_recursively): New function used | |
1930 | for finding circular dependencies in protocols. | |
1931 | (objc_declare_protocols): New function for handling forward | |
1932 | @protocol declarations. | |
1933 | (receiver_is_class_object): Detect the case when 'self' is used | |
1934 | inside of a class method. | |
1935 | (build_message_expr): Issue a warning if class method is desired | |
1936 | but instance method is found instead. | |
1937 | (conforms_to_protocol): Streamline. | |
1938 | (objc_comptypes): Detect the fact that 'Bar<Foo> foo' conforms to | |
1939 | protocol Foo, even if 'Bar foo' does not. | |
1940 | (check_protocols): Streamline. | |
1941 | (start_protocol): Add checks for circular and duplicate protocol | |
1942 | definitions. | |
1943 | (encode_aggregate_within): For typedefs of structs, encode the | |
1944 | underlying struct. | |
1945 | * objc/objc-act.h (PROTOCOL_DEFINED): New tree accessor. | |
1946 | (objc_declare_protocols): New prototype. | |
1947 | ||
1444f2ed NB |
1948 | 2001-08-01 Neil Booth <neil@cat.daikokuya.demon.co.uk> |
1949 | ||
1950 | * cpphash.h (struct cpp_reader): New members line, pseudo_newlines. | |
1951 | * cpplex.c (handle_newline): Update prototype. Maintain logical | |
1952 | line number. | |
1953 | (skip_escaped_newlines, skip_block_comment, parse_string): | |
1954 | Update accordingly. | |
1955 | (_cpp_lex_token): Update, and store token position within the token. | |
1956 | * cpplib.h (struct cpp_token): Add line and column entries. | |
1957 | * cppmacro.c (replace_args): Position stringified tokens correctly. | |
1958 | ||
7f8a2125 AJ |
1959 | 2001-08-01 Andreas Jaeger <aj@suse.de> |
1960 | ||
1961 | * basic-block.h: Add prototype for last_loop_beg_note. | |
1962 | ||
6ad7895a APB |
1963 | 2001-07-31 Alexandre Petit-Bianco <apbianco@redhat.com> |
1964 | ||
1965 | * expr.c (safe_from_p): Use WITH_CLEANUP_EXPR_RTL instead of | |
1966 | RTL_EXPR_RTL while handling WITH_CLEANUP_EXPR nodes. Fixed typo in | |
1967 | comment. | |
1968 | (expand_expr): Use WITH_CLEANUP_EXPR_RTL instead of RTL_EXPR_RTL | |
1969 | while handling WITH_CLEANUP_EXPR node. Use second operand calling | |
1970 | expand_decl_cleanup. | |
1971 | * tree.c (firt_rtl_op): The third operand of WITH_CLEANUP_EXPR is | |
1972 | the first RTX. | |
1973 | (simple_cst_equal): WITH_CLEANUP_EXPR node to use its second | |
1974 | operand while calling simple_cst_equal. | |
1975 | * tree.def (WITH_CLEANUP_EXPR): Switched operands: the second | |
1976 | operand is the cleanup expression, the third is the RTL_EXPR. | |
7f8a2125 | 1977 | * tree.h (WITH_CLEANUP_EXPR_RTL): New macro. |
6ad7895a | 1978 | |
b24a9e88 JS |
1979 | 2001-07-31 Jeff Sturm <jsturm@one-point.com> |
1980 | ||
39f95a2c | 1981 | * except.c (duplicate_eh_regions): Test n_array[i] for NULL. |
b24a9e88 | 1982 | |
6ea0279f MG |
1983 | 2001-07-31 matthew green <mrg@eterna.com.au> |
1984 | ||
1985 | * config.gcc (i386-*-netbsdelf): New description. | |
1986 | * config/i386/netbsd-elf.h: New file. | |
1987 | ||
ae16bf15 GK |
1988 | 2001-07-30 Geoffrey Keating <geoffk@redhat.com> |
1989 | ||
1990 | * loop.c (check_dbra_loop): Use single_set to compute | |
1991 | jump_label. | |
1992 | ||
2bfcf297 DB |
1993 | 2001-07-31 Daniel Berlin <dan@cgsoftware.com> |
1994 | ||
1995 | PowerPC reorg and support for powerpc64-*-linux*. | |
1996 | ||
1997 | Also fixes emitting of constants on 32 bit and 64 bit | |
1998 | platforms. | |
7f8a2125 | 1999 | |
2bfcf297 | 2000 | * config.gcc: powerpc64-*-linux* is a new target. |
7f8a2125 | 2001 | Things that needed aix.h now also include xcoff.h |
2bfcf297 DB |
2002 | |
2003 | * config/rs6000/rs6000.h: Split XCOFF specific stuff into | |
7f8a2125 | 2004 | xcoff.h. |
2bfcf297 | 2005 | Move AIX specific stuff into aix.h. |
2bfcf297 DB |
2006 | (TARGET_AIX): Renamed to TARGET_XCOFF, since the AIX ABI is used |
2007 | with more than just XCOFF now. | |
2008 | (SET_ASM_OP): Remove, now defined where needed. | |
2009 | (FUNCTION_PROLOGUE): New macro definition. | |
2010 | (FUNCTION_EPILOGUE): New macro definition. | |
2bfcf297 | 2011 | (ASM_OPEN_PAREN, ASM_CLOSE_PAREN): New macro definition. |
f96850af | 2012 | |
2bfcf297 DB |
2013 | * config/rs6000/xcoff.h: New file. |
2014 | ||
2015 | * config/rs6000/linux64.h: New file. | |
2016 | ||
2017 | * config/rs6000/darwin.h: Copy needed AIX alignment definitions. | |
f96850af DE |
2018 | |
2019 | 2001-07-31 Alan Modra <amodra@bigpond.net.au> | |
2020 | ||
2021 | * rs6000.c (print_operand_address): Handle ELF syntax. | |
2022 | (output_toc): Simplify. Use DOUBLE_INT_ASM_OP. | |
2023 | * rs6000.md (load_toc_aix_di): Handle ELF syntax. | |
2024 | * rs6000.h (ASM_OUTPUT_DOUBLE_INT, ASM_LONG): Use DOUBLE_INT_ASM_OP. | |
2025 | ||
2026 | 2001-07-31 David Edelsohn <edelsohn@gnu.org> | |
2027 | ||
2028 | * rs6000.c (rs6000_override_options): Only disable | |
2029 | flag_function_sections for XCOFF. | |
2030 | (exact_log2_cint_operand): New predicate. | |
2031 | (reg_or_{add,sub}_cint64_operand): New predicates. | |
2032 | (add_operand): Compare CONST_INT with fewer function calls. | |
2033 | (rs6000_emit_set_const, rs6000_emit_set_long_const): New functions. | |
2034 | (print_operand, case 'p'): Ensure positive operand. | |
2035 | (rs6000_emit_load_toc_table): No load_toc_v4_pic_di. | |
2036 | * rs6000.h (CONST_OK_FOR_LETTER_P, case 'N'): Ensure positive value. | |
2037 | (PREDICATE_CODES): Add new predicates. | |
2038 | * rs6000.md (addsi3): Split 32-bit constants more correctly. | |
2039 | (divsi3, modsi3): Ensure positive power-of-2. | |
2040 | (adddi3): Use new predicate. Split 32-bit constants more | |
2041 | correctly. Re-arrange splitter to handle any constant. | |
2042 | (subdi3): Use new predicate. | |
2043 | (divdi3, moddi3): Ensure positive power-of-2. | |
2044 | (movdi): Use rs6000_emit_set_const. | |
2045 | (load_toc_v4_pic_di): Delete. | |
2bfcf297 | 2046 | |
dc56ceb7 GS |
2047 | 2001-07-31 Graham Stott <grahams@redhat.com> |
2048 | ||
2049 | * function.c (pad_below): Revert 2001-07-26 patch. | |
2050 | ||
3e42ccd2 JH |
2051 | Tue Jul 31 15:37:35 CEST 2001 Jan Hubicka <jh@suse.cz> |
2052 | ||
2053 | * reg-stack (convert_regs_1): Fix best edge condition. | |
2054 | ||
940b29aa JH |
2055 | Tue Jul 31 15:33:27 CEST 2001 Jan Hubicka <jh@suse.cz> |
2056 | ||
2057 | * jump.c (duplicate_loop_exit_test): Better test for jumps | |
2058 | entering the loop; create loop pre_header. | |
2059 | ||
91abf72d HP |
2060 | 2001-07-31 Hartmut Penner <hpenner@de.ibm.com> |
2061 | ||
39f95a2c JH |
2062 | * doc/install.texi: Add s390 and s390x as new targets. |
2063 | * doc/invoke.texi: Add documantation of S/390 and zSeries | |
2064 | target options. | |
2065 | * doc/md.texi: Add documantation of S/390 and zSeries constraints. | |
91abf72d | 2066 | |
8406d023 RZ |
2067 | 2001-07-30 Roman Zippel <zippel@linux-m68k.org> |
2068 | ||
2069 | * config/m68k/m68k.md: Replace all general_operand with | |
2070 | nonimmediate_operand for all destinations. | |
2071 | * config/m68k/m68k.c (not_sp_operand): Likewise. | |
2072 | ||
4d494dfe JW |
2073 | Mon Jul 30 23:20:34 EDT 2001 John Wehle (john@feith.com) |
2074 | ||
39f95a2c | 2075 | * flow.c (merge_blocks): Return 1 if an extra jump is inserted. |
4d494dfe | 2076 | |
88828291 RH |
2077 | 2001-07-30 Richard Henderson <rth@redhat.com> |
2078 | ||
2079 | * config/ia64/ia64.h (DEBUG_RANGES_SECTION): New. | |
2080 | * config/mips/iris6.h (DEBUG_RANGES_SECTION): New. | |
2081 | ||
f18bff15 RZ |
2082 | 2001-07-30 Roman Zippel <zippel@linux-m68k.org> |
2083 | ||
2084 | * config/m68k/m68k.h (TARGET_SWITCHES/TARGET_OPTIONS): | |
2085 | Add missing doc strings | |
2086 | * config/m68k/linux-aout.h (SUBTARGET_SWITCHES): Likewise | |
2087 | * config/m68k/linux.h (SUBTARGET_SWITCHES): Likewise | |
2088 | ||
0ecf09f9 JH |
2089 | Mon Jul 30 22:16:08 CEST 2001 Jan Hubicka <jh@suse.cz> |
2090 | ||
2091 | * i386.c (ix86_output_main_function_alignment_hack): New function. | |
2092 | (TARGET_ASM_FUNCTION_PROLOGUE): Default to it. | |
2093 | ||
2094 | * flow.c (mark_dfs_back_edges): Move from loop_p ; mark back | |
2095 | edges by EDGE_DFS_BACK flag. | |
2096 | (dump_edge_info): Add dfs_back flag. | |
2097 | * basic-block.h (EDGE_DFS_BACK): New constant. | |
2098 | (mark_dfs_back_edges): Declare. | |
2099 | * alias.c (loop_p): Remove. | |
2100 | (mark_constant_function): Use mark_dfs_back_edges. | |
2101 | ||
2102 | * reg-stack.c (block_info_def): Add predecesors counter and stack_out. | |
2103 | (reg_to_stack): Call mark_dfs_back_edges; count the predecesors. | |
2104 | (compensate_edge): Break out from ... | |
2105 | (convert_regs_1): ... here; do smart choosing of stack_out to copy. | |
2106 | (convert_regs_2): Set block_done once block is really done; | |
2107 | Do updating of the predecesors counts. | |
2108 | ||
2109 | * toplev.c (rest_of_compilation): Recompute block_for_insn | |
2110 | before post-reload cfg_cleanup. | |
2111 | * function.c (thread_prologue_epilogue_insns): | |
2112 | Call set_block_for_new_insns when emitting prologue directly. | |
2113 | ||
1490f392 AJ |
2114 | 2001-07-30 Andreas Jaeger <aj@suse.de> |
2115 | ||
39f95a2c | 2116 | * jump.c: Add prototype for mark_modified_reg. |
1490f392 | 2117 | |
39f95a2c | 2118 | * cse.c (set_live_p): Add unused attribute. |
1490f392 | 2119 | |
39f95a2c JH |
2120 | * gcov.c (calculate_branch_probs): Use gcov_type to avoid |
2121 | overflow. | |
2122 | (scan_for_source_files): Use long for count to avoid overflow. | |
2123 | (output_data): Likewise. | |
2124 | (output_data): Don't use string concatatenation to silence gcc | |
2125 | -traditional. | |
1490f392 | 2126 | |
39f95a2c | 2127 | * predict.c: Fix typos and grammar. |
1490f392 AJ |
2128 | |
2129 | * gcse.c (insert_insn_end_bb): Remove unused variables. | |
2130 | ||
a08b2604 JH |
2131 | Mon Jul 30 21:54:53 CEST 2001 Jan Hubicka <jh@suse.cz> |
2132 | ||
2133 | * flow.c (mark_set_1): Use REG_FREQ_FROM_BB. | |
2134 | (attempt_auto_inc): LIkewise. | |
2135 | (mark_used_reg): Likewise. | |
2136 | (try_pre_increment_1): Likewise. | |
2137 | * regclass.c (regclass): Likewise. | |
2138 | * global.c (allocno_compare): Update comment; change scaling factor. | |
2139 | * local-alloc.c (QTY_CMP_PRI): Likewise. | |
2140 | * regs.h (REG_FREQ_FROM_BB): New. | |
2141 | (REG_FREQ_MAX): Likewise. | |
2142 | ||
c2c0294a L |
2143 | 2001-07-30 H.J. Lu <hjl@gnu.org> |
2144 | ||
2145 | * config/mips/linux.h (CPLUSPLUS_CPP_SPEC): Add | |
2146 | -D_GNU_SOURCE. | |
2147 | ||
8597f3dd L |
2148 | 2001-07-30 H.J. Lu (hjl@gnu.org) |
2149 | ||
2150 | * config/mips/linux.h (ASM_DECLARE_FUNCTION_NAME): Defined. | |
2151 | (ASM_DECLARE_FUNCTION_SIZE): Likewise. | |
2152 | (FUNCTION_NAME_ALREADY_DECLARED): Likewise. | |
2153 | ||
b3026a92 NC |
2154 | 2001-07-30 Nick Clifton <nickc@cambridge.redhat.com> |
2155 | ||
2156 | * config/arm/t-arm-elf (MULTILIB_EXCEPTIONS): Skip -mthumb as well | |
2157 | as -mthumb-interwork when -mcpu=arm7 is specified. | |
2158 | ||
8b7e92f9 JH |
2159 | Mon Jul 30 17:44:43 CEST 2001 Jan Hubicka <jh@suse.cz> |
2160 | ||
2161 | * predict.def (noreturn, loop branch, loop exit): Mark as first | |
2162 | match heuristics. | |
2163 | ||
592a6d1d JH |
2164 | Mon Jul 30 12:52:11 CEST 2001 Jan Hubicka <jh@suse.cz> |
2165 | ||
2166 | * combine.c (try_combine): Avoid barrier after noop jumps. | |
2167 | ||
09b82253 NB |
2168 | 2001-07-29 Neil Booth <neil@cat.daikokuya.demon.co.uk> |
2169 | ||
2170 | * cpphash.h (struct cpp_reader): Remove import_warning. | |
2171 | * cpplib.c (skip_rest_of_line): Don't bother turning off | |
2172 | macro expansion. | |
2173 | (parse_include): Move include handling to... | |
2174 | (do_include_common): ... here. Move import warning from... | |
2175 | (do_import): ... here. | |
2176 | (do_pragma_poison): Don't do a callback for poison identifiers. | |
2177 | * cpplib.h (struct cpp_callbacks): Don't do poison callbacks. | |
2178 | * cppmain.c (setup_callbacks): Similarly. | |
2179 | ||
833366d6 JH |
2180 | Sun Jul 29 23:26:50 CEST 2001 Jan Hubicka <jh@suse.cz> |
2181 | ||
2182 | * rtlanal.c (parms_set, find_first_parameter_load): Break out from...; | |
2183 | handle multiple sets. | |
2184 | * except.c (sjlj_mark_call_sites): .... here. | |
2185 | * gcse.c (insert_insn_end_bb): Use find_first_parameter_load. | |
2186 | ||
b5832b43 JH |
2187 | Sun Jul 29 21:38:45 CEST 2001 Jan Hubicka <jh@suse.cz> |
2188 | ||
2189 | Suggested by Richard Henderson and Richard Kenner: | |
2190 | * combine.c (recog_for_combine): Use the fake recog | |
2191 | only if instruction does not match. | |
2192 | * rtl.h (NOOP_MOVE_INSN_CODE): New. | |
2193 | * rtlanal.c (noop_move_p): Always return 1 for NOOP_MOVE_INSN_CODE. | |
2194 | ||
2195 | * combine.c (try_combine): Discover noop jump as direct jump. | |
2196 | ||
12285d9d DB |
2197 | 2001-07-29 Daniel Berlin <dan@cgsoftware.com> |
2198 | ||
2199 | * df.c (df_rd_global_compute): Add successors to worklist, not | |
2200 | current item. | |
2201 | (df_ru_global_compute): Ditto. | |
2202 | ||
b2d57793 DB |
2203 | 2001-07-27 Daniel Berlin <dan@cgsoftware.com> |
2204 | ||
2205 | * regclass.c (reg_scan_mark_refs): Increment REG_N_REFS when we | |
2206 | increment REG_N_SETS. | |
2207 | ||
2208 | 2001-07-26 Daniel Berlin <dan@cgsoftware.com> | |
2209 | ||
2210 | * sbitmap.h: New prototype for sbitmap_a_xor_b. | |
2211 | ||
2212 | * sbitmap.c (sbitmap_a_xor_b): New function. | |
2213 | ifdef the basic block stuff on IN_GCC. | |
2214 | ||
6d18adbc NB |
2215 | 2001-07-29 Neil Booth <neil@cat.daikokuya.demon.co.uk> |
2216 | ||
2217 | * cppexp.c (parse_defined): Always record the macro name. | |
2218 | (lex): Don't worry about identifiers, or special-case | |
2219 | CPP_NOT here. | |
2220 | (_cpp_parse_expr): Figure out at the end of the routine | |
2221 | whether we saw a valid !defined() expression. | |
2222 | * cppfiles.c (stack_include_file): Update for mi_valid. | |
2223 | (_cpp_pop_file_buffer): Similarly. | |
2224 | * cpplex.c (_cpp_lex_token): Similarly. | |
2225 | * cpphash.h (enum mi_state, enum mi_ind, mi_state, | |
2226 | mi_if_not_defined, mi_lexed): Remove. | |
2227 | (mi_valid): New. | |
2228 | * cpplib.c (do_if): Simplify. | |
2229 | (do_endif, push_conditional, _cpp_handle_directive): Update | |
2230 | for renaming of mi_state to mi_valid. | |
2231 | doc: | |
2232 | * cpp.texi: Add index entries for digraphs, and add comment | |
2233 | that C++ refers to them as alternative tokens. | |
2234 | ||
0068fd96 JH |
2235 | Sun Jul 29 18:59:13 CEST 2001 Jan Hubicka <jh@suse.cz> |
2236 | ||
2237 | * basic-block.h (CLEANUP_PRE_LOOP): New. | |
2238 | * except.c (finish_eh_generation): Update call of cleanup_cfg. | |
2239 | * sibcall.c (optimize_sibling_calls): Likewise. | |
2240 | * toplev.c (rest_of_compilation): Likewise. | |
2241 | * flow.c (try_forward_edges): Take argument MODE; | |
2242 | do not forward over loop pre-headers if CLEANUP_PRE_LOOP. | |
2243 | (try_optimize_cfg): Update call of try_forward_edges. | |
2244 | ||
2245 | Sun Jul 29 18:59:56 CEST 2001 Roman Zippel <zippel@linux-m68k.org> | |
2246 | Jan Hubicka <jh@suse.cz> | |
2247 | ||
2248 | * (validate_replace_rtx_1): Fix simplification of MINUS. | |
2249 | ||
df07e07d NB |
2250 | 2001-07-29 Neil Booth <neil@daikokuya.demon.co.uk> |
2251 | ||
2252 | PR preprocessor/3669 | |
2253 | * cppinit.c (init_dependency_output): Turn off dump requests | |
2254 | if sending dependencies to stdout. | |
2255 | ||
587f922a RH |
2256 | 2001-07-28 Richard Henderson <rth@redhat.com> |
2257 | ||
2258 | * flow.c (life_analysis): Elide PROP_ALLOW_CFG_CHANGES if | |
2259 | not optimizing. | |
2260 | ||
89f355bd G |
2261 | 2001-07-28 Golubev I. N. <gin@mo.msk.ru> |
2262 | ||
2263 | * config/i386/sco5.h (DWARF2_DEBUGGING_INFO): Define. | |
2264 | ||
391522e3 KH |
2265 | 2001-07-28 Kazu Hirata <kazu@hxi.com> |
2266 | ||
2267 | * config/h8300/h8300.h (ENCODE_SECTION_INFO): Check to see if DECL | |
2268 | is VAR_DECL first to prevent an ICE. | |
2269 | ||
6681bc1f RH |
2270 | 2001-07-28 Richard Henderson <rth@redhat.com> |
2271 | ||
2272 | * varasm.c (immed_real_const_1): Don't elide special cases for | |
2273 | nested functions. | |
2274 | (clear_const_double_mem): Clear const_tiny_rtx too. | |
2275 | ||
a20612aa RH |
2276 | 2001-07-28 Richard Henderson <rth@redhat.com> |
2277 | ||
2278 | * dwarf2out.c (dw_val_class_offset): New. | |
2279 | (struct dw_ranges_struct, dw_ranges_ref): New. | |
2280 | (ranges_table, ranges_table_allocated): New. | |
2281 | (ranges_table_in_use, RANGES_TABLE_INCREMENT): New. | |
2282 | (add_AT_offset, add_ranges, output_ranges): New. | |
2283 | (print_die, output_die): Handle dw_val_class_offset. | |
2284 | (attr_checksum, size_of_die, value_format): Likewise. | |
2285 | (gen_lexical_block_die): Handle non-contiguous blocks. | |
2286 | (gen_block_die): Likewise. | |
2287 | (dwarf2out_finish): Add a DW_AT_entry_pc to the compilation unit | |
2288 | if needed. Dump the ranges table. | |
2289 | * final.c (final_start_function): Remove unnecessary notes and | |
2290 | rebuild the block tree before numbering the blocks. | |
2291 | * function.c (reorder_blocks_0): Walk the existing block tree | |
2292 | to unmark all blocks. | |
2293 | (reorder_blocks_1): Create block fragments when duplicate block | |
2294 | notes are seen. | |
2295 | (reorder_fix_fragments): New. | |
2296 | (reorder_blocks): Call it. | |
2297 | * tree.h (BLOCK_FRAGMENT_ORIGIN, BLOCK_FRAGMENT_CHAIN): New. | |
2298 | ||
c2f7bcc3 RH |
2299 | 2001-07-28 Richard Henderson <rth@redhat.com> |
2300 | ||
2301 | * emit-rtl.c (adjust_address): Make a copy of the memory address. | |
2302 | ||
91d84fad RH |
2303 | 2001-07-28 Richard Henderson <rth@redhat.com> |
2304 | ||
2305 | * flow.c (add_to_mem_set_list): New function. | |
2306 | (init_propagate_block_info): Use it. | |
2307 | (mark_set_1): Likewise. | |
2308 | (insn_dead_p): Canonicalize memory address for dead store | |
2309 | comparison. Allow wider mode stores to kill narrower mode stores. | |
2310 | (invalidate_mems_from_autoinc): Use invalidate_mems_from_set. | |
2311 | (invalidate_mems_from_set): Don't handle MEMs. | |
2312 | ||
0a02170f KH |
2313 | 2001-07-28 Kazu Hirata <kazu@hxi.com> |
2314 | ||
2315 | * config/h8300/h8300.h: Fix formatting. | |
2316 | ||
134d3a2e JH |
2317 | Sat Jul 28 23:35:22 CEST 2001 Jan Hubicka <jh@suse.cz> |
2318 | ||
2319 | * basic-block.h (EDGE_FREQUENCY): New macro. | |
2320 | * bb-reorder (fixup_reorder_chain): Set counts and frequencies | |
2321 | for new BB/edges. | |
2322 | * flow.c (find_sub_basic_blocks): Likewise. | |
2323 | (try_crossjump_to_edge): Likewise; use EDGE_FREQUENCY | |
2324 | (redirect_edge_and_branch): Use EDGE_FREQUENCY. | |
2325 | ||
2326 | * predict.c (DEF_PREDICTOR): New argument FLAGS. | |
2327 | (HITRATE): New macro. | |
2328 | (PRED_FLAG_FIRST_MATCH): New constant. | |
2329 | (predictor_info): New field flgags. | |
2330 | (combine_predictions_for_insn): Use DS theory to combine | |
2331 | probabilities; set the edge probabilities when finished. | |
2332 | (estimate_probability): Avoid duplicated matches | |
2333 | of LOOP_BRANCH heuristics for nested loops; update comment. | |
2334 | * predict.def: Add flags for each prediction, set probabilities | |
2335 | according to B&L paper. | |
2336 | * predict.h (DEF_PREDICTOR): New argument FLAGS. | |
2337 | ||
2338 | * profile.c (compute_branch_probabilities): Cleanup way the edge | |
2339 | probabilities are computed and REG_BR_PROB notes are dropped; if | |
2340 | values does not match, emit error. | |
2341 | (init_branch_prob): Do error instead of warning when profile driven | |
2342 | feedback is missing or corrupt. | |
2343 | ||
7f646877 DD |
2344 | 2001-07-27 DJ Delorie <dj@redhat.com> |
2345 | ||
2346 | * ifcvt.c (noce_get_alt_condition): If the condition is a compare | |
2347 | against a constant, try to adjust the compare to have the desired | |
2348 | constant in it so that min/max optimizations happen more often. | |
2349 | ||
d69d0316 JH |
2350 | Fri Jul 27 17:53:00 CEST 2001 Jan Hubicka <jh@suse.cz> |
2351 | ||
2352 | * flow.c (last_loop_beg_note): New function. | |
2353 | (redirect_edge_and_branch): Use it. | |
2354 | (split_edge): Likewise. | |
2355 | ||
2356 | * alias.c (loop_p): Avoid uninitialized memory access. | |
2357 | ||
2358 | * flow.c (try_forward_edges): Avoid accessing freed memory. | |
2359 | ||
2360 | * flow.c (backward_edge_of_syntactic_loop_p): Avoid uninitialized | |
2361 | variable access. | |
2362 | ||
0dd99795 AH |
2363 | 2001-07-26 Andrew Haley <aph@redhat.com> |
2364 | Joern Rennecke <amylaar@redhat.com> | |
2365 | ||
2366 | * config/sh/linux.h (CPP_DEFAULT_CPU_SPEC): New. | |
2367 | (SUBTARGET_CPP_ENDIAN_SPEC): New. | |
2368 | (SUBTARGET_CPP_SPEC): New. | |
2369 | (CPP_SPEC): Remove. | |
2370 | * config/sh/sh.h (SUBTARGET_CPP_ENDIAN_SPEC): New. | |
2371 | (SUBTARGET_CPP_PTR_SPEC): New. | |
2372 | (CPP_DEFAULT_CPU_SPEC): New. | |
2373 | (EXTRA_SPECS): Add SUBTARGET_CPP_ENDIAN_SPEC, | |
2374 | SUBTARGET_CPP_PTR_SPEC, and CPP_DEFAULT_CPU_SPEC. | |
2375 | (CPP_SPEC): Break out parts into SUBTARGET_CPP_ENDIAN_SPEC, | |
2376 | SUBTARGET_CPP_PTR_SPEC, and CPP_DEFAULT_CPU_SPEC. | |
2377 | (SUBTARGET_CPP_SPEC): Define as an empty string. | |
2378 | ||
e69aa433 GP |
2379 | 2001-07-27 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
2380 | ||
2381 | * doc/install.texi (Configuration): Properly link the host | |
2382 | specific instructions also when generating HTML. | |
2383 | ||
a727094f JW |
2384 | Fri Jul 27 00:33:35 EDT 2001 John Wehle (john@feith.com) |
2385 | ||
39f95a2c | 2386 | * flow.c (redirect_edge_and_branch_force): Test |
a727094f JW |
2387 | target->global_live_at_start. |
2388 | ||
732910b9 RH |
2389 | 2001-07-26 Richard Henderson <rth@redhat.com> |
2390 | ||
2391 | * simplify-rtx.c (avoid_constant_pool_reference): Export. | |
2392 | * rtl.h (avoid_constant_pool_reference): Declare it. | |
2393 | * dwarf2out.c (add_location_or_const_value_attribute): Use it. | |
2394 | (add_const_value_attribute): Use add_AT_unsigned for unsigned values. | |
2395 | ||
01f62f01 JH |
2396 | Thu Jul 26 22:30:22 CEST 2001 Jan Hubicka <jh@suse.cz> |
2397 | ||
2398 | * rtl.h (cleanup_barriers): Declare. | |
2399 | * jump.c (cleanup_barriers): New function. | |
2400 | * toplev.c (rest_of_compilation): Call cleanup_barriers | |
2401 | before loop optimizer and after bb_reorder. | |
2402 | ||
2403 | * flow.c (back_edge_of_syntactic_loop_p): New. | |
2404 | (split_edge): Use it. | |
2405 | ||
aa069f77 RO |
2406 | 2001-07-26 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
2407 | ||
2408 | * glimits.h (_MACH_MACHLIMITS_H_): Delete. | |
2409 | ||
c96208fa DC |
2410 | Thu Jul 26 22:22:21 2001 Denis Chertykov <denisc@overta.ru> |
2411 | ||
2412 | * cse.c (cse_process_notes): Replace any registers if the address | |
2413 | remains valid. | |
2414 | ||
11f68165 JW |
2415 | Thu Jul 26 14:04:03 EDT 2001 John Wehle (john@feith.com) |
2416 | ||
2417 | * basic-block.h (PROP_ALLOW_CFG_CHANGES): Define. | |
2418 | (PROP_FINAL): Include PROP_ALLOW_CFG_CHANGES. | |
2419 | (propagate_block): Update prototype. | |
2420 | * flow.c (update_life_info): Simplify the CFG and | |
2421 | recalculate the global regs which are alive when | |
2422 | removing dead code during a global update. | |
2423 | (propagate_block): Return non-zero if an INSN is | |
2424 | deleted. | |
2425 | ||
62c62a4f RO |
2426 | 2001-07-26 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
2427 | ||
2428 | * Makefile.in (LIBICONV): Define. | |
2429 | ||
06e937ed CM |
2430 | 2001-07-26 Catherine Moore <clm@redhat.com> |
2431 | ||
39f95a2c JH |
2432 | * config/v850/v850.h (ENCODE_SECTION_INFO): Change order |
2433 | of conditional to avoid tree checking errors. | |
06e937ed | 2434 | |
f3029065 KH |
2435 | 2001-07-26 Kazu Hirata <kazu@hxi.com> |
2436 | ||
2437 | * regmove.c (regmove_optimize): Don't replace a reg with | |
2438 | another reg of a different mode. | |
2439 | ||
4a121cc3 AM |
2440 | 2001-07-26 Andrew MacLeod <amacleod@redhat.com> |
2441 | ||
1490f392 | 2442 | * params.def (PARAM_MAX_PENDING_LIST_LENGTH): Add parameter to |
4a121cc3 AM |
2443 | limit length of dependancy flush list. |
2444 | * params.h (MAX_PENDING_LIST_LENGTH): Define. | |
2445 | * sched-int.h (struct deps): Add pending_flush_length field. | |
2446 | * sched-deps.c (flush_pending_lists): Last_pending_memory_flush now | |
2447 | has 1 element in it. | |
2448 | (sched_analyze_1): Use MAX_PENDING_LIST_LENGTH. | |
2449 | (sched_analyze): After a jump, if the pending memory flush list is too | |
2450 | large, flush the pending lists. | |
2451 | (init_deps): Initialize pending_flush_length to 0. | |
2452 | * doc/invoke.texi (max_pending_list_length): Document parameter. | |
2453 | ||
440aabf8 NB |
2454 | 2001-07-26 Neil Booth <neil@daikokuya.demon.co.uk> |
2455 | ||
2456 | * toplev.c, varasm.c, final.c: Include xcoffout.h if appropriate. | |
2457 | * dbxout.c (dbxout_global_decl): Move outside #ifdef. | |
2458 | * Makefile.in (varasm.o, final.o, toplev.o): Update dependencies. | |
2459 | ||
cef0d199 NB |
2460 | 2001-07-26 Neil Booth <neil@cat.daikokuya.demon.co.uk> |
2461 | ||
2462 | * cpphash.h (struct_lexer_state): Delete was_skipping. | |
2463 | Move skipping here from struct cpp_reader. | |
2464 | * cpplex.c (parse_identifier): Update. | |
2465 | (_cpp_lex_token): Don't skip tokens in a directive. | |
2466 | * cpplib.c (struct if_stack): Update. | |
2467 | (start_directive, end_directive): Don't change skipping state. | |
2468 | (_cpp_handle_directive): Update. | |
2469 | (do_ifdef, do_ifndef, do_if, do_elif): Similarly. | |
2470 | (do_else, do_endif): Update; only check for excess tokens if not | |
2471 | in a skipped conditional block. | |
2472 | (push_conditional): Update for new struct if_stack. | |
2473 | ||
5b16f556 GS |
2474 | 2001-07-26 Graham Stott <grahams@redhat.com> |
2475 | ||
2476 | * function.c (locate_and_pad_parm): Also pad initial offset | |
2477 | so that the total argument size also includes the padding. | |
2478 | ||
2479 | 2001-07-26 Graham Stott <grahams@redhat.com> | |
2480 | ||
2481 | * gensupport.c (alter_output_for_insn): Correct enable checking failure | |
2482 | change XSTR to XTMPL. | |
2483 | ||
2484 | (process_one_cond_exec): Likewise | |
2485 | ||
17eee61c RH |
2486 | 2001-07-25 Richard Henderson <rth@redhat.com> |
2487 | ||
2488 | * varasm.c (assemble_variable): Create DECL_RTL before setting | |
2489 | TREE_ASM_WRITTEN. | |
2490 | ||
c4f81e4a JH |
2491 | Thu Jul 26 00:19:30 CEST 2001 Jan Hubicka <jh@suse.cz> |
2492 | ||
2493 | * predict.c (estimate_probability): Avoid duplicated predictions. | |
2494 | ||
2495 | * loop.c (find_and_verify_loops): Grok multiple barriers. | |
2496 | ||
02e3f1a8 RK |
2497 | Wed Jul 25 18:00:05 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
2498 | ||
472385a2 RK |
2499 | * config/alpha/alpha.c (print_operand, case '/'): Don't write '/'. |
2500 | ||
02e3f1a8 | 2501 | * dbxout.c: Consistently use putc instead of fputc. |
1490f392 | 2502 | (print_wide_int): New function; call instead of direct fprintf. |
02e3f1a8 RK |
2503 | (dbxout_type_index): Adjust calls of CHARS to be more accurate. |
2504 | (dbxout_type_fields, dbxout_type_method_1): Likewise. | |
2505 | (dbxout_type_methods, dbxout_range_type, dbxout_type): Likewise. | |
2506 | (print_int_cst_octal): Likewise. | |
2507 | (print_octal): Show we wrote characters. | |
2508 | (dbxout_type): Set have_used_extensions in more places. | |
2509 | ||
f2d28b14 CM |
2510 | 2001-07-25 Catherine Moore <clm@redhat.com> |
2511 | ||
39f95a2c JH |
2512 | * config/v850/v850.c (v850_va_arg): Use addr |
2513 | instead of valist to build incr. | |
f2d28b14 | 2514 | |
6e64a52a JH |
2515 | Wed Jul 25 22:48:59 CEST 2001 Jan Hubicka <jh@suse.cz> |
2516 | ||
2517 | * flow.c (delete_dead_jumptables): New function. | |
2518 | (life_analyzis): Call it. | |
02e3f1a8 RK |
2519 | * bb-reorder.c (skip_insns_after_block): Handle contradictory |
2520 | sequences. | |
6e64a52a | 2521 | |
7f206d8f RH |
2522 | 2001-07-25 Richard Henderson <rth@redhat.com> |
2523 | ||
2524 | * except.c (reachable_handlers): Handle a region being removed | |
2525 | out from under a RESX. | |
2526 | ||
56f19d92 RH |
2527 | 2001-07-25 Richard Henderson <rth@redhat.com> |
2528 | ||
2529 | * config/alpha/alpha.c (alpha_emit_conditional_move): Always | |
02e3f1a8 | 2530 | swap GE/GT if it is an fp comparison. |
56f19d92 RH |
2531 | |
2532 | 2001-07-25 Andrew Haley <aph@cambridge.redhat.com> | |
3237ac18 AH |
2533 | |
2534 | * alias.c (rtx_equal_for_memref_p): Allow strings as types in | |
2535 | operands. | |
2536 | ||
42f28de9 JL |
2537 | Wed Jul 25 08:25:01 2001 Jeffrey A Law (law@cygnus.com) |
2538 | ||
1490f392 | 2539 | * ssa.c (rename_insn_1): Do not wrap an assignment to a |
ea0eceb1 JL |
2540 | paradoxical SUBREG inside a SEQUENCE. Fix minor formatting |
2541 | glitch. | |
2542 | ||
42f28de9 JL |
2543 | * ssa-ccp.c (visit_expression): Handle CALL_INSNs that can |
2544 | throw an exception. | |
2545 | (visit_expression): When attempting to simplify an expression, | |
2546 | retrieve any modes for arguments before they are simplified | |
2547 | to constants. | |
2548 | ||
7c2b017c AM |
2549 | 2001-07-25 Andrew MacLeod <amacleod@redhat.com> |
2550 | Janis Johnson <janis@us.ibm.com> | |
2551 | ||
2552 | * stmt.c (expand_goto): A nonlocal goto can be a call too. | |
2553 | * builtins.c (expand_builtin_longjmp): Reverse label and static chain | |
2554 | pointer parameters to match documented usage of nonlocal_goto. | |
2555 | * config/ia64/ia64.md (nonlocal_goto): Revert label and static chain | |
2556 | parameters to their correct order. | |
2557 | * config/sparc/sparc.md (nonlocal_goto): Revert label and static chain | |
2558 | parameters to their correct order. | |
2559 | ||
ff3daa88 AM |
2560 | 2001-07-25 Andrew MacLeod <amacleod@redhat.com> |
2561 | ||
2562 | * config/ia64/ia64.h (STRIP_NAME_ENCODING): Strip out '*' as well. | |
2563 | ||
a368a2fa JH |
2564 | 2001-07-25 Jan Hubicka <jh@suse.cz> |
2565 | Richard Henderson <rth@redhat.com> | |
2566 | ||
2567 | * flow.c (find_sub_basic_blocks): Fix handling of the last BB in | |
2568 | the sequence. | |
2569 | (make_edges): New argument update_p; populate the edge cache if set. | |
2570 | (find_basic_blocks): Update make_edges invocation. | |
2571 | ||
303e979a JS |
2572 | 2001-07-24 Joel Sherrill <joel@OARcorp.com> |
2573 | ||
2574 | * config/i960/i960.h (CPP_SPEC): Define _SOFT_FLOAT for -msoft-float. | |
2575 | ||
7adb4be8 JS |
2576 | 2001-07-24 Joel Sherrill <joel@OARcorp.com> |
2577 | ||
39f95a2c | 2578 | * config/sparc/rtems.h (CPP_PREDEFINES): Remove redundant |
7adb4be8 | 2579 | -Acpu and -Amachine.h. |
39f95a2c JH |
2580 | * config/sparc/rtemself.h (CPP_PREDEFINES): Likewise. |
2581 | Corrected header to say ELF not a.out. | |
2582 | * config/sparc/sparc.h (CPP_CPU_SPEC): Define _SOFT_FLOAT | |
7adb4be8 JS |
2583 | when given -msoft-float. |
2584 | ||
2585 | 2001-07-24 Joel Sherrill <joel@OARcorp.com> | |
bb8602be JS |
2586 | |
2587 | * config.gcc (arm*-*-rtems*): Include crtinit.o and crtfini.o as | |
2588 | extra multilib parts like arm-elf. | |
2589 | (i960-*-coff*, i960-*-rtems): Should not use collect2. | |
2590 | (m68020-*-elf*, m68k-*-elf*, m68k-*-rtems*): Include crtinit.o and | |
2591 | crtfini.o as extra multilib parts. | |
2592 | ||
e08f13ee JS |
2593 | 2001-07-24 Joel Sherrill <joel@OARcorp.com> |
2594 | ||
2595 | * configure.in: Add rtems as a supported thread model. | |
2596 | * gthr-rtems.h: Add missing entry point __gthread_active_p. | |
2597 | * configure: Rebuilt. | |
2598 | ||
0c237688 LB |
2599 | 2001-07-24 Lars Brinkhoff <lars@nocrew.org> |
2600 | ||
2601 | * stor-layout.c (get_mode_alignment): make it work when | |
2602 | BITS_PER_UNIT is not a power of two. | |
2603 | * builtins.c (get_pointer_alignment): Likewise. | |
2604 | ||
5a2aa3bd RH |
2605 | 2001-07-24 Richard Henderson <rth@redhat.com> |
2606 | ||
2607 | * simplify-rtx.c (avoid_constant_pool_reference): Coerce | |
2608 | the retrieved constant into the expected mode. | |
2609 | ||
ca9fef16 JH |
2610 | Wed Jul 25 01:41:27 CEST 2001 Jan Hubicka <jh@suse.cz> |
2611 | ||
2612 | * flow.c (try_simplify_condjump): Avoid duplicated edges. | |
2613 | (verify_flow_info): Check for duplicated edges; clarify | |
2614 | error reporting. | |
2615 | ||
2616 | * flow.c (block_label): Update basic_block_for_insn. | |
2617 | (commit_edge_insertions): Call compute_bb_for_insn. | |
2618 | ||
2619 | * flow.c (purge_dead_edges): Handle conditional jumps and conditional | |
2620 | returns too. | |
2621 | ||
2622 | * flow.c (redirect_edge_and_branch, | |
2623 | try_optimize_cfg): Use redirect_edge_succ_nodup | |
2624 | (redirect_edge_succ_nodup): New. | |
2625 | * basic_block.h (redirect_edge_succ_nodup): Declare. | |
2626 | ||
2627 | * toplev.c (rest_of_compilation): Rebuild CFG before cfg_cleanup | |
2628 | after gcse. | |
2629 | ||
40fc4e6a JH |
2630 | Wed Jul 25 00:32:49 CEST 2001 Jan Hubicka <jh@suse.cz> |
2631 | ||
2632 | * flow.c (try_forward_edges): Accept fallthru edge; Update comment. | |
2633 | (try_crossjump_to_edge): Update commetns. | |
2634 | (try_crossjump_bb): Likewise. | |
2635 | ||
e7139885 RH |
2636 | 2001-07-24 Richard Henderson <rth@redhat.com> |
2637 | ||
2638 | * combine.c (distribute_notes): Move set of need_refresh | |
2639 | for noop_move_p down to catch all cases. | |
2640 | ||
6f862f2f JH |
2641 | Tue Jul 24 20:32:44 CEST 2001 Jan Hubicka <jh@suse.cz> |
2642 | ||
2643 | * recog.c (split_all_insns_noflow): New. | |
2644 | * rtl.h (split_all_insns_noflow): Declare. | |
2645 | * ia64.c (ia64_reorg): Use split_all_insns_noflow. | |
2646 | * m68hc11.c (m68hc11_reorg): Likewise. | |
2647 | * sh.c (machine_dependent_reorg): Likewise. | |
2648 | * toplev.c (rest_of_compilation): Likewise for last split_all_insns | |
2649 | call. | |
2650 | ||
615cd49b AH |
2651 | 2001-07-18 Andrew Haley <aph@cambridge.redhat.com> |
2652 | ||
bb8602be JS |
2653 | * config/sh/sh.md (ashlsi3_std splitter): Split only after reload. |
2654 | (ashlsi3_n splitter): Likewise. | |
2655 | (lshrsi3_n splitter): Likewise. | |
615cd49b | 2656 | |
bb8602be JS |
2657 | (GOTaddr2picreg): Make const SImode. |
2658 | (sym_label2reg): Likewise. | |
2659 | (symGOT2reg): Likewise. | |
2660 | (symGOTOFF2reg) Likewise. | |
615cd49b | 2661 | |
bb8602be | 2662 | (casesi_worker_0): Make unspec SImode. |
615cd49b | 2663 | |
2b9d17c7 AH |
2664 | 2001-07-18 Andrew Haley <aph@cambridge.redhat.com> |
2665 | ||
bb8602be JS |
2666 | * config/sh/sh.c (barrier_align): Check that an operand really is |
2667 | an insn before extracting its INSN_CODE. | |
2b9d17c7 | 2668 | |
cfe1cd40 AH |
2669 | 2001-07-24 Andrew Haley <aph@cambridge.redhat.com> |
2670 | ||
2671 | * config/sh/sh.h (OVERRIDE_OPTIONS): Add braces to get rid of | |
2672 | dangling else. | |
2673 | ||
2674 | * config/sh/sh.h (INITIALIZE_TRAMPOLINE): Truncate operands | |
2675 | for SImode to prevent overflow. | |
2676 | ||
46d2e8d7 RO |
2677 | 2001-07-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
2678 | ||
2679 | * config/mips/irix6-libc-compat.c: New file. | |
2680 | * config/mips/t-iris6 (LIB2FUNCS_STATIC_EXTRA): Use it. | |
2681 | * doc/install.texi (Specific, mips*-sgi-irix6): Mention structure | |
2682 | passing workaround. | |
2683 | ||
cd6e5291 LB |
2684 | 2001-07-24 lars brinkhoff <lars@nocrew.org> |
2685 | ||
2686 | * rtl.texi (REG_POINTER): Document. | |
2687 | (Machine Modes): Document BImode, OImode, PQImode, PHImode, | |
2688 | QFmode, HFmode, TQFmode, QCmode, and HCmode. | |
2689 | ||
8f54d2ff JH |
2690 | Tue Jul 24 10:49:40 CEST 2001 Jan Hubicka <jh@suse.cz> |
2691 | ||
2692 | * flow.c (delete_noop_moves): Do not confuse libcall regions. | |
2693 | ||
6a7ca996 RH |
2694 | 2001-07-23 Richard Henderson <rth@redhat.com> |
2695 | ||
2696 | * flow.c (try_simplify_condjump): Use tidy_fallthru_edge. | |
2697 | ||
ba412630 KH |
2698 | 2001-07-23 Kazu Hirata <kazu@hxi.com> |
2699 | ||
2700 | * config/h8300/h8300-protos.h: Add a prototype for | |
2701 | general_operand_dst_push. | |
1490f392 | 2702 | * config/h8300/h8300.c (general_operand_dst_push): New. |
ba412630 KH |
2703 | * config/h8300/h8300.h (OK_FOR_T): New. |
2704 | (EXTRA_CONSTRAINT): Use it. | |
2705 | * config/h8300/h8300.md (movqi_push): Remove and integrate into | |
2706 | the existing movqi pattern. | |
2707 | (movhi_push): Likewise. | |
2708 | ||
82efa2e5 KH |
2709 | * reload.c: Fix comment typos. |
2710 | ||
21715220 JH |
2711 | Mon Jul 23 23:34:07 CEST 2001 Jan Hubicka <jh@suse.cz> |
2712 | ||
2713 | * gcse.c (cprop_insn): Update call of cprop_cc0_jump. | |
2714 | ||
dd96fbc5 L |
2715 | 2001-07-23 H.J. Lu (hjl@gnu.org) |
2716 | ||
2717 | * doc/extend.texi: Update __builtin_return_address and | |
2718 | __builtin_frame_address. | |
2719 | ||
c50e5bc0 RH |
2720 | 2001-07-23 Richard Henderson <rth@redhat.com> |
2721 | ||
2722 | * config/i386/i386.c (ix86_expand_setcc): Don't use method 0 | |
2723 | before CSE. | |
2724 | * config/i386/i386.md: New setcc+movzbl peephole2. | |
2725 | ||
9099cc4f NB |
2726 | 2001-07-23 Neil Booth <neil@cat.daikokuya.demon.co.uk> |
2727 | ||
2728 | * objc/Make-lang.in (objc-act.o): Depend on debug.h. | |
2729 | * objc/objc-act.c: Include debug.h. | |
2730 | (synth_module_prologue): Save and restore debug hooks too. | |
2731 | ||
68eb4fb9 LB |
2732 | 2001-07-23 lars brinkhoff <lars@nocrew.org> |
2733 | ||
2734 | * tm.texi (TARGET_FLOAT_FORMAT): Document IBM_FLOAT_FORMAT | |
2735 | and C4X_FLOAT_FORMAT. | |
2736 | (BOOL_TYPE_SIZE): Document. | |
2737 | ||
57de7530 CP |
2738 | Mon Jul 23 11:54:23 2001 Clinton Popetz <cpopetz@cpopetz.com> |
2739 | ||
2740 | * unroll.c (loop_iterations): Fix miscalculation of initial | |
2741 | giv offset. | |
2742 | ||
6e7b03e1 AH |
2743 | 2001-07-13 Andrew Haley <aph@redhat.com> |
2744 | ||
bb8602be JS |
2745 | * doc/tm.texi (MD_CAN_REDIRECT_BRANCH): New macro. |
2746 | * config/sh/sh.h (MD_CAN_REDIRECT_BRANCH): New macro. | |
2747 | * config/sh/sh.c (sh_can_redirect_branch): New function. | |
2748 | * config/sh/sh-protos.h (sh_can_redirect_branch): Declare. | |
2749 | * reorg.c (steal_delay_list_from_target): Use | |
2750 | MD_CAN_REDIRECT_BRANCH to see if redirection is possible. | |
6e7b03e1 | 2751 | |
0dd94abd JH |
2752 | Mon Jul 23 17:20:18 CEST 2001 Jan Hubicka <jh@suse.cz> |
2753 | ||
2754 | * flow.c (try_simplify_condjump): Unlink insn chain on | |
2755 | fallthru edge; use can_fallthru. | |
2756 | ||
0005550b JH |
2757 | Mon Jul 23 16:03:19 CEST 2001 Jan Hubicka <jh@suse.cz> |
2758 | ||
2759 | * basic-block.h (find_sub_basic_block): Declare. | |
2760 | * flow.c (make_edges): New arguments MIN and MAX; | |
2761 | (find_sub_basic_blocks): Revamp to use make_edges | |
2762 | and purge_dead_edges. | |
2763 | (find_basic_blocks): Update call of find_sub_basic_block. | |
2764 | ||
2765 | * recog.c (split_all_insns): Always expect CFG to be consistent; | |
2766 | call find_sub_basic_blocks in case something has changed. | |
2767 | * toplev.c (rest_of_compilation): Always call split_all_insns once CFG | |
2768 | has been built. | |
2769 | ||
2770 | * basic-block.h (delete_noop_moves): Declare. | |
2771 | * combine.c (combine_instructions): Call it. | |
2772 | (recog_for_combine): Tolerate noop moves | |
2773 | (distribute_notes): Force refresh when register dies at noop move. | |
2774 | * flow.c (delete_noop_moves): Use BB structure; delete JUMP insns | |
2775 | too. | |
2776 | (life_analysis): Update delete_noop_moves call. | |
2777 | (set_noop_p): Move too ... | |
2778 | * rtlanal.c (noop_move_p): ... here. | |
2779 | * rtl.h (noop_move_p): Declare. | |
2780 | ||
2781 | * basic-block.h (purge_all_dead_edges, purge_dead_edges): New functions. | |
2782 | * toplev.c (rest_of_compilation): Conditionally call purge_all_dead_edges | |
2783 | after combine. | |
2784 | * gcse.c (cprop_cc0_jump, cprop_insn): New argument "basic_block". | |
2785 | (cprop_jump): Likewise; call purge_dead_edges if substitution suceeded. | |
2786 | ||
e0120d6e HPN |
2787 | 2001-07-23 Hans-Peter Nilsson <hp@bitrange.com> |
2788 | ||
2789 | * reload.c (push_reload): Fix typo in comment. | |
2790 | (find_reloads_address): Ditto. | |
2791 | (reg_overlap_mentioned_for_reload_p): Ditto in head comment. | |
2792 | ||
b02eea61 RH |
2793 | 2001-07-22 Richard Henderson <rth@redhat.com> |
2794 | ||
2795 | * flow.c: Grammar check and clarify a lot of comments. | |
2796 | (try_simplify_condjump): Rename variables to be clearer. | |
2797 | (try_forward_edges): Skip complex and fallthru edges. | |
2798 | Rearrange tests to avoid duplicate checks. | |
2799 | (flow_find_cross_jump): Likewise. | |
2800 | (outgoing_edges_match): Allow match if neither branch has | |
2801 | probability data. Loosen probability match to 5%. | |
1490f392 | 2802 | (try_crossjump_to_edge): Hoist repeated indirection into |
b02eea61 RH |
2803 | local variables. |
2804 | (try_crossjump_bb): Don't check complex edges. Eliminate | |
2805 | redundant crossjump tests. | |
2806 | (try_optimize_cfg): Fix use of bool. Reorganize cheaper | |
2807 | checks before more expensive checks. | |
2808 | ||
1f2f8b29 RH |
2809 | 2001-07-22 Richard Henderson <rth@redhat.com> |
2810 | ||
2811 | * fold-const.c (fold): Test vs FLOAT_TYPE_P instead of | |
2812 | INTEGRAL_TYPE_P when folding comparisons with operand_equal_p | |
2813 | arguments. | |
2814 | ||
97660e20 RH |
2815 | 2001-07-22 Richard Henderson <rth@redhat.com> |
2816 | ||
2817 | * m68k.c (const_uint32_operand): Abort if mode is <= 32 bits. | |
2818 | (const_sint32_operand): Likewise. | |
2819 | * m68k.md (anon mulsi pattern): Use const_int_operand not | |
2820 | const_sint32_operand. | |
2821 | (umulsi3_highpart): Zero extend a constant input. | |
2822 | (smulsi3_highpart): Don't bother checking SImode constant. | |
2823 | (const_umulsi3_highpart): Give op3 DImode. | |
2824 | (const_smulsi3_highpart): Likewise. | |
2825 | ||
0b6301ae RH |
2826 | 2001-07-22 Richard Henderson <rth@redhat.com> |
2827 | ||
2828 | * flow.c (split_block): Make sure bb_note is included in the | |
2829 | new block when splitting before a label. | |
2830 | ||
6b24c259 JH |
2831 | Sun Jul 22 23:28:56 CEST 2001 Jan Hubicka <jh@suse.cz> |
2832 | ||
2833 | * basic-block.h (redirect_edge_and_branch_force, | |
2834 | redirect_edge_and_branch, block_label, forwarder_block_p): Declare. | |
2835 | * flow.c (redirect_edge_and_branch_force, | |
2836 | redirect_edge_and_branch, block_label, forwarder_block_p): Make global. | |
2837 | (redirect_edge_and_branch_force): Fix copying of lifeness information. | |
2838 | (block_label): Handle EXIT_BLOCK_PTR by returning NULL. | |
2839 | * ifcvt.c (dead_or_predictable): Take BB as an new destionation | |
2840 | instead of label; update CFG after transformation. | |
2841 | (find_if_case_1): Update call, use redirect_edge_and_branch_force | |
2842 | for finishing the transformation; handle even case where ELSE | |
2843 | does not follow THEN. | |
2844 | (find_if_case_2): Update call of dead_or_predictable; simplify | |
2845 | CFG update. | |
2846 | ||
2847 | * emit-rtl.c (split_branch_probability): New global variable. | |
2848 | (try_split): Take care to set split_branch_probability and | |
2849 | create REG_BR_PROB note for new jump insns. | |
2850 | * md.texi (define_split): Document new feature. | |
2851 | ||
2852 | * i386.c (ix86_split_fp_branch): Redistribute branch probability notes. | |
2853 | ||
544f03b4 NB |
2854 | 2001-07-22 Neil Booth <neil@daikokuya.demon.co.uk> |
2855 | ||
2856 | * varasm.c: Don't inlcude dbxout.h, sdbout.h or xcoffout.h. | |
2857 | (asm_out_file): Remove redundant declaration. | |
2858 | (assemble_asm): Remove old #if 0 block. | |
2859 | (assemble_variable): Remove end of function; debug output is | |
2860 | now handled with global_decl. Remove old #if 0 block. Update. | |
2861 | Remove saved_in_section and associated no-op code. | |
2862 | * Makefile.in (varasm.o): Correct dependencies. | |
2863 | ||
bad1f214 AO |
2864 | Sun Jul 22 17:55:11 2001 Alexandre Oliva <aoliva@redhat.com> |
2865 | ||
2866 | * config/i386/freebsd-aout.h (ASM_PREFERRED_EH_DATA_FORMAT): Use | |
2867 | the definition in defaults.h. | |
2868 | ||
0045d504 JH |
2869 | Sun Jul 22 21:31:04 CEST 2001 Jan Hubicka <jh@suse.cz> |
2870 | ||
2871 | * jump.c: Update comments. | |
2872 | (delete_barrier_successors, delete_unreferenced_labels, | |
2873 | delete_noop_moves, tension_vector_labels, delete_from_jump_chain, | |
2874 | delete_labelref_insn, redirect_tablejump, jump_optimize_1, | |
2875 | jump_optimize, jump_optimize_minimal): Kill. | |
2876 | (rebuild_jump_labels): Move code from jump_optimize_1. | |
2877 | (purge_line_number_notes): Likewise. | |
2878 | (copy_loop_headers): Likewise. | |
2879 | * reg-stack.c: Update comment. | |
2880 | * stmt.c: Likewise. | |
2881 | * rtl.h (jump_optimize, jump_optimize_1, JUMP_NOOP_MOVES, | |
2882 | JUMP_AFTER_REGSCAN): Kill. | |
2883 | * toplev.c (rest_of_compilation): Use cleanup_cfg, call | |
2884 | purge_line_number_notes and copy_loop_headers. | |
2885 | ||
3914abb4 NB |
2886 | 2001-07-22 Neil Booth <neil@daikokuya.demon.co.uk> |
2887 | Richard Henderson <rth@redhat.com> | |
2888 | ||
2889 | * dbxout.c (dbxout_global_decl): New. | |
2890 | (xcoff_debug_hooks, dbx_debug_hooks): Use it. | |
2891 | * sdbout.c (sdbout_finish): New. | |
2892 | (sdbout_debug_hooks): Use it, add comments. | |
2893 | (sdbout_global_decl): Defer initialised public vars to | |
2894 | sdbout_finish. | |
2895 | * varasm.c (assemble_variable): Don't output debug information | |
2896 | for file-scope variables. | |
2897 | ||
be7560ea RH |
2898 | 2001-07-22 Richard Henderson <rth@redhat.com> |
2899 | ||
2900 | * config/alpha/alpha.c (get_trap_mode_suffix): New. | |
2901 | (get_round_mode_suffix): New. | |
2902 | (print_operand): Use them for [/]. Remove support for [&'`()+]. | |
2903 | * config/alpha/alpha.h (PRINT_OPERAND_PUNCT_VALID_P): Update. | |
2904 | * config/alpha/alpha.md (attr round_suffix): New. | |
2905 | (attr trap_suffix): New. | |
2906 | (all insns): Set them appropriately. Use %/ instead of the | |
2907 | myriad punctuators. | |
2908 | ||
65ecca65 NB |
2909 | 2001-07-22 Neil Booth <neil@cat.daikokuya.demon.co.uk> |
2910 | ||
2911 | * dbxout.c, sdbout.c, varasm.c: Revert most recent debug patch. | |
2912 | ||
4e812700 RH |
2913 | 2001-07-22 Richard Henderson <rth@redhat.com> |
2914 | ||
2915 | * regrename.c (regrename_optimize): Compute nregs for each | |
2916 | potential target register. | |
2917 | ||
f7e10587 NB |
2918 | 2001-07-21 Neil Booth <neil@daikokuya.demon.co.uk> |
2919 | Richard Henderson <rth@redhat.com> | |
2920 | ||
2921 | * dbxout.c (dbxout_global_decl): New. | |
2922 | (xcoff_debug_hooks, dbx_debug_hooks): Use it. | |
2923 | * sdbout.c (sdbout_finish): New. | |
2924 | (sdbout_debug_hooks): Use it, add comments. | |
2925 | (sdbout_global_decl): Defer initialised public vars to | |
2926 | sdbout_finish. | |
2927 | * varasm.c (assemble_variable): Don't output debug information | |
2928 | for file-scope variables. | |
2929 | ||
919b1aec L |
2930 | 2001-07-21 H.J. Lu (hjl@gnu.org) |
2931 | ||
2932 | * config/mips/mips.c (mips_cpu): Moved into ... | |
2933 | (override_options): Here. | |
2934 | ||
2935 | * config/mips/mips.h (mips_cpu_attr): Replace mips_cpu with | |
2936 | mips_tune. | |
2937 | (mips_cpu): Removed. | |
2938 | ||
0477256c SC |
2939 | 2001-07-21 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
2940 | ||
2941 | * config/m68hc11/m68hc11.md ("andqi3"): Accept d as second operand. | |
2942 | ("iorqi3"): Likewise. | |
2943 | ("xorqi3"): Likewise. | |
2944 | ("*addhi3"): Fix constraint to avoid reloading in a soft register. | |
2945 | ("*subhi3_sp): Likewise. | |
2946 | ("*subhi3"): Likewise. | |
1490f392 | 2947 | ("extendhisi2"): Accept D, X and Y as source operand to avoid |
0477256c SC |
2948 | reload problems. |
2949 | ||
c4372ef4 NS |
2950 | 2001-07-21 Nathan Sidwell <nathan@codesourcery.com> |
2951 | ||
2952 | * doc/tm.texi: Remove DEFAULT_VTABLE_THUNKS. | |
2953 | * config/freebsd.h: Likewise. | |
2954 | * config/linux.h: Likewise. | |
2955 | * config/openbsd.h: Likewise. | |
2956 | * config/alpha/linux-elf.h: Likewise. | |
2957 | * config/arm/linux-elf.h: Likewise. | |
2958 | * config/d30v/d30v.h: Likewise. | |
2959 | * config/fr30/fr30.h: Likewise. | |
2960 | * config/ia64/aix.h: Likewise. | |
2961 | * config/ia64/ia64.h: Likewise. | |
2962 | * config/mips/linux.h: Likewise. | |
2963 | * config/pj/pj.h: Likewise. | |
2964 | * config/rs6000/linux.h: Likewise. | |
2965 | * config/sparc/linux.h: Likewise. | |
2966 | * config/sparc/linux64.h: Likewise. | |
2967 | ||
90376ae2 BK |
2968 | 2001-07-20 Bruce Korb <bkorb@gnu.org> |
2969 | ||
2970 | * fixinc/fixincl.c(test_for_changes): force unsigned char comparisons | |
2971 | because getc() and char* may disagree on signedness. | |
2972 | ||
50b996bf RH |
2973 | 2001-07-20 Richard Henderson <rth@redhat.com> |
2974 | ||
2975 | * doc/rtl.texi (REG_DEAD): Update for current semantics. | |
2976 | ||
e9644cfe RH |
2977 | * flow.c (try_redirect_by_replacing_jump): Correctly compute which |
2978 | insns to delete in the presence of cc0 in a jump insn. | |
2979 | ||
ed6ba1a5 RZ |
2980 | Fri Jul 20 22:14:49 CEST 2001 Roman Zippel <zippel@linux-m68k.org> |
2981 | Jan Hubicka <jh@suse.cz> | |
2982 | ||
2983 | * m68k.md (zero_extend?i?i2 expander): Use gen_lowpart instead | |
2984 | of doing the change by hand. | |
2985 | ||
371b8fc0 JH |
2986 | Fri Jul 20 21:59:42 CEST 2001 Jan Hubicka <jh@suse.cz> |
2987 | ||
2988 | * rtlanal.c (set_noop_p): Return true for noop jumps. | |
2989 | ||
2990 | * expr.c (emit_single_push_insn): Add call to push expander. | |
2991 | * expr.h (optab_index): Add OTI_push | |
2992 | (push_optab): New constant. | |
2993 | * genopinit.c (optabs): Add push_optab. | |
2994 | * optabs.c (init_optab): Init push optab. | |
2995 | * md.texi (push??1): Document | |
2996 | ||
00d0458c SC |
2997 | 2001-07-20 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
2998 | ||
2999 | * config/m68hc11/m68hc11.md ("movdi", "movdi_internal"): Use an | |
1490f392 | 3000 | expand to emit the pattern; put a REG_INC note for push/pop |
00d0458c SC |
3001 | instructions. |
3002 | ("movdf", "movdf_internal"): Likewise. | |
3003 | ("movsi", "movsi_internal"): Likewise. | |
3004 | ("movsf", "movsf_internal"): Likewise. | |
3005 | ("movhi", "movqi"): Emit a REG_INC note for push/pop instructions. | |
3006 | ||
d74e9142 SC |
3007 | 2001-07-20 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
3008 | ||
3009 | * config/m68hc11/m68hc11.c (m68hc11_gen_highpart): Don't use | |
3010 | gen_highpart. | |
3011 | ||
1c432a87 DB |
3012 | 2001-07-20 Daniel Berlin <dan@cgsoftware.com> |
3013 | ||
3014 | * params.def: Change default max inline insns to 100. | |
3015 | ||
9def18da DN |
3016 | 2001-07-20 Diego Novillo <dnovillo@redhat.com> |
3017 | ||
3018 | * combine.c (combine_simplify_rtx): Generate a new shift operation | |
3019 | when simplifying the first operand of a (neg (ashift)) expression. | |
3020 | ||
d4845339 RH |
3021 | 2001-07-20 Roman Lechtchinsky <rl@cs.tu-berlin.de> |
3022 | ||
3023 | * regclass.c (N_REG_INTS): Use only 32 bits per element. | |
3024 | ||
3025 | 2001-07-20 Kelley Cook <kelley.cook@home.com> | |
dbd210ef KC |
3026 | |
3027 | * doc/install.texi (sparc-sun-solaris*): Add in 4.x assembler bug | |
3028 | information. Move rest into ... | |
3029 | (*-*-solaris): ... here. Eliminate redundant information and | |
3030 | reword necessary packages section. Delete 4.x assembler bug info. | |
3031 | (sparc-sun-*): Merge into ... | |
3032 | (sparc-sun-sunos*): here. | |
3033 | ||
3a97685a CM |
3034 | 2001-07-20 Catherine Moore <clm@redhat.com> |
3035 | ||
97660e20 RH |
3036 | * config/v850/v850.md (casesi): Generate LABEL_REF |
3037 | with Pmode. | |
3a97685a | 3038 | |
d24b3457 JH |
3039 | Fri Jul 20 14:12:57 CEST 2001 Jan Hubicka <jh@suse.cz> |
3040 | ||
3041 | * i386-protos.h (ix86_zero_extend_to_Pmode): Declare. | |
3042 | * i386.c (ix86_zero_extend_to_Pmode): Make global. | |
3043 | * i386.md (strclrsi expander): Use it. | |
3044 | ||
bc8d3f91 JH |
3045 | Fri Jul 20 13:24:16 CEST 2001 Jan Hubicka <jh@suse.cz> |
3046 | ||
3047 | * integrate.c (copy_insn_list): handle | |
3048 | NOTE_INSN_DELETED_LABEL, as if it were CODE_LABEL. | |
3049 | (copy_rtx_and_substitute): Likewise; behave to NOTE_INSN_DELETED_LABEL | |
3050 | identically as to CODE_LABEL. | |
3051 | ||
3052 | * fold-const (fold): Convert A/B/C to A/(B*C) and | |
3053 | A/(B/C) to (A/B)*C | |
3054 | ||
3055 | * except.c (connect_post_landing_pads): Delete the RESX insns. | |
3056 | ||
1f28c666 AH |
3057 | 2001-07-20 Aldy Hernandez <aldyh@redhat.com> |
3058 | ||
97660e20 | 3059 | * config/mips/mips.h (ISA_HAS_NMADD_NMSUB): New macro. |
1f28c666 AH |
3060 | |
3061 | * config/mips/mips.md (nmadd/nmsub): Use macro. | |
3062 | ||
002ee64f NS |
3063 | 2001-07-20 Nathan Sidwell <nathan@codesourcery.com> |
3064 | ||
3065 | * cppinit.c (remove_dup_dir): Make static. | |
3066 | (remove_dup_dirs): Make static. Only warn about preempting a | |
3067 | system directory with a non-system directory. | |
3068 | ||
038fb2bc GK |
3069 | 2001-07-19 Geoffrey Keating <geoffk@redhat.com> |
3070 | ||
3071 | * ifcvt.c (noce_try_store_flag_constants): Correct order | |
3072 | of parameters to trunc_int_for_mode. | |
3073 | ||
be672de8 MM |
3074 | 2001-07-19 Mark Mitchell <mark@codesourcery.com> |
3075 | ||
3076 | * reorg.c (fill_simple_delay_slots): If an instruction might throw | |
3077 | an exception that will be caught within this function, do not fill | |
3078 | its delay slot with any subsequent instruction. | |
3079 | ||
6dd12198 SE |
3080 | 2001-07-19 Steve Ellcey <sje@cup.hp.com> |
3081 | ||
3082 | * tm.texi (POINTERS_EXTEND_UNSIGNED) Modify definition. | |
3083 | * optabs.c (can_extend_p) Check HAVE_ptr_extend for a specialized | |
3084 | pointer extension instruction. | |
3085 | * combine.c (nonzero_bits,num_sign_bit_copies) Likewise. | |
3086 | * simplify-rtx.c (simplify_unary_operation) Likewise. | |
1490f392 | 3087 | * explow.c (convert_memory_address) Check value of |
6dd12198 SE |
3088 | POINTERS_EXTEND_UNSIGNED to avoid some conversions when |
3089 | less than zero. | |
3090 | * config/ia64/t-hpux (LIBGCC, INSTALL_LIBGCC, MULTILIB_OPTIONS, | |
3091 | MULTILIB_DIRNAMES, MULTILIB_MATCHES) Add multilib support. | |
3092 | * config/ia64/hpux.h (CPP_SPEC, ASM_SPEC, SUBTARGET_SWITCHES) | |
3093 | Add Multilib Support. | |
3094 | (POINTERS_EXTEND_UNSIGNED) Define for ILP32 support. | |
3095 | * config/ia64/ia64.h (MASK_ILP32, TARGET_ILP32, SUBTARGET_SWITCHES) | |
3096 | Add Multilib Support. | |
3097 | (POINTER_SIZE, LONG_TYPE_SIZE, MAX_LONG_TYPE_SIZE) Modify for ILP32 | |
3098 | support. | |
3099 | * config/ia64/ia64.c (rtx_needs_barrier) Add support for addp4. | |
3100 | * config/ia64/ia64.md (ptr_extend) New instruction to "swizzle" | |
3101 | a 32 bit HP-UX pointer into a 64 bit HP-UX pointer. | |
3102 | ||
0248ce05 AO |
3103 | 2001-07-19 Alexandre Oliva <aoliva@redhat.com> |
3104 | ||
3105 | * simplify-rtx.c (simplify_replace_rtx): Try to obtain mode from | |
3106 | old and new operands in `<', `3' and `b'. | |
3107 | ||
e1772ac0 NB |
3108 | 2001-07-19 Neil Booth <neil@daikokuya.demon.co.uk> |
3109 | ||
3110 | * Makefile.in (emit-rtl.o, c-decl.o): Depend on debug.h. | |
3111 | (final.o): Don't depend on xcoffout.h, dbxout.h or sdbout.h. | |
3112 | (toplev.o): Don't depend on xcoffout.h. | |
3113 | * c-decl.c: Include debug.h | |
3114 | (duplicate_decls): Use debug hook. | |
3115 | * dbxout.c (dbxout_source_file, dbxout_args): Make static. | |
3116 | (dbx_debug_hooks, xcoff_debug_hooks): Update. | |
3117 | (dbxout_types): Remove. | |
3118 | * dbxout.h (dbxout_source_file, dbxout_types, dbxout_args): Remove. | |
3119 | * debug.c (do_nothing_debug_hooks): Update. | |
3120 | (debug_true_tree, debug_nothing_rtx): New. | |
3121 | * debug.h (struct rtx_def): New. | |
3122 | (struct gcc_debug_hooks): New hooks ignore_block, | |
3123 | outlining_inline_function and label. | |
3124 | (debug_true_tree, debug_nothing_rtx, dwarf2out_frame_init, | |
3125 | dwarf2out_frame_finish): New. | |
3126 | * dwarf2out.c (dwarf2out_ignore_block, dwarf2out_abstract_function): | |
3127 | Make static, update prototype. | |
3128 | (dwarf2_debug_hooks): Update. | |
3129 | * dwarf2out.h (dwarf2out_ignore_block, dwarf2out_abstract_function, | |
3130 | dwarf2out_frame_init, dwarf2out_frame_finish): Remove. | |
3131 | * dwarfout.c (dwarf_debug_hooks): Update. | |
3132 | * emit-rtl.c: Include debug.h. | |
3133 | (remove_unnecessary_notes): Use debug hook. | |
3134 | * final.c: Don't include dbxout.h, xcoffout.h or sdbout.h. | |
3135 | (final_scan_insn): Use debug hook. | |
3136 | * integrate.c (output_inline_function): Use debug hook. | |
3137 | * sdbout.c (sdbout_toplevel_data, sdbout_label): Make static. | |
3138 | (sdb_debug_hooks): Update. | |
3139 | * sdbout.h (sdbout_label, sdbout_toplevel_data): Remove. | |
3140 | * toplev.c: Don't include xcoffout.h. | |
3141 | (note_outlining_of_inline_function, debug_ignore_block): Remove. | |
3142 | * toplev.h (note_outlining_of_inline_function, debug_ignore_block): | |
3143 | Remove. | |
3144 | * tree.h (dwarf2out_do_frame): Remove. | |
3145 | ||
77f43519 CM |
3146 | 2001-07-19 Catherine Moore <clm@cygnus.com> |
3147 | ||
1490f392 | 3148 | * config/v850/v850.h (ASM_OUTPUT_LABELREF): Restore. |
77f43519 | 3149 | |
d54ef62c GK |
3150 | 2001-07-19 Geoffrey Keating <geoffk@redhat.com> |
3151 | ||
c77fbfbe GK |
3152 | * reload1.c (eliminate_regs_in_insn): When updating a set |
3153 | to the frame pointer to the hardware frame pointer, perform | |
3154 | the update always not just when REPLACE is set. | |
3155 | ||
eb4d554e GK |
3156 | * reload1.c (choose_reload_regs): Don't inherit a reload |
3157 | that crosses multiple registers if registers past the first | |
3158 | don't fit in the desired class. | |
3159 | ||
d54ef62c GK |
3160 | * ifcvt.c (noce_try_store_flag_constants): Use trunc_int_for_mode |
3161 | when negating constants. | |
3162 | ||
7d46d516 TM |
3163 | 2001-07-19 Toon Moene <toon@moene.indiv.nluug.nl> |
3164 | ||
3165 | * tree.def: Document restriction on {L|R}SHIFT_EXPR's second argument. | |
3166 | * doc/tree.texi: Ditto. | |
3167 | ||
5442cf15 MK |
3168 | 2001-07-19 Mark Kettenis <kettenis@wins.uva.nl> |
3169 | Jakub Jelinek <jakub@redhat.com> | |
3170 | ||
3171 | * unwind-dw2.c (_Unwind_FrameState): Add eh_ptr. | |
3172 | (extract_cie_info): Handle "eh" augmentation properly, | |
3173 | remember eh_ptr. | |
3174 | (struct frame_state, __frame_state_for): New. | |
3175 | ||
432fa9f2 RO |
3176 | 2001-07-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
3177 | ||
3178 | * config/alpha/osf.h (ASM_OUTPUT_WEAK_ALIAS, ASM_WEAKEN_LABEL, | |
3179 | HANDLE_SYSV_PRAGMA): Define. | |
3180 | * mips-tfile.c (add_ext_symbol): Pass complete symbol ptr, inline | |
3181 | previous args. | |
3182 | (copy_object): Caller changed. | |
3183 | ||
bfabbc3c AS |
3184 | 2001-07-19 Andreas Schwab <schwab@suse.de> |
3185 | ||
3186 | * configure.in (assembler dwarf2 debug_line support): Define nop | |
3187 | insn for m68k. | |
3188 | * configure: Regenerated. | |
3189 | ||
2b85879e NB |
3190 | 2001-07-19 Neil Booth <neil@daikokuya.demon.co.uk> |
3191 | ||
3192 | * Makefile.in (toplev.o, dwarfout.o, final.o): Don't depend on | |
3193 | dwarfout.h. | |
3194 | * dbxout.c (dbxout_function): Rename dbxout_funciton_decl, move | |
3195 | to conditionally compiled block. | |
3196 | (dbx_debug_hooks, xcoff_debug_hooks): Update. | |
3197 | * dbxout.h (dbxout_function): Remove. | |
3198 | * debug.c (do_nothing_debug_hooks): Update. | |
3199 | * debug.h (struct gcc_debug_hooks): New hooks function_decl, | |
3200 | global_decl, deferred_inline_function. | |
3201 | * dwarf2out.c (dwarf2_debug_hooks): Update. | |
3202 | (dwarf2out_global_decl): New. | |
3203 | * dwarfout.c: Don't include dwarfout.h. | |
3204 | (dwarfout_global_decl, dwarfout_function_decl, | |
3205 | dwarfout_deferred_inline_function): New. | |
3206 | (dwarf_debug_hooks): Update. | |
3207 | * dwarfout.h: Remove. | |
3208 | * final.c: Don't include dwarfout.h. | |
3209 | * sdbout.c (sdbout_global_decl): New. | |
3210 | (sdbout_debug_hooks): Update. | |
3211 | * toplev.c: Don't include dwarfout.h. | |
3212 | (check_global_declarations, rest_of_compilation): Use new debug hooks. | |
3213 | (note_deferral_of_defined_inline_function): Remove. | |
3214 | * toplev.h (note_deferral_of_defined_inline_function): Remove. | |
3215 | * ch/Makefile.in (lex.o): No dependence on dwarfout.h. | |
3216 | * ch/lex.c: Don't include dwarfout.h. | |
3217 | * cp/Make-lang.in (decl2.o): No dependence on dwarfout.h, dwarf2out.h. | |
3218 | (semantics.o, optimize.o): Depend on debug.h not dwarfout.h. | |
3219 | * cp/decl2.c: Don't include dwarfout.h and dwarf2out.h. | |
3220 | * cp/optimize.c: Include debug.h. | |
3221 | (maybe_clone_body): Use debug hook. | |
3222 | * cp/semantics.c: Include debug.h. | |
3223 | (expand_body): Use debug hook. | |
3224 | * po/POTFILES.in: Remove dwarfout.h. | |
3225 | ||
c60e94a7 NB |
3226 | 2001-07-19 Neil Booth <neil@daikokuya.demon.co.uk> |
3227 | ||
3228 | * c-lex.c (c_lex): Remove CPP_INT, CPP_FLOAT cases. | |
3229 | * c-parse.in (yyerror, _yylex): Similarly. | |
3230 | * cppexp.c (parse_number, parse_defined, lex, _cpp_parse_expr): | |
3231 | Don't use CPP_INT, CPP_FLOAT; CPP_NUMBER is enough. | |
3232 | Update comments. | |
3233 | * cpplib.h (CPP_INT, CPP_FLOAT): Remove. | |
3234 | * cp/spew.c (read_token, yyerror): Remove CPP_INT, CPP_FLOAT cases. | |
3235 | ||
8458e954 JS |
3236 | 2001-07-18 Jeff Sturm <jsturm@one-point.com> |
3237 | ||
3238 | * dwarf2out.c (dwarf2out_abstract_function): Don't emit | |
3239 | in-class declaration at -g1. Fixes c++/2814. | |
3240 | ||
d989f648 RH |
3241 | 2001-07-18 Richard Henderson <rth@redhat.com> |
3242 | ||
3243 | * doc/md.texi (reload_in/out): Document restrictions in predicates | |
3244 | and constraints for these patterns. Document empty string matching | |
3245 | ALL_REGS. | |
3246 | ||
20c93f7c RO |
3247 | 2001-07-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
3248 | ||
3249 | * defaults.h (ASM_OUTPUT_WEAK_ALIAS): Check for ASM_WEAKEN_LABEL. | |
3250 | ||
dc42616f JH |
3251 | Wed Jul 18 20:47:36 CEST 2001 Jan Hubicka <jh@suse.cz> |
3252 | ||
3253 | * cse.c: Undo my previous patch. | |
3254 | ||
f91abfce TT |
3255 | 2001-07-18 Tom Tromey <tromey@redhat.com> |
3256 | ||
3257 | For PR java/2812: | |
3258 | * configure: Rebuilt. | |
3259 | * configure.in: Don't check for iconv.h or iconv(); use AM_ICONV | |
3260 | instead. | |
3261 | * aclocal.m4 (AM_ICONV): New macro from Bruno Haible. | |
3262 | ||
0728902f RH |
3263 | Wed Jul 18 18:46:30 CEST 2001 Richard Henderson <rth@cygnus.com> |
3264 | Jan Hubicka <jh@suse.cz> | |
3265 | ||
3266 | * flow.c (redirect_edge_and_branch): Bail out on complex edges. | |
3267 | (try_optimize_cfg): Do not remove tail recursive labels before sibcall. | |
3268 | * jump.c (mark_jump_label): Do not forward branches. | |
3269 | ||
f06fbeea JH |
3270 | Wed Jul 18 18:35:01 CEST 2001 Jan Hubicka <jh@suse.cz> |
3271 | ||
3272 | * cse.c (delete_trivially_dead_insns): Delete the libcall block | |
3273 | when return value is unused. | |
3274 | ||
222f7ba9 JH |
3275 | Wed Jul 18 18:28:16 CEST 2001 Jan Hubicka <jh@suse.cz> |
3276 | ||
3277 | * gcse.c (pre_insert_copy_insn): Call update_ld_motion_stores. | |
3278 | ||
8b52df45 NP |
3279 | Wed Jul 18 12:05:29 2001 Nicola Pero <n.pero@mi.flashnet.it> |
3280 | ||
3281 | * gthr-posix.h (__gthread_objc_mutex_trylock): Fixed return value | |
3282 | on error. We can't blindly return the result of | |
3283 | pthread_mutex_trylock because it returns a positive number on | |
3284 | error, while we must return -1 on error. | |
3285 | (__gthread_objc_mutex_lock, __gthread_objc_mutex_unlock): Similar | |
1490f392 | 3286 | fixes. |
8b52df45 NP |
3287 | Reported by Stephen Brandon <stephen@brandonitconsulting.co.uk>. |
3288 | ||
895b2cfe AJ |
3289 | 2001-07-18 Andreas Jaeger <aj@suse.de> |
3290 | ||
3291 | * integrate.c (output_inline_function): Correct type of debug_hooks. | |
3292 | ||
493efd37 TM |
3293 | 2001-07-18 Toon Moene <toon@moene.indiv.nluug.nl> |
3294 | ||
3295 | * combine.c (combine_simplify_rtx): DIV can be treated | |
3296 | associatively for floats if unsafe math optimisations are enabled. | |
3297 | ||
a7c07f1e RH |
3298 | 2001-07-17 Richard Henderson <rth@redhat.com> |
3299 | ||
3300 | * reload.c (push_secondary_reload): Accept empty-string for ALL_REGS. | |
3301 | ||
3affaf29 RH |
3302 | 2001-07-17 Richard Henderson <rth@redhat.com> |
3303 | ||
3304 | * calls.c (prepare_call_address): New parameter SIBCALLP. If true, | |
3305 | don't force the function address into a register. | |
3306 | (expand_call, emit_library_call_value_1): Update callers. | |
3307 | * builtins.c (expand_builtin_apply): Likewise. | |
3308 | * expr.h (prepare_call_address): Update decl. | |
3309 | ||
001da62a CC |
3310 | 2001-07-17 Chandrakala Chavva <cchavva@redhat.com> |
3311 | ||
3affaf29 RH |
3312 | * config.gcc: For *-*-chorusos triplet, get chorus.h file from |
3313 | config directory. | |
3314 | * config/i386/chorus.h: Move up. | |
3315 | * config/sparc/chorus.h: Likewise. | |
3316 | * config/rs6000/chorus.h: Likewise. | |
3317 | * config/chorus.h: Moved here. | |
001da62a | 3318 | |
01efb963 | 3319 | 2001-07-17 Andreas Schwab <schwab@suse.de> |
895b2cfe | 3320 | |
2bd2bdd9 CC |
3321 | * configure.in (assembler eh_frame optimization): Handle big |
3322 | endian. | |
3323 | * configure: Regenerated. | |
01efb963 | 3324 | |
b7e9703c JH |
3325 | Tue Jul 17 23:43:31 CEST 2001 Jan Hubicka <jh@suse.cz> |
3326 | ||
3327 | * expr.c (epxand_expr): Convert divisions into multiplications by | |
3328 | reciprocals if -ffast-math. | |
3329 | ||
653e276c NB |
3330 | 2001-07-17 Neil Booth <neil@daikokuya.demon.co.uk> |
3331 | ||
3332 | * dbxout.c (dbxout_really_begin_function): Rename to | |
3333 | dbxout_begin_function. | |
3334 | (dbx_debug_hooks, xcoff_debug_hooks): Update. | |
3335 | (dbxout_begin_function): Remove. | |
3336 | (dbxout_function): Update. | |
3337 | (dbxout_source_line): Update prototype. | |
3338 | * dbxout.h (dbxout_begin_function): Remove. | |
3339 | * debug.c (do_nothing_debug_hooks): Update. | |
3340 | (debug_nothing_tree): Update. | |
3341 | (debug_nothing_charstar_rtx): Remove. | |
3342 | * debug.h (union tree_node): Declare. | |
3343 | (struct rtx_def): Remove. | |
3344 | (gcc_debug_hooks): New hooks begin_prologue, end_prologue, | |
3345 | begin_function. Change source_line prototype. | |
3346 | (debug_nothing_tree): New. | |
3347 | (debug_nothing_charstar_rtx): Delete. | |
3348 | (dwarf2out_begin_prologue): Moved from ... | |
3349 | * tree.h: ... here. | |
3350 | * dwarf2out.c (dwarf2_debug_hooks): Update. | |
3351 | (dwarf2out_begin_prologue): Update prototype. If genuine dwarf2 | |
3352 | debug info, call dwarf2out_source_line. | |
3353 | (dwarf2out_souce_line): Update prototype. | |
3354 | * dwarfout.c (dwarfout_begin_function): Rename dwarfout_end_prologue. | |
3355 | Change prototype, make static. | |
3356 | (dwarfout_source_line): Update prototype. | |
3357 | (dwarf_debug_hooks): Update. | |
3358 | * dwarfout.h (dwarfout_begin_function): Remove. | |
3359 | * final.c (final_start_function, final_scan_insn): Use appropriate | |
3360 | debug hooks, update to use notice_source_line. | |
3361 | (output_source_line): Rename notice_source_line. Don't call the | |
3362 | source_line debug hook. | |
3363 | * sdbout.c (sdbout_begin_function): Rename sdbout_begin_prologue, | |
3364 | make static, update prototype. | |
3365 | (sdbout_mark_begin_function): Rename sdbout_begin_function, update | |
3366 | prototype. | |
3367 | (sdbout_end_prologue): New. | |
3368 | (sdbout_source_line): Update prototype. | |
3369 | (sdbout_debug_hooks): Update. | |
3370 | (sdbout_symbol): Remove unused var. | |
3371 | * sdbout.h (sdbout_begin_function, sdbout_mark_begin_function): | |
3372 | Delete. | |
3373 | * varasm.c: Include debug.h. | |
3374 | (assemble_start_function): Use begin_function debug_hook. | |
3375 | * xcoffout.c (xcoffout_begin_prologue): Rename xcoffout_begin_function, | |
3376 | update with prototype. | |
3377 | (xcoffout_source_line): Update prototype. | |
3378 | * xcoffout.h (xcoffout_begin_prologue): Rename xcoffout_begin_function, | |
3379 | update prototype. | |
3380 | (xcoffout_source_line): Update prototype. | |
3381 | ||
91a18fe0 RH |
3382 | 2001-07-17 Richard Henderson <rth@redhat.com> |
3383 | ||
3384 | * c-typeck.c (build_binary_op): Do not shorten unsigned | |
3385 | right shift after sign extension. | |
3386 | ||
4ba5f925 JH |
3387 | Tue Jul 17 16:56:05 CEST 2001 Jan Hubicka <jh@suse.cz> |
3388 | ||
3389 | * combine.c (combine_simplify_rtx): Attempt to simplify | |
3390 | a*(b/c) as (a*b)/c for floats in unsafe_math mode. | |
3391 | ||
3392 | * simplify-rtx.c (avoid_constatn_pool_reference): New static function. | |
3393 | (simplify_binary_operation, simplify_unary_operation, | |
3394 | simplify_relational_operation): Use it. | |
3395 | ||
3396 | * combine.c (combine_simplify_rtx): Don't do associative law | |
3397 | on divisions; allow associative law on floats. | |
3398 | ||
3aa8ab7b L |
3399 | 2001-07-17 H.J. Lu <hjl@gnu.org> |
3400 | Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> | |
3401 | ||
3402 | * c-pragma.h (HANDLE_PRAGMA_WEAK): Define iff ASM_WEAKEN_LABEL and | |
3403 | ASM_OUTPUT_WEAK_ALIAS are defined. | |
3404 | * defaults.h (ASM_OUTPUT_WEAK_ALIAS): Define if possible. | |
3405 | * config/mips/iris6.h (ASM_OUTPUT_WEAK_ALIAS, ASM_WEAKEN_LABEL): | |
3406 | Moved ... | |
3407 | * config/mips/iris5.h: ... here. | |
3408 | (HANDLE_SYSV_PRAGMA): Defined as 1. | |
3409 | * varasm.c (weak_finish): Use ASM_OUTPUT_WEAK_ALIAS. | |
3410 | * doc/tm.texi (ASM_OUTPUT_WEAK_ALIAS): Support the undefined weak | |
3411 | symbol. | |
3412 | ||
4b01f8d8 JM |
3413 | 2001-07-17 Joseph S. Myers <jsm28@cam.ac.uk> |
3414 | ||
3415 | * c-parse.in (all_prefix_attributes): New variable. | |
3416 | (PUSH_DECLSPEC_STACK, POP_DECLSPEC_STACK): New macros. | |
3417 | (maybe_resetattrs): New production. | |
3418 | (c_parse_init, datadef, fndef, datadecl, setspecs, setattrs, decl, | |
3419 | maybe_type_quals_setattrs, initdecls, notype_initdecls, initdcl, | |
3420 | notype_initdcl, nested_function, notype_nested_function, | |
3421 | component_decl, components, components_notype, | |
3422 | component_declarator, component_notype_declarator, | |
3423 | absdcl_maybe_attribute, parm, firstparm, setspecs_fp, ivar_decl, | |
3424 | ivars, mydecl, myparm): Update. Avoid prefix attributes just | |
3425 | after a comma being applied to more than one declarator. | |
3426 | * doc/extend.texi (Attribute Syntax): Update. Remove | |
3427 | documentation of bugs that are no longer present. | |
3428 | ||
7a38df19 EC |
3429 | 2001-07-13 Eric Christopher <echristo@redhat.com> |
3430 | ||
3431 | * config/mips/mips.h: Change TUNE_MIPS* options to use | |
3432 | mips_tune. | |
3433 | (EXTRA_SPECS): Add cc1_cpu_spec. | |
3434 | * config/mips/mips.md (muldf3): Fix typo. | |
3435 | ||
6d5f49b2 RH |
3436 | 2001-07-16 Richard Henderson <rth@redhat.com> |
3437 | ||
3438 | * config/m68k/m68k.c: Include expr.h and reload.h. | |
3439 | (print_operand_address) [16 bit int]: Cast INTVAL to int for %d. | |
3440 | [general int]: Use HOST_WIDE_INT_PRINT_DEC. | |
3441 | ||
0021de69 DB |
3442 | 2001-07-16 Daniel Berlin <dan@cgsoftware.com> |
3443 | Richard Henderson <rth@redhat.com> | |
3444 | ||
3445 | * cse.c (set_live_p): Take INSN argument for cc0; update callers. | |
3446 | (insn_live_p): Fix fall off end of function. | |
3447 | (dead_libcall_p): Remove COUNTS argument; update callers. | |
3448 | (delete_trivially_dead_insns): Remove unused variables. | |
3449 | ||
b3bb6456 AJ |
3450 | 2001-07-17 Andreas Jaeger <aj@suse.de> |
3451 | ||
3452 | * config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Fix output format for | |
3453 | x86-64 pic support. | |
3454 | ||
3455 | * lcm.c (optimize_mode_switching): Avoid warning for unused | |
51589632 | 3456 | variable if !NORMAL_MODE. |
b3bb6456 AJ |
3457 | |
3458 | * flow.c (try_crossjump_to_edge): Remove unused variable. | |
3459 | ||
55105156 BK |
3460 | 2001-07-16 John David Anglin <dave@hiauly1.hia.nrc.ca> |
3461 | ||
3462 | * inclhack.def (ultrix_atexit_param): New hack to fix ultrix 4.3 | |
3463 | atexit declaration in stdlib.h. | |
3464 | ||
3465 | 2001-07-16 Richard Begg <Richard.Begg@colesmyer.com.au> | |
3466 | ||
3467 | * fixinc/inclhack.def(hpux_vsnprintf): brokenness in stdio.h | |
3468 | ||
4793dca1 JH |
3469 | Mon Jul 16 22:48:00 CEST 2001 Jan Hubicka <jh@suse.cz> |
3470 | ||
3471 | * basic-block.h (CLEANUP_PRE_SIBCALL): New constant. | |
3472 | * except.c (finish_eh_generation): Update call of cleanup_cfg; | |
3473 | do rebuild_jump_labels instead of jump_optimize | |
3474 | * sibcall.c (optimize_sibling_and_tail_recursive_call): Likewise. | |
3475 | * toplev.c (rest_of_compulation): Likewise for -Wreturn_type. | |
3476 | * flow.c (try_optimize_cfg): Remove unneeded code_labels. | |
3477 | ||
3478 | * flow.c: Include timevar.h | |
3479 | (find_basic_block): Push/pop timevar; | |
3480 | (cleanup_cfg): Likewise. | |
3481 | * timevar.def (TV_CFG, TV_CLEANUP_CFG): New. | |
3482 | * Makefile: Add dependencies on timevar.h | |
3483 | ||
3484 | * integrate.c (save_for_inline): Kill all BASIC_BLOCK notes. | |
3485 | (copy_insn_list): Avoid killing of BASIC_BLOCK notes. | |
3486 | ||
3487 | * rtl.h (delete_trivially_dead_insns): Add new parameter. | |
3488 | * toplev.c (rest_of_compilation): Update calls. | |
3489 | * cse.c (set_live_p, insn_live_p, dead_libcall_p): Break out from ... | |
3490 | (delete_trivially_dead_insns): ... here; accept new argument | |
3491 | preserve_basic_blocks; preserve basic blocks if set. | |
3492 | ||
3493 | * reg-stack.c (stack_regs_mentioned): Return 0 if | |
3494 | stack_regs_mentioned_data is not initialized. | |
3495 | (reg_to_stack): Make stack_regs_mentioned survive after the | |
3496 | reg-stack is completted; do not call cleanup_cfg. | |
3497 | * toplev.c (rest_of_compilation): Do cleanup_cfg before bb-reorder; | |
3498 | make cleanup_cfg after bb-reorder to output to debug file. | |
3499 | ||
b85946fc RH |
3500 | 2001-07-16 Richard Henderson <rth@redhat.com> |
3501 | ||
3502 | * regclass.c (init_reg_sets): Use only 32 bits per initializer | |
3503 | from int_reg_class_contents. | |
3504 | ||
4e2db584 RH |
3505 | 2001-07-16 Richard Henderson <rth@redhat.com> |
3506 | ||
3507 | * hard-reg-set.h (regs_invalidated_by_call): Declare. | |
3508 | * regclass.c (regs_invalidated_by_call): Move from cse.c. | |
3509 | (init_reg_sets_1): Move initialization from cse_main. | |
3510 | * cse.c (regs_invalidated_by_call): Move to regclass.c. | |
3511 | (cse_main): Move its initialization also. | |
3512 | * df.c (df_insn_refs_record): Use regs_invalidated_by_call. | |
3513 | * flow.c (propagate_one_insn): Likewise. | |
3514 | * gcse.c (compute_hash_table): Likewise. | |
3515 | (compute_kill_rd, compute_store_table): Likewise. | |
3516 | * sched-deps.c (sched_analyze_1): Likewise. | |
3517 | ||
cccf0ae8 R |
3518 | Mon Jul 16 18:07:07 2001 J"orn Rennecke <amylaar@redhat.com> |
3519 | ||
3520 | * gcse.c (pre_insert_copy_insn): Use gen_move_insn instead of | |
3521 | gen_rtx_SET. | |
3522 | ||
94fc7dea SE |
3523 | 2001-07-16 Steve Ellcey <sje@cup.hp.com> |
3524 | ||
3525 | * dominance.c (calc_dfs_tree_nonrec): Reverse order of tests | |
3526 | in if statement so we don't access undefined memory. | |
3527 | ||
978cf2fc DB |
3528 | 2001-07-16 Daniel Berlin <dan@cgsoftware.com> |
3529 | ||
b3bb6456 | 3530 | * gcse.c: Update comment at top. |
ccef9ef5 DB |
3531 | Update comment on mem handling. |
3532 | mem_last_set, mem_first_set, mem_set_in_block: gone. | |
3533 | Declaration of reg_set_info: gone. | |
3534 | (oprs_unchanged_p): Don't use mem_*set_* anymore. They are | |
3535 | pointless with load_killed_in_block_p (they are *more* | |
3536 | conservative then it, not less, and less accurate). | |
b3bb6456 | 3537 | (oprs_not_set_p): Ditto. |
ccef9ef5 DB |
3538 | (alloc_gcse_mem): Don't allocate mem_set_in_block |
3539 | (free_gcse_mem): Don't free it, either. | |
3540 | (record_last_mem_set_info): Update comment in front, remove | |
3541 | mem_*set_* stuff. Note the reason we don't handle stores directly | |
3542 | here. | |
3543 | (compute_hash_table): Update comments to reflect reality. Remove | |
3544 | mem_*set_* references. | |
3545 | (reset_opr_set_tables): Remove mem_*set_* references. | |
3546 | (mark_call): Ditto. | |
b3bb6456 | 3547 | (mark_set): Ditto. Also remove double sets of bitmaps for REG's. |
ccef9ef5 DB |
3548 | (mark_clobber): Ditto (on both parts, we double set here too). |
3549 | (expr_killed_p): Remove mem_set_in_block test. | |
3550 | (compute_transp): Remove mem_set_in_block test. | |
3551 | ||
978cf2fc | 3552 | * ssa-ccp.c: (optimize_unexecutable_edges): Add note about removal |
b3bb6456 | 3553 | of edge, and removal of phi alternative to dump file. |
978cf2fc DB |
3554 | (ssa_ccp_substitute_constants): Add note about register now being |
3555 | constant, and which uses were replaced in what insns to dump file. | |
3556 | ||
23190837 AJ |
3557 | 2001-07-16 Andreas Jaeger <aj@suse.de> |
3558 | ||
3559 | * gcov.c (output_data): Use HOST_WIDEST_INT_PRINT_DEC to output | |
3560 | variables of type HOST_WIDEST_INT. | |
3561 | ||
3562 | * libgcc2.c (__bb_exit_func): Handle gcov_type as long long. | |
3563 | (__bb_exit_func): Correct type of count_max to avoid overflow. | |
3564 | (num_digits): Handle long long argument. | |
3565 | ||
3566 | * combine.c (gen_lowpart_for_combine): Remove unused variable. | |
3567 | ||
f4dc8d96 NB |
3568 | 2001-07-16 Neil Booth <neil@cat.daikokuya.demon.co.uk> |
3569 | ||
3570 | * output.h (sdb_begin_function_line): Restore as an extern | |
3571 | variable. | |
3572 | * sdbout.c (sdb_begin_function_line): Make extern. | |
3573 | ||
9e9f3ede RH |
3574 | 2001-07-15 Richard Henderson <rth@redhat.com> |
3575 | ||
3576 | * machmode.def (Pmode): Redefine if GENERATOR_FILE. | |
3577 | * genrecog.c (maybe_both_true_mode): New. | |
3578 | (maybe_both_true_2): Use it. | |
3579 | (write_switch): Don't put Pmode in a switch. | |
3580 | * rtl.c (mode arrays): Don't explicitly size them. | |
3581 | ||
22fb740d JH |
3582 | Sun Jul 15 14:07:36 CEST 2001 Jan Hubicka <jh@suse.cz> |
3583 | ||
3584 | * toplev.c (rest_of_compilation): Fix register_life_up_to_date | |
3585 | handling; move unconditional splitting before mode switching. | |
3586 | ||
3587 | * i386.md (type): Add fistp type. | |
3588 | (i387, length_attr, scheduling definitions): Handle this type. | |
3589 | (fix_trunc?f?i2): Revamp to use mode switching. | |
3590 | (fix_trunct?f?i_nonmemory, fix_trunc?f?i_memory): New patterns. | |
3591 | * i386.h (fp_cw_mode): New enum | |
3592 | (OPTIMIZE_MODE_SWITCHING, NUM_MODES_FOR_MODE_SWITCHING, MODE_NEEDED, | |
3593 | MODE_PRIORITY_TO_MODE, ENUM_MODE_SET): New macros. | |
3594 | ||
135d50f1 RK |
3595 | Sun Jul 15 12:53:51 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
3596 | ||
3597 | * Makefile.in (integrate.o): Add debug.h. | |
3598 | * integrate.c (debug.h): Add. | |
3599 | (output_inline_function): Save, reset, and restore debug_hooks. | |
3600 | ||
b762a0ef RH |
3601 | 2001-07-15 Richard Henderson <rth@redhat.com> |
3602 | ||
3603 | * config/alpha/alpha.c (alpha_emit_xfloating_compare): Use CCmode | |
3604 | instead of COMPARE for the EQUIV expression. | |
3605 | ||
c319629b RH |
3606 | 2001-07-15 Richard Henderson <rth@redhat.com> |
3607 | ||
3608 | * flow.c (redirect_edge_and_branch_force): Initialize | |
3609 | global_live_at_start and global_live_at_end. | |
3610 | (allocate_bb_life_data): Export. | |
3611 | * basic-block.h (allocate_bb_life_data): Declare. | |
3612 | * toplev.c (rest_of_compilation): Call it. | |
3613 | ||
25e21aed RH |
3614 | 2001-07-15 Richard Henderson <rth@redhat.com> |
3615 | ||
3616 | * config/alpha/alpha.c (alpha_tablejump_addr_vec): New. | |
3617 | (alpha_tablejump_best_label): New. | |
3618 | * config/alpha/alpha-protos.h: Declare them. | |
3619 | * config/alpha/alpha.md: Use braced strings for code blocks. | |
3620 | (tablejump_osf): Break out add with r29. | |
3621 | (tablejump_osf_internal): Remove. | |
3622 | (tablejump_osf_nt_internal): Rename from tablejump_nt_internal, | |
3623 | use alpha_tablejump_addr_vec and alpha_tablejump_best_label. | |
3624 | ||
03598dea JH |
3625 | Sun Jul 15 00:53:35 CEST 2001 Jan Hubicka <jh@suse.cz> |
3626 | ||
3627 | * loop.c (scan_loop): Add USEs inside PARALLELs into dependencies | |
3628 | of the movable. | |
3629 | ||
3630 | * toplev.c (rest_of_compilation): Allow new pseudoes for mode switching. | |
3631 | ||
3632 | * i386-protos.h (ix86_split_fp_branch): Update prototype. | |
3633 | (ix86_fp_jump_nontrivial_p): New. | |
3634 | * i386.md (fp_jcc_?): Update call of split_fp_branch; | |
3635 | use ix86_fp_jump_nontrivial_p. | |
3636 | * i386.c (ix86_fp_jump_nontrivial_p): New. | |
3637 | (ix86_split_fp_branch): Accept code instead of rtx. | |
3638 | (ix86_expand_compare): Expand comparison early in case | |
3639 | doing so is resonably cheap. | |
3640 | ||
b8313db6 NC |
3641 | 2001-07-15 Nick Clifton <nickc@cambridge.redhat.com> |
3642 | ||
3643 | * config/rs6000/sysv4.h (CPP_ENDIAN_BIG_SPEC): Assert 'endian' | |
3644 | not 'machine'. | |
3645 | (CPP_ENDIAN_LITTLE_SPEC): Assert 'endian' not 'machine'. | |
3646 | (CPP_ENDIAN_SOLARIS_SPEC): Assert 'endian' not 'machine'. | |
3647 | ||
e2a12aca NB |
3648 | 2001-07-15 Neil Booth <neil@daikokuya.demon.co.uk> |
3649 | ||
3650 | * dbxout.c (dbxout_source_line): Make static, update prototype. | |
3651 | (dbx_debug_hooks, xcoff_debug_hooks): Add new hooks. | |
3652 | (dbxout_init, dbxout_finish, dbxout_source_line, | |
3653 | dbxout_begin_block, dbxout_end_block): Update for new prototypes. | |
3654 | * dbxout.h (dbxout_source_line): Delete. | |
3655 | * debug.c (debug_nothing_file, debug_nothing_file_int, | |
3656 | debug_nothing_file_charstar_rtx): New. | |
3657 | (do_nothing_debug_hooks): Update. | |
3658 | (debug_nothing_void, debug_nothing_charstar_rtx, | |
3659 | dwarf2out_end_epilogue): New. | |
3660 | (debug_nothing_file_charstar, debug_nothing_file_int_int): Rename. | |
3661 | * debug.h (struct rtx_def): Declare. | |
3662 | (gcc_debug_hooks): New hooks source_line, end_epilogue | |
3663 | and end_function. | |
3664 | (debug_nothing_void, debug_nothing_charstar_rtx, | |
3665 | dwarf2out_end_epilogue): New. | |
3666 | (debug_nothing_file_charstar, debug_nothing_file_int_int): Rename. | |
3667 | * dwarf2out.c (dwarf2out_source_line): Make static, update prototype. | |
3668 | (dwarf2_debug_hooks): Update. | |
3669 | (dwarf2out_init, dwarf2out_finish, dwarf2out_source_line, | |
3670 | dwarf2out_begin_block, dwarf2out_end_block): Update for new prototypes. | |
3671 | * dwarf2out.h (dwarf2out_source_line): Remove. | |
3672 | * dwarfout.c (dwarfout_end_epilogue, dwarfout_end_function): | |
3673 | Make static, update prototype. | |
3674 | (dwarfout_init, dwarfout_finish, dwarfout_source_line, | |
3675 | dwarfout_begin_block, dwarfout_end_block): Update for new prototypes. | |
3676 | (dwarf_debug_hooks): Update. | |
3677 | * dwarfout.h (dwarfout_end_epilogue, dwarfout_source_line, | |
3678 | dwarfout_end_function): Remove. | |
3679 | * final.c (profile_function): Use debug hooks for ending functions | |
3680 | and epilogues. | |
3681 | (output_source_line, final_end_function): Update prototype, | |
3682 | use debug hooks. | |
3683 | (final_start_function, final_scan_insn): Update. | |
3684 | * output.h (sdb_begin_function_line): Remove. | |
3685 | (final_end_function): Update prototype. | |
3686 | * sdbout.c (sdb_begin_function_line): Make static. | |
3687 | (PUT_SDB_EPILOGUE_END): Move to sdbout_end_epilogue. | |
3688 | (sdbout_source_line): New. | |
3689 | (sdbout_end_epilogue, sdbout_end_function): Make static, update | |
3690 | prototypes. | |
3691 | (sdb_debug_hooks): Update. | |
3692 | (sdbout_init, sdbout_source_line, | |
3693 | sdbout_begin_block, sdbout_end_block): Update for new prototypes. | |
3694 | * sdbout.h (sdbout_end_epilogue, sdbout_end_function): Remove. | |
3695 | * toplev.c (compile_file, rest_of_compilation): Update. | |
3696 | * tree.h (dwarf2out_end_epilogue): Move to debug.h. | |
3697 | * xcoffout.c (xcoffout_source_line, xcoffout_begin_block, | |
3698 | xcoffout_end_block, xcoffout_end_epilogue, xcoffout_end_function): | |
3699 | Update for prototype changes. | |
3700 | * xcoffout.h (xcoffout_source_line, xcoffout_begin_block, | |
3701 | xcoffout_end_block, xcoffout_end_epilogue): Update prototypes. | |
3702 | ||
be7b80f4 RH |
3703 | 2001-07-15 Richard Henderson <rth@redhat.com> |
3704 | ||
3705 | * config/alpha/alpha.h (TARGET_ABI_OSF): New. | |
3706 | (TARGET_ABI_WINDOWS_NT, TARGET_ABI_OPEN_VMS): Rename; update users. | |
3707 | * config/alpha/alpha-protos.h: Update TARGET_ABI_* users. | |
3708 | * config/alpha/alpha.c: Likewise. | |
3709 | * config/alpha/alpha.md: Likewise. | |
3710 | * config/alpha/alpha32.h: Likewise. | |
3711 | * config/alpha/vms.h: Likewise. | |
3712 | (OPEN_VMS): Remove. | |
3713 | ||
736f566a RH |
3714 | 2001-07-14 Richard Henderson <rth@redhat.com> |
3715 | ||
3716 | * config/alpha/alpha.md: Use define_constants for unspec values. | |
3717 | Substitute throughout. | |
3718 | ||
e6290e74 TJ |
3719 | 2001-07-14 Tim Josling <tej@melbpc.org.au> |
3720 | ||
3721 | * tree.def (EXPON_EXPR) remove. Never supported anyway. | |
3722 | ||
3794967f JDA |
3723 | 2001-07-14 John David Anglin <dave@hiauly1.hia.nrc.ca> |
3724 | ||
3725 | * pa.md: Remove unused constraints from define_split's. | |
3726 | ||
35cbdf6f RH |
3727 | 2001-04-14 Richard Henderson <rth@redhat.com> |
3728 | ||
3729 | * ifcvt.c (find_cond_trap): Test for exit block. | |
3730 | ||
1e5fd094 JH |
3731 | Sun Jul 15 00:50:20 CEST 2001 Jan Hubicka <jh@suse.cz> |
3732 | ||
3733 | Re-install recently reverted patch. | |
3734 | * emit-rtl.c (try_split): Update mark_jump_label call. | |
3735 | * flow.c (find_sub_basic_blocks): Likewise. | |
3736 | * jump.c (cross_jump_death_matters, find_cross_jump, do_cross_jump, | |
3737 | jump_back_p): Kill. | |
3738 | (mark_all_labels): Kill second parameter. | |
3739 | (jump_optimize, jump_optimize_1): Kill cross_jump parameter. | |
3740 | (rebuild_jump_labels, jump_optimize_minimal): Update call | |
3741 | of jump_optimize_1. | |
3742 | (jump_optimize_1): Kill crossjumping code. | |
3743 | (mark_jump_label): Kill cross_jump parameter. | |
3744 | * rtl.h (mark_jump_label, jump_optimize): Update prototypes. | |
3745 | (JUMP_CROSS_JUMP, JUMP_CROSS_JUMP_DEATH_MATTERS): Kill. | |
3746 | * reg-stack.c (reg_to_stack): Do not rebuild if not needed; do | |
3747 | splitting. | |
3748 | * toplev.c (enum dump_file_index): Kill DFI_jump2; put DFI_stack before | |
3749 | DFI_bpro. | |
3750 | (dump_file_info): Likewise. | |
3751 | (rest_of_compilation): Update calls to jump_optimize; kill jump2 pass; | |
3752 | reorganize passes to do reg-stack first, bb-reorder second. | |
3753 | * invoke.texi (-d letters doc): Remove the jump2 pass. | |
3754 | ||
999c0669 RH |
3755 | 2001-07-14 Richard Henderson <rth@redhat.com> |
3756 | ||
3757 | * ifcvt.c (find_cond_trap): New. | |
3758 | (find_if_header): Call it. | |
3759 | (merge_if_block): Relax existing jump sanity check. | |
3760 | * jump.c (jump_optimize_1): Remove conditional trap handling. | |
3761 | ||
7d8b1412 AM |
3762 | 2001-07-14 Alan Modra <amodra@bigpond.net.au> |
3763 | ||
3764 | * config/pa/pa.c (emit_hpdiv_const): Return reg is r2 for 64-bit | |
3765 | millicode. | |
3766 | (insn_refs_are_delayed): Correct comment. | |
3767 | * config/pa/pa.h (INSN_REFERENCES_ARE_DELAYED): Likewise. | |
3768 | * config/pa/pa.md (mulsi3): If TARGET_64BIT, clobber r2 | |
3769 | instead of r31. Make associated insn !TARGET_64BIT, and | |
3770 | provide an additional 64-bit insn that clobbers r2. | |
3771 | (divsi3): Likewise. | |
3772 | (udivsi3): Likewise. | |
3773 | (modsi3): Likewise. | |
3774 | (umodsi3): Likewise. | |
3775 | ||
1ed672dd JH |
3776 | Sat Jul 14 02:58:38 CEST 2001 Jan Hubicka <jh@suse.cz> |
3777 | ||
3778 | * bb-reorder.c (skip_insn_after_block): Get past the line number notes. | |
3779 | ||
3780 | * flow.c (redirect_edge_and_branch_force, split_edge, | |
3781 | try_crossjump_to_edge): Use set_block_for_new_insns. | |
3782 | * bb-reorder.c (emit_jump_to_block_after): Call set_block_for_new_insns. | |
3783 | ||
c51f3aa1 L |
3784 | 2001-07-13 H.J. Lu (hjl@gnu.org) |
3785 | ||
3786 | * config/elfos.h (UNIQUE_SECTION): Enable .bss section with | |
3787 | the correct patch. | |
3788 | ||
ca18be57 GK |
3789 | 2001-07-13 Geoffrey Keating <geoffk@redhat.com> |
3790 | ||
3791 | Revert H.J. Lu's UNIQUE_SECTION patch of 2001-07-13. | |
3792 | ||
59387d2e JM |
3793 | 2001-07-13 Joseph S. Myers <jsm28@cam.ac.uk> |
3794 | ||
3795 | * c-common.c (decl_attributes): Take a pointer to the node to | |
3796 | which attributes are to be attached, and a flags argument. | |
3797 | * c-common.h (enum attribute_flags): New. | |
3798 | (decl_attributes): Update prototype. | |
3799 | * c-decl.c (start_decl, push_parm_decl, finish_struct, | |
3800 | finish_enum, start_function): Update calls to decl_attributes. | |
3801 | * c-parse.in (component_declarator, component_notype_declarator, | |
3802 | label): Update calls to decl_attributes. | |
3803 | ||
48ccfb40 DC |
3804 | Fri Jul 13 23:04:00 2001 Denis Chertykov <denisc@overta.ru> |
3805 | ||
3806 | * config/avr/avr.md (strlenhi): PARALLEL keyword removed. | |
3807 | * config/avr/avr.c (legitimate_address_p): Return value changed | |
3808 | from letter to register classes. For better debugging. | |
3809 | ||
5a4aeb03 KH |
3810 | 2001-07-13 Kazu Hirata <kazu@hxi.com> |
3811 | ||
3812 | * jump.c (reversed_comparison_code_parts): Fix comment typos. | |
3813 | ||
92e78e59 L |
3814 | 2001-07-13 H.J. Lu (hjl@gnu.org) |
3815 | ||
3816 | * config/elfos.h (UNIQUE_SECTION): Enable .bss section. | |
3817 | ||
f1cf4606 ME |
3818 | 2001-07-13 Marc Espie <espie@cvs.openbsd.org> |
3819 | ||
3820 | * config.gcc (*-*-openbsd*): Add fragment to compile libgcc | |
3821 | correctly for shared configurations. | |
3822 | * config/t-libgcc-pic: New. | |
3823 | * config/{i386,m68k,sparc}/t-openbsd: New. | |
3824 | * config/openbsd.h: Include cpu_spec in cpp_spec where needed. | |
3825 | Support -shared. Support debugging libraries with -g. | |
3826 | * config/i386/openbsd.h: Correct ASM_COMMENT_START. Ensure dwarf2 | |
3827 | frame information does not emit pointer diffs. | |
3828 | * config/sparc/openbsd.h: Ensure dwarf2 frame information does not | |
3829 | emit pointer diffs. | |
3830 | ||
998d20d2 GK |
3831 | 2001-07-13 Geoffrey Keating <geoffk@redhat.com> |
3832 | ||
3833 | Revert Jan Hubicka's patch of Fri Jul 13 14:46:21 CEST 2001. | |
3834 | ||
1568d79b DE |
3835 | 2001-07-13 David Edelsohn <edelsohn@gnu.org> |
3836 | ||
3837 | * combine.c (try_combine): Ensure const_int pow2 is positive. | |
3838 | ||
9628a767 HP |
3839 | 2001-07-13 Hartmut Penner <hpenner@de.ibm.com> |
3840 | ||
23190837 AJ |
3841 | * config.gcc: Add configuration for s/390. |
3842 | * config/s390/s390.c: New. Subroutines for code generation. | |
9628a767 HP |
3843 | * config/s390/s390.h: New. Definitions for s/390. |
3844 | * config/s390/s390-protos.h: New. Prototypes. | |
3845 | * config/s390/linux.h: New. Definitions for linux for s/390. | |
3846 | * config/s390/linux64.h: New. Definitions for linux for zSeries. | |
23190837 AJ |
3847 | * config/s390/t-linux: New. Makefile fragment. |
3848 | * config/s390/s390.md: New. Machine description for s/390 and zSeries. | |
9628a767 | 3849 | * config/s390/fixdfdi.h: New. Fix L_fix*di. |
23190837 | 3850 | |
f3ba35e4 JH |
3851 | Fri Jul 13 14:46:21 CEST 2001 Jan Hubicka <jh@suse.cz> |
3852 | ||
3853 | * emit-rtl.c (try_split): Update mark_jump_label call. | |
3854 | * flow.c (find_sub_basic_blocks): Likewise. | |
3855 | * jump.c (cross_jump_death_matters, find_cross_jump, do_cross_jump, | |
3856 | jump_back_p): Kill. | |
3857 | (mark_all_labels): Kill second parameter. | |
3858 | (jump_optimize, jump_optimize_1): Kill cross_jump parameter. | |
3859 | (rebuild_jump_labels, jump_optimize_minimal): Update call | |
3860 | of jump_optimize_1. | |
3861 | (jump_optimize_1): Kill crossjumping code. | |
3862 | (mark_jump_label): Kill cross_jump parameter. | |
3863 | * rtl.h (mark_jump_label, jump_optimize): Update prototypes. | |
3864 | (JUMP_CROSS_JUMP, JUMP_CROSS_JUMP_DEATH_MATTERS): Kill. | |
3865 | * reg-stack.c (reg_to_stack): Do not rebuild if not needed; do | |
3866 | splitting. | |
3867 | * toplev.c (enum dump_file_index): Kill DFI_jump2; put DFI_stack before | |
3868 | DFI_bpro. | |
3869 | (rest_of_compilation): Update calls to jump_optimize; kill jump2 pass; | |
3870 | reorganize passes to do reg-stack first, bb-reorder second. | |
3871 | * invoke.texi (-d letters doc): Remove the jump2 pass. | |
3872 | ||
448d17f9 SE |
3873 | 2001-07-12 Steve Ellcey <sje@cup.hp.com> |
3874 | ||
3875 | * toplev.c (compile_file): Put call of ASM_FILE_START inside ifdef. | |
3876 | ||
6691db8e JH |
3877 | Thu Jul 12 17:57:16 CEST 2001 Jan Hubicka <jh@suse.cz> |
3878 | ||
3879 | * flow.c (try_optimize_cfg): Delete whole chain of trivially dead | |
3880 | basic blocks. | |
3881 | (verify_flow_info): Make diagnostics prettier. | |
3882 | ||
c35e85f9 JH |
3883 | Thu Jul 12 16:48:54 CEST 2001 Jan Hubicka <jh@suse.cz> |
3884 | ||
3885 | * flow.c (find_basic_blocks_1): Do not emit NOP after call. | |
3886 | ||
3887 | * flow.c (outgoing_edges_match): Return early if condition reversal | |
3888 | failed. | |
3889 | ||
51c6b247 RS |
3890 | 2001-07-06 Richard Sandiford <rsandifo@redhat.com> |
3891 | ||
3892 | * config/mips/mips.c (print_operand): Extend '%D' to memory operands. | |
3893 | (mips_move_2words): When splitting a move into two instructions, | |
3894 | prefix the second address operand with '%D'. | |
3895 | ||
a5a42b92 NB |
3896 | 2001-07-12 Neil Booth <neil@daikokuya.demon.co.uk> |
3897 | ||
3898 | * Makefile.in (final.o): Depend on debug.h. | |
3899 | * dbxout.c (dbxout_begin_block, dbxout_end_block): New. | |
3900 | (dbx_debug_hooks): Add new hooks. | |
3901 | (xcoff_debug_hooks): New. | |
3902 | * debug.c (debug_nothing_file_int_int): New. | |
3903 | (do_nothing_debug_hooks): Update. | |
3904 | * debug.h (gcc_debug_hooks): New hooks begin_block and end_block. | |
3905 | (debug_nothing_file_int_int): New. | |
3906 | * dwarf2out.c (dwarf2out_begin_block, dwarf2out_end_block): Make | |
3907 | static, update prototype. | |
3908 | (dwarf2_debug_hooks): Update. | |
3909 | * dwarf2out.h (dwarf2out_begin_block, dwarf2out_end_block): Remove. | |
3910 | * dwarfout.c (dwarfout_begin_block, dwarfout_end_block): Make | |
3911 | static, update prototype. | |
3912 | (dwarf_debug_hooks): Update. | |
3913 | * dwarfout.h (dwarfout_begin_block, dwarfout_end_block): Remove. | |
3914 | * final.c: Include debug.h. | |
3915 | (final_scan_insn): Use debug hooks when beginning and ending blocks. | |
3916 | * sdbout.c (sdbout_begin_block, sdbout_end_block): Make | |
3917 | static, update prototype. | |
3918 | (sdb_debug_hooks): Update. | |
3919 | * sdbout.h (sdbout_begin_block, sdbout_end_block): Remove. | |
3920 | * toplev.c: Distinguish between xcoff and dbx. | |
3921 | ||
3922 | * f/lex.c (ffelex_file_pop_, ffelex_file_push_, ffelex_hash_): | |
3923 | Call all debug hooks, not just dwarf ones. | |
3924 | ||
c177db4b TW |
3925 | 2001-07-11 Timothy Wall <twall@redhat.com> |
3926 | ||
4e2db584 RH |
3927 | * config.gcc: Add configuration for AIX5/IA64. |
3928 | * config/ia64/aix.h: New. AIX5/IA64-specific configuration. | |
3929 | * config/ia64/crt[in].asm: New. Generic static ctor/dtor | |
c177db4b | 3930 | support prefix/suffix code. |
4e2db584 RH |
3931 | * config/ia64/t-aix: New. Makefile fragment. |
3932 | * config/ia64/unwind-aix.c: New. Unwind table entry lookup. | |
c177db4b | 3933 | |
4d893612 KH |
3934 | 2001-07-11 Kazu Hirata <kazu@hxi.com> |
3935 | ||
3936 | * recog.c (validate_change): Fix a comment typo. | |
3937 | ||
7f905405 NB |
3938 | 2001-07-11 Neil Booth <neil@daikokuya.demon.co.uk> |
3939 | ||
3940 | * Makefile.in (c-lex.o): Wrap long lines. Depend on debug.h. | |
3941 | * c-lex.c (cb_file_change, cb_define, cb_undef): Use debug | |
3942 | hooks directly. | |
3943 | * dbxout.c (dbx_debug_hooks): Add new hooks. | |
3944 | (dbxout_start_new_source_file): Rename dbxout_start_source_file, | |
3945 | make static. | |
3946 | (dbxout_resume_previous_source_file): Rename dbxout_end_source_file, | |
3947 | make static. | |
3948 | * dbxout.h (dbxout_start_new_source_file, | |
3949 | dbxout_resume_previous_source_file): Delete. | |
3950 | * debug.c (do_nothing_debug_hooks): Add new hooks. | |
3951 | (debug_nothing_init_finish): Rename debug_nothing_file_charstar. | |
3952 | (debug_nothing_int_charstar, debug_nothing_int): New. | |
3953 | * debug.h (gcc_debug_hooks): New hooks define, undef, | |
3954 | start_source_file and end_source_file. | |
3955 | (debug_nothing_init_finish): Rename debug_nothing_file_charstar. | |
3956 | (debug_nothing_int_charstar, debug_nothing_int): New. | |
3957 | * dwarf2out.c (dwarf2_debug_hooks): Add new hooks. Move into | |
3958 | the conditionally compiled section. | |
3959 | (dwarf2out_start_source_file, dwarf2out_end_source_file, | |
3960 | dwarf2out_define, dwarf2out_undef): Make static. | |
3961 | * dwarf2out.h (dwarf2out_start_source_file, dwarf2out_end_source_file, | |
3962 | dwarf2out_define, dwarf2out_undef): Remove. | |
3963 | * dwarfout.c (dwarf_debug_hooks): Add new hooks. | |
3964 | (dwarfout_start_source_file, dwarfout_end_source_file, | |
3965 | dwarfout_define, dwarfout_undef): Make static. | |
3966 | (dwarfout_start_source_file_check, | |
3967 | dwarfout_end_source_file_check): New. | |
3968 | (dwarfout_define, dwarfout_finish): Update. | |
3969 | * dwarfout.h (dwarfout_start_new_source_file, | |
3970 | dwarfout_resume_previous_source_file, dwarfout_define, | |
3971 | dwarfout_undef): Remove. | |
3972 | * sdbout.c (sdb_debug_hooks): Add new hooks. | |
3973 | (sdbout_start_new_source_file): Rename sdbout_start_source_file, | |
3974 | make static. | |
3975 | (sdbout_resume_previous_source_file): Rename sdbout_end_source_file, | |
3976 | make static, take an arg. | |
3977 | * sdbout.h (sdbout_start_new_source_file, | |
3978 | sdbout_resume_previous_source_file): Delete. | |
3979 | * toplev.c (debug_start_source_file, debug_end_source_file, | |
3980 | debug_define, debug_undef): Delete. | |
3981 | * toplev.h (debug_start_source_file, debug_end_source_file, | |
3982 | debug_define, debug_undef): Delete. | |
3983 | ||
3984 | * java/jcf-parse.c: Include debug.h. | |
3985 | (parse_class_file): Update to use debug hooks directly. | |
3986 | * java/Make-lang.in (jcf-parse.o): Depend on debug.h. | |
3987 | ||
ba4828e0 RK |
3988 | Wed Jul 11 10:07:18 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
3989 | ||
3990 | * alias.c (set_mem_alias_set): New function. | |
3991 | * rtl.h (set_mem_alias_set): Declare it. | |
3992 | * builtins.c (expand_builtin_return_addr): Call it instead of | |
3993 | using MEM_ALIAS_SET accessor. | |
3994 | (expand_builtin_setjmp_setup, expand_builtin_longjmp): Likewise. | |
3995 | (get_memory_rtx, expand_builtin_va_arg): Likewise. | |
3996 | (expand_builtin_va_copy):Likewise. | |
3997 | * caller-save.c (setup_save_areas): Likewise. | |
3998 | * calls.c (compute_argument_addresses): Likewise. | |
3999 | * explow.c (set_mem_attributes): Likewise. | |
4000 | * expr.c (emit_single_push_insn, emit_push_insn): Likewise. | |
4001 | (expand_assignment, store_constructor_field, store_field): Likewise. | |
4002 | (expand_expr_unaligned): Likewise. | |
4003 | * function.c (assign_stack_temp_for_type): Likewise. | |
4004 | (put_reg_into_stack, gen_mem_addressof): Likewise. | |
4005 | * ifcvt.c (noce_try_cmove_arith): Likewise. | |
4006 | * reload1.c (reload, alter_reg): Likewise. | |
4007 | * config/alpha/alpha.c (get_aligned_mem): Likewise. | |
4008 | (alpha_set_memflags_1, alpha_expand_unaligned_load): Likewise. | |
4009 | (alpha_expand_unaligned_store): Likewise | |
4010 | (alpha_expand_unaligned_load_words): Likewise. | |
4011 | (alpha_expand_unaligned_store_words): Likewise. | |
4012 | (alpha_expand_block_clear, alpha_expand_prologue): Likewise. | |
4013 | (alpha_expand_epilogue): Likewise. | |
4014 | * config/arc/arc.c (arc_setup_incoming_varargs): Likewise. | |
4015 | * config/clipper/clipper.c (clipper_builtin_saveregs): Likewise. | |
4016 | * config/i386/i386.c (legitimize_pic_address): Likewise. | |
4017 | * config/i960/i960.c (setup_incoming_varargs): Likewise. | |
4018 | * config/ia64/ia64.c (spill_restore_mem): Likewise. | |
4019 | * config/m32r/m32r.c (m32r_setup_incoming_varargs): Likewise. | |
4020 | * config/m8k/m88k.c (m88k_builtin_saveregs): Likewise. | |
4021 | * config/mips/mips.c (mips_va_arg): Likewise. | |
4022 | * config/mn10300/mn10300.c (mn10300_builtin_saveregs): Likewise. | |
4023 | * config/pa/pa.c (hppa_builtin_saveregs): Likewise. | |
4024 | * config/rs6000/rs6000.c (rs6000_emit_move): Likewise. | |
4025 | (setup_incoming_varargs, rs6000_va_arg): Likewise. | |
4026 | (rs6000_emit_eh_toc_restore, rs6000_emit_prologue): Likewise. | |
4027 | (rs6000_emit_epilogue): Likewise. | |
4028 | * config/sh/sh.c (sh_builtin_saveregs): Likewise. | |
4029 | * config/sparc/sparc.c (sparc_va_arg): Likewise. | |
4030 | * config/v850/v850.c (v850_va_arg): Likewise. | |
4031 | ||
46fac664 JH |
4032 | Wed Jul 11 21:27:25 CEST 2001 Jan Hubicka <jh@suse.cz> |
4033 | ||
4034 | * flow.c (merge_blocks_move_successor_nojumps): Do not crash | |
4035 | when fallthru edge is present. | |
4036 | (mege_blocks): Handle case where creation of jump insn | |
4037 | is required. | |
4038 | ||
4039 | * basic-block.h (CLEANUP_EXPENSIVE, CLEANUP_CROSSJUMP, | |
4040 | CLEANUP_POST_REGSTACK): New constants. | |
4041 | * except.c (finish_eh_generation): Update call of cleanup_cfg, | |
4042 | * jump.c (rtx_renumbered_equal_p): Handle 't' fields. | |
4043 | * output.h (cleanup_cfg): Update prototype. | |
4044 | * reg-stack.c (reg_to_stack): Use cleanup_cfg instead of jump_optimize | |
23190837 | 4045 | * sibcall.c (optimize_sibling_and_tail_recursive_call): Update |
46fac664 JH |
4046 | cleanup_cfg call; kill missleading comment. |
4047 | * toplev.c (rest_of_compilation): Update all cleanup_cfg calls. | |
4048 | * flow.c (merge_blocks, try_optimize_cfg, cleanup_cfg): Accept mode | |
4049 | parameter; control optimizations performed using it. | |
4050 | (flow_find_cross_jump, outgoing_edges_match, try_crossjump_to_edge, | |
4051 | try_crossjump_bb): New functions. | |
4052 | ||
9acc24a5 JDA |
4053 | 2001-07-11 John David Anglin <dave@hiauly1.hia.nrc.ca> |
4054 | ||
4055 | * pa.c (pa_output_function_prologue): Delete prototype. Make function | |
4056 | extern. | |
4057 | * pa.h (ASM_OUTPUT_MI_THUNK): Rename output_function_prologue to | |
4058 | pa_output_function_prologue. | |
4059 | * pa-protos.h (pa_output_function_prologue): New prototype. | |
4060 | ||
9312aecc JDA |
4061 | 2001-07-11 John David Anglin <dave@hiauly1.hia.nrc.ca> |
4062 | ||
4063 | * stmt.c (emit_case_nodes): Widen high and low instead of new_bound | |
4064 | and low to get correct sign extension in low+high test. | |
4065 | ||
dec2b703 JJ |
4066 | 2001-07-11 Janis Johnson <janis@us.ibm.com> |
4067 | ||
4b9664e2 JJ |
4068 | * gcov.c (arcdata): Use gcov_type to fix branch percentage |
4069 | for large hit count. | |
4070 | ||
dec2b703 JJ |
4071 | * profile.c (branch_prob): Fix .bbg info for computed gotos |
4072 | and C++ EH code. | |
4073 | ||
40b18c0a MM |
4074 | 2001-07-11 Mark Mitchell <mark@codesourcery.com> |
4075 | ||
23190837 | 4076 | * stmt.c (parse_output_constraint): New function, split out |
40b18c0a MM |
4077 | from ... |
4078 | (expand_asm_operands): ... here. Use parse_output_constraint. | |
4079 | * tree.h (parse_output_constraint): Declare it. | |
4080 | ||
a615c28a RH |
4081 | 2001-07-11 Richard Henderson <rth@redhat.com> |
4082 | ||
4083 | * bitmap.c: Comment some functions; fiddle whitespace. | |
4084 | (bitmap_free): Don't export. | |
4085 | (bitmap_element_allocate): Use memset. | |
4086 | * bitmap.h (bitmap_free): Don't declare. | |
4087 | ||
5a660bff DB |
4088 | 2001-07-11 Daniel Berlin <dan@cgsoftware.com> |
4089 | ||
4090 | * gcse.c, lcm.c, sched-deps.c: | |
4091 | s/free on sbitmap vectors/sbitmap_vector_free on sbitmap vectors/g | |
4092 | ||
4093 | * flow.c (flow_loops_find): Free dom if we found no loops, since | |
4094 | we aren't going to save it. | |
4095 | ||
4096 | * lcm.c (pre_edge_rev_lcm): Free st_antin, st_antout when we are | |
4097 | done. | |
4098 | ||
1a9485cf JL |
4099 | Wed Jul 11 09:00:48 2001 Jeffrey A Law (law@cygnus.com) |
4100 | ||
4101 | * ssa-ccp.c (ssa_fast_dce): Free worklist when completed. | |
4102 | ||
c8383050 RK |
4103 | Wed Jul 11 10:07:18 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
4104 | ||
4105 | * dwarf2out.c (dwarf2out_init, dwarf2out_finish): Add dummy version | |
4106 | #ifndef DWARF2_DEBUGGING_INFO. | |
4107 | ||
bd77ba51 RS |
4108 | 2001-07-11 Richard Sandiford <rsandifo@redhat.com> |
4109 | ||
4110 | * simplify-rtx.c (simplify_gen_subreg): Return null for QUEUED rtxes. | |
4111 | ||
b5265b32 RS |
4112 | 2001-07-11 Richard Sandiford <rsandifo@redhat.com> |
4113 | ||
4114 | * config/mips/mips.c (gen_int_relational): Tell the caller not to | |
4115 | reverse a branch if a NE comparison is implemented with GTU. | |
4116 | ||
b87c8c8c RS |
4117 | 2001-07-11 Richard Sandiford <rsandifo@redhat.com> |
4118 | H.J. Lu <hjl@gnu.org> | |
4119 | ||
4120 | * mips.md (call_internal1): Use CONSTANT_ADDRESS_P to check for | |
4121 | constant addresses. | |
4122 | (call_internal2): Likewise. | |
4123 | (call_value_internal1): Likewise. | |
4124 | (call_value_internal2): Likewise. | |
4125 | (call_value_multiple_internal1): Likewise. | |
4126 | (call_value_multiple_internal2): Likewise. | |
4127 | ||
0407c02b KH |
4128 | 2001-07-10 Kazu Hirata <kazu@hxi.com> |
4129 | ||
4130 | * calls.c (emit_library_call_value_1): Fix a comment typo. | |
4131 | * dwarf2out.c (mem_loc_descriptor): Likewise. | |
4132 | * config/i386/i386.c (ix86_expand_aligntest): Likewise. | |
4133 | ||
a1b2ebc0 DB |
4134 | 2001-07-11 David Billinghurst <David.Billinghurst@riotinto.com> |
4135 | ||
608fe35b | 4136 | * simplify-rtx.c (simplify_subreg): Fix typo in comment |
a1b2ebc0 | 4137 | |
07217645 RK |
4138 | Tue Jul 10 07:27:53 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
4139 | ||
4140 | * recog.c (offsettable_address_p): Handle LO_SUM case. | |
4141 | * config/mips/mips.c (double_memory_operand): Use adjust_address_nv | |
4142 | instead of plus_constant. | |
23190837 | 4143 | |
91667711 SC |
4144 | 2001-07-10 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
4145 | ||
4146 | * reload1.c (merge_assigned_reloads): After a RELOAD_OTHER merge, | |
4147 | fix setting of the reloads of that reload to RELOAD_FOR_OTHER_ADDRESS. | |
4148 | ||
d7624dc0 RK |
4149 | Tue Jul 10 07:27:53 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
4150 | ||
4151 | * config/rs6000/rs6000.c (print_operand, case 'L', 'Y', 'Z'): Use | |
4152 | adjust_address_nv instead of plus_constant. | |
4153 | ||
a51d908e NB |
4154 | 2001-07-10 Neil Booth <neil@daikokuya.demon.co.uk> |
4155 | ||
4156 | * Makefile.in (toplev.o, sdbout.o, dbxout.o, dwarfout.o, | |
4157 | dwarf2out.o): Depend on debug.h, wrap long lines. | |
4158 | * dbxout.c: Include debug.h. | |
4159 | (dbx_debug_hooks): New. | |
4160 | (dbxout_init): Make static, take just 2 args. | |
4161 | (dbxout_finish): Make static. | |
4162 | * dbxout.h (dbxout_init, dbxout_finish): Delete. | |
4163 | * debug.c: New file. | |
4164 | * debug.h: New file. | |
4165 | * dwarf2out.c: Include debug.h. | |
4166 | (dwarf2_debug_hooks): New. | |
4167 | (dwarf2out_init): Make static. | |
4168 | (dwarf2out_finish): Make static, take 2 args. | |
4169 | * dwarf2out.h (dwarf2out_init, dwarf2out_finish): Delete. | |
4170 | * dwarfout.c: Include debug.h. | |
4171 | (dwarf_debug_hooks): New. | |
4172 | (dwarfout_init): Make static. | |
4173 | (dwarfout_finish): Make static, take 2 args. | |
4174 | * dwarfout.h (dwarfout_init, dwarfout_finish): Delete. | |
4175 | * sdbout.c: Include debug.h. | |
4176 | (sdb_debug_hooks): New. | |
4177 | (sdbout_init): Make static, take 2 args. | |
4178 | * sdbout.h (sdbout_init): Delete. | |
4179 | * toplev.c: Include debug.h. | |
4180 | (debug_hooks): New. | |
4181 | (compile_file): Set deubg_hooks based on command line options. | |
4182 | Use the hooks unconditionally rather than conditional compilation. | |
4183 | ||
af5c573a JL |
4184 | Tue Jul 10 09:04:45 2001 Jeffrey A Law (law@cygnus.com) |
4185 | ||
4186 | * ssa-ccp.c (first_phi_node): Remove. Replace uses with calls to | |
4187 | first_insn_after_basic_block_note instead. | |
4188 | ||
4189 | * df.c (df_bb_refs_unlink): #if 0 out for now. | |
4190 | ||
4191 | 2001-07-10 David Billinghurst <David.Billinghurst@riotinto.com | |
4192 | ||
4193 | * ssa.h: Add prototype for ssa_const_prop | |
4194 | * ssa-ccp.c: Add prototype for ssa_fast_dce and mark_references | |
4195 | (ssa_ccp_substitute_constants): Fix signed vs unsigned comparison | |
4196 | (ssa_fast_dce): Remove unused variable | |
4197 | ||
64dfaa76 GDR |
4198 | 2001-07-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com> |
4199 | ||
4200 | * diagnostic.c (finish_diagnostic): Rename to | |
4201 | diagnostic_finish. Make it take an 'output_buffer *'. Adjust | |
4202 | calls thourghout. | |
4203 | ||
84db136d JM |
4204 | 2001-07-10 Jason Merrill <jason_merrill@redhat.com> |
4205 | ||
8aaf55ac JM |
4206 | * dwarf2out.c (dwarf2out_line): Emit -dA comment even when we have |
4207 | .loc support. | |
4208 | ||
84db136d | 4209 | * collect2.c (main): Set COLLECT_NO_DEMANGLE for subprocesses. |
23190837 | 4210 | (dump_file): Only pad the demangled name with spaces if the |
84db136d JM |
4211 | mangled name was padded with spaces. |
4212 | ||
fd052ec3 BS |
4213 | 2001-07-10 Bernd Schmidt <bernds@redhat.com> |
4214 | ||
4215 | * bb-reorder.c (make_reorder_chain_1): Correct branch/fallthru | |
4216 | edge detection. | |
4217 | ||
62926f0b RK |
4218 | Tue Jul 10 07:27:53 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
4219 | ||
10c2a453 RK |
4220 | * expr.c (expand_expr, case COMPONENT_REF): Don't force using bitfield |
4221 | extraction if no direct load if either EXPAND_CONST_ADDRESS or | |
4222 | EXPAND_INITIALIZER. | |
4223 | ||
62926f0b RK |
4224 | * emit-rtl.c (adjust_address, adjust_address_nv): Change criteria for |
4225 | whether can put offset inside LO_SUM to check mode alignment, not size. | |
4226 | ||
acdcefcc GDR |
4227 | 2001-07-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com> |
4228 | ||
4229 | * doc/tm.texi (Misc): Fix thinko. | |
4230 | ||
07167a18 JM |
4231 | 2001-07-10 Jan van Male <jan.vanmale@fenk.wau.nl> |
4232 | ||
4233 | * regmove.c (replace_in_call_usage): Fix warnings. | |
4234 | * sched-deps.c (add_dependence): Fix warnings. | |
4235 | * simplify-rtx.c (simplify_subreg): Likewise. | |
4236 | Return NULL_RTX instead of NULL. | |
4237 | ||
4238 | * reg-stack.c (emit_swap_insn): Eliminate warnings. | |
4239 | (subst_asm_stack_regs): Likewise. | |
4240 | ||
4241 | * combine.c (num_sign_bit_copies): Cast bitwidth to int to avoid | |
4242 | warnings. | |
4243 | ||
4244 | * dwarf2out.c (output_call_frame_info): Declare i as int. | |
4245 | (build_abbrev_table): Declare n_alloc as int. | |
4246 | (dwarf2out_finish): Initialize die. | |
4247 | * except.c: Declare sjlj_funcdef_number as unsigned. | |
4248 | (connect_post_landing_pads): Declare j as unsigned. | |
4249 | (convert_to_eh_region_ranges): Initialize call_site. | |
4250 | (output_function_exception_table): Initialize tt_format_size. | |
4251 | * expr.c (move_by_pieces_1): Initialize to1. | |
4252 | (store_constructor): Initialize minelt and maxelt. | |
4253 | * flow.c (mark_regs_live_at_end): Declare i as unsigned. | |
4254 | * function.c (instantiate_decls): Avoid signed/unsigned warning. | |
4255 | ||
4256 | * c-decl.c (combine_parm_decls): Unused, remove. | |
4257 | * c-tree.h: Remove prototype for combine_parm_decls. | |
4258 | ||
4259 | * reload.c (push_reload): Fix warning. | |
4260 | (regno_clobbered_p): Likewise. | |
4261 | * reload1.c (replace_pseudos_in_call_usage): Likewise. | |
4262 | (reload_combine): Likewise. | |
4263 | ||
4264 | * bitmap.c: Rename bitmap_zero to bitmap_zero_bits to fix warnings. | |
4265 | * bitmap.h: Rename bitmap_zero to bitmap_zero_bits to fix | |
4266 | warnings. | |
4267 | * bitmap.c (bitmap_operation): Change user. | |
4268 | * bitmap.h (EXECUTE_IF_AND_COMPL_IN_BITMAP): Likewise. | |
4269 | ||
4608d36c EC |
4270 | 2001-07-10 Eric Christopher <echristo@redhat.com> |
4271 | ||
4272 | * config/mips/mips.c (override_options): Fix typo. | |
4273 | ||
f6155fda SS |
4274 | 2001-07-09 Stan Shebs <shebs@apple.com> |
4275 | ||
4276 | * target.h (struct gcc_target): New fields init_builtins and | |
4277 | expand_builtin. | |
4278 | * target-def.h (TARGET_INIT_BUILTINS): New macro. | |
4279 | (TARGET_EXPAND_BUILTIN): New macro. | |
4280 | (TARGET_INITIALIZER): Add them. | |
4281 | * builtins.c: Include target.h. | |
4282 | (expand_builtin): Use targetm.expand_builtin. | |
4283 | (default_init_builtins): New function. | |
4284 | (default_expand_builtin): New function. | |
4285 | * expr.h (default_init_builtins): Declare. | |
4286 | (default_expand_builtin): Declare. | |
4287 | * c-common.c (c_common_nodes_and_builtins): Use | |
4288 | targetm.init_builtins. | |
4289 | * defaults.h (MD_INIT_BUILTINS): Remove. | |
4290 | * Makefile.in (builtins.o): Depend on target.h. | |
4291 | ||
4292 | * config/arm/arm.c (TARGET_INIT_BUILTINS): Define. | |
4293 | (TARGET_EXPAND_BUILTIN): Define. | |
4294 | * config/arm/arm.h (MD_INIT_BUILTINS): Remove. | |
4295 | (MD_EXPAND_BUILTIN): Remove. | |
4296 | ||
4297 | * config/c4x/c4x.c (TARGET_INIT_BUILTINS): Define. | |
4298 | (TARGET_EXPAND_BUILTIN): Define. | |
4299 | (c4x_init_builtins): Make endlink arg a local. | |
4300 | (c4x_print_operand): Fix typos in adjust_address usages. | |
4301 | * config/c4x/c4x-protos.h (c4x_init_builtins): Update decl. | |
4302 | * config/c4x/c4x.h (MD_INIT_BUILTINS): Remove. | |
4303 | (MD_EXPAND_BUILTIN): Remove. | |
4304 | ||
4305 | * config/i386/i386.c (TARGET_INIT_BUILTINS): Define. | |
4306 | (TARGET_EXPAND_BUILTIN): Define. | |
4307 | (ix86_init_mmx_sse_builtins): New function, was ix86_init_builtins. | |
4308 | (ix86_init_builtins): Call new function only if TARGET_MMX. | |
4309 | * config/i386/i386-protos.h (ix86_init_mmx_sse_builtins): Declare. | |
4310 | * config/i386/i386.h (MD_INIT_BUILTINS): Remove. | |
4311 | (MD_EXPAND_BUILTIN): Remove. | |
4312 | ||
4313 | * config/ia64/ia64.c (TARGET_INIT_BUILTINS): Define. | |
4314 | (TARGET_EXPAND_BUILTIN): Define. | |
4315 | * config/ia64/ia64.h (MD_INIT_BUILTINS): Remove. | |
4316 | (MD_EXPAND_BUILTIN): Remove. | |
4317 | ||
4318 | * doc/tm.texi: Document these changes. | |
4319 | ||
2b1d9dc0 DN |
4320 | 2001-07-09 Diego Novillo <dnovillo@redhat.com> |
4321 | ||
4322 | * basic-block.h (tree_node): Forward declare if needed. | |
4323 | (struct basic_block_def): Add fields 'head_tree' and 'end_tree'. | |
4324 | (BLOCK_HEAD_TREE): Define. | |
4325 | (BLOCK_END_TREE): Define. | |
4326 | (struct loops): Rename field 'tree' to 'tree_root'. | |
4608d36c | 4327 | * flow.c (entry_exit_blocks): Add initializers for 'head_tree' and |
2b1d9dc0 DN |
4328 | 'end_tree'. |
4329 | (flow_loops_tree_build): Rename reference to field 'tree' to | |
4330 | 'tree_root'. | |
4331 | (flow_loops_level_compute): Ditto. | |
4332 | * predict.c (estimate_bb_frequencies): Ditto. | |
4333 | * tree.h (struct tree_common): Add field 'aux'. | |
4334 | ||
70bdc2ff SS |
4335 | 2001-07-09 Stan Shebs <shebs@apple.com> |
4336 | ||
4337 | * config/darwin.c (darwin_encode_section_info): Don't mark any | |
4338 | DECL_EXTERNAL node as defined. | |
4339 | ||
d777856d JDA |
4340 | 2001-07-09 John David Anglin <dave@hiauly1.hia.nrc.ca> |
4341 | ||
4342 | * pa.c (pa_init_machine_status, pa_mark_machine_status, | |
4343 | pa_free_machine_status, hppa_init_pic_save): Delete. | |
4344 | (hppa_pic_save_rtx): New. Use get_hard_reg_initial_val. | |
4345 | (hppa_profile_hook): Use hppa_pic_save_rtx. | |
4346 | * pa.h (struct machine_function, PIC_OFFSET_TABLE_SAVE_RTX, | |
4347 | hppa_init_pic_save): Delete. | |
4348 | (hppa_pic_save_rtx): Declare. | |
4349 | * pa.md (call, call_value, sibcall, sibcall_value, | |
4350 | builtin_setjmp_receiver): Use hppa_pic_save_rtx. | |
4351 | ||
aa3c0d59 KH |
4352 | 2001-07-09 Kazu Hirata <kazu@hxi.com> |
4353 | ||
4354 | * config/h8300/t-h8300 (LIB1ASMFUNCS): Add _floatdisf and _fixsfdi. | |
4355 | * config/mn10200/t-mn10200 (LIB1ASMFUNCS): Likewise. | |
4356 | ||
af076e58 AJ |
4357 | 2001-07-09 Andreas Jaeger <aj@suse.de> |
4358 | ||
4359 | * output.h: Add declaration of final_forward_branch_p. | |
4360 | ||
4361 | * config/i386/i386.c (output_fix_trunc): Remove unused variable. | |
4362 | ||
4363 | * varray.c: Include errors.h for internal_error and trim_filename | |
4364 | declarations. | |
4365 | ||
4366 | * Makefile.in (varray.o): Add errors.h. | |
4367 | ||
fb7e77d7 TM |
4368 | 2001-07-09 Toon Moene <toon@moene.indiv.nluug.nl> |
4369 | ||
4370 | * expr.h: Adjust prototypes for have_add2_insn, have_sub2_insn. | |
4371 | * optabs.c (have_add2_insn): Check whether the add insn chosen | |
4372 | really accepts the operands. (have_sub2_insn): Ditto for sub insn. | |
4373 | * reload1.c (reload_cse_move2add): Adjust calls of have_add2_insn. | |
4374 | ||
0b47e4c1 JL |
4375 | Mon Jul 9 13:26:40 2001 Jeffrey A Law (law@cygnus.com) |
4376 | ||
4377 | * Makefile.in (OBJS): Add ssa-ccp.o | |
4378 | (ssa-ccp.o): Add dependencies. | |
4379 | * toplev.c (DFI_ssa_ccp): New dump file enum. | |
4380 | (dump_file): Add entry for dumping after SSA CCP. | |
4381 | (flag_ssa_ccp): New flag variable. | |
4382 | (f_options): Add -fssa-ccp. | |
4383 | (rest_of_compilation): Run SSA CCP if requested. | |
4384 | * timevar.def (TV_SSA_CCP): New timevar. | |
4385 | * ssa.c (mark_phi_and_copy_regs): Handle deleted PHI nodes. | |
4386 | * doc/gcc.texi (Passes): Add documentation for SSA CCP pass. | |
4387 | Fix minor typo in SSA DCE documentation. | |
4388 | * doc/invoke.texi: Add documentation for new flag -fssa-ccp. | |
4389 | Add documentation for new dump option. Renumber dump files | |
4390 | appropriately. | |
4391 | ||
5222e470 JH |
4392 | Mon Jul 9 21:36:00 CEST 2001 Jan Hubicka <jh@suse.cz> |
4393 | ||
4394 | * emit-rtl.c (gen_highpart_mode): New. | |
4395 | * rtl.h (gen_highpart_mode): Declare. | |
4396 | * sparc.md (insn splitters): Use gen_highpart_mode, whenever the | |
4397 | operand can be VOIDmode constant. | |
4398 | ||
2b2c8b3e JH |
4399 | Mon Jul 9 17:23:10 CEST 2001 Jan Hubicka <jh@suse.cz> |
4400 | ||
4401 | * flow.c (redirect_edge_and_branch_force): New. | |
4402 | (can_fallthru): Ensure that basic blocks are succeeding. | |
4403 | (try_optimize_cfg): Do not delete basic block if it is the last one. | |
4404 | ||
4405 | * flow.c (try_redirect_by_replacing_jump): Do not remove | |
4406 | jumps with side effects, unlink chain on fallthru edge; | |
4407 | set block for new jump instruction; avoid basic block to | |
4408 | over by line number note. | |
4409 | ||
4410 | * flow.c (try_simplify_condjump): Verify that the condjump | |
4411 | is not always falling trought. | |
4412 | ||
4413 | Re-install patch: | |
4414 | * flow.c (try_redirect_by_replacing_jump): Remove cc0 setter. | |
4415 | ||
4416 | * flow.c (forwarder_block_p): Fix for fallthru blocks. | |
4417 | (try_redirect_by_replacing_jump): Update properly the count | |
4418 | and frequency information. | |
4419 | ||
60a97cd4 RK |
4420 | Mon Jul 9 06:41:07 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
4421 | ||
823e3574 RK |
4422 | * emit-rtl.c (adjust_address, adjust_address_nv): Handle an |
4423 | address that is a LO_SUM specially. | |
4424 | * explow.c (plus_constant_wide, case LO_SUM): Deleted. | |
4425 | ||
60a97cd4 RK |
4426 | * c-lang.c (start_cdtor): Remove extra parameter from start_function. |
4427 | ||
4428 | * emit-rtl.c (adjust_address_nv, replace_equiv_address_nv): New fcns. | |
4429 | (operand_subword): Use them. | |
4430 | (change_address_1): Renamed from change_address; new arg VALIDATE. | |
4431 | * expr.h: Reflect above changes; change_address now macro. | |
4432 | * alias.c (canon_rtx): Use replace_equiv_address_nv instead of | |
4433 | making MEM. | |
4434 | * cselib.c (add_mem_for_addr): Likewise. | |
4435 | * expr.c (protect_from_queue, emit_move_insn_1): Likewise. | |
4436 | * regmove.c (try_apply_stack_adjustment): Likewise. | |
4437 | * reload.c (push_reload, make_memloc): Likewise. | |
4438 | * reload1.c (eliminate_regs): Likewise. | |
4439 | * simplify-rtx.c (simplify_replace_rtx): Likewise. | |
4440 | * caller-save.c (setup_save_areas): Use adjust_address_nv instead of | |
4441 | adjust_addess. | |
4442 | * combine.c (make_extraction, simplify_shift_const): Likewise. | |
4443 | (gen_lowpart_for_combine): Likewise. | |
4444 | * cse.c (gen_lowpart_if_possible): Likewise. | |
4445 | * function.c (fixup_var_refs_1, purge_addressof_1): Likewise. | |
4446 | * expr.c (expand_expr, case COMPONENT_REF): Likewise. | |
4447 | * optabs.c (gen_move_insn): Likewise. | |
4448 | * reload1.c (alter_reg): Likewise. | |
4449 | * simplify-rtx.c (simplify_subreg): Likewise. | |
4450 | * stmt.c (expand_anon_union_decl): Likewise. | |
4451 | * recog.c (validate_replace_rtx_1): Likewise. | |
4452 | (expr.h): Include. | |
4453 | * Makefile.in (recog.o): Add $(EXPR_H). | |
4454 | * explow.c (stabilize): Call replace_equiv_address. | |
4455 | * expr.c (move_by_pieces_1, store_by_pieces_2): Likewise. | |
4456 | * final.c (alter_subreg): OFFSET is HOST_WIDE_INT. | |
4457 | ||
053a35af AH |
4458 | 2001-07-03 Andrew Haley <aph@redhat.com> |
4459 | ||
4460 | * expmed.c (store_fixed_bit_field): Don't use a mode bigger than | |
4461 | the mode of the memory location. | |
4462 | ||
db42058b BT |
4463 | 2001-07-09 Bo Thorsen <bo@suse.co.uk> |
4464 | ||
4465 | * config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Fix x86-64 vtable support. | |
4466 | ||
17b53c33 NB |
4467 | 2001-07-09 Neil Booth <neil@daikokuya.demon.co.uk> |
4468 | ||
4469 | * final.c (output_addr_const): Use target opening and | |
4470 | closing parentheses. | |
4471 | * target-def.h: Define TARGET_ASM_OPEN_PAREN, TARGET_ASM_CLOSE_PAREN | |
4472 | defaults, add to TARGET_ASM_OUT. | |
4473 | * target.h (struct gcc_target): Add open_paren and close_paren. | |
4474 | * doc/md.texi: Update. | |
4475 | * doc/tm.texi: Document TARGET_ASM_FUNCTION_END_PROLOGUE, | |
4476 | TARGET_ASM_FUNCTION_BEGIN_EPILOGUE, TARGET_ASM_OPEN_PAREN and | |
4477 | TARGET_ASM_CLOSE_PAREN. | |
60a97cd4 | 4478 | * config/i386/i386.c (TARGET_ASM_OPEN_PAREN, TARGET_ASM_CLOSE_PAREN): |
17b53c33 | 4479 | Override. |
60a97cd4 | 4480 | * config/pdp11/pdp11.c (TARGET_ASM_OPEN_PAREN, TARGET_ASM_CLOSE_PAREN): |
17b53c33 | 4481 | Override. |
60a97cd4 RK |
4482 | * config/1750a/1750a.h (ASM_OPEN_PAREN, ASM_CLOSE_PAREN): Remove. |
4483 | * config/a29k/a29k.h: Similarly. | |
4484 | * config/alpha/alpha.h: Similarly. | |
4485 | * config/arc/arc.h: Similarly. | |
4486 | * config/arm/aof.h: Similarly. | |
4487 | * config/arm/aout.h: Similarly. | |
4488 | * config/avr/avr.h: Similarly. | |
4489 | * config/c4x/c4x.h: Similarly. | |
4490 | * config/clipper/clipper.h: Similarly. | |
4491 | * config/convex/convex.h: Similarly. | |
4492 | * config/d30v/d30v.h: Similarly. | |
4493 | * config/dsp16xx/dsp16xx.h: Similarly. | |
4494 | * config/elxsi/elxsi.h: Similarly. | |
4495 | * config/fr30/fr30.h: Similarly. | |
4496 | * config/h8300/h8300.h: Similarly. | |
4497 | * config/i370/i370.h: Similarly. | |
4498 | * config/i386/i386.h: Similarly. | |
4499 | * config/i860/i860.h: Similarly. | |
4500 | * config/i960/i960.h: Similarly. | |
4501 | * config/ia64/ia64.h: Similarly. | |
4502 | * config/m32r/m32r.h: Similarly. | |
4503 | * config/m68hc11/m68hc11.h: Similarly. | |
4504 | * config/m68k/m68k.h: Similarly. | |
4505 | * config/m88k/m88k.h: Similarly. | |
4506 | * config/mcore/mcore.h: Similarly. | |
4507 | * config/mips/mips.h: Similarly. | |
4508 | * config/mn10200/mn10200.h: Similarly. | |
4509 | * config/mn10300/mn10300.h: Similarly. | |
4510 | * config/ns32k/ns32k.h: Similarly. | |
4511 | * config/pa/pa.h: Similarly. | |
4512 | * config/pdp11/pdp11.h: Similarly. | |
4513 | * config/pj/pj.h: Similarly. | |
4514 | * config/romp/romp.h: Similarly. | |
4515 | * config/rs6000/rs6000.h: Similarly. | |
4516 | * config/sh/sh.h: Similarly. | |
4517 | * config/sparc/sparc.h: Similarly. | |
4518 | * config/v850/v850.h: Similarly. | |
4519 | * config/vax/vax.h: Similarly. | |
4520 | * config/we32k/we32k.h: Similarly. | |
17b53c33 | 4521 | |
b41df7f6 JM |
4522 | 2001-07-09 Joseph S. Myers <jsm28@cam.ac.uk> |
4523 | ||
4524 | * doc/c-tree.texi: Document representation of attributes. | |
4525 | ||
648c546a JM |
4526 | 2001-07-08 Joseph S. Myers <jsm28@cam.ac.uk> |
4527 | ||
4528 | * doc/tm.texi: Update some places for the rename of target to | |
4529 | targetm. Fix typo. | |
4530 | ||
12a68f1f JM |
4531 | 2001-07-08 Joseph S. Myers <jsm28@cam.ac.uk> |
4532 | ||
4533 | * target.h (struct gcc_target): Add insert_attributes. | |
4534 | * target-def.h (TARGET_INSERT_ATTRIBUTES): Define. | |
4535 | (TARGET_INITIALIZER): Update. | |
4536 | * tree.c, tree.h (default_insert_attributes): New function. | |
4537 | Update comments on other default functions to refer to targetm, | |
4538 | not target. | |
4539 | * doc/tm.texi (INSERT_ATTRIBUTES): Update to document | |
4540 | TARGET_INSERT_ATTRIBUTES. | |
4541 | (SET_DEFAULT_DECL_ATTRIBUTES): Remove. | |
4542 | * c-common.c (decl_attributes): Use targetm.insert_attributes. | |
4543 | Don't use PRAGMA_INSERT_ATTRIBUTES. | |
4544 | * Makefile.in (c-common.o): Depend on $(TARGET_H). | |
4545 | * c-decl.c (start_decl, start_function): Don't call | |
4546 | SET_DEFAULT_DECL_ATTRIBUTES. | |
4547 | * config/c4x/c4x.h (SET_DEFAULT_DECL_ATTRIBUTES): Don't define. | |
4548 | * config/c4x/c4x-protos.h (c4x_set_default_attributes): Don't | |
4549 | declare. | |
4550 | * config/c4x/c4x.c (TARGET_INSERT_ATTRIBUTES): Define. | |
4551 | (c4x_check_attribute): Avoid modifying attribute list itself. | |
4552 | (c4x_set_default_attributes): Rename to c4x_insert_attributes. | |
4553 | Make static. | |
4554 | * config/sh/sh.h (PRAGMA_INSERT_ATTRIBUTES): Don't define. | |
4555 | * config/sh/sh-protos.h (sh_pragma_insert_attributes): Don't | |
4556 | declare. | |
4557 | * config/sh/sh.c (TARGET_INSERT_ATTRIBUTES): Define. | |
4558 | (sh_pragma_insert_attributes): Rename to sh_insert_attributes. | |
4559 | Make static. | |
4560 | * config/v850/v850.h (SET_DEFAULT_DECL_ATTRIBUTES): Don't define. | |
4561 | * config/v850/v850-protos.h (v850_set_default_decl_attr): Don't | |
4562 | declare. | |
4563 | * config/v850/v850.c (TARGET_INSERT_ATTRIBUTES): Define. | |
4564 | (v850_set_default_decl_attr): Rename to v850_insert_attributes. | |
4565 | Adjust parameters. Make static. | |
4566 | ||
f7a4cec0 JM |
4567 | 2001-07-08 Joseph S. Myers <jsm28@cam.ac.uk> |
4568 | ||
4569 | * c-common.c (decl_attributes): Only take a single attributes | |
4570 | parameter. | |
4571 | * c-common.h (decl_attributes): Update prototype. | |
4572 | * c-decl.c (start_decl, start_function): Only take a single | |
4573 | attributes parameter. Update calls to decl_attributes. | |
4574 | (finish_struct, finish_enum): Update calls to decl_attributes. | |
4575 | (push_parm_decl): Expect unified list of attributes. Update call | |
4576 | to decl_attributes. | |
4577 | * c-parse.in (fndef, initdcl, notype_initdcl, nested_function, | |
4578 | notype_nested_function, component_declarator, | |
4579 | component_notype_declarator, label): Update calls to | |
4580 | decl_attributes. | |
4581 | (absdcl_maybe_attribute, parm, firstparm, myparm): Unify attribute | |
4582 | lists that are passed to push_parm_decl. | |
4583 | * c-tree.h (start_function, start_decl): Update prototypes. | |
4584 | * config/sh/sh-protos.h, config/sh/sh.c | |
4585 | (sh_pragma_insert_attributes): Only take a single attributes | |
4586 | parameter. | |
4587 | * config/sh/sh.h (PRAGMA_INSERT_ATTRIBUTES): Likewise. | |
4588 | * doc/tm.texi (INSERT_ATTRIBUTES): Update. | |
4589 | * objc/objc-act.c (define_decl, generate_objc_symtab_decl, | |
4590 | build_module_descriptor, generate_static_references, | |
4591 | generate_strings, build_selector_translation_table, | |
4592 | generate_descriptor_table, generate_protocols, | |
4593 | generate_ivars_list, generate_dispatch_table, | |
4594 | generate_protocol_list, generate_category, | |
4595 | generate_shared_structures, really_start_method, add_objc_decls, | |
4596 | generate_classref_translation_entry): Update calls to start_decl | |
4597 | and start_function. | |
4598 | (build_tmp_function_decl, start_method_def): Unify attribute lists | |
4599 | that are passed to push_parm_decl. | |
4600 | ||
b4c25db2 NB |
4601 | 2001-07-08 Neil Booth <neil@daikokuya.demon.co.uk> |
4602 | ||
4603 | * final.c (no_asm_to_stream): New. | |
4604 | (final_scan_insn): Use target structures for prologue ends | |
4605 | and epilogue starts. | |
4606 | * output.h (no_asm_to_stream): New. | |
4607 | * target-def.h (TARGET_ASM_FUNCTION_END_PROLOGUE, | |
4608 | TARGET_ASM_FUNCTION_BEGIN_EPILOGUE): New. | |
4609 | (TARGET_ASM_OUT): Update. | |
4610 | * target.h (struct gcc_target): New members function_end_prologue | |
4611 | and function_begin_epilogue. | |
60a97cd4 RK |
4612 | * config/1750/1750.h (ASM_OUTPUT_FUNNAM): Delete as unused. |
4613 | * config/alpha/alpha-protos.h (output_end_prologue): Delete. | |
4614 | * config/alpha/alpha.c (output_end_prologue): Rename to | |
b4c25db2 NB |
4615 | alpha_output_function_end_prologue. Use in target struct |
4616 | and make static. | |
60a97cd4 RK |
4617 | * config/alpha/alpha.h (FUNCTION_END_PROLOGUE): Delete. |
4618 | * config/ia64/ia64-protos.h (ia64_output_end_prologue): Delete. | |
4619 | * config/ia64/ia64.c (ia64_output_end_prologue): Rename to | |
b4c25db2 NB |
4620 | ia64_output_function_end_prologue. Use in target struct |
4621 | and make static. | |
4622 | (ia64_function_prologue, ia64_funciton_epilogue): Rename | |
4623 | mistyped prototypes. | |
60a97cd4 RK |
4624 | * config/ia64/ia64.h (FUNCTION_END_PROLOGUE): Delete. |
4625 | * config/m88k/m88k-protos.h (m88k_end_prologue, m88k_begin_epilogue): | |
4626 | Delete. | |
4627 | * config/m88k/m88k.c (m88k_end_prologue, m88k_begin_epilogue): Rename | |
b4c25db2 | 4628 | an use in target struct, make static. |
60a97cd4 RK |
4629 | * config/ia64/ia64.h (FUNCTION_END_PROLOGUE, FUNCTION_BEGIN_EPILOGUE): |
4630 | Delete. | |
b4c25db2 | 4631 | |
45c8268d RH |
4632 | 2001-07-08 Richard Henderson <rth@redhat.com> |
4633 | ||
4634 | * stmt.c (emit_case_nodes): Convert modes properly in low+high test. | |
4635 | ||
d5d6a58b RH |
4636 | 2001-07-08 Richard Henderson <rth@redhat.com> |
4637 | ||
4638 | * config/i386/i386.md: Remove constraints strings from define_split | |
4639 | and define_peephole2 patterns. | |
4640 | (eh_return_si, eh_return_di): Split eh_return_1 for modes. | |
4641 | (eh_return): Use them. | |
4642 | ||
7c16328b RH |
4643 | 2001-07-08 Richard Henderson <rth@redhat.com> |
4644 | ||
4645 | * doc/tm.texi (Exception Handling): New subnode of Stack and Calling. | |
4646 | Document MD_FALLBACK_FRAME_STATE_FOR. | |
4647 | ||
8dd5d49d SC |
4648 | 2001-07-07 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
4649 | ||
4650 | * config/m68hc11/m68hc11.c (m68hc11_initial_elimination_offset): | |
4651 | Take into account m68hc11_sp_correction for FRAME_POINTER_REGNUM | |
4652 | elimination. | |
4653 | * config/m68hc11/m68hc11.h (STARTING_FRAME_OFFSET): Use 0. | |
4654 | ||
13daf3c1 NC |
4655 | 2001-07-07 Nick Clifton <nickc@cambridge.redhat.com> |
4656 | ||
4657 | * config/ia64/sysv4.h (ASM_OUTPUT_LABELREF): Append # to end | |
4658 | of the label inside NAME as opposed to just the end of NAME. | |
4659 | ||
8289c43b NB |
4660 | 2001-07-07 Neil Booth <neil@daikokuya.demon.co.uk> |
4661 | ||
4662 | * config/alpha/alpha-protos.h (vms_valid_decl_attribute_p): Delete. | |
4663 | * config/alpha/alpha.c (alpha_init_machine_status, | |
4664 | alpha_mark_machine_status, alpha_free_machine_status): Delete. | |
4665 | (TARGET_VALID_DECL_ATTRIBUTE): Define for VMS. | |
4666 | (vms_valid_decl_attribute_p): Make static, conditionally compile. | |
4667 | * config/alpha/alpha.h (VALID_MACHINE_DECL_ATTRIBUTE): Delete. | |
4668 | ||
f6897b10 SS |
4669 | 2001-07-06 Stan Shebs <shebs@apple.com> |
4670 | ||
4671 | * target.h (targetm): Rename global from "target", so as not to | |
4672 | conflict with local variables. | |
4673 | * c-decl.c: Ditto. | |
4674 | * c-typeck.c: Ditto. | |
4675 | * final.c: Ditto. | |
4676 | * tree.c: Ditto. | |
4677 | * cp/decl.c: Ditto. | |
4678 | * cp/decl2.c: Ditto. | |
4679 | * cp/typeck.c: Ditto. | |
4680 | * 1750a/1750a.c: Ditto. | |
4681 | * a29k/a29k.c: Ditto. | |
4682 | * arc/arc.c: Ditto. | |
4683 | * arm/arm.c: Ditto. | |
4684 | * avr/avr.c: Ditto. | |
4685 | * clipper/clipper.c: Ditto. | |
4686 | * convex/convex.c: Ditto. | |
4687 | * d30v/d30v.c: Ditto. | |
4688 | * dsp16xx/dsp16xx.c: Ditto. | |
4689 | * elxsi/elxsi.c: Ditto. | |
4690 | * fr30/fr30.c: Ditto. | |
4691 | * h8300/h8300.c: Ditto. | |
4692 | * i370/i370.c: Ditto. | |
4693 | * i386/i386.c: Ditto. | |
4694 | * i860/i860.c: Ditto. | |
4695 | * i960/i960.c: Ditto. | |
4696 | * ia64/ia64.c: Ditto. | |
4697 | * m32r/m32r.c: Ditto. | |
4698 | * m68hc11/m68hc11.c: Ditto. | |
4699 | * m68k/m68k.c: Ditto. | |
4700 | * m88k/m88k.c: Ditto. | |
4701 | * mips/mips.c: Ditto. | |
4702 | * ns32k/ns32k.c: Ditto. | |
4703 | * pa/pa.c: Ditto. | |
4704 | * pdp11/pdp11.c: Ditto. | |
4705 | * romp/romp.c: Ditto. | |
4706 | * rs6000/rs6000.c: Ditto. | |
4707 | * sh/sh.c: Ditto. | |
4708 | * sparc/sparc.c: Ditto. | |
4709 | * vax/vax.c: Ditto. | |
4710 | * we32k/we32k.c: Ditto. | |
4711 | * doc/tm.texi: Update the manual to match. | |
4712 | ||
84fc8b47 RH |
4713 | 2001-07-06 Richard Henderson <rth@redhat.com> |
4714 | ||
4715 | * except.h (MUST_USE_SJLJ_EXCEPTIONS): Examine the value of | |
4716 | DWARF2_UNWIND_INFO not just whether it is defined. | |
4717 | ||
4531c1c7 DN |
4718 | 2001-07-06 Diego Novillo <dnovillo@redhat.com> |
4719 | ||
4720 | * combine.c (combine_simplify_rtx): Also recompute 'mode' if the | |
4721 | call to simplify_binary_operation returns a new pattern. | |
4722 | ||
39bd2948 RL |
4723 | 2001-07-06 Roman Lechtchinsky <rl@cs.tu-berlin.de> |
4724 | ||
4725 | * glimits.h (__SHRT_MAX__): New. | |
4726 | (SHRT_MIN, USHRT_MAX): Define in terms of SHRT_MAX. | |
4727 | (SHRT_MAX): Define in terms of __SHRT_MAX__. | |
4728 | ||
8fa2140d JM |
4729 | 2001-07-06 Jan van Male <jan.vanmale@fenk.wau.nl> |
4730 | ||
4731 | * alias.c (base_alias_check): Cast GET_MODE_UNIT_SIZE to int to | |
4732 | avoid warnings. | |
4733 | ||
87e08c69 RH |
4734 | 2001-07-06 Richard Henderson <rth@redhat.com> |
4735 | ||
4736 | * bitmap.c (bitmap_release_memory): Move adjacent to the | |
4737 | allocation functions. | |
4738 | (bitmap_first_set_bit, bitmap_last_set_bit): Streamline knowing | |
4739 | the implementation. Binary search for the set bit. | |
4740 | (bitmap_union_of_diff): Allocate the temporary on the stack | |
4741 | instead of using xmalloc. | |
4742 | ||
0dab343a RH |
4743 | 2001-07-06 Richard Henderson <rth@redhat.com> |
4744 | ||
4745 | * genrecog.c (validate_pattern): Warn for constraints in | |
4746 | define_{expand,split,peephole2}. Remove strict_low_part | |
4747 | before looking up match_dup. | |
4748 | ||
15c0d35d DD |
4749 | 2001-07-06 DJ Delorie <dj@redhat.com> |
4750 | ||
4751 | * doc/gcc.texi (Makefile): Rename to be a more general purpose | |
4752 | chapter about various build hints and history. Add section | |
4753 | talking about the various types of native and cross builds. | |
4754 | ||
00478a05 NB |
4755 | 2001-07-06 Neil Booth <neil@daikokuya.demon.co.uk> |
4756 | ||
4757 | * Makefile.in (final.o): Depend on target.h. | |
4758 | * final.c: Include target.h. | |
4759 | (default_function_pro_epilogue): New. | |
4760 | (final_start_function): Use target structure for function prologues. | |
4761 | (final_end_function): Use target structure for function epilogues. | |
4762 | * fold-const.c (real_hex_to_f): Constify s and p. | |
4763 | * output.h (default_function_pro_epilogue): New. | |
4764 | * real.h (real_hex_to_f): Update prototype. | |
4765 | * target-def.h (TARGET_ASM_FUNCTION_PROLOGUE, | |
4766 | TARGET_ASM_FUNCTION_EPILOGUE, TARGET_ASM_OUT): New. | |
4767 | (TARGET_INITIALIZER): Update. | |
4768 | * target.h (gcc_target): Add struct asm_out. | |
4769 | * doc/tm.texi: Update. | |
4770 | ||
4771 | config: | |
4772 | Update each arch to use TARGET_ASM_FUNCTION_PROLOGUE and | |
4773 | TARGET_ASM_FUNCTION_EPILOGUE. Move macro code to functions | |
4774 | in cpu/cpu.c, or rename old functions consistently. Take | |
4775 | a HOST_WIDE INT not an int as the SIZE parameter. Remove now | |
4776 | redundant macros and prototypes. Make new functions static. | |
4777 | ||
4778 | * 1750a/1750a.c: Similarly. | |
4779 | * 1750a/1750a.h: Similarly. | |
4780 | * a29k/a29k-protos.h: Similarly. | |
4781 | * a29k/a29k.c: Similarly. | |
4782 | * a29k/a29k.h: Similarly. | |
4783 | * arc/arc-protos.h: Similarly. | |
4784 | * arc/arc.c: Similarly. | |
4785 | * arc/arc.h: Similarly. | |
4786 | * arm/arm-protos.h: Similarly. | |
4787 | * arm/arm.c: Similarly. | |
4788 | * arm/arm.h: Similarly. | |
4789 | * avr/avr-protos.h: Similarly. | |
4790 | * avr/avr.c: Similarly. | |
4791 | * avr/avr.h: Similarly. | |
4792 | * clipper/clipper-protos.h: Similarly. | |
4793 | * clipper/clipper.c: Similarly. | |
4794 | * clipper/clipper.h: Similarly. | |
4795 | * convex/convex.c: Similarly. | |
4796 | * convex/convex.h: Similarly. | |
4797 | * d30v/d30v-protos.h: Similarly. | |
4798 | * d30v/d30v.c: Similarly. | |
4799 | * d30v/d30v.h: Similarly. | |
4800 | * d30v/d30v.md: Similarly. | |
4801 | * dsp16xx/dsp16xx-protos.h: Similarly. | |
4802 | * dsp16xx/dsp16xx.c: Similarly. | |
4803 | * dsp16xx/dsp16xx.h: Similarly. | |
4804 | * elxsi/elxsi.c: Similarly. | |
4805 | * elxsi/elxsi.h: Similarly. | |
4806 | * fr30/fr30.c: Similarly. | |
4807 | * fr30/fr30.md: Similarly. | |
4808 | * h8300/h8300-protos.h: Similarly. | |
4809 | * h8300/h8300.c: Similarly. | |
4810 | * h8300/h8300.h: Similarly. | |
4811 | * i370/i370-protos.h: Similarly. | |
4812 | * i370/i370.c: Similarly. | |
4813 | * i370/i370.h: Similarly. | |
4814 | * i386/i386.c: Similarly. | |
4815 | * i386/osf1elf.h: Similarly. | |
4816 | * i386/osfrose.h: Similarly. | |
4817 | * i860/i860-protos.h: Similarly. | |
4818 | * i860/i860.c: Similarly. | |
4819 | * i860/i860.h: Similarly. | |
4820 | * i960/i960-protos.h: Similarly. | |
4821 | * i960/i960.c: Similarly. | |
4822 | * i960/i960.h: Similarly. | |
4823 | * ia64/ia64-protos.h: Similarly. | |
4824 | * ia64/ia64.c: Similarly. | |
4825 | * ia64/ia64.h: Similarly. | |
4826 | * m32r/m32r-protos.h: Similarly. | |
4827 | * m32r/m32r.c: Similarly. | |
4828 | * m32r/m32r.h: Similarly. | |
4829 | * m68hc11/m68hc11-protos.h: Similarly. | |
4830 | * m68hc11/m68hc11.c: Similarly. | |
4831 | * m68hc11/m68hc11.h: Similarly. | |
4832 | * m68k/crds.h: Similarly. | |
4833 | * m68k/dpx2.h: Similarly. | |
4834 | * m68k/m68k-protos.h: Similarly. | |
4835 | * m68k/m68k.c: Similarly. | |
4836 | * m68k/m68k.h: Similarly. | |
4837 | * m68k/news.h: Similarly. | |
4838 | * m88k/m88k-protos.h: Similarly. | |
4839 | * m88k/m88k.c: Similarly. | |
4840 | * m88k/m88k.h: Similarly. | |
4841 | * mips/mips-protos.h: Similarly. | |
4842 | * mips/mips.c: Similarly. | |
4843 | * mips/mips.h: Similarly. | |
4844 | * ns32k/merlin.h: Similarly. | |
4845 | * ns32k/ns32k.c: Similarly. | |
4846 | * ns32k/ns32k.h: Similarly. | |
4847 | * ns32k/tek6000.h: Similarly. | |
4848 | * pa/pa-protos.h: Similarly. | |
4849 | * pa/pa.c: Similarly. | |
4850 | * pa/pa.h: Similarly. | |
4851 | * pdp11/2bsd.h: Similarly. | |
4852 | * pdp11/pdp11-protos.h: Similarly. | |
4853 | * pdp11/pdp11.c: Similarly. | |
4854 | * pdp11/pdp11.h: Similarly. | |
4855 | * romp/romp-protos.h: Similarly. | |
4856 | * romp/romp.c: Similarly. | |
4857 | * romp/romp.h: Similarly. | |
4858 | * rs6000/rs6000-protos.h: Similarly. | |
4859 | * rs6000/rs6000.c: Similarly. | |
4860 | * rs6000/rs6000.h: Similarly. | |
4861 | * rs6000/sysv4.h: Similarly. | |
4862 | * sh/sh-protos.h: Similarly. | |
4863 | * sh/sh.c: Similarly. | |
4864 | * sh/sh.h: Similarly. | |
4865 | * sparc/sparc-protos.h: Similarly. | |
4866 | * sparc/sparc.c: Similarly. | |
4867 | * sparc/sparc.h: Similarly. | |
4868 | * vax/vax.c: Similarly. | |
4869 | * vax/vax.h: Similarly. | |
4870 | * vax/vms.h: Similarly. | |
4871 | * we32k/we32k.c: Similarly. | |
4872 | * we32k/we32k.h: Similarly. | |
4873 | ||
b62c8881 JL |
4874 | Fri Jul 6 11:47:59 2001 Jeffrey A Law (law@cygnus.com) |
4875 | ||
4876 | * basic-block.h (first_insn_after_basic_block_note): Declare. | |
4877 | * flow.c (first_insn_after_basic_block_note): Define. Moved | |
4878 | from... | |
4879 | * ssa.c (first_insn_after_basic_block_note): Remove. | |
4880 | * ssa-dce.c (find_inherently_necessary): Consider BARRIERs | |
4881 | necessary. | |
4882 | (ssa_eliminate_dead_code): Properly update the CFG and PHI | |
4883 | nodes when we find a dead conditional branch. Insert BARRIERs | |
4884 | after any blocks with no successors, but which do not have | |
4885 | any BARRIERs. | |
4886 | ||
9d99ca5b ZW |
4887 | 2001-07-06 Zack Weinberg <zackw@stanford.edu> |
4888 | ||
4889 | * varray.c (varray_check_failed): Use internal_error. | |
4890 | ||
fc6aa0a9 AH |
4891 | 2001-07-05 Andrew Haley <aph@redhat.com> |
4892 | ||
4893 | * Makefile.in (LIB2_DIVMOD_FUNCS): New. | |
4894 | (LIB2FUNCS): Move divmod functions to LIB2_DIVMOD_FUNCS. | |
4895 | * mklibgcc.in: Compile LIB2_DIVMOD_FUNCS. | |
4896 | ||
6331d1c1 JM |
4897 | 2001-07-02 Jason Merrill <jason_merrill@redhat.com> |
4898 | ||
4899 | * dwarf2out.c (mem_loc_descriptor): Only look through a constant pool | |
4900 | reference if the target constant is also a SYMBOL_REF. | |
4901 | ||
7dac2f89 EC |
4902 | 2001-07-05 Eric Christopher <echristo@redhat.com> |
4903 | ||
6331d1c1 JM |
4904 | * config/mips/mips.h (MASK_MIPS3900): Remove. |
4905 | (MASK_MIPS16,MASK_NO_CHECK_ZERO_DIV,MASK_CHECK_RANGE_DIV, | |
4906 | MASK_UNINIT_CONST_IN_RODATA): Change for 3900 mask removal. | |
4907 | (TARGET_MIPS3900): Change to use mips_arch. | |
4908 | (TARGET_MIPS4000): New. | |
4909 | (TARGET_MIPS4100): New. | |
4910 | (TARGET_MIPS4300): New. | |
4911 | (TARGET_SWITCHES): Change 3900 and 4650 options to NULL. | |
4912 | (SUBTARGET_TARGET_OPTIONS): Add -march. Change help text | |
4913 | for -mipsX. | |
4914 | (GENERATE_BRANCHLIKELY): Move TARGET_MIPS3900. | |
4915 | (ISA_HAS_BRANCHLIKELY): To here. | |
4916 | (CC1_CPU_SPEC): New. | |
4917 | (CC1_SPEC): Use here. Remove 4650 and 3900 options. | |
4918 | (mips_arch_string): Declare. | |
4919 | (mips_arch): Declare. | |
4920 | (TARGET_OPTIONS): Add -march and -mtune. | |
4921 | ||
4922 | * config/mips/mips.c (mips_arch_string): New. | |
4923 | (mips_arch): New. | |
4924 | (override_options): Handle -march for codegen and -mtune | |
4925 | for scheduling. Use mips_arch. Move tx39 target default here. | |
4926 | (mips_parse_cpu): Move error message to override_options. | |
4927 | ||
4928 | * config/mips/r3900.h (TARGET_DEFAULT): Remove. | |
4929 | ||
4930 | * config/mips/mips.md: Use TARGET_MIPS4000 and TARGET_MIPS4300. | |
4931 | ||
4932 | * doc/invoke.texi (Option Summary): Add -march and -mtune entries. | |
4933 | (MIPS Options): Ditto. Change mcpu entry to historical text. | |
7dac2f89 EC |
4934 | |
4935 | 2001-07-05 H.J. Lu (hjl@gnu.org) | |
4936 | ||
4e2db584 RH |
4937 | * config/mips/mips.c (mips_parse_cpu): New function to parse |
4938 | -march=*/-mcpu=*. | |
7dac2f89 | 4939 | |
a2497896 JW |
4940 | 2001-07-05 Jim Wilson <wilson@redhat.com> |
4941 | ||
4942 | * config/ia64/lib1funcs.asm: Revert 2001-07-02 change. | |
4943 | * config/ia64/t-ia64: Likewise. | |
4944 | (LIB1ASMFUNCS): Update comment. | |
4945 | ||
9da6e781 DE |
4946 | 2001-07-05 David Edelsohn <edelsohn@gnu.org> |
4947 | ||
4948 | * doc/install.texi (Install GCC: Binaries): Fix typo. | |
4949 | ||
43a72755 SC |
4950 | 2001-07-04 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
4951 | ||
7dac2f89 EC |
4952 | * config/m68hc11/m68hc11.md ("*ashlsi3"): Operand 1 can be a memory |
4953 | reference using the stack pointer, adjust it since we push Y | |
43a72755 SC |
4954 | temporarily. |
4955 | ("*ashrsi3"): Likewise. | |
4956 | ("*lshrsi3"): Likewise. | |
4957 | ||
35f0a736 SC |
4958 | 2001-07-05 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
4959 | ||
4960 | * config/m68hc11/m68hc11.h (RETURN_ADDR_RTX): Fix return address | |
4961 | when -fomit-frame-pointer is used. | |
4962 | ||
35428bb9 JO |
4963 | 2001-07-05 Jeffrey Oldham <oldham@codesourcery.com> |
4964 | ||
4965 | * flow.c: Reverse Jan Hubicka's patch of 02July2001. | |
4966 | (try_redirect_by_replacing_jump): Reverse updating properly the | |
4967 | count and frequency information. Reverse removing cc0 setter. | |
4968 | (forwarder_block_p): Reverse fixing for fallthru blocks. | |
4969 | ||
0259b07a DD |
4970 | 2001-07-05 DJ Delorie <dj@redhat.com> |
4971 | ||
4972 | * gcc.c (TARGET_OPTION_TRANSLATE_TABLE): New. | |
4973 | (translate_options): If the above is defined, use it to map | |
4974 | given options to new options. | |
4975 | * doc/tm.texi: Document it. | |
4976 | ||
081ca317 BL |
4977 | 2001-07-05 Brad Lucier <lucier@math.purdue.edu> |
4978 | Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> | |
4979 | ||
4980 | * doc/invoke.texi (Optimize Options): Document that -fgcse may | |
4981 | cause programs using computed gotos to run more slowly. | |
4982 | ||
021c4bfd RO |
4983 | 2001-07-05 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
4984 | ||
4985 | * doc/install.texi (Specific): Markup, spelling and typo fixes. | |
4986 | Fixed sorting. | |
4987 | Consistently require binutils 2.11.2, not prereleases. | |
4988 | (Specific, decstation-*): Canonicalize as mips-dec-*. | |
4989 | (Specific, i?86-*-sco3.2v5*): Remove make bootstrap requirement, | |
4990 | always necessary. | |
4991 | (Specific, m68k-altos): Removed reference to README.altos, deleted. | |
4992 | (Specific, mips-*): Reword MIPS C compiler requirements. | |
4993 | (Specific, powerpc*-*-*): New, mention --with-cpu once. | |
4994 | (Specific, sunv5): Removed, obsolete. | |
4995 | ||
aafdcfcd NS |
4996 | 2001-07-05 Nathan Sidwell <nathan@codesourcery.com> |
4997 | ||
4998 | * dwarf2out.c (output_loc_list): Use an all ones mask for | |
4999 | .text asm output and don't rely on long long | |
5000 | literals. Reformat some long lines. | |
5001 | ||
6c7f693e AJ |
5002 | 2001-07-05 Andreas Jaeger <aj@suse.de> |
5003 | ||
5004 | * doc/gcc.texi (GNU/Linux): Remove accidental re-add of GPL | |
5005 | section. | |
5006 | ||
cc260610 DB |
5007 | 2001-07-04 Daniel Berlin <dan@cgsoftware.com> |
5008 | ||
5009 | * dwarf2out.c (dwarf2out_define): Update comment. | |
5010 | (dwarf2out_undef): Ditto. | |
5011 | (dwarf2out_start_source_file): Ditto. | |
5012 | (dwarf2out_end_source_file): Ditto. | |
5013 | (dwarf2out_finish): Output DW_MACINFO_end_file for primary file, | |
5014 | since we never call the start/end debug hook for the primary file. | |
5015 | ||
cc32b876 KH |
5016 | 2001-07-04 Kazu Hirata <kazu@hxi.com> |
5017 | ||
5018 | * config/h8300/h8300.c (get_shift_alg): Remove an extra operand | |
5019 | from shll. | |
5020 | ||
dbead49c NS |
5021 | 2001-07-04 Nathan Sidwell <nathan@codesourcery.com> |
5022 | ||
5023 | * cppinit.c (remove_dup_dirs): Inform if a system include | |
4e2db584 | 5024 | directory is being reordered. |
dbead49c NS |
5025 | * doc/invoke.texi (Directory Options): GCC warns if you hide a |
5026 | system include. | |
5027 | * doc/cpp.texi (Search Paths): Likewise. | |
5028 | * doc/gcc.texi (Interoperation): Remove information about | |
5029 | -I/usr/include. | |
5030 | ||
0cf97c8b NS |
5031 | 2001-07-04 Nathan Sidwell <nathan@codesourcery.com> |
5032 | ||
5033 | * varray.h (VARRAY_TOP_GENERIC_PTR): Remove spurious parameter. | |
5034 | (VARRAY_TOP_CHAR_PTR): Likewise. | |
5035 | ||
bbed13b1 KG |
5036 | 2001-07-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
5037 | ||
5038 | * gcc.c (process_command): Don't assign elements of a const char*. | |
5039 | ||
2b1b6bf9 RK |
5040 | Wed Jul 4 13:40:02 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
5041 | ||
5042 | * emit-rtl.c (change_address): Don't abort if invalid address while | |
5043 | reload is in progress. | |
5044 | ||
84a5b4f8 DB |
5045 | 2001-07-04 Daniel Berlin <dan@cgsoftware.com> |
5046 | ||
5047 | * c-lex.c (cb_file_change): Pass line number to | |
6c7f693e | 5048 | debug_start_source_file. |
84a5b4f8 DB |
5049 | (cb_undefine): Pass correct line number to debug_undef. |
5050 | ||
5051 | * toplev.c (debug_start_source_file): Add line number to | |
5052 | parameters. Pass it along to dwarf2out_start_source_file. | |
5053 | (decode_g_option): Stop resetting debug level back to normal when | |
5054 | we change debug formats, unless the current level is | |
5055 | none. (Before, -g3 -gdwarf-2 would use debug level 2, rather than | |
5056 | 3). | |
6c7f693e | 5057 | |
84a5b4f8 DB |
5058 | * toplev.h (debug_start_source_file): Add line number to |
5059 | parameters. | |
6c7f693e | 5060 | |
2b1b6bf9 RK |
5061 | * dwarf2out.h (dwarf2out_start_source_file): Add line number to |
5062 | parameters. | |
84a5b4f8 DB |
5063 | |
5064 | * dwarf2out.c (dwarf2out_start_source_file): Add line number to | |
5065 | parameters. | |
6c7f693e | 5066 | Output debug_macinfo data for starting file if requested. |
84a5b4f8 DB |
5067 | (dwarf2out_end_source_file): Output debug_macinfo data for ending |
5068 | file if requested. | |
2b1b6bf9 RK |
5069 | (dwarf2out_define): Output debug_macinfo data for defining a macro |
5070 | if requested. | |
84a5b4f8 DB |
5071 | (dwarf2out_undef): Output debug_macinfo data for undefining a |
5072 | macro if requested. | |
5073 | (DEBUG_MACINFO_SECTION): New. DWARF2 macro info section name. | |
5074 | (DEBUG_MACINFO_SECTION_LABEL): New. DWARF2 macro info section label. | |
5075 | (macinfo_section_label): New. DWARF2 macro info section label. | |
5076 | (dwarf2out_init): If we want macro info, output the start label | |
5077 | for the section. | |
5078 | (dwarf2out_finish): If we want macro info, add a DW_AT_macro_info | |
5079 | attribute to the compilation unit die pointing to the macro info. | |
5080 | ||
5081 | 2001-07-04 Daniel Berlin <dan@cgsoftware.com> | |
5082 | ||
5083 | * dwarf2out.c (new_loc_list): Move to inside #ifdef | |
5084 | DWARF2_DEBUGGING_INFO. | |
5085 | (add_loc_descr_to_loc_list): Ditto. | |
5086 | (output_loc_list): Ditto. | |
5087 | Also, fix thinko in curr not being initialized. | |
5088 | (gen_internal_sym): Ditto. | |
6c7f693e | 5089 | |
792760b9 RK |
5090 | Wed Jul 4 13:40:02 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
5091 | ||
5092 | * emit-rtl.c (replace_equiv_address): New function. | |
5093 | * expr.h (replace_equiv_address): New declaration. | |
5094 | * explow.c (validize_mem): Call it instead of change_address and | |
5095 | also call if -fforce-addr and address is constant. | |
5096 | * expr.c: Replace more calls to change_address with adjust_address | |
5097 | and/or replace_equiv_address or to validize_mem. | |
5098 | * function.c, regmove.c, config/alpha/alpha.c: Likewise. | |
5099 | * config/arm/arm.md, config/clipper/clipper.md: Likewise. | |
5100 | * config/dsp16xx/dsp16xx.md, config/fr30/fr30.c: Likewise. | |
5101 | * config/i370/i370.md, config/i860/i860.md: Likewise. | |
5102 | * config/i960/i960.md, config/mips/mips.c: Likewise. | |
5103 | * config/mips/mips.md, config/pa/pa.md: Likewise. | |
5104 | * config/pdp11/pdp11.md, config/rs6000/rs6000.c: Likewise. | |
5105 | * config/rs6000/rs6000.md, config/sh/sh.md: Likewise. | |
5106 | ||
266aae9b KG |
5107 | 2001-07-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
5108 | ||
5109 | * bitmap.c (bitmap_union_of_diff): Don't use BITMAP_ALLOCA. | |
5110 | ||
5111 | * bitmap.h (BITMAP_ALLOCA): Don't pass alloca as an argument to a | |
5112 | function. | |
5113 | ||
0671eaf6 JM |
5114 | 2001-07-04 Joseph S. Myers <jsm28@cam.ac.uk> |
5115 | ||
5116 | * doc/include: New directory. | |
5117 | * doc/fdl.texi: Move to doc/include/fdl.texi. | |
5118 | * doc/texinfo.tex: Move to doc/include/texinfo.tex. | |
5119 | * doc/include/funding.texi, doc/include/gpl.texi: New files. | |
5120 | * doc/gcc.texi: Use funding.texi and gpl.texi. | |
5121 | * Makefile.in ($(docdir)/cpp.info, $(docdir)/gcc.info, | |
5122 | $(docdir)/cppinternals.info, cpp.dvi. gcc.dvi. cppinternals.dvi): | |
5123 | Update dependencies and use -I $(docdir)/include. | |
5124 | ||
77b6797a AG |
5125 | 2001-07-04 Anthony Green <green@redhat.com> |
5126 | ||
5127 | * config/v850/t-v850 (v850-c.o): Add missing dependencies. | |
5128 | ||
e9d21442 GP |
5129 | 2001-07-04 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
5130 | ||
5131 | * doc/install.texi (sparc64-*-*): Remove garbage. | |
5132 | ||
d2037d01 JM |
5133 | Wed Jul 4 09:07:44 2001 Jan van Male <jan.vanmale@fenk.wau.nl> |
5134 | ||
5135 | * i386.c (ix86_expand_builtin, case IX86_BUILTIN_SETPS): | |
5136 | Fix typo in last change to use adjust_address. | |
5137 | ||
37324a54 GP |
5138 | 2001-07-04 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
5139 | ||
5140 | * doc/install.texi (Specific): Update information for *-*-solaris*. | |
5141 | ||
17ab7c59 RK |
5142 | Tue Jul 3 22:33:15 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
5143 | ||
5144 | * explow.c (plus_constant_wide): Reinitialize Y for restart. | |
5145 | ||
70fb5453 SS |
5146 | 2001-07-03 Stan Shebs <shebs@apple.com> |
5147 | ||
0cf97c8b | 5148 | * config/darwin.h (SECTION_FUNCTION): Remove WAS_TEXT argument, remove |
70fb5453 SS |
5149 | case for flag_no_mach_text_sections. |
5150 | (EXTRA_SECTION_FUNCTIONS): Remove arg from uses of SECTION_FUNCTION. | |
0cf97c8b NS |
5151 | * config/darwin.c (flag_no_mach_text_sections): Remove. |
5152 | * config/darwin-protos.h (darwin_init_pragma): Remove decl. | |
70fb5453 | 5153 | |
b72f00af RK |
5154 | Tue Jul 3 15:35:52 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
5155 | ||
5156 | * explow.c (plus_constant_wide, case PLUS): Call find_constant_term | |
5157 | and avoid checking for constant as first operand. | |
5158 | * recog.c (find_constant_term_loc): No longer static. | |
5159 | (adj_offettable_operand): Delete. | |
5160 | * rtl.h (adj_offsettable_operand): Delete declaration. | |
5161 | (find_constant_term): Add declaration. | |
5162 | * caller-save.c: Replace calls to adj_offsettable_operand with calls | |
5163 | to adjust_address. | |
5164 | * config/arm/arm.c, config/c4x/c4x.c: Likewise. | |
5165 | * config/clipper/clipper.md, config/h8300/h8300.c: Likewise. | |
5166 | * config/i386/i386.c, config/i386/i386.md: Likewise. | |
5167 | * config/i860/i860.c, config/i960/i960.c: Likewise. | |
5168 | * config/i960/i960.md, config/m68hc11/m68hc11.c: Likewise. | |
5169 | * config/m68k/m68k.c, config/m68k/m68k.md: Likewise. | |
5170 | * config/m88k/m88k.md, config/mcore/mcore.c: Likewise. | |
5171 | * config/mips/mips.c, config/mips/mips.md: Likewise. | |
5172 | * config/mn10200/mn10200.c, config/mn10300/mn10300.c: Likewise. | |
5173 | * config/ns32k/ns32k.c, config/ns32k/ns32k.md: Likewise. | |
5174 | * config/pa/pa.c, config/pdp11/pdp11.c: Likewise. | |
5175 | * config/pdp11/pdp11.md, config/sh/sh.c, config/v850/v850.c: Likewise. | |
5176 | * config/vax/vax.md, config/ns32k/ns32k.c: Likewise. | |
5177 | * config/ns32k/ns32k.md: Likewise. | |
5178 | ||
3b324340 ZW |
5179 | 2001-07-03 Zack Weinberg <zackw@stanford.edu> |
5180 | ||
5181 | * rtl.c (copy_rtx): Handle 'T' format letter. | |
5182 | * gensupport.c (collect_insn_data): Likewise. | |
5183 | * print-rtl.c (print_rtx): Print 'T' slots like 's'. | |
5184 | ||
bf4eebe0 NC |
5185 | 2001-07-03 Nick Clifton <nickc@cambridge.redhat.com> |
5186 | ||
5187 | * doc/invoke.texi (Directory Options): Specifiy range for <N> in | |
5188 | -B option. Use 'dir' not 'foo' as example directory name. | |
5189 | ||
c1911346 RO |
5190 | 2001-07-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
5191 | ||
5192 | * config/i386/sol2.h (ASM_PREFERRED_EH_DATA_FORMAT): Define. | |
5193 | Fixes PRs bootstrap/3067, bootstrap/3249, bootstrap/3275. | |
5194 | ||
f89dec57 JM |
5195 | 2001-07-03 Joseph S. Myers <jsm28@cam.ac.uk> |
5196 | ||
5197 | * doc/cppinternals.texi: Improve formatting and logical markup. | |
5198 | ||
5b7c7046 AJ |
5199 | 2001-07-03 Andreas Jaeger <aj@suse.de> |
5200 | ||
5201 | * Makefile.in (insn-recog.o): Add dependency on reload.h. | |
5202 | ||
5203 | * genrecog.c (write_header): Include reload.h for prototypes in | |
5204 | insn-recog.c. | |
5205 | ||
f5f4be42 NB |
5206 | 2001-07-03 Neil Booth <neil@daikokuya.demon.co.uk> |
5207 | ||
5208 | config: | |
5209 | * i386/cygwin.h (VALID_MACHINE_DECL_ATTRIBUTE, | |
5210 | VALID_MACHINE_TYPE_ATTRIBUTE): Remove. | |
5211 | * i386/i386-protos.h (i386_pe_valid_decl_attribute_p, | |
5212 | i386_pe_valid_type_attribute_p): Add. | |
5213 | * i386/i386.c (TARGET_INITIALIZER): Override for cygwin targets. | |
5214 | * i386/winnt.c (i386_valid_decl_attribute_p): Return directly. | |
5215 | ||
ed8908e7 RK |
5216 | Mon Jul 2 21:52:19 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
5217 | ||
5218 | * explow.c (plus_constant_wide, case LO_SUM): New case. | |
5219 | (plus_constant_for_output_wide): Delete. | |
5220 | * rtl.h (plus_constant_for_output): Delete. | |
5221 | * alias.c (canon_rtx, init_alias_analysis): Call plus_constant | |
5222 | instead of plus_constant_for_output. | |
5223 | * recog.c (offsettable_address_p, adj_offsettable_operand): Likewise. | |
5224 | * config/darwin.c, config/arm/arm.c, config/m68k/m68k.c: Likewise. | |
5225 | * config/m88k/m88k.c, config/mips/mips.c, config/pa/pa.c: Likewise. | |
5226 | * config/rs6000/rs6000.c, config/sparc/sparc.c: Likewise. | |
5227 | * config/sparc/sparc.md: Likewise. | |
5228 | Convert some change_address calls to adjust_address. | |
5229 | ||
aee96fe9 JM |
5230 | 2001-07-03 Joseph S. Myers <jsm28@cam.ac.uk> |
5231 | ||
5232 | * doc/extend.texi, doc/gcc.texi, doc/invoke.texi, doc/md.texi, | |
5233 | doc/rtl.texi, doc/tm.texi: Improve formatting. Improve | |
5234 | documentation of -std and -Wwrite-strings. | |
5235 | ||
8bf4dfc2 GK |
5236 | 2001-07-02 Geoffrey Keating <geoffk@redhat.com> |
5237 | ||
5238 | * cse.c (canon_hash): Don't register registers in very small | |
5239 | register classes, as extending their lifetime might cause | |
5240 | reload to fail. | |
5241 | ||
f8d1529b JH |
5242 | Mon Jul 2 23:14:00 CEST 2001 Jan Hubicka <jh@suse.cz> |
5243 | ||
5244 | * flow.c (try_redirect_by_replacing_jump): Remove cc0 setter. | |
5245 | ||
5246 | * flow.c (forwarder_block_p): Fix for fallthru blocks. | |
5247 | (try_redirect_by_replacing_jump): Update properly the count | |
5248 | and frequency information. | |
5249 | ||
0826f1d8 JL |
5250 | Mon Jul 2 14:20:13 2001 Jeffrey A Law (law@cygnus.com) |
5251 | ||
5252 | * toplev.c (dump_file_index): Move SSA dumps just after first | |
5253 | jump dump. | |
5254 | (dump_file): Corresponding changes. | |
5255 | (rest_of_compilation): Move SSA path to just after the first | |
5256 | jump pass. | |
5257 | * doc/gcc.texi (Passes): Update due to movement of SSA path. | |
5258 | * doc/invoke.texi: Update dump file #s as they were completely | |
5259 | out of date with reality. | |
5260 | ||
918a6124 GK |
5261 | 2001-07-02 Geoffrey Keating <geoffk@redhat.com> |
5262 | ||
5263 | * doc/tm.texi (Frame Layout): Document STACK_PUSH_CODE. | |
5264 | ||
5265 | * expr.c (emit_move_insn_1): Deal with non-default | |
5266 | STACK_PUSH_CODE. | |
5267 | ||
5268 | * expr.c (emit_single_push_insn): Fix warning. | |
5269 | ||
5270 | 2001-07-02 Toshiyasu Morita <toshiyasu.morita@hsa.hitachi.com> | |
5271 | ||
5272 | * expr.c (emit_move_insn_1): Avoid modifying | |
5273 | cfun->expr->x_stack_pointer when PUSH_ROUNDING is defined. | |
5274 | ||
f4ef873c RK |
5275 | Mon Jul 2 15:33:31 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
5276 | ||
5277 | * emit-rtl.c (adjust_address): New function. | |
5278 | * expr.h (adjust_address): Add declaration. | |
5279 | * builtins.c: Replace some calls to change_address with calls to it | |
5280 | or to validize_mem. | |
5281 | * caller-save.c, dwarf2out.c, except.c, expmed.c, expr.c: Likewise. | |
5282 | * function.c, config/a29k/a29k.md, config/alpha/alpha.c: Likewise. | |
5283 | * config/arm/arm.c, config/convex/convex.c: Likewise. | |
5284 | * config/dsp16xx/dsp16xx.md, config/fr30/fr30.c: Likewise. | |
5285 | * config/i386/i386.c, config/i386/i386.md: Likewise. | |
5286 | * config/ia64/ia64.c, config/ia64/ia64.md: Likewise. | |
5287 | * config/m32r/m32r.c, config/m68k/m68k.md: Likewise. | |
5288 | * config/m88k/m88k.c, config/mips/mips.md: Likewise. | |
5289 | * config/ns32k/ns32k.c, config/rs6000/rs6000.c: Likewise. | |
5290 | * config/sh/sh.c, config/sparc/sparc.md: Likewise. | |
5291 | ||
becbcf96 JW |
5292 | 2001-07-02 Jim Wilson <wilson@redhat.com> |
5293 | ||
5294 | * config/ia64/ia64.h: Delete obsolete lib1funcs.asm comment. | |
5295 | ||
5296 | 2001-07-02 Steve Ellcey <sje@cup.hp.com> | |
5297 | ||
4e2db584 RH |
5298 | * config/ia64/t-ia64: Change LIB1ASMFUNCS to use single underscore. |
5299 | * config/ia64/lib1funcs.asm: Change macro names to match t-ia64. | |
becbcf96 | 5300 | |
a01eb545 ZW |
5301 | 2001-07-02 Zack Weinberg <zackw@stanford.edu> |
5302 | ||
5303 | * cppinit.c (lang_defaults): New table. | |
5304 | (set_lang): Just read from lang_defaults into the live options | |
5305 | structure. | |
5306 | ||
51817b10 ZW |
5307 | 2001-07-02 Zack Weinberg <zackw@stanford.edu> |
5308 | ||
5309 | * Makefile.in (doc): Depend on $(GENERATED_MANPAGES). | |
5310 | * doc/.cvsignore: Add gcc.1, cpp.1, gcov.1. | |
5311 | * doc/gcc.1, doc/cpp.1, doc/gcov.1: Removed. | |
5312 | ||
eea81d3e RO |
5313 | 2001-07-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
5314 | ||
5315 | * doc/install.texi: Various spelling and markup fixes. | |
5316 | (Installing GCC): Component specific installation instructions are | |
5317 | gone. | |
5318 | Fix reference. | |
5319 | Warn about removing old install dir in the presence of shared libs. | |
5320 | (Configuration): Invoke with options target to match configure | |
5321 | --help. | |
5322 | Consistently refer to gas, gld pathnames. | |
5323 | Invert --enable-multilib documentation. | |
5324 | Remove references to old compiler versions. | |
5325 | ||
faf041ed RK |
5326 | Mon Jul 2 12:50:51 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
5327 | ||
5328 | * flow.c (try_simplify_condjump): Fix typo in updating fallthru flags. | |
5329 | ||
213ba345 RO |
5330 | 2001-07-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
5331 | ||
5332 | * doc/install.texi (Specific, mips*-sgi-irix4): Split from IRIX 5 | |
5333 | section. | |
5334 | (Specific, mips*-sgi-irix5): Note IDO download. | |
5335 | Reworded MIPS C hints. | |
5336 | Use GNU as instead of GAS. | |
5337 | Markup fixes. | |
5338 | Removed SGI Freeware reference, IRIX 6 only. | |
5339 | (Specific, mips*-sgi-irix6): Removed ranlib caveats, obsolete. | |
5340 | Note N64 library requirement/workaround. | |
5341 | Update O32 hints. | |
5342 | Complete list of structure passing bug victims. | |
5343 | ||
b9063b3d GP |
5344 | 2001-07-02 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
5345 | ||
5346 | * doc/install.texi: Remove CVS Id. | |
5347 | ||
766890e1 AJ |
5348 | 2001-07-02 Andreas Jaeger <aj@suse.de> |
5349 | ||
5350 | * ssa-dce.c (note_inherently_necessary_set): Add unused attribute. | |
5351 | (find_inherently_necessary): Remove unused variable. | |
5352 | ||
6be77748 NS |
5353 | 2001-07-02 Nathan Sidwell <nathan@codesourcery.com> |
5354 | ||
5355 | * c-common.h (TDI_inlined): New ast dump phase. | |
5356 | (dump_flag_name): New function. | |
5357 | * c-dump.c (dump_files): Add inlined phase. | |
5358 | (dump_flag_name): Define. | |
5359 | * doc/invoke.texi (-fdump-ast-inlined): Document. | |
5360 | ||
3aa12a58 RK |
5361 | Mon Jul 2 06:29:36 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
5362 | ||
5363 | * stor-layout.c (layout_decl): Revert change to handling of alignment | |
5364 | in packed types. | |
5365 | ||
21266f81 RK |
5366 | Sun Jul 1 11:53:52 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
5367 | ||
5368 | * c-common.c (decl_attributes, case A_MODE): Don't call layout_decl | |
5369 | for FIELD_DECL. | |
5370 | ||
1cc5e432 GK |
5371 | 2001-07-01 Geoffrey Keating <geoffk@redhat.com> |
5372 | ||
5373 | * doc/tm.texi (FUNCTION_ARG): Document that the last call | |
5374 | is special. | |
5375 | ||
3746c4a2 NS |
5376 | 2001-07-01 Nathan Sidwell <nathan@codesourcery.com> |
5377 | ||
5378 | * tlink.c (recompile_files): Remove COMPILER_PATH and | |
5379 | LIBRARY_PATH from the environment. | |
5380 | ||
b8363a24 ZW |
5381 | 2001-07-01 Zack Weinberg <zackw@stanford.edu> |
5382 | ||
5383 | * c-common.h (enum rid): Add RID_FIRST_AT, RID_LAST_AT, | |
5384 | RID_LAST_PQ. Move RID_FIRST_PQ down with the other FIRST/LAST | |
5385 | enumerators. | |
5386 | (OBJC_IS_AT_KEYWORD, OBJC_IS_PQ_KEYWORD): New macros. | |
5387 | ||
5388 | * c-parse.in (OBJC_STRING): Kill. | |
5389 | (objc_string): Decompose to [objc_string] '@' STRING. | |
5390 | (reswords): Take the leading '@' off all the Objective C keywords. | |
5391 | (objc_rid_sans_at): Kill. | |
5392 | (init_reswords): Don't initialize it. | |
5393 | (yylexname): Use OBJC_IS_AT_KEYWORD and OBJC_IS_PQ_KEYWORD. | |
5394 | (_yylex): Kill reconsider label. Look ahead one token after | |
5395 | an '@'; if we get an identifier, check whether it's an | |
5396 | Objective C @-keyword. If so, return the keyword. Otherwise, | |
5397 | put back the token and return the '@' as a terminal. | |
5398 | ||
5399 | * cpplib.c (lex_macro_node): Remove unnecessary check for | |
5400 | leading '@' on identifier. Clarify control flow and commentary. | |
5401 | ||
be8ac49a RK |
5402 | Sun Jul 1 11:53:52 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
5403 | ||
5404 | * cse.c (new_label_ref): Variable deleted. | |
5405 | (insert): Remove set of new_label_ref. | |
5406 | (check_for_label_ref): New function. | |
5407 | (cse_basic_block): Don't check new_label_ref; call check_for_label_ref. | |
5408 | ||
528aeb48 | 5409 | See ChangeLog.5 for earlier changes. |