]>
Commit | Line | Data |
---|---|---|
3916d6d8 RH |
1 | 2000-05-06 Richard Henderson <rth@cygnus.com> |
2 | ||
3 | * Makefile.in (gensupport.o): Compile for the host. | |
4 | (host-prefix gensuuprt.o): Remove. | |
5 | (genflags.o): Depend on gensupport.h and OBSTACK_H. | |
6 | (genattrtab.o): Likewise. | |
7 | (gencodes.o): Depend on gensupport.h. | |
8 | (genemit.o, genopinit.o, genrecog.o, genextract.o): Likewise. | |
9 | (genpeep.o, genattr.o, genoutput.o): Likewise. | |
10 | ||
11 | * gensupport.c (obstack, rtl_obstack): New. | |
12 | (init_md_reader): Initialize rtl_obstack. | |
13 | * gensupport.h (rtl_obstack): Declare. | |
14 | (message_with_line): Declare. | |
15 | ||
16 | * genattr.c: Remove all traces of obstack manipulation. | |
17 | * gencodes.c, genconfig.c, genemit.c, genextract.c: Likewise. | |
18 | * genopinit.c, genoutput.c, genpeep.c, genrecog.c: Likewise. | |
19 | ||
20 | * genattrtab.c (obstack, rtl_obstack): Remove. | |
21 | (main): Don't init rtl_obstack. | |
22 | * genflags.c: Likewise. | |
23 | ||
24 | * genrecog.c (message_with_line): Move ... | |
25 | * gensupport.c: ... here. | |
26 | ||
6efd8160 RH |
27 | 2000-05-06 Richard Henderson <rth@cygnus.com> |
28 | ||
29 | * c-typeck.c (build_c_cast): Remove dead code. | |
30 | ||
6482ee51 RH |
31 | 2000-05-06 Richard Henderson <rth@cygnus.com> |
32 | ||
33 | * flow.c (split_edge): Don't allocate global_live_at_start for | |
34 | the new block unless the old blocks had them as well. | |
35 | ||
507741dd RH |
36 | * flow.c (mark_set_1): Respect not_dead when updating reg_live. |
37 | ||
65189757 | 38 | * ifcvt.c (noce_process_if_block): Don't use an insn_b from |
02a749ec | 39 | test_bb if a or b uses x. |
65189757 | 40 | |
8784fdcd ZW |
41 | 2000-05-06 Zack Weinberg <zack@wolery.cumb.org> |
42 | ||
43 | * cpphash.h: Remove conditional #define of __extension__. | |
44 | * rtl.h: Add __extension__ to RTL_CHECK1, RTL_CHECK2, | |
45 | RTL_CHECKC1, RTL_CHECKC2, and RTVEC_ELT macros | |
46 | (ENABLE_RTL_CHECKING only). | |
47 | * tree.h: Add __extension__ to TREE_CHECK, TREE_CLASS_CHECK, | |
48 | CST_OR_CONSTRUCTOR_CHECK, and EXPR_CHECK macros | |
49 | (ENABLE_TREE_CHECKING only). | |
50 | * varray.h: Add __extension__ to VARRAY_CHECK macro | |
51 | (ENABLE_CHECKING only). | |
52 | ||
0616531f RE |
53 | 2000-05-06 Richard Earnshaw (reanrsha@arm.com) |
54 | ||
55 | Use new tail-calling mechanism on ARM. | |
56 | * arm.md (sibcall, sibcall_value): New expands. | |
57 | (sibcall_insn, sibcall_value_insn, sibcall_epilogue): New insns. | |
58 | (tailcalling peepholes): Delete. | |
59 | (push_multi): Simplify. | |
60 | * arm.c (lr_save_eliminated): Delete definition. | |
61 | (pattern_really_clobbers_lr, function_really_clobbers_lr): Delete. | |
62 | (output_return_instruction): Remove checks on lr_save_eliminated. | |
63 | (output_arm_prologue): Remove old tail-calling code. | |
64 | (arm_output_epilogue): New parameter, really_return. All callers | |
65 | changed. Handle tail-calling epilogues. | |
66 | * arm.h (lr_save_eliminated): Delete declaration. | |
67 | (frame_pointer_needed): Delete declaration. | |
68 | * arm-protos.h (arm_output_epilogue): Adjust prototype. | |
69 | ||
70 | * arm.md (is_thumb): Examine symbol thumb_code, not expression | |
71 | TARGET_ARM. | |
72 | * arm.c (thumb_code): Define it. | |
73 | (arm_override_options): Set it. | |
74 | * arm.h (thumb_code): Declare it. | |
75 | ||
ac670723 RE |
76 | 2000-05-06 Richard Earnshaw (reanrsha@arm.com) |
77 | ||
78 | * arm-protos.h (arm_dllexport_name_p, arm_dllimport_name_p): Constify. | |
79 | ||
41e3f998 RE |
80 | 2000-05-06 Richard Earnshaw (reanrsha@arm.com) |
81 | ||
82 | * arm.c (arm_gen_load_multiple, arm_gen_store_mulitple): Don't add | |
83 | bogus clobber to insns. | |
84 | (load_multiple_operation, store_mulitple_operation): Don't check | |
85 | for it. | |
86 | * arm.md (ldmsi_postinc, stmsi_postinc): Adjust accordingly. | |
87 | ||
88 | * arm.md (and_scc, ior_scc): Add missing mode. | |
89 | ||
90 | * arm.md (call_value_symbol): Remove predicate from op2. | |
91 | ||
ad027eae RE |
92 | * arm.h (SPECIAL_MODE_PREDICATES): Define. |
93 | ||
296b4ed9 RK |
94 | Sat May 6 06:25:56 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
95 | ||
96 | * expr.c (get_subtarget): New function. | |
97 | (force_operand, expand_expr, do_store_flag): Use it. | |
98 | ||
99 | * toplev.c (compile_file): Don't take strlen of NAME if null. | |
100 | ||
53cd5d6c DE |
101 | 2000-05-06 David Edelsohn <edelsohn@gnu.org> |
102 | ||
103 | * xcoffout.c (xcoff_current_include_file, | |
104 | xcoff_current_function_file, xcoff_lastfile): Constify char *. | |
105 | (xcoffout_source_file, xcoffout_source_line): Make filename 'const | |
106 | char *'. | |
107 | (xcoffout_declare_function): Make name 'const char *'. | |
108 | (xcoffout_end_epilogue): Make fname 'const char *' | |
109 | * xcoffout.h (xcoff_current_include_file, xcoff_lastfile, | |
110 | xcoffout_declare_function, xcoffout_source_line): Match above. | |
111 | ||
112 | * aix43.h (SUBTARGET_OVERRIDE_OPTIONS): -mpowerpc64 without | |
113 | -maix64 is error. | |
114 | * rs6000.c (print_operand): Fix lossage typo. | |
115 | (output_cbranch): Remove "cr" decoration for now. | |
116 | * rs6000.h (ASM_OUTPUT_DEF_FROM_DECLS): Make alias 'const char *'. | |
117 | ||
042575e9 DC |
118 | Sat May 6 06:55:32 2000 Denis Chertykov <denisc@overta.ru> |
119 | ||
120 | * config/avr/avr.c (out_shift_with_cnt): Bugfix for shift by | |
121 | constant count. | |
122 | ||
b1a0b75d BK |
123 | 2000-05-05 Bruce Korb <bkorb@gnu.org> |
124 | ||
125 | * fixinc/genfixes: Improve the matching for make target names | |
126 | ||
d20a70b4 CM |
127 | 2000-05-05 Catherine Moore <clm@cygnus.com> |
128 | ||
129 | * c-common.c (decl_attributes): For TYPE_DECLs attach the | |
130 | attribute to the decl. | |
131 | * c-decl.c (pushdecl): Propagate the USED attribute to the | |
132 | type copy. | |
133 | ||
37ceff9d RH |
134 | 2000-05-05 Richard Henderson <rth@cygnus.com> |
135 | ||
136 | * rtlanal.c (reg_overlap_mentioned_p): Treat parallels in the | |
137 | same way emit_group_load does. | |
138 | ||
1a8bb3dd JL |
139 | 2000-05-05 Mark Elbrecht <snowball3@bigfoot.com> |
140 | ||
4ebe197a ME |
141 | * gcc.c (set_input) [HAVE_DOS_STYLE_FILE_SYSTEM]: Skip drive name. |
142 | ||
1a8bb3dd JL |
143 | * toplev.c (output_file_directive): Use IS_DIR_SEPARATOR. |
144 | (main): Likewise. | |
145 | ||
146 | 2000-05-05 Rodney Brown <RodneyBrown@mynd.com> | |
d8bea1c6 RB |
147 | |
148 | * pa.h (FUNCTION_ARG_ADVANCE): Warning removal. | |
149 | ||
6a0177c5 ME |
150 | Fri May 5 10:29:21 2000 Marc Espie <espie@cvs.openbsd.org> |
151 | ||
152 | * config/openbsd.h (LINK_SPEC): pass correct flags to ld | |
153 | to support -shared, on platforms with dynamic libraries. | |
154 | ||
be3dad6f PDM |
155 | Fri May 5 10:27:06 2000 Philippe De Muyter <phdm@macqel.be> |
156 | ||
157 | * system.h (S_ISBLK): Provide fallback definition. | |
158 | ||
eda3fbbe GB |
159 | 2000-05-05 Geoff Berry <geoffb@bops.com> |
160 | ||
161 | * extend.texi (Extended Asm): Document inability to give asm | |
162 | statements access to condition codes. | |
163 | ||
4edee0e6 MM |
164 | 2000-05-05 Marek Michalkiewicz <marekm@linux.org.pl> |
165 | ||
166 | * varasm.c (asm_emit_uninitialised): Use 0, not NULL | |
167 | as arg 2 of UNIQUE_SECTION. | |
168 | ||
cde9b87d JL |
169 | Fri May 5 10:11:41 2000 Jeffrey A Law (law@cygnus.com) |
170 | ||
171 | * predict.c: Remove May 4 change. | |
172 | * bb-reorder.c (make_reorder_chain): Do not perform block movement | |
173 | if we have predicted the branch at 50-50 probability. | |
174 | ||
ad3958e7 RH |
175 | 2000-05-05 Richard Henderson <rth@cygnus.com> |
176 | ||
177 | * flow.c (init_propagate_block_info): Fix merge error | |
178 | in HAVE_conditional_execution code. | |
179 | ||
180 | Fri May 5 07:43:50 2000 Denis Chertykov <denisc@overta.ru> | |
0db7ad3a DC |
181 | |
182 | * config/avr/avr.c (out_shift_with_cnt): Genetare a more optimal | |
183 | shift cycle for unknown shift count. Also generates dec + brpl. | |
184 | (ashlqi3_out): Don't generate dec + brpl which now generates by | |
185 | `out_shift_with_cnt'. | |
186 | (ashlhi3_out): Likewise. | |
187 | (ashlsi3_out): Likewise. | |
188 | (ashrqi3_out): Likewise. | |
189 | (ashrhi3_out): Likewise. | |
190 | (ashrsi3_out): Likewise. | |
191 | (lshrqi3_out): Likewise. | |
192 | (lshrhi3_out): Likewise. | |
193 | (lshrsi3_out): Likewise. | |
194 | ||
ba40970f ME |
195 | 2000-05-04 Mark Elbrecht <snowball3@bigfoot.com> |
196 | ||
197 | * gcc.c (free_split_directories): Correct typo in explanation | |
198 | of make_relative_prefix. | |
199 | ||
fce91820 GK |
200 | 2000-05-04 Geoff Keating <geoffk@cygnus.com> |
201 | ||
202 | * config/rs6000/rs6000.h (PREDICATE_CODES): Add floating-point | |
203 | comparison codes to branch_comparison_operator. | |
204 | ||
8eeb3159 RH |
205 | 2000-05-04 Richard Henderson <rth@cygnus.com> |
206 | ||
207 | * ifcvt.c (noce_process_if_block): Always reset X in the A == B case. | |
208 | ||
00447f7d RH |
209 | 2000-05-04 Richard Henderson <rth@cygnus.com> |
210 | ||
211 | * Makefile.in (FPBIT_FUNCS): Remove _df_to_usi. | |
212 | (DPBIT_FUNCS): Remove _sf_to_usi. | |
213 | (stmp-multilib): Pass LIB1ASMSRC to libgcc.mk. | |
214 | ||
215 | * ifcvt.c (noce_process_if_block): Fail if A or B modified | |
216 | between condition and jump. | |
217 | ||
218 | * libgcc2.c (near eh_context_specific): Comment #endif string. | |
219 | * longlong.h: Don't use strings with embedded newlines. | |
220 | ||
12a4e8c5 GK |
221 | 2000-05-04 Geoff Keating <geoffk@cygnus.com> |
222 | ||
223 | * config/rs6000/rs6000-protos.h: Add output_cbranch. | |
224 | * config/rs6000/rs6000.c (ccr_bit_negated_p): Delete. | |
225 | (print_operand): Delete %t and %T codes. | |
226 | (output_cbranch): New function. Support branch prediction. | |
227 | * config/rs6000/rs6000.md: Use output_cbranch for | |
228 | conditional branches and returns. | |
229 | ||
f9e158c3 JM |
230 | 2000-05-04 Jason Merrill <jason@casey.cygnus.com> |
231 | ||
232 | * simplify-rtx.c (simplify_ternary_operation): Cast to unsigned. | |
233 | * stor-layout.c (place_field): Likewise. | |
234 | * integrate.h (struct inline_remap): Make regno_pointer_align unsigned. | |
235 | * expr.c (store_expr): Make align unsigned. | |
236 | * explow.c (plus_constant_wide): Make low words unsigned. | |
237 | * expmed.c (choose_multiplier): Likewise. | |
238 | * fold-const.c (fold): Likewise. | |
239 | * tree.h (build_int_2): Likewise. | |
240 | * tree.c (build_int_2_wide, tree_int_cst_msb): Likewise. | |
241 | * emit-rtl.c (gen_reg_rtx): Add cast to unsigned char*. | |
242 | (init_emit): Change cast to unsigned char*. | |
243 | * varasm.c (compare_constant_1): Add cast to char*. | |
244 | * gcse.c (delete_null_pointer_checks): Change cast to unsigned int*. | |
245 | * reload1.c (reload): Likewise. | |
246 | ||
247 | * rtl.h (MEM_SET_IN_STRUCT_P): Use do { } while (0). | |
248 | ||
926fd2e1 JL |
249 | Thu May 4 14:37:23 2000 Jeffrey A Law (law@cygnus.com) |
250 | ||
251 | * predict.c (estimate_probability): If no prediction was found, then | |
252 | predict the successor that is the next physical block (if such a | |
253 | successor exists). | |
254 | ||
18b554cb RH |
255 | 2000-05-04 Richard Henderson <rth@cygnus.com> |
256 | ||
257 | * config/alpha/t-alpha (LIB2FUNCS_EXTRA): Use qrrnd.asm in place. | |
258 | ||
7a98f269 KG |
259 | 2000-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
260 | ||
261 | * system.h: Don't wrap <sys/types.h> with HAVE_SYS_TYPES_H. | |
262 | ||
d34cba2b MK |
263 | 2000-05-04 Mumit Khan <khan@xraylith.wisc.edu> |
264 | ||
2afc3e47 MK |
265 | * i386/cygwin.h (CPP_PREDEFINES): Don't define __STDC__. Move |
266 | attribute macros from here ... | |
267 | (CPP_SPEC): to here. | |
268 | * i386/mingw32.h (CPP_PREDEFINES): Likewise. | |
269 | (CPP_SPEC): Likewise. | |
270 | * i386/crtdll.h (CPP_PREDEFINES): Delete attribute macros. | |
271 | ||
d34cba2b MK |
272 | * Makefile.in ($(HOST_PREFIX_1)gensupport.o): Add build rule. |
273 | (libgcc.a): Pass LIB1ASMSRC to libgcc.mk. | |
274 | ||
36244024 KG |
275 | 2000-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
276 | ||
277 | * bb-reorder.c (get_next_bb_note, get_prev_bb_note): Prototype. | |
278 | ||
279 | * diagnostic (vbuild_message_string, build_message_string, | |
280 | build_location_prefix, output_get_prefix, init_output_buffer, | |
281 | output_notice, vline_wrapper_message_with_location, | |
282 | v_message_with_decl, default_print_error_function): De-constify. | |
283 | (set_real_maximum_length): Prototype. | |
284 | ||
285 | * diagnostic.h (struct output_buffer, init_output_buffer, | |
286 | output_get_prefix, output_set_prefix): De-constify. | |
287 | ||
288 | * function.c (init_function_start): Constify. | |
289 | ||
290 | * gensupport.c (remove_constraints, process_rtx): Prototype. | |
291 | ||
292 | * gthr-posix.h: Indent uses of #pragma. | |
293 | ||
294 | * objc/objc-act.c (ggc_mark_imp_list, ggc_mark_hash_table): | |
295 | Prototype. | |
296 | ||
297 | * predict.c (find_expected_value): Delete prototype. | |
298 | (expected_value_to_br_prob): Initialize variable `ev_reg'. | |
299 | ||
300 | * sbitmap.h (debug_sbitmap): Prototype. | |
301 | ||
302 | * ssa.c (compute_coalesced_reg_partition): Prototype. | |
303 | ||
304 | * stor-layout.c (debug_rli): Prototype. | |
305 | ||
306 | * tree.h (round_down): Prototype. | |
307 | (init_function_start): Constify. | |
308 | ||
57c578a6 ZW |
309 | 2000-05-04 Zack Weinberg <zack@wolery.cumb.org> |
310 | ||
311 | * cpphash.h: #define __extension__ away if GCC_VERSION < 2095 | |
312 | (overly conservative). Change extern inline wrappers to | |
313 | static inline, define them always, use PARAMS properly. | |
314 | * cpplex.c (_cpp_get_directive_token): Don't issue pedantic | |
315 | whitespace warnings for \f and \v at the beginning of a line. | |
316 | ||
4e95db71 JL |
317 | Thu May 4 10:03:50 2000 Jeffrey A Law (law@cygnus.com) |
318 | ||
319 | * haifa-sched.c (schedule_insns): Free the flow edge list when it | |
320 | is no longer needed | |
321 | ||
72b9c7fb BK |
322 | 2000-05-04 Bruce Korb <bkorb@gnu.org> |
323 | ||
324 | * fixincl/inclhack.def: added broken_cabs - | |
325 | Remove `extern double cabs' declarations from math.h | |
326 | * fixincl/inclhack.sh: regen | |
327 | * fixincl/fixincl.x: regen | |
6b151aa7 BK |
328 | * fixincl/fixincl.c: Remove BOGOSITY code |
329 | * fixincl/mkfixinc.sh: Remove code for installing "shell" version | |
72b9c7fb | 330 | |
bf49b139 RK |
331 | Thu May 4 09:45:12 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
332 | ||
333 | * rtl.h (MEM_COPY_ATTRIBUTES): Also copy RTX_UNCHANGING_P and | |
334 | MEM_ALIAS_SET. | |
335 | * alias.c (canon_rtx): Don't copy RTX_UNCHANGING_P or MEM_ALIAS_SET | |
336 | when calling MEM_COPY_ATTRIBUTES. | |
337 | * emit-rtl.c (operand_subword, change_address): Likewise. | |
338 | * explow.c (stabilize): Likewise. | |
339 | * expr.c (protect_from_queue, emit_move_insn_1): Likewise. | |
340 | * integrate.c (copy_rtx_and_substitute): Likewise. | |
341 | * combine.c (combine_simplify_rtx): Don't copy RTX_UNCHANGING_P | |
342 | when calling MEM_COPY_ATTRIBUTES. | |
343 | (make_extraction, simplify_shift_const, gen_lowpart_for_combine): | |
344 | Likewise. | |
345 | * cse.c (gen_lowpart_if_possible): Likewise. | |
346 | * function.c (fixup_var_refs_1, purge_addressof_1): Likewise. | |
347 | * optabs.c (gen_move_insn): Likewise. | |
348 | * recog.c (validate_replace_rtx_1): Likewise. | |
349 | * simplify-rtx.c (add_mem_for_addr): Likewise. | |
350 | * stmt.c (expand_anon_union_decl): Likewise. | |
351 | * config/arm/arm.md: Likewise. | |
352 | * config/h8300/h7300.c (fix_bit_operand): Likewise. | |
353 | * config/m88k/m88k.c (legitimize_address, block_move_loop): Likewise. | |
354 | (block_move_no_loop, block_move_sequence): Likewise. | |
355 | * config/rs6000/rs6000.c (expand_block_move_mem): Likewise. | |
356 | * config/alpha/alpha.c (get_aligned_mem): Likewise. | |
357 | Clear MEM_ALIAS_SET. | |
358 | * final.c (alter_subreg): Don't copy MEM_ALIAS_SET when calling | |
359 | MEM_COPY_ATTRIBUTES. | |
360 | ||
5b8714bf RL |
361 | 2000-05-03 Robert Lipe <robertlipe@usa.net> |
362 | ||
363 | * configure.in (i[34567]86-*-isc*) [tmake_file]: Add t-i386bare | |
364 | to suppress libgcc1. | |
365 | (i[34567]86-*-sco3.2v5*) Likewise. | |
366 | (i[34567]86-*-sco3.2v4*) Likewise. | |
367 | (i[34567]86-*-sco) Likewise. | |
368 | (i[34567]86-*-solaris2) Likewise. | |
369 | (i[34567]86-*-sysv5*) Likewise. | |
370 | (i[34567]86-*-sysv4*) Likewise. | |
371 | (i[34567]86-*-udk*) Likewise. | |
372 | (i[34567]86-*-sysv*) Likewise. | |
373 | ||
12cf91fe ZW |
374 | 2000-05-03 Zack Weinberg <zack@wolery.cumb.org> |
375 | ||
376 | * cpphash.h (U): New define, to correct type of string constants. | |
377 | (ustrcmp, ustrncmp, ustrlen, uxstrdup, ustrchr): New wrapper | |
378 | routines, to do casts when passing unsigned strings to libc. | |
379 | * cppexp.c, cppfiles.c, cpphash.c, cppinit.c, cpplib.c: Use them. | |
380 | ||
381 | * cppfiles.c (_cpp_execute_include): Make filename an U_CHAR *. | |
382 | * cpphash.c (_cpp_quote_string): Make string an U_CHAR *. | |
383 | * cppinit.c (dump_special_to_buffer): Make macro name an U_CHAR *. | |
384 | * cpplex.c (parse_ifdef, parse_include, validate_else): Make | |
385 | second argument an U_CHAR *. | |
386 | ||
387 | * cppinit.c (builtin_array): Make name and value U_CHAR *, add | |
388 | length field, clean up initializer. | |
389 | (ISTABLE): Add __extension__ to designated- | |
390 | initializers version. | |
391 | * cpplex.c (CHARTAB): Likewise. | |
392 | ||
393 | * mbchar.c: Add dummy external declaration to the !MULTIBYTE_CHARS | |
394 | case so the file won't be empty. | |
395 | ||
2a6fa433 JE |
396 | Wed May 3 21:01:46 2000 Jason Eckhardt <jle@cygnus.com> |
397 | ||
398 | * bb-reorder.c (struct reorder_block_def): Member succ removed. | |
399 | (REORDER_BLOCK_SUCC): Removed. | |
400 | (enum reorder_skip_type): Removed. | |
401 | (skip_insns_between_block): Renamed to skip_insns_after_block. | |
402 | Removed second argument. Removed dead code and cleaned up. | |
403 | (make_reorder_chain): Removed use of REORDER_BLOCK_SUCC. | |
404 | (reorder_basic_blocks): Remove use of REORDER_SKIP_AFTER. Removed | |
405 | second parameter to skip_insns_after_block. | |
406 | ||
1c12c179 RK |
407 | Wed May 3 13:29:54 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
408 | ||
409 | * tree.c (staticp, case LABEL_DECL): New case. | |
410 | ||
658a87e5 RH |
411 | 2000-05-03 Richard Henderson <rth@cygnus.com> |
412 | ||
413 | * Makefile.in (start.encap): Do not depend on LIBGCC1. | |
414 | ||
f4118ce9 RH |
415 | * mklibgcc1.in: Fix typo last change. |
416 | ||
6bed14c7 JM |
417 | 2000-05-03 Jason Merrill <jason@casey.cygnus.com> |
418 | ||
419 | * Makefile.in (WARN_CFLAGS): Add -pedantic -Wno-long-long. | |
420 | (LOOSE_CFLAGS): New: CFLAGS without -pedantic and -Wtraditional. | |
421 | (GCC_CFLAGS): Use it. | |
422 | (LANG_FLAGS_TO_PASS): New: SUBDIR_FLAGS_TO_PASS with LOOSE_CFLAGS. | |
423 | * cp/Make-lang.in, java/Make-lang.in, f/Make-lang.in, ch/Make-lang.in, | |
424 | objc/Make-lang.in: Use it. | |
425 | ||
122ddbf9 JT |
426 | 2000-05-03 Jason R Thorpe <thorpej@zembu.com> |
427 | ||
428 | * config/i386/i386.md (lshrqi2_cmpno): Use q not r in constraint. | |
429 | ||
efdd2c06 RH |
430 | 2000-05-03 Richard Henderson <rth@cygnus.com> |
431 | ||
432 | * mklibgcc.in: Restrict OLDCC=GCC test to native. Equate | |
433 | LIBGCC1 empty with libgcc1.null. | |
434 | ||
13393c8a JW |
435 | Wed May 3 12:55:46 2000 Jim Wilson <wilson@cygnus.com> |
436 | ||
437 | * fold-const.c (extract_muldiv, case MAX_EXPR): Don't allow signedness | |
438 | change. | |
439 | ||
a6d7adfd GM |
440 | 2000-05-03 Greg McGary <gkm@gnu.org> |
441 | ||
442 | * tree.h (tree_common): Add bounded_flag member. Remove | |
443 | inaccurate comment about number of remaining bits. | |
444 | (BOUNDED_INDIRECT_TYPE_P, BOUNDED_POINTER_TYPE_P, | |
445 | BOUNDED_REFERENCE_TYPE_P, MAYBE_BOUNDED_INDIRECT_TYPE_P, | |
446 | MAYBE_BOUNDED_POINTER_TYPE_P, MAYBE_BOUNDED_REFERENCE_TYPE_P, | |
447 | TREE_BOUNDED, TYPE_MAIN_VARIANTS_PHYSICALLY_EQUAL_P, | |
448 | TYPE_MAIN_PHYSICAL_VARIANT, TYPE_BOUNDED): New macros. | |
449 | (TYPE_QUAL_BOUNDED): New constant. | |
450 | (TYPE_QUALS): Handle bounded qualifier. | |
451 | (TREE_EXPR_QUALS, TREE_FUNC_QUALS): New macros. | |
452 | (TYPE_BOUNDED_VALUE, TYPE_BOUNDED_BASE, TYPE_BOUNDED_EXTENT, | |
453 | TYPE_BOUNDED_SUBTYPE, TYPE_UNBOUNDED_VARIANT, TYPE_POINTER_DEPTH, | |
454 | TYPE_AMBIENT_BOUNDEDNESS): New macros. | |
455 | (MAX_POINTER_DEPTH, VA_LIST_POINTER_DEPTH): New constants. | |
456 | (tree_type): Add pointer_depth member. Remove | |
457 | inaccurate comment about number of remaining bits. | |
458 | (DECL_POINTER_DEPTH): Add macro. | |
459 | (tree_decl): Add pointer_depth member. | |
460 | ||
28e801e2 DC |
461 | Wed May 3 22:52:53 2000 Denis Chertykov <denisc@overta.ru> |
462 | ||
463 | * config/avr/avr-protos.h (test_hard_reg_class): Declared. | |
464 | * config/avr/avr.c (ashrhi3_out): optimized shift by 15. | |
465 | (lshrhi3_out): Likewise. | |
466 | (ashrsi3_out): bugfix in shift by 8. | |
467 | (test_hard_reg_class): New function. | |
468 | * config/avr/avr.md: Bugfix inside conditions in peepholes. | |
469 | (ashlhi3): removed define_expand of this pattern. | |
470 | (*ashlhi3_insn): renamed to ashlhi3. | |
471 | (ashlsi3): removed define_expand of this pattern. | |
472 | (*ashlsi3_insn): renamed to ashlsi3. | |
473 | (ashrqi3): removed define_expand of this pattern. | |
474 | (*ashrqi3_insn): renamed to ashrqi3. | |
475 | (ashrhi3): removed define_expand of this pattern. | |
476 | (*ashrhi3_insn): renamed to ashrhi3. | |
477 | (ashrsi3): removed define_expand of this pattern. | |
478 | (*ashrsi3_insn): renamed to ashrsi3. | |
479 | (lshrhi3): removed define_expand of this pattern. | |
480 | (*lshrhi3_insn): renamed to lshrhi3. | |
481 | (lshrsi3): removed define_expand of this pattern. | |
482 | (*lshrsi3_insn): renamed to lshrsi3. | |
483 | ||
4bd048ef RB |
484 | 2000-05-03 Rodney Brown <RodneyBrown@pmsc.com> |
485 | ||
486 | * config/mcore/mcore.c: Replacing inclusion of "stdio,h" with | |
487 | inclusion of "system.h". | |
488 | ||
59da9a7d JW |
489 | Wed May 3 11:43:53 2000 Jim Wilson <wilson@cygnus.com> |
490 | ||
491 | * config/ia64/ia64.c (ia64_encode_section_info): Add check for | |
492 | TREE_ASM_WRITTEN. | |
493 | ||
494 | 2000-05-03 David Mosberger <davidm@hpl.hp.com> | |
495 | ||
496 | * config/ia64/ia64.c (ia64_override_options): Force -mconstant-gp | |
497 | if -mauto-pic is on. | |
498 | (ia64_epilogue_uses): Mark "gp" (r1) as used by the epilogue if | |
499 | -mconstant-gp is in effect and function-descriptors are being used | |
500 | to make indirect calls. | |
501 | * config/ia64/ia64.h (MASK_CONST_GP): New macro. | |
502 | (MASK_AUTO_PIC): Ditto. | |
503 | (TARGET_CONST_GP): Ditto. | |
504 | (TARGET_AUTO_PIC): Ditto. | |
505 | (TARGET_SWITCHES): Add -mconstant-gp and -mauto-pic options. | |
506 | (ASM_OUTPUT_DOUBLE_INT): Don't generate @fptr() if -mauto-pic or | |
507 | -mno-pic is in effect. | |
508 | (ASM_OUTPUT_XDATA_DOUBLE_INT): Ditto. | |
509 | * config/ia64/ia64.md (movdi): Use gen_load_gprel64() if | |
510 | -mauto-pic is in effect. | |
511 | (gprel64_offset): New pattern. | |
512 | (load_gprel64): Ditto. | |
513 | (call): Handle -mauto-pic like -mno-pic (don't use fptr). If | |
514 | -mconstant-gp is in effect, no need to preserve gp around direct | |
515 | calls. | |
516 | (call_value): Ditto. | |
517 | * config/ia64/linux.h (PROFILE_BEFORE_PROLOGUE): Define. | |
518 | (FUNCTION_PROFILER): Define. | |
519 | * config/ia64/sysv4.h (ASM_OUTPUT_CONSTRUCTOR): Don't generate | |
520 | @fptr() directive when -mno-pic or -mauto-pic is in effect. | |
521 | (ASM_OUTPUT_DESTRUCTOR): Ditto. | |
522 | ||
3ec83fc2 RH |
523 | 2000-05-03 Richard Henderson <rth@cygnus.com> |
524 | ||
525 | * Makefile.in (STAGESTUFF): Add libgcc libgcc.mk. | |
526 | (libgcc1.null, libgcc1.cross, libgcc1.a): Remove targets. | |
527 | (libgcc1-asm.a, libgcc1.S, libgcc2.a): Remove targets. | |
528 | (mklibgcc, libgcc.mk): New targets. | |
529 | (libgcc.a): Use libgcc.mk. | |
530 | (stmp-multilib): Likewise. | |
531 | (stmp-multilib-sub): Remove. | |
532 | (mostlyclean): Don't delete libgcc2 temp files. | |
533 | * configure.in (AC_PROG_CC_C_O): Add. | |
534 | (NO_MINUS_C_MINUS_O): Substitute it. | |
535 | (all_outputs): Add mklibgcc. | |
536 | * mklibgcc.in: New file. | |
537 | ||
8c8de5fc JM |
538 | 2000-05-03 Jason Merrill <jason@casey.cygnus.com> |
539 | ||
540 | * cppexp.c (op_t): Make an int. | |
541 | ||
542 | * rtlanal.c (dead_or_set_regno_p): Remove unused variable. | |
543 | ||
544 | * varasm.c (initializer_constant_valid_p): Fix parenthesis. | |
545 | ||
546 | * gensupport.c (process_rtx): Fix macros used. | |
547 | ||
8d6fe133 RH |
548 | 2000-05-03 Richard Henderson <rth@cygnus.com> |
549 | ||
550 | * flow.c (propagate_one_insn): Also don't PROP_REG_INFO for | |
551 | call-clobbered registers of a call. | |
552 | ||
c88c0d42 CP |
553 | Wed May 3 12:40:53 2000 Clinton Popetz <cpopetz@cygnus.com> |
554 | ||
555 | * gensupport.c: New file. | |
556 | * gensupport.h: New file. | |
557 | * Makefile.in (HOST_RTL): Depend on gensupport. | |
558 | (gensupport.o) New rule. | |
559 | * genattr.c: Use gensupport for reading .md files. | |
560 | * genattrtab.c: Ditto. | |
561 | * gencodes.c: Ditto. | |
562 | * genconfig.c: Ditto. | |
563 | * genemit.c: Ditto. | |
564 | * genextract.c: Ditto. | |
565 | * genflags.c: Ditto. | |
566 | * genopinit.c: Ditto. | |
567 | * genoutput.c: Ditto. | |
568 | * genpeep.c: Ditto. | |
569 | * genrecog.c: Ditto. | |
570 | * rtl.def (define_insn_and_split): New DEF_RTL_EXPR. | |
571 | * md.texi (Insn Splitting): Document define_insn_and_split. | |
572 | ||
18ca529b JE |
573 | Tue May 2 00:20:30 2000 Jason Eckhardt <jle@cygnus.com> |
574 | ||
3ec83fc2 RH |
575 | * flow.c (verify_flow_info): Added two more sanity checks. The |
576 | first checks that the blocks are numbered consecutively. The second | |
577 | checks that n_basic_blocks is actually equal to the number of | |
578 | basic blocks in the insn chain. | |
18ca529b | 579 | |
1920de47 ZW |
580 | 2000-05-03 Zack Weinberg <zack@wolery.cumb.org> |
581 | ||
582 | * cpplib.h: Add accessor macros for token lists. | |
583 | * cpplib.c, cpphash.c, cpplex.c: Use them. | |
584 | ||
32919a0d RK |
585 | Wed May 3 09:29:17 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
586 | ||
587 | * expr.c (expand_expr, case COMPONENT_REF): Don't check for checking | |
588 | memory usage if not in a function. | |
589 | * varasm.c (initializer_constant_valid_p, case ADDR_EXPR): Only | |
590 | return address if static. | |
591 | ||
ea49bef6 JH |
592 | Wed May 3 13:14:49 MET DST 2000 Jan Hubicka <jh@suse.cz> |
593 | ||
594 | * ifcvt.c (noce_try_cmove_arith): Use may_trap_p to thest | |
595 | whether address may trap. | |
596 | ||
3ef4c9c6 JE |
597 | Tue May 2 23:38:37 2000 Jason Eckhardt <jle@cygnus.com> |
598 | ||
3ec83fc2 RH |
599 | * bb-reorder (chain_reorder_blocks): Changed code to test for |
600 | EDGE_FALLTHRU rather than making erroneous assumption that the | |
601 | first outgoing edge is the fall-through edge. | |
3ef4c9c6 | 602 | |
4fe12442 DL |
603 | Tue May 2 18:20:31 2000 Donald Lindsay <dlindsay@hound.cygnus.com> |
604 | ||
605 | * config/mips/mips.c (mips_build_va_list,mips_va_start,mips_va_arg): new | |
606 | ABI for varargs, across all MIPS. This is incompatible because the | |
607 | va_list (__builtin_va_list) structure is different, so a compilation | |
608 | unit passing a va_list and a compilation unit being passed one, should | |
609 | both be compiled with the same ABI. (The old structure had two | |
610 | pointers, now it has three.) | |
611 | ||
f4e79153 JE |
612 | Tue May 2 19:18:43 2000 Jason Eckhardt <jle@cygnus.com> |
613 | ||
3ec83fc2 RH |
614 | * bb-reorder.c (struct reorder_block_def): Remove members end, |
615 | block_begin, and block_end. | |
616 | (REORDER_BLOCK_OLD_END): Delete. | |
617 | (REORDER_BLOCK_BEGIN): Delete. | |
618 | (REORDER_BLOCK_END): Delete. | |
619 | (chain_reorder_blocks): Remove dead code. | |
f4e79153 | 620 | |
eb6f82f7 JE |
621 | Tue May 2 17:06:53 2000 Jason Eckhardt <jle@cygnus.com> |
622 | ||
623 | * bb-reorder.c (remove_scope_notes): Check for both types of scope | |
624 | notes as the end of a basic block before deleting. | |
625 | ||
3ac79482 MK |
626 | 2000-05-02 Mumit Khan <khan@xraylith.wisc.edu> |
627 | ||
628 | * final.c (final_start_function): Fix spelling of "necessary". | |
629 | ||
64b59a80 JM |
630 | 2000-05-02 Jason Merrill <jason@casey.cygnus.com> |
631 | ||
64b59a80 JM |
632 | * toplev.c (debug_ignore_block): Return int. |
633 | * dwarf2out.c (dwarf2out_ignore_block): Likewise. | |
634 | * toplev.h, dwarf2out.h: Adjust. | |
635 | * emit-rtl.c (remove_unnecessary_notes): Test return value. | |
636 | ||
637 | * emit-rtl.c (remove_unnecessary_notes): Fix spelling of "necessary". | |
638 | * toplev.c, final.c, rtl.h: Adjust. | |
639 | ||
09fa0705 ZW |
640 | 2000-05-02 Zack Weinberg <zack@wolery.cumb.org> |
641 | ||
642 | * aclocal.m4 (gcc_AC_CHECK_PROG_VER): New macro. | |
643 | * configure.in: Look for makeinfo in the unified tree, then | |
644 | for a system makeinfo which is sufficiently new. | |
645 | * Makefile.in: If configure says makeinfo is too old, don't | |
646 | build or install Info documentation. | |
647 | ||
1ce4a39d ZW |
648 | 2000-05-02 Zack Weinberg <zack@wolery.cumb.org> |
649 | ||
650 | * cpphash.c (collect_params): Fix off-by-one error. | |
651 | (dump_hash_helper): Dump all four macro nodetypes. | |
652 | ||
9900f597 JJ |
653 | 2000-05-02 Jakub Jelinek <jakub@redhat.com> |
654 | ||
655 | * cpphash.c (trad_stringify): Adjust p after stringification as | |
656 | well. | |
657 | ||
c56c2073 ZW |
658 | 2000-05-02 Zack Weinberg <zack@wolery.cumb.org> |
659 | ||
660 | * cpplib.h (CPP_POP, parse_cleanup_t): Delete. | |
661 | (cpp_buffer): Remove cleanup, seen_eof, manual_pop members. | |
662 | ||
663 | * cppfiles.c (file_cleanup): Delete. | |
664 | * cpphash.c (macro_cleanup): Delete. | |
665 | (collect_objlike_expansion, collect_funlike_expansion, | |
666 | macarg, scan_arguments): Remove CPP_POP case. | |
667 | ||
668 | * cpplex.c (null_cleanup): Delete. | |
669 | (cpp_pop_buffer): Do the work that was done in the cleanups | |
670 | here. Call _cpp_unwind_if_stack from here. | |
671 | (_cpp_expand_to_buffer, cpp_scan_buffer_nooutput, | |
672 | cpp_scan_buffer): Run until we see CPP_EOF and the top of | |
673 | stack is the buffer _below_ the one we stacked. | |
674 | (cpp_get_token): Always pop an exhausted buffer. Return | |
675 | CPP_EOF unless it's a macro buffer. Don't call _cpp_handle_eof. | |
676 | * cpplib.c (skip_if_group): Don't call cpp_get_token to | |
677 | increment the line number. | |
678 | (_cpp_handle_eof): Rename to _cpp_unwind_if_stack. | |
679 | ||
680 | * fix-header.c (read_scan_file) [parsing getchar()]: Run until | |
681 | we see CPP_EOF and the top of stack is the buffer _below_ the | |
682 | one we stacked. | |
683 | * scan-decls.c: Likewise. | |
684 | ||
32adf8e6 AH |
685 | 2000-05-02 Andrew Haley <aph@cygnus.com> |
686 | ||
687 | * config/ia64/ia64.c (ia64_encode_section_info): Handle the case | |
688 | where this function is called for the second time on a decl that | |
689 | has had its section info changed in such a way as to move it out | |
690 | of small data/bss. | |
691 | * config/ia64/ia64.h (REDO_SECTION_INFO_P): New definition. | |
692 | ||
15ac7707 RH |
693 | 2000-05-01 Richard Henderson <rth@cygnus.com> |
694 | ||
695 | * ifcvt.c (dead_or_predicable): Set merge_bb->end to the insn before | |
696 | the sequence we're moving, not to merge_bb->head. | |
697 | ||
8be9eb00 RH |
698 | 2000-05-01 Richard Henderson <rth@cygnus.com> |
699 | ||
cf889600 RH |
700 | * configure.in (alpha*-*-linux-gnulibc1*) [tmake_file]: Remove |
701 | reference to alpha/t-linux. | |
702 | (alpha*-*-linux-gnu*): Likewise. | |
703 | * configure: Rebuild. | |
704 | ||
8be9eb00 RH |
705 | * calls.c (expand_call): Don't emit reg notes for a sibcall. |
706 | ||
1868a0d4 RH |
707 | * flow.c (calculate_global_regs_live): Skip for_each_successor_phi |
708 | if not in SSA form. | |
7aa88bcf RH |
709 | |
710 | * ifcvt.c (if_convert): Only verify_flow_info if ENABLE_CHECKING. | |
711 | ||
8eec72ec JM |
712 | 2000-05-01 Jason Merrill <jason@casey.cygnus.com> |
713 | ||
714 | * integrate.c (copy_decl_for_inlining): Copy TREE_READONLY and | |
715 | TREE_THIS_VOLATILE. | |
716 | ||
7e04d3c7 RH |
717 | 2000-05-01 Richard Henderson <rth@cygnus.com> |
718 | ||
719 | * ifcvt.c (noce_emit_cmove): Conditionally compile call to | |
720 | emit_conditional_move. | |
721 | ||
f0b0e152 JJ |
722 | 2000-05-01 Jakub Jelinek <jakub@redhat.com> |
723 | ||
724 | * config/ia64/linux.h (LINK_SPEC): Use /lib/ld-linux-ia64.so.1 | |
725 | as the dynamic linker. | |
726 | ||
cc933923 ZW |
727 | 2000-05-01 Zack Weinberg <zack@wolery.cumb.org> |
728 | ||
10e56506 ZW |
729 | * cppfiles.c (open_include_file): Open file in blocking mode. |
730 | (read_include_file): Don't fcntl(fd, F_SETFL, 0) anymore. | |
731 | Only exclude block devices and directories. | |
732 | ||
cc933923 ZW |
733 | * cpphash.c (_cpp_make_hashnode): Rename make_HASHNODE, now |
734 | static. Allocate the hashnode and its string in the same | |
735 | block of memory. | |
736 | (del_HASHNODE): Don't free h->name. | |
737 | (_cpp_lookup): If there is no entry for this string, create | |
738 | one, of type T_VOID. | |
739 | (_cpp_lookup_slot): Delete. | |
740 | * cpphash.h: Update prototypes. | |
741 | ||
742 | * cpplex.c (maybe_macroexpand): Check for hp->type == T_VOID, | |
743 | not hp == NULL. | |
744 | * cpplib.c (do_define, do_undef, do_pragma_poison, do_assert, | |
745 | do_unassert, cpp_defined): Use _cpp_lookup. Don't create a | |
746 | node here, just fill in the value field properly. "Delete" | |
747 | entries by setting the value field to T_VOID. Check for | |
748 | hp->type == T_VOID, not hp == NULL. | |
749 | ||
750 | * Makefile.in (cpplib.o): Don't depend on $(HASHTAB_H). | |
751 | * cpperror.c, cppexp.c, cpplex.c, cpplib.c: Don't include | |
752 | hashtab.h. | |
753 | ||
ed6089d6 AO |
754 | 2000-05-01 Alexandre Oliva <aoliva@cygnus.com> |
755 | ||
79e4122c AO |
756 | * config/mn10300/mn10300.c (print_operand_address): Do not add |
757 | zero to SP. | |
758 | ||
ed6089d6 AO |
759 | * config/mn10300/mn10300.c (expand_epilogue): If SP is to be |
760 | adjusted by less than 256 bytes, use ret regardless of having any | |
761 | callee-saved register to restore. | |
762 | ||
7c714ee1 LB |
763 | 2000-05-01 Laurynas Biveinis <lauras@softhome.net> |
764 | ||
765 | * tm.texi (TARGET_HAS_F_SETFLKW): Fix typo. | |
766 | ||
52e45a60 ME |
767 | 2000-05-01 Mark Elbrecht <snowball3@bigfoot.com> |
768 | ||
769 | * config/i386/djgpp.h (INT_ASM_OP): Define. | |
770 | (CPP_PREDEFINES): Rename MSDOS to __MSDOS__. | |
771 | (ASM_WEAKEN_LABEL): Define. | |
772 | (MASK_BNU210): Define. | |
773 | (SUBTARGET_SWITCHES): Define. | |
774 | (SUPPORTS_WEAK, SUPPORTS_ONE_ONLY): Define. | |
775 | (MAKE_DECL_ONE_ONLY): Define. | |
776 | (UNIQUE_SECTION_P, UNIQUE_SECTION): Define. | |
777 | ||
eb70f628 MK |
778 | 2000-05-01 Mumit Khan <khan@xraylith.wisc.edu> |
779 | ||
780 | * i386/cygwin.h (INT_ASM_OP): Define. | |
781 | ||
afd1bb91 DC |
782 | Mon May 1 18:20:06 2000 Denis Chertykov <denisc@overta.ru> |
783 | ||
784 | * config/avr/avr.c (address_cost): renamed to avr_address_cost. | |
785 | * config/avr/avr.h (ADDRESS_COST): use avr_address_cost. | |
786 | ||
368256d8 DC |
787 | Mon May 1 17:50:44 2000 Denis Chertykov <denisc@overta.ru> |
788 | ||
789 | * config/avr/avr.c (asm_file_start): output 0 as r0 and 1 as r1 in | |
790 | __tmp_reg__ and __zero_reg__ initialization. | |
791 | ||
c4686982 RH |
792 | 2000-04-30 Richard Henderson <rth@cygnus.com> |
793 | ||
5e9e738c RH |
794 | * flow.c (propagate_one_insn): Mark sets even when the insn is dead. |
795 | ||
c4686982 RH |
796 | * ifcvt.c (noce_process_if_block): Fail the conversion if X is |
797 | referenced bewteen the condition and the jump. Don't delete | |
798 | anything but the jump. | |
799 | ||
e3fdc58a JE |
800 | Sun Apr 30 22:48:24 2000 Jason Eckhardt <jle@cygnus.com> |
801 | ||
802 | * bb-reorder.c (scope_def): New struct. | |
803 | (scope_forest_info): New struct. | |
804 | (struct reorder_block_def): New member "scope". | |
805 | (REORDER_BLOCK_SCOPE): New macro. | |
806 | (relate_bbs_with_scopes): New function and prototype. | |
807 | (make_new_scope): Likewise. | |
808 | (build_scope_forest): Likewise. | |
809 | (remove_scope_notes): Likewise. | |
810 | (insert_intra_1): Likewise. | |
811 | (insert_intra_bb_scope_notes): Likewise. | |
812 | (insert_inter_bb_scope_notes): Likewise. | |
813 | (rebuild_scope_notes): Likewise. | |
814 | (free_scope_forest_1): Likewise. | |
815 | (free_scope_forest): Likewise. | |
816 | (dump_scope_forest): Likewise. | |
817 | (dump_scope_forest_1): Likewise. | |
818 | (chain_reorder_blocks): Set REORDER_BLOCK_SCOPE for new block. | |
819 | Update REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END for new | |
820 | block. | |
821 | (reorder_basic_blocks): Added calls to build_scope_scope_forest | |
822 | and remove_scope_notes before reordering is done. Added calls to | |
823 | rebuild_scope_notes, free_scope_forest, and reorder_blocks after | |
824 | after reordering is done. | |
825 | ||
4c188026 BK |
826 | 2000-40-30 Bruce Korb <bkorb@gnu.org> |
827 | ||
82c3a53e BK |
828 | * fixinc/inclhack.def: Added definitions needed by OSR5, |
829 | removed two stale entries (defined away with OLD_CPP). | |
4c188026 BK |
830 | * fixinc/inclhack.sh: regen |
831 | * fixinc/fixincl.x: regen | |
832 | ||
0ca4f243 RH |
833 | 2000-04-30 Richard Henderson <rth@cygnus.com> |
834 | ||
835 | * ifcvt.c (dead_or_predicable): Manually squeeze non-movable notes | |
836 | from the last insn in the sequence. | |
837 | ||
638d694d ZW |
838 | 2000-04-30 Zack Weinberg <zack@wolery.cumb.org> |
839 | ||
6d2c2047 ZW |
840 | * cpplex.c (cpp_idcmp): New function. |
841 | * cpplib.h: Prototype it. | |
842 | * scan_decls.c (scan_decls): Use it to inspect token names. | |
843 | * fix-header.c (read_scan_file): Likewise. Set system_header_p on | |
844 | the file being run through the preprocessor. | |
845 | (check_macro_names): Provide length of token to cpp_defined. | |
846 | ||
847 | * Makefile.in: Remove stale warning message. | |
848 | ||
638d694d ZW |
849 | * cppfiles.c (redundant_include_p): Provide length of token to |
850 | cpp_defined. | |
851 | * cpphash.c (_cpp_make_hashnode, _cpp_lookup_slot): Hash | |
852 | values are unsigned int. | |
853 | (_cpp_lookup, _cpp_lookup_slot): Do not calculate the length. | |
854 | (_cpp_lookup_slot): Do not calculate the hash, either. | |
855 | * cpphash.h: Update prototypes. | |
856 | * cpplib.c (do_define, do_undef, do_pragma_poison, do_assert): | |
857 | Hashes are unsigned int. Calculate hash here, pass by value | |
858 | to _cpp_lookup_slot. | |
859 | ||
4d0482f6 BS |
860 | 2000-04-30 Bernd Schmidt <bernds@cygnus.co.uk> |
861 | ||
862 | * simplify-rtx.c (check_value_useless): Delete function. | |
863 | (discard_useless_locs): Don't call it; manage N_USELES_VALUES counter | |
864 | by hand. | |
865 | (cselib_invalidate_regno): Likewise. | |
866 | (cselib_invalidate_mem_1): Likewise. | |
867 | (references_value_p): Recognize useless values by the fact that they | |
868 | have no locations. | |
869 | (discard_useless_values): Likewise. | |
870 | (cselib_record_set): This may turn a useless value | |
871 | into a useful one. | |
6d2c2047 | 872 | |
a5c874cb RH |
873 | 2000-04-30 Richard Henderson <rth@cygnus.com> |
874 | ||
875 | * config/d30v: New port. | |
876 | ||
877 | * configure.in (d30v-*): Set fp format. | |
878 | * configure: Rebuild. | |
879 | ||
9ec6d7ab RH |
880 | 2000-04-30 Richard Henderson <rth@cygnus.com> |
881 | ||
882 | * ifcvt.c: New file. | |
883 | * Makefile.in (OBJS): Add it. | |
884 | (ifcvt.o): New target. | |
6d2c2047 | 885 | * jump.c (jump_optimize_1): Remove all code related to if-conversion, |
9ec6d7ab RH |
886 | and conditional arithmetic. |
887 | (find_insert_position): Remove. | |
888 | * timevar.def (TV_IFCVT, TV_IFCVT2): New. | |
889 | * toplev.c (DFI_ce, DFI_ce2): New. | |
890 | (dump_file): Add ce and ce2 dumps. | |
891 | (rest_of_compilation): Run if_convert a couple o times. Set | |
892 | cse_not_expected after cse2. Don't set no_new_pseudos until | |
893 | after sched1 or recompute_reg_usage. | |
894 | ||
927b868f RH |
895 | 2000-04-30 Richard Henderson <rth@cygnus.com> |
896 | ||
897 | * config/alpha/t-crtbe (crtbegin.o): Add "-I.". | |
898 | (crtend.o, crtbeginS.o, crtendS.o): Likewise. | |
899 | ||
11ae508b RH |
900 | 2000-04-30 Richard Henderson <rth@cygnus.com> |
901 | ||
902 | * flow.c (struct reg_cond_life_info): New. | |
903 | (struct propagate_block_info): Add reg_cond_dead and reg_cond_reg. | |
904 | (init_propagate_block_info): Initialize them. | |
905 | (free_propagate_block_info): Destruct them. | |
906 | (mark_set_1): Consider conditional life before killing a register. | |
907 | (mark_regno_cond_dead): New. | |
908 | (free_reg_cond_life_info): New. | |
909 | (flush_reg_cond_reg_1, flush_reg_cond_reg): New. | |
910 | (ior_reg_cond, not_reg_cond, nand_reg_cond): New. | |
911 | (mark_used_reg): Record conditional life. | |
912 | ||
913 | * haifa-sched.c (schedule_insns): Disable death counting | |
914 | sanity check for HAVE_conditional_execution. | |
915 | ||
614f6bc1 RH |
916 | 2000-04-30 Richard Henderson <rth@cygnus.com> |
917 | ||
918 | * Makefile.in (TIMEVAR_H): New. | |
919 | (ggc-simple.o, ggc-page.o, toplev.o, timevar.o): Use it. | |
920 | (timevar.h): Remove rule. | |
921 | ||
99eb5b26 RH |
922 | 2000-04-29 Richard Henderson <rth@cygnus.com> |
923 | ||
924 | * config/alpha/crtend.asm: Use C comments instead of #. | |
925 | * config/alpha/crtbegin.asm: Likewise. Mark __dso_handle hidden. | |
926 | ||
927 | * config/alpha/elf.h (SELECT_SECTION): Treat CONSTRUCTOR like VAR_DECL. | |
928 | ||
5cebbd8d ZW |
929 | 2000-04-29 Zack Weinberg <zack@wolery.cumb.org> |
930 | ||
d2158690 ZW |
931 | * cpphash.h (enum node_type: Take out T_MCONST. |
932 | (union hashval): Move into struct hashnode. | |
933 | (struct hashnode): Pack tighter. Remove file, line, col | |
934 | members. | |
935 | * cpphash.c: Constify most of the macro-definition structures. | |
936 | (struct definition): Replace by struct object_defn | |
937 | and struct funct_defn. Put file, line, column information | |
938 | here. All users updated to match. | |
939 | (_cpp_create_definition, _cpp_macroexpand): Remove special | |
940 | case for #define WORD OTHERWORD. | |
941 | * cpplib.c (do_undef): Remove T_MCONST case. | |
942 | ||
5cebbd8d ZW |
943 | * cpphash.h: Move struct reflist, struct definition, and the |
944 | DEFINITION typedef to cpphash.c. Use 'struct definition *' in | |
945 | union hashval. _cpp_free_definition takes a HASHNODE pointer. | |
946 | * cpphash.c (_cpp_free_definition): Free data pointed to by | |
947 | MCONST, XCONST, MACRO, and FMACRO nodes properly. | |
948 | (_cpp_create_definition, del_HASHNODE): Just call | |
949 | _cpp_free_definition to clear out a hashnode. | |
950 | * cpplib.c (do_pragma_poison): Likewise. | |
951 | ||
a47944e2 AO |
952 | Sat Apr 29 12:25:17 2000 Alexandre Oliva <aoliva@cygnus.com> |
953 | ||
954 | * config/mn10300/mn10300.h (FIRST_DATA_REGNUM, | |
955 | LAST_DATA_REGNUM, FIRST_ADDRESS_REGNUM, LAST_ADDRESS_REGNUM, | |
956 | FIRST_EXTENDED_REGNUM, LAST_EXTENDED_REGNUM): New macros. | |
957 | (REGNO_SP_P): Redefine in terms of STACK_POINTER_REGNUM. | |
958 | (REGNO_DATA_P, REGNO_ADDRESS_P, REGNO_EXTENDED_P, | |
959 | REGNO_AM33_P): Redefine in terms of the new macros. | |
960 | (CONDITIONAL_REGISTER_USAGE, REGNO_REG_CLASS): Likewise. | |
961 | (FUNCTION_VALUE, LIBCALL_VALUE, FUNCTION_VALUE_REGNO_P, | |
962 | STRUCT_VALUE): Likewise. | |
963 | (STACK_POINTER_REGNUM, FRAME_POINTER_REGNUM, | |
964 | ARG_POINTER_REGNUM, STATIC_CHAIN_REGNUM): Likewise. Moved. | |
965 | ||
a2ee8430 JH |
966 | Sat Apr 29 01:18:45 MET DST 2000 Jan Hubicka <jh@suse.cz> |
967 | ||
968 | * regmove.c (struct record_stack_memrefs_data): New. | |
969 | (record_stack_memrefs): New function. | |
970 | (combine_stack_adjustments_for_block): Use it. | |
971 | ||
0c4c16df JH |
972 | Sat Apr 29 01:15:27 MET DST 2000 Jan Hubicka <jh@suse.cz> |
973 | ||
974 | * calls.c (calls_function_1): Propertly handle TREE_LIST expressions; | |
975 | use special_function_p to detect alloca. | |
976 | ||
e6746605 ME |
977 | Fri Apr 28 16:30:33 2000 Marc Espie <espie@cvs.openbsd.org> |
978 | ||
979 | * gcc.texi: Fixes for makeinfo 4.0 --html. | |
980 | ||
2f7205ff ZW |
981 | 2000-04-28 Zack Weinberg <zack@wolery.cumb.org> |
982 | ||
983 | * pcp.h: Delete file. | |
984 | ||
f40a8c03 KH |
985 | 2000-04-28 Kazu Hirata <kazu@hxi.com> |
986 | ||
987 | * h8300.c (function_epilogue): Clean up flags when the last insn | |
988 | in a function is a barrier. | |
989 | ||
e7651ec5 CD |
990 | 2000-04-28 Chris Demetriou <cgd@sibyte.com> |
991 | ||
992 | * configure.in (sparc-hal-solaris2*): protect [] glob from | |
993 | my expansion. | |
994 | (mips*-*-ecoff*, mips*-*-elf*, mips*-*-*): use MASK_ defines | |
995 | rather than hard-coded constants in target_cpu_default2. | |
996 | * configure: Regenerate. | |
997 | ||
c083cf9a JM |
998 | 2000-04-28 Jason Merrill <jason@casey.cygnus.com> |
999 | ||
1000 | * tree.c (get_callee_fndecl): Extract the initial value from | |
1001 | a readonly decl. | |
1002 | ||
e67cd9f8 RH |
1003 | 2000-04-28 Richard Henderson <rth@cygnus.com> |
1004 | ||
1005 | * varasm.c (record_constant_1): Record the CODE_LABEL when | |
1006 | taking the address of a LABEL_REF. | |
1007 | ||
ce48579b RH |
1008 | 2000-04-28 Richard Henderson <rth@cygnus.com> |
1009 | Jan Hubicka <jh@suse.cz> | |
1010 | ||
1011 | * calls.c (combine_pending_stack_adjustment_and_call): Return the | |
1012 | adjustment; don't do the stack adjust. | |
1013 | (expand_call): Call compute_argument_block_size right before | |
1014 | allocating the block; update comment; don't do alignment sanity | |
1015 | checking for sibling call; use args_size instead of | |
1016 | unadjusted_args_size before args_size is adjusted. Use | |
1017 | combine_pending_stack_adjustment_and_call to compute stack adjust | |
1018 | for must_preallocate case. | |
1019 | ||
1020 | * expr.c (push_block): Remove shadow `temp' in inner scope. | |
1021 | ||
f1f39752 JM |
1022 | 2000-04-28 Jason Merrill <jason@casey.cygnus.com> |
1023 | ||
6d2c2047 | 1024 | * toplev.c (rest_of_compilation): Call |
f1f39752 JM |
1025 | note_deferral_of_defined_inline_function even if the function |
1026 | can't be inlined. | |
1027 | ||
bb1ec1d7 SB |
1028 | 2000-04-28 Scott Bambrough <scottb@netwinder.org> |
1029 | ||
1030 | * cpplex.c (_cpp_scan_line): Fix buffer overwrite. | |
1031 | ||
d8d1d62b RH |
1032 | 2000-04-28 Richard Henderson <rth@cygnus.com> |
1033 | ||
1034 | * toplev.c (rest_of_type_compilation): Fix sdb TIMEVAR typo. | |
1035 | ||
4fbe8d07 KG |
1036 | 2000-04-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
1037 | ||
1038 | * timevar.c (init_timevar): DeANSIfy function definition. | |
1039 | ||
26026d38 AS |
1040 | 2000-04-27 Alex Samuel <samuel@codesourcery.com> |
1041 | ||
1042 | * Makefile.in (timevar.o): Depend on flags.h. | |
1043 | * timevar.c (unused_stack_instances): New variable. | |
1044 | (timevar_push): Take a timevar_stack_def from | |
1045 | unused_stack_instances if available. | |
1046 | (timevar_pop): Push the popped timevar_stack_def onto | |
1047 | unused_stack_instances. | |
1048 | (TIMEVAR_ENABLE): New macro. | |
1049 | (timevar_def): Make standalone a 1-bit field. Add field used. | |
1050 | (get_time): Rename parameter to now. Return after clearing it if | |
1051 | not TIMEVAR_ENABLE. | |
1052 | (init_timevar): Do nothing if not TIMEVAR_ENABLE. | |
1053 | (timevar_pop): Likewise. | |
1054 | (timevar_stop): Likewise. | |
1055 | (timevar_push): Likewise. Mark the timing variable as used. | |
1056 | (timevar_start): Likewise. | |
1057 | (timevar_print): Do nothing if not TIMEVAR_ENABLE. Don't print | |
1058 | timevars that were never used. | |
1059 | ||
a6496605 MM |
1060 | 2000-04-27 Mark Mitchell <mark@codesourcery.com> |
1061 | ||
6428983a | 1062 | * c-common.c (c_apply_type_quals_to_decl): REFERENCE_TYPES are |
a6496605 MM |
1063 | always TREE_READONLY. |
1064 | ||
d8b2fb52 UD |
1065 | 2000-04-27 Ulrich Drepper <drepper@cygnus.com> |
1066 | ||
1067 | * i386.h (FUNCTION_BLOCK_PROFILER_EXIT): Generate mem reference | |
1068 | for call instruction with mode QImode. | |
1069 | ||
2a9a326b AS |
1070 | 2000-04-27 Alex Samuel <samuel@codesourcery.com> |
1071 | ||
1072 | * Makefile.in (OBJS): Add timevar.o. | |
1073 | (toplev.o): Depend on timevar.h. | |
1074 | (ggc-simple.o): Likewise. | |
1075 | (ggc-page.o): Likewise. | |
1076 | (timevar.o): New rule. | |
1077 | (timevar.h): New rule. | |
1078 | ||
1079 | * timevar.h: New file. | |
1080 | * timevar.c: Likewise. | |
1081 | * timevar.def: Likewise. | |
1082 | ||
1083 | * toplev.h (gc_time, parse_time, varconst_time): Remove. | |
1084 | * toplev.c: Use timevar_push and timevar_pop instead of TIMEVAR | |
1085 | throughout. | |
1086 | (TIMEVAR): Remove macro. | |
1087 | (gc_time, parse_time, varconst_time, integration_time, jump_time, | |
1088 | cse_time, gcse_time, loop_time, cse2_time, branch_prob_time, | |
1089 | flow_time, combine_time, regmove_time, sched_time, | |
1090 | local_alloc_time, global_alloc_time, flow2_time, peephole2_time, | |
1091 | sched2_time, dbr_sched_time, reorder_blocks_time, | |
1092 | rename_registers_time, shorten_branch_time, stack_reg_time, | |
1093 | to_ssa_time, from_ssa_time, final_time, symout_time, dump_time, | |
1094 | all_time): Remove. | |
1095 | (compile_file): Don't initialize time variables. Call | |
1096 | init_timevar and start TV_TOTAL timer. Call timevar_print instead | |
1097 | of many calls to print_time. | |
1098 | (rest_of_compilation): Add timing for reload_cse_regs. | |
1099 | (get_run_time): Removed to timevar.c. | |
1100 | (print_time): Likewise. | |
1101 | (get_run_time): Implement using TV_TOTAL time variable. | |
6d2c2047 | 1102 | (print_time): Get total run time from get_run_time. |
2a9a326b AS |
1103 | * ggc-page.c (ggc_collect): Push and pop TV_GC instead of |
1104 | computing elapsed time explicitly. | |
1105 | * ggc-simple.c (ggc_collect): Likewise. | |
1106 | (gc_time): Remove declaration. | |
6d2c2047 | 1107 | |
739fb049 MM |
1108 | 2000-04-27 Mark Mitchell <mark@codesourcery.com> |
1109 | ||
1110 | * calls.c (combine_pending_stack_adjustment_and_call): New function. | |
1111 | (expand_call): Use it. | |
6d2c2047 | 1112 | |
d5827326 JH |
1113 | 2000-04-27 Jan Hubicka <jh@suse.cz> |
1114 | ||
1115 | * flow.c (mark_set_1): Handle MEMs in ZERO_EXTRACT/SIGN_EXTRACT | |
1116 | fields. | |
1117 | ||
b340d2b8 AO |
1118 | Thu Apr 27 12:47:00 2000 Alexandre Oliva <aoliva@cygnus.com> |
1119 | ||
1120 | * config/mn10300/mn10300.md (movhi): Simplify. Prefer data | |
1121 | registers. | |
1122 | ||
1b513b77 JH |
1123 | Thu Apr 27 17:33:05 MET DST 2000 Jan Hubicka <jh@suse.cz> |
1124 | ||
1125 | * function.c (epilogue_done): Pass whole insn to record_insns. | |
1126 | ||
01329426 JH |
1127 | Thu Apr 27 16:55:28 MET DST 2000 Jan Hubicka <jh@suse.cz> |
1128 | ||
1129 | * cse.c (CSE_ADDRESS_COST): Remove. | |
1130 | (find_best_addr): Add new parameter "MODE", use address_cost instead | |
1131 | of CSE_ADDRESS_COST | |
1132 | (address_cost): New. | |
1133 | (fold_rtx): Update call of find_best_addr. | |
1134 | * rtl.h (address_cost): Declare. | |
1135 | * loop.c (general_induction_var): Add new parameter "MODE", use | |
1136 | address_cost instead of ADDRESS_COST | |
1137 | (init_loop): Use address_cost instead of ADDRESS_COST. | |
1138 | (check_insn_for_givs): Update call of general_induction_var. | |
1139 | (find_mem_givs): Likewise. | |
1140 | (consec_sets_giv): Likewise. | |
1141 | * config/i386/i386.h (ADDRESS_COST): Call ix86_address_cost. | |
1142 | * i386.c (ix86_address_cost): New. | |
1143 | * i386-protos.h (ix86_address_cost): Declare. | |
1144 | ||
5e849f6e AO |
1145 | Thu Apr 27 11:45:16 2000 Alexandre Oliva <aoliva@cygnus.com> |
1146 | ||
1147 | * config/mn10300/mn10300.md (movqi): Simplify. Prefer data | |
1148 | registers. | |
1149 | ||
2a5b96fd JH |
1150 | Thu Apr 27 16:11:00 MET DST 2000 Jan Hubicka <jh@suse.cz> |
1151 | ||
1152 | * expr.c (store_expr): Use clear_storage instead of direct memset | |
1153 | libcall. | |
1154 | ||
d82704fb AO |
1155 | Thu Apr 27 10:36:51 2000 Alexandre Oliva <aoliva@cygnus.com> |
1156 | ||
1157 | * config/mn10300/mn10300.c (mn10300_address_cost): Test | |
1158 | ASHIFT, AND and LABEL_REF. | |
1159 | ||
1aaef9c1 JH |
1160 | Thu Apr 27 15:08:46 MET DST 2000 Jan Hubicka <jh@suse.cz> |
1161 | ||
1162 | * invoke.texi (-foptimize-sibling-calls): Fix. | |
1163 | ||
28b6b9b2 JH |
1164 | Thu Apr 27 14:54:22 MET DST 2000 Jan Hubicka <jh@suse.cz> |
1165 | ||
1166 | * loop.c (load_mems) Don't use hard registers for the hoisting. | |
1167 | ||
1168 | * unroll.c (unroll_loop): Avoid overflow in the n_iterations | |
1169 | calculation; rename const_equiv array in the preconditioning code | |
1170 | from loop_unroll to loop_unroll_precondition | |
1171 | ||
9785c68d RH |
1172 | 2000-04-27 Richard Henderson <rth@cygnus.com> |
1173 | ||
1174 | * flow.c (struct propagate_block_info): Remove new_dead, new_live; | |
1175 | add new_set. | |
1176 | (propagate_one_insn): Clear it. Don't update reg_live here. | |
1177 | (init_propagate_block_info): Update for pbi member changes. | |
1178 | (free_propagate_block_info): Likewise. | |
6d2c2047 | 1179 | (mark_set_1): Know that zero_extract, sign_extract, and |
9785c68d RH |
1180 | strict_low_part don't kill their argument. Alter hard subregs. |
1181 | Update new_set for non-CLOBBER sets. Update reg_live. | |
1182 | (find_auto_inc): Update reg_live, not new_dead. | |
1183 | (mark_used_reg): Update reg_live, not new_live. Examine new_set | |
1184 | to determine if the reg in question was set this insn. Only update | |
1185 | reg info with PROP_REG_INFO. | |
1186 | ||
a9f531a6 RH |
1187 | 2000-04-26 Richard Henderson <rth@cygnus.com> |
1188 | ||
1189 | * flow.c (allocate_reg_life_data): Set max_regno here ... | |
1190 | (life_analysis): ... not here. | |
1191 | ||
83a67d12 RH |
1192 | * flow.c (calculate_global_regs_live): Force stack pointer |
1193 | live at end. | |
1194 | ||
2ea64f10 RH |
1195 | 2000-04-26 Richard Henderson <rth@cygnus.com> |
1196 | ||
1197 | * jump.c (redirect_exp_1): Rework from old redirect_exp. Never | |
1198 | commit change group changes. | |
1199 | (invert_exp_1): Similarly. | |
1200 | (redirect_exp, invert_exp): Use them. | |
1201 | (redirect_jump_1): New. | |
1202 | (invert_jump_1): New. | |
1203 | (jump_optimize_1): Remove code subsumed by condexec.c. | |
1204 | * rtl.h (invert_jump_1, redirect_jump_1): Declare. | |
1205 | ||
0a2287bf RH |
1206 | 2000-04-26 Richard Henderson <rth@cygnus.com> |
1207 | ||
1208 | * rtlanal.c (dead_or_set_regno_p): Use find_regno_note. | |
1209 | ||
1210 | * genconfig.c (main): Set all HAVE_foo to 1. | |
1211 | ||
1212 | * graph.c (node_data): Use GET_NOTE_INSN_NAME instead of local array. | |
1213 | ||
4bae0b47 AS |
1214 | 2000-04-26 Alex Samuel <samuel@codesourcery.com> |
1215 | ||
1216 | * invoke.texi: Document -fssa flag. | |
1217 | ||
f134997f RH |
1218 | 2000-04-26 Richard Henderson <rth@cygnus.com> |
1219 | ||
1220 | * flow.c (count_reg_sets_1): Remove. | |
1221 | (count_reg_sets, count_reg_references): Remove. | |
1222 | (recompute_reg_usage): Implement with update_life_info. | |
1223 | Reallocate life data. | |
1224 | ||
693d9e2f RH |
1225 | 2000-04-26 Richard Henderson <rth@cygnus.com> |
1226 | ||
1227 | * flow.c (update_life_info): Consider blocks null to mean the | |
1228 | universal set. | |
1229 | (calculate_global_regs_live): Likewise. | |
1230 | (life_analysis): Do that instead of collecting all_blocks. | |
1231 | ||
56aba4a8 RH |
1232 | 2000-04-26 Richard Henderson <rth@cygnus.com> |
1233 | ||
1234 | * flow.c (tidy_fallthru_edge): Don't delete the jump when it's | |
1235 | a still-valid conditional jump. | |
1236 | ||
604617ba RH |
1237 | 2000-04-26 Richard Henderson <rth@cygnus.com> |
1238 | ||
1239 | * jump.c (invert_jump): Always invert REG_BR_PROB. Do it correctly. | |
1240 | ||
1241 | * bb-reorder.c (reorder_basic_blocks): Don't run estimate_probability. | |
1242 | * flow.c (calculate_loop_depth): Remove. | |
1243 | * output.h (calculate_loop_depth): Don't declare. | |
1244 | * toplev.c (rest_of_compilation): Expand calculate_loop_depth | |
1245 | inline; run estimate_probability at the same time. | |
1246 | ||
6777db6d NB |
1247 | 2000-04-26 Neil Booth <NeilB@earthling.net> |
1248 | ||
1249 | * cpplib.h: "~=" is not a single pp-token. | |
1250 | * cpplex.c: Correct commentary. | |
1251 | ||
b4593d17 RH |
1252 | 2000-04-26 Richard Henderson <rth@cygnus.com> |
1253 | ||
1254 | * flow.c (mark_set_1): New arguments code and flags; update all | |
1255 | callers. Track regno_first and regno_last; do HARD_REGNO_NREGS | |
1256 | test in one place. Tidy flags tests. Don't bias REG_N_REFS by | |
1257 | loop_depth when optimizing for size. Do new_dead update after | |
1258 | emitting REG_UNUSED notes. Merge mark_set_reg code. | |
1259 | (mark_set_reg): Remove. | |
1260 | (propagate_one_insn): Use mark_set_1 for call-clobbered registers; | |
1261 | arrange to not emit REG_UNUSED notes. | |
1262 | ||
443b75c9 RH |
1263 | 2000-04-26 Richard Henderson <rth@cygnus.com> |
1264 | ||
1265 | * flow.c (find_auto_inc): Use pbi->bb instead of BLOCK_FOR_INSN. | |
1266 | * ssa.c (convert_from_ssa): Don't run compute_bb_for_insn. | |
1267 | ||
292f3869 RH |
1268 | 2000-04-26 Richard Henderson <rth@cygnus.com> |
1269 | ||
1270 | * flow.c (propagate_one_insn): Break out from propagate_block. | |
1271 | (init_propagate_block_info): Likewise. | |
1272 | (free_propagate_block_info): Likewise. | |
1273 | (propagate_block): Use them. Export. | |
1274 | * basic-block.h: Declare them all. | |
1275 | ||
7f8a79ba RH |
1276 | 2000-04-26 Richard Henderson <rth@cygnus.com> |
1277 | ||
1278 | * basic-block.h (life_analysis): Declare here ... | |
1279 | * output.h: ... not here. | |
1280 | * flow.c (life_analysis): Remove nregs parameter; replace | |
1281 | remove_dead_code with flags. Remove ssa dead code check. | |
1282 | Only init alias analysis if we'll use it. | |
1283 | * reg-stack.c (reg_to_stack): Update life_analysis arguments. | |
1284 | * ssa.c (convert_to_ssa): Likewise. | |
1285 | (convert_from_ssa): Likewise. | |
1286 | * toplev.c (rest_of_compilation): Likewise. | |
1287 | ||
52294521 RH |
1288 | 2000-04-26 Richard Henderson <rth@cygnus.com> |
1289 | ||
1290 | * flow.c (flow_delete_block): Rename from delete_block. Export. | |
1291 | * basic-block.h (flow_delete_block): Declare. | |
1292 | ||
9485c46e DM |
1293 | 2000-04-26 David S. Miller <davem@redhat.com> |
1294 | ||
1295 | * optabs.c (emit_libcall_block): Verify insns with INSN_P before | |
1296 | taking a PATTERN of it. | |
1297 | ||
cfd5b8b8 NB |
1298 | 2000-04-26 <NeilB@earthling.net> |
1299 | ||
1300 | * cpplex.c (spell_other, spell_char): Remove. | |
1301 | (SPELL_CHAR): New. | |
1302 | (token_spelling, trigraph_map): Use unsigned chars. | |
1303 | (_cpp_lex_line): Tidy up the switch statement. | |
1304 | * cpplib.h: Implement spell_char with spell_string. | |
1305 | (C): New. | |
1306 | ||
466d45de | 1307 | 2000-04-26 <RodneyBrown@pmsc.com> |
6d2c2047 | 1308 | |
466d45de RB |
1309 | * pa/pa32-regs.h (HARD_REGNO_MODE_OK): Warning removal. |
1310 | * pa/pa64-regs.h (HARD_REGNO_MODE_OK): Warning removal. | |
1311 | ||
d3e3972c KG |
1312 | 2000-04-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
1313 | ||
1314 | * dwarf2out.c (dw_cfi_oprnd_struct, dw_fde_struct, add_fde_cfi, | |
1315 | reg_save, dwarf2out_frame_debug_expr, dwarf2out_def_cfa, | |
1316 | dwarf2out_window_save, dwarf2out_args_size, dwarf2out_reg_save, | |
1317 | dwarf2out_return_save, dwarf2out_return_reg, | |
1318 | dwarf2out_stack_adjust, dwarf2out_frame_debug, primary_filename, | |
1319 | add_AT_lbl_id, add_AT_lbl_offset, type_tag, decl_start_label, | |
1320 | gen_compile_unit_die, dwarf2out_init): Constify a char*. | |
1321 | ||
1322 | * dwarf2out.h (dwarf2out_init): Likewise. | |
1323 | ||
1324 | * dwarfout.c (filename_entry, primary_filename, last_filename, | |
1325 | type_tag, output_compile_unit_die, dwarfout_init): Likewise. | |
1326 | ||
1327 | * tree.h (dwarf2out_def_cfa, dwarf2out_window_save, | |
1328 | dwarf2out_args_size, dwarf2out_reg_save, dwarf2out_return_save, | |
1329 | dwarf2out_return_reg): Likewise. | |
1330 | ||
d4047e24 AJ |
1331 | 2000-04-26 Andreas Jaeger <aj@suse.de> |
1332 | ||
2ea64f10 RH |
1333 | * extend.texi (Function Attributes): Fix description of pure |
1334 | attribute. | |
d4047e24 | 1335 | |
7d2e8eff JM |
1336 | 2000-04-26 Jason Merrill <jason@casey.cygnus.com> |
1337 | ||
1338 | * integrate.c (output_inline_function): Do clear DECL_DEFER_OUTPUT | |
1339 | before calling rest_of_compilation. | |
1340 | ||
70576b75 AJ |
1341 | 2000-04-26 Andreas Jaeger <aj@suse.de> |
1342 | ||
1343 | * config/mips/linux.h: Remove erroneous commit of #if 0/#endif in | |
1344 | last patch. | |
1345 | ||
e2ee9912 RH |
1346 | 2000-04-25 Richard Henderson <rth@cygnus.com> |
1347 | ||
2ea64f10 | 1348 | * cse.c (cse_insn): Emit barrier after unconditional jump. |
369edff1 | 1349 | |
e2ee9912 RH |
1350 | * calls.c (expand_call): Disable tail call generation once |
1351 | rtx_equal_function_value_matters is false. | |
1352 | ||
1353 | * reg-stack.c (convert_regs_1): Treat EDGE_ABNORMAL_CALL edges | |
1354 | like EDGE_EH edges. | |
1355 | ||
1356 | 2000-04-25 Jason Merrill <jason@casey.cygnus.com> | |
1cfdcc15 JM |
1357 | |
1358 | * dwarf2out.c (add_bound_info): Don't crash on an unexpanded SAVE_EXPR. | |
1359 | ||
1360 | * dwarfout.c (output_decl): Ignore NAMESPACE_DECLs. | |
1361 | ||
1362 | * dwarf2out.c (gen_subprogram_die): The class-scope declaration DIE | |
1363 | is the primary DIE for a member function. | |
1364 | (gen_decl_die): Call set_decl_origin_self here. | |
1365 | * dwarfout.c (output_decl): And here. | |
1366 | * integrate.c (output_inline_function): Not here. | |
1367 | Don't clear DECL_INLINE until after calling rest_of_compilation. | |
1368 | (set_decl_origin_self): No longer static. | |
1369 | * tree.h: Add prototype. | |
1370 | * toplev.c (note_deferral_of_defined_inline_function): Only write | |
1371 | out abstract instance for actual inlines. | |
1372 | ||
d25ed420 AO |
1373 | 2000-04-25 Alexandre Oliva <aoliva@cygnus.com> |
1374 | ||
1375 | * config/mn10300/mn10300.h (REG_CLASS_FROM_LETTER): Return | |
1376 | EXTENDED_REGS only if TARGET_AM33. | |
1377 | * config/mn10300/mn10300.md (movsi, addsi): Avoid exposing | |
1378 | SP_REGS to register allocation and reloading unless absolutely | |
1379 | necessary. | |
1380 | (movsi3): Remove special-case of adding non-constants to SP. | |
1381 | ||
86cf1cbd KG |
1382 | 2000-04-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
1383 | ||
1384 | * aclocal.m4 (gcc_AC_NEED_DECLARATION): This macro now requires | |
1385 | INCLUDES to search and does not provide any of its own. Also it | |
1386 | now accepts optional ACTION-IF-NEEDED and ACTION-IF-NOT-NEEDED | |
1387 | parameters. Also it does not call AC_DEFINE. | |
1388 | (gcc_AC_NEED_DECLARATIONS): Likewise. Also this macro now calls | |
1389 | AC_DEFINE and provides for automatic entries for autoheader. | |
1390 | (gcc_AC_FUNC_PRINTF_PTR): Cleanup C code in test. | |
1391 | ||
1392 | * configure.in (gcc_AC_NEED_DECLARATIONS): Save and restore CFLAGS | |
1393 | so we can pass -I flags and include gansidecl.h/system.h in this | |
1394 | test. | |
1395 | ||
1396 | * acconfig.h: Delete all NEED_DECLARATION_* entries. | |
1397 | ||
62076024 KG |
1398 | 2000-04-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
1399 | ||
2ea64f10 | 1400 | * acconfig.h (ENABLE_STD_NAMESPACE, ENABLE_CHECKING, |
62076024 KG |
1401 | ENABLE_TREE_CHECKING, ENABLE_RTL_CHECKING, ENABLE_GC_CHECKING, |
1402 | ENABLE_GC_ALWAYS_COLLECT): Delete entries. | |
6d2c2047 | 1403 | |
2ea64f10 | 1404 | * configure.in (ENABLE_STD_NAMESPACE, ENABLE_CHECKING, |
62076024 KG |
1405 | ENABLE_TREE_CHECKING, ENABLE_RTL_CHECKING, ENABLE_GC_CHECKING, |
1406 | ENABLE_GC_ALWAYS_COLLECT): Use three argument form of AC_DEFINE | |
1407 | for these macros. Clean up spacing and linewraps. | |
1408 | ||
39b0dce7 JM |
1409 | 2000-04-26 Jason Merrill <jason@casey.cygnus.com> |
1410 | ||
1411 | * calls.c (expand_call): Use get_callee_fndecl. | |
1412 | ||
1413 | * print-tree.c (print_node): Print the chain of an _EXPR. | |
1414 | ||
0c96007e AM |
1415 | Tue Apr 25 16:16:04 2000 Andrew MacLeod <amacleod@cygnus.com> |
1416 | Jim Wilson <wilson@cygnus.com> | |
1417 | Andrew Haley <aph@cygnus.com> | |
6d2c2047 | 1418 | |
0c96007e AM |
1419 | * config/ia64/crtbegin.asm: Add IA-64 unwind support. Correct alloc |
1420 | and gp save/restore problems. | |
1421 | * config/ia64/crtend.asm: Add IA-64 unwind support. | |
1422 | * config/ia64/ia64.c (ia64_compute_frame_size): Don't include pr_size | |
1423 | in fr_pad_size calculation. | |
1424 | (save_restore_insns): Move PR save area. Correct uses of | |
1425 | RTX_FRAME_RELATED_P. | |
1426 | (ia64_expand_prologue): Mark alloc with RTX_FRAME_RELATED_P. | |
1427 | (ia64_expand_epilogue): Add eh_epilogue support. | |
1428 | (ia64_function_prologue): Emit .prologue directive. | |
1429 | (ia64_init_machine_status, ia64_mark_machine_status): New functions. | |
1430 | (ia64_override_options): Set init_machine_status and | |
1431 | mark_machine_status. | |
1432 | (rtx_needs_barrier): Handle bsp reads and writes. | |
1433 | (spill_offset, sp_offset, spill_offset_emitted, tmp_reg, tmp_saved): | |
1434 | New static variables. | |
1435 | (process_set, process_for_unwind_directive): New functions. | |
1436 | * config/ia64/ia64.h (ASM_OUTPUT_XDATA_CHAR, ASM_OUTPUT_XDATA_SHORT, | |
1437 | ASM_OUTPUT_XDATA_INT, ASM_OUTPUT_XDATA_DOUBLE_INT, ASM_OUTPUT_EH_CHAR, | |
1438 | ASM_OUTPUT_EH_SHORT, ASM_OUTPUT_EH_INT, ASM_OUTPUT_EH_DOUBLE_INT): New | |
1439 | macros. | |
1440 | (EH_FRAME_SECTION_ASM_OP): Define to IA_64.unwind section. | |
1441 | (IA64_UNWIND_INFO, HANDLER_SECTION, IA64_UNWIND_EMIT): Define. | |
1442 | (struct machine_function): Define. | |
1443 | * config/ia64/ia64.md (bsp_value, set_bsp, eh_epilogue): New patterns. | |
6d2c2047 | 1444 | |
7d7f30cf BK |
1445 | 2000-04-25 Bruce Korb <bkorb@gnu.org> |
1446 | ||
1447 | * fixinc/Makefile.in: make the removal of old programs more | |
1448 | robust | |
1449 | * fixinc/mkfixinc.sh: use the two new targets in the Makefile: | |
1450 | install-bin and install-sh | |
1451 | ||
b36f4ed3 NC |
1452 | 2000-04-25 Nick Clifton <nickc@cygnus.com> |
1453 | ||
1454 | * integrate.c (FUNCTION_ATTRIBUTE_INLINABLE_P): If not | |
1455 | defined, define to return zero. | |
1456 | (function_cannot_inline_p): If a function has any target | |
1457 | specific attributes, then use the macro | |
1458 | FUNCTION_ATTRIBUTE_INLINABLE_P to allow the target to decide | |
1459 | whether it can be inlined. If it cannot, issue a suitable | |
1460 | explanation. | |
1461 | ||
1462 | * tm.texi: Add a new node 'Inlining' to document the new macro | |
6d2c2047 | 1463 | FUNCTION_ATTRIBUTE_INLINABLE_P. |
b36f4ed3 | 1464 | |
c5a04734 ZW |
1465 | 2000-04-25 Zack Weinberg <zack@wolery.cumb.org> |
1466 | ||
1467 | * cpplib.h (struct cpp_buffer): Add 'mapped' flag; fix | |
6d2c2047 | 1468 | commentary. |
c5a04734 ZW |
1469 | |
1470 | 2000-04-25 Neil Booth <NeilB@earthling.net> | |
1471 | ||
1472 | Restore previous patch, plus the following fixes: | |
1473 | ||
1474 | * cpphash.c (_cpp_create_definition): Test PREV_WHITESPACE in | |
1475 | flags, not CPP_OPEN_PAREN. | |
1476 | * cpplex.c (expand_token_space, init_token_list, | |
1477 | cpp_free_token_list): Put the dummy token at list->tokens[-1]. | |
1478 | (_cpp_lex_line, _cpp_lex_file): token list is 0-based. | |
1479 | ||
5ed12799 AO |
1480 | Tue Apr 25 14:06:40 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br> |
1481 | ||
1482 | * config/i386/freebsd.h (INT_ASM_OP): Define. | |
1483 | ||
424a02db JH |
1484 | Tue Apr 25 14:51:07 MET DST 2000 Jan Hubicka <jh@suse.cz> |
1485 | ||
1486 | * loop.c (strength_reduce): Fix typo in the last checkin. | |
1487 | ||
65e14bf5 RK |
1488 | Tue Apr 25 07:33:12 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
1489 | ||
1490 | * stor-layout.c (finalize_record_size): Simplify to use existing | |
1491 | functions. | |
1492 | (compute_record_mode): No longer static. | |
1493 | * tree.h (compute_record_mode): New declaration. | |
1494 | ||
05183359 NB |
1495 | 2000-04-25 Neil Booth <NeilB@earthling.net> |
1496 | ||
1497 | * Revert my patch below until cause of build failures | |
1498 | determined. | |
1499 | ||
865f50c5 RH |
1500 | 2000-04-25 Richard Henderson <rth@cygnus.com> |
1501 | ||
1502 | * combine.c (combine_instructions): Add missing argument | |
1503 | to try_combine. | |
1504 | ||
9d9e5c09 RH |
1505 | * toplev.c (rest_of_compilation): Delay sibcall optimization |
1506 | until after emit_eh_context. | |
1507 | ||
aabb6c74 NC |
1508 | 2000-04-24 Nick Clifton <nickc@redhat.com> |
1509 | ||
1510 | * combine.c (combine_instructions): Do not try to combine a | |
1511 | sequence of insns when the second insn has been replaced by a | |
1512 | note. | |
1513 | ||
03bf1c28 MK |
1514 | Mon Apr 24 17:34:18 2000 Mumit Khan <khan@xraylith.wisc.edu> |
1515 | ||
b633b6c0 MK |
1516 | * gcc.c (load_specs): New static function. |
1517 | (read_specs): Use it. | |
1518 | ||
03bf1c28 MK |
1519 | * gcc.c (lookup_compiler): Make multiple passes for case |
1520 | insensitive filesystems. | |
1521 | ||
9c603af2 NB |
1522 | 2000-04-24 Neil Booth <NeilB@earthling.net> |
1523 | ||
1524 | * cpphash.c: replace HSPACE_BEFORE with PREV_WHITESPACE. | |
1525 | * cpphash.h (_cpp_check_directive): new. | |
1526 | * cpplex.c (handle_newline, cpp_free_token_list, | |
1527 | init_trigraph_map, trigraph_ok, trigraph_replace, | |
1528 | backslash_start, skip_block_comment, skip_line_comment, | |
1529 | skip_whitespace, parse_name, parse_number, parse_string, | |
1530 | copy_comment, _cpp_lex_line, spell_char, spell_string, | |
1531 | spell_comment, spell_name, spell_other, _cpp_lex_file, | |
1532 | _cpp_output_list): new. | |
1533 | (expand_name_space): take length argument. | |
1534 | (init_token_list): add comment list initialisation. | |
1535 | (cpp_scan_line): use auto_expand_name_space. PREV_WHITESPACE | |
1536 | instead of HSPACE_BEFORE. | |
1537 | ||
1538 | * cpplib.c (_cpp_check_directive): new | |
1539 | * cpplib.h (cpp_name, PREV_WHITESPACE, PREV_COMMENT, | |
1540 | DIGRAPH, UNSIGNED_INT, TOK_NAME): new. | |
1541 | (HSPACE_BEFORE): delete. | |
1542 | (TTYPE_TABLE): rearrange. | |
6d2c2047 | 1543 | (struct cpp_toklist): update. |
9c603af2 | 1544 | |
91029a29 KG |
1545 | 2000-04-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
1546 | ||
1547 | * aclocal.m4 (gcc_AC_HEADER_STRING, gcc_AC_FUNC_PRINTF_PTR, | |
1548 | gcc_AC_C_VOLATILE, gcc_AC_FUNC_MKDIR_TAKES_ONE_ARG): Use the three | |
1549 | argument form of AC_DEFINE. | |
1550 | ||
1551 | * configure.in (DEFAULT_LINKER, DEFAULT_ASSEMBLER, | |
1552 | HAVE_INTTYPES_H, PACKAGE, VERSION, ENABLE_WIN32_REGISTRY, | |
1553 | WIN32_REGISTRY_KEY, HAVE_GAS_SUBSECTION_ORDERING, HAVE_GAS_WEAK, | |
1554 | HAVE_GAS_HIDDEN, HAVE_AS_REGISTER_PSEUDO_OP, AS_SPARC64_FLAG, | |
1555 | HAVE_AS_OFFSETABLE_LO10, ENABLE_NEW_GXX_ABI): Likewise. | |
1556 | ||
1557 | * acconfig.h: Delete stubs made redundant by 3-arg AC_DEFINE. | |
1558 | ||
3c9a2b55 KG |
1559 | 2000-04-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
1560 | ||
1561 | * Makefile.in (GCC_FOR_TARGET, GCC_CFLAGS, LIBGCC2_INCLUDES, | |
1562 | deduced.h): Use -isystem, not -I, for including system headers. | |
1563 | ||
aaceac0b NC |
1564 | 2000-04-24 Nick Clifton <nickc@cygnus.com> |
1565 | ||
1566 | * config/fr30/fr30.md (addsi3): Do not use small add instruction if | |
1567 | the source register is the frame pointer or arg pointer. | |
1568 | (addsi3_small_int): Disallow if source register is the frame | |
1569 | pointer or arg pointer. | |
1570 | ||
f6cbf672 KG |
1571 | 2000-04-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
1572 | ||
1573 | * configure.in (ENUM_BITFIELDS_ARE_UNSIGNED): Delete redundant | |
1574 | call to AC_MSG_RESULT. | |
1575 | ||
9762e8a4 ML |
1576 |