]>
Commit | Line | Data |
---|---|---|
0426e049 NC |
1 | Fri Jan 5 16:34:18 2001 Nick Clifton <nickc@redhat.com> |
2 | ||
3 | * config/v850/lib1funcs.asm: Replace __mulsi3 routine with faster | |
4 | version supplied by Matteo Frigo. | |
5 | ||
f7114e17 NB |
6 | 2001-01-05 Neil Booth <neil@daikokuya.demon.co.uk> |
7 | ||
8 | * cpp.texi: Update for -MQ. | |
9 | * cppinit.c (cpp_create_reader): Always create pfile->deps. | |
10 | (cpp_cleanup): Always free pfile->deps. | |
11 | (initialize_dependency_output): Don't create pfile->deps. | |
12 | (cpp_handle_option): Similarly. | |
13 | (OPT_MQ): New. | |
14 | * gcc.c (cpp_options): Handle -MQ. | |
15 | (DEFAULT_WORD_SWITCH_TAKES_ARG): Add -MQ. | |
16 | * mkdeps.c (base_name): Remove. | |
17 | (deps_init): Don't allocate vector space until it's needed. | |
18 | (deps_free): Only free vectors if allocated. | |
19 | (deps_add_target, deps_add_dep): Update for initial allocation. | |
20 | (deps_add_default_target): Don't strip to the base_name. | |
21 | ||
a64761a3 DD |
22 | 2001-01-05 DJ Delorie <dj@redhat.com> |
23 | ||
24 | * config/v850/v850.h (RETURN_ADDR_RTX): Define. | |
25 | (INIT_EXPANDERS): Define. | |
26 | ||
27 | * config/v850/v850.c (struct machine_function): Define. | |
28 | (v850_save_machine_status): New function. | |
29 | (v850_restore_machine_status): New function. | |
30 | (v850_return_addr): New function. | |
31 | (v850_init_expanders): New function. | |
32 | ||
33 | * config/v850/v850-protos.h: Add prototypes for v850_return_addr | |
34 | and v850_init_expanders. | |
35 | ||
f4cdc368 ZW |
36 | 2001-01-05 Zack Weinberg <zack@wolery.stanford.edu> |
37 | ||
38 | * cpplib.h (struct cpp_reader): Add help_only field. | |
39 | * cppinit.c (COMMAND_LINE_OPTIONS): Add OPT_version. | |
40 | (cpp_handle_option): Set pfile->help_only if we see -h, | |
41 | --help, -target-help, or --version. Print version string but | |
42 | do not set help_only if we see -v or -version. Make text | |
43 | printed by -v match that printed by (-)-version. | |
44 | ||
45 | * cppmain.c (main): Exit after option parsing if | |
46 | pfile->help_only is true. | |
47 | ||
48 | * toplev.c (independent_decode_option): Call print_version, | |
49 | then exit, if we see --version (but not -version). | |
50 | (print_version): Split lengthy message into two lines. | |
51 | ||
3326b760 NC |
52 | 2001-01-05 Nick Clifton <nickc@redhat.com> |
53 | ||
54 | * config/v850/v850.c (v850_encode_data_area): Use alloca to create | |
55 | temporary string for initialisation before calling ggc_alloc_string. | |
56 | ||
75b7557d MH |
57 | 2001-01-06 Michael Hayes <mhayes@redhat.com> |
58 | ||
59 | * rtl.h (print_simple_rtl): New. | |
60 | * print-rtl.c (print_simple_rtl): New. | |
61 | (flag_simple): New. | |
62 | (print_rtx): Disable printing of flags and modes, etc., | |
63 | if `flag_simple` nonzero. | |
64 | ||
b05467dc ZW |
65 | 2001-01-05 Zack Weinberg <zack@wolery.stanford.edu> |
66 | ||
67 | * function.c (fixup_var_refs): Use push_to_full_sequence where | |
68 | possible. | |
69 | ||
b883f801 MM |
70 | 2001-01-05 Michael Meissner <meissner@redhat.com> |
71 | ||
72 | * flags.h (flag_reorder_blocks): Add declaration. | |
73 | (flag_rename_block): Ditto. | |
74 | ||
cc1fe44f DD |
75 | 2001-01-05 DJ Delorie <dj@redhat.com> |
76 | ||
77 | * function.c (reorder_blocks): Make sure the flags are all reset | |
78 | before using them to mark blocks, else a second invocation will | |
79 | corrupt the block chain. | |
80 | (reorder_blocks_0): New, resets the flags. | |
81 | ||
8b03b984 R |
82 | Fri Jan 5 20:34:06 2001 J"orn Rennecke <amylaar@redhat.com> |
83 | ||
84 | * cse.c (find_comparison_args): Stop if the argument is known to | |
85 | be constant. | |
86 | ||
18a7c2a7 AO |
87 | 2001-01-05 Alexandre Oliva <aoliva@redhat.com> |
88 | ||
89 | * config/sh/sh.md (movdf): When splitting load into pair of | |
90 | registers, don't clobber the register used in the address too | |
91 | early. | |
92 | ||
fcbd8ef2 JO |
93 | 2001-01-05 Jeffrey Oldham <oldham@codesourcery.com> |
94 | ||
95 | * varasm.c (mark_constant_pool): Improve initial comments. | |
96 | (mark_constants): Move marking of constants to mark_constant. | |
97 | (mark_constant): New function to recursively mark all constants | |
98 | referred to by a constant. | |
99 | ||
ebb0cdf3 CM |
100 | 2001-01-05 Catherine Moore <clm@redhat.com> |
101 | ||
102 | * dbxout.c ((dbxout_parms): Handle invisible ref where decl is a REG. | |
103 | ||
3b4e6a16 PE |
104 | 2001-01-05 Phil Edwards <pme@sources.redhat.com> |
105 | ||
106 | * cp/lang-options.h: Bring comment in line with reality. | |
107 | * f/lang-options.h: Likewise. | |
108 | * java/lang-options.h: Likewise. | |
109 | * objc/lang-options.h: Likewise. | |
110 | * ch/lang-options.h: Likewise. | |
111 | * f/g77.texi: And update the manual. | |
112 | ||
dcfb1a36 MM |
113 | 2001-01-05 Marek Michalkiewicz <marekm@linux.org.pl> |
114 | Denis Chertykov <denisc@overta.ru> | |
115 | ||
116 | * config/avr/avr-protos.h (avr_peep2_scratch_safe): Prototype. | |
117 | * config/avr/avr.c (avr_peep2_scratch_safe): New function. | |
118 | * config/avr/avr.md (all peepholes that request a scratch register): | |
119 | Call it, FAIL the peephole if not safe (in interrupt functions). | |
120 | ||
cef3d50c MM |
121 | 2001-01-05 Mark Mitchell <mark@codesourcery.com> |
122 | ||
123 | * ggc-page.c (NUM_EXTRA_ORDERS): Hardwire to zero for now. | |
124 | ||
341e3d11 JM |
125 | 2001-01-05 Joseph S. Myers <jsm28@cam.ac.uk> |
126 | ||
127 | * builtins.def (BUILT_IN_CONJ, BUILT_IN_CREAL, BUILT_IN_CIMAG): | |
128 | Define. | |
129 | * builtins.c (expand_builtin): Abort on BUILT_IN_CONJ, | |
130 | BUILT_IN_CREAL and BUILT_IN_CIMAG. | |
131 | * c-common.c (c_common_nodes_and_builtins): Create builtin conjf, | |
132 | conj, conjl, crealf, creal, creall, cimagf, cimag and cimagl. | |
133 | (expand_tree_builtin): Handle BUILT_IN_CONJ, BUILT_IN_CREAL and | |
134 | BUILT_IN_CIMAG. | |
135 | * extend.texi: Document these builtins. | |
136 | ||
604bb87d DB |
137 | 2001-01-05 Daniel Berlin <dberlin@redhat.com> |
138 | ||
139 | * c-common.c (lang_get_alias_set): Say we know nothing of | |
140 | VECTOR_TYPE aliasing. | |
141 | ||
142 | * dwarf2out.c (is_base_type): Handle VECTOR_TYPE properly. | |
143 | ||
15fe1a7e BK |
144 | 2001-01-05 Bruce Korb <bkorb@gnu.org> |
145 | ||
146 | * fixinc/mkfixinc.sh(vax-*-bsd): convert exit and atexit calls to | |
147 | their x* equivalent versions for atexit-less systems | |
148 | * fixinc/fixincl.c(main): do not return from main() on atexit-less | |
149 | systems (or any other system any more). | |
150 | ||
b0888988 RE |
151 | 2001-01-05 Richard Earnshaw <rearnsha@arm.com> |
152 | ||
153 | * arm.md (ldmsi_postinc): Avoid use of match_dup between input and | |
154 | output operands. Use arm_hard_register_operand for operand 4. | |
155 | (stmsi_postinc): Similarly. | |
156 | (ldmsi): Use arm_hard_register_operand for opernand 2. | |
157 | (stmsi): Similarly. | |
158 | * arm.c (arm_hard_register_operand): New function. | |
159 | * arm-protos.h (arm_hard_register_operand): Prototype it. | |
160 | ||
161 | * arm.h (HARD_REGNO_RENAME_OK): Define. | |
162 | ||
90a74703 JH |
163 | Fri Jan 5 16:29:49 MET 2001 Jan Hubicka <jh@suse.cz> |
164 | ||
165 | * simplify-rtx.c (cfc_args): add "unordered" field. | |
166 | (check_fold_consts): Set unordered field. | |
167 | (simplify_relational_operation): Simplify the unordered | |
168 | comparisons. | |
169 | ||
170 | * reg-stack.c (swap_rtx_condition): Ensure that the transformation | |
171 | is valid. | |
172 | ||
173 | * emit-rtl.c (try_split): Fix code to mark labels. | |
174 | * jump.c (mark_jump_label): Make global. | |
175 | * rtl.h (mark_jump_label): Declare. | |
176 | ||
177 | * predict.c (estimate_probability): Handle unordred comparisons. | |
178 | ||
a5a4ce3c NB |
179 | 2001-01-05 Neil Booth <neil@daikokuya.demon.co.uk> |
180 | ||
181 | * cpp.texi: Update for -MP. Clarify behaviour of -MT. | |
182 | * cppinit.c (initialize_dependency_output): Update. | |
183 | (cpp_finish): Output dummy targets for -MP. | |
184 | (OPT_MP): New. | |
185 | (cpp_handle_option): Handle -MP. Don't quote -MT options. | |
186 | * cpplib.h (struct cpp_options): Add deps_phony_targets. | |
187 | * gcc.c (cpp_options): Update to handle -MP. | |
188 | * mkdeps.c (deps_add_target, deps_add_default_target): Update | |
189 | to quote only the default target. | |
190 | (deps_phony_targets): Insert a preceding newline. Rename from | |
191 | deps_dummy_targets for consistency. | |
192 | * mkdeps.h: Update | |
193 | ||
97fc4caf AO |
194 | 2001-01-05 Alexandre Oliva <aoliva@redhat.com> |
195 | ||
196 | * calls.c (emit_library_call_value_1): Support | |
197 | INIT_CUMULATIVE_LIBCALL_ARGS. | |
198 | * tm.texi (INIT_CUMULATIVE_LIBCALL_ARGS): Document it. | |
199 | ||
ffc5c6a9 RH |
200 | 2001-01-04 Richard Henderson <rth@redhat.com> |
201 | ||
202 | * c-decl.c (finish_struct): Detect flexible array members | |
203 | used in an inappropriate context. | |
204 | * c-typeck.c (really_start_incremental_init): Special case | |
205 | constructor_max_index for zero length arrays. | |
206 | (pop_init_level): Allow initialization of flexible array | |
207 | members. Deprecate initialization of zero length arrays. | |
208 | Don't issue missing initializer warning for flexible array | |
209 | members or zero length arrays. | |
210 | (process_init_element): Don't dereference null DECL_SIZE. | |
211 | * varasm.c (array_size_for_constructor): Return a HOST_WIDE_INT. | |
212 | Don't abort for empty constructors. Use size_binop | |
213 | (output_constructor): Add commentary regarding zero length | |
214 | array futures. Abort if we try to initialize an array of | |
215 | unspecified length with a non-empty constructor in the middle | |
216 | of a structure. | |
217 | ||
218 | * extend.texi (Zero Length): Update and clarify documentation | |
219 | on static initialization. | |
220 | ||
69f6e760 MH |
221 | 2001-01-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz> |
222 | ||
223 | * config/c4x/c4x.c (c4x_expand_prologue): Don't compile an ISR | |
224 | with more than 32767 words of local storage. | |
225 | ||
06dd70c6 MH |
226 | 2001-01-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz> |
227 | ||
228 | * config/c4x/c4x.c (c4x_init_builtins): Remove builtin support | |
229 | for 'abs', 'labs', and 'fabs'. | |
230 | (c4x_expand_builtin): Likewise. | |
231 | * config/c4x/c4x.h (enum c4x_builtins): Likewise. | |
232 | ||
99e87c10 AO |
233 | 2001-01-05 Alexandre Oliva <aoliva@redhat.com> |
234 | ||
235 | * config/sh/sh.md (prget, prset): New insn types. | |
236 | (return delay slot): Dont' allow prset. | |
237 | (call, sfunc delay slot): Don't allow prget. | |
238 | (movsi_i, movsi_ie, movsi_i_lowpart): Create separate alternatives | |
239 | for prset and prget. | |
240 | ||
576d0b54 | 241 | 2001-01-05 Michael Hayes <mhayes@redhat.com> |
06dd70c6 | 242 | |
f1d4ac80 MH |
243 | * loop.h (struct loop_reg): New. |
244 | (struct loop_regs): Change to use array of `struct loop_reg'. | |
245 | * loop.c: Replace assortment of varrays with single regs array. | |
246 | (count_one_set): Delete may_not_move array argument | |
247 | and use regs array instead. All caller's changed. | |
248 | (count_loop_regs_set): Delete may_not_move and single_usage | |
249 | arguments and use regs array instead. All caller's changed. | |
250 | (find_single_use_in_loop): Replace usage array argument with pointer | |
251 | to regs structure. All caller's changed. | |
252 | (loop_optimize): Delete `moved_once' array. | |
253 | ||
254 | 2001-01-05 Michael Hayes <mhayes@redhat.com> | |
255 | ||
576d0b54 MH |
256 | * loop.c (prescan_loop): Set loop_info->has_nonconst_call. |
257 | Use it instead of loop_info->has_call for scanning loop mems. | |
258 | (check_dbra_loop): Replace loop_info->has_call test with | |
259 | loop_info->has_nonconst_call. | |
260 | ||
616af7ee MH |
261 | 2000-01-04 Matthew Hiller <hiller@redhat.com> |
262 | ||
263 | * config/sh/sh.h (EPILOGUE_USES): Recognize fpscr as epilogue-used | |
264 | for TARGET_SH3E. | |
265 | ||
32812a40 JM |
266 | 2001-01-04 Joseph S. Myers <jsm28@cam.ac.uk> |
267 | ||
268 | * fold-const.c (fold): When folding a CONJ_EXPR of a COMPLEX_CST, | |
269 | use TREE_REALPART and TREE_IMAGPART instead of TREE_OPERAND. | |
270 | ||
eaa7c03f JM |
271 | 2001-01-04 Joseph S. Myers <jsm28@cam.ac.uk> |
272 | ||
273 | * c-common.c (SIZE_TYPE, WCHAR_TYPE): Define. | |
274 | (flag_short_double, flag_short_wchar): Define. | |
275 | (c_common_nodes_and_builtins): Create many tree nodes shared | |
276 | between C and C++ here instead of in cp/decl.c and ... | |
277 | * c-decl.c (init_decl_processing): ... here. | |
278 | (SIZE_TYPE, WCHAR_TYPE): Don't define. | |
279 | (flag_short_double, flag_short_wchar): Don't define. | |
280 | (record_builtin_type): New function. | |
281 | (build_void_list_node): New function. | |
282 | * c-common.h (flag_short_double, flag_short_wchar, | |
283 | record_builtin_type, build_void_list_node): Declare. | |
284 | ||
e2a5f96b R |
285 | Thu Jan 4 21:09:47 2001 J"orn Rennecke <amylaar@redhat.com> |
286 | ||
287 | * integrate.c (expand_inline_function): Don't put a virtual | |
288 | register into the reg map. | |
289 | ||
290 | * function.c (fixup_var_refs_1): If force_operand didn't put | |
291 | the address into the target, move it there. | |
292 | ||
2be510b8 MM |
293 | 2001-01-04 Mark Mitchell <mark@codesourcery.com> |
294 | ||
295 | Special-case tree_decl/tree_list allocations. | |
296 | * ggc-page.c (OBJECT_PER_PAGE): Reimplement. | |
297 | (OBJECT_SIZE): New macro. | |
298 | (NUM_EXTRA_ORDER): Likewise. | |
299 | (extra_order_size_table): New variable. | |
300 | (NUM_ORDERS): New macro. | |
301 | (objects_per_page_table): New variable. | |
302 | (object_size_table): New variable. | |
303 | (G.pages): Use NUM_ORDERS to bound the array. | |
304 | (G.page_tails): Likewise. | |
305 | (DIV_ROUND_UP): Remove. | |
306 | (BITMAP_SIZE): Use CEIL, instead of DIV_ROUND_UP. | |
307 | (alloc_page): Use OBJECT_SIZE. | |
308 | (size_lookup): Don't make it const. | |
309 | (ggc_alloc): Use OBJECT_SIZE. | |
310 | (ggc_set_mark): Likewise. | |
311 | (ggc_get_size): Likewise. | |
312 | (init_ggc): Set up the object_size_table, objects_per_page_table, | |
313 | and adjust size_lookup. | |
314 | (ggc_recalculate_in_use_p): Use CEIL, not DIV_ROUND_UP. | |
315 | (ggc_pop_context): Use NUM_ORDERS. | |
316 | (clear_marks): Likewise. | |
317 | (sweep_pages): Likewise. | |
318 | (poison_pages): Likewise. | |
319 | (ggc_print_statistics): Use OBJECT_SIZE. | |
320 | ||
bf1aaf0a RK |
321 | Thu Jan 4 15:54:05 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
322 | ||
323 | * varasm.c (output_constructor): Use HOST_WIDE_INT for sizes. | |
324 | Only call array_size_for_constructor if last field and array type | |
325 | with no upper bound. | |
326 | ||
ceebdb09 PB |
327 | 2001-01-04 Philip Blundell <philb@gnu.org> |
328 | ||
329 | * config/arm/arm.c (arm_gen_constant): Prefer to emit constants | |
330 | from bit 31 downwards, if this requires no more insns. | |
331 | (count_insns_for_constant): New helper function for above. | |
332 | ||
1fd4f141 AO |
333 | 2001-01-04 Alexandre Oliva <aoliva@redhat.com> |
334 | ||
335 | * gencodes.c (output_predicate_decls): Remove empty initializer. | |
336 | ||
3af4c257 MM |
337 | 2001-01-04 Mark Mitchell <mark@codesourcery.com> |
338 | ||
339 | * tree.c (copy_node): Remove documentation about obstacks. | |
340 | (buidl1): Check that nobody tries to build 2-argument nodes this | |
341 | way. | |
342 | ||
30472f46 KG |
343 | 2001-01-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
344 | ||
a41d0855 KG |
345 | * sparc.h (PREDICATE_CODES): Delete fp_sethi_p, fp_mov_p and |
346 | fp_high_losum_p. | |
347 | ||
30472f46 KG |
348 | * gencodes.c (output_predicate_decls): Fill empty initializer |
349 | braces. | |
350 | ||
c3843cea JJ |
351 | 2001-01-04 Jakub Jelinek <jakub@redhat.com> |
352 | ||
353 | * tradcpp.c (deps_file, print_deps_missing_files): New variables. | |
354 | (main): Handle -MG, -MD, -MMD. Bail out if -MG is given without -M | |
355 | or -MM. | |
356 | (do_include): Handle missing headers like cpp0. | |
357 | * cppfiles.c (_cpp_execute_include): Don't prefix absolute header | |
358 | paths with first include pathname. Don't strcat to uninitialized | |
359 | string. | |
360 | ||
f4d578da BS |
361 | 2001-01-04 Bernd Schmidt <bernds@redhat.com> |
362 | ||
363 | * regrename.c (regrename_optimize): Don't rename from frame pointer | |
364 | if frame_pointer_needed. | |
365 | (do_replace): Don't set ORIGINAL_REGNO to a hard register number. | |
366 | * config/ia64/ia64.c (emit_all_group_insn_barriers): New function. | |
367 | (ia64_reorg): Use it instead of scheduling if ! optimize. | |
368 | (errata_emit_nops): Properly call asm_noperands. | |
369 | (ia64_sched_reorder): Finish cycle if we see an asm. | |
370 | (ia64_variable_issue): Clear scheduling state after asms. | |
371 | ||
03b9ab42 NB |
372 | 2001-01-04 Neil Booth <neil@daikokuya.demon.co.uk> |
373 | ||
374 | * cpp.texi: Update for -MT. | |
375 | * cppinit.c (initialize_dependency_output): Add a default | |
376 | target if none has been given already. | |
377 | (no_tgt, OPT_MT): New. | |
378 | (cpp_handle_option): Handle -MT. Update -M etc. | |
379 | * cpplib.h (struct cpp_options): Remove deps_target. | |
380 | * gcc.c (cpp_options): Handle -MT. | |
381 | * mkdeps.c (struct deps): Move from mkdeps.h. | |
382 | (deps_calc_target): Rename deps_add_default_target. Add a | |
383 | default target if none has been specified already. | |
384 | * mkdeps.h (struct deps): Move to mkdeps.c. | |
385 | (deps_calc_target): Rename deps_add_default_target. | |
386 | ||
584ef5fe RH |
387 | 2000-01-03 Richard Henderson <rth@redhat.com> |
388 | ||
389 | * c-decl.c (grokdeclarator): Give zero-length arrays size zero. | |
390 | Remove dead code. | |
391 | * c-typeck.c (push_init_level): Move checks for flexible array | |
392 | members and zero length arrays ... | |
393 | (pop_init_level): ... here. Silently discard empty initializations. | |
394 | Remove dead code. | |
395 | * varasm.c (output_constructor): Update for sizeof change to | |
396 | zero-length arrays. | |
397 | ||
398 | * extend.texi (Zero Length): Clarify semantics. | |
399 | ||
04d430b8 AO |
400 | 2001-01-03 Alexandre Oliva <aoliva@redhat.com> |
401 | ||
402 | * configure.in (tm.h): Include isns-codes.h last. | |
403 | * configure: Rebuilt. | |
404 | ||
e55a9a6e RH |
405 | 2001-01-03 Richard Henderson <rth@redhat.com> |
406 | ||
407 | * config/alpha/alpha.md (addvsi3, addvdi3): New. | |
408 | (negvsi2, negvdi2, subvsi3, subvdi3, mulvsi3, mulvdi3): New. | |
409 | ||
fa5db828 FS |
410 | 2001-01-03 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
411 | ||
412 | * tradcpp.c (main): Make sure finclude() is called with a valid | |
413 | indepth value while handling -include. | |
414 | ||
975d393a AO |
415 | 2001-01-03 Alexandre Oliva <aoliva@redhat.com> |
416 | ||
417 | * gencodes.c (output_predicate_decls): New function. | |
418 | (main): Call it. | |
419 | * machmode.h (GET_MODE_MASK): Arrange for it to be defined | |
420 | even if it is not the first time machmode.h is #included. | |
421 | * config/sh/sh.c (fpul_operand): Declare MODE argument. | |
422 | * tm.texi (PREDICATE_CODES): Document predicate declarations. | |
423 | * gcc.texi (Copyright): Added 2001. | |
424 | ||
03dc0325 JM |
425 | 2001-01-03 Joseph S. Myers <jsm28@cam.ac.uk> |
426 | ||
427 | * c-common.c (c_common_lang_init): New function. Warn if format | |
428 | warning options which only have effects when used with -Wformat | |
429 | are used without -Wformat. | |
430 | * c-common.h (c_common_lang_init): Declare. | |
431 | * c-lang.c (lang_init): Call c_common_lang_init. | |
432 | * objc/objc-act.c (lang_init): Call c_common_lang_init. | |
433 | ||
955be633 JM |
434 | 2001-01-03 Joseph S. Myers <jsm28@cam.ac.uk> |
435 | ||
436 | * configure.in: Check for the mktemp command. | |
437 | * configure: Regenerate. | |
438 | * gccbug.in: Use a separate temporary file $TEMP0 for one use of | |
439 | $TEMP. Create temporary files with mktemp, if available at | |
440 | configure time; otherwise use set -C. Remove temporary files | |
441 | before exit. | |
442 | ||
fd939e46 JM |
443 | 2001-01-03 Joseph S. Myers <jsm28@cam.ac.uk> |
444 | ||
445 | * configure.in: Require at least texinfo 4.0. Check for whether | |
446 | Pod::Man is sufficiently recent to regenerate GCC manpages. | |
447 | * configure: Regenerate. | |
448 | * Makefile.in (TEXI2POD): Call perl explicitly rather than relying | |
449 | on #!. | |
450 | (GENERATED_MANPAGES): Define. | |
451 | (generated-manpages): New target. Depend on cpp.1 as well as | |
452 | gcov.1. | |
453 | (install-man): Depend on $(GENERATED_MANPAGES) (defined by | |
454 | configure to generated-manpages or empty) rather than on the | |
455 | manpages directly. Remove execute permission from installed | |
456 | gcov.1 as well as cpp.1. | |
457 | * cpp.1, gcov.1: Regenerate. | |
458 | ||
819c1488 KG |
459 | 2001-01-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
460 | ||
461 | * builtins.c (expand_builtin_strncmp): Use host_integerp and | |
462 | tree_low_cst. Allow using cmpstrsi in more cases. | |
463 | ||
f07d22aa RK |
464 | Wed Jan 3 10:48:43 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
465 | ||
466 | * config/sparc/sparc.h (RETURN_IN_MEMORY): Return 0 for variable | |
467 | sized types. | |
468 | ||
7ccb4206 AO |
469 | Wed Jan 3 12:22:32 2001 Alexandre Oliva <aoliva@redhat.com> |
470 | ||
471 | * build-make (HOST_CFLAGS): Added `-DGENERATOR_FILE'. | |
472 | * Makefile.in (HOST_CFLAGS): Mention build-make. | |
473 | ||
a338321e RK |
474 | Wed Jan 3 08:53:50 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
475 | ||
476 | * config/sparc/sparc.md (nonlocal_goto): Emit goto_handler_and_restore | |
477 | as JUMP_INSN. | |
478 | ||
432fd734 BS |
479 | 2001-01-01 Bernd Schmidt <bernds@redhat.com> |
480 | ||
481 | * builtins.c (expand_builtin_return_addr): Don't use MEM_ALIAS_SET on | |
482 | a REG rtx. | |
483 | ||
2be28ee2 BS |
484 | * cse.c (cse_rtx_varies_p): Accept additional FROM_ALIAS arg. All |
485 | callers changed. | |
486 | ||
713f41f9 BS |
487 | * alias.c (throughout): Use ORIGINAL_REGNO when accessing |
488 | reg_base_value and reg_known_value arrays. | |
489 | (init_alias_analysis): Add more cases to detect known values. | |
490 | * sched-deps.c (deps_may_trap_p): New function. | |
491 | (sched_analyze_2): Use it. | |
492 | ||
8f8d8d6e AO |
493 | 2001-01-03 Alexandre Oliva <aoliva@redhat.com> |
494 | ||
495 | * combine.c (simplify_shift_const): Even if we're sign-extracting, | |
496 | don't discard an ASHIFTRT if we're shifting in a wider mode. | |
497 | ||
232a132f JDA |
498 | 2000-01-02 John David Anglin <dave@hiauly1.hia.nrc.ca> |
499 | ||
500 | * toplev.c (rest_of_compilation): Don't print basic block information | |
501 | when CFG isn't up to date. | |
502 | ||
19723541 ME |
503 | 2001-01-02 Mark Elbrecht <snowball3@bigfoot.com> |
504 | ||
505 | * config/i386/djgpp.h (DWARF2_DEBUGGING_INFO): Define. | |
506 | (UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_ASM_OP): Define. | |
507 | (UNALIGNED_SHORT_ASM_OP): Define. | |
508 | (CPP_PREDEFINES): Remove defines for GO32 and DJGPP. | |
509 | ||
55560b9d MM |
510 | 2001-01-02 Mark Mitchell <mark@codesourcery.com> |
511 | ||
512 | * fold-const.c (fold_convert): Fix typo. | |
513 | ||
4f78b9a8 RH |
514 | 2001-01-02 Richard Henderson <rth@redhat.com> |
515 | ||
516 | * c-common.h (ASM_INPUT_P): New. | |
517 | * c-parse.in (asm): Set it when needed. | |
518 | * c-semantics.c (genrtl_asm_stmt): Test it instead of the | |
519 | existance of an operand. | |
520 | ||
e2134eea JH |
521 | Tue Jan 2 20:27:07 MET 2001 Jan Hubicka <jh@suse.cz> |
522 | ||
523 | * dwarf2out.c (stack_adjust_offset): Handle PRE_MODIFY. | |
524 | (dwarf2out_frame_debug_expr): Likewise. | |
525 | (mem_loc_descriptor): Handle PRE and POST_MODIFY. | |
526 | ||
2b589241 JH |
527 | Tue Jan 2 20:21:31 MET 2001 Jan Hubicka <jh@suse.cz> |
528 | ||
529 | * i386.c (ix86_split_to_parts): Return number of part required; | |
530 | handle TFmodes. | |
531 | (print_operand, ix86_expand_branch, ix86_expand_fp_movcc): Handle | |
532 | TFmodes. | |
533 | (ix86_split_long_move): Use number of part returned | |
534 | by ix86_split_to_parts | |
535 | * i386.h (MASK_128BIT_LONG_DOUBLE, TARGET_128BIT_LONG_DOUBLE): | |
536 | New macros. | |
537 | (TARGET_SWITCHES): Add 128bit-long-double and 96bit-long-double | |
538 | (LONG_DOUBLE_TYPE_SIZE): Change from constant. | |
539 | (MAX_LONG_DOUBLE_TYPE_SIZE): New macro. | |
540 | (INTEL_EXTENDED_IEEE_FORMAT): Likewise. | |
541 | (ALIGN_MODE_128): Add TFmode. | |
542 | (IS_STACK_MODE): Likewise. | |
543 | (HARD_REGNO_NREGS): TFmode needs 3 registers. | |
544 | (HARD_REGNO_OK): Support TFmodes. | |
545 | (ASM_OUTPUT_LONG_DOUBLE): Handle TFmodes. | |
546 | * i386.md (scheduler definitions): Use memory operand to determine | |
547 | fst/fld instructions; use mode attribute to determine real mode of | |
548 | the instruction. | |
549 | (*tf): New patterns, expanders and splitters; based on XFmode patterns. | |
550 | * invoke.texi (128bit-long-double, 96bit-long-double): Document. | |
551 | ||
330aa9a3 MM |
552 | 2001-01-02 Mark Mitchell <mark@codesourcery.com> |
553 | ||
554 | * tree.def (TRUTH_NOT_EXPR): Improve documentation. | |
555 | ||
e0339ef7 RK |
556 | Tue Jan 2 10:47:38 2001 Richard Kenner <kenner@vlsi1.ultra.nyu. |
557 | ||
558 | * expr.c (store_constructor_field): Update ALIGN before calling | |
559 | store_constructor. | |
560 | ||
d07bec95 JO |
561 | 2001-01-02 Jeffrey Oldham <oldham@codesourcery.com> |
562 | ||
563 | * config/mips/mips.c (function_arg): Don't pass NULL_TREE to | |
564 | host_integerp. | |
565 | ||
3719d27b JO |
566 | 2001-01-02 Jeffrey Oldham <oldham@codesourcery.com> |
567 | ||
568 | * tm.texi (FUNCTION_ARG): Document that @var{type} can be an | |
569 | incomplete type. | |
570 | ||
6d1c15cc RK |
571 | Tue Jan 2 10:47:38 2001 Richard Kenner <kenner@vlsi1.ultra.nyu. |
572 | ||
573 | * c-decl.c (start_function): Don't warn on third parameter to main. | |
574 | ||
16b97540 KG |
575 | 2001-01-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
576 | ||
577 | * tsystem.h: Define HAVE_DECL_GETOPT. | |
578 | ||
8515dc81 PB |
579 | 2001-01-02 Philip Blundell <pb@futuretv.com> |
580 | ||
581 | * config/arm/linux-gas.h (CLEAR_INSN_CACHE): Avoid illegal clobber | |
582 | of input operand. | |
583 | ||
6f85e02b RH |
584 | 2001-01-02 Richard Henderson <rth@redhat.com> |
585 | ||
586 | * alpha.md (*ze_and_ne): Duplicate insn condition to split. | |
587 | ||
21c7361e AJ |
588 | 2001-01-02 Andreas Jaeger <aj@suse.de> |
589 | ||
590 | * c-decl.c (c_decode_option): Remove support of | |
591 | -Wmissing-noreturn. | |
592 | ||
593 | * toplev.c (documented_lang_options): Remove -Wmissing-noreturn. | |
594 | (W_options): Add -Wmissing-noreturn here. | |
595 | ||
596 | * flow.c: Define lang_missing_noreturn_ok_p. | |
597 | (check_function_return_warnings): Use it. | |
598 | ||
599 | * c-common.h: Declare lang_missing_noreturn_ok_p. | |
600 | ||
601 | * c-lang.c (c_missing_noreturn_ok_p): New function. | |
602 | (lang_init): Set lang_missing_noreturn_ok_p. | |
603 | ||
604 | * invoke.texi (Warning Options): Document this. | |
605 | ||
5c25e11d PE |
606 | 2000-12-27 Phil Edwards <pme@sources.redhat.com> |
607 | ||
608 | * extend.texi (C++ Extensions): New node for C++ attributes; | |
609 | describe init_priority and com_interface. | |
610 | * invoke.texi: Remove -finit-priority as it now has zero effect. | |
611 | * install.texi: Fix xref syntax. | |
612 | * md.texi: Likewise. | |
613 | ||
d1608933 RK |
614 | Mon Jan 1 21:28:29 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
615 | ||
e428b937 RK |
616 | * config.gcc (sparc64-wrs-vxworks*): New case. |
617 | * config/sparc/vxsparc64.h, config/sparc/t-vxsparc64: New files. | |
618 | ||
3276910d RK |
619 | * config/sparc/sparc.c (sparc_override_options): Do support different |
620 | pointer and architecture size. | |
621 | * config/sparc/sparc.h (MIN_UNITS_PER_WORD): Always 4. | |
622 | (POINTERS_EXTEND_UNSIGNED): Define. | |
623 | (Pmode): Test TARGET_ARCH64, not TARGET_PTR64. | |
624 | (FUNCTION_MODE): Define to be Pmode. | |
625 | * config/sparc/sparc.md (64-bit call patterns): FUNCTION_MODE now DI. | |
626 | ||
d1608933 RK |
627 | * function.c (expand_function_end): Properly handle DECL_RESULT |
628 | and copy when ptr_mode != Pmode. | |
629 | * expmed.c (make_tree): Convert X from Pmode to ptr_mode, if needed. | |
630 | ||
c2e42aab KG |
631 | 2001-01-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
632 | ||
633 | * c-common.c (c_common_nodes_and_builtins): Set prototype | |
634 | parameters for __builtin_fputs, __builtin_fputc and | |
635 | __builtin_fwrite. Don't declare plain fputc as a builtin. | |
636 | ||
5b1ef594 JDA |
637 | 2001-01-01 John David Anglin <dave@hiauly1.hia.nrc.ca> |
638 | ||
639 | * loop.c (add_label_notes): Increment the label usage count when | |
640 | a note is added to an insn which refers to a CODE_LABEL. | |
641 | * gcse.c (add_label_notes): Likewise. | |
642 | ||
021d7b26 AJ |
643 | 2001-01-01 Andreas Jaeger <aj@suse.de> |
644 | ||
645 | * loop.c (scan_loop): Use xmalloc to allocate movables. | |
646 | ||
cf011243 AO |
647 | 2001-01-01 Alexandre Oliva <aoliva@redhat.com> |
648 | ||
649 | * tm.texi (REGISTER_MOVE_COST): Add a mode argument. | |
650 | * reload.c (REGISTER_MOVE_COST): Likewise. Adjust all callers. | |
651 | * reload1.c (REGISTER_MOVE_COST): Likewise. | |
652 | * regclass.c (REGISTER_MOVE_COST): Likewise. | |
653 | (move_cost, may_move_in_cost, may_move_out_cost): Add mode | |
654 | dimension. Adjust all users. | |
655 | (init_reg_sets_1): Iterate on all modes. | |
656 | * config/1750a/1750a.h (REGISTER_MOVE_COST): Adjust. | |
657 | * config/a29k/a29k.h (REGISTER_MOVE_COST): Adjust. | |
658 | * config/alpha/alpha.h (REGISTER_MOVE_COST): Adjust. | |
659 | * config/arc/arc.h (REGISTER_MOVE_COST): Adjust. | |
660 | * config/arm/arm.h (REGISTER_MOVE_COST): Adjust. | |
661 | * config/avr/avr.h (REGISTER_MOVE_COST): Adjust. | |
662 | * config/c4x/c4x.h (REGISTER_MOVE_COST): Adjust. | |
663 | * config/d30v/d30v.h (REGISTER_MOVE_COST): Adjust. | |
664 | * config/dsp16xx/dsp16xx.h (REGISTER_MOVE_COST): Adjust. | |
665 | * config/h8300/h8300.h (REGISTER_MOVE_COST): Adjust. | |
666 | * config/i386/i386.h (REGISTER_MOVE_COST): Adjust. | |
667 | * config/ia64/ia64.h (REGISTER_MOVE_COST): Adjust. | |
668 | * config/m32r/m32r.h (REGISTER_MOVE_COST): Adjust. | |
669 | * config/m68hc11/m68hc11.h (REGISTER_MOVE_COST): Adjust. | |
670 | * config/m68k/m68k.h (REGISTER_MOVE_COST): Adjust. | |
671 | * config/mcore/mcore.h (REGISTER_MOVE_COST): Adjust. | |
672 | * config/mips/mips.h (REGISTER_MOVE_COST): Adjust. | |
673 | * config/mn10200/mn10200.h (REGISTER_MOVE_COST): Adjust. | |
674 | * config/mn10300/mn10300.h (REGISTER_MOVE_COST): Adjust. | |
675 | * config/ns32k/ns32k.h (REGISTER_MOVE_COST): Adjust. | |
676 | * config/pa/pa.h (REGISTER_MOVE_COST): Adjust. | |
677 | * config/pdp11/pdp11.h (REGISTER_MOVE_COST): Adjust. | |
678 | * config/pj/pj.h (REGISTER_MOVE_COST): Adjust. | |
679 | * config/romp/romp.h (REGISTER_MOVE_COST): Adjust. | |
680 | * config/rs6000/rs6000.h (REGISTER_MOVE_COST): Adjust. | |
681 | * config/sh/sh.h (REGISTER_MOVE_COST): Adjust. | |
682 | * config/sparc/sparc.h (REGISTER_MOVE_COST): Adjust. | |
683 | ||
e38fe8e0 BS |
684 | 2001-01-01 Bernd Schmidt <bernds@redhat.com> |
685 | ||
686 | * alias.c (fixed_scalar_and_varying_struct): Adjust prototype of | |
687 | arg VARIES_P. Call it with extra arg. | |
688 | (true_dependence): Likewise. | |
689 | * rtl.h (rtx_addr_can_trap_p): Declare. | |
690 | (rtx_varies_p, rtx_addr_varies_p, true_dependence): Update | |
691 | prototypes. | |
692 | * rtlanal.c (rtx_addr_can_trap_p): No longer static. | |
693 | (rtx_varies_p): Accept extra arg FOR_ALIAS; only disallow | |
694 | pic offset table register if it's zero. All callers changed. | |
695 | (rtx_addr_varies_p): Accept extra arg FOR_ALIAS; all callers changed. | |
696 | ||
7a2bf7af RK |
697 | Mon Jan 1 07:38:33 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
698 | ||
7d797311 RK |
699 | * explow.c (convert_memory_address, case SYMBOL_REF): Copy |
700 | STRING_POOL_ADDRESS_P. | |
701 | ||
4746e0fe RK |
702 | * config/sparc/sparc.c (input_operand): Properly test for short op. |
703 | ||
fbd68e5d RK |
704 | * config.gcc (sparc-*-elf): Include sparc/sol2.h. |
705 | (sparc-*-rtems*): Include sparc/sol2.h and sparc/elf.h. | |
706 | (sparclite-*-elf*, sparc86x-*-elf*): Likewise. | |
707 | * config/sparc/elf.h: No longer include sol2.h. | |
708 | * config/sparc/lifeelf.h: No longer include sparc/elf.h. | |
709 | * config/sparc/rtemself.h, config/sparc/sp86x-elf.h: Likewise. | |
710 | ||
7a2bf7af RK |
711 | * config/sparc/sparc.md: Test TARGET_ARCH64 instead of TARGET_PTR64. |
712 | ||
14be28e5 MH |
713 | 2001-01-01 Michael Hayes <mhayes@redhat.com> |
714 | ||
86fee241 MH |
715 | * loop.c (check_insn_for_bivs): Use ivs->n_regs to check array bounds. |
716 | (find_mem_givs, record_biv, maybe_eliminate_biv): Likewise. | |
717 | (record_initial): Likewise. | |
718 | * unroll.c (copy_loop_body, loop_iterations): Likewise. | |
719 | (remap_split_bivs): Likewise. | |
720 | ||
21c7361e | 721 | 2001-01-01 Michael Hayes <mhayes@redhat.com> |
86fee241 | 722 | |
b2735d9a MH |
723 | * loop.c (loop_ivs_free): New function. |
724 | (strength_reduce): Break out from... | |
725 | ||
726 | 2001-01-01 Michael Hayes <mhayes@redhat.com> | |
21c7361e | 727 | |
14be28e5 MH |
728 | * loop.h (struct iv): New. |
729 | (REG_IV_TYPE, REG_IV_CLASS, REG_INFO): Modify to use 'struct iv'. | |
730 | (struct loop_ivs): Replace 'reg_iv_type', 'reg_iv_info', | |
731 | 'reg_biv_class' fields with 'regs' and 'n_regs'. | |
732 | (struct ivs): Rename 'loop_iv_list' field to 'list'. | |
733 | * loop.c (loop_bivs_find, strength_reduce): Use ivs->regs array. | |
734 | * unroll.c (loop_iterations): Check array bounds with ivs->n_regs. | |
735 | ||
1d2215fe AO |
736 | 2000-12-31 Alexandre Oliva <aoliva@redhat.com> |
737 | ||
738 | * resource.c (mark_referenced_resources): Abort() before | |
739 | attempting to mark a pseudo register. | |
740 | (mark_set_resources): Likewise. | |
741 | ||
8b634749 MH |
742 | 2001-01-01 Michael Hayes <mhayes@redhat.com> |
743 | ||
744 | * loop.h (REG_IV_CLASS): New accessor macro. | |
745 | * loop.c (REG_IV_CLASS): Use it instead of reg_iv_class array. | |
746 | * unroll.c (REG_IV_CLASS): Likewise. | |
21c7361e | 747 | |
b4ae5201 RK |
748 | Sun Dec 31 19:20:51 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
749 | ||
750 | * dwarf2out.c (loc_descriptor_from_tree, case WITH_RECORD_EXPR): New. | |
751 | (loc_descriptor_from_tree, case SAVE_EXPR): New. | |
752 | ||
e304a8e6 MH |
753 | 2001-01-01 Michael Hayes <mhayes@redhat.com> |
754 | ||
755 | * loop.c (loop_giv_reduce_benefit): Break out from strength_reduce. | |
756 | (loop_givs_dead_check, loop_givs_reduce, loop_givs_rescan): Likewise. | |
757 | (prescan_loop): Set pre_header_has_call in loop_info. | |
758 | * loop.h (struct_iv_class): Add `final_value' and `all_reduced'. | |
759 | (struct loop_info): Add `pre_header_has_call'. | |
21c7361e | 760 | |
6ec73c7c MH |
761 | * loop.c (loop_bivs_find): Break out from strength_reduce. |
762 | (loop_bivs_init_find, loop_bivs_check, loop_givs_find): Likewise. | |
763 | (loop_givs_check, loop_biv_eliminable_p): Likewise. | |
21c7361e | 764 | |
b8056b46 MH |
765 | * loop.c (LOOP_REG_LIFETIME, LOOP_REG_GLOBAL_P): Define. |
766 | (scan_loop, record_giv): Use LOOP_REG_LIFETIME and LOOP_REG_GLOBAL_P. | |
21c7361e | 767 | |
8529a489 MH |
768 | * loop.h (REGNO_FIRST_LUID, REGNO_LAST_LUID): Define. |
769 | * loop.c (REGNO_FIRST_LUID, REGNO_LAST_LUID): Use in place of | |
770 | direct access to uid_luid array. | |
771 | * unroll.c (REGNO_FIRST_LUID, REGNO_LAST_LUID): Likewise. | |
772 | ||
6ec92010 MH |
773 | * loop.h (struct loop_movables): New. |
774 | (LOOP_MOVABLES): New. | |
775 | (struct loop_info): Add movables field. | |
776 | * loop.c (struct movables): Delete. Replace all uses | |
777 | with struct loop_movables. | |
778 | (the_movables): Delete. Replace all uses with movables | |
779 | field in loop_info. | |
780 | (loop_movables_add, loop_movables_free): New functions. | |
781 | (scan_loop): Use xmalloc instead of alloca for movables. | |
782 | Call loop_movables_free. | |
6ec92010 | 783 | |
685efa54 MH |
784 | * loop.c (debug_loops): New. |
785 | ||
e0cf507b PB |
786 | 2000-12-31 Philip Blundell <philb@gnu.org> |
787 | ||
788 | * config/arm/linux-gas.h (CLEAR_INSN_CACHE): Add missing asm | |
789 | operands. | |
790 | ||
711d4bb3 RH |
791 | 2000-12-30 Richard Henderson <rth@redhat.com> |
792 | ||
793 | * dbxout.c (dbxout_block): Invert logic on eliding LBRAC/RBRAC. | |
794 | Initialize variables properly for DBX_LBRAC_FIRST. | |
795 | ||
27fb3e16 RK |
796 | 2000-12-30 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
797 | ||
798 | * expr.c (expand_expr, case COMPONENT_REF): Fix typo in last change. | |
799 | ||
019fa094 KG |
800 | 2000-12-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
801 | ||
802 | * builtins.c (validate_arglist): New function, use it. | |
803 | ||
f18969c0 PB |
804 | 2000-12-30 Philip Blundell <philb@gnu.org> |
805 | ||
21c7361e | 806 | * config/arm/arm.c (arm_expand_prologue): Fix typos in error |
f18969c0 PB |
807 | message and comment. Note location of testcase for an unhandled |
808 | situation. | |
809 | ||
2df88e9f JO |
810 | 2000-12-30 Jeffrey Oldham <oldham@codesourcery.com> |
811 | ||
812 | * defaults.h (BUILD_VA_LIST_TYPE): New definition. | |
813 | * tree.c (build_common_tree_nodes_2): Ensure the va_list_type_node | |
814 | is a copy, not an alias. | |
815 | ||
1da68f56 RK |
816 | 2000-12-30 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
817 | ||
b367c416 RK |
818 | * calls.c (calls_function_1, case CONSTRUCTOR): New case. |
819 | ||
1da68f56 RK |
820 | * alias.c (alias_sets_conflict_p): New function. |
821 | (mems_in_disjoint_alias_sets_p): Use it. | |
822 | (readonly_fields_p): Moved from expr.c; check for record type. | |
823 | (objects_must_conflict_p): New function. | |
824 | * calls.c (expand_call): Use assign_temp as much as possible, use | |
825 | readonly variant if assigned once, and don't set memory attributes. | |
826 | (emit_library_call_value_1, store_one_arg): Likewise. | |
827 | * integrate.c (expand_inline_function): Likewise. | |
828 | * stmt.c (expand_asm_operands, expand_return): Likewise. | |
829 | * expr.c (copy_blkmode_from_reg, store_constructor): Likewise. | |
830 | (store_field, save_noncopied_parts, expand_expr): Likewise. | |
831 | (expand_expr_unaligned): Likewise. | |
832 | (readonly_fields_p): Moved to alias.c. | |
833 | (safe_from_p): Rework handling of SAVE_EXPR. | |
834 | MEMs ony conflict if alias sets conflict; likewise for INDIRECT_REF. | |
835 | * function.c (struct temp_slot): Delete field ALIAS_SET; add TYPE. | |
836 | (assign_stack_for_temp): Use objects_must_confict_p. | |
837 | Set all memory attributes from type, if specified. | |
838 | (mark_temp_slot): Mark TYPE field. | |
839 | * tree.h (alias_sets_conflict_p, readonly_fields_p): New decls. | |
840 | (objects_must_conflict_p): Likewise. | |
841 | ||
842 | * stmt.c (expand_decl): Don't use assign_stack_temp in error case. | |
843 | (add_case_node): No need to copy nodes anymore. | |
21c7361e | 844 | |
b94544e4 AO |
845 | 2000-12-30 Alexandre Oliva <aoliva@redhat.com> |
846 | ||
847 | * config/sh/sh.c (split_branches): Don't dereference re-computed | |
848 | `beyond' before checking it's non-NULL. | |
849 | ||
b57d6be8 RL |
850 | 2000-12-29 Robert Lipe <robertl@sco.com> |
851 | ||
852 | Remove COFF support from i?86-pc-sco3.2v5. | |
853 | * i386/sco5.h (PREFERRED_DEBUGGING_TYPE): Change to Dwarf II. | |
854 | (TARGET_ELF): Now always true. | |
855 | (SUBTARGET_SWTICHES: )Remove -mcoff. | |
856 | ||
857 | * i386/t-sco5 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES, | |
858 | MULTILIB_EXCEPTION): Nuke coff. | |
859 | (CRTSTUFF_T_CFLAGS_S): Deleted. | |
860 | (TARGET_LIBGCC2_CFLAGS): Added. | |
861 | ||
e1b4533c AO |
862 | 2000-12-29 Alexandre Oliva <aoliva@redhat.com> |
863 | ||
864 | * varasm.c (output_constant_def): Don't ENCODE_SECTION_INFO | |
865 | twice. Update desc->rtl and ->label, in case ENCODE_SECTION_INFO | |
866 | modifies them. | |
867 | ||
08394eef BS |
868 | 2000-12-29 Bernd Schmidt <bernds@redhat.com> |
869 | ||
b5d37c6f BS |
870 | * ia64.c (ia64_expand_load_address): Accept additional scratch |
871 | register argument. All callers & prototype changed. | |
872 | Use scratch register when generating load_symptr insns. | |
873 | * ia64.md (movdi_symbolic): Clobber a scratch register. Use it | |
874 | when calling ia64_expand_load_address. | |
875 | (movdi): Generate movdi_symbolic with additional operand. | |
876 | (load_gprel64): Use pic_offset_table_rtx instead of (reg:DI 1). | |
877 | (load_symptr): Likewise. Use additional operand as a scratch | |
878 | register instead of generating it here. | |
879 | ||
de10dbf5 | 880 | * basic-block.h: Add a comment. |
6152c64a BS |
881 | * flow.c (PROP_POSTRELOAD): New macro. |
882 | (update_life_info): Add it to prop_flags. | |
883 | (mark_set_1): If it is set, compute REG_N_SETS for the original | |
884 | register number of a hard reg. | |
885 | ||
08394eef BS |
886 | * emit-rtl.c (gen_raw_REG): New function. |
887 | (gen_rtx_REG, gen_reg_rtx, init_emit_once): Use it instead of | |
888 | gen_rtx_raw_REG. | |
889 | * print-rtl.c (print_rtx): Print ORIGINAL_REGNO. | |
890 | * final.c (alter_subreg): Update it. | |
891 | * regrename.c (do_replace): Likewise. Use gen_raw_REG. | |
892 | * rtl.def (REG): Update comment. | |
893 | * rtl.h (X0UINT, ORIGINAL_REGNO): New macros. | |
894 | (gen_raw_REG): Declare. | |
895 | ||
e1a132c6 RK |
896 | 2000-12-29 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
897 | ||
5538d8a0 RK |
898 | * tree.c (get_set_constructor_bits): Use host_integerp and |
899 | tree_low_cst. | |
900 | ||
c2fd66f4 RK |
901 | * local-alloc.c (update_equiv_regs): Don't use copy_rtx on PATTERN. |
902 | ||
e1a132c6 RK |
903 | * toplev.c (main): Call xmalloc_set_program_name. |
904 | * gcc.c (main): Likewise. | |
905 | ||
5184f7c5 PB |
906 | 2000-12-29 Philip Blundell <philb@gnu.org> |
907 | ||
908 | * config/arm/arm.c (arm_override_options): Fix typo in warning | |
909 | message. | |
910 | ||
c17f08e1 RH |
911 | 2000-12-29 Richard Henderson <rth@redhat.com> |
912 | ||
913 | * config/alpha/alpha.c (alpha_expand_block_move): Initialize | |
914 | src_align and dst_align in bits. Do unaligned quadword loads | |
915 | if possible for BWX too. | |
916 | (alpha_expand_block_clear): Initialize align in bits. Track | |
917 | small leading offsets into a larger alignment. Play games with | |
918 | stq_u for large 4-byte aligned blocks. Use load/mask/store | |
919 | for appropreately aligned heads and tails. | |
920 | ||
f523247a AO |
921 | 2000-12-29 Alexandre Oliva <aoliva@redhat.com> |
922 | ||
923 | * function.c (assign_parms): Convert arguments passed by | |
924 | reference to the right mode. | |
925 | ||
fb8b656c GK |
926 | 2000-12-28 Geoffrey Keating <geoffk@redhat.com> |
927 | ||
928 | * c-parse.in (select_or_iter_stmt): Use truthvalue_conversion | |
929 | on the condition of a FOR statement, so that it gets typechecked | |
930 | and optimised. | |
931 | ||
6b5273c3 AO |
932 | 2000-12-29 Alexandre Oliva <aoliva@redhat.com> |
933 | ||
68940175 AO |
934 | * c-decl.c (grokdeclarator): Prevent crash in case of overflow in |
935 | array size. | |
936 | ||
6b5273c3 AO |
937 | * calls.c (emit_library_call_value_1): Add to call_fusage the |
938 | stack slot assigned to argument passed by reference. | |
939 | ||
328a8516 JO |
940 | 2000-12-28 Jeffrey Oldham <oldham@codesourcery.com> |
941 | ||
942 | * toplev.h (extern really_sorry): Remove extern declaration for | |
943 | nonexistent function. | |
944 | ||
212addfa JO |
945 | 2000-12-28 Jeffrey Oldham <oldham@codesourcery.com> |
946 | ||
947 | * varasm.c (initializer_constant_valid_p): Indicate subtraction of | |
948 | pointers to the same string constant is absolute. | |
949 | ||
26f6672d JM |
950 | 2000-12-28 Joseph S. Myers <jsm28@cam.ac.uk> |
951 | ||
952 | * c-common.c (enum format_type): Add strfmon_format_type. | |
953 | (decl_attributes): Handle format attributes strfmon and | |
954 | __strfmon__. | |
955 | (FMT_FLAG_USE_DOLLAR, FMT_FLAG_ZERO_WIDTH_BAD, | |
956 | FMT_FLAG_EMPTY_PREC_OK): Define. | |
957 | (format_char_info): Update comment for flag_chars. | |
958 | (format_flag_spec): Add skip_next_char. | |
959 | (format_kind_info): Add left_precision_char. | |
960 | (printf_flag_specs, scanf_flag_specs, strftime_flag_specs, | |
961 | format_types): Update for these new structure members and flags. | |
962 | (time_char_table): Make const. | |
963 | (strfmon_length_specs, strfmon_flag_specs, strfmon_flag_pairs, | |
964 | monetary_char_table): New. | |
965 | (format_types): Add details of strfmon formats. | |
966 | (init_function_format_info): Create default attribute for strfmon. | |
967 | (check_format_info_main): Check the new flags. Handle | |
968 | skip_next_char and left precision. | |
969 | * toplev.c (documented_lang_options): Update description of | |
970 | -Wformat. | |
971 | * extend.texi: Document strfmon format attributes. Document | |
972 | attribute forms such as __printf__. Clarify format_arg attribute | |
973 | documentation. | |
974 | * invoke.texi (-Wformat): Update for strfmon formats. | |
975 | ||
df7978d9 AJ |
976 | 2000-12-28 Andreas Jaeger <aj@suse.de> |
977 | ||
978 | * expmed.c (store_bit_field): Fix last patch. | |
979 | ||
78362efb AO |
980 | 2000-12-28 Alexandre Oliva <aoliva@redhat.com> |
981 | ||
982 | * config/sh/crt1.asm (start_l): `__SH4_SINGLE_ONLY__' was missing | |
983 | the trailing `__'. | |
984 | ||
3ba35c91 | 985 | 2000-12-28 Alan Lehotsky <lehotsky@tiac.net> |
5da1e2c4 AL |
986 | |
987 | * expmed.c (store_bit_field): Correctly compute smallest mode that | |
988 | is sufficient to contain all bits we are storing. | |
989 | ||
6385a28f KG |
990 | 2000-12-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
991 | ||
992 | * builtins.c (build_function_call_expr): New function. Use it | |
993 | everywhere in lieu of manually constructing a CALL_EXPR. | |
994 | ||
57ec4709 CC |
995 | 2000-12-27 Chandrakala Chavva <cchavva@redhat.com> |
996 | ||
997 | * calls.c (store_one_arg): If parm is passed both in stack and in | |
998 | register and offset is greater than reg_parm_stack_space, split | |
21c7361e | 999 | the offset and call emit_push_insn(). |
57ec4709 | 1000 | |
37f25cb9 NC |
1001 | 2000-12-27 Nick Clifton <nickc@redhat.com> |
1002 | ||
1003 | * ifcvt.c (noce_emit_store_flag): Handle jump insns that are | |
1004 | PARALLEL. | |
1005 | ||
715e2ab1 AO |
1006 | 2000-12-27 Alexandre Oliva <aoliva@redhat.com> |
1007 | ||
1008 | * rtl.c (copy_most_rtx, shallow_copy_rtx): Copy frame_related | |
1009 | flag. | |
1010 | ||
47986760 BK |
1011 | 2000-12-27 Bruce Korb <bkorb@gnu.org> |
1012 | ||
1013 | * fixinc/Makefile.in: fix for ancient Bourne shell | |
1014 | * fixinc/Makefile.BEOS: obsolete | |
1015 | * fixinc/Makefile.DOS: obsolete | |
46159c15 | 1016 | * fixinc/fixincl.sh(LINKS): use `test -d' rather than `ls' for testing |
47986760 | 1017 | |
0a1bb917 BS |
1018 | 2000-12-27 Bernd Schmidt <bernds@redhat.com> |
1019 | ||
1020 | * sched-deps.c (get_condition, conditions_mutex_p): New functions. | |
1021 | (add_dependence): Use them to avoid adding unnecessary dependencies | |
1022 | between conditionally executed insns. | |
1023 | (sched_analyze_1, sched_analyze_2, sched_analyze_insn): Don't free | |
1024 | dependency lists if current insn is a COND_EXEC. | |
21c7361e | 1025 | |
6cbadf36 GK |
1026 | 2000-12-27 Geoffrey Keating <geoffk@redhat.com> |
1027 | ||
1028 | * config/rs6000/rs6000.md (define_attr "length"): Correct | |
1029 | calculation. | |
1030 | ||
a3027199 KH |
1031 | 2000-12-26 Kazu Hirata <kazu@hxi.com> |
1032 | ||
3e39bdb9 KH |
1033 | * config/h8300/h8300.c: Fix a comment typo. |
1034 | (get_shift_alg): Fix a typo in the assembly code for 12-bit | |
1035 | ASHIFTRT in HImode. Do not output extra whitespace after one line | |
1036 | of assembly code. Output a tab after an opcode instead of a | |
1037 | space. | |
1038 | (emit_a_shift): Output a tab after an opcode instead of a space. | |
a3027199 | 1039 | |
33d5e2dc MM |
1040 | 2000-12-23 Marek Michalkiewicz <marekm@linux.org.pl> |
1041 | ||
1042 | * config/avr/avr.c (out_movqi_r_mr, out_movhi_r_mr, out_movsi_r_mr, | |
1043 | out_movsi_mr_r, out_movqi_mr_r, out_movhi_mr_r): Use %o instead of | |
1044 | %4 in output templates, do not modify operands passed by the caller. | |
1045 | ||
29b5ca41 JM |
1046 | 2000-12-23 Joseph S. Myers <jsm28@cam.ac.uk> |
1047 | ||
1048 | * builtins.def (BUILT_IN_LABS, BUILT_IN_LLABS, BUILT_IN_IMAXABS): | |
1049 | Don't define. | |
1050 | * builtins.c (expand_builtin): Don't handle BUILT_IN_LABS, | |
1051 | BUILT_IN_LLABS and BUILT_IN_IMAXABS. | |
1052 | * c-common.c (c_common_nodes_and_builtins): Use BUILT_IN_ABS for | |
1053 | builtin labs, llabs and imaxabs. | |
1054 | (expand_tree_builtin): Don't handle BUILT_IN_LABS, BUILT_IN_LLABS | |
1055 | and BUILT_IN_IMAXABS. | |
1056 | ||
fc2aaf30 JM |
1057 | 2000-12-23 Joseph S. Myers <jsm28@cam.ac.uk> |
1058 | ||
1059 | * c-common.c (builtin_function_2): New function. | |
1060 | (c_common_nodes_and_builtins): Use it to define each pair (foo, | |
1061 | __builtin_foo) of builtins in one place. | |
1062 | ||
0692b39c JM |
1063 | 2000-12-22 Joseph S. Myers <jsm28@cam.ac.uk> |
1064 | ||
1065 | * gccbug.in: Add libgcj and preprocessor categories. | |
1066 | ||
394411d5 BS |
1067 | 2000-12-22 Bernd Schmidt <bernds@redhat.com> |
1068 | ||
1069 | * config/ia64/ia64.c (itanium_reorder): Only schedule stops in | |
1070 | the final scheduling pass. | |
1071 | ||
b53ef1a2 NC |
1072 | 2000-12-22 Nick Clifton <nickc@redhat.com> |
1073 | ||
6f7ebcbb NC |
1074 | * config/arm/arm.h (struct machine_function): Add new field |
1075 | 'lr_save_eliminated'. | |
1076 | * config/arm/arm.c (arm_compute_save_reg_mask): Do not include the | |
1077 | link register if its save has been eliminated. | |
1078 | (output_arm_prologue): Mention if the save of the link register | |
1079 | has been eliminated. | |
1080 | (output_arm_epilogue): Rename 'live_regs_mask' to | |
1081 | 'saved_regs_mask'. | |
1082 | Test 'saved_regs_mask' for the link register, not regs_ever_live. | |
1083 | (arm_expand_prologue): If the link register has not been saved set | |
1084 | lr_save_eliminated and emit a USE to prevent later passes from | |
1085 | scavenging it. | |
21c7361e | 1086 | |
b53ef1a2 NC |
1087 | * dwarf2out_frame_debug_expr: Allow the (scratch) frame |
1088 | pointer to be initialised from the stack pointer plus a | |
1089 | constant. | |
1090 | ||
fe08a886 BS |
1091 | 2000-12-22 Bernd Schmidt <bernds@redhat.com> |
1092 | ||
1093 | * regrename.c (struct du_chain): New field "earlyclobber". | |
1094 | (enum scan_actions): Remove unused entry "note_reference". | |
1095 | (enum scan_actions_name): Likewise. | |
1096 | (note_sets, clear_dead_regs, merge_overlapping_regs): New static | |
1097 | functions. | |
1098 | (regrename_optimize): Use them to compute unavailable regs; get | |
1099 | rid of the more simpleminded code we used to have here. | |
1100 | Use a tick array to ensure registers are allocated in a more | |
1101 | round-robin way. Disable code that only optimizes registers | |
1102 | that were seen more than once. | |
1103 | (referenced_regs): Remove variable. | |
1104 | (scan_rtx_reg): New arg "earlyclobber". All callers changed. | |
1105 | Store its value in newly generated du_chain structures. | |
1106 | Add new du_chains at the end, not the start, of the list. | |
1107 | Don't handle the "note_reference" action. | |
1108 | (scan_rtx): New arg "earlyclobber". All callers changed. | |
1109 | (build_def_use): Lose code to keep track of referenced regs. | |
1110 | ||
fc608b03 KG |
1111 | 2000-12-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
1112 | ||
1113 | * Makefile.in (sched-deps.o, sched-rgn.o): Fix dependency typo. | |
1114 | ||
1115 | * fp-bit.h (usi_to_float): Add prototype. | |
1116 | ||
83ab3907 KG |
1117 | * i386.c (ix86_expand_builtin): Delete unused label. |
1118 | ||
1119 | * dwarf2out.c (file_info_cmp): Prototype. | |
fc608b03 | 1120 | (dwarf2out_line): Hide variable `old_in_use'. |
21c7361e | 1121 | |
fc608b03 KG |
1122 | * objc-act.c (objc_fatal): Delete. |
1123 | ||
1124 | * sched-vis.c (visualize_stall_cycles): Remove unused variable. | |
1125 | ||
1126 | * system.h (getopt): Fix error in last change. | |
1127 | ||
1128 | * varasm.c (assemble_trampoline_template): Constify. | |
1129 | ||
a545190e JM |
1130 | 2000-12-22 Jason Merrill <jason@redhat.com> |
1131 | ||
1132 | * collect2.c (main): Use auto_demangling. | |
1133 | ||
fd81f5f6 AO |
1134 | 2000-12-22 Alexandre Oliva <aoliva@redhat.com> |
1135 | ||
1136 | * function.c (assign_parms): Update parm's DECL_INCOMING_RTL | |
1137 | when optimizing PARALLEL to REG. | |
1138 | ||
98c17df2 GS |
1139 | 2000-12-22 Graham Stott <grahams@redhat.com> |
1140 | ||
1141 | * reload.c (update_auto_inc_notes): New, broken out from ... | |
1142 | (find_reloads_address_1): ... use here, also correct possible | |
1143 | use of uninitialised reloadnum. | |
1144 | ||
78abb7b1 DB |
1145 | 2000-12-21 David O'Brien <obrien@FreeBSD.org> |
1146 | ||
1147 | * config/freebsd.h (LIB_SPEC): remove -kthread option. | |
1148 | ||
1fb9c5cd MH |
1149 | 2000-12-22 Michael Hayes <m.hayes@elec.canterbury.ac.nz> |
1150 | ||
1151 | * resource.c (mark_set_resources): Use MARK_SRC_DEST for | |
1152 | PRE_MODIFY and POST_MODIFY cases. | |
1153 | ||
1154 | * rtlanal.c (side_effects_p): Handle PRE_MODIFY and POST_MODIFY. | |
1155 | ||
6e4fcc95 MH |
1156 | 2000-12-22 Michael Hayes <m.hayes@elec.canterbury.ac.nz> |
1157 | ||
1158 | * md.texi (Looping Patterns): New node. | |
1159 | ||
a60b5209 JM |
1160 | 2000-12-21 Joseph S. Myers <jsm28@cam.ac.uk> |
1161 | ||
1162 | * gcc.texi, cpp.texi: Update last-updated dates. | |
1163 | ||
c165f94f CC |
1164 | 2000-12-21 Chandrakala Chavva <cchavva@redhat.com> |
1165 | ||
1166 | * varasm.c (output_addressed_constants): Use language specific | |
1167 | expander on unknown nodes. | |
1168 | ||
98c17df2 | 1169 | 2000-12-21 Graham Stott <grahams@redhat.com> |
f7cfa78d GS |
1170 | |
1171 | * combine.c (distribute_notes): Handle REG_NON_LOCAL_GOTO notes. | |
1172 | ||
2130b7fb BS |
1173 | 2000-12-21 Bernd Schmidt <bernds@redhat.com> |
1174 | ||
1175 | * Makefile.in (out_object_file): Depend on sched-int.h. | |
1176 | * rtl.h (single_set_1): New macro. | |
1177 | (single_set_2): Renamed from single_set_1 and extra argument added. | |
1178 | * rtlanal.c (single_set_2): Likewise. | |
1179 | ||
1180 | * config/ia64/ia64-protos.h (get_bundle_name, ia64_issue_rate, | |
1181 | ia64_adjust_cost, ia64_sched_init, ia64_sched_finish, | |
1182 | ia64_sched_reorder, ia64_sched_reorder2, ia64_variable_issue): | |
1183 | Declare. | |
1184 | * config/ia64/ia64.c: Include "sched-int.h". | |
1185 | (hard_regno_rename_ok): Also disallow renaming from the various | |
1186 | reg_save_* regs. | |
1187 | (ia64_safe_itanium_requiers_unit0, ia64_safe_itanium_class, | |
1188 | ia64_safe_type, init_insn_group_barriers, group_barrier_needed_p, | |
1189 | safe_group_barrier_needed_p, fixup_errata): New static functions. | |
1190 | (rtx_needs_barrier): Handle bundle selector and cycle display | |
1191 | insns. | |
1192 | (emit_insn_group_barriers): Accept additional FILE * arg. All | |
1193 | callers changed. Rework to only generate stop bits between | |
1194 | basic blocks that haven't been inserted by scheduling. | |
1195 | (struct bundle, struct ia64_packet): New structures. | |
1196 | (NR_BUNDLES, NR_PACKETS): New macros. | |
1197 | (bundle, packets, type_names): New static arrays. | |
1198 | (ia64_final_schedule): New variable. | |
1199 | (ia64_single_set, insn_matches_slot, ia64_emit_insn_before, | |
1200 | gen_nop_type, finish_last_head, rotate_one_bundle, rotate_two_bundles, | |
1201 | cycle_end_fill_slots, packet_matches_p, get_split, find_best_insn, | |
1202 | find_best_packet, itanium_reorder, dump_current_packet, schedule_stop): | |
1203 | New static functions. | |
1204 | (ia64_issue_rate, ia64_sched_init, ia64_sched_reorder, | |
1205 | ia64_sched_finish, ia64_sched_reorder2, ia64_variable_issue): New | |
1206 | functions. | |
1207 | (ia64_reorg): Perform a final scheduling pass. | |
1208 | * config/ia64/ia64.h (CONST_COSTS): Slightly increase SYMBOL_REF costs. | |
1209 | (MAX_CONDITIONAL_EXECUTE, ADJUST_COST, ISSUE_RATE, MD_SCHED_INIT, | |
1210 | MD_SCHED_REORDER, MD_SCHED_REORDER2, MD_SCHED_FINISH, | |
1211 | MD_SCHED_VARIABLE_ISSUE): Define macros. | |
1212 | (ia64_final_schedule): Declare variable. | |
1213 | * config/ia64/ia64.md (attr itanium_class): Add some more classes. | |
1214 | (attr type): Account for them. | |
1215 | (itanium_requires_unit0): New attribute. | |
1216 | (function units): Rewrite. | |
1217 | (some splitters): Don't create scheduling barriers here. | |
1218 | (gr_spill_internal, gr_restore_internal): Don't predicate the | |
1219 | pseudo-op. | |
1220 | (nop_m, nop_i, nop_f, nop_b, nop_x, cycle_display, cycle_display_1, | |
1221 | bundle_selector): New patterns. | |
1222 | (insn_group_barrier): Now has an operand. | |
21c7361e | 1223 | |
5f446d21 DD |
1224 | 2000-12-21 DJ Delorie <dj@redhat.com> |
1225 | ||
1226 | * dwarf2out.c (simple_decl_align_in_bits): new | |
1227 | (field_byte_offset): Try both the type align and the | |
1228 | decl align, use whichever works, preferring the type align. | |
1229 | ||
e98df22a JM |
1230 | 2000-12-21 Joseph S. Myers <jsm28@cam.ac.uk> |
1231 | ||
1232 | * gccbug.in: Fix typo. | |
1233 | ||
9d680205 BK |
1234 | 2000-12-20 Benjamin Kosnik <bkoz@redhat.com> |
1235 | ||
1236 | * Makefile.in (gcc_gxx_target_include_dir): Use instead of | |
1237 | build_tooldir and libstdcxx_incdir. | |
1238 | ||
01c70ab0 RL |
1239 | 2000-12-20 Robert Lipe <robertlipe@usa.net> |
1240 | ||
1241 | * haifa-sched.c (schedule_block): Provide empty source statement | |
1242 | if not MD_SCHED_REORDER2. | |
1243 | ||
4b01bd16 RH |
1244 | 2000-12-20 Richard Henderson <rth@redhat.com> |
1245 | ||
1246 | * rtl.h (REG_NON_LOCAL_GOTO): New. | |
1247 | * rtl.c (reg_note_name): Update. | |
1248 | * stmt.c (expand_goto): Emit a REG_NON_LOCAL_GOTO note. | |
1249 | * builtins.c (expand_builtin_longjmp): Likewise. | |
1250 | * flow.c (make_edges): Check for REG_NON_LOCAL_GOTO and do | |
1251 | not emit an edge. | |
1252 | ||
dfaf5abf MM |
1253 | 2000-12-20 Marek Michalkiewicz <marekm@linux.org.pl> |
1254 | ||
1255 | * config/avr/avr.c (out_movsi_r_mr, out_movsi_mr_r, out_movhi_mr_r): | |
1256 | Do not output undefined opcodes where source or destination register | |
1257 | overlaps with modified pointer register. Handle (X + d) addresses. | |
1258 | * config/avr/avr.md (*movhi, *movsi, *movsf): Correct insn length | |
1259 | in alternatives with memory operand. | |
1260 | ||
64094f6a RH |
1261 | 2000-12-20 Richard Henderson <rth@redhat.com> |
1262 | ||
a545190e JM |
1263 | * c-typeck.c (build_asm_stmt): New, broken out from ... |
1264 | (c_expand_asm_operands): ... here. Just do rtl expansion. | |
1265 | (c_expand_return): Return the new stmt node. | |
1266 | (c_start_case, do_case): Likewise. | |
1267 | * c-common.c (c_expand_expr_stmt): Likewise. | |
1268 | * c-common.h: Update declarations. | |
1269 | * c-tree.h: Likewise. | |
1270 | * c-semantics.c (build_stmt): Use STMT_LINENO not TREE_COMPLEXITY. | |
1271 | * c-parse.in (fndef): Set DECL_SOURCE_LINE to the open brace. | |
1272 | (nested_function, notype_nested_function): Likewise. | |
1273 | (compstmt): Return the compound statement not the binding level. | |
1274 | (lineno_labeled_stmt): Simplify. | |
1275 | (lineno_stmt, lineno_label): Set STMT_LINENO. | |
1276 | (stmt, label): Return the new stmt node. | |
64094f6a | 1277 | |
fd7bcd6f BS |
1278 | 2000-12-20 Bernd Schmidt <bernds@redhat.com> |
1279 | ||
18e720b3 BS |
1280 | * Makefile.in (OBJS): Add sched-ebb.o. |
1281 | (sched-ebb.o): New rule. | |
1282 | (sched-vis.o): Depend on hard-reg-set.h and $(BASIC_BLOCK_H). | |
1283 | (haifa-sched.o): Depend on insn-flags.h. | |
1284 | * haifa-sched.c: Include "insn-flags.h". | |
1285 | (priority): Don't access BLOCK_NUM, use the new contributes_to_priority | |
1286 | callback. | |
1287 | * rtl.h (schedule_ebbs): Declare. | |
1288 | * sched-int.h (struct sched_info): Add new members | |
1289 | contributes_to_priority and compute_jump_reg_dependencies. | |
1290 | * sched-rgn.c (contributes_to_priority, compute_jump_reg_dependencies): | |
1291 | New functions. | |
1292 | (region_sched_info): Add them. | |
1293 | * sched-vis.c: Include "hard-reg-set.h" and "basic-block.h". | |
1294 | * sched-ebb.c: New file. | |
1295 | * sched-deps.c (sched_analyze_insn): Add code to handle JUMP_INSNs. | |
1296 | ||
fd7bcd6f BS |
1297 | * flow.c (ior_reg_cond, and_reg_cond, elim_reg_cond): Properly |
1298 | handle all relational operators. | |
1299 | ||
99c8c61c AO |
1300 | 2000-12-20 Alexandre Oliva <aoliva@redhat.com> |
1301 | ||
1302 | * final.c (output_addr_const): Use ASM_OUTPUT_SYMBOL_REF. | |
1303 | * tm.texi: Document it. | |
1304 | ||
1eddfef1 BK |
1305 | 2000-12-19 Benjamin Kosnik <bkoz@redhat.com> |
1306 | ||
1307 | * Makefile.in (-DGPLUSPLUS_TOOL_INCLUDE_DIR): Use build_tooldir | |
1308 | instead of gcc_tooldir. | |
1309 | ||
051a55e0 JDA |
1310 | 2000-12-19 John David Anglin <dave@hiauly1.hia.nrc.ca> |
1311 | ||
1312 | * system.h (getopt): Update prototype to match include/getopt.h. | |
1313 | ||
b088998d JDA |
1314 | 2000-12-19 John David Anglin <dave@hiauly1.hia.nrc.ca> |
1315 | ||
1316 | From Jeff Law. | |
1317 | * pa.c (basereg_operand): Simplify. | |
1318 | ||
288c2c9e BS |
1319 | 2000-12-19 Bernd Schmidt <bernds@redhat.co.uk> |
1320 | ||
79c2ffde BS |
1321 | * haifa-sched.c (rm_line_notes): Arguments are now head and tail, |
1322 | not block number. All callers and prototype changed. | |
1323 | (set_priorities): Likewise. | |
1324 | (save_line_notes): Add head and tail arguments; all callers and | |
1325 | prototype changed. | |
1326 | (restore_line_notes): Likewise. Don't crash on insns generated | |
1327 | during scheduling. | |
1328 | (schedule_block): Don't use BLOCK_HEAD/BLOCK_END macros. | |
1329 | Call MD_SCHED_INIT with additional argument. | |
1330 | When starting a new cycle, emit cycle_display insns if available. | |
1331 | Don't stop scheduling when encountering a JUMP_INSN, but add another | |
1332 | call to schedule_more_p in the inner loop. | |
1333 | Call MD_SCHED_REORDER2 after scheduling an insn. | |
1334 | Call MD_SCHED_FINISH once all insns are scheduled. | |
1335 | (sched_init): Compensate for the fact that get_block_head_tail | |
1336 | doesn't include leading notes. | |
1337 | * sched-deps.c (free_deps): Free vectors here. | |
1338 | * sched-rgn.c (compute_block_backward_dependencies): Not here. | |
1339 | (last_was_jump): New static variable. | |
1340 | (schedule_more_p): Test it. | |
1341 | (init_ready_list): Initialize it. | |
1342 | (can_schedule_ready_p): Set it if we have a JUMP_INSN. | |
1343 | ||
1344 | * config/i386/i386.h (MD_SCHED_INIT): Add new arg. | |
1345 | * config/m32r/m32r.h (MD_SCHED_INIT): Add new arg. | |
1346 | * config/sparc/sparc.h (MD_SCHED_INIT): Add new arg. | |
1347 | ||
1348 | * md.texi (cycle_display): Document. | |
1349 | * tm.texi (MD_SCHED_INIT): Document new arg. | |
1350 | (MD_SCHED_FINISH, MD_SCHED_REORDER2): Document. | |
1351 | ||
288c2c9e BS |
1352 | * flow.c (ior_reg_cond, nand_reg_cond, not_reg_cond): Rewrite |
1353 | to use different representation. All callers changed. | |
1354 | (and_reg_cond): Renamed from nand_reg_cond; caller changed. | |
1355 | (init_propagate_block_info): Don't test flags to determine | |
1356 | whether to compute conditional lifetimes. | |
1357 | Adjust code for new representation of conditional lifetimes. | |
1358 | (mark_regno_cond_dead): Similar adjustment. | |
1359 | (free_reg_cond_life_info): Similar adjustment. | |
1360 | (elim_reg_cond): New function. | |
1361 | (flush_reg_cond_1): Use it. | |
1362 | ||
6a69653a CM |
1363 | 2000-12-19 Catherine Moore <clm@redhat.com> |
1364 | ||
1365 | * reload1.c (reload_combine): Take multi-hard-regs into account | |
1366 | when processing CALL_INSN_FUNCTION_USAGE. | |
1367 | ||
3c0b7970 JM |
1368 | 2000-12-19 Joseph S. Myers <jsm28@cam.ac.uk> |
1369 | ||
1370 | * invoke.texi (-print-search-dirs): Make references to cpp refer | |
1371 | to cpp0 instead. | |
1372 | ||
9d2dc7da KG |
1373 | 2000-12-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
1374 | ||
1375 | * fold-const.c (tree_expr_nonnegative_p): Treat truth values as | |
1376 | non-negative. | |
1377 | ||
d0b6af71 R |
1378 | Tue Dec 19 00:37:08 2000 J"orn Rennecke <amylaar@redhat.com> |
1379 | ||
1380 | * reload.c (push_reload): When using a dying register for the reload | |
1381 | register in an in-out reload, use outmode if wider than inmode. | |
1382 | ||
3173ca64 JM |
1383 | 2000-12-19 Joseph S. Myers <jsm28@cam.ac.uk> |
1384 | ||
1385 | * config/d30v/d30v.h (EXIT_BODY): Update comment. | |
1386 | ||
9e9b9afe JM |
1387 | 2000-12-18 Joseph S. Myers <jsm28@cam.ac.uk> |
1388 | ||
1389 | * config.gcc (*-*-linux*): Don't define HAVE_ATEXIT or BSTRING. | |
1390 | * tm.texi (EXIT_BODY): Update documentation. | |
1391 | * config/freebsd.h, config/netware.h, config/arm/coff.h, | |
1392 | config/arm/conix-elf.h, config/arm/unknown-elf.h, | |
1393 | config/d30v/d30v.h, config/mcore/mcore.h, config/pj/pj.h, | |
1394 | sparc/sp86x-aout.h: Remove definitions of HAVE_ATEXIT (some | |
1395 | commented out) and associated comments. | |
1396 | ||
20d380b1 JM |
1397 | 2000-12-18 Joseph S. Myers <jsm28@cam.ac.uk> |
1398 | ||
1399 | * c-common.c (STD_C9L, ADJ_STD): Define. | |
1400 | (printf_length_specs, scanf_length_specs): Mark "ll" as standard | |
1401 | STD_C9L. | |
1402 | (T99_LL): Rename to T9L_LL. | |
1403 | (T99_ULL): Rename to T9L_ULL. | |
1404 | (print_char_table, scan_char_table): Use T9L_LL and T9L_ULL | |
1405 | instead of T99_LL and T99_ULL. | |
1406 | (check_format_info_main): Use ADJ_STD on all format standard | |
1407 | versions being compared. | |
1408 | * c-common.h: Declare warn_long_long. | |
1409 | * c-tree.h: Don't declare warn_long_long. | |
1410 | ||
2cb5082c JM |
1411 | 2000-12-18 Joseph S. Myers <jsm28@cam.ac.uk> |
1412 | ||
1413 | * COPYING: Update to current | |
1414 | ftp://ftp.gnu.org/pub/gnu/Licenses/COPYING-2.0 (fixes references | |
1415 | to 19yy as example year in copyright notice). | |
1416 | ||
665ad678 NB |
1417 | 2000-12-18 Neil Booth <neil@daikokuya.demon.co.uk> |
1418 | ||
1419 | * c-lex.c (cb_file_change): Treat in_system_header as strictly | |
1420 | boolean (0 or 1). | |
1421 | ||
3cab4133 NB |
1422 | 2000-12-18 Neil Booth <neil@daikokuya.demon.co.uk> |
1423 | ||
1424 | * cppmain.c: Update print.lineno with -P. | |
1425 | ||
eb1f4d9d NB |
1426 | 2000-12-18 Neil Booth <neil@daikokuya.demon.co.uk> |
1427 | ||
1428 | * c-lex.c: s/change_file/file_change. | |
1429 | * cpplib.h: Similarly. | |
1430 | * cppmain.c: Similarly. | |
1431 | * fix-header.c: Similarly. | |
1432 | * cppfiles.c (stack_include_file): Pass the buffer location and | |
1433 | size to cpp_push_buffer. Generate the file_change callback, | |
1434 | so that sysp is already set. | |
1435 | * cpphash.h: Add _cpp_do_file_change. | |
1436 | * cpplib.c (do_line): Set buffer->sysp directly. Generate the | |
1437 | file_change callback after setting sysp. | |
1438 | (_cpp_do_file_change): Handle FC_ENTER and the FC_RENAME exception | |
1439 | here. | |
1440 | (cpp_push_buffer): Don't generate a callback. Clear sysp. | |
1441 | (cpp_pop_buffer): Clean up logic. | |
1442 | ||
e2187d3b BK |
1443 | 2000-12-18 Benjamin Kosnik <bkoz@redhat.com> |
1444 | ||
1445 | * configure.in (gcc_gxx_include_dir): Simplify. | |
1446 | (libstdcxx_incdir): Export. | |
1447 | * configure: Regenerate. | |
1448 | * Makefile.in (PREPROCESSOR_DEFINES): Add in | |
1449 | GPLUSPLUS_TOOL_INCLUDE_DIR bits here.. | |
1450 | (libstdcxx_incdir): Add. | |
1451 | * cppdefault.c (GPLUSPLUS_TOOL_INCLUDE_DIR): Add search path. | |
1452 | ||
851ef036 NB |
1453 | 2000-12-18 Neil Booth <neil@daikokuya.demon.co.uk> |
1454 | ||
1455 | * c-lex.c (lex_lineno): Remove. | |
1456 | (init_c_lex, c_lex): Remove lex_lineno. | |
1457 | (cb_change_file): Update lineno correctly, both before calling | |
1458 | push_srcloc and before leaving the function. | |
1459 | (cb_def_pragma): Set lineno before outputting diagnostics. | |
1460 | ||
f2aca197 RK |
1461 | Sun Dec 17 18:45:41 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
1462 | ||
1463 | * print-tree.c (print_node): Print DECL_USER_ALIGN and TYPE_USER_ALIGN. | |
1464 | Print TYPE_MIN_VALUE and TYPE_MAX_VALUE for REAL_TYPE. | |
1465 | Use print_node_brief to print bounds. | |
1466 | ||
49fe13f6 NB |
1467 | 2000-12-17 Neil Booth <neil@daikokuya.demon.co.uk> |
1468 | ||
1469 | * cpplib.h (struct cpp_reader): Remove references to string_pool | |
1470 | and temp_string_pool. | |
1471 | * cppinit.c (cpp_create_reader, cpp_cleanup): Similarly; using | |
1472 | ident_pool in place. | |
1473 | * cpplex.c (parse_number, unescaped_terminator_p, parse_string, | |
1474 | save_comment, cpp_token_as_text): Similarly. | |
1475 | * cpplib.c (do_define, glue_header_name, parse_assertion): Similarly. | |
1476 | * cppmacro.c (make_number_token, builtin_macro, lock_pools, | |
1477 | unlock_pools, stringify_arg, paste_tokens): Similarly. | |
1478 | ||
ed972b14 RK |
1479 | Sun Dec 17 12:41:48 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
1480 | ||
1481 | * dwarf2out.c (loc_descriptor_from_tree, case NOP_EXPR): New case. | |
1482 | (loc_descriptor_from_tree, case CONVERT_EXPR): Likewise. | |
1483 | (loc_descriptor_from_tree, case NON_LVALUE_EXPR): Likewise. | |
1484 | ||
e108653c RE |
1485 | 2000-12-17 Richard Earnshaw <rearnsha@arm.com> |
1486 | ||
1487 | * Makefile.in (check-po): Use $(MAKE). | |
1488 | (risky-stage1, risky-stage2, risky-stage3, risky-stage4): Likewise. | |
1489 | ||
dfbf62ec NB |
1490 | 2000-12-17 Neil Booth <neil@daikokuya.demon.co.uk> |
1491 | ||
1492 | * cppmain.c (check_multiline_token): New function. | |
1493 | (scan_buffer): Use it. | |
1494 | (cb_change_file): Restructure to avoid warning. | |
1495 | * cpperror.c (print_location): Initialize col. | |
1496 | ||
04650349 | 1497 | 2000-12-14 Philipp Thomas <pthomas@suse.de> |
ed972b14 | 1498 | |
04650349 PT |
1499 | * protoize.c (main): Correctly set locale categories. |
1500 | * gcc.c (main): Likewise. | |
1501 | * cppmain.c (general_init): Likewise. | |
1502 | * toplev.c (main): Likewise. | |
1503 | * gcov.c (main): Likewise. | |
1504 | * collect2.c (main): Likewise. | |
1505 | ||
60291474 KG |
1506 | 2000-12-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
1507 | ||
1508 | * c-common.c (c_common_nodes_and_builtins): Create a | |
1509 | cstring_endlink, use it. Rename int_ftype_string_string to | |
1510 | int_ftype_cstring_cstring, string_ftype_string_int to | |
1511 | string_ftype_cstring_int, and string_ftype_string_string to | |
1512 | string_ftype_cstring_cstring. Prefer sizetype_endlink and | |
1513 | int_endlink to manually recreating them. Fix the prototype | |
1514 | set for __builtin_strspn/__builtin_strcspn. | |
1515 | ||
cf14485b MM |
1516 | 2000-12-12 Marek Michalkiewicz <marekm@linux.org.pl> |
1517 | ||
1518 | * config/avr/avr.c (out_set_stack_ptr): Update comment. | |
1519 | (print_operand): Add support for %~ and %o. | |
1520 | ||
8e0ed3b5 HB |
1521 | 2000-12-17 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl> |
1522 | ||
1523 | * c4x.h: Add ASM_OUTPUT_DEF definition for bounded pointer code. | |
1524 | ||
ad2a084d NB |
1525 | 2000-12-17 Neil Booth <neil@daikokuya.demon.co.uk> |
1526 | ||
1527 | * c-lex.c: Move main_input_filename handling to FC_ENTER. Clean up. | |
1528 | * cpperror.c (print_containing_files): Get right line number. | |
1529 | (print_location): Output column of 1 if 0. | |
1530 | * cppfiles.c (stack_include_file): cpp_push_buffer handles | |
1531 | the callback. | |
1532 | * cpphash.h (_cpp_do_file_change): No longer external. | |
1533 | * cpplib.c (do_file_change): Now local to cpplib.c. | |
1534 | (do_line): Fake a buffer stack for preprocessed files. | |
1535 | (cpp_push_buffer): Create a file_change callback. Handle faked | |
1536 | buffers. | |
1537 | (cpp_pop_buffer): Similarly. | |
1538 | * cpplib.h: BUF_FAKE: New buffer type. | |
1539 | * cppmain.c: Update to handle correct file renaming where a | |
1540 | #line is the first line of the main file, and produce only | |
1541 | the renamed file, not the original file, as output. | |
1542 | ||
3b67042a MH |
1543 | 2000-12-17 Michael Hayes <m.hayes@elec.canterbury.ac.nz> |
1544 | ||
1545 | * config/c4x/c4x.md: Remove redundant @s from output patterns. | |
1546 | ||
9f416fac MH |
1547 | 2000-12-17 Michael Hayes <m.hayes@elec.canterbury.ac.nz> |
1548 | Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl> | |
1549 | ||
1550 | * config/c4x/c4x.h (REGISTER_TARGET_PRAGMAS): Call c4x_init_pragma. | |
1551 | ||
1552 | * config/c4x/c4x-protos.h (c4x_init_pragma): New prototype. | |
1553 | ||
1554 | * config/c4x/c4x.c (c4x_init_pragma): New function. | |
1555 | (c_lex_func): New variable. | |
1556 | (c4x_parse_pragma): Use c_lex_func. | |
1557 | ||
94eebed9 MH |
1558 | 2000-12-17 Michael Hayes <m.hayes@elec.canterbury.ac.nz> |
1559 | Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl> | |
1560 | ||
1561 | * config/c4x/c4x.h (MD_INIT_BUILTINS): Add void_list_node argument | |
1562 | to c4x_init_builtins. | |
1563 | ||
1564 | * config/c4x/c4x-protos.h (c4x_init_builtins): Add tree argument. | |
1565 | ||
21c7361e | 1566 | * config/c4x/c4x.c (c4x_init_builtins): Add tree argument. |
94eebed9 | 1567 | (c4x_output_ascii): Fix. |
21c7361e | 1568 | |
66f77154 | 1569 | 2000-12-17 Michael Hayes <m.hayes@elec.canterbury.ac.nz> |
8a119a7d | 1570 | Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl> |
66f77154 | 1571 | |
8a119a7d MH |
1572 | * config/c4x/c4x.h (MD_INIT_BUILTINS, MD_EXPAND_BUILTIN): Define. |
1573 | ||
1574 | * config/c4x/c4x-protos.h (c4x_init_builtins): New prototype. | |
1575 | (c4x_expand_builtin): Likewise. | |
1576 | ||
1577 | * config/c4x/c4x.c (c4x_init_builtins): New function. | |
1578 | (c4x_expand_builtin): Likewise. | |
1579 | ||
1580 | * config/c4x/c4x.md (floatunsqihf2): New pattern. | |
1581 | (*floatqihf2_set, *fixhfqi_set, fix_trunchfqi2): Likewise. | |
1582 | (fixuns_trunchfqi2, toieee, frieee, *ldhf_conditional): Likewise. | |
1583 | (*ldhf_conditional_noov, movhfcc, trap, cond_trap_cc): Likewise. | |
1584 | (*toieee_movqf_clobber, *frieee_movqf_clobber): Likewise. | |
1585 | ||
1586 | 2000-12-17 Michael Hayes <m.hayes@elec.canterbury.ac.nz> | |
21c7361e | 1587 | |
66f77154 MH |
1588 | * libgcc2.h: Use Wtype for SItype and DWtype for DItype in prototypes. |
1589 | * libgcc2.c (__absvsi2): Use Wtype and DWtype. | |
1590 | (__absvdi2, __addvsi3, __addvdi3, __subvsi3): Likewise. | |
1591 | (__subvdi3, __mulvsi3, __mulvdi3, __negvsi2, __negvdi2): Likewise. | |
1592 | ||
f11009b7 AO |
1593 | 2000-12-16 Alexandre Oliva <aoliva@redhat.com> |
1594 | ||
1595 | * config/sh/sh.h (INITIALIZE_TRAMPOLINE): Enclose the block | |
1596 | statement in do/while(0). | |
1597 | ||
2bed3391 JH |
1598 | Sat Dec 16 19:56:24 MET 2000 Jan Hubicka <jh@suse.cz> |
1599 | ||
1600 | * i386.md (ashrsi3_cmpno, ashrhi3_cmpno, ashrqi3_cmpno, lshrsi3_cmpno, | |
1601 | lshrhi3_cmpno): Remove redundant '@' from the template. | |
1602 | ||
1603 | * i386.md (cmpstrsi_1): Fix type of the compare. | |
1604 | ||
1605 | * genattrtab.c (attr_rtx_cost): New function. | |
1606 | (simplify_test_exp): Avoid overactive inlining; use temporary | |
1607 | obstacks for tests. | |
1608 | ||
23cb454a RK |
1609 | Sat Dec 16 10:41:11 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
1610 | ||
b372743a RK |
1611 | * diagnostic.c (finish_abort): Deleted. |
1612 | (fatal): Add code from finish_abort. | |
1613 | (error_recursion, fancy_abort): Call fatal, not finish_abort. | |
1614 | (trim_filename): Remove leading "../". | |
1615 | * diagnostic.h (finish_abort): Deleted. | |
1616 | * toplev.c (crash_signal): Call fatal, not finish_abort. | |
1617 | ||
67011d81 RK |
1618 | * stor-layout.c (place_field): Treat overflowing DECL_SIZE_UNIT |
1619 | as if size were variable. | |
1620 | ||
23cb454a RK |
1621 | * expmed.c (expand_mult): Write REG_EQUAL note with proper mode. |
1622 | ||
3244472d NB |
1623 | 2000-12-16 Neil Booth <neil@daikokuya.demon.co.uk> |
1624 | ||
1625 | * tradcpp.c: T_WARNING: New. | |
1626 | (do_warning): New function. | |
1627 | (finclude): Skip past the newline and increase the line number | |
1628 | before calling output_line_command. | |
21c7361e AJ |
1629 | (do_line): Skip the new line after output_line_command. Don't |
1630 | pre-decrement the line number. | |
3244472d | 1631 | |
112550d3 DN |
1632 | 2000-12-15 Diego Novillo <dnovillo@redhat.com> |
1633 | ||
1634 | * i386/unix.h (ASM_OUTPUT_MI_THUNK): Fix references to | |
1635 | _GLOBAL_OFFSET_TABLE_ when using Intel syntax. | |
1636 | ||
be768055 JJ |
1637 | 2000-12-15 Jakub Jelinek <jakub@redhat.com> |
1638 | ||
1639 | * gcc.c (cpp_options): Pass -fno-operator-names. | |
1640 | * cpplib.h (struct cpp_options): Add operator_names. | |
1641 | * cppinit.c (cpp_create_reader): Initialize it. | |
1642 | (initialize_builtins): If -fno-operator-names, don't add | |
1643 | C++ alternate operator names. | |
1644 | (COMMAND_LINE_OPTIONS): Add -fno-operator-names. | |
1645 | (cpp_handle_option): Clear operator_names. | |
1646 | ||
745b9093 JM |
1647 | 2000-12-15 Jason Merrill <jason@redhat.com> |
1648 | ||
1649 | * jump.c (jump_optimize_1): Don't delete the line note after the | |
1650 | prologue even if it seems redundant. | |
1651 | ||
1652 | * config/arm/arm.c (arm_expand_prologue): Set RTX_FRAME_RELATED_P | |
1653 | on all insns used to adjust the stack. | |
1654 | ||
ad334b51 JH |
1655 | Fri Dec 15 15:32:16 MET 2000 Jan Hubicka <jh@suse.cz> |
1656 | ||
1657 | * combine.c (cant_combine_insn_p): Get around SUBREGs when determining | |
1658 | hardreg<->reg moves. | |
1659 | ||
29360e56 JH |
1660 | Fri Dec 15 14:48:37 MET 2000 Jan Hubicka <jh@suse.cz> |
1661 | ||
1662 | * genrecog.c (add_to_sequence): Remove special case for | |
1663 | const_int_operand. | |
1664 | (maybe_both_true): Return 1 when falling out of sequence when | |
1665 | trying to find common possition in the pattern. | |
1666 | ||
dde068d9 JH |
1667 | Fri Dec 15 14:44:51 MET 2000 Jan Hubicka <jh@suse.cz> |
1668 | ||
1669 | * integrate.c (copy_rtx_and_substitute): Copy mode too. | |
1670 | ||
0bf7d71a JH |
1671 | Fri Dec 15 14:11:57 MET 2000 Jan Hubicka <jh@suse.cz> |
1672 | ||
1673 | * flow.c (notice_stack_pointer_modification_1): Cleanup. | |
1674 | ||
b33493e3 AO |
1675 | 2000-12-15 Alexandre Oliva <aoliva@redhat.com> |
1676 | ||
1677 | * function.c (adjust_trampoline_addr): New function. | |
1678 | (trampoline_address): Call it instead of round_trampoline_addr(). | |
1679 | * tm.texi (TRAMPOLINE_ADJUST_ADDRESS): Document it. | |
1680 | ||
0eda43ce ZW |
1681 | 2000-12-14 Zack Weinberg <zack@wolery.stanford.edu> |
1682 | ||
1683 | * cppfiles.c (hack_vms_include_specification): Delete function | |
1684 | (not used since 1998). | |
1685 | ||
4cf37b4a R |
1686 | Fri Dec 15 03:37:51 2000 J"orn Rennecke <amylaar@redhat.com> |
1687 | ||
1688 | * haifa-sched.c (sched_init): Don't put a note in front of any BARRIER. | |
1689 | ||
1d79fd2c JW |
1690 | 2000-12-14 Jim Wilson <wilson@redhat.com> |
1691 | ||
1692 | * alias.c (get_alias_set): Call record_component_aliases for | |
1693 | COMPLEX_TYPE. | |
1694 | (record_component_aliases): Handle COMPLEX_TYPE. | |
21c7361e | 1695 | |
e7103ad2 KG |
1696 | 2000-12-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
1697 | ||
1698 | * fixinc/gnu-regex.c: Disable NLS. | |
1699 | ||
34c659e2 RH |
1700 | 2000-12-14 Richard Henderson <rth@redhat.com> |
1701 | ||
c53f9f5b RH |
1702 | * config/alpha/alpha.c (alpha_emit_conditional_move): Do not swap |
1703 | comparison operands when that would create non-canonical rtl. | |
1704 | ||
34c659e2 RH |
1705 | * config/i386/i386.md (umulsi3_highpart): Remove * from name. |
1706 | (smulsi3_highpart): Likewise. | |
1707 | ||
7667db9b NB |
1708 | 2000-12-14 Neil Booth <neil@daikokuya.demon.co.uk> |
1709 | ||
1710 | * gcc.c (cpp_options): Add -remap. | |
1711 | ||
196a37f4 NB |
1712 | 2000-12-14 Neil Booth <neil@daikokuya.demon.co.uk> |
1713 | ||
1714 | * gcc.c (cpp_options): Update to use '&'. | |
1715 | (struct switchstr): Change type of validated to save space. | |
1716 | New member 'ordering'. | |
21c7361e | 1717 | (handle_braces, validate_switches): Update to handle '&'. |
196a37f4 | 1718 | |
413c5c85 LB |
1719 | 2000-12-13 Laurynas Biveinis <lauras@softhome.net> |
1720 | ||
1721 | * fixinc/inclhack.def: skip stdio_va_list fix if __DJ_va_list | |
1722 | found in a header. | |
1723 | * fixinc/fixincl.x: regenerated. | |
1724 | ||
60a8ab96 DD |
1725 | 2000-12-13 DJ Delorie <dj@redhat.com> |
1726 | ||
1727 | * config.gcc (cygwin, win32, mingw32): Use float-i386.h. | |
1728 | ||
14dd2402 TT |
1729 | 2000-12-13 Tom Tromey <tromey@redhat.com> |
1730 | ||
1731 | * gcc.c (handle_braces): Handle %{<S*} spec correctly. | |
1732 | ||
e68a6ce1 AO |
1733 | 2000-12-13 Alexandre Oliva <aoliva@redhat.com> |
1734 | ||
1735 | * function.c (assign_parms): Optimize incoming PARALLELs into | |
1736 | REGs if possible. | |
1737 | ||
2629a114 BK |
1738 | 2000-12-13 Bruce Korb <bkorb@gnu.org> |
1739 | ||
1740 | * fixinc/Makefile.in(*): substantial rewrite to accommodate systems | |
1741 | that cannot handle bi-directional pipes, viz. BeOS and DOS. | |
1742 | * fixinc/fixlib.h(IGNORE_ARG): new macro | |
1743 | (STATIC): define for all of fixinc to use | |
1744 | * fixinc/fixfixes.c(*): eliminate unused arg warnings | |
1745 | * fixinc/fixtests.c(*): ditto | |
1746 | * fixinc/fixincl.c(start_fixer): chain_open now uses const arg list | |
1747 | * fixinc/gnu-regex.c: reorder some includes to avoid _GNU_SOURCE | |
1748 | warning. Also, eliminate the ``#ifdef emacs'' stuff. | |
1749 | (re_syntax_options): make global as it is declared so. | |
1750 | * fixinc/mkfixinc.sh: process the argument list more consistently | |
1751 | (beos/msdosdjgpp): set TARGETS to twoprocess vs. oneprocess | |
1752 | * fixinc/procopen.c(globals): include "fixlib.h" for std defs | |
1753 | * fixinc/server.c(globals): ditto | |
1754 | * fixinc/server.h(defines): ditto | |
1755 | ||
c36ee164 NB |
1756 | 2000-12-13 Neil Booth <neil@daikokuya.demon.co.uk> |
1757 | ||
1758 | * tradcpp.c (special_symbol): Improve test for definedness, | |
1759 | though it is still not perfect. | |
1760 | (do_define): Don't define illegal macro names. | |
21c7361e | 1761 | |
a65fd88a AH |
1762 | 2000-12-07 Aldy Hernandez <aldyh@redhat.com> |
1763 | ||
1764 | * config/mips/elf.h (ASM_OUTPUT_SECTION_NAME): emit @nobits | |
1765 | if changing into .bss section. | |
1766 | * config/mips/elf64.h: same. | |
1767 | * config/mips/iris6.h: same. | |
1768 | * config/mips/netbsd.h: same. | |
1769 | * config/mips/openbsd.h: same. | |
1770 | ||
8767c894 NB |
1771 | 2000-12-13 Neil Booth <neil@daikokuya.demon.co.uk> |
1772 | ||
1773 | * cppfiles.c (read_name_map): Return null if open () fails. | |
1774 | (remap_filename): Simplify logic. Add ICE if it doesn't work | |
1775 | as expected. Perform secondary lookup attempt on base filename | |
1776 | only. | |
1777 | ||
a4377974 JH |
1778 | Wed Dec 13 19:48:04 MET 2000 Jan hubicka <jh@suse.cz> |
1779 | ||
1780 | * flow.c (notice_stack_pointer_modification_1): Notice midifications | |
1781 | using PRE_MODIFY and POST_MODIFY. | |
1782 | ||
c6d79bee JH |
1783 | Wed Dec 13 17:25:32 MET 2000 Jan Hubicka <jh@suse.cz> |
1784 | ||
1785 | * genoutput.c (process_template): Add sanity checking for '@' templates. | |
1786 | ||
b639e6e4 BS |
1787 | 2000-12-13 Bernd Schmidt <bernds@redhat.co.uk> |
1788 | ||
1789 | * simplify-rtx.c (cselib_finish): Free reg_values and used_regs | |
1790 | varrays. | |
1791 | ||
ffc0eab4 MS |
1792 | 2000-12-12 Mike Stump <mrs@wrs.com> |
1793 | ||
1794 | * Makefile.in (distclean): Remove safe-ctype.c as well. | |
1795 | ||
1df97aa4 BL |
1796 | 2000-12-12 Brad Lucier <lucier@math.purdue.edu> |
1797 | ||
1798 | * tradcpp.c (do_error): Cast difference of pointers to int | |
1799 | for error message. | |
1800 | ||
edf11378 FS |
1801 | 2000-12-12 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
1802 | ||
1803 | * config/rs6000/linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Move from here... | |
1804 | * config/rs6000/sysv4.h (HANDLE_PRAGMA_PACK_PUSH_POP): ...to here. | |
1805 | ||
4d4182e9 JW |
1806 | 2000-12-12 Jim Wilson <wilson@redhat.com> |
1807 | ||
1808 | * rtlanal.c (may_trap_p): Check operand modes of LE, LT, GE, and GT. | |
1809 | ||
2b60b2cb AO |
1810 | 2000-12-12 Alexandre Oliva <aoliva@redhat.com> |
1811 | ||
1812 | * configure.in: Simplify language enabling/disabling code. | |
1813 | * configure: Rebuilt. | |
1814 | * ch/config-lang.in (target_libs): Set. | |
1815 | (build_by_default): Set to no. | |
1816 | * cp/config-lang.in (target_libs): Set. | |
1817 | * f/config-lang.in (target_libs): Set. | |
1818 | * java/config-lang.in (target_libs): Set. | |
1819 | * objc/config-lang.in (target_libs): Set. | |
1820 | ||
e793c609 NB |
1821 | 2000-12-12 Neil Booth <neil@daikokuya.demon.co.uk> |
1822 | ||
1823 | * tradcpp.c (enum node_type): Add T_ERROR. | |
1824 | (do_error): New function. | |
1825 | (directive_table): Add #error handler. | |
1826 | ||
d033a989 FS |
1827 | 2000-12-12 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
1828 | ||
1829 | * configure.in (HAVE_AS_DWARF2_DEBUG_LINE): Enable .file/.loc check | |
1830 | for powerpc*-*-*. | |
1831 | * configure: Regenerated. | |
edf11378 | 1832 | * config/rs6000/linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define. |
d033a989 FS |
1833 | * config/rs6000/rs6000.c (rs6000_unique_section): Use |
1834 | STRIP_NAME_ENCODING. | |
1835 | ||
27b18383 JL |
1836 | Mon Dec 11 13:51:09 2000 Jeffrey A Law (law@cygnus.com) |
1837 | ||
1838 | * pa.c (cmpib_comparison_operator): Remove GEU and LTU. | |
1839 | * pa.h (PREDICATE_CODES, cmpib_comparison_operator): Corresponding | |
1840 | changes. | |
1841 | ||
37082e6d BK |
1842 | 2000-12-11 Bruce Korb <bkorb@gnu.org> |
1843 | ||
1844 | * fixinc/fixincl.tpl: initialize all fields for warnings | |
1845 | * fixinc/fixincl.x: regenerate | |
1846 | ||
4028c3a1 NB |
1847 | 2000-12-11 Neil Booth <neilb@earthling.net> |
1848 | ||
1849 | * tradcpp.h: For tradcpp, NUL is not whitespace. | |
1850 | ||
af57885e NB |
1851 | 2000-12-11 Neil Booth <neilb@earthling.net> |
1852 | ||
1853 | * fix-header.c (read_scan_file): Macro expansion is not a file buffer. | |
1854 | ||
89741abb MM |
1855 | 2000-12-05 Marek Michalkiewicz <marekm@linux.org.pl> |
1856 | ||
1857 | * config/avr/avr.c (compare_condition, compare_sign_p): New functions. | |
1858 | (compare_diff_p, compare_eq_p): Call compare_condition. | |
1859 | (out_tsthi, out_tstsi): Call compare_sign_p. | |
1860 | (avr_progmem_p): Check for error_mark_node. | |
1861 | ||
0bda4760 NB |
1862 | 2000-12-11 Neil Booth <neilb@earthling.net> |
1863 | ||
745b9093 JM |
1864 | * cpperror.c (print_location): New function. |
1865 | (print_containing_files): Simplify. | |
1866 | (_cpp_begin_message): Simplify and use print_location. | |
1867 | * cppfiles.c (stack_include_file): Update. | |
1868 | (_cpp_pop_file_buffer): Update. | |
1869 | * cpphash.h (struct cpp_buffer): New members | |
21c7361e | 1870 | include_stack_listed and type. |
745b9093 JM |
1871 | * cpplib.c (_cpp_handle_directive): Buffer->inc is not null. |
1872 | (run_directive): Take buffer type. cpp_push_buffer cannot fail. | |
1873 | (_cpp_do__Pragma, cpp_define, _cpp_define_builtin, cpp_undef, | |
1874 | handle_assertion): Update. | |
1875 | (cpp_push_buffer): Take a buffer type and file name. | |
1876 | (cpp_pop_buffer): Update. Clear include_stack_listed. | |
1877 | * cpplib.h (input_stack_listing_current): Remove. | |
1878 | (enum cpp_buffer_type): New. | |
1879 | (cpp_push_buffer): New prototype. | |
1880 | * cppmacro.c (builtin_macro): Simplify; buffer cannot be null. | |
1881 | * fix-header.c (read_scan_file): Update. | |
0bda4760 | 1882 | |
800635c1 RL |
1883 | 2000-12-10 Robert Lipe <robertlipe@usa.net> |
1884 | ||
1885 | * install.texi (i*86-*-sco3.2v5*): Remove information duplicated | |
1886 | in html version. | |
1887 | ||
c0ea284b RH |
1888 | 2000-12-10 Richard Henderson <rth@redhat.com> |
1889 | ||
1890 | * genrecog.c (find_operand): Handle 'V' format code. | |
1891 | (find_matching_operand): New. | |
1892 | (validate_pattern): Accept '=' for an in-out operand if there | |
1893 | is another operand with a matching constraint. | |
1894 | ||
1895 | * config/i386/i386.md (andqi_ext_0_cc): Use matching constraint | |
1896 | for op1 to op0. | |
1897 | ||
e06d5f0b RH |
1898 | 2000-12-10 Richard Henderson <rth@redhat.com> |
1899 | ||
1900 | * genrecog.c (validate_pattern) [STRICT_LOW_PART]: Fix thinko. | |
1901 | ||
7297e9fc RH |
1902 | 2000-12-09 Richard Henderson <rth@redhat.com> |
1903 | ||
21c7361e | 1904 | * genrecog.c (validate_pattern): Verify that ZERO_EXTRACT and |
7297e9fc RH |
1905 | STRICT_LOW_PART as SET_DEST have in-out constraints. |
1906 | ||
e45046ae JM |
1907 | 2000-12-09 Joseph S. Myers <jsm28@cam.ac.uk> |
1908 | ||
1909 | * c-common.c (check_function_format): Don't suggest adding format | |
1910 | attributes to functions with no parameter to which to add them. | |
1911 | ||
8e56560e NC |
1912 | 2000-12-09 Nick Clifton <nickc@redhat.com> |
1913 | ||
1914 | * config/arm/arm.c (arm_expand_prologue): Mark the generated | |
1915 | insn not the set as being DWARF2_FRAME_RELATED_P. | |
1916 | ||
193ad8c6 LB |
1917 | 2000-12-09 Laurynas Biveinis <lauras@softhome.net> |
1918 | ||
1919 | * Makefile.in: use $(build_exeext) for all build | |
1920 | system executable targets. | |
1921 | ||
6a52a2ef LB |
1922 | 2000-12-09 Laurynas Biveinis <lauras@softhome.net> |
1923 | ||
1924 | * install.texi: remove i[345]86-*-winnt3.5 section. | |
1925 | * configur.bat: removed. | |
1926 | * config/msdos: directory removed. | |
1927 | ||
28e0f040 NB |
1928 | 2000-12-09 Neil Booth <neilb@earthling.net> |
1929 | ||
c0ea284b RH |
1930 | * cppfiles.c (NEVER_REREAD, DO_NOT_REREAD): Move from cpphash.h. |
1931 | * cpphash.h (NEVER_REREAD, DO_NOT_REREAD, ABSOLUTE_PATH): Delete. | |
1932 | * cpplex.c (parse_identifier): Improve diagnostic. | |
1933 | (_cpp_lex_token): Return unconditionally at the end of a directive. | |
1934 | * cpplib.c (read_flag): Verify legality of each flag. | |
1935 | (end_directive): Resotre pfile->skipping before skip_rest_of_line. | |
1936 | (do_line): Use the new read_flag. | |
1937 | * cppmacro.c (struct cpp_macro, parse_arg, replace_args, | |
1938 | check_macro_redefinition, parse_params): Rename var_args to | |
1939 | variadic. | |
28e0f040 | 1940 | |
1b32f732 JM |
1941 | 2000-12-09 Joseph S. Myers <jsm28@cam.ac.uk> |
1942 | ||
1943 | * .cvsignore: Add info files. | |
1944 | ||
17f4d7aa LB |
1945 | 2000-12-08 Laurynas Biveinis <lauras@softhome.net> |
1946 | ||
1947 | * config/winnt: Remove obsolete directory. | |
1948 | * install.texi (Configurations): Remove obsolete documentation for | |
1949 | Windows NT. | |
1950 | ||
17db6582 JM |
1951 | 2000-12-08 Joseph S. Myers <jsm28@cam.ac.uk> |
1952 | ||
1953 | * configure.in: Don't define INSTALL_INFO. | |
1954 | * configure: Regenerate. | |
1955 | * Makefile.in (INSTALL_INFO): Remove. | |
1956 | (info): Depend on info files in source directory. | |
1957 | (cpp.info, gcc.info, c-tree.info): Build info files in source | |
1958 | directory. | |
1959 | (distclean): Don't remove info files. | |
1960 | (maintainer-clean): Remove info files from source directory. | |
1961 | (install-normal): Depend on install-info. | |
1962 | (install-info): Install info files from source directory, if they | |
1963 | exist. | |
1964 | * texinfo.tex: Update to version 2000-11-09.08 from ftp.gnu.org. | |
1965 | ||
25fa8bdc AO |
1966 | 2000-12-08 Alexandre Oliva <aoliva@redhat.com> |
1967 | ||
1968 | * lcm.c (optimize_mode_switching): Check whether an insn is a NOTE | |
1969 | before taking its NOTE_LINE_NUMBER. | |
1970 | ||
6d3d9133 NC |
1971 | 2000-12-08 Nick Clifton <nickc@redhat.com> |
1972 | ||
859230d4 NC |
1973 | * config/arm/arm.md (load_indirect_jump): Add pool ranges. |
1974 | ||
6d3d9133 NC |
1975 | * extend.texi: Document ARM "interrupt" function attribute. |
1976 | Mention that the ARM also support the "naked" function | |
1977 | attribute. | |
1978 | ||
1979 | * config/arm/arm-protos.h (arm_current_func_type): Add | |
1980 | prototype. | |
1981 | ||
1982 | * config/arm/arm.h (EXCEPTION_LR_REGNUM): Define. | |
1983 | (struct machine_function): Add 'func_type' field. | |
1984 | Define bit values for 'func_type' field. | |
1985 | (ARM_FUNC_TYPE): New macro. | |
1986 | (IS_INTERRUPT): New macro. | |
1987 | (IS_VOLATILE): New macro. | |
1988 | (IS_NAKED): New macro. | |
1989 | (IS_NESTED): New macro. | |
1990 | (ARM_INITIAL_ELIMINATION_OFFSET): Use IS_VOLATILE. | |
1991 | ||
1992 | * config/arm/arm.c (isr_attribute_args): New Structure. A | |
1993 | list of "interrupt" function attribute modifiers. | |
1994 | (arm_isr_value): New Function: Returns the type of the current | |
1995 | interrupt function. | |
1996 | (arm_compute_func_type): New Function: Computes the type of | |
1997 | the current function. | |
1998 | (arm_current_func_type): New Function: Returns the type of the | |
1999 | current function. | |
2000 | (use_return_insn): Use arm_current_func_type. | |
2001 | (arm_valid_type_attribute_p): Accept "interrupt" function | |
2002 | attribute. | |
2003 | (arm_comp_type_attributes): Check "interrupt" attributes. | |
2004 | (arm_valid_machine_decl): Accept "interrupt" function | |
2005 | attribute. | |
2006 | (arm_function_ok_for_sibcall): Do not allow interrupt | |
2007 | functions to use sibcalls. | |
2008 | (arm_naked_function_p): Delete. | |
2009 | (print_multi_reg): Remove redundant parameter 'hat'. | |
2010 | (arm_compute_save_reg_mask): New Function: Compute a bit mask | |
2011 | of registers saved during the current function's prologue. | |
2012 | (output_arm_return_instruction): Use arm_current_func_type. | |
2013 | Generate return instruction when LR is not poppsed off the | |
2014 | stack. | |
2015 | (arm_volatile_func): Delete. | |
2016 | (output_arm_prologue): Use arm_current_func_type and | |
2017 | arm_compute_save_reg_mask. | |
2018 | Note presernce of interrupt functions. | |
2019 | (arm_output_epilogue): Use arm_current_func_type and | |
2020 | arm_compute_save_reg_mask. | |
2021 | (arm_expand_prologue): Use arm_current_func_type and | |
2022 | arm_compute_save_reg_mask. | |
2023 | (arm_init_machine_status): Initialise func_type field, if | |
2024 | necessary. | |
2025 | (thumb_expand_prologue): Use arm_current_func_type. | |
2026 | (output_thumb_prologue): Use arm_current_func_type. | |
2027 | ||
2bff3fd5 BL |
2028 | 2000-12-08 Brad Lucier <lucier@math.purdue.edu> |
2029 | ||
c0ea284b | 2030 | * tradcpp.c (do_include): Make pointer differences 64-bit clean. |
2bff3fd5 | 2031 | |
cf9f5da0 R |
2032 | Fri Dec 8 08:23:29 2000 J"orn Rennecke <amylaar@redhat.com> |
2033 | ||
2034 | * fp-bit.c (_fpmul_parts): Use USItype variables as inputs | |
2035 | for multiplies. | |
2036 | ||
2e35898e MS |
2037 | 2000-12-07 Mike Stump <mrs@wrs.com> |
2038 | ||
2039 | * Makefile.in (distclean): Remove alloca.c hashtab.c. | |
2040 | ||
f6bbde28 ZW |
2041 | 2000-12-07 Zack Weinberg <zack@wolery.stanford.edu> |
2042 | ||
2043 | * Makefile.in (HOST_RTL): Add safe-ctype.o. | |
2044 | (safe-ctype.o): New rule. | |
2045 | * system.h: Include safe-ctype.h, not ctype.h. No need to | |
2046 | wrap ctype macros. | |
2047 | ||
2048 | * cpphash.h: Zap IStable and related macros. Define is_* in | |
2049 | terms of safe-ctype.h macros. | |
2050 | * cppinit.c: Delete the IStable and all related code. | |
2051 | ||
2052 | * tradcpp.c: Delete is_idchar, is_idstart, is_hor_space, and | |
2053 | is_space arrays. Delete initialize_char_syntax. Change all | |
2054 | references to the above arrays to use macros instead. | |
2055 | * tradcpp.h: Define is_idchar, is_idstart, is_space, and | |
2056 | is_nvspace in terms of safe_ctype.h's macros. | |
2057 | * tradcif.y: is_idchar, is_idstart are macros not arrays. | |
2058 | ||
2059 | * config/i370/i370.c, config/winnt/dirent.c, | |
2060 | config/winnt/fixinc-nt.c, config/winnt/ld.c: | |
2061 | Use uppercase ctype macros. If we included ctype.h, | |
2062 | include safe-ctype.h instead. | |
2063 | ||
2064 | * fixinc/fixfixes.c: Use uppercase ctype macros. Don't test | |
2065 | ISLOWER(c) before calling TOUPPER(c). | |
2066 | * fixinc/fixincl.c (extract_quoted_files): Simplify out some gunk. | |
2067 | * fixinc/gnu-regex.c: Include safe-ctype.h, not ctype.h. No need to | |
2068 | wrap ctype macros. Don't test ISUPPER(x) before calling TOLOWER(x). | |
2069 | ||
54d7f9aa DD |
2070 | 2000-12-07 DJ Delorie <dj@redhat.com> |
2071 | ||
2072 | * c-decl.c (grokdeclarator): preserve previous alignments when | |
2073 | rebuilding array types. | |
2074 | ||
642ce434 NB |
2075 | 2000-12-07 Neil Booth <neilb@earthling.net> |
2076 | ||
f6bbde28 ZW |
2077 | * cppfiles.c (struct include_file): Move from cpphash.h. |
2078 | (_cpp_never_reread): New function. | |
2079 | (open_file, read_include_file): Use it. | |
2080 | (stack_include_file): Set the buffer's sysp according to the | |
2081 | path in which the file was found. | |
2082 | (find_include_file): Don't set sysp. | |
2083 | (cpp_make_system_header, actual_directory): Update. | |
2084 | (_cpp_execute_include): Do #include_next lookup handling here, | |
2085 | not in cpplib.c. Use _cpp_never_reread. | |
2086 | * cpphash.h (struct_include_file): Remove. | |
2087 | (struct cpp_buffer): New member sysp. | |
2088 | (CPP_IN_SYSTEM_HEADER, _cpp_execute_include): Update. | |
2089 | (_cpp_never_reread): New. | |
2090 | * cpplib.c (read_line_number): Rename read_flag. Rework slightly. | |
2091 | (end_directive): Clear line_extension flag. | |
2092 | (_cpp_handle_directive): Set line_extension flag for #number. | |
2093 | (do_include_next): Handle path lookup in _cpp_execute_include. | |
2094 | (do_line): Cleanup to use read_flag. Don't allow flags in #line. | |
2095 | (_cpp_do_file_change): Update. | |
2096 | (do_pragma_once): Use cpp_never_reread. Clean up. | |
2097 | * cpplib.h (struct lexer_state): New member line_extension. | |
642ce434 | 2098 | |
f846e0de RH |
2099 | 2000-12-07 Richard Henderson <rth@redhat.com> |
2100 | ||
2101 | * flow.c (calculate_global_regs_live): Force the stack pointer live | |
2102 | after reload as well. | |
2103 | ||
83c4781c BK |
2104 | 2000-12-07 Bruce Korb <bkorb@gnu.org> |
2105 | ||
2106 | * fixinc/Makefile.*(exeext): the variables are exeext, the | |
2107 | substitution expression is build_exeext. | |
2108 | ||
47e4bafa NB |
2109 | 2000-12-07 Neil Booth <neilb@earthling.net> |
2110 | ||
f6bbde28 ZW |
2111 | * c-common.c (parse_in): Make a cpp_reader *. |
2112 | * cppfiles.c (_cpp_fake_include): Remove. | |
2113 | * cpphash.h: Similarly. | |
2114 | * cpplib.c (do_line): Don't call _cpp_fake_include. A valid | |
2115 | #line always creates a callback; FC_RENAME if there are no | |
2116 | #line flags. | |
2117 | * fix-header.c (read_scan_file): cpp_push_buffer cannot fail. | |
2118 | The first EOF must be our get_char buffer. | |
47e4bafa | 2119 | |
c907e684 JM |
2120 | 2000-12-07 Joseph S. Myers <jsm28@cam.ac.uk> |
2121 | ||
2122 | * c-common.c (warn_format_security): New variable. | |
2123 | (check_format_info): Warn about non-literal formats with no format | |
2124 | arguments if either -Wformat-nonliteral or -Wformat-security is | |
2125 | specified. | |
2126 | (set_Wformat): Set warn_format_security for settings other than 1. | |
2127 | * c-common.h (warn_format_security): Declare. | |
2128 | * c-decl.c (c_decode_option): Decode -Wformat-security and | |
2129 | -Wno-format-security. | |
2130 | * invoke.texi: Document -Wformat-security. | |
2131 | * toplev.c (documented_lang_options): Include -Wformat-security | |
2132 | and -Wno-format-security. | |
2133 | ||
1c248308 JM |
2134 | 2000-12-07 Joseph S. Myers <jsm28@cam.ac.uk> |
2135 | ||
2136 | * c-common.c (check_format_info): Warn for non-constant format | |
2137 | strings with strftime formats if -Wformat-nonliteral. Where the | |
2138 | format can convert arguments, if the format is not a string | |
2139 | literal and there are no arguments to the format, give a different | |
2140 | warning message from the general non-string-literal case. | |
2141 | ||
014e7f1d JM |
2142 | 2000-12-07 Joseph S. Myers <jsm28@cam.ac.uk> |
2143 | ||
2144 | * c-common.c (format_wanted_type): Add reading_from_flag. | |
2145 | (print_char_table): Mark %s and %S formats with flag "R". | |
2146 | (check_format_info_main): Set up reading_from_flag appropriately. | |
2147 | If aflag, always set writing_in_flag rather than relying on the | |
2148 | format used being a scanf format and so having it set. | |
2149 | (check_format_types): Check for formats reading through null | |
2150 | pointers. | |
2151 | ||
8308e0b7 JM |
2152 | 2000-12-07 Joseph S. Myers <jsm28@cam.ac.uk> |
2153 | ||
2154 | * invoke.texi (-Wformat): Document what format features are | |
2155 | checked. | |
2156 | ||
1120a1d3 KH |
2157 | 2000-12-06 Kazu Hirata <kazu@hxi.com> |
2158 | ||
2159 | * config/h8300/h8300.h: Fix formatting. | |
2160 | ||
bc98ef7f JS |
2161 | 2000-12-06 Joel Sherrill <joel@OARcorp.com> |
2162 | ||
f6bbde28 ZW |
2163 | * config.gcc (a29k*-*-rtems*, arm*-*-rtems*, c4x-*-rtems*, |
2164 | h8300-*-rtems*, hppa1.1-*-rtems, *mips*-*-rtems*): New targets. | |
2165 | * config.gcc (*-rtems*): Add support for gthr-rtems.h. | |
2166 | * gthr-rtems.h, config/a29k/rtems.h, config/arm/rtems-elf.h, | |
2167 | config/h8300/rtems.h, config/mips/rtems.h: New files. | |
bc98ef7f | 2168 | |
5eeab2e3 MK |
2169 | 2000-12-06 Mark Kettenis <kettenis@gnu.org> |
2170 | ||
2171 | * config.gcc: Reorganize handling of *-*-gnu*, to share target | |
2172 | specific make details with Linux. Update comments to clarify | |
f6bbde28 | 2173 | the distinction between GNU/Linux and GNU/Hurd. |
5eeab2e3 | 2174 | |
6b4b8cb9 JL |
2175 | Wed Dec 6 19:22:02 2000 Jeffrey A Law (law@cygnus.com) |
2176 | ||
2177 | * contrib.texi: Fix my email address. Update Per's | |
2178 | list of contributions. | |
2179 | ||
2398fb2a RB |
2180 | 2000-12-06 Rodney Brown <RodneyBrown@mynd.com> |
2181 | ||
f5720527 RB |
2182 | * c-lex.c (cb_indent): Decorate `str' argument, unused on HP-UX. |
2183 | * collect2.c (scan_libraries): Remove unused `ch'. | |
2184 | (COFF specific stuff): Prototype ldgetname. Declare and prototype | |
2185 | ldbtread and ldclose. | |
2186 | ||
2398fb2a RB |
2187 | * config/alpha/osf.h: Standarize copyright statement. |
2188 | * config/arc/arc.h: Likewise. | |
2189 | * config/arm/elf.h config/arm/coff.h config/arm/aout.h: Likewise. | |
2190 | * config/arm/arm.c config/arm/arm.h: Likewise. | |
2191 | * config/elxsi/elxsi.h: Likewise. | |
2192 | * config/i386/sco.h: Likewise. | |
2193 | * config/m68k/crds.h config/m68k/hp320.h config/m68k/lynx.h: Likewise. | |
2194 | * config/m68k/m68kv4.h config/m68k/next21.h: Likewise. | |
2195 | * config/m68k/sun3.h: Likewise. | |
2196 | * config/m88k/dgux.h config/m88k/dguxbcs.h: Likewise. | |
2197 | * config/pdp11/2bsd.h config/pdp11/pdp11.h: Likewise. | |
2198 | * config/romp/romp.h: Likewise. | |
2199 | * config/rs6000/aix41.h: Likewise. | |
2200 | * config/sparc/sysv4.h: Likewise. | |
2201 | * config/we32k/we32k.c config/we32k/we32k.h: Likewise. | |
2202 | * fixinc/gnu-regex.c fixinc/gnu-regex.h: Likewise. | |
2203 | * cpplib.h cppexp.c cselib.h profile.c: Likewise. | |
2204 | * longlong.h: Likewise. | |
2205 | * libgcc2.c: Likewise. | |
2206 | ||
ff08da30 JL |
2207 | 2000-12-06 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl> |
2208 | ||
2209 | * machmode.def: Use correct definition for BITSIZE on targets where | |
2210 | BITS_PER_UNIT != 8. | |
2211 | ||
6047d503 BK |
2212 | 2000-12-06 Bruce Korb <bkorb@gnu.org> |
2213 | ||
2214 | * fixinc/Makefile.*: Reduce differences to (ultimately) reduce | |
2215 | the number of them. | |
2216 | ||
ff08da30 | 2217 | 2000-12-06 J. David Anglin <dave@hiauly1.hia.nrc.ca> |
becf1647 DA |
2218 | |
2219 | * pa.c: Include expr.h before c-tree.h. | |
2220 | (remove_useless_addtr_insns): Use reverse_condition_maybe_unordered | |
2221 | instead of reverse_condition. | |
2222 | (print_operand): Correct predicates for GT, GE, LT and LE. Add | |
2223 | predicates for LTGT, UNLE, UNLT, UNGE, UNGT, UNEQ, UNORDERED and | |
2224 | ORDERED. | |
2225 | (cmpib_comparison_operator): Add GEU and LTU codes. | |
2226 | * pa.h (PREDICATE_CODES): Add codes for cmpib_comparison_operator. | |
2227 | * pa.md (bltgt, bunle, bunlt, bunge, bungt, buneq, bunordered, | |
2228 | bordered): New float conditional branch patterns. | |
2229 | ||
2a841588 R |
2230 | Wed Dec 6 21:03:41 2000 J"orn Rennecke <amylaar@redhat.com> |
2231 | ||
2232 | * final.c (final_addr_vec_align): Fix clipping to BIGGEST_ALIGNMENT. | |
2233 | ||
c673abe4 | 2234 | 2000-12-06 Sylvain Pion <Sylvain.Pion@sophia.inria.fr> |
f6bbde28 ZW |
2235 | |
2236 | * cpplex.c (skip_escaped_newlines): Don't warn for spaces between | |
2237 | backslash and newline, when inside a comment. | |
c673abe4 | 2238 | |
ee457005 JM |
2239 | 2000-12-06 Joseph S. Myers <jsm28@cam.ac.uk> |
2240 | ||
2241 | * invoke.texi: Use @table @samp instead of @itemize @minus for | |
2242 | table of language standards. Fix use of @pxref. From Zack | |
2243 | Weinberg. Also exclude specs documentation from generated | |
2244 | manpage, and create separate ENVIRONMENT section. | |
2245 | ||
b614171e MM |
2246 | 2000-12-06 Michael Matz <matzmich@cs.tu-berlin.de> |
2247 | ||
2248 | * gcse.c (compute_pre_data): Kill trapping expressions in | |
2249 | destination blocks of abnormal edges. | |
2250 | ||
f6cd7c62 RS |
2251 | 2000-12-05 Richard Sandiford <r.sandiford@redhat.com> |
2252 | ||
2253 | * config/mn10300/mn10300.c (mn10300_print_reg_list): Added. | |
2254 | (mn10300_get_live_callee_saved_regs): Likewise. | |
2255 | (mn10300_gen_multiple_store): Likewise. | |
2256 | (store_multiple_operation): Likewise. | |
2257 | (expand_prologue): Use mn10300_gen_multiple_store(). | |
2258 | * config/mn10300/mn10300-protos.h (mn10300_print_reg_list): Added. | |
2259 | (mn10300_get_live_callee_saved_regs): Likewise. | |
2260 | (mn10300_gen_multiple_store): Likewise. | |
2261 | (store_multiple_operation): Likewise. | |
2262 | * config/mn10300/mn10300.md (store_movm): Use a MATCH_PARALLEL | |
2263 | tied to store_multiple_operation(). | |
2264 | ||
dfb2c798 JL |
2265 | Tue Dec 5 20:09:14 2000 Jeffrey A Law (law@cygnus.com) |
2266 | ||
2267 | * builtins.c (expand_builtin_setjmp_setup): Set | |
2268 | current_function_has_nonlocal_label. | |
2269 | ||
3cf3593f NB |
2270 | 2000-12-05 Neil Booth <neilb@earthling.net> |
2271 | ||
f6bbde28 ZW |
2272 | * cppfiles.c (stack_include_file): Push zero-length buffers |
2273 | in case of failure. Return void, as we don't fail any more. | |
2274 | (read_include_file): Check for files we shouldn't re-read. | |
2275 | Don't return an error code; errors are implied by marking the | |
2276 | file NEVER_REREAD. | |
2277 | (_cpp_execute_include): Move the recursion and in-macro checks | |
2278 | here. Update for stack_include_file not failing. | |
2279 | * cpplib.c (cpp_push_buffer): Always succeed, since | |
2280 | _cpp_execute_include performs the recursion check. Tidy up. | |
2281 | * cpplib.h (cpp_push_buffer): Update prototype. | |
3cf3593f | 2282 | |
4c42e347 AO |
2283 | 2000-12-05 Alexandre Oliva <aoliva@redhat.com> |
2284 | ||
2285 | * sched-vis.c (visual_tbl_line_length): New variable. | |
2286 | (get_visual_tbl_length): Set it. | |
2287 | (visualize_stall_cycles): Don't let stalls overrun | |
2288 | visual_tbl_line_length. | |
2289 | ||
06a3a6db GK |
2290 | 2000-12-05 Geoffrey Keating <geoffk@redhat.com> |
2291 | ||
2292 | * global.c (global_conflicts): Allow for a REG_UNUSED note | |
2293 | with a different mode to the REG set in the insn. | |
2294 | ||
e7103ad2 | 2295 | 2000-12-05 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
9c101f4a KG |
2296 | |
2297 | * Makefile.in (fixinc.sh): Pass $WARN_CFLAGS into fixinc dir. | |
2298 | ||
2299 | * fixinc/Makefile.in (FIXINC_DEFS): Add $(WARN_CFLAGS). | |
2300 | ||
1435059e RE |
2301 | 2000-12-05 Bruce Korb <bkorb@gnu.org> |
2302 | ||
2303 | * fixinc/mkfixinc.sh(*-gnu*): activate fixinc for GNU/Hurd and | |
2304 | GNU/Linux. | |
2305 | ||
2306 | 2000-12-05 Richard Earnshaw <rearnsha@arm.com> | |
2307 | ||
2308 | * fixinc/mkfixinc.sh: Run fixinc on netbsd. | |
2309 | * fixinc/inclhack.def (machine/ansi.h): Run this rule on all files, | |
2310 | to cope with aliased copies. | |
2311 | * fixinc/fixincl.x: Regenerate. | |
2312 | ||
f56887a7 BS |
2313 | 2000-12-05 Bernd Schmidt <bernds@redhat.co.uk> |
2314 | ||
2315 | * sched-vis.c: Guard with #ifdef INSN_SCHEDULING. | |
2316 | * sched-rgn.c: Likewise. | |
2317 | (rgn_print_insn): Fix output. | |
2318 | ||
4839149c BK |
2319 | 2000-12-05 Bruce Korb <bkorb@gnu.org> |
2320 | ||
2321 | * fixinc/Makefile.*: make these more consistent | |
2322 | * fixinc/mkfixincl.sh: enable BeOS fixincludes | |
2323 | ||
eca93b05 RH |
2324 | 2000-12-05 Richard Henderson <rth@redhat.com> |
2325 | ||
2326 | * stmt.c (warn_if_unused_value): Move side effects test earlier. | |
2327 | ||
de9e5c23 AM |
2328 | 2000-12-05 Alan Modra <alan@linuxcare.com.au> |
2329 | ||
2330 | * bb-reorder.c (reorder_basic_blocks): Do check for EH edges even | |
2331 | when using sjlj. | |
2332 | ||
39c39be9 RH |
2333 | 2000-12-05 Richard Henderson <rth@redhat.com> |
2334 | ||
2335 | * flow.c (calculate_global_regs_live): Only force stack pointer | |
2336 | live before reload. Force pic register live before reload. | |
2337 | (insn_dead_p): Don't protect pic references from deletion. | |
2338 | ||
9d86bffc JM |
2339 | 2000-12-05 Joseph S. Myers <jsm28@cam.ac.uk> |
2340 | ||
2341 | * invoke.texi: Add support for using texi2pod.pl. Don't use | |
2342 | @multitable. | |
2343 | ||
c84df4c5 NC |
2344 | 2000-12-04 Nick Clifton <nickc@redhat.com> |
2345 | ||
a67ded0f NC |
2346 | * config/arm/arm.c (arm_override_options): Test 'insn_flags' not |
2347 | 'tune_flags' for XScale nature. | |
f6bbde28 | 2348 | Remove spurious test of HARD_FLOAT and XScale flags. |
a67ded0f NC |
2349 | |
2350 | * config/arm/arm.md (umulsidi3adddi): Restore "=&r" register | |
2351 | contraint, accidentally changed during XScale contribution. | |
2352 | ||
c84df4c5 NC |
2353 | * config/arm/lib1funcs.asm (interwork_call_via_, call_via_): Do |
2354 | not create these functions if the target architecture does not | |
2355 | support Thumb instructions. | |
2356 | ||
c4f0b011 JM |
2357 | 2000-12-04 Joseph S. Myers <jsm28@cam.ac.uk> |
2358 | ||
2359 | * ONEWS: New file with the current contents of NEWS up to EGCS | |
2360 | 1.1. | |
2361 | * NEWS: Generate automatically from online release notes from EGCS | |
2362 | 1.0 to GCC 2.95.2, using ../contrib/gennews. | |
2363 | ||
7682e7bc NB |
2364 | 2000-12-04 Neil Booth <neilb@earthling.net> |
2365 | ||
f6bbde28 ZW |
2366 | * tradcif.y: Move lexptr to top of file. Add rule to handle |
2367 | assertions in conditional expressions. | |
2368 | * tradcpp.c (parse_answer): Assertions do not need to go to | |
2369 | end of line in conditional directives. | |
2370 | (parse_assertion): Get first character of identifiers correct. | |
2371 | (test_assertion): New function. | |
2372 | * tradcpp.h (test_assertion): New prototype. | |
7682e7bc | 2373 | |
23a535c4 RB |
2374 | 2000-12-01 Rodney Brown <RodneyBrown@mynd.com> |
2375 | ||
2376 | * config.gcc: Fix typo for UnixWare 7. | |
2377 | ||
32fb1fb2 PE |
2378 | 2000-12-03 Phil Edwards <pme@sources.redhat.com> |
2379 | ||
2380 | * invoke.texi: Replace `pedwarns' with clearer text. | |
2381 | ||
e1e0c658 BK |
2382 | 2000-12-04 Bruce Korb <bkorb@gnu.org> |
2383 | ||
2384 | * fixinc/Makefile.*(clean): don't clean autogenerated files. | |
2385 | (mainainer-clean): clean autogenerated files | |
2386 | ||
55e4756f DD |
2387 | 2000-12-04 DJ Delorie <dj@redhat.com> |
2388 | ||
2389 | * md.texi: Add overview, clarify match_dup and define_expand. | |
2390 | ||
7d492372 DD |
2391 | 2000-12-04 DJ Delorie <dj@redhat.com> |
2392 | ||
b3869591 | 2393 | * print-tree.c (print_node): Target-specific builtins print |
7d492372 DD |
2394 | numbers, not names. |
2395 | ||
62c07905 JM |
2396 | 2000-12-04 Jason Merrill <jason@redhat.com> |
2397 | ||
2398 | * stor-layout.c (int_mode_for_mode): Handle MODE_VECTOR_INT, | |
2399 | MODE_VECTOR_FLOAT. | |
2400 | ||
2401 | * diagnostic.c (report_problematic_module): s/function/module/. | |
2402 | ||
2403 | * c-lex.h: Remove decl for check_newline. | |
2404 | ||
ae50db03 GP |
2405 | 2000-12-04 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
2406 | ||
2407 | * README.APOLLO: Remove obsolete file. | |
2408 | ||
6951bc4a NB |
2409 | 2000-12-04 Neil Booth <neilb@earthling.net> |
2410 | ||
f6bbde28 | 2411 | * cppinternals.texi: New file. |
6951bc4a | 2412 | |
614c7d37 NB |
2413 | 2000-12-04 Neil Booth <neilb@earthling.net> |
2414 | ||
f6bbde28 ZW |
2415 | * cppfiles.c (cpp_make_system_header): Take 2 booleans, |
2416 | and operate on current buffer. | |
2417 | (cpp_read_file): Rename _cpp_read_file. | |
2418 | * cpplib.c (do_line, do_pragma_system_header): Update calls to | |
2419 | cpp_make_system_header. | |
2420 | * fix-header.c: Similarly. | |
2421 | * cpphash.h (_cpp_read_file): Move from... | |
2422 | * cpplib.h: ... here. | |
2423 | * cppinit.c (do_includes, cpp_start_read): Update appropriately. | |
614c7d37 | 2424 | |
e7103ad2 | 2425 | 2000-12-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
611b1df4 KG |
2426 | |
2427 | * builtins.c (expand_builtin_strspn, expand_builtin_strcspn): | |
2428 | Handle another transformation. | |
2429 | ||
d19fb8e3 NC |
2430 | 2000-12-03 Nick Clifton <nickc@redhat.com> |
2431 | ||
2432 | * config.gcc: Add support for StrongARM targets. | |
2433 | * config/arm/t-strongarm-elf: New file. | |
2434 | * config/arm/t-strongarm-coff: New file. | |
2435 | * config/arm/t-strongarm-pe: New file. | |
2436 | * config/arm/strongarm-pe.h: New file. | |
2437 | ||
2438 | 2000-12-03 Nick Clifton <nickc@redhat.com> | |
2439 | ||
2440 | * NEWS: Mention XScale has been added. | |
2441 | * config.gcc: Add support for XScale targets. | |
2442 | * config/arm/arm.h: Add support for XScale processor. | |
2443 | * config/arm/arm.c: Add support for XScale processor. | |
2444 | * config/arm/arm.md: Add support for XScale processor. | |
2445 | * config/arm/t-xscale-elf: New file. | |
2446 | * config/arm/t-xscale-coff: New file. | |
2447 | * config/arm/xscale-elf.h: New file. | |
2448 | * config/arm/xscale-coff.h: New file. | |
2449 | ||
250d07b6 RH |
2450 | 2000-12-03 Richard Henderson <rth@redhat.com> |
2451 | ||
2452 | * bb-reorder.c (reorder_basic_blocks): Don't check for EH edges | |
2453 | unless exception handling is enabled, and if not using sjlj. | |
2454 | ||
2455 | * builtins.c (expand_builtin_setjmp_setup): New. | |
2456 | (expand_builtin_setjmp_receiver): New. | |
2457 | (expand_builtin_setjmp): Split out _setup and _receiver functions. | |
2458 | Move argument parsing in from ... | |
2459 | (expand_builtin): ... here. | |
2460 | * except.c (receive_exception_label): Branch around receiver | |
2461 | unless new-style exceptions. Call expand_builtin_setjmp_receiver. | |
2462 | (start_dynamic_handler): Call expand_builtin_setjmp_setup. | |
2463 | * expr.h: Update builtin setjmp decls. | |
2464 | ||
5c032c4d BK |
2465 | 2000-12-03 Bruce Korb <bkorb@gcc.org> |
2466 | ||
2467 | * fixinc/mkfixinc.sh(build machine): Sometimes, there is no canonical | |
2468 | build machine name. Default to the target. | |
2469 | ||
3769600a LB |
2470 | 2000-12-03 Laurynas Biveinis <lauras@softhome.net> |
2471 | ||
2472 | * Makefile.in: use $(build_canonical), not $(canonical_build). | |
2473 | ||
b4ead7d4 BS |
2474 | 2000-12-03 Bernd Schmidt <bernds@redhat.co.uk> |
2475 | ||
2476 | * Makefile.in (OBJS): Add sched-rgn.o. | |
2477 | (sched-rgn.o): New rule. * haifa-sched.c (sched_verbose): No | |
2478 | longer static. | |
2479 | (INSN_PRIORITY, INSN_COST, INSN_UNIT, INSN_REG_WEIGHT, | |
2480 | INSN_BLOCKAGE, UNIT_BITS, BLOCKAGE_MASK, ENCODE_BLOCKAGE, | |
2481 | UNIT_BLOCKED, BLOCKAGE_RANGE, MIN_BLOCKAGE_COST, | |
2482 | MAX_BLOCKAGE_COST): Move to sched-int.h. | |
2483 | (MAX_RGN_BLOCKS, MAX_RGN_INSNS, INSN_REF_COUNT, FED_BY_SPEC_LOAD, | |
2484 | IS_LOAD_INSN, struct haifa_edge, edge_table, NEXT_IN, NEXT_OUT, | |
2485 | FROM_BLOCK, TO_BLOCK, nr_edges, in_edges, out_edges, IN_EDGES, | |
2486 | OUT_EDGES, edgelst, struct region, nr_regions, rgn_table, | |
2487 | rgn_bb_table, block_to_bb, containing_rgn, RGN_NR_BLOCKS, | |
2488 | RGN_BLOCKS, BLOCK_TO_BB, BB_TO_BLOCK, CONTAINING_RGN, | |
2489 | debug_regions, find_single_block_region, find_rgns, too_large, | |
2490 | init_regions, current_nr_blocks, current_blocks, bitset, bitlst, | |
2491 | bitlst_table_last, bitlst_table_size, bitlst_table, bitset_member, | |
2492 | extract_bitlst, bblst, struct candidate, candidate_table, | |
2493 | bblst_table, bblst_size, bblst_last, IS_VALID, IS_SPECULATIVE, | |
2494 | SRC_PROB, target_bb, split_edges, compute_trg_info, | |
2495 | debug_candidate, debug_candidates, bbset, bbset_size, dom, | |
2496 | IS_RGN_ENTRY, IS_DOMINATED, prob, GET_SRC_PROB, edgeset, | |
2497 | rgn_nr_edges, rgn_edges, edgeset_size, edgeset_bitsize, | |
2498 | EDGE_TO_BIT, edge_to_bit, pot_split, ancestor_edges, | |
2499 | compute_dom_prob_ps, ABS_VALUE, INSN_PROBABILITY, | |
2500 | IS_SPECULATIVE_INSN, INSN_BB, MIN_DIFF_PRIORITY, MIN_PROBABILITY, | |
2501 | MIN_PROB_DIFF, check_live_1, update_live_1, check_live, | |
2502 | update_live, set_spec_fed, is_pfree, find_conditional_protection, | |
2503 | is_conditionally_protected, may_trap_exp, haifa_classify_insn, | |
2504 | is_prisky, is_exception_free, add_branch_dependences, | |
2505 | propagate_deps, compute_block_backward_dependences, | |
2506 | debug_dependencies, is_cfg_nonregular, build_control_flow, | |
2507 | new_edge, bb_deps, BITSET_UNION, BITSET_INTER, BITSET_DIFFER, | |
2508 | BITSET_INVERT, BITSET_ADD, BITSET_REMOVE, debug_regions, | |
2509 | UPDATE_LOOP_RELATIONS, INSN_TRAP_CLASS, WORST_CLASS, IS_REACHABLE, | |
2510 | CONST_BASED_ADDRESS_P, free_pending_lists, sched_target_n_insns, | |
2511 | target_n_insns, sched_n_insns, init_ready_list, deaths_in_region, | |
2512 | can_schedule_ready_p, new_ready, schedule_more_p, rgn_print_insn, | |
2513 | rgn_rank, region_sched_info): Move to sched-rgn.c. | |
2514 | (debug_reg_vector): Delete useless function. | |
2515 | (get_bb_head_tail): Likewise. | |
2516 | (insn_issue_delay, insn_cost, ready_add, get_block_head_tail, | |
2517 | no_real_insns_p, rm_line_notes, save_line_notes, | |
2518 | restore_line_notes, rm_redundant_line_notes, sched_init): No | |
2519 | longer static. | |
2520 | (rm_line_notes, save_line_notes, restore_line_notes, | |
2521 | schedule_block, set_priorities): Change argument to be a real | |
2522 | basic block, not one of haifa's "bb"s. All callers changed | |
2523 | (rm_other_notes): Initialize note_list here, not in | |
2524 | schedule_region. | |
2525 | (sched_finish): New function, called from schedule_insn. * * | |
2526 | sched-int.h (INSN_PRIORITY, INSN_COST, INSN_UNIT, INSN_REG_WEIGHT, | |
2527 | INSN_BLOCKAGE, UNIT_BITS, BLOCKAGE_MASK, ENCODE_BLOCKAGE, | |
2528 | UNIT_BLOCKED, BLOCKAGE_RANGE, MIN_BLOCKAGE_COST, | |
2529 | MAX_BLOCKAGE_COST): Moved here from haifa-sched.c. | |
2530 | (get_block_head_tail, no_real_insns_p, rm_line_notes, | |
2531 | save_line_notes, restore_line_notes, rm_redundant_line_notes, | |
2532 | rm_other_notes, insn_issue_delay, set_priorities, schedule_block, | |
2533 | sched_init, sched_finish, ready_add, insn_cost): Declare. | |
2534 | ||
f415f5a4 LB |
2535 | 2000-12-03 Laurynas Biveinis <lauras@softhome.net> |
2536 | Bruce Korb <bkorb@gnu.org> | |
2537 | ||
f6bbde28 ZW |
2538 | * Makefile.in: pass $(build_canonical) to mkfixinc.sh. |
2539 | * fixinc/mkfixinc.sh: accept build system name as an argument. | |
2540 | Use it for choosing the fix build method. Use the target for | |
f415f5a4 LB |
2541 | selecting special fix rules. |
2542 | ||
1708fd40 BS |
2543 | 2000-12-03 Bernd Schmidt <bernds@redhat.co.uk> |
2544 | ||
16f6ece6 BS |
2545 | * Makefile.in (OBJS): Add sched-deps.o. |
2546 | (sched-deps.o): New rule. | |
2547 | * haifa-sched.c (struct deps, struct haifa_insn_data): Moved to | |
2548 | sched-int.h. | |
2549 | (INSN_DEPEND, INSN_LUID, CANT_MOVE, INSN_DEP_COUNT): Macros moved to | |
2550 | sched-int.h. | |
2551 | (SIZE_FOR_MODE): Delete unused macro. | |
2552 | (reg_known_equiv_p, reg_known_value, reg_pending_clobbers, | |
2553 | reg_pending_sets, reg_pending_sets_all, true_dependency_cache, | |
2554 | anti_dependency_cache, output_dependency_cache, | |
2555 | forward_dependency_cache): Variables moved to sched-deps.c. | |
2556 | (add_dependence, remove_dependence, find_insn_list, | |
2557 | find_insn_mem_list, add_insn_mem_dependence, flush_pending_lists, | |
2558 | sched_analyze_insn, sched_analyze_1, sched_analyze_2, | |
2559 | sched_analyze, group_leader, compute_forward_dependences, | |
2560 | init_deps, free_deps, init_dependency_caches, free_dependency_caches): | |
2561 | Functions moved to sched-deps.c. | |
2562 | (schedule_region): Call init_deps_global and finish_deps_global | |
2563 | instead of directly manipulating dependency data structures. | |
2564 | * sched-deps.c: New file. | |
2565 | (init_deps_global, finish_deps_global): New functions. | |
2566 | * sched-int.h (struct haifa_insn_data, struct deps): Moved here from | |
2567 | haifa-sched.c. | |
2568 | (h_i_d): Declare. | |
2569 | (INSN_DEPEND, INSN_LUID, CANT_MOVE, INSN_DEP_COUNT): Macros moved here | |
2570 | from haifa-sched.c. | |
2571 | ||
c62c2659 BS |
2572 | * Makefile.in (OBJS): Add sched-vis.o. |
2573 | (sched-vis.o): New rule. | |
2574 | * haifa-sched.c (get_unit_last_insn): New function. | |
2575 | (sched_dump, insn_unit, actual_hazard_this_instance): No longer | |
2576 | static. | |
2577 | (schedule_block): Call visualize_alloc and visualize_free. Delete | |
2578 | spurious return statement. | |
2579 | (init_target_units, insn_print_units, get_visual_tbl_length, | |
2580 | init_block_visualization, print_block_visualization, safe_concat, | |
2581 | visualize_scheduled_inns, visualize_no_unit, visualize_stall_cycles, | |
2582 | print_exp, print_value, print_pattern, print_insn, target_units, | |
2583 | MAX_VISUAL_LINES, INSN_LEN, n_visual_lines, visual_tbl, | |
2584 | n_vis_no_unit, vis_no_unit): Move scheduling visualization | |
2585 | functions/variables... | |
2586 | * sched-vis.c: ...here. New file. | |
2587 | (visualize_alloc, visualize_free): New functions. | |
2588 | (visualize_scheduled_insns, visualize_stall_cycles, | |
2589 | print_block_visualization): Lose basic block argument. All callers | |
2590 | changed. | |
2591 | (visualize_scheduled_insns): Use new function get_unit_last_insn. | |
16f6ece6 BS |
2592 | * sched-int.h (current_sched_info, sched_dump): Declare. |
2593 | (init_target_units, insn_print_units, init_block_visualization, | |
2594 | print_block_visualization, visualize_scheduled_inns, | |
2595 | visualize_no_unit, visualize_stall_cycles, visualize_alloc, | |
2596 | visualize_free): Declare functions. | |
c62c2659 | 2597 | |
1708fd40 BS |
2598 | * sched-int.h: New file. |
2599 | * Makefile.in (haifa-sched.o): Depend on it. | |
2600 | * haifa-sched.c: Include it. | |
2601 | (no_real_insns_p): New function. | |
2602 | (current_sched_info): New static variable. | |
2603 | (__inline, HAIFA_INLINE): Moved to sched-int.h. | |
2604 | (get_block_head_tail): Minor cleanup. | |
2605 | (init_ready_list, can_schedule_ready_p, new_ready, schedule_more_p, | |
2606 | rgn_print_insn, rgn_rank): New functions, broken out of | |
2607 | rank_for_schedule, schedule_insn and schedule_block, where they | |
2608 | are now called through function pointers in current_sched_info. | |
2609 | (queue_insn, schedule_insn, queue_to_ready, debug_ready_list, | |
2610 | print_insn): To display uid and block number, call the print_insn | |
2611 | function pointer in current_schedule_info. | |
2612 | (region_sched_info): New static variable. | |
2613 | (sched_target_n_insns, sched_n_insns, target_n_insns): New global | |
2614 | variables, moved out of schedule_block. | |
2615 | (schedule_block): Return void. All callers changed. | |
2616 | Move some of the setup code into schedule_region. Get head/tail | |
2617 | from current_sched_info, and update it when done. | |
2618 | (schedule_region): Slightly rearranged, some code moved here from | |
2619 | schedule_block. Call no_real_insns_p to avoid doing work for a | |
2620 | block that consists only of notes and labels. | |
2621 | (schedule_insns): Initialize current_sched_info. | |
2622 | ||
8aaef6e0 NB |
2623 | 2000-12-03 Neil Booth <neilb@earthling.net> |
2624 | ||
f6bbde28 ZW |
2625 | * cppmacro.c (funlike_invocation_p): Re-disable macros enabled |
2626 | by contexts drops AFTER argument pre-expansion, so that they | |
2627 | remain enabled during argument pre-expansion. | |
2628 | (_cpp_pop_context): Unconditionally re-enable a macro when | |
2629 | dropping a context level. | |
8aaef6e0 | 2630 | |
94a3d3b9 MH |
2631 | 2000-12-03 Manfred Hollstein <manfredh@redhat.com> |
2632 | ||
2633 | * arm/t-linux (MULTILIB_OPTIONS): Comment. | |
2634 | (MULTILIB_DIRNAMES): Likewise. | |
2635 | (EXTRA_MULTILIB_PARTS): Likewise. | |
2636 | (LIBGCC): Likewise. | |
2637 | (INSTALL_LIBGCC): Likewise. | |
2638 | ||
d118937d KG |
2639 | 2000-12-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
2640 | ||
2641 | * builtins.c (expand_builtin_strcat, expand_builtin_strncat, | |
2642 | expand_builtin_strspn, expand_builtin_strcspn): New functions. | |
2643 | (expand_builtin): Handle BUILT_IN_STRCAT, BUILT_IN_STRNCAT, | |
2644 | BUILT_IN_STRSPN and BUILT_IN_STRCSPN. | |
2645 | ||
2646 | * builtins.def (BUILT_IN_STRCAT, BUILT_IN_STRNCAT, | |
2647 | BUILT_IN_STRSPN, BUILT_IN_STRCSPN): New entries. | |
2648 | ||
2649 | * c-common.c (c_common_nodes_and_builtins): Declare builtin | |
2650 | strcat, strncat, strspn and strcspn. | |
f6bbde28 | 2651 | (string_ftype_string_cstring): Renamed from `string_ftype_ptr_ptr'. |
d118937d KG |
2652 | |
2653 | * extend.texi (strcat, strcspn, strncat, strspn): Document new | |
2654 | builtins. | |
2655 | ||
ca8034a0 KG |
2656 | 2000-12-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
2657 | ||
2658 | * builtins.c (expand_builtin_strcmp): Use const*_rtx when | |
2659 | expanding strcmp at compile-time. Add another transformation. | |
2660 | (expand_builtin_strncmp): Add more transformations. Call | |
2661 | expand_builtin_memcmp, not expand_builtin_strcmp, under | |
2662 | appropriate conditions if HAVE_cmpstrsi. | |
2663 | ||
6c873122 DE |
2664 | 2000-12-02 David Edelsohn <edelsohn@gnu.org> |
2665 | ||
2666 | * rs6000.md (anddi3_internal[23]): Prefer rldic? over andis | |
2667 | instruction. | |
2668 | (cr logic): Really make operands sequential. | |
2669 | ||
690c96c8 GK |
2670 | 2000-12-02 Geoffrey Keating <geoffk@redhat.com> |
2671 | ||
2672 | * c-common.c (combine_strings): When the ISO C standard specifies | |
21c7361e AJ |
2673 | the maximum length of a string, it doesn't include the trailing |
2674 | zero byte. | |
b43db0b3 GK |
2675 | |
2676 | * cpplib.c (do_ifdef): Add check_eol() call. | |
2677 | (do_ifndef): Likewise. | |
2678 | ||
283da1d3 | 2679 | 2000-12-02 Daniel Berlin <dberlin@redhat.com> |
f6bbde28 | 2680 | Bruce Korb <bkorb@gnu.org> |
283da1d3 | 2681 | |
f6bbde28 ZW |
2682 | * fixinc/*: global substitute /__MSDOS__/SEPARATE_FIX_PROC/ |
2683 | * fixinc/mkfixinc.sh: prepare to use Makefile.BEOS for *-*-beos* | |
2684 | * fixinc/Makefile.DOS: define SEPARATE_FIX_PROC for build | |
2685 | * fixinc/fixfix.c(wrap_fix): avoid wrapping files that | |
2686 | use the "__need_" hackery. It breaks them. | |
2687 | * fixinc/fixincl.c(process - SEPARATE_FIX_PROC): | |
2688 | Sometimes on DOS and BeOS the temp output file cannot be opened. | |
2689 | Skip the file noisily. Ought to be fixed instead. | |
283da1d3 | 2690 | |
6864a6c6 BK |
2691 | 2000-12-02 Bruce Korb <bkorb@gnu.org> |
2692 | ||
2693 | From: 2000-11-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | |
2694 | ||
2695 | * fixfixes.c (emit_gnu_type, format_write): Prototype. | |
2696 | (format_write, char_macro_use_fix, char_macro_def_fix): Use gcc's | |
2697 | custom uppercase ctype macros. | |
2698 | * fixincl.c (do_version): Make static and add ATTRIBUTE_NORETURN. | |
2699 | Use gcc's custom uppercase ctype macros. | |
2700 | (main): Prototype. | |
2701 | (machine_matches): Add static prototype and constify variable. | |
2702 | (create_file, test_test, egrep_test): Add static prototype. | |
2703 | (quoted_file_exists): Likewise, and constify parameters. | |
2704 | (extract_quoted_files, internal_fix, start_fixer, fix_applies, | |
2705 | write_replacement, test_for_changes): Add static prototype. | |
2706 | (write_replacement, test_for_changes): Delete excess argument to | |
2707 | `create_file'. | |
2708 | * fixtests.c (test): Make static. | |
2709 | * server.c (load_data, sig_handler, server_setup, find_shell): Add | |
2710 | static prototype. | |
2711 | (sig_handler): Mark parameter with ATTRIBUTE_UNUSED. | |
2712 | ||
d7156fee BK |
2713 | 2000-12-02 Bruce Korb <bkorb@gnu.org> |
2714 | ||
2715 | * fixnc/mkfixinc.sh(msdosdjgpp): remove from fixincludes exception list | |
2716 | (per Laurynas Biveinis <lauras@softhome.net>) | |
2717 | ||
f1008e52 RE |
2718 | 2000-12-02 Richard Earnshaw <rearnsha@arm.com> |
2719 | ||
2720 | * arm.h (ARM_REGNO_OK_FOR_BASE_P, THUMB_REGNO_MODE_OK_FOR_BASE_P): New | |
2721 | macros. | |
2722 | (REGNO_MODE_OK_FOR_BASE_P): Define in terms of above. | |
2723 | (REGNO_OK_FOR_FOR_BASE_P): Delete. | |
2724 | (ARM_REG_OK_FOR_BASE_P, THUMB_REG_MODE_OK_FOR_BASE_P): New macros for | |
2725 | both strict and non-strict uses. | |
2726 | (REG_MODE_OK_FOR_BASE_P): Define in terms of above. | |
2727 | (ARM_REG_OK_FOR_INDEX_P, THUMB_REG_OK_FOR_INDEX_P): New macros. | |
2728 | (REG_OK_FOR_INDEX_P): Define in terms of above. | |
2729 | (REG_OK_FOR_BASE_P): Delete. | |
2730 | (REG_OK_FOR_PRE_POST_P): Delete. | |
2731 | (ARM_BASE_REGISTER_RTX_P): Renamed from BASE_REGISTER_RTX_P. | |
2732 | (ARM_INDEX_REGISTER_RTX_P): Renamed from INDEX_REGISTER_RTX_P. | |
2733 | (ARM_GO_IF_LEGITIMATE_INDEX): Renamed from GO_IF_LEGITIMATE_INDEX. | |
2734 | (THUMB_LEGITIMATE_OFFSET): Renamed from LEGITIMATE_OFFSET. | |
2735 | (ARM_GO_IF_LEGITIMATE_ADDRESS): Adjust for name changes. Use ARM | |
2736 | specific variants rather than general ones. Use ARM_REG_OK_FOR_BASE_P | |
2737 | in pre/post increment cases. | |
2738 | (THUMB_GO_IF_LEGITIMATE_ADDRESS): Similarly for Thumb. | |
2739 | (ARM_LEGITIMIZE_ADDRESS): Similarly. | |
2740 | (THUMB_LEGITIMIZE_RELOAD_ADDRESS): Similarly. | |
2741 | * arm.c (legitimate_pic_address): Similarly. | |
2742 | ||
4eb191f3 NB |
2743 | 2000-12-02 Neil Booth <neilb@earthling.net> |
2744 | ||
f6bbde28 ZW |
2745 | * tradcpp.c (struct answer, parse_assertion, parse_answer, |
2746 | canonicalize_text, find_answer): New. | |
2747 | (do_assert, do_unassert): Provide appropriate function bodies. | |
2748 | (union hashval): New member answers. | |
4eb191f3 | 2749 | |
84e6f1ba MM |
2750 | 2000-11-23 Marek Michalkiewicz <marekm@linux.org.pl> |
2751 | ||
2752 | * config/avr/avr.md: Document UNSPEC usage. | |
2753 | (*tablejump_rjmp, *tablejump_lib, *tablejump_enh, *tablejump): | |
2754 | Make operand 0 input only, clobber it. Use UNSPEC, not a bogus | |
2755 | MEM for program memory word reference. Do not add the label to | |
2756 | the table index in each of the asm output templates, instead ... | |
2757 | (casesi): ... do it in RTL. Adjust to match the above change. | |
2758 | ||
a88f02e7 BS |
2759 | 2000-12-02 Bernd Schmidt <bernds@redhat.co.uk> |
2760 | ||
0884b60c BS |
2761 | * c-common.c (PTRDIFF_TYPE): Provide default here, ... |
2762 | * c-decl.c: ... not here. | |
2763 | ||
a88f02e7 BS |
2764 | * haifa-sched.c (sched_dump): Renamed from dump. All users changed. |
2765 | (old_max_uid): New variable. | |
2766 | (compute_forward_dependences): Renamed from | |
2767 | compute_block_forward_dependences; changed to accept block head and | |
2768 | tail instead of block number. Caller changed. | |
2769 | (free_deps, init_dependency_caches, free_dependency_caches, | |
2770 | init_regions, sched_init): New functions, split out from | |
2771 | schedule_insns and compute_block_backward_dependences. | |
2772 | ||
fef1de5d NB |
2773 | 2000-12-02 Neil Booth <neilb@earthling.net> |
2774 | ||
f6bbde28 | 2775 | * cppexp.c (parse_number): Update diagnostic test. |
fef1de5d | 2776 | |
88edcc06 BS |
2777 | 2000-12-02 Bernd Schmidt <bernds@redhat.co.uk> |
2778 | ||
2779 | * reload1.c (free_for_value_p): New function, frontend to | |
2780 | reload_reg_free_for_value_p. All callers of the latter now call | |
2781 | this function with an additional mode argument. | |
2782 | ||
a325caa0 GP |
2783 | 2000-12-02 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
2784 | ||
2785 | * install.texi (Configurations): Remove obsolete documentation for | |
2786 | hppa*-*-*. | |
2787 | ||
3808a17d GP |
2788 | 2000-12-02 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
2789 | ||
2790 | * install.texi (Installation): Remove obsolete description for | |
2791 | libstdc++ which is now an integral part of GCC. | |
f6bbde28 | 2792 | |
27646dba JB |
2793 | 2000-12-01 Jim Blandy <jimb@redhat.com> |
2794 | ||
2795 | * dbxout.c (dbxout_parms): Correctly describe parameters passed by | |
21c7361e AJ |
2796 | invisible reference in registers, but then spilled to the stack. |
2797 | Remove code to emit a second stab for such parameters; it attempts | |
2798 | to describe the value's location by introducing a synthetic C++ | |
2799 | `reference' type, and then saying the stack slot has that | |
2800 | reference type. This loses type information (breaking GDB's | |
2801 | `ptype' command, among other things) just to describe a location | |
2802 | which stabs can represent correctly in other ways. | |
27646dba | 2803 | |
cb51ecd2 AO |
2804 | 2000-12-01 Alexandre Oliva <aoliva@redhat.com> |
2805 | ||
08106825 AO |
2806 | * final.c (output_addr_const) <PLUS>: Don't assume at least one |
2807 | operand is a CONST_INT. | |
2808 | ||
cb51ecd2 AO |
2809 | * config/sh/sh.c (reg_class_from_letter): Assign `k' to SIBCALL_REGS. |
2810 | (machine_dependent_reorg): Split all insns. | |
2811 | * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE): Compute | |
2812 | reg_class_contents[SIBCALL_REGS]. | |
2813 | (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Add SIBCALL_REGS. | |
2814 | * config/sh/sh.md (calli_pcrel, call_pcrel, call_valuei_pcrel, | |
2815 | call_value_pcrel, call, call_value, sibcall): Match even when | |
2816 | not optimizing. | |
2817 | (sibcalli_pcrel, sibcall_pcrel): Likewise. Use constraint `k' | |
2818 | for call address. | |
2819 | (sibcalli): Likewise. | |
2820 | ||
4d808927 JM |
2821 | 2000-12-01 Joseph S. Myers <jsm28@cam.ac.uk> |
2822 | ||
2823 | * c-common.c (warn_format, warn_format_y2k, | |
2824 | warn_format_extra_args, warn_format_nonliteral): Define. | |
2825 | (check_format_info): Check warn_format_nonliteral and | |
2826 | warn_format_extra_args. | |
2827 | (check_format_info_main): Check warn_format_y2k. | |
2828 | (set_Wformat): New function. | |
2829 | * c-common.h (warn_format_y2k, warn_format_extra_args, | |
2830 | warn_format_nonliteral, set_Wformat): Declare. | |
2831 | * c-decl.c (warn_format): Remove definition. | |
2832 | (c_decode_option): Handle -Wformat-nonliteral, | |
2833 | -Wno-format-extra-args and -Wno-format-y2k, and negated versions. | |
2834 | Use set_Wformat. | |
2835 | * invoke.texi: Document these new options and -Wformat=2. | |
2836 | * toplev.c (documented_lang_options): Add these new options. | |
2837 | ||
e78f4a97 JM |
2838 | 2000-12-01 Joseph S. Myers <jsm28@cam.ac.uk> |
2839 | ||
2840 | * builtins.def (BUILT_IN_IMAXABS): Add. | |
2841 | * builtins.c (expand_builtin): Also abort on BUILT_IN_IMAXABS. | |
2842 | * c-common.c (c_common_nodes_and_builtins): Create builtin | |
2843 | functions __builtin_imaxabs, and plain imaxabs unless | |
2844 | flag_no_nonansi_builtin outside C99 mode. | |
2845 | (expand_tree_builtin): Handle BUILT_IN_IMAXABS. | |
2846 | * extend.texi: Document builtin imaxabs. | |
2847 | ||
5fd8e536 JM |
2848 | 2000-12-01 Joseph S. Myers <jsm28@cam.ac.uk> |
2849 | ||
2850 | * c-common.c: Include "defaults.h". | |
2851 | (WINT_TYPE, INTMAX_TYPE, UINTMAX_TYPE): Define. | |
2852 | (c_common_nodes_and_builtins): Create string_type_node, | |
2853 | const_string_type_node, wint_type_node, intmax_type_node, | |
2854 | uintmax_type_node, default_function_type, ptrdiff_type_node and | |
2855 | unsigned_ptrdiff_type_node. | |
2856 | * c-common.h (identifier_global_value): Declare. | |
2857 | * c-decl.c (WINT_TYPE, INTMAX_TYPE, UINTMAX_TYPE): Don't define. | |
2858 | (init_decl_processing): Don't create string_type_node, | |
2859 | const_string_type_node, wint_type_node, intmax_type_node, | |
2860 | uintmax_type_node, default_function_type, ptrdiff_type_node and | |
2861 | unsigned_ptrdiff_type_node. | |
2862 | (identifier_global_value): New function. | |
2863 | ||
8d9e9a08 NB |
2864 | 2000-12-01 Neil Booth <neilb@earthling.net> |
2865 | ||
f6bbde28 ZW |
2866 | * cppinit.c (initialize): Forgotten prototype. |
2867 | * cpplex.c (_cpp_lex_token): Loop until not skipping. | |
2868 | Always clear PREV_WHITE upon meeting a new line. | |
2869 | * cpplib.c (end_directive): Set pfile->skipping after | |
2870 | skip_rest_of_line. | |
2871 | * cpplib.h (cpp_reader): Remove macro_pos. | |
2872 | * cppmacro.c (cpp_get_line): Don't do anything special inside | |
2873 | macros. | |
2874 | (parse_arg): Add PREV_WHITE if a token appears after new lines. | |
2875 | (funlike_invocation_p): Save and restore the output position | |
2876 | over a successful check for a '('. | |
2877 | (enter_macro_context): Delete uses of macro_pos. | |
2878 | (cpp_get_token): Don't use pfile->skipping. | |
8d9e9a08 | 2879 | |
c4765d18 PE |
2880 | 2000-12-01 Phil Edwards <pme@sources.redhat.com> |
2881 | ||
2882 | * diagnostic.c: Fix typos in comments. | |
2883 | * diagnostic.h: Likewise. | |
2884 | ||
815d683e PE |
2885 | 2000-11-30 Phil Edwards <pme@sources.redhat.com> |
2886 | ||
2887 | * rtl.texi (Machine Modes): Document BImode and OImode. | |
2888 | ||
ae24178a JM |
2889 | 2000-12-01 Joseph S. Myers <jsm28@cam.ac.uk> |
2890 | ||
2891 | * gcc.c (default_compilers): Add suffixes .mi, .cp, .ii, .FOR and | |
2892 | .FPP. | |
2893 | ||
c7b82833 JM |
2894 | 2000-12-01 Joseph S. Myers <jsm28@cam.ac.uk> |
2895 | ||
2896 | * c-decl.c (grokdeclarator): If pedantic, warn about arrays with | |
2897 | incomplete element type. | |
2898 | (grokparms): Before checking for incomplete parameter type, check | |
2899 | the type isn't error_mark_node. | |
2900 | ||
ab937357 JJ |
2901 | 2000-12-01 Jakub Jelinek <jakub@redhat.com> |
2902 | ||
2903 | * builtins.c (target_char_cast): New function. | |
2904 | (expand_builtin_strchr): Use it. | |
2905 | (expand_builtin_strrchr): Use it. | |
2906 | (builtin_memset_read_str): New function. | |
2907 | (expand_builtin_memset): Use target_char_cast. | |
2908 | Try to optimize memset with second argument non-zero using | |
2909 | store_by_pieces. | |
2910 | ||
3a69a7d5 MM |
2911 | 2000-11-30 Marek Michalkiewicz <marekm@linux.org.pl> |
2912 | ||
2913 | * install.texi (avr): Replace incomplete list of supported MCU | |
2914 | types with a link to the current one ... | |
2915 | * invoke.texi (AVR Options): ... here. Update -mmcu= to list | |
2916 | all supported MCU types. Document -minit-stack= default. | |
2917 | Document new options -mno-tablejump, -mtiny-stack. | |
2918 | * md.texi (AVR family): Fix typo in 'w' constraint letter | |
2919 | description. Document 'q'. Update 'O'. | |
2920 | ||
53895717 BS |
2921 | 2000-12-01 Bernd Schmidt <bernds@redhat.co.uk> |
2922 | ||
2923 | * combine.c (cant_combine_insn_p): Only disallow insns involving | |
2924 | hard regs if they are reg-reg moves. | |
2925 | (try_combine, can_combine_p, combinable_i3pat): Delete old | |
2926 | SMALL_REGISTER_CLASSES tests. | |
2927 | ||
f00018dd AO |
2928 | 2000-12-01 Alexandre Oliva <aoliva@redhat.com> |
2929 | ||
3d422cb1 AO |
2930 | * config/sh/sh.c (shiftcosts): Don't get INTVAL before testing |
2931 | whether X is a CONST_INT. | |
2932 | (addsubcosts): Likewise. | |
2933 | ||
f00018dd AO |
2934 | * config/sh/sh.h (OUTPUT_ADDR_CONST_EXTRA): Use INTVAL instead of |
2935 | mis-used XINT. | |
2936 | (ARG_POINTER_REGNUM): Set to AP_REG. | |
2937 | ||
95ac07b0 AO |
2938 | 2000-11-30 Alexandre Oliva <aoliva@redhat.com> |
2939 | ||
ecfdeaeb AO |
2940 | * config/sh/sh.md (fpu_switch0, fpu_switch1, movpsi, fpu_switch, |
2941 | splits): Only match on TARGET_SH4. | |
2942 | ||
95ac07b0 AO |
2943 | * combine.c (try_combine): Disregard USEs when updating LOG_LINKS |
2944 | of subsequent insns. | |
2945 | ||
f2720858 RH |
2946 | 2000-11-30 Richard Henderson <rth@redhat.com> |
2947 | ||
2948 | * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): Disable. | |
2949 | * config/alpha/alpha32.h (ASM_OUTPUT_MI_THUNK): Likewise. | |
2950 | ||
ef7d91cd RH |
2951 | 2000-11-30 Richard Henderson <rth@redhat.com> |
2952 | ||
2953 | * config/alpha/elf.h (ASM_OUTPUT_SECTION_NAME): Copy elfos.h defn. | |
2954 | (DO_SELECT_SECTION): New. | |
2955 | (SELECT_SECTION): Use it. | |
2956 | (UNIQUE_SECTION_P): New. | |
2957 | (UNIQUE_SECTION): New. | |
2958 | ||
29ced803 AO |
2959 | 2000-11-30 Alexandre Oliva <aoliva@redhat.com> |
2960 | ||
2961 | * c-common.c (status_warning) [! ANSI_PROTOTYPES]: Load status | |
2962 | from va_list before using it. | |
2963 | ||
25e4379f MM |
2964 | 2000-11-30 Michael Matz <matzmich@cs.tu-berlin.de> |
2965 | ||
2966 | * flow.c (make_edge): Early out, if no flags to set. | |
2967 | (calculate_global_regs_live): Clear out garbage only when necessary. | |
2968 | ||
2969 | * simplify-rtx.c (varray_type used_regs): New. | |
2970 | (clear_table): Use it to only clear necessary items. | |
2971 | (cselib_lookup, cselib_record_set): Remember newly set items. | |
2972 | (cselib_update_varray_sizes, cselib_init): Initialize and grow | |
2973 | used_regs. | |
2974 | ||
2975 | * local-alloc.c (update_equiv_regs): New local `cleared_regs'. | |
2976 | Move clearing of dead regs out of insn-loop. | |
2977 | ||
41c39533 RH |
2978 | 2000-11-30 Richard Henderson <rth@redhat.com> |
2979 | ||
2980 | * calls.c (expand_call): Emit queued insns before creating | |
2981 | the tail recursion sequence. | |
2982 | ||
039df8c7 | 2983 | 2000-11-30 J. David Anglin <dave.anglin@nrc.ca> |
f6bbde28 | 2984 | Bruce Korb <bkorb@gnu.org> |
039df8c7 DA |
2985 | |
2986 | * fixinc/inclhack.def(): prevent dual double definition protection | |
2987 | * fixinc/fixincl.x: regenerate | |
2988 | ||
42cfed37 LR |
2989 | 2000-11-29 Loren J. Rittle <ljrittle@acm.org> |
2990 | ||
f6bbde28 ZW |
2991 | * fixinc/Makefile.in (fixincl.x): Explicitly state the |
2992 | location of the generated file. | |
42cfed37 | 2993 | |
a6bb9efa GP |
2994 | 2000-11-30 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
2995 | ||
2996 | * README.FRESCO: Remove obsolete file. | |
2997 | ||
255b8a49 JL |
2998 | 2000-11-30 Mark Kettenis <kettenis@gnu.org> |
2999 | ||
255b8a49 JL |
3000 | * config/t-gnu (LIBGCC1, CROSS_LIBGCC1, CRTSTUFF_T_CFLAGS, |
3001 | TARGET_LIBGCC2_CFLAGS): Remove. We now use the settings from | |
3002 | config/t-linux for the Hurd. | |
3003 | ||
3004 | 2000-11-30 Stephane Carrez <Stephane.Carrez@worldnet.fr> | |
75273d08 SC |
3005 | |
3006 | * config/mn10200/udivmod.c, config/mn10200/divmod.c, | |
3007 | config/mn10200/udivmodsi4.c: Moved from here. | |
3008 | * config/udivmod.c, config/divmod.c, config/udivmodsi4.c: To here. | |
3009 | * config/mn10200/t-mn10200 (LIB2FUNCS_EXTRA): Use the generic | |
3010 | C division functions. | |
3011 | * config/m68hc11/t-m68hc11-gas (LIB2FUNCS_EXTRA): Likewise. | |
3012 | ||
15c2086a JL |
3013 | Thu Nov 30 01:12:52 2000 Jeffrey A Law (law@cygnus.com) |
3014 | ||
3015 | * pa.md (conditional moves): Avoid holes in operand list. | |
3016 | (mod, umod patterns): Similarly. | |
3017 | (variable extract/shift patterns): Similarly. | |
3018 | ||
9105f671 NB |
3019 | 2000-11-30 Neil Booth <neilb@earthling.net> |
3020 | ||
f6bbde28 ZW |
3021 | * objc/objc-act.c (lang_init, finish_file, maybe_objc_comptypes, |
3022 | maybe_objc_check_decl, build_objc_string_object, | |
3023 | objc_declare_alias, objc_declare_class, build_message_expr, | |
3024 | build_protocol_expr, build_selector_expr, build_encode_expr, | |
3025 | get_class_ivars, start_class, start_protocol): Remove | |
3026 | redundant code, assuming doing_objc_thang is true. | |
9105f671 | 3027 | |
31a7659b JDA |
3028 | 2000-11-29 John David Anglin <dave@hiauly1.hia.nrc.ca> |
3029 | ||
1f80ea95 JDA |
3030 | * pa.c (restore_unscaled_index_insn_codes): Delete procedure. |
3031 | (record_unscaled_index_insn_codes): Likewise. | |
3032 | (unscaled_index_insn_codes): Delete. | |
3033 | (max_unscaled_index_insn_codes_uid): Delete. | |
3034 | (output_function_prologue, output_function_epilogue, pa_reorg): | |
3035 | Don't use the unscaled index insn hack. | |
3036 | ||
d16ca6a6 JDA |
3037 | * pa.md: Remove hack from all index insns to reverse the operand |
3038 | order of frame and stack pointer references incorrectly created | |
3039 | in the reload pass. | |
3040 | ||
3502dc9c JDA |
3041 | * function.h (emit_status): Delete member regno_pointer_flag and |
3042 | rename regno_pointer_flag_length to regno_pointer_align_length. | |
3043 | Delete define for REGNO_POINTER_FLAG. | |
3044 | * integrate.h (inline_remap): Delete member regno_pointer_flag. | |
3045 | Add member x_regno_reg_rtx. | |
3046 | * rtl.h (rtx_def): Use frame_related bit to indicate register is | |
3047 | a pointer in REG expressions. Define REG_POINTER macro. | |
3048 | * alias.c (find_base_value, find_base_term): Use REG_POINTER | |
3049 | instead of REGNO_POINTER_FLAG. | |
3050 | * combine.c (nonzero_bits, num_sign_bit_copies): Likewise. | |
3051 | * emit-rtl.c (gen_reg_rtx): Use regno_pointer_align_length instead | |
3052 | of regno_pointer_flag_length. Remove code which refers to | |
3053 | regno_pointer_flag. | |
3054 | (mark_reg_pointer): Use REG_POINTER. | |
3055 | (free_emit_status): Remove code which refers to regno_pointer_flag. | |
3056 | (init_emit, mark_emit_status): Likewise. | |
3057 | * flow.c (dump_flow_info): Likewise. | |
3058 | * function.c (preserve_temp_slots): Likewise. | |
3059 | * integrate.c (expand_inline_function, copy_rtx_and_substitute): | |
3060 | Use x_regno_reg_rtx instead of regno_pointer_flag for function | |
3061 | pointer determination in map. | |
3062 | * loop.c (strength_reduce, maybe_eliminate_biv_1): Use REG_POINTER. | |
3063 | * predict.c (estimate_probability): Likewise. | |
3064 | * regclass.c (record_address_regs, reg_scan_mark_refs): Likewise. | |
3065 | * unroll.c (unroll_loop): Use x_regno_reg_rtx instead of | |
3066 | regno_pointer_flag for function pointer determination in map. | |
3067 | * convex.h (RTX_COSTS): Don't test regno_pointer_flag and use | |
3068 | REG_POINTER. | |
3069 | * pa.c (hppa_legitimize_address, emit_move_sequence, basereg_operand): | |
3070 | Use REG_POINTER. | |
3071 | (restore_unscaled_index_insn_codes): Revise comment. | |
3072 | ||
31a7659b JDA |
3073 | * expr.c (do_compare_and_jump): Add missing TYPE_MODE in statement. |
3074 | ||
9f1bbeaa JM |
3075 | 2000-11-30 Joseph S. Myers <jsm28@cam.ac.uk> |
3076 | ||
3077 | * extend.texi: Update documentation for attributes. | |
3078 | ||
74e5aa4b DB |
3079 | 2000-11-29 David O'Brien <obrien@FreeBSD.org> |
3080 | ||
3081 | * config/alpha/elf.h (IDENT_ASM_OP): Protect the #define. | |
3082 | (ASM_DECLARE_OBJECT_NAME): Same. | |
3083 | (ASM_FILE_END): Same. | |
3084 | (ASM_FINISH_DECLARE_OBJECT): Same. | |
3085 | (ASM_IDENTIFY_GCC): Same. | |
3086 | (ASM_IDENTIFY_LANGUAGE): Same. | |
3087 | (ASM_OUTPUT_CONSTRUCTOR): Same. | |
3088 | (ASM_OUTPUT_DEF): Same. | |
3089 | (ASM_OUTPUT_DESTRUCTOR): Same. | |
3090 | (ASM_OUTPUT_EXTERNAL_LIBCALL): Same. | |
3091 | (ASM_OUTPUT_SECTION_NAME): Same. | |
3092 | (ASM_WEAKEN_LABEL): Same. | |
3093 | (BSS_SECTION_ASM_OP): Same. | |
3094 | (COMMON_ASM_OP): Same. | |
3095 | (CONST_SECTION_ASM_OP): Same. | |
3096 | (CONST_SECTION_FUNCTION): Same. | |
3097 | (CTORS_SECTION_ASM_OP): Same. | |
3098 | (DTORS_SECTION_ASM_OP): Same. | |
3099 | (ESCAPES): Same. | |
3100 | (FINI_SECTION_ASM_OP): Same. | |
3101 | (IDENT_ASM_OP): Same. | |
3102 | (IDENT_ASM_OP): Same. | |
3103 | (INIT_SECTION_ASM_OP): Same. | |
3104 | (INT_ASM_OP): Same. | |
3105 | (MAX_OFILE_ALIGNMENT): Same. | |
3106 | (SBSS_SECTION_ASM_OP): Same. | |
3107 | (SDATA_SECTION_ASM_OP): Same. | |
3108 | (SECTION_FUNCTION_TEMPLATE): Same. | |
3109 | (SELECT_SECTION): Same. | |
3110 | (SE_CONST_SECTION): Same. | |
3111 | (SIZE_ASM_OP): Same. | |
3112 | (SKIP_ASM_OP): Same. | |
3113 | (STRING_ASM_OP): Same. | |
3114 | (STRING_LIMIT): Same. | |
3115 | (TYPE_ASM_OP): Same. | |
3116 | (TYPE_OPERAND_FMT): Same. | |
3117 | ||
0eaed3c6 NB |
3118 | 2000-11-29 Neil Booth <neilb@earthling.net> |
3119 | ||
f6bbde28 ZW |
3120 | * c-decl.c (c_decode_option): Don't handle -lang-objc. |
3121 | * objc/lang-options.h: Remove -lang-objc. | |
3122 | * objc/lang-specs.h: Don't pass -lang-objc to cc1obj. | |
3123 | * objc/objc-act.c (lang_init_options): Set c_language. | |
0eaed3c6 | 3124 | |
98166639 JJ |
3125 | 2000-11-29 Jakub Jelinek <jakub@redhat.com> |
3126 | ||
3127 | * expr.c (can_store_by_pieces): Reinitialize max_size for reverse | |
3128 | tests. | |
3129 | ||
f3b55474 NB |
3130 | 2000-11-29 Neil Booth <neilb@earthling.net> |
3131 | ||
f6bbde28 | 3132 | * c-pragma.c (init_pragma): Update for parse_in type change. |
f3b55474 | 3133 | |
b86ecfa9 LB |
3134 | 2000-11-29 Laurynas Biveinis <lauras@softhome.net> |
3135 | ||
3136 | * configure.in: recognize DOS-style absolute paths. | |
3137 | ||
57814e5e JJ |
3138 | 2000-11-29 Jakub Jelinek <jakub@redhat.com> |
3139 | ||
3140 | * expr.h (store_by_pieces): Add prototype. | |
3141 | (can_store_by_pieces): Likewise. | |
3142 | * expr.c (struct store_by_pieces): Renamed from clear_by_pieces. | |
3143 | (can_store_by_pieces): New. | |
3144 | (store_by_pieces): New. | |
3145 | (clear_by_pieces): New. | |
3146 | (clear_by_pieces_1): New. | |
3147 | (store_by_pieces_1): Renamed from clear_by_pieces, handle storing | |
3148 | arbitrary compiler generated constants into memory block. | |
3149 | (store_by_pieces_2): Renamed from clear_by_pieces_1, likewise. | |
3150 | * builtins.c (c_readstr): New. | |
3151 | (builtin_memcpy_read_str): New. | |
3152 | (expand_builtin_memcpy): If src is string constant and | |
3153 | emit_block_move would move it by pieces, compute integer constants | |
3154 | from the string and store it into memory block instead. | |
3155 | (builtin_strncpy_read_str): New. | |
3156 | (expand_builtin_strncpy): If N is not constant zero and c_strlen does | |
3157 | not return INTEGER_CST, don't optimize. | |
3158 | If N is larger than strlen(src) + 1, try to copy the string | |
3159 | including padding with store_by_pieces. | |
3160 | (expand_builtin_strcmp): If both arguments have side effects, don't | |
3161 | optimize. | |
3162 | (expand_builtin_fputs): If STR has side effects, don't optimize. | |
3163 | ||
76b7dad3 RE |
3164 | 2000-11-29 Richard Earnshaw <rearnsha@arm.com> |
3165 | ||
3166 | * arm.md (sibcall, sibcall_value, sibcall_insn, sibcall_value_insn): | |
3167 | Add use of link register. | |
3168 | ||
b722c82c JM |
3169 | 2000-11-29 Joseph S. Myers <jsm28@cam.ac.uk> |
3170 | ||
3171 | * extend.texi: Update documentation for default format attributes. | |
3172 | ||
01fa3508 JL |
3173 | Tue Nov 28 21:56:45 2000 Jeffrey A Law (law@cygnus.com) |
3174 | ||
3175 | * pa/pa-64.h (ASM_OUTPUT_SECTION_NAME): Use a hash table, not | |
3176 | a list, to keep track of the sections. | |
3177 | ||
4bec9f7d NC |
3178 | 2000-11-28 Nick Clifton <nickc@redhat.com> |
3179 | ||
3180 | * config/arm/arm.md (pic_load_addr): Split into | |
3181 | pic_load_addr_arm and pic_load_addr_thumb. | |
3182 | ||
3183 | * config/arm/arm.c (legitimize_pic_address): Generate either | |
3184 | ARM or Thumb versions of pic_load_addr. | |
3185 | (arm_finalize_pic): Generate either ARM or Thumb versions of | |
3186 | pic_load_addr. | |
3187 | ||
54fef245 RH |
3188 | 2000-11-28 Richard Henderson <rth@redhat.com> |
3189 | ||
3190 | * calls.c (expand_call): Defer const/pure NO_DEFER_POP until | |
3191 | after sibcall do_pending_stack_adjust. | |
3192 | ||
f423a6a7 R |
3193 | Wed Nov 29 00:08:23 2000 J"orn Rennecke <amylaar@redhat.com> |
3194 | ||
3195 | * jump.c (delete_insn): Check that REG_LABEL note actually contains | |
3196 | a CODE_LABEL. | |
3197 | ||
eaf299c6 NB |
3198 | 2000-11-28 Neil Booth <neilb@earthling.net> |
3199 | ||
01933a51 | 3200 | * c-common.h: Remove flag_digraphs. |
f6bbde28 ZW |
3201 | * c-decl.c: Remove flag_digraphs. |
3202 | (c_decode_option): Don't set it. | |
01933a51 | 3203 | * c-lex.c (init_c_lex): Don't do anything for digraphs. |
eaf299c6 | 3204 | |
7dfe7bd6 RH |
3205 | 2000-11-28 Richard Henderson <rth@redhat.com> |
3206 | ||
3207 | * c-parse.in (finish_parse): Update for parse_in type change. | |
3208 | (_yylex): Likewise. | |
3209 | ||
8dc4676d NB |
3210 | 2000-11-28 Neil Booth <neilb@earthling.net> |
3211 | ||
01933a51 JM |
3212 | * cppmacro.c (cpp_scan_buffer_nooutput): Take a boolean |
3213 | indicating whether to scan all buffers on the stack or | |
3214 | just one. | |
3215 | * cppinit.c (do_includes): Update. | |
3216 | * cppmain.c (main): Update. | |
3217 | * cpplib.h: Update prototype. | |
8dc4676d | 3218 | |
c77e04ae RH |
3219 | 2000-11-28 Richard Henderson <rth@redhat.com> |
3220 | ||
3221 | * genoutput.c (validate_insn_operands): New. | |
3222 | (gen_insn): Call it. | |
3223 | ||
3224 | * config/alpha/alpha.md (divmodsi_internal): Renumber operands. | |
3225 | (divmoddi_internal): Likewise. | |
3226 | * config/arm/arm.md (andsi3_compare0_scratch): Likewise. | |
3227 | * config/i960/i960.md (branch patterns): Likewise. | |
3228 | * config/ia64/ia64.md (tbit_and_0): Likewise. | |
3229 | (tbit_and_1, tbit_or_0, tbit_or_1): Likewise. | |
3230 | * config/m68k/m68k.md (zero_extract memory patterns): Likewise. | |
3231 | * config/mips/mips.md (divmodsi4_internal): Likewise. | |
3232 | (divmoddi4_internal): Likewise. | |
3233 | * config/rs6000/rs6000.md (call patterns): Likewise. | |
3234 | * config/sh/sh.md (movsi_y): Likewise. | |
3235 | * config/sparc/sparc.md: Comment out if 0 v8p shift pattern. | |
3236 | ||
79bc4669 RH |
3237 | 2000-11-28 Richard Henderson <rth@redhat.com> |
3238 | ||
3239 | * config.gcc: Kill residual pyramid support. | |
3240 | ||
cf44ea52 NB |
3241 | 2000-11-28 Neil Booth <neilb@earthling.net> |
3242 | ||
3243 | * c-lex.h (parse_in): Change parse_in to a cpp_reader *. | |
3244 | * c-decl.c (c_decode_option): Update to match. | |
3245 | * c-lex.c (init_c_lex, yyparse): Update to match. | |
3246 | * c-lang.c (lang_init_options): Use cpp_create_reader. | |
3247 | * cppinit.c (cpp_init): Rename initialize. | |
3248 | (cpp_reader_init): Rename cpp_create_reader. Create the | |
3249 | reader. Initialize cpplib if appropriate. | |
3250 | * cpplib.h (cpp_create_reader) New prototype. | |
3251 | (cpp_init, cpp_reader_init): Delete prototypes. | |
3252 | * cppmain.c (general_init, setup_callbacks): New functions. | |
3253 | (main): Use them. | |
3254 | * fix-header.c (scan_in): Change type to cpp_reader *. | |
3255 | (read_scan_file): Update for new cpplib interface and scan_in type. | |
3256 | ||
3257 | * cp/decl.c (parse_in): Change to cpp_reader *. | |
3258 | (lang_decode_option): Update. | |
3259 | * cp/lex.c (lang_init_options): Use new cpplib interface. | |
3260 | (init_cp_pragma, finish_parse, handle_pragma_implementation): Update. | |
3261 | * cp/spew.c (read_token): Update. | |
3262 | * objc/objc-act.c (lang_init_options): Update new cpplib interface. | |
3263 | ||
48c4d691 JJ |
3264 | 2000-11-28 Jakub Jelinek <jakub@redhat.com> |
3265 | ||
3266 | * loop.c (load_mems): Avoid using next_label to find end_label. If | |
3267 | jumping outside of the loop (other than loop end), don't hoist MEMs | |
3268 | out of loop. | |
3269 | ||
fb158467 JH |
3270 | 2000-11-28 Jan Hubicka <jh@suse.cz> |
3271 | ||
3272 | * calls.c (expand_call): Don't disable tail recursion based | |
3273 | on the loop nest. | |
3274 | ||
40bd4395 NB |
3275 | 2000-11-28 Neil Booth <neilb@earthling.net> |
3276 | ||
01933a51 JM |
3277 | * tradcpp.c (enum node_type): New hash types T_ASSERT, T_UNASSERT. |
3278 | (struct directive): Drop 4th argument from handlers. | |
3279 | (do_define, do_line, do_include, do_undef, do_else, do_elif, | |
3280 | do_endif): Similarly. | |
3281 | (do_assert, do_unassert, do_ifdef, do_ifndef): New handlers. | |
3282 | (do_ifxdef): Update as common handler of do_ifdef and do_ifndef. | |
3283 | (make_definition, make_undef): Take a const char*. | |
3284 | (make_assertion): New function. | |
3285 | (struct directive_table): Update. | |
3286 | (main): Handle -A command line argument. | |
3287 | (handle_directive): Drop fourth handler argument. | |
40bd4395 | 3288 | |
77ea49a4 BS |
3289 | 2000-11-28 Bernd Schmidt <bernds@redhat.co.uk> |
3290 | ||
3291 | * simplify-rtx.c (cselib_record_sets): Ignore sets whose destination | |
3292 | is anything but REG or MEM, but look inside STRICT_LOW_PART. | |
3293 | ||
c5c0b3d9 RK |
3294 | Tue Nov 28 09:53:50 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
3295 | ||
3296 | * system.h (IS_DIR_SEPARATOR): Use uppercase macro name. | |
3297 | (IS_ABSOLUTE_PATHNAME): New macro. | |
3298 | * gcc.c (find_a_file, process_command, do_spec_1, main): Use it. | |
3299 | ||
dd80b906 JJ |
3300 | 2000-11-28 Jakub Jelinek <jakub@redhat.com> |
3301 | ||
3302 | * config/i386/i386.md (truncxfsf2_2): Fix predicate. | |
3303 | ||
102870fb JW |
3304 | 2000-11-27 Jim Wilson <wilson@redhat.com> |
3305 | ||
3306 | * reload1.c (reload): Use HOST_WIDE_INT for old_frame_size. | |
3307 | ||
9734e80c MK |
3308 | 2000-11-27 Matthias Klose <doko@cs.tu-berlin.de> |
3309 | ||
3310 | * extend.texi (Nested Functions): Update URL of Usenix paper. | |
3311 | ||
cf77f15f MM |
3312 | 2000-11-27 Mark Mitchell <mark@codesourcery.com> |
3313 | ||
3314 | * function.c (free_after_compilation): Clear x_clobber_return_insn. | |
3315 | ||
6a6b1628 NB |
3316 | 2000-11-27 Neil Booth <neilb@earthling.net> |
3317 | ||
f6bbde28 | 3318 | * cppinit.c (cpp_reader_init): Remove handling of warn_paste |
01933a51 JM |
3319 | command line options. |
3320 | (cpp_handle_option): Similarly. | |
3321 | * cpplib.h (struct cpp_options): Remove warn_paste. | |
3322 | * cppmacro.c (paste_tokens): Apart from assembler, make | |
3323 | unpasteable token warning mandatory. | |
6a6b1628 | 3324 | |
fb6a7b08 NB |
3325 | 2000-11-27 Neil Booth <neilb@earthling.net> |
3326 | ||
01933a51 JM |
3327 | * tradcpp.c (enum pending_dir_t, struct pending_dir): New. |
3328 | (main): Allocate a pending directive set of these. Use it. | |
3329 | Merge handling of -D and -U. Update handling of pending | |
3330 | directives. Free the memory after use. | |
fb6a7b08 | 3331 | |
7dfc0fbe BS |
3332 | 2000-11-27 Bernd Schmidt <bernds@redhat.co.uk> |
3333 | ||
3334 | * flow.c (entry_exit_blocks): Add entry for cond_local_set. | |
3335 | (struct propagate_block_info): Add new member cond_local_set. | |
3336 | (propagate_block): Accept new arg cond_local_set. All callers | |
3337 | changed. | |
3338 | (init_propagate_block_info): Likewise. | |
3339 | (calculate_global_regs_live): Allocate & free cond_local_set. Always | |
3340 | rescan if there's overlap between cond_local_set and new_live_at_end. | |
3341 | (mark_set_1): Set bits either in cond_local_set or local_set, as | |
3342 | appropriate. | |
3343 | * basic-block.h (struct basic_block_def): New field cond_local_set. | |
3344 | (propagate_block, init_propagate_block_info): Update prototypes. | |
3345 | ||
5f6fa212 KK |
3346 | Mon Nov 27 17:29:44 2000 kaz Kojima <kkojima@rr.iij4u.or.jp> |
3347 | ||
3348 | * gcc/config/sh/sh.md (udivsi3_i4, udivsi3_i4_single): Clobber | |
3349 | T register. | |
3350 | ||
8bb9536a RE |
3351 | 2000-11-27 Richard Earnshaw <rearnsha@arm.com> |
3352 | ||
3353 | * arm.c (select_dominance_cc_mode): Handle new way that combine | |
3354 | canonicalizes conditional compares. | |
3355 | (arm_select_cc_mode): Likewise. | |
3356 | * arm.md: Garbage collect some dead code. | |
21c7361e | 3357 | (cmp_and, cmp_ior): New patterns. |
8bb9536a RE |
3358 | (splitter for conditional move with inverted false): Use cond_exec |
3359 | and handle unordered comparisons. | |
3360 | ||
4211a8fb JH |
3361 | Mon Nov 27 17:22:56 MET 2000 Jan Hubicka <jh@suse.cz> |
3362 | ||
3363 | * i386.c (ix86_force_to_memory, ix86_free_from_memory): New. | |
3364 | * i386-protos.h (ix86_force_to_memory, ix86_free_from_memory): Declare | |
3365 | * i386.md (float?i?f, int/fp operations): Rewrite spliters to use | |
3366 | ix86_force_to_memory and ix86_free_from_memory. | |
3367 | ||
bb6ae783 RE |
3368 | 2000-11-27 Richard Earnshaw <rearnsha@arm.com> |
3369 | ||
3370 | * arm.md (arm_adddi3, adddi_sesidi_di, adddi_zesidi_di, arm_addsi3, | |
3371 | arm_subsi3_insn, anddi_zesidi_di, arm_andsi3_insn, anddi_notdi_di, | |
f6bbde28 | 3372 | anddi_notzesidi_di, anddi_notsesidi_di, arm_iorsi3, |
bb6ae783 | 3373 | one_cmpldi2): Merge with splitters to create define_insn_and_split |
21c7361e | 3374 | patterns. Remove redundant splits. |
bb6ae783 RE |
3375 | (peephole2 for add:SI of invalid immediate): New. |
3376 | (peephole2 for minus:SI of invalid immediate): New. | |
3377 | (peephole2 for ior:SI of invalid immediate): New. | |
3378 | (peephole for merge of move and compare): Convert ot peephole2. | |
3379 | (addsf3, adddf3): Mark as commutative. | |
3380 | ||
3381 | * arm.md (thumb peephole for merging stack adjustments): Convert to | |
3382 | peephole2. | |
3383 | ||
70bbeb8b BS |
3384 | 2000-11-27 Bernd Schmidt <bernds@redhat.co.uk> |
3385 | ||
375de5b6 BS |
3386 | * haifa-sched.c (print_pattern): Prettier output for COND_EXEC. |
3387 | ||
70bbeb8b BS |
3388 | * reload1.c (reload_cse_simplify_set): Pass down mode to cselib_lookup. |
3389 | (reload_cse_simplify_operands): Do nothing about operands where both | |
3390 | the operand and the match_operand fail to give us a mode. | |
3391 | * simplify-rtx.c (wrap_constant): New function. | |
3392 | (entry_and_rtx_equal_p): Except integer constants to come wrapped in a | |
3393 | CONST describing the proper mode. | |
3394 | (rtx_equal_for_cselib_p): Pass down modes to recursive calls of | |
3395 | cselib_lookup. | |
3396 | (cselib_lookup_mem): Call wrap_constant on the rtx that is passed to | |
3397 | htab_find_slot_with_hash. | |
3398 | (cselib_lookup): Likewise. | |
3399 | ||
7dbe6ae9 BS |
3400 | Based on a patch from Geoff Keating <geoffk@redhat.com>: |
3401 | * loop.c (basic_induction_var): If a REG is set from something | |
3402 | that is not a biv, then the REG is not a biv. Even if it is | |
3403 | earlier set from something that is a biv. | |
3404 | ||
6b2adea9 AO |
3405 | 2000-11-27 Alexandre Oliva <aoliva@redhat.com> |
3406 | ||
3407 | * configure.in (extra_objs): Enclose extra_headers in quotes. | |
3408 | * configure: Rebuilt. | |
3409 | ||
27e2564a NB |
3410 | 2000-11-27 Neil Booth <neilb@earthling.net> |
3411 | ||
01933a51 JM |
3412 | * c-lex.c (cb_enter_file, cb_leave_file, cb_rename_file): |
3413 | Combine into the new function cb_change_file. | |
3414 | (init_c_lex): Update. | |
3415 | * cppfiles.c (stack_include_file): Use _cpp_do_file_change. | |
3416 | (cpp_syshdr_flags): Delete. | |
3417 | * cpphash.h (_cpp_do_file_change): New prototype. | |
3418 | Move struct cpp_buffer here from... | |
3419 | * cpplib.h (struct cpp_buffer): ... here. | |
3420 | (enum cpp_fc_reason, struct cpp_file_loc, | |
3421 | struct_cpp_file_change, change_file): New. | |
3422 | (enter_file, leave_file, rename_file, cpp_syshdr_flags): Delete. | |
3423 | * cpplib.c (do_line): Update for new cb_change_file callback. | |
3424 | (_cpp_do_file_change): New function. | |
3425 | (_cpp_pop_buffer): Update to use it. | |
3426 | * cppmain.c (move_printer): Delete. | |
3427 | (main): Set up single callback cb_change_file. | |
3428 | (cb_enter_file, cb_leave_file, cb_rename_file): Delete. | |
3429 | (cb_change_file): New. | |
3430 | * fix-header.c (cur_file, cb_change_file): New. | |
3431 | (recognized_function, read_scan_file): Update. | |
3432 | * scan-decls.c (scan_decls): Update. | |
3433 | * scan.h (recognized_function): Update prototype. | |
27e2564a | 3434 | |
9ccb25d5 MM |
3435 | 2000-11-26 Mark Mitchell <mark@codesourcery.com> |
3436 | ||
3437 | * tree.h (mark_tree_hashtable): New function. | |
3438 | * tree.c (mark_tree_hashtable_entry): New function. | |
3439 | (mark_tree_hashtable): Likewise. | |
3440 | ||
5fcd86dd MM |
3441 | 2000-11-27 Michael Meissner <meissner@redhat.com> |
3442 | ||
3443 | * d30v-protos.h (srelational_si_operator): Correctly spell | |
3444 | function. | |
3445 | (urelational_si_operator): Ditto. | |
3446 | (relational_si_operator): Ditto. | |
3447 | (d30v_expand_prologue): Add prototype. | |
3448 | (d30v_expand_epilogue): Ditto. | |
3449 | ||
3450 | * d30v.h (OPTIMIZATION_OPTIONS): Undo November 22nd change. | |
3451 | ||
3452 | * d30v.md (movcccc_*): Delete now unused patterns. | |
3453 | (64 bit comparison splitters): Rewrite to use COND_EXEC instead of | |
3454 | IF_THEN_ELSE. | |
3455 | (define_cond_exec): Use 'b' to select branch flags. | |
3456 | ||
da9e9f08 KG |
3457 | 2000-11-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
3458 | ||
3459 | * builtins.c (expand_builtin_strncmp, expand_builtin_strncpy): New | |
3460 | functions. | |
3461 | (expand_builtin): Handle BUILT_IN_STRNCPY and BUILT_IN_STRNCMP. | |
3462 | ||
3463 | * builtins.def (BUILT_IN_STRNCPY, BUILT_IN_STRNCMP): New entries. | |
3464 | ||
3465 | * c-common.c (c_common_nodes_and_builtins): Declare builtin | |
3466 | strncpy and strncmp. | |
3467 | ||
3468 | * extend.texi (strncmp, strncpy): Document new builtins. | |
3469 | ||
231db5f4 MM |
3470 | 2000-11-26 Mark Mitchell <mark@codesourcery.com> |
3471 | ||
3472 | * config/elfos.h (ASM_OUTPUT_SECTION_NAME): Use a hash table, not | |
3473 | a list, to keep track of the sections. | |
3474 | * tm.texi (ASM_OUTPUT_SECTION_NAME): Document the fact that the | |
3475 | parameter provided will always be a canonical string. | |
3476 | ||
7463ef45 NB |
3477 | 2000-11-26 Neil Booth <neilb@earthling.net> |
3478 | ||
5fcd86dd MM |
3479 | * cppmacro.c (cpp_scan_buffer_nooutput): Only scan the |
3480 | current buffer. | |
7463ef45 | 3481 | |
1ccfb3dd JM |
3482 | 2000-11-26 Joseph S. Myers <jsm28@cam.ac.uk> |
3483 | ||
3484 | * makefile.vms: Remove EGCS references. | |
3485 | ||
0b34cf1e UD |
3486 | 2000-11-26 Ulrich Drepper <drepper@redhat.com> |
3487 | ||
3488 | * dwarf2out.c (output_file_names): New function. Compute minimal | |
3489 | combination of directory and file name table and emit them. | |
3490 | (output_line_info): Remove code to emit directory and file name | |
3491 | table and call output_file_names instead. | |
3492 | (file_info_cmp): Helper function to sort directory names. | |
3493 | ||
5fcd86dd | 3494 | 2000-11-26 Neil Booth <neilb@earthling.net> |
bdb05a7b | 3495 | |
5fcd86dd MM |
3496 | * cpplib.h (struct cpp_reader): Remove lang_asm. |
3497 | (struct cpp_options): Remove c89. New members lang, | |
3498 | extended_numbers. | |
f6bbde28 | 3499 | * cppexp.c (parse_number): Use them. |
5fcd86dd MM |
3500 | * cpphash.h (VALID_SIGN): Use them. |
3501 | * cppinit.c (set_lang, cpp_start_read): Update. | |
3502 | * cpplex.c (parse_string, _cpp_lex_token): Update. | |
3503 | * cpplib.c (_cpp_handle_directive): Update. | |
3504 | * cppmacro.c (parse_args): Update. | |
3505 | * cppmain.c (scan_buffer): Update. | |
bdb05a7b | 3506 | |
72bd1f9e RK |
3507 | Sun Nov 26 10:02:37 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
3508 | ||
3509 | * fold-const.c (fold, case CONVERT_EXPR): Always return tree of | |
3510 | proper type. | |
3511 | ||
5fcd86dd MM |
3512 | 2000-11-26 Neil Booth <neilb@earthling.net> |
3513 | ||
3514 | * Makefile.in: Remove MAYBE_CPPLIB and maybe_cpplib. | |
3515 | * c-decl.c: Remove parse_in declaration. | |
3516 | * c-lang.c: Similarly. | |
3517 | * c-lex.c: Similarly. | |
3518 | * c-parse.in: Similarly. | |
3519 | * c-pragma.c: Similarly. | |
3520 | * configure.in: Similarly. | |
3521 | * cp/Make-lang.in: Similarly. | |
3522 | * cp/spew.c: Similarly. | |
3523 | * cp/decl2.c: Remove check for lang-c++ option. | |
3524 | * cp/lang-specs.h: Remove -lang-c++ from cc1plus command line. | |
3525 | * cp/lex.c (lang_init_options): With cpp_reader_init, default to C++. | |
3526 | * c-lex.h: Add declaration of parse_in. | |
3527 | * cppinit.c: Call set_lang after allocating pfile->pending. | |
3528 | * configure: Regenerate. | |
056487e7 | 3529 | |
1786009e ZW |
3530 | 2000-11-25 Zack Weinberg <zack@wolery.stanford.edu> |
3531 | ||
3532 | * combine.c (try_combine): Remove redundant test. | |
3533 | ||
3645c4dc RH |
3534 | 2000-11-25 Richard Henderson <rth@redhat.com> |
3535 | ||
3536 | * c-common.h (DECL_C_HARD_REGISTER): New. | |
3537 | * c-decl.c (finish_decl): Set it for asm register variables. | |
3538 | * c-semantics.c (emit_local_var): Test it when instantiating one. | |
3539 | ||
a17a5850 RH |
3540 | 2000-11-25 Richard Henderson <rth@redhat.com> |
3541 | ||
3542 | * c-decl.c (c_expand_body): Use DECL_SOURCE_LINE rather than | |
3543 | lineno for the start of the function. | |
3544 | ||
2e18bbae RH |
3545 | 2000-11-25 Richard Henderson <rth@redhat.com> |
3546 | ||
3547 | * dwarf2out.c (file_table, file_table_allocated): Remove. | |
3548 | (file_table_allocated): Remove. | |
3549 | (struct file_table): New. | |
3550 | (decl_file_table, line_file_table): New. | |
3551 | (print_dwarf_line_table): Use them. | |
3552 | (size_of_line_prolog): Likewise. | |
3553 | (output_line_info): Likewise. | |
3554 | (add_src_coords_attributes): Likewise. | |
3555 | (gen_subprogram_die): Likewise. | |
3556 | (gen_variable_die): Likewise. | |
3557 | (dwarf2out_add_library_unit_info): Likewise. | |
3558 | (dwarf2out_line): Likewise. | |
3559 | (lookup_filename): Take a struct file_table argument. | |
3560 | (init_file_table): New. | |
3561 | (dwarf2out_init): Use it. | |
3562 | ||
163686bd JM |
3563 | 2000-11-25 Joseph S. Myers <jsm28@cam.ac.uk> |
3564 | ||
3565 | * invoke.texi: Update sequence points references. | |
3566 | ||
a32f2771 NB |
3567 | 2000-11-25 Neil Booth <neilb@earthling.net> |
3568 | ||
01933a51 JM |
3569 | * c-common.c: Remove USE_CPPLIB conditional inclusions. |
3570 | * c-common.h: Similarly. | |
3571 | * c-decl.c: Similarly. | |
a32f2771 NB |
3572 | * c-lang.c: Similarly. |
3573 | * c-lex.c: Similarly. | |
01933a51 JM |
3574 | * c-parse.in: Similarly. |
3575 | * c-pragma.c: Similarly. | |
3576 | * c-pragma.h: Similarly. | |
3577 | * gcc.c: Similarly. | |
3578 | * toplev.c: Similarly. | |
3579 | * cp/cp-tree.h: Similarly. | |
3580 | * cp/decl2.c: Similarly. | |
3581 | * cp/lang-specs.h: Similarly. | |
3582 | * cp/lex.c: Similarly. | |
3583 | * cp/lex.h: Similarly. | |
3584 | * cp/spew.c: Similarly. | |
3585 | * java/lang-options.h: Similarly. | |
3586 | * objc/lang-specs.h: Similarly. | |
3587 | * objc/objc-act.c: Similarly. | |
3588 | ||
3589 | * configure.in: Remove configure option. | |
3590 | * config.in: Regenerate. | |
3591 | * configure: Regenerate. | |
a32f2771 | 3592 | |
3e8aa6e3 RH |
3593 | 2000-11-25 Richard Henderson <rth@redhat.com> |
3594 | ||
3595 | * haifa-sched.c (sched_analyze_1, sched_analyze_2, sched_analyze): | |
3596 | Revert 2000-11-22 change. | |
3597 | ||
59a9e22e BS |
3598 | 2000-11-25 Bernd Schmidt <bernds@redhat.co.uk> |
3599 | ||
3600 | * config/i386/i386.h (FIXED_REGS): Make the three flags registers | |
3601 | fixed. | |
3602 | ||
2be36552 PT |
3603 | 2000-11-25 Philipp Thomas <pthomas@suse.de> |
3604 | * configure.in (ALL_LINGUAS): Remove en_GB and add sv. | |
3605 | * configure: Rebuilt. | |
3606 | ||
4df1190a JJ |
3607 | 2000-11-25 Jakub Jelinek <jakub@redhat.com> |
3608 | ||
3609 | * config/sparc/sparc.md (muldi3_v8plus): Remove H constraint. | |
3610 | Handle CONST_INT as second argument. | |
3611 | * config/sparc/sparc.c (set_extends): Remove first argument. | |
3612 | Properly handle AND, CONST_INT and CONST_DOUBLE, handle IOR, XOR and | |
3613 | MOV. | |
3614 | (sparc_check_64): Abort if first argument is not REG. | |
3615 | If it is DImode REG, look at the lower register of the register | |
3616 | pair. | |
3617 | ||
3618 | * config/sparc/sparc.c (load_pic_register, restore_regs, | |
3619 | output_return, sparc_v8plus_shift, sparc_function_profiler, | |
3620 | sparc_function_block_profiler, sparc_block_profiler): Fix output | |
3621 | formatting. | |
3622 | ||
6915629f AO |
3623 | 2000-11-25 Alexandre Oliva <aoliva@redhat.com> |
3624 | ||
ae010e43 AO |
3625 | * config/sh/sh.h (TARGET_NONE): New. |
3626 | (TARGET_SWITCHES): For all variant-selecting switch, use | |
3627 | TARGET_NONE to reset all other variant-selecting switch. Added | |
3628 | empty strings to avoid warnings. | |
3629 | (TARGET_DEFAULT): Set to SH1_BIT. | |
3630 | ||
8618466f AO |
3631 | * Makefile.in ($(INTL_TARGETS)): Added $(CONFIG_H) for |
3632 | insn-codes.h. | |
3633 | ||
5db5a888 AO |
3634 | * gcc/config/sh/sh.md (sibcalli, sibcalli_pcrel): New insns. |
3635 | (sibcall_pcrel): New insn_and_split. | |
3636 | (sibcall, sibcall_value, sibcall_epilogue): New expands. | |
3637 | ||
6915629f AO |
3638 | * config/sh/sh.md (GOTaddr2picreg, symGOT2reg, symGOTOFF2reg, |
3639 | symPLT_label2reg, call, call_value): Don't set | |
3640 | current_function_uses_pic_offset_table. | |
3641 | * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE): Don't mark | |
3642 | PIC_OFFSET_TABLE_REGNUM as call_used, so that calc_live_regs | |
3643 | takes it into account. | |
3644 | (FINALIZE_PIC): Delete, useless. | |
3645 | (LEGITIMATE_CONSTANT_P): Delete, unused. | |
3646 | * config/sh/sh.c (sh_expand_prologue): Don't use | |
3647 | current_function_uses_pic_offset_table. Don't special-case | |
3648 | PIC_OFFSET_TABLE_REGNUM. Initialize it if it's ever live and | |
3649 | PIC is enabled. | |
3650 | (sh_expand_epilogue, initial_elimination_offset): Don't | |
3651 | special case PIC_OFFSET_TABLE_REGNUM. | |
3652 | ||
2d01e445 AO |
3653 | 2000-11-25 Alexandre Oliva <aoliva@redhat.com>, NIIBE Yutaka <gniibe@m17n.org> |
3654 | ||
3655 | * config/sh/sh-protos.h (symbol_ref_operand): Declare. | |
3656 | * config/sh/sh.md (UNSPEC_CALLER): New constant. | |
3657 | (calli_pcrel, call_valuei_pcrel): Use PIC_REG. | |
3658 | (call_pcrel, call_value_pcrel): New insn_and_splits. | |
3659 | (call, call_value): Use them. | |
3660 | (call_site): New expand. | |
3661 | (sym_label2reg, symPLT_label2reg): Adjust to hold call_sites. | |
3662 | * config/sh/sh.h (OUTPUT_ADDR_CONST_EXTRA) [UNSPEC_CALLER]: | |
3663 | Output call_site label. | |
3664 | (PREDICATE_CODES): Added symbol_ref_operand. | |
3665 | * config/sh/sh.c (symbol_ref_operand): Define. | |
3666 | * emit-rtl.c (try_split): Propagate CALL_INSN_FUNCTION_USAGE | |
3667 | to CALL_INSNs in the split sequence. | |
3668 | ||
c3edd394 NC |
3669 | 2000-11-24 Nick Clifton <nickc@redhat.com> |
3670 | ||
3671 | * config.gcc (v850-*-*): Define c_target_objs and | |
f6bbde28 | 3672 | cxx_target_objs. |
c3edd394 NC |
3673 | |
3674 | * config/v850/t-v850: Define how to build v850-c.o | |
3675 | ||
3676 | * config/v850/v850.h (struct data_area_stack_element): Move | |
3677 | definition here from v850.c. | |
3678 | ||
3679 | * config/v850v850.c: Include gcc.h to avoid compile time | |
3680 | warning. | |
3681 | (push_data_area): Move to v850-c.c. | |
3682 | (pop_data_area): Move to v850-c.c. | |
3683 | (mark_current_function_as_interrupt): Move to v850-c.c. | |
3684 | (GHS_default_section_names): Allow to be exported. | |
3685 | (GHS_current_section_names): Allow to be exported. | |
3686 | (data_area_stack_elements): Allow to be exported. | |
3687 | (ghs_pragma_section): Move to v850-c.c. | |
3688 | (ghs_pragma_interrupt): Move to v850-c.c. | |
3689 | (ghs_pragma_starttda): Move to v850-c.c. | |
3690 | (ghs_pragma_startsda): Move to v850-c.c. | |
3691 | (ghs_pragma_startzda): Move to v850-c.c. | |
3692 | (ghs_pragma_endtda): Move to v850-c.c. | |
3693 | (ghs_pragma_endsda): Move to v850-c.c. | |
3694 | (ghs_pragma_endzda): Move to v850-c.c. | |
3695 | ||
3696 | * config/v850/v850-c.c: New file: Contains v850 specific | |
3697 | pragma parsing functions. | |
3698 | ||
aac69a49 NC |
3699 | 2000-11-24 Nick Clifton <nickc@redhat.com> |
3700 | ||
3701 | * config.gcc (extra_objs): Remove duplicate description. | |
3702 | (c_target_objs): New variable. Contains target specific | |
3703 | object files for the gcc C compiler only. | |
f6bbde28 | 3704 | (cxx_target_objs): New variable. Contains target specific |
aac69a49 NC |
3705 | object files for the gxx C++ compiler only. |
3706 | ||
3707 | * configure.in (c_target_objs): Substitute in the makefile. | |
3708 | (cxx_target_objs): Substitute in the makefile. | |
3709 | * configure: Regenerate. | |
3710 | ||
3711 | * Makefile.in (C_TARGET_OBJS): Define and initialise from | |
3712 | c_target_objs. | |
3713 | (CXX_TARGET_OBJS): Define and initialise from | |
3714 | cxx_target_objs. | |
3715 | (C_AND_OBJC_OBJS): Include C_TARGET_OBJS. | |
3716 | ||
3717 | * cp/Make-lang.in (CXX_C_OBJS): Include CXX_TARGET_OBJS). | |
3718 | ||
3719 | * tm.texi (REGISTER_TARGET_PRAGMAS): Add paragraph explaining | |
3720 | about how the use of the 'c_lex' function requires the use of | |
3721 | the target specific, language specific object files feature of | |
3722 | the configuration mechanism. | |
3723 | ||
7257bbc6 RK |
3724 | Fri Nov 24 18:50:58 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
3725 | ||
3726 | * gcc.c (process_command): Use F_OK, not R_OK. | |
3727 | ||
c3ff75c4 AK |
3728 | 2000-11-24 Arno J. Klaassen <arno@heho.snv.jussieu.fr> |
3729 | ||
3730 | * flow.c (print_rtl_and_abort): Remove ANSIism. | |
3731 | ||
104ee20b AO |
3732 | Fri Nov 24 19:54:36 2000 Alexandre Oliva <aoliva@redhat.com> |
3733 | ||
3734 | * config/sh/sh.h (GENERAL_REGISTER_P, | |
3735 | GENERAL_OR_AP_REGISTER_P, FP_REGISTER_P, XD_REGISTER_P, | |
3736 | FP_OR_XD_REGISTER_P, FP_ANY_REGISTER_P): New macros. Use them | |
3737 | all over. | |
3738 | (SPECIAL_REG): Renamed to SPECIAL_REGISTER_P. | |
3739 | * config/sh/sh.c: Use new macros. | |
3740 | * config/sh/sh.md: Likewise. | |
3741 | ||
5d00b10a AO |
3742 | Fri Nov 24 19:46:16 2000 Alexandre Oliva <aoliva@redhat.com> |
3743 | ||
3744 | * config/sh/sh.md: Clobber MACH_REG and MACL_REG in SImode, | |
3745 | instead of just MACH_REG in DImode. Always refer to FPSCR_REG | |
3746 | in PSImode. | |
3747 | ||
33f77355 DC |
3748 | Fri Nov 24 22:37:41 2000 Denis Chertykov <denisc@overta.ru> |
3749 | ||
3750 | * config/avr/avr.c (out_tsthi,out_tstsi): Test simplification bug | |
3751 | fixed. | |
3752 | (machine_dependent_reorg): Wrong optimization based on | |
f6bbde28 | 3753 | NOTICE_UPDATE_CC removed. |
33f77355 | 3754 | |
692dc9c6 R |
3755 | Fri Nov 24 19:48:09 2000 J"orn Rennecke <amylaar@redhat.com> |
3756 | ||
3757 | * jump.c (delete_computation): Re-instate deletion of feeding insn. | |
3758 | (delete_insn): Look for REG_LABEL notes. | |
3759 | (redirect_tablejump): Delete feeding insns. | |
3760 | ||
c3410241 BS |
3761 | 2000-11-24 Bernd Schmidt <bernds@redhat.co.uk> |
3762 | ||
90d10fb9 BS |
3763 | * config/i386/i386.md (call_pop_0, call_pop_1, call_value_pop_0, |
3764 | call_value_pop_1): Make sure operand numbers are contiguous. | |
3765 | ||
7cf5c9e1 BS |
3766 | * fold-const.c (fold_range_test): Avoid crash if LHS or RHS is null. |
3767 | ||
ff6534ad BS |
3768 | * reload1.c (conflicts_with_override): New function. |
3769 | (emit_input_reload_insns): Use it to tighten test for validity | |
3770 | of substituting into output of previous insn. | |
3771 | ||
176f9a7b BS |
3772 | * haifa-sched.c (struct ready_list): New. |
3773 | (ready_lastpos, ready_add, ready_remove_first, ready_sort): New static | |
3774 | functions. | |
3775 | (schedule_insn): Replace args READY and N_READY with a pointer to a | |
3776 | ready_list; return void. Use the new functions to access the ready | |
3777 | list. All callers changed. | |
3778 | (queue_to_ready, debug_ready_list): Likewise. | |
3779 | (schedule_block): Initialize a ready_list structure. Use new | |
3780 | functions to access it. | |
3781 | (max_priority): Remove unused variable. | |
3782 | (schedule_insn): Don't set it. | |
3783 | ||
52a84e42 BS |
3784 | * c-common.c (verify_tree): Don't recurse into CONSTRUCTORs. |
3785 | ||
c3410241 BS |
3786 | * combine.c (cant_combine_insn_p): New function. |
3787 | (try_combine): Use it. | |
3788 | ||
235cfbc4 BS |
3789 | * Makefile.in (c-common.o): Depend on $(OBSTACK_H). |
3790 | * c-common.c (c-obstack.c): Include "obstack.h". | |
3791 | (struct reverse_tree): Delete. | |
3792 | (reverse_list, reverse_max_depth): Delete. | |
3793 | (build_reverse_tree, common_ancestor, modify_ok): Delete functions. | |
3794 | (struct tlist, struct tlist_cache): New. | |
3795 | (tlist_obstack, tlist_firstobj, warned_ids, save_expr_cache): New. | |
3796 | (add_tlist, merge_tlist, verify_tree, warning_candidate_p, | |
3797 | warn_for_collisions, warn_for_collisions_1, new_tlist): New | |
3798 | static functions. | |
3799 | (verify_sequence_points): Rewritten. | |
3800 | * fold-const.c (fold): Don't lose possibly important sequence | |
3801 | points when removing one arm of TRUTH_ORIF_EXPRs or TRUTH_ANDIF_EXPRs. | |
3802 | ||
58ecb5e2 RS |
3803 | 2000-11-24 Richard Sandiford <rsandifo@redhat.com> |
3804 | ||
3805 | * gcc/cse.c (cse_insn): Removed conversion of REG_EQUIV to REG_EQUAL | |
3806 | when reversing a register-to-register copy. Reversal now disabled | |
3807 | when the previous instruction has a REG_EQUIV. | |
3808 | ||
2f401cc8 NS |
3809 | 2000-11-24 Nathan Sidwell <nathan@codesourcery.com> |
3810 | ||
3811 | * c-parse.in (unary_expr): Move VA_ARG from here ... | |
3812 | (primary): ... to here. | |
3813 | ||
963a2a84 GS |
3814 | 2000-11-23 Graham Stott <grahams@redhat.com> |
3815 | ||
3816 | * expr.c (store_constructor): If a field is non addressable and | |
3817 | the target is a MEM use MEM_ALIAS_SET otherwise use get_alias_set. | |
3818 | ||
f9b697bf BS |
3819 | 2000-11-23 Bernd Schmidt <bernds@redhat.co.uk> |
3820 | ||
3821 | * flow.c (print_rtl_and_abort): New function. | |
3822 | (verify_wide_reg, verify_local_live_at_start): Try to dump more | |
3823 | information before aborting. | |
3824 | ||
69295d6d AO |
3825 | 2000-11-23 Alexandre Oliva <aoliva@redhat.com> |
3826 | ||
3827 | * emit-rtl.c (gen_lowpart_common): Use word 0 if register mode | |
3828 | is narrower than requested mode. | |
3829 | (gen_highpart): Abort if register mode is narrower than | |
3830 | requested mode. | |
3831 | ||
99a9c946 GS |
3832 | 2000-11-23 Graham Stott <grahams@redhat.com> |
3833 | ||
3834 | * cse.c (cse_insn): Initialise all regcost variables. | |
3835 | Fix a typo add missing '='. | |
3836 | Only compare costs if there is a replacement insn. | |
3837 | ||
422be3c3 AO |
3838 | Thu Nov 23 04:33:33 2000 Alexandre Oliva <aoliva@redhat.com> |
3839 | ||
3840 | * final.c (output_addr_const) [LABEL_REF]: Simplify. | |
3841 | [MINUS]: Enclose non-CONST_INTs in parentheses. | |
3842 | [default]: Try OUTPUT_ADDR_CONST_EXTRA. | |
3843 | * tm.texi (OUTPUT_ADDR_CONST_EXTRA): Document it. | |
3844 | * varasm.c (decode_rtx_const) [CONST]: If it's not something | |
3845 | PLUS or MINUS a CONST_INT, use the whole CONST with offset 0 | |
3846 | instead of abort()ing. | |
3847 | * sh.c (output_pic_addr_const): Removed. Fixed all callers. | |
3848 | * sh.h (OUTPUT_ADDR_CONST_EXTRA): New. Handle the UNSPECs | |
3849 | formerly handled in output_pic_addr_const. | |
3850 | * sh.md (sym_label2reg, symPLT_label2reg): Enclose UNSPEC | |
3851 | operands of MINUS in CONSTs so that decode_rtx_const() will | |
3852 | accept them. | |
3853 | ||
43c05634 AO |
3854 | Thu Nov 23 04:10:30 2000 Alexandre Oliva <aoliva@redhat.com> |
3855 | ||
3856 | * config/sh/sh.md (mova_const): New pattern. | |
3857 | (GOTaddr2picreg): Use it. | |
3858 | * config/sh/sh.c (broken_move): Match it. | |
3859 | (mova_p): Don't match it. | |
3860 | (machine_dependent_reorg): Adjust it. | |
3861 | ||
4773afa4 AO |
3862 | Thu Nov 23 02:09:09 2000 Alexandre Oliva <aoliva@redhat.com> |
3863 | ||
3864 | * config/sh/sh.h (FIRST_GENERAL_REG, LAST_GENERAL_REG): New. | |
3865 | Moved most register-number #defines... | |
3866 | * config/sh/sh.md (define_constants): ... here. Use macros to | |
3867 | refer to registers and unspecs. | |
3868 | * config/sh/sh.c: Likewise. | |
3869 | ||
9196ece5 R |
3870 | Thu Nov 23 01:01:32 2000 J"orn Rennecke <amylaar@redhat.com> |
3871 | ||
3872 | * Makefile.in (HOST_CFLAGS): Add -DGENERATOR_FILE. | |
3873 | (rtl.o, print-rtl.o, bitmap.o, obstack.o): Build with -DGENERATOR_FILE. | |
3874 | (alloca.o, vfprintf.o, ggc-none.o, errors.o): Likewise. | |
3875 | (splay-tree.o, hash.o): Likewise. | |
3876 | GCONFIG_H: New. | |
3877 | (rtl.o, print-rtl.o): Depend on $(GCONFIG_H) instead of $(CONFIG_H). | |
3878 | (bitmap.o, obstack.o, vfprintf.o, ggc-none.o, errors.o): Likewise. | |
3879 | (hashtab.o): Likewise. | |
3880 | (gcov.o): Depend on $(CONFIG_H). | |
3881 | * configure.in: #include insn-codes.h in tm.h. | |
3882 | ||
48a08b9c NC |
3883 | 2000-11-22 Nick Clifton <nickc@redhat.com> |
3884 | ||
57f56af4 NC |
3885 | * config/arm/arm.c (arm_encode_call_attribute): Make 'newstr' a |
3886 | const char * to avoid a compile time warning. | |
3887 | ||
48a08b9c NC |
3888 | * config/arm/arm.md (define_constants): Define symbolic names for |
3889 | the link register, last integer register and the fake CC register. | |
3890 | Update patterns to use these symbolic names. | |
3891 | ||
4a5b68a2 NB |
3892 | 2000-11-22 Neil Booth <neilb@earthling.net> |
3893 | ||
3894 | * cpplex.c (trigraph_ok): Ensure we don't warn twice. | |
3895 | * cpplib.h (struct cpp_buffer): New member last_Wtrigraphs. | |
f6bbde28 | 3896 | |
a165f034 RH |
3897 | 2000-11-22 Richard Henderson <rth@redhat.com> |
3898 | ||
3899 | * haifa-sched.c (sched_analyze_1): Don't special-case calls | |
3900 | for clobbering registers. | |
3901 | (sched_analyze_2): Likewise. | |
3902 | (sched_analyze): Zap reg_last_uses and reg_last_sets after calls. | |
3903 | ||
f6bbde28 | 3904 | 2000-11-22 Chris Demetriou <cgd@sibyte.com> |
a165f034 | 3905 | Neil Booth <neilb@earthling.net> |
10ebf5fe | 3906 | |
a165f034 | 3907 | * gcc.c (validate_switches): Validate multiple switches named |
f6bbde28 | 3908 | in '|' (or) expressions in specs. |
a165f034 RH |
3909 | (handle_braces): If more than 1 alternative in a '|' spec |
3910 | matches, call do_spec1 just once. | |
10ebf5fe | 3911 | |
fb0b2546 MM |
3912 | 2000-11-22 Michael Meissner <meissner@redhat.com> |
3913 | ||
3914 | * d30v.h (TARGET_SWITCHES): Add documentation strings. | |
3915 | (TARGET_OPTIONS): Ditto. | |
3916 | (OPTIMIZATION_OPTIONS): Temporarily turn off -frename-registers if | |
3917 | -O3. | |
f6bbde28 | 3918 | |
67d6f2fc JL |
3919 | Wed Nov 22 06:40:56 2000 Jeffrey A Law (law@cygnus.com) |
3920 | ||
3921 | * pa.c (hppa_encode_label): Account for addition of encoding | |
3922 | character when allocating persistent space for the new label | |
3923 | name. | |
3924 | ||
d1209685 ZW |
3925 | 2000-11-22 Zack Weinberg <zack@wolery.stanford.edu> |
3926 | ||
3927 | * Makefile.in, config.gcc, configure.in: Expunge remaining | |
3928 | traces of facility for running MD files through C preprocessor. | |
3929 | ||
c01a508e JM |
3930 | 2000-11-22 Joseph S. Myers <jsm28@cam.ac.uk> |
3931 | ||
3932 | * gcov.texi: Add magic comments for texi2pod.pl. | |
3933 | * Makefile.in: Add rules to generate and install gcov.1. | |
3934 | * gcov.1: New (generated) file. | |
3935 | ||
a125d855 RH |
3936 | 2000-11-21 Richard Henderson <rth@redhat.com> |
3937 | ||
3938 | * regrename.c (scan_rtx_reg): Terminate the chain rather than | |
3939 | abort on mark_read with NO_REGS. | |
3940 | ||
ed311407 MS |
3941 | 2000-11-21 Mike Stump <mrs@wrs.com> |
3942 | ||
3943 | * fixinc/fixtests.c (TEST_FOR_FIX_PROC_HEAD): Fix to allow | |
3944 | compilation with older compilers, such as /bin/cc on SunOS. | |
3945 | * fixinc/fixfixes.c (FIX_PROC_HEAD): Ditto. | |
3946 | ||
cac16ef9 RH |
3947 | 2000-11-21 Richard Henderson <rth@redhat.com> |
3948 | ||
3949 | * varasm.c (record_constant): Pad the constructed | |
3950 | constant_descriptor appropriately. | |
3951 | ||
c25c12b8 R |
3952 | Wed Nov 22 00:52:55 2000 J"orn Rennecke <amylaar@redhat.com> |
3953 | ||
3954 | * rtl.h (traverse_md_constants): Declare. | |
3955 | (struct md_constant): Define. | |
3956 | * Makefile.in (HOST_RTL): Add hashtab.o . | |
3957 | (OBJS): Add hashtab.o . | |
3958 | (hashtab.o): New rule. | |
3959 | (rtl.o): Depends on HASHTAB_H. | |
3960 | * rtl.c (hashtab.h): #include. | |
3961 | (md_constants): New static variable. | |
3962 | (def_hash, def_name_eq_p, read_constants): New static functions. | |
3963 | (traverse_md_constants): New function. | |
3964 | (read_name): Do constant expansion. | |
3965 | (read_rtx): Recognize define_constants. | |
3966 | * gencodes.c (print_md_constant): New function. | |
3967 | (main): Emit #defines for all constant definitions encountered. | |
3968 | * md.texi (Constant Definitions): New node. | |
3969 | * gensupport.c (xcalloc): New function. | |
3970 | ||
f940c352 RH |
3971 | 2000-11-21 Richard Henderson <rth@redhat.com> |
3972 | ||
3973 | * config/alpha/alpha.c (alpha_split_tfmode_frobsign): New. | |
3974 | * config/alpha/alpha-protos.h: Declare it. | |
3975 | * config/alpha/alpha.md (abstf_internal): Use it. | |
3976 | (negtf_internal): Likewise. | |
3977 | (andnotdi3): Unstar the name. | |
3978 | (movtf_internal): Add o/G alternative. | |
3979 | ||
dfc55970 ZW |
3980 | 2000-11-21 Zack Weinberg <zack@wolery.stanford.edu> |
3981 | ||
3982 | * stringpool.c (stringpool_statistics): Also report number and | |
3983 | percentage of entries which are identifiers. | |
3984 | ||
d1cc928a DN |
3985 | 2000-11-21 Diego Novillo <dnovillo@redhat.com> |
3986 | ||
3987 | * gcse.c (hoist_expr_reaches_here_p): Do not mark expr_bb as | |
3988 | visited before visiting it. | |
3989 | ||
70f24e49 NC |
3990 | 2000-11-21 Nick Clifton <nickc@redhat.com> |
3991 | ||
3992 | * config/arm/arm.h: Accept TARGET_CPU_arm9tdmi, | |
3993 | TARGET_CPU_strongarm110 and TARGET_SPU_strongarm1100. | |
3994 | ||
3995 | * config.gcc: Accept --with-cpu=arm9 and --with-cpu=arm9tdmi. | |
f6bbde28 | 3996 | |
3fe30ff6 RH |
3997 | 2000-11-21 Richard Henderson <rth@redhat.com> |
3998 | ||
3999 | * c-common.c (c_unsafe_for_reeval): New function. | |
4000 | (add_c_tree_codes): Register it. | |
4001 | * c-common.h: Declare it. | |
4002 | * tree.c (lang_unsafe_for_reeval): New hook. | |
4003 | (unsafe_for_reeval): Call it. | |
4004 | * tree.h: Declare it. | |
4005 | ||
3adbce3d RH |
4006 | 2000-11-21 Richard Henderson <rth@redhat.com> |
4007 | ||
4008 | * config/i386/i386.c (i386_simplify_dwarf_addr): Simplify @GOT | |
4009 | references as well. | |
4010 | ||
0736a307 NB |
4011 | 2000-11-21 Neil Booth <neilb@earthling.net> |
4012 | ||
a165f034 | 4013 | * do_includes: Revert to using cpp_read_file. |
0736a307 | 4014 | |
52e12ad0 BS |
4015 | 2000-11-21 Bernd Schmidt <bernds@redhat.co.uk> |
4016 | ||
847dde95 BS |
4017 | * loop.c (consec_sets_giv): If the reg we're examining is anything |
4018 | but UNKNOWN_INDUCT, do nothing. | |
4019 | Reset the reg's type to UNKNOWN_INDUCT before returning. | |
4020 | ||
52e12ad0 BS |
4021 | Mostly from Vladimir Makarov (vmakarov@redhat.com) |
4022 | * ia64.md (attr itanium_class): Define insn types as described in | |
4023 | Itanium docs. | |
4024 | (all insn patterns): Use itanium_class, not type attributes. | |
4025 | Occasionally split alternatives as necessary. | |
4026 | (attr type): Compute from new attr itanium_class. | |
f6bbde28 | 4027 | |
b3e2d1eb KG |
4028 | 2000-11-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
4029 | ||
4030 | * tradcpp.c (output_line_command): Mark system headers as such in | |
4031 | `line' commands. | |
4032 | ||
0faf814f JJ |
4033 | 2000-11-21 Jakub Jelinek <jakub@redhat.com> |
4034 | ||
4035 | * configure.in (HAVE_AS_DWARF2_DEBUG_LINE): Sparc has .file/.loc | |
4036 | support in as as well. | |
4037 | * configure: Regenerate. | |
4038 | ||
3aac38d7 RH |
4039 | 2000-11-20 Richard Henderson <rth@redhat.com> |
4040 | ||
4041 | * c-lex.c (orig_filename): New variable. | |
4042 | (init_c_lex): Set it. Move call to cpp_start_read ... | |
4043 | (yyparse): ... here. New function. | |
4044 | * c-parse.in (yyparse_1): Rename the parser entry point. | |
4045 | * c-tree.h: Declare it. | |
4046 | ||
6b16805e JJ |
4047 | 2000-11-21 Jakub Jelinek <jakub@redhat.com> |
4048 | ||
4049 | * expr.c (do_compare_and_jump): If op0 was replaced by promoted | |
4050 | integer constant, use type of op1 for comparison. | |
4051 | ||
18922061 SS |
4052 | 2000-11-20 Stan Shebs <shebs@apple.com> |
4053 | ||
4054 | * config/rs6000/xm-darwin.h: New file, Darwin host definitions. | |
4055 | * config/rs6000/x-darwin: New file, Darwin host fragment. | |
4056 | * config.gcc (powerpc-*-darwin*): New host. | |
4057 | * system.h (HAVE_DESIGNATED_INITIALIZERS): Allow this to be | |
4058 | overridden by a config file. | |
4059 | ||
d63eefbf NB |
4060 | 2000-11-20 Neil Booth <neilb@earthling.net> |
4061 | ||
4062 | * cppmacro.c (paste_tokens): Rename from paste_payloads. | |
4063 | Change token type after pasting spellings. | |
4064 | (paste_all_tokens): Use it. | |
4065 | * gcc.dg/cpp/paste2.c: Update test. | |
4066 | * objc/execute/paste.m: New test. | |
4067 | ||
21bc13c9 RH |
4068 | 2000-11-20 Richard Henderson <rth@redhat.com> |
4069 | ||
4070 | * dwarf.h (FMT_CODE): Adjust argument order; fix mapping to | |
4071 | dwarf_subscr_data_formats bits. | |
4072 | * dwarfout.c (simple_type_size_in_bits): Handle a type with | |
4073 | no computed size as size zero. | |
4074 | (field_byte_offset): Likewise. | |
4075 | (subscript_data_attribute): Handle a range with no upper bound. | |
4076 | ||
250333d0 KG |
4077 | 2000-11-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
4078 | ||
4079 | * gansidecl.h (const): Check __STDC__ before undef'ing `const'. | |
4080 | ||
1d7ff272 JM |
4081 | 2000-11-20 Joseph S. Myers <jsm28@cam.ac.uk> |
4082 | ||
4083 | * c-typeck.c (build_conditional_expr): When merging type | |
4084 | qualifiers for conditional expressions between a pointer and a | |
4085 | pointer to a void type, merge the qualifiers on the target types | |
4086 | rather than the pointer type. Remove obsolete conditioned out | |
4087 | code. | |
4088 | ||
dd07b884 NB |
4089 | 2000-11-20 Neil Booth <neilb@earthling.net> |
4090 | ||
4091 | * c-lang.c (lang_init_options): Update call to | |
4092 | cpp_reader_init. | |
4093 | * cppmain.c (main): Similarly. | |
4094 | * fix-header.c (read_scan_file): Similarly. | |
4095 | * cp/lex.c (lang_init_options): Similarly. | |
4096 | * objc/objc-act.c (lang_init_options): Similarly. | |
4097 | * cppexp.c (parse_number): Only warn for unextended C89. | |
4098 | * cppinit.c (set_lang): New function. | |
4099 | (cpp_reader_init): Take a LANG argument and pass it to set_lang. | |
4100 | (COMMAND_LINE_OPTIONS): New option std=c++98. | |
4101 | (cpp_handle_option): Use set_lang. | |
4102 | * cpplex.c (_cpp_lex_token): Warn pedantically if not C99. | |
4103 | * cppib.h (enum_c_lang): New enumeration. Update comments. | |
4104 | ||
8d50dfb8 WC |
4105 | 2000-11-20 Will Cohen <wcohen@redhat.com> |
4106 | ||
4107 | * calls.c (expand_call): Clear target only when target is in | |
4108 | hard register and current_function_check_memory_usage is set. | |
4109 | ||
bd675859 BS |
4110 | 2000-11-20 Bernd Schmidt <bernds@redhat.co.uk> |
4111 | ||
4112 | * toplev.c (rest_of_compilation): Run optimize_mode_switching even | |
4113 | if not optimizing. | |
4114 | * sh.c (emit_sf_insn, emit_df_insn): Just call emit_insn. | |
4115 | ||
3df18884 RH |
4116 | 2000-11-19 Richard Henderson <rth@redhat.com> |
4117 | ||
52403abb RH |
4118 | * crtstuff.c (force_to_data): Use array size 1 not 0. |
4119 | ||
3df18884 RH |
4120 | * dwarf2out.c (simple_type_size_in_bits): Handle a type with |
4121 | no computed size as size zero. | |
4122 | (field_byte_offset): Likewise. | |
4123 | ||
cfd1c7ea JM |
4124 | 2000-11-20 Joseph S. Myers <jsm28@cam.ac.uk> |
4125 | ||
4126 | * config.gcc: Fix another typo. | |
4127 | ||
a25f1211 RH |
4128 | 2000-11-19 Richard Henderson <rth@redhat.com> |
4129 | ||
4130 | * c-decl.c (grokdeclarator): Support flexible array members. | |
4131 | Use open-ended ranges for these and zero-length arrays. | |
4132 | * c-typeck.c (push_init_level): Validate the context of | |
4133 | initialization of a zero-length array. | |
4134 | * tree.c (int_fits_type_p): Be prepared for missing bounds. | |
4135 | * varasm.c (array_size_for_constructor): New. | |
4136 | (output_constructor): Use it for arrays of unspecified length. | |
4137 | * extend.texi (Zero Length): Mention C99 flexible array members. | |
4138 | Document initialization in a top-level struct as valid. | |
4139 | ||
65fa2185 JM |
4140 | 2000-11-19 Joseph S. Myers <jsm28@cam.ac.uk> |
4141 | ||
9e8fc4b8 JM |
4142 | * config.gcc, invoke.texi: Fix errors in spelling of "deprecated". |
4143 | ||
65fa2185 JM |
4144 | * alias.c (mems_in_disjoint_alias_sets_p): Do use alias sets in |
4145 | stdarg and varargs functions. | |
4146 | ||
2e59adac ZW |
4147 | 2000-11-19 Zack Weinberg <zack@wolery.stanford.edu> |
4148 | ||
4149 | * gcc.c (process_command): Define 'j' variable when | |
4150 | MODIFY_TARGET_NAME is defined. | |
4151 | ||
856442b6 RH |
4152 | 2000-11-19 Richard Henderson <rth@redhat.com> |
4153 | ||
4154 | * stor-layout.c (variable_size): Only put SAVE_EXPRs on pending_sizes. | |
4155 | ||
88c1e412 FS |
4156 | 2000-11-19 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
4157 | ||
4158 | * rs6000/rs6000.c (rs6000_encode_section_info): Fix string length | |
4159 | calculation and allocation. | |
4160 | ||
ce1cc601 KG |
4161 | 2000-11-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
4162 | ||
4163 | * builtins.c (c_getstr): Constify variable. | |
4164 | * gmon-sol2.c (_mcleanup): Comment out #endif labels. | |
4165 | * conflict.c (const_conflict_graph_arc): New typedef. | |
4166 | (arc_hash, arc_eq): Avoid needlessly casting away const-ness. | |
4167 | * cppmacro.c (builtin_macro): Likewise. | |
4168 | * dwarf2out.c (output_comp_unit): Constify variable. | |
4169 | * fix-header.c (v_fatal): Add ATTRIBUTE_PRINTF. | |
4170 | * protoize.c (IS_SAME_PATH_CHAR): Use TOUPPER, not toupper. | |
4171 | * ssa.c (ssa_rename_from_hash_function): Avoid needlessly casting | |
4172 | away const-ness. | |
4173 | * tradcpp.c (rescan, do_line, macroexpand, macarg): Use | |
f6bbde28 | 4174 | ISALNUM/ISDIGIT/ISPRINT, not isalnum/isdigit/isprint. |
ce1cc601 KG |
4175 | * varasm.c (const_str_htab_hash, const_str_htab_eq, |
4176 | compare_constant_1, record_constant_1): Constify. | |
4177 | ||
967e627a RH |
4178 | 2000-11-18 Richard Henderson <rth@redhat.com> |
4179 | ||
4180 | * c-decl.c (grokdeclarator): Special case the creation of an | |
4181 | index for a zero-length array. | |
4182 | * tree.c (build_index_type): Revert Oct 20 change. | |
4183 | ||
e9284adf MM |
4184 | 2000-11-18 Marek Michalkiewicz <marekm@linux.org.pl> |
4185 | ||
4186 | * config/avr/avr-protos.h (avr_output_addr_vec_elt): Prototype. | |
4187 | * config/avr/avr.c (jump_tables_size): New variable. | |
4188 | (function_prologue): Initialize it as 0. | |
4189 | (function_epilogue): Add it to function_size. | |
4190 | (avr_output_addr_vec_elt): New function. Count words in jump | |
4191 | tables in jump_tables_size. Move code ... | |
4192 | * config/avr/avr.h (ASM_OUTPUT_ADDR_VEC_ELT): ... from here. | |
4193 | Call avr_output_addr_vec_elt instead. | |
4194 | * config/avr/avr.md (tablejump): Remove disabled define_expand. | |
4195 | ||
67c72a63 MM |
4196 | 2000-11-18 Mark Mitchell <mark@codesourcery.com> |
4197 | ||
4198 | * configure.in: Make --enable-new-gxx-abi the default. | |
4199 | * configure: Likewise. | |
4200 | ||
0a8ad417 KG |
4201 | 2000-11-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
4202 | ||
4203 | * Makefile.in (tradcpp.o, tradcif.o): Depend on tradcpp.h. | |
4204 | ||
4205 | * tradcif.y: Include tradcpp.h. Constify. Make functions static. | |
4206 | Move extern function declarations to tradcpp.h. | |
4207 | ||
4208 | * tradcpp.c: Likewise. | |
4209 | ||
4210 | * tradcpp.h: New file. | |
4211 | ||
77c4d6c0 JM |
4212 | 2000-11-18 Joseph S. Myers <jsm28@cam.ac.uk> |
4213 | ||
4214 | * c-decl.c (check_for_loop_decls): New function. | |
4215 | * c-parse.in (for_init_stmt): New. | |
4216 | (select_or_iter_stmt): Use for_init_stmt. | |
4217 | * c-tree.h (check_for_loop_decls): New declaration. | |
4218 | ||
4a58aab6 NB |
4219 | 2000-11-18 Neil Booth <neilb@earthling.net> |
4220 | ||
4221 | * cppinit.c: Update comments. | |
4222 | (cpp_reader_init): Make -imacro and -include use the standard | |
4223 | #include "" search path. | |
4224 | (do_includes): New function. | |
4225 | ||
c3e2d242 BE |
4226 | 2000-11-18 Ben Elliston <bje@redhat.com> |
4227 | ||
4228 | * config/sh/crt1.asm (start_l): Move PC-relative move instruction | |
4229 | out of a branch delay slot. | |
4230 | ||
48adb36e RH |
4231 | 2000-11-17 Richard Henderson <rth@redhat.com> |
4232 | ||
4233 | * config/alpha/elf.h (PREFERRED_DEBUGGING_TYPE): Set to DWARF2_DEBUG. | |
4234 | (ASM_SPEC): Disable and enable .mdebug based on -gstabs. | |
4235 | (ASM_FILE_START): Only write out ecoff .file directive if | |
4236 | emitting mdebug debugging. | |
4237 | ||
9d147085 RH |
4238 | 2000-11-17 Richard Henderson <rth@redhat.com> |
4239 | ||
4240 | * configure.in (HAVE_AS_DWARF2_DEBUG_LINE): New. Detect | |
4241 | whether as accepts .file/.loc and produces dwarf2 line info. | |
4242 | * dwarf2out.c (DWARF2_ASM_LINE_DEBUG_INFO): Default on if | |
4243 | the assembler supports it. | |
4244 | * config.in, configure: Regenerate. | |
4245 | ||
5b87e928 RH |
4246 | 2000-11-17 Richard Henderson <rth@redhat.com> |
4247 | ||
4248 | * fixinc/mkfixinc.sh: Don't disable fixincludes for any linux*. | |
4249 | ||
95c8e04b JW |
4250 | 2000-11-17 Jim Wilson <wilson@redhat.com> |
4251 | ||
f6bbde28 | 4252 | * config/ia64/ia64.c (emit_insn_group_barriers, case CALL_INSN): |
95c8e04b JW |
4253 | Don't clear need_barrier is next_insn is a CALL_INSN, or has |
4254 | instruction type B or UNKNOWN. | |
4255 | ||
14fbab6d NB |
4256 | 2000-11-17 Neil Booth <neilb@earthling.net> |
4257 | ||
a25f1211 | 4258 | * cpperror.c (print_file_and_line): Don't display line number if 0. |
14fbab6d | 4259 | |
a8a05998 ZW |
4260 | 2000-11-17 Zack Weinberg <zack@wolery.stanford.edu> |
4261 | ||
4262 | * ggc.h: Delete ggc_add_string_root and ggc_mark_string. Add | |
4263 | digit_vector and digit_string. | |
4264 | * stringpool.c (digit_vector): New. | |
4265 | (ggc_alloc_string): Use digit_string. | |
4266 | ||
4267 | * stmt.c (digit_strings): Delete. | |
4268 | (init_stmt): Do not initialize digit_strings. | |
4269 | (expand_asm_operands): Use ggc.h's digit_string macro. | |
4270 | * toplev.c (mark_file_stack): Delete. | |
4271 | (compile_file): Don't call init_tree_codes. | |
4272 | (main): No need to make the file stack a GC root. | |
4273 | * tree.c (init_tree_codes): Delete. | |
4274 | * tree.h (init_tree_codes): Delete. | |
4275 | ||
4276 | * c-lex.c: Don't include ggc.h. | |
4277 | (mark_splay_tree_node, mark_splay_tree): Delete. | |
4278 | (init_c_lex): No need to ggc_strdup string constant. Don't add | |
4279 | file_info_tree to GGC roots. | |
4280 | (cb_enter_file, cb_rename_file): No need to ggc_strdup | |
4281 | ip->nominal_fname. | |
4282 | ||
4283 | * Makefile.in (c-lex.o): No longer depends on $(GGC_H). | |
4284 | ||
4285 | * dbxout.c (dbxout_init), | |
4286 | dwarf2out.c (dwarf2out_line), | |
4287 | ggc-common.c (ggc_mark_rtx_children, ggc_mark_trees), | |
4288 | varasm.c (mark_const_hash_entry, mark_pool_constant, init_varasm_once), | |
4289 | xcoffout.c (xcoffout_source_file), | |
4290 | i386.c (load_pic_register): | |
4291 | Delete call(s) to ggc_add_string_root and/or ggc_mark_string. | |
4292 | ||
4293 | * except.c (create_rethrow_ref), | |
4294 | profile.c (init_edge_profiler), | |
4295 | toplev.c (compile_file), | |
4296 | varasm.c (named_section, assemble_static_space, | |
4297 | assemble_trampoline_template, output_constant_def, force_const_mem), | |
4298 | i386.c (load_pic_register), | |
4299 | ia64.c (ia64_encode_section_info), | |
4300 | rs6000.c (rs6000_emit_load_toc_table, create_TOC_reference, | |
4301 | rs6000_emit_prologue, rs6000_emit_epilogue), | |
4302 | rs6000.md (load_toc_aix_si, load_toc_aix_di): | |
4303 | Change ggc_alloc_string (var, -1) to ggc_strdup (var). | |
4304 | ||
4305 | * profile.c (output_func_start_profiler), | |
4306 | tree.c (make_node), | |
4307 | i386.c (load_pic_register): No need to ggc_strdup string constant. | |
4308 | ||
61ed06c3 HPN |
4309 | 2000-11-17 Hans-Peter Nilsson <hp@axis.com> |
4310 | ||
4311 | * Makefile.in (config.status): Depend on config.gcc. | |
4312 | * configure.in <for machine in $build $host $target>: Move | |
4313 | contents of loop into config.gcc, removing autoconf quoting. | |
4314 | Fix changequote bug for alpha*-*-vxworks*. | |
4315 | * configure: Regenerate. | |
4316 | * config.gcc: New. | |
4317 | ||
520a57c8 ZW |
4318 | 2000-11-16 Zack Weinberg <zack@wolery.stanford.edu> |
4319 | ||
4320 | * c-parse.in (if_prefix): Find the filename and line number at | |
4321 | $-2 and $-1 respectively. | |
4322 | * diagnostic.c (error_recursion): Add missing newline, use | |
4323 | fputs, translate string. | |
4324 | ||
4325 | 2000-11-16 Zack Weinberg <zack@wolery.stanford.edu> | |
4326 | ||
4327 | * stringpool.c: New file. | |
4328 | * ggc-common.c (ggc_mark_string_ptr, ggc_add_string_root): Delete. | |
4329 | (ggc_alloc_string): Now in stringpool.o. | |
4330 | * ggc-page.c, ggc-simple.c: Do not define or allocate empty_string. | |
4331 | * ggc.h: Delete prototype of ggc_add_string_root. #define | |
4332 | ggc_add_string_root and ggc_mark_string to nothing. Prototype | |
4333 | init_stringpool and stringpool_statistics. | |
4334 | (ggc_alloc_string): Returns a const char *. | |
4335 | * tree.c (hash_table, do_identifier_warnings): Delete. | |
4336 | (init_obstacks): Don't initialize the identifier hash table. | |
4337 | (get_identifier, maybe_get_identifier, start_identifier_warnings, | |
4338 | set_identifier_size): Now in stringpool.c. | |
4339 | * tree.h (struct tree_string): Constify pointer field. | |
4340 | (approx_sqrt): Prototype. | |
4341 | ||
4342 | * Makefile.in (stringpool.o): Add rule, mention in OBJS. | |
4343 | ||
4344 | * toplev.c (approx_sqrt): New function. | |
4345 | (compile_file): Call stringpool_statistics if mem_report is on. | |
4346 | (main): Call init_stringpool. | |
4347 | ||
4348 | * builtins.c (c_strlen), c-decl.c (finish_decl), c-lex.c | |
4349 | (process_directive), c-typeck.c (constructor_asmspec, struct | |
4350 | initializer_stack, start_init), except.c (create_rethrow_ref), | |
4351 | stmt.c (digit_strings), toplev.c (decode_f_option), tree.c | |
4352 | (built_in_filename), varasm,c (in_named_name, | |
4353 | assemble_static_space, struct constant_descriptor, struct | |
4354 | deferred_string, struct pool_constant, force_const_mem), | |
4355 | i386.c (pic_label_name, global_offset_table_name), rs6000.c | |
4356 | (rs6000_emit_prologue, rs6000_emit_epilogue) : Constify a char *. | |
4357 | ||
4358 | * c-common.c (combine_strings): Combine strings in scratch | |
4359 | buffer, then pass to build_string. | |
4360 | * optabs.c (init_libfuncs), profile.c (init_edge_profiler, | |
4361 | output_func_start_profiler), stmt.c (init_stmt), alpha.c | |
4362 | (alpha_need_linkage), arm.c (arm_encode_call_attribute), | |
4363 | i386.c (load_pic_register), ia64.c (ia64_encode_section_info), | |
4364 | rs6000.c (rs6000_encode_section_info): Create string in | |
4365 | scratch buffer, then pass to ggc_alloc_string. | |
4366 | ||
4367 | * stmt.c (expand_asm_operands): If we must adjust the | |
4368 | constraint strings, do so by creating a new one, not by | |
4369 | modifying the old one in place. Constify some char *s. | |
4370 | * config/pa/pa.c (hppa_encode_label): Drop unnecessary second | |
4371 | argument. Create string in scratch buffer, then pass to | |
4372 | ggc_alloc_string. | |
4373 | * config/pa/pa-protos.h: Update prototype. | |
4374 | * config/pa/elf.h, config/pa/pa.h, config/pa/som.h: | |
4375 | hppa_encode_label takes only one argument. | |
4376 | ||
dd3b81b4 KG |
4377 | 2000-11-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
4378 | ||
4379 | * mcore.c (mcore_expand_prolog): Call xmalloc/xrealloc, not | |
4380 | malloc/realloc. | |
4381 | ||
4382 | * cpplib.c (glue_header_name): Likewise. | |
4383 | ||
4384 | * fixincl.c (run_compiles, start_fixer): Likewise. | |
4385 | ||
4386 | * fixlib.c (load_file_data): Likewise. | |
4387 | ||
4388 | * mkdeps.c (munge): Likewise. | |
4389 | ||
5074c1fe HPN |
4390 | 2000-11-17 Hans-Peter Nilsson <hp@axis.com> |
4391 | ||
4392 | * defaults.h [EH_FRAME_SECTION_ASM_OP] (EH_FRAME_SECTION): Remove | |
4393 | trailing ';'. Fix formatting. | |
4394 | ||
74fe26b2 JW |
4395 | 2000-11-16 Jim Wilson <wilson@redhat.com> |
4396 | ||
35d9f39d JW |
4397 | * config/ia64/ia64.h (MASK_INLINE_DIV_LAT, MASK_INLINE_DIV_THR): |
4398 | Shift masks left by one to avoid conflict. | |
4399 | ||
74fe26b2 JW |
4400 | * config/ia64/ia64.c (ia64_encode_section_info): Disallow decls with |
4401 | DECL_EXTERNAL set. | |
4402 | ||
68dfd979 NC |
4403 | 2000-11-16 Nick Clifton <nickc@redhat.com> |
4404 | ||
4405 | * config/arm/arm.c (output_arm_prologue): Note nested functions. | |
4406 | (arm_expand_prologue): For nested functions preserve the | |
4407 | static chain register during stack frame creation. | |
4408 | ||
4409 | * config/arm/arm.h (STATIC_CHAIN_REGNUM): Change to 12. | |
4410 | (ARM_INITIAL_FRAME_ELIMINATION_OFFSET): For a nested function | |
4411 | with a stack frame there is a 4 byte gap between the arg | |
4412 | pointer and the hard frame pointer (used to preserve the | |
4413 | static chain register during stack frame creation). | |
4414 | ||
3ab9a08f DD |
4415 | 2000-11-16 DJ Delorie <dj@redhat.com> |
4416 | ||
4417 | * rtl.c (read_rtx): Provide suitable names for unnamed | |
4418 | define_insn and define_insn_and_split patterns, based on file | |
4419 | and line numbers. | |
4420 | ||
fe6c2db9 NB |
4421 | 2000-11-15 Neil Booth <neilb@earthling.net> |
4422 | ||
a8a05998 ZW |
4423 | * cpplib.c (start_directive, end_directive): New functions. |
4424 | (_cpp_handle_directive, run_directive): Use them. | |
4425 | (_cpp_handle_directive): Don't -Wtraditional on indented | |
4426 | null directives. | |
4427 | (_cpp_push_buffer): Don't re-clear was_skipping. | |
4428 | * cpplib.h (struct cpp_reader): New member la_saved. | |
4429 | * cppmacro.c (cpp_get_token): Don't interpret _Pragma in | |
4430 | directives. | |
fe6c2db9 | 4431 | |
a8a05998 ZW |
4432 | gcc.dg/cpp/_Pragma1.c: Update. |
4433 | gcc.dg/cpp/_Pragma2.c: New test. | |
fe6c2db9 | 4434 | |
62136084 MM |
4435 | 2000-11-15 Mark Mitchell <mark@codesourcery.com> |
4436 | ||
4437 | * toplev.c (wrapup_global_declarations): Don't write out | |
4438 | artificial static variables that aren't needed. | |
4439 | ||
099dde21 BS |
4440 | 2000-11-15 Bernd Schmidt <bernds@redhat.co.uk> |
4441 | ||
4442 | * ia64.c (struct group): New structure. | |
4443 | (last_group): New static array. | |
4444 | (group_idx): New static variable. | |
4445 | (emit_group_barrier_after, errata_find_address_regs, errata_emit_nops): | |
4446 | New static functions. | |
4447 | (emit_insn_group_barriers): Initialize and keep track of group_idx | |
4448 | and last_group. | |
4449 | Call errata_emit_nops if TARGET_B_STEP or TARGET_A_STEP. | |
4450 | Replace all calls to emit_insn_after that emit a group barrier to use | |
4451 | emit_group_barrier_after. | |
4452 | * ia64.h (MASK_B_STEP): New. | |
4453 | (other MASK_XXX macros): Renumbered. | |
4454 | (TARGET_B_STEP): New. | |
4455 | (TARGET_SWITCHES): Add -mb-step. | |
4456 | ||
4e7b85ed FF |
4457 | 2000-11-15 Fred Fish <fnf@be.com> |
4458 | ||
4459 | * fixinc/mkfixinc.sh (fixincludes): Add *-*-beos* to list of | |
4460 | machines for which fixincludes is not needed. | |
4461 | * config/i386/x-beos (STMP_FIXPROTO): Don't run fixproto. | |
4462 | ||
ee3400e8 JM |
4463 | 2000-11-15 Jason Merrill <jason@redhat.com> |
4464 | ||
4465 | * diagnostic.c (finish_abort): New fn. | |
4466 | (fancy_abort, error_recursion): Use it. | |
4467 | * toplev.c (crash_signal): Likewise. | |
4468 | * diagnostic.h: Declare it. | |
4469 | ||
12e1243e AH |
4470 | 2000-11-13 Andrew Haley <aph@redhat.com> |
4471 | ||
4472 | * tree.c (build_type_no_quals): New function. | |
4473 | * tree.h (build_type_no_quals): Declare. | |
4474 | * c-common.c (c_get_alias_set): When considering type | |
4475 | compatibility for pointer types, ignore cv-qualifiers anywhere in | |
4476 | a pointer chain. | |
4477 | ||
695e4773 GS |
4478 | 2000-11-15 Graham Stott <grahams@redhat.com> |
4479 | ||
4480 | * regrename.c (scan_rtx_rtx): Skip to the next chain on | |
4481 | encountering a terminated chain. | |
4482 | ||
5a7c1037 MM |
4483 | 2000-11-14 Mark Mitchell <mark@codesourcery.com> |
4484 | ||
4485 | * configure.in: Move check for V3 above check for C++ header-file | |
4486 | directory. | |
4487 | * configure: Regenerated. | |
a8a05998 | 4488 | |
568c5140 DD |
4489 | 2000-11-14 DJ Delorie <dj@redhat.com> |
4490 | ||
4491 | * config/v850/v850.c: Remove obstacks. | |
4492 | ||
1268b05f MM |
4493 | Tue Nov 14 21:54:31 2000 Marek Michalkiewicz <marekm@linux.org.pl> & Denis Chertykov <denisc@overta.ru> |
4494 | ||
4495 | * config/avr/avr.c (avr_case_values_threshold): New. | |
4496 | (avr_override_options): Set it depending on options, make it large | |
4497 | when not optimizing to work around "unable to generate reloads". | |
4498 | ||
4499 | * config/avr/avr.h (TARGET_SWITCHES): Add -mno-tablejump option. | |
4500 | (EXTRA_SECTION_FUNCTIONS): Make the .progmem.gcc_sw_table section | |
4501 | executable if not AVR_MEGA. Make sure jump tables are word-aligned. | |
4502 | (JUMP_TABLES_IN_TEXT_SECTION): Define as 0, not 1. | |
4503 | (ASM_OUTPUT_ADDR_VEC_ELT): Optimize, use "rjmp" if not AVR_MEGA. | |
4504 | (avr_case_values_threshold): Declare as extern int. | |
4505 | (CASE_VALUES_THRESHOLD): Define as avr_case_values_threshold. | |
4506 | ||
4507 | * config/avr/avr.md (tablejump): Removed. | |
4508 | (*tablejump_rjmp): New for jump tables made from "rjmp" instructions. | |
4509 | (*tablejump_lib, *tablejump_enh, *tablejump): Change to expect the | |
4510 | index in the table, not multiplied by 2. | |
4511 | (casesi): Change to match the above insns. Always enable. | |
4512 | ||
4513 | * config/avr/libgcc.S (__tablejump__): Rename to __tablejump2__. | |
4514 | Change to expect the word address of the table, multiply it by 2 | |
4515 | here and not in the caller. Change "adiw" to faster "inc". | |
4516 | ||
7f2f1a66 NB |
4517 | 2000-11-14 Neil Booth <neilb@earthling.net> |
4518 | ||
4519 | * cppexp.c (parse_defined): Call cpp_get_token not | |
4520 | _cpp_get_token. | |
4521 | (lex): Similarly. | |
4522 | * cpplex.c (cpp_output_line): Similarly. | |
4523 | * cpplib.c (glue_header_name, do_line, do_ident, | |
4524 | parse_answer, parse_assertion): Similarly. | |
4525 | (_cpp_handle_diretive): Don't save to lookaheads | |
4526 | when processing directives. | |
4527 | * cppmacro.c (parse_arg, expand_arg): Call cpp_get_token not | |
4528 | _cpp_get_token. | |
4529 | (funlike_invocation_p): Don't save to lookaheads | |
4530 | when pre-expanding arguments. | |
4531 | (_cpp_get_token): Delete. | |
4532 | (cpp_get_token): Merge contents of _cpp_get_token. | |
4533 | ||
f36d6244 JJ |
4534 | 2000-11-14 Jakub Jelinek <jakub@redhat.com> |
4535 | ||
4536 | * builtins.c (expand_builtin_setjmp): Set | |
4537 | current_function_calls_setjmp. | |
4538 | (expand_builtin_longjmp): Set current_function_calls_longjmp. | |
4539 | ||
4540 | * config/sparc/sparc.md (builtin_setjmp_setup): New expand. | |
4541 | (do_builtin_setjmp_setup): New insn. | |
4542 | ||
3401c26b RK |
4543 | Tue Nov 14 12:34:56 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
4544 | ||
4545 | * tree.c (get_unwidened): Use host_integerp and tree_low_cst. | |
4546 | (int_fits_type_p): For variable bounds, call force_fit_type. | |
4547 | ||
bd7cf17e JJ |
4548 | 2000-11-14 Jakub Jelinek <jakub@redhat.com> |
4549 | ||
4550 | * varasm.c (struct deferred_string): New structure. | |
4551 | (const_str_htab): New variable. | |
4552 | (STRHASH): New macro. | |
4553 | (mark_const_str_htab_1, mark_const_str_htab, const_str_htab_hash, | |
4554 | constr_str_htab_eq, const_str_htab_del): New functions. | |
4555 | (output_constant_def): Add DEFER argument, defer string | |
4556 | constants until mark_constant_pool time if requested. | |
4557 | (mark_constant_pool): Walk the insn chain even if const_str_htab is | |
4558 | not empty. | |
4559 | (mark_constants): If a SYMBOL_REF for deferred string is found, | |
4560 | output it and remove from hash table. | |
4561 | (output_addressed_constants): Set DEFER to 0 in call to | |
4562 | output_constant_def. | |
4563 | * rtl.h (STRING_POOL_ADDRESS_P): Define. | |
4564 | (output_constant_def): Adjust prototype. | |
4565 | * expr.c (expand_expr): Set DEFER to 1 in call to output_constant_def. | |
4566 | ||
10e927ef CC |
4567 | 2000-11-14 Chandrakala Chavva <cchavva@redhat.com> |
4568 | ||
4569 | * optabs.c (expand_complex_ab):: Use overflow-trapping optabs for | |
4570 | signed types if flag_trapv. | |
4571 | ||
ef90743a ZW |
4572 | 2000-11-14 Zack Weinberg <zack@wolery.stanford.edu> |
4573 | ||
4574 | * tradcpp.c, tradcif.y: Update FSF mailing address, delete | |
4575 | reference to GPLv1. | |
4576 | ||
fe8ca71f JM |
4577 | 2000-11-14 Joseph S. Myers <jsm28@cam.ac.uk> |
4578 | ||
4579 | * c-common.h (CTI_C_SIZE_TYPE): Update comment. | |
4580 | ||
94b01be3 JJ |
4581 | 2000-11-14 Jakub Jelinek <jakub@redhat.com> |
4582 | ||
4583 | * varasm.c (struct varasm_status): Change x_const_rtx_sym_hash_table | |
4584 | to array of pool_constnat pointers. | |
4585 | (struct pool_constant): Add next_sym and label members. | |
4586 | (struct pool_sym): Remove. | |
4587 | (init_varasm_status): Change pool_sym into pool_constant. | |
4588 | (mark_pool_constant): Mark pc->label string as well. | |
4589 | (mark_pool_sym_hash_table): Remove. | |
4590 | (mark_varasm_status): Remove it from caller as well. | |
4591 | (free_varasm_status): Don't free pool_sym structures. | |
4592 | (force_const_mem): Don't allocate pool_sym structure, instead | |
4593 | fill pool->label and chain it into rtx_sym hash table. | |
4594 | (find_pool_constant, mark_constant_pool): Use pool_constant instead | |
4595 | of pool_sym. | |
4596 | ||
716120a7 JJ |
4597 | 2000-11-14 Jakub Jelinek <jakub@redhat.com> |
4598 | ||
4599 | * reload1.c (emit_input_reload_insns): Honour forcing of constants | |
4600 | into memory by PREFERRED_RELOAD_CLASS NO_REGS. | |
4601 | ||
f8032688 MM |
4602 | 2000-11-14 Michael Matz <matzmich@cs.tu-berlin.de> |
4603 | ||
4604 | * dominance.c: New file. | |
4605 | * Makefile.in (OBJS): Add dominance.o. | |
4606 | ||
4607 | * flow.c (compute_flow_dominators): Remove. | |
4608 | (compute_immediate_dominators): Remove. | |
4609 | (compute_immediate_postdominators): Remove. | |
4610 | * basic-block.h: Remove their prototypes. | |
4611 | (calculate_dominance_info): Add prototype. | |
4612 | ||
4613 | * dce.c (eliminate_dead_code): Change calls to above functions. | |
4614 | Don't compute dominators but only immediate dominators. | |
4615 | * flow.c (flow_loops_find): Change callers. | |
4616 | * gcse.c (compute_code_hoist_data): Likewise. | |
4617 | * haifa-sched.c (schedule_insns): Likewise. | |
4618 | * ifcvt.c (if_convert): Likewise. | |
4619 | * ssa.c (convert_to_ssa): Likewise, and only compute immediate | |
4620 | dominators. | |
4621 | ||
0caa3c8e RH |
4622 | 2000-11-14 Richard Henderson <rth@redhat.com> |
4623 | ||
6f122550 RH |
4624 | * stmt.c (warn_if_unused_value): Don't warn if the expression |
4625 | has side effects. | |
4626 | ||
0caa3c8e RH |
4627 | * c-typeck.c (c_sizeof): Fold result to c_size_type_node. |
4628 | (c_sizeof_nowarn, c_alignof, c_alignof_expr): Likewise. | |
4629 | ||
a78cc542 FS |
4630 | 2000-11-13 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
4631 | ||
4632 | * loop.c (basic_induction_var): Revert accidental checkin. | |
4633 | ||
d9068c61 HPN |
4634 | 2000-11-13 Hans-Peter Nilsson <hp@axis.com> |
4635 | ||
4636 | * c-lex.c (cb_leave_file): Harmonize conditions and order of | |
4637 | statements to those of process_directive for (action == act_pop). | |
4638 | ||
4639 | * collect2.c (main): Pass on -B options from COLLECT_GCC_OPTIONS. | |
4640 | ||
4641 | * local-alloc.c (equiv_init_movable_p): References to CC0 are not | |
4642 | movable. | |
4643 | ||
ebf02523 JM |
4644 | 2000-11-13 Joseph S. Myers <jsm28@cam.ac.uk> |
4645 | ||
4646 | * c-parse.in (stmts_and_decls): Deprecate use of label at end of | |
4647 | compound statement. | |
4648 | ||
29b10746 NB |
4649 | 2000-11-13 Neil Booth <neilb@earthling.net> |
4650 | ||
ee3400e8 JM |
4651 | * cpplex.c (_cpp_lex_token): CPP_COMMENT and true CPP_EOF |
4652 | cases return without MI check. | |
4653 | * cpplib.c (do_diagnostic): Take boolean of whether to | |
4654 | print the directive name. | |
4655 | (do_error, do_warning): Update. | |
4656 | (do_pragma_dependency): Use it. | |
4657 | * cpplib.h (VARARGS_FIRST): Delete. | |
4658 | (struct cpp_token): Delete integer. | |
4659 | * cppmacro.c (enter_macro_context): Move disabled check | |
4660 | to _cpp_get_token. | |
4661 | (_cpp_get_token): Simplify into a single loop. | |
29b10746 | 4662 | |
8105825d RE |
4663 | 2000-11-13 Richard Earnshaw <rearnsha@arm.com> |
4664 | ||
4665 | * configure.in: Use 'test -f' not '[ -e'. | |
4666 | * configure: Regenerated. | |
4667 | ||
481a6b4a DD |
4668 | 2000-11-13 DJ Delorie <dj@redhat.com> |
4669 | ||
4670 | * config/mn10300/mn10300.md (store_movm): Note which registers are | |
4671 | really used or clobbered. | |
4672 | ||
b7438415 JM |
4673 | 2000-11-13 Joseph S. Myers <jsm28@cam.ac.uk> |
4674 | ||
4675 | * c-parse.in (ends_in_label): Remove from %union and %type. | |
4676 | (decls, stmts, lineno_stmt_or_labels, xstmts, | |
4677 | lineno_stmt_or_label, stmt_or_label): Remove. | |
4678 | (stmts_and_decls, lineno_stmt_decl_or_labels_ending_stmt, | |
4679 | lineno_stmt_decl_or_labels_ending_decl, | |
4680 | lineno_stmt_decl_or_labels_ending_label, | |
4681 | lineno_stmt_decl_or_labels_ending_error, | |
4682 | lineno_stmt_decl_or_labels, compstmt_contents_nonempty, | |
4683 | lineno_stmt, lineno_label): New. | |
4684 | (compstmt_nostart): Use compstmt_contents_nonempty. | |
4685 | ||
19552aa5 JM |
4686 | 2000-11-13 Joseph S. Myers <jsm28@cam.ac.uk> |
4687 | ||
4688 | * c-common.c (boolean_increment): New function. | |
4689 | * c-common.h (enum c_tree_index): Add CTI_C_BOOL_TYPE, | |
4690 | CTI_C_BOOL_TRUE and CTI_C_BOOL_FALSE. | |
4691 | (c_bool_type_node, c_bool_true_node, c_bool_false_node): Define. | |
4692 | (boolean_increment): Declare. | |
4693 | * c-convert.c (convert): Allow for BOOLEAN_TYPE. | |
4694 | * c-decl.c (init_decl_processing): Create boolean nodes. | |
4695 | (finish_struct): Allow for _Bool bitfields. | |
4696 | * c-parse.in (reswords): Add _Bool. | |
4697 | (rid_to_yy): Allow for RID_BOOL. | |
4698 | * c-typeck.c (default_conversion): Make booleans promote to int. | |
4699 | (convert_arguments, build_unary_op, build_modify_expr, | |
4700 | convert_for_assignment): Allow for booleans. | |
4701 | * ginclude/stdbool.h: Make conforming to C99. | |
4702 | ||
444ca59f JM |
4703 | 2000-11-13 Joseph S. Myers <jsm28@cam.ac.uk> |
4704 | ||
4705 | * c-parse.in (c99_block_start, c99_block_end, | |
4706 | c99_block_lineno_labeled_stmt): New. | |
4707 | (simple_if, do_stmt_start): Use c99_block_lineno_labeled_stmt. | |
4708 | (stmt): Split off selection and iteration statements into... | |
4709 | (select_or_iter_stmt): New. Use c99_block_lineno_labeled_stmt. | |
4710 | ||
f2ecb02d JM |
4711 | 2000-11-13 Joseph S. Myers <jsm28@cam.ac.uk> |
4712 | ||
4713 | * invoke.texi (-Wtrigraphs, -fdump-translation-unit, -save-temps, | |
4714 | -time): Update. | |
4715 | ||
b082bfdb RE |
4716 | 2000-11-13 Richard Earnshaw <rearnsha@arm.com> |
4717 | ||
4718 | * arm.md (mulsidi3adddi, umulsidi3adddi): Revert previous change. | |
4719 | Rewrite to avoid use of match_dup. Don't try to tie registers that | |
4720 | are not in the same mode. | |
4721 | ||
b9265ec1 JM |
4722 | 2000-11-13 Joseph S. Myers <jsm28@cam.ac.uk> |
4723 | ||
4724 | * invoke.texi: Update lists of languages and suffixes supported. | |
4725 | ||
cc1e60ea JM |
4726 | 2000-11-13 Joseph S. Myers <jsm28@cam.ac.uk> |
4727 | ||
4728 | * configure.in: Take toplevel configure arguments from the | |
4729 | environment to create configargs.h and substitute | |
4730 | gcc_config_arguments, taking account of any existing configargs.h | |
4731 | if reconfiguring. | |
4732 | * configure: Regenerate. | |
4733 | * gccbug.in: Include toplevel configure arguments in gccbug. | |
4734 | ||
37357796 RE |
4735 | 2000-11-13 Richard Earnshaw <rearnsha@arm.com> |
4736 | ||
4737 | * varasm.c (struct constant_descriptor): Put CONTENTS inside a | |
4738 | union to make it well-aligned. Update all uses. | |
4739 | ||
26d4fec7 JM |
4740 | 2000-11-13 Joseph S. Myers <jsm28@cam.ac.uk> |
4741 | ||
4742 | * c-parse.in (initelt): Give appropriate pedantic warnings, | |
4743 | depending on flag_isoc99, for non-ISO syntax and for C99 syntax | |
4744 | outside C99 mode. | |
4745 | (designator): If pedantic, pedwarn for a designator specifying a | |
4746 | range of elements. | |
4747 | * c-typeck.c (set_init_index, set_init_label): Don't pedwarn for | |
4748 | these cases. | |
4749 | * extend.texi: Document the C99 syntax as the preferred syntax, | |
4750 | and the pre-2.5 syntax as obsolete. Mention use of designator | |
4751 | lists for nested subobjects. | |
4752 | ||
88f3c477 JM |
4753 | 2000-11-13 Joseph S. Myers <jsm28@cam.ac.uk> |
4754 | ||
4755 | * diagnostic.c (vbuild_message_string, output_do_printf, vnotice): | |
4756 | Add ATTRIBUTE_PRINTF. | |
4757 | * tradcpp.c (v_message, warning, error, fatal, error_with_line): | |
4758 | Add ATTRIBUTE_PRINTF*. | |
4759 | ||
db5fbfb4 MM |
4760 | 2000-11-12 Mark Mitchell <mark@codesourcery.com> |
4761 | ||
4762 | * function.c (assign_parms): When calling put_var_into_stack, make | |
4763 | sure that there are no hidden pending sequences. | |
4764 | ||
c7b6c6cd KG |
4765 | 2000-11-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
4766 | ||
4767 | * builtins.c (expand_builtin): Handle BUILT_IN_INDEX and | |
4768 | BUILT_IN_RINDEX. Add missing checks for BUILT_IN_STRCHR and | |
4769 | BUILT_IN_STRRCHR. | |
4770 | ||
4771 | * builtins.def (BUILT_IN_INDEX, BUILT_IN_RINDEX): New entries. | |
4772 | ||
4773 | * c-common.c (c_common_nodes_and_builtins): Declare index and | |
4774 | rindex when nonansi builtins are allowed. | |
4775 | ||
4776 | * extend.texi (index, rindex): Document new builtins. | |
4777 | ||
2f86842d MM |
4778 | 2000-11-12 Mark Mitchell <mark@codesourcery.com> |
4779 | ||
34f6fbdb MM |
4780 | * configure.in: Turn on libstdc++ V3 by default. |
4781 | * configure: Regenerated. | |
a8a05998 | 4782 | |
2f86842d MM |
4783 | * fixinc/mkfixinc.sh: Use the ordinary fixincludes on Solaris. |
4784 | ||
0c0ba09c JJ |
4785 | 2000-11-12 Jakub Jelinek <jakub@redhat.com> |
4786 | ||
4787 | * reload1.c (set_label_offsets): Go inside of PARALLELs. | |
4788 | ||
84a0e7b8 JM |
4789 | 2000-11-12 Joseph S. Myers <jsm28@cam.ac.uk> |
4790 | ||
4791 | * invoke.texi: Clean up option summary. | |
4792 | ||
4816b8e4 NC |
4793 | 2000-11-12 Nick Clifton <nickc@redhat.com> |
4794 | ||
4795 | * config/mcore/mcore.c: Fix comment formating, and adjust sequence | |
4796 | of #include headers. | |
4797 | ||
ee7692d2 | 4798 | 2000-11-12 Marc Espie <espie@openbsd.org> |
a8a05998 | 4799 | |
ee7692d2 ME |
4800 | * configure.in: Fix filds test. |
4801 | * configure: Regen. | |
4802 | ||
f8c4f860 MM |
4803 | 2000-11-12 Mark Mitchell <mark@codesourcery.com> |
4804 | ||
4805 | * jump.c (delete_computation): Don't assume that just becuase an | |
4806 | instruction sets a register, that register is dead. | |
4807 | ||
b528a07e NB |
4808 | 2000-11-12 Neil Booth <neilb@earthling.net> |
4809 | ||
a8a05998 ZW |
4810 | * cppexp.c: Don't worry about pfile->skipping. |
4811 | * cpplib.c (struct if_stack): Make was_skipping unsigned char. | |
4812 | (cpp_handle_directive): Save pfile->skipping in struct cpp_buffer | |
4813 | for handled directives. | |
4814 | (skip_rest_of_line): Use _cpp_lex_token after popping contexts | |
4815 | and releasing lookaheads. | |
4816 | (do_ifdef, do_ifndef, do_if): Use buffer->was_skipping. | |
4817 | (do_else, do_elif, push_conditional): Update logic. | |
4818 | (do_endif): Set buffer->was_skipping rather than pfile->skipping. | |
4819 | (unwind_if_stack): Inline into cpp_pop_buffer. | |
4820 | (cpp_push_buffer): Clear ifs->was_skipping for cpp_handle_directive. | |
4821 | * cpplex.c (_cpp_lex_token): Clear skipping on EOF. Handle | |
4822 | multiple-include optimisation. | |
4823 | * cpplib.h (struct cpp_buffer): New member was_skipping. | |
4824 | * cppmacro.c (_cpp_get_token): Loop whilst pfile->skipping. This | |
4825 | works because skipping == 0 in directives. | |
4826 | (_cpp_release_lookahead): Renamed from release_lookahead. | |
4827 | (cpp_get_token): No need to check skipping as _cpp_get_token does | |
4828 | this for us. No need to handle MI optimisation. | |
b528a07e | 4829 | |
995c461c MM |
4830 | Sat Nov 11 21:14:02 2000 Mark P Mitchell <mark@codesourcery.com> |
4831 | ||
4832 | * fixinc/inclhack.def (sunos_matherr_decl): Bypass matherr | |
4833 | declarations that use `__MATH_EXCEPTION' in their prototypes, too. | |
4834 | * fixinc/fixincl.x: Regenerated. | |
a8a05998 | 4835 | |
56a77e1e BK |
4836 | 2000-11-11 Bruce Korb <bkorb@gnu.org> |
4837 | ||
4838 | * fixinc/inclhack.def (avoid_bool_type): avoid commenting out #endif | |
4839 | (avoid_wchar_t_type): ditto | |
4840 | * fixinc/fixinc.irix: obsoleted | |
4841 | ||
72aaffbd ZW |
4842 | 2000-11-11 Zack Weinberg <zack@wolery.stanford.edu> |
4843 | ||
4844 | * configure.in: Don't add $outputs to all_lang_makefiles. Add | |
4845 | $srcdir/$s/Makefile.in if it exists. | |
4846 | * configure: Regenerate. | |
4847 | ||
bbdd639d MM |
4848 | Sat Nov 11 18:41:20 2000 Mark P Mitchell <mark@codesourcery.com> |
4849 | ||
4850 | * fixinc/mkfixinc.sh: Use the ordinary fixincludes on IRIX. | |
4851 | ||
d96a6d1a JM |
4852 | 2000-11-11 Jason Merrill <jason@redhat.com> |
4853 | ||
a8a05998 | 4854 | * function.c (assign_parms): If TREE_ADDRESSABLE is set, try to |
d96a6d1a JM |
4855 | give the parm a register and then call put_var_into_stack. |
4856 | * stmt.c (expand_decl): Likewise. | |
4857 | ||
8ee322c9 JM |
4858 | 2000-11-11 Joseph S. Myers <jsm28@cam.ac.uk> |
4859 | ||
4860 | * gcc.texi: Adjust wording. | |
4861 | ||
8b4c8a86 MM |
4862 | 2000-11-11 Mark Mitchell <mark@codesourcery.com> |
4863 | ||
4864 | * fixinc/inclhack.def (avoid_wchar_t_type): New fix. | |
4865 | * fininc/fixincl.x: Regenerated. | |
4866 | ||
639726ba JM |
4867 | 2000-11-11 Joseph S. Myers <jsm28@cam.ac.uk> |
4868 | ||
4869 | * invoke.texi: Correct spelling of -foptimize-register-move. | |
4870 | ||
4c2b647d NB |
4871 | 2000-11-11 Neil Booth <neilb@earthling.net> |
4872 | ||
4873 | Remove CPP_PLACEMARKERs. | |
4874 | ||
4875 | * cppexp.c (lex): Don't handle CPP_PLACEMARKER. | |
4876 | * cpplex.c (_cpp_lex_token): Rename skip_newlines to next_bol | |
4877 | * cpplib.c (skip_rest_of_line, check_eol, cpp_push_buffer): | |
a8a05998 | 4878 | Similarly. |
4c2b647d NB |
4879 | * cpplib.h: Remove CPP_PLACEMARKER. |
4880 | (struct lexer_state): Rename skip_newlines to next_bol. | |
4881 | * cppmacro.c (stringify_arg): Don't handle CPP_PLACEMARKER. | |
4882 | Simplify prev_white handling as a result. | |
4883 | (paste_all_tokens): Don't worry about CPP_PLACEMARKERs. | |
4884 | (parse_arg): Empty arguments are now empty, not CPP_PLACEMARKERs. | |
4885 | (parse_args): Similarly. Update argument count tests. | |
4886 | (enter_macro_context): Return 2 to indicate an empty macro. | |
4887 | (replace_args): Don't bother pre-expanding an empty argument. | |
4888 | Handle placemarkers and ## extension during pre-expansion. | |
4889 | (cpp_get_token): Handle empty macro expansions. Don't worry | |
4890 | about CPP_PLACEMARKERs. | |
4891 | (_cpp_create_definition): Empty macros are now empty. | |
4892 | (cpp_macro_defintion): Don't special case empty macros. | |
4893 | * scan-decls.c: Don't bother with CPP_PLACEMARKERs. | |
4894 | * c-lex.c: Similarly. | |
4895 | ||
c1030c7c JM |
4896 | 2000-11-11 Joseph S. Myers <jsm28@cam.ac.uk> |
4897 | ||
4898 | * gcc.texi, invoke.texi: Add new section discussing language | |
4899 | standards; link to it where appropriate; refer to ISO C instead of | |
4900 | ANSI C. | |
4901 | ||
93a77848 AO |
4902 | 2000-11-11 Alexandre Oliva <aoliva@redhat.com> |
4903 | ||
3650b695 AO |
4904 | * builtins.c (std_expand_builtin_va_start): Take PARM_BOUNDARY |
4905 | into account. | |
4906 | ||
93a77848 AO |
4907 | * config/sh/sh.h (MODES_TIEABLE_P): Don't tie SFmode to other FP |
4908 | modes. | |
4909 | ||
9a5a13c9 JM |
4910 | 2000-11-10 Joseph S. Myers <jsm28@cam.ac.uk> |
4911 | ||
4912 | * gcc.texi, gcov.texi: Update dates and version numbers. | |
4913 | ||
1e608388 ZW |
4914 | 2000-11-10 Zack Weinberg <zack@wolery.stanford.edu> |
4915 | ||
4916 | * configure.in: Remove AC_PROG_LEX and AC_PROG_YACC. Look for | |
4917 | flex and bison, specifically, first in a unified build and | |
4918 | then installed on the system. | |
4919 | * Makefile.in: Set BISON to @BISON@, FLEX to @FLEX@. Rename | |
4920 | LEXFLAGS to FLEXFLAGS. Adjust ORDINARY_FLAGS_TO_PASS to | |
4921 | match. | |
4922 | ||
4923 | (collect2.o, gcc.o, prefix.o, toplev.o, alloca.o, intl.o, | |
4924 | cppdefault.o): Remove pointless sed munging of source file | |
4925 | name. | |
4926 | ||
9532e31f BS |
4927 | 2000-11-10 Bernd Schmidt <bernds@redhat.co.uk> |
4928 | ||
4929 | * reload.c (find_reloads_address_1, case POST_MODIFY): Use RELOAD_OTHER | |
4930 | for address reloads. Push replacements for REG_INC notes. | |
4931 | (regno_clobbered_p): New arg SETS. Examine SETs if it's nonzero. All | |
4932 | callers changed. | |
4933 | * reload1.c (choose_reload_regs): Registers set in the insn can't be | |
4934 | used for RELOAD_OTHER reloads. | |
4935 | ||
721de836 MM |
4936 | 2000-11-10 Mark Mitchell <mark@codesourcery.com> |
4937 | ||
4938 | * c-dump.h: New file. | |
4939 | ||
4e135bdd KG |
4940 | 2000-11-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
4941 | ||
4942 | * alpha.c (check_float_value): Use memcpy, not bcopy. | |
4943 | * arm.c (output_move_double): Likewise. | |
4944 | * arm.md: Likewise. | |
4945 | * m88k.c (legitimize_operand): Likewise. | |
4946 | * m88k.h (ORDER_REGS_FOR_LOCAL_ALLOC): Likewise. | |
4947 | * m88k.md: Likewise. | |
4948 | * mips.c (override_options): Likewise. | |
4949 | * mips.md: Likewise. | |
4950 | * romp.c (output_fpops): Likewise. | |
4951 | * rs6000.c (rs6000_override_options): Likewise. | |
4952 | * sh.md: Likewise. | |
4953 | * vax.c (check_float_value): Likewise. | |
4954 | ||
4955 | * emit-rtl.c (copy_rtx_if_shared, init_emit_once): Likewise. | |
4956 | * expmed.c (synth_mult): Likewise. | |
4957 | * final.c (add_bb_string): Likewise. | |
4958 | * genattr.c (main): Likewise. | |
4959 | * genattrtab.c (attr_string, simplify_cond, copy_rtx_unchanging): | |
4960 | Likewise. | |
4961 | * jump.c (thread_jumps): Likewise. | |
4962 | * prefix.c (save_string): Likewise. | |
4963 | * real.h (REAL_VALUE_FROM_CONST_DOUBLE): Likewise. | |
4964 | * regclass.c (init_reg_sets, init_reg_sets_1): Likewise. | |
4965 | * reload1.c (reload, eliminate_regs): Likewise. | |
4966 | ||
c8abeb44 JM |
4967 | 2000-11-10 Joseph S. Myers <jsm28@cam.ac.uk> |
4968 | ||
4969 | * gcc.texi (Service): Update to reflect current practice and | |
4970 | location of the GNU service directory. | |
4971 | ||
6fb85418 BS |
4972 | 2000-11-09 Bernd Schmidt <bernds@redhat.co.uk> |
4973 | ||
4974 | * regrename.c (build_def_use): Mark contents of REG_INC notes as | |
4975 | needing replacement. | |
4976 | ||
0c478921 BS |
4977 | * config/ia64/ia64.md (extendsfdf2, extendsftf2, extenddftf2): Emit |
4978 | a no-op move if regs are equal. | |
4979 | * toplev.c (rest_of_compilation): Do the noop moves elimination pass | |
a8a05998 | 4980 | when calling jump after post-reload splitting. |
0c478921 | 4981 | |
3b7a2e58 JM |
4982 | 2000-11-09 Jan van Male <jan.vanmale@fenk.wau.nl> |
4983 | ||
a8a05998 ZW |
4984 | * c-tree.texi: Fix typos. |
4985 | * extend.texi: Likewise | |
4986 | * gcov.texi: Likewise | |
4987 | * rtl.texi: Likewise | |
4988 | * tm.texi: Likewise | |
3b7a2e58 | 4989 | |
59257980 HPN |
4990 | 2000-11-09 Hans-Peter Nilsson <hp@axis.com> |
4991 | ||
4992 | * c-lex.c [! NO_IMPLICIT_EXTERN_C] (cb_enter_file): Check | |
4993 | in_system_header and flags[1] before dereferencing flags[2]. | |
4994 | ||
881a8969 MH |
4995 | 2000-11-09 Matthew Hiller <hiller@redhat.com> |
4996 | ||
4997 | * reload1.c (reload_combine): Fixed calculation of | |
4998 | first_index_reg, last_index_reg. | |
4999 | ||
0a7394bc MM |
5000 | 2000-11-09 Mark Mitchell <mark@codesourcery.com> |
5001 | ||
13507bd8 MM |
5002 | * c-dump.c (dequeue_and_dump): Dump function bodies. |
5003 | ||
0a7394bc MM |
5004 | * Makefile.in (C_AND_OBJC_OBJS): Add c-dump.o. |
5005 | (c-dump.o): New target. | |
5006 | * c-common.h (flag_dump_translation_unit): New variable. | |
5007 | (C_TYPE_QUALS): New macro. | |
5008 | (strip_array_types): New function. | |
5009 | (DECL_C_BIT_FIELD): New macro. | |
5010 | (SET_DECL_C_BIT_FIELD): Likewise. | |
5011 | (CLEAR_DECL_C_BIT_FIELD): Likewise. | |
5012 | (dump_info_p): New typedef. | |
5013 | (dump_tree_fn): Likewise. | |
5014 | (lang_dump_tree): New variable. | |
5015 | (dump_node_to_file): New function. | |
5016 | * c-common.c (flag_dump_translation_unit): Define it. | |
5017 | (strip_array_types): New function. | |
5018 | * c-decl.c (c_decode_option): Handle -fdump-translation-unit. | |
a8a05998 | 5019 | * c-lang.c (finish_file): Call dump_node_to_file if |
0a7394bc MM |
5020 | flag_dump_translation_unit. |
5021 | * c-semantics.c (mark_rtl_for_local_static): Fix typo in comment. | |
5022 | * c-tree.h (DECL_C_BIT_FIELD): Remove declaration. | |
5023 | * c-dump.c: New file. | |
a8a05998 | 5024 | |
abffe289 CF |
5025 | 2000-11-09 Christopher Faylor <cgf@cygnus.com> |
5026 | ||
5027 | * config/i386/cygwin.h: Add mingw startfile prefix. | |
5028 | ||
1288c070 RH |
5029 | 2000-11-09 Richard Henderson <rth@redhat.com> |
5030 | ||
5031 | * flow.c (invalidate_mems_from_set): Split out from ... | |
5032 | (mark_set_1): ... here. | |
5033 | (try_pre_increment_1): Use it. Use propagate_block_delete_insn | |
5034 | instead of turning insn into a NOTE_INSN_DELETED. | |
5035 | ||
01702459 JM |
5036 | 2000-11-10 Joseph S. Myers <jsm28@cam.ac.uk> |
5037 | ||
5038 | * extend.texi, invoke.texi: Move documentation of builtin versions | |
5039 | of C library functions to one place and update. | |
5040 | ||
30355eaa RH |
5041 | 2000-11-09 Richard Henderson <rth@redhat.com> |
5042 | ||
5043 | * fold-const.c (fold): Compare TYPE_MAIN_VARIANT rather than | |
5044 | the types themselves to discover type equivalence. | |
5045 | ||
5fcee6f3 MS |
5046 | 2000-11-09 Mike Stump <mrs@wrs.com> |
5047 | ||
5048 | * Makefile.in (distclean): Remove a few extra leftovers. | |
5049 | ||
377b6fce RH |
5050 | 2000-11-09 Richard Henderson <rth@redhat.com> |
5051 | ||
c0e3f87d RH |
5052 | * recog.c (validate_replace_rtx_1): Consider subregs when |
5053 | replacing a register with a constant inside a sign/zero_extend. | |
5054 | ||
377b6fce RH |
5055 | * config/alpha/linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define. |
5056 | ||
b52114d2 GK |
5057 | 2000-11-09 Geoffrey Keating <geoffk@redhat.com> |
5058 | ||
5059 | * c-decl.c (finish_struct): When a structure is completed, | |
5060 | check all its variant types for completeness. | |
5061 | ||
a949941c NB |
5062 | 2000-11-09 Neil Booth <neilb@earthling.net> |
5063 | ||
5064 | * cpphash.c: Move cpp_defined here from cpplib.c. | |
5065 | * cpplib.c: Update comments, move cpp_defined to cpphash.c. | |
5066 | * cpplex.c (_cpp_lex_token): Don't leave the lexer at EOL. | |
5067 | * cppmacro.c (cpp_get_token): Update comments, no need now | |
5068 | to catch the CPP_EOF meaning EOL case. | |
5069 | ||
9a0662b4 GK |
5070 | 2000-11-08 Geoffrey Keating <geoffk@redhat.com> |
5071 | ||
5072 | * config/sparc/sparc.c (sparc_va_arg): When the required alignment | |
5073 | is more than that provided, copy to a temporary. | |
5074 | ||
6c80a645 AO |
5075 | 2000-11-09 Alexandre Oliva <aoliva@redhat.com> |
5076 | ||
5077 | * mklibgcc.in (EXTRA_MULTILIB_PARTS): Prevent `make' from | |
5078 | interpreting $out as a macro assignment. | |
5079 | * Makefile.in (T_TARGET): New auxiliary macro and target. | |
5080 | (all): Add a target right in the beginning, so that we don't build | |
5081 | T_TARGET by default. | |
5082 | ||
6a4afa6c GS |
5083 | 2000-11-09 Graham Stott <grahams@redhat.com> |
5084 | ||
a8a05998 | 5085 | * config/i386/i386.md (mmx_pinsrw): Output operands in correct |
6a4afa6c GS |
5086 | order for -mintel-syntax. Remove comment now that the operand |
5087 | order has been checked. | |
5088 | (mmx_pextrw): Likewise. | |
5089 | (mmx_pshufw): Likewise. | |
5090 | ||
2dee4af1 JJ |
5091 | 2000-11-09 Jakub Jelinek <jakub@redhat.com> |
5092 | ||
5093 | * builtins.c (c_strlen): Use TREE_STRING_LENGTH - 1 for max. | |
5094 | (c_getstr): New function. | |
5095 | (expand_builtin_strstr): Do nothing if -fcheck-memory-usage. | |
5096 | If both arguments are constant string, optimize out. | |
5097 | (expand_builtin_strchr, expand_builtin_strrchr): New functions. | |
5098 | (expand_builtin_strpbrk): Use c_getstr, do nothing if | |
5099 | -fcheck-memory-usage. | |
5100 | (expand_builtin_fputs): Likewise. | |
5101 | (expand_builtin_strcmp): Add MODE argument. | |
5102 | Use even if !HAVE_cmpstrsi. | |
5103 | Optimize the case when both arguments are constant strings. | |
5104 | (expand_builtin): Adjust expand_builtin_strcmp caller. | |
5105 | Call expand_builtin_strchr and expand_builtin_strrchr. | |
5106 | * c-common.c (c_common_nodes_and_builtins): Add strchr and strrchr | |
5107 | builtins. | |
5108 | * builtins.def (BUILT_IN_STRRCHR): Add. | |
5109 | ||
97dc9fc0 GP |
5110 | 2000-11-08 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
5111 | ||
5112 | * fixinc/gnu-regex.c: Rename EGCS LOCAL markers to GCC LOCAL. | |
5113 | ||
2e09e75a JM |
5114 | 2000-11-09 Joseph S. Myers <jsm28@cam.ac.uk> |
5115 | ||
5116 | * calls.c (expand_call, emit_library_call_value_1), collect2.c | |
5117 | (scan_prog_file), config/a29k/a29k.c (print_operand), | |
5118 | config/sparc/sparc.c (order_regs_for_local_alloc): Use memcpy () | |
5119 | instead of bcopy (). | |
5120 | * real.h: Use memcmp () instead of bcmp (). | |
5121 | * config/m88k/m88k.c (m88k_layout_frame), config/sh/sh.c | |
5122 | (split_branches), config/sparc/sparc.c (ultra_flush_pipeline, | |
5123 | ultrasparc_sched_init, ultrasparc_sched_reorder), | |
5124 | config/sparc/sparc.h (CONDITIONAL_REGISTER_USAGE): Use memset () | |
5125 | instead of bzero (). | |
5126 | * config/vax/xm-xms.h (FILE_NAME_NONDIRECTORY): Use strrchr () | |
5127 | instead of rindex (). | |
5128 | * configure.in: Don't check for bzero, bcmp, index or rindex. | |
5129 | * configure, config.in: Regenerate. | |
5130 | * system.h: Don't include declarations for bzero, bcmp, index or | |
5131 | rindex. | |
5132 | * config/i386/xm-beos.h, config/rs6000/xm-beos.h: Don't define | |
5133 | bzero, bcmp, index or rindex. | |
5134 | ||
03fb4780 CF |
5135 | Wed Nov 8 21:58:20 2000 Christopher Faylor <cgf@cygnus.com> |
5136 | ||
5137 | * config/i386/cygwin.h: Add -no-win32 switch. Separate -mno-cygwin | |
5138 | include and library paths from -mcygwin case. Parameterize some | |
5139 | declarations to avoid warnings. Use standard locations for include and | |
5140 | lib dirs. | |
5141 | ||
ca68ea18 NC |
5142 | 2000-11-08 Nick Clifton <nickc@redhat.com> |
5143 | ||
5144 | * config/arm/arm.md (mulsidi3adddi): Change output operand | |
eb68ad7c | 5145 | constraint from "=&" to "+&". |
ca68ea18 | 5146 | (umulsidi3adddi): Change output operand constraint from "=&" to |
eb68ad7c | 5147 | "+&". |
ca68ea18 | 5148 | |
c32e1e6f RH |
5149 | 2000-11-08 Richard Henderson <rth@redhat.com> |
5150 | ||
5151 | * flow.c (init_propagate_block_info): Protect the rtx stored in | |
5152 | mem_set_list from modification by find_auto_inc. | |
5153 | (mark_set_1): Likewise. | |
5154 | ||
adb84b42 NB |
5155 | 2000-11-08 Neil Booth <neilb@earthling.net> |
5156 | ||
a8a05998 ZW |
5157 | Move directive handling into the lexer itself. |
5158 | ||
5159 | * cpplex.c (_cpp_lex_token): Handle directives directly. | |
5160 | In the case of a directive interrupting a function-like | |
5161 | macro invocation, use extra_char since read_ahead is | |
5162 | used to store the '#'. Return a CPP_EOF in this case. | |
5163 | * cppmacro.c (parse_arg): No need to handle CPP_DHASH any more. | |
5164 | (cpp_get_token): Don't handle directives here. | |
5165 | * cpplib.h: Remove CPP_DHASH token type. | |
adb84b42 | 5166 | |
756d6f0c JH |
5167 | Wed Nov 8 21:53:41 MET 2000 Jan Hubicka <jh@suse.cz> |
5168 | ||
5169 | * regmove.c (combine_stack_adjustments_for_blocks): Recognize pushes | |
5170 | formed using PRE_MODIFY too. | |
5171 | ||
c39c0db3 MM |
5172 | 2000-11-08 Mark Mitchell <mark@codesourcery.com> |
5173 | ||
69908851 MM |
5174 | * c-tree.texi (VAR_DECL): Describe representation of GCC's |
5175 | extension for placing variables in particular registers. | |
5176 | ||
c39c0db3 MM |
5177 | * c-tree.texi (FUNCTION_TYPE): Clarify TYPE_ARG_TYPES for |
5178 | unprototyped C functions with no parameters. | |
5179 | ||
6cada0cd JJ |
5180 | 2000-11-08 Jakub Jelinek <jakub@redhat.com> |
5181 | ||
5182 | * config/sparc/sparc.h (ASM_OUTPUT_MI_THUNK): Cast DELTA to int | |
5183 | before passing to fprintf. | |
5184 | ||
768f0669 JJ |
5185 | 2000-11-08 Jakub Jelinek <jakub@redhat.com> |
5186 | ||
5187 | * function.c (expand_function_start): Cast GET_MODE_SIZE to | |
5188 | HOST_WIDE_INT before negating it. | |
5189 | ||
df6018fd JJ |
5190 | 2000-11-08 Jakub Jelinek <jakub@redhat.com> |
5191 | ||
5192 | * expr.c (expand_expr) [ADDR_EXPR]: Handle when op0 is RETURN_DECL | |
5193 | passed in multiple non-contiguous locations. | |
5194 | ||
14ae1d50 | 5195 | 2000-11-08 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
a8a05998 | 5196 | |
14ae1d50 GP |
5197 | * README.gnat: Remove file. |
5198 | ||
673887d5 AO |
5199 | 2000-11-08 Alexandre Oliva <aoliva@redhat.com> |
5200 | ||
5201 | * mklibgcc.in (EXTRA_MULTILIB_PARTS): Generate multilib parts | |
5202 | in-place. | |
5203 | ||
66234570 RH |
5204 | 2000-11-07 Richard Henderson <rth@redhat.com> |
5205 | ||
5206 | * dwarfout.c (INSN_LABEL_FMT): Remove. | |
5207 | (output_label_die): Use ASM_GENERATE_INTERNAL_LABEL. | |
5208 | (dwarfout_label): Remove. | |
5209 | * dwarfout.h: Remove it's prototype. | |
5210 | * dwarf2out.c (INSN_LABEL_FMT): Remove. | |
5211 | (gen_label_die): Use ASM_GENERATE_INTERNAL_LABEL. | |
5212 | (dwarf2out_label): Remove. | |
5213 | * dwarf2out.h: Remove it's prototype. | |
5214 | * final.c (final_scan_insn): Don't call dwarf[2]out_label. | |
5215 | ||
81b75d96 RH |
5216 | 2000-11-07 Richard Henderson <rth@redhat.com> |
5217 | ||
cd5c4048 RH |
5218 | * config/ia64/fde-glibc.c (find_fde_for_dso): Do a binary |
5219 | search on the unwind region section. | |
5220 | ||
5221 | * config/ia64/ia64.md (movbi): Add r/r alternative. | |
5222 | (cmovdi_internal_astep): Describe all combinations of register | |
5223 | classes for sources & destinations; remove matching constraints. | |
5224 | (cmovdi_internal): Likewise. | |
5225 | ||
81b75d96 RH |
5226 | * gcc.c (default_compilers) [@cpp-output]: Add -fpreprocessed. |
5227 | ||
6dbaddf9 RH |
5228 | 2000-11-07 Richard Henderson <rth@redhat.com> |
5229 | ||
5230 | * c-lang.c (start_cdtor, finish_cdtor): New functions. | |
5231 | (finish_file): Use them in building constructor/destructor functions. | |
5232 | ||
a8a05998 | 5233 | * config/alpha/alpha.h (HAS_INIT_SECTION, LD_INIT_SWITCH, |
6dbaddf9 RH |
5234 | LD_FINI_SWITCH): Move ... |
5235 | * config/alpha/osf.h: ... here. | |
5236 | * config/alpha/alpha-interix.h: Don't undef them. | |
5237 | ||
99b13084 JO |
5238 | 2000-11-07 Jeffrey Oldham <oldham@oz.codesourcery.com> |
5239 | ||
5240 | * config/mips/t-iris6 (FPBIT): New. Added so that __unorddf2 is | |
5241 | included in libgcc.a. | |
5242 | (DPBIT): Likewise. | |
5243 | (dp-bit.c): Likewise. | |
5244 | (fp-bit.c): Likewise. | |
5245 | ||
d7cac874 NC |
5246 | 2000-11-07 Nick Clifton <nickc@redhat.com> |
5247 | ||
5248 | * config/m88k/m88k.h (GLOBAL_ASM_OP): Add missing tab. | |
5249 | (INTERNAL_ASM_OP): Add missing tab. | |
5250 | ||
961192e1 JM |
5251 | 2000-11-07 Joseph S. Myers <jsm28@cam.ac.uk> |
5252 | ||
5253 | * alias.c (init_alias_analysis), calls.c (expand_call, | |
5254 | emit_library_call_value_1), combine.c (init_reg_last_arrays), | |
5255 | cse.c (new_basic_block), dbxout.c (dbxout_type), diagnostic.c | |
5256 | (init_output_buffer, set_diagnostic_context), dwarf2out.c | |
5257 | (equate_decl_number_to_die, build_abbrev_table), emit-rtl.c | |
5258 | (init_emit_once), fold-const.c (mul_double, div_and_round_double), | |
5259 | function.c (assign_parms), gcse.c (compute_can_copy, | |
5260 | alloc_gcse_mem, alloc_reg_set_mem, record_one_set, | |
5261 | compute_hash_table, compute_set_hash_table, | |
5262 | compute_expr_hash_table), genattrtab.c (optimize_attrs), global.c | |
5263 | (global_alloc, global_conflicts), haifa-sched.c (compute_trg_info, | |
5264 | clear_units, schedule_block), integrate.c (initialize_for_inline, | |
5265 | expand_inline_function), jump.c (thread_jumps), local-alloc.c | |
5266 | (local_alloc), loop.c (combine_movables, count_loop_regs_set, | |
5267 | load_mems_and_recount_loop_regs_set), print-tree.c (debug_tree), | |
5268 | regclass.c (init_reg_sets, init_reg_sets_1, regclass, | |
5269 | record_reg_classes, allocate_reg_info), reload.c | |
5270 | (get_secondary_mem, remove_address_replacements, find_reloads), | |
5271 | reload1.c (reload, set_initial_label_offsets, finish_spills, | |
5272 | reload_as_needed, choose_reload_regs_init, | |
5273 | reload_cse_simplify_operands), reorg.c (dbr_schedule), sbitmap.c | |
5274 | (sbitmap_zero), simplify-rtx.c (simplify_plus_minus), ssa.c | |
5275 | (rename_registers), stmt.c (expand_end_case), unroll.c | |
5276 | (unroll_loop), varray.c (varray_grow), objc/objc-act.c: Use memset | |
5277 | () instead of bzero (). | |
5278 | ||
e3cc3581 NB |
5279 | 2000-11-07 Neil Booth <neilb@earthling.net> |
5280 | ||
5281 | * cp/lang-specs.h: Fix -save-temps specs under USE_CPPLIB. | |
5282 | ||
f8136648 KG |
5283 | 2000-11-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
5284 | ||
5285 | * c-common.c (combine_strings): Only warn about long strings for C. | |
5286 | ||
71fd5a51 R |
5287 | Tue Nov 7 19:44:30 2000 J"orn Rennecke <amylaar@redhat.com> |
5288 | ||
5289 | * combine.c (distribute_notes): Fix typo in last change. | |
5290 | ||
bdaa0181 GK |
5291 | 2000-11-07 Geoff Keating <geoffk@redhat.com> |
5292 | ||
5293 | * config/rs6000/rs6000.md (movdi_internal32+1): Use | |
5294 | operand_subreg_force rather than gen_rtx_SUBREG. | |
5295 | (movdi_internal32+2): Likewise. | |
5296 | ||
bc56a125 PB |
5297 | 2000-11-07 Philip Blundell <philb@gnu.org> |
5298 | ||
5299 | * configure.in (arm*-*-linuxaout*): Obsolete, deleted. | |
5300 | * config/arm/linux-aout.h: Likewise. | |
5301 | * configure: Regenerate. | |
5302 | ||
a71d3613 PT |
5303 | 2000-11-07 Philipp Thomas <pthomas@suse.de> |
5304 | ||
5305 | * ABOUT-GCC-NLS: Remove the patch for gettext as it has been | |
5306 | accepted my the gettext maintainer. | |
5307 | ||
26a87cab KG |
5308 | 2000-11-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
5309 | ||
5310 | * builtins.c (expand_builtin_strpbrk): New function. | |
5311 | (expand_builtin): Handle BUILT_IN_STRPBRK. | |
5312 | ||
5313 | * builtins.def (BUILT_IN_STRPBRK): New entry. | |
5314 | ||
5315 | * c-common.c (c_common_nodes_and_builtins): Declare builtin | |
5316 | strpbrk. | |
5317 | ||
ace54f91 DB |
5318 | 2000-11-07 David O'Brien <obrien@dragon.nuxi.com> |
5319 | ||
5320 | * config/alpha/freebsd.h: New file -- FreeBSD/alpha architecture file. | |
5321 | * POTFILES.in: Add config/alpha/freebsd.h | |
5322 | * configure.in: Add alpha*-freebsd support. | |
5323 | * configure: Regenerate. | |
5324 | ||
0dec5df9 JM |
5325 | 2000-11-07 Joseph S. Myers <jsm28@cam.ac.uk> |
5326 | ||
5327 | * tree.c (build_common_tree_nodes_2): Make va_list_type_node be a | |
5328 | copy of ptr_type_node rather than ptr_type_node itself. | |
5329 | ||
bf103ec2 R |
5330 | Tue Nov 7 06:29:24 2000 J"orn Rennecke <amylaar@redhat.com> |
5331 | ||
5332 | * combine.c (recog_for_combine): Allocate uninitialized vector with | |
5333 | rtvec_alloc. | |
5334 | * recog.c (apply_change_group): Likewise. | |
5335 | ||
c762163e R |
5336 | Tue Nov 7 06:24:02 2000 J"orn Rennecke <amylaar@redhat.com> |
5337 | ||
5338 | * flow.c (verify_local_live_at_start): Back out last change. | |
5339 | * combine.c (distribute_notes): When parts of a hard reg are | |
5340 | neither set nor referenced in PLACE, search backwards for a | |
5341 | place to put a REG_UNUSED note; if none found, ask for flow | |
5342 | info refresh. | |
5343 | ||
f34c06e5 R |
5344 | Mon Nov 6 20:08:13 2000 J"orn Rennecke <amylaar@redhat.com> |
5345 | ||
5346 | * reload1.c (eliminate_regs_in_insn): Allow a set to be a PARALLEL | |
5347 | with (clobber (match_scratch...)). | |
5348 | ||
2b892489 NB |
5349 | 2000-11-06 Neil Booth <neilb@earthling.net> |
5350 | ||
5351 | * c-lex.c (init_c_lex): If cpp_start_read fails, exit with | |
5352 | error status. | |
5353 | ||
ea33bfc5 NB |
5354 | 2000-11-06 Neil Booth <neilb@earthling.net> |
5355 | ||
a8a05998 | 5356 | * tradcpp.c (special_symbol): Assign an null string rather |
ea33bfc5 NB |
5357 | than writing to an unallocated buffer. |
5358 | ||
56051c0a NB |
5359 | 2000-11-06 Neil Booth <neilb@earthling.net> |
5360 | ||
5361 | * cpplex.c (_cpp_equiv_tokens): Check arg_no in the | |
5362 | CPP_MACRO_ARG case. | |
5363 | ||
6c53ebff NB |
5364 | 2000-11-06 Neil Booth <neilb@earthling.net> |
5365 | ||
5366 | * c-lex.c (c_lex): Replace tok.val.aux with tok.val.c or | |
5367 | tok.val.arg_no as appropriate. | |
5368 | * cppexp.c (lex): Similarly. | |
5369 | * cpplex.c (_cpp_lex_token, cpp_spell_token, cpp_output_token, | |
5370 | cpp_equiv_tokens, cpp_can_paste, cpp_avoid_paste): Similarly. | |
5371 | * cppmacro.c (stringify_arg, replace_args, lex_expansion_token, | |
5372 | cpp_macro_definition): Similarly. | |
5373 | * cpplib.h (struct cpp_token): Replace aux with c and arg_no. | |
5374 | ||
8b1c5fd0 JJ |
5375 | 2000-11-06 Jakub Jelinek <jakub@redhat.com> |
5376 | ||
5377 | * config/sparc/sparc.md (adddi3): If operands[2] is 4096 and | |
5378 | operands[1] is constant, calculate the sum and generate movdi. | |
5379 | (addsi3): Similarly. Use SImode in call to arith_4096_operand. | |
5380 | (subsi3): Use SImode in call to arith_4096_operand. | |
5381 | ||
a0115140 JJ |
5382 | 2000-11-06 Jakub Jelinek <jakub@redhat.com> |
5383 | ||
5384 | * config/sparc/sparc.h (ASM_OUTPUT_MI_THUNK): On sparc64 we need to | |
5385 | adjust %o1, not %o0 if the return type is large structure. | |
5386 | ||
9ea2bda9 JJ |
5387 | 2000-11-06 Jakub Jelinek <jakub@redhat.com> |
5388 | ||
5389 | * config/sparc/sparc.md (smulsi3_highpart_v8plus, ashldi3_v8plus+1, | |
5390 | update_return, flush, flushdi, ffssi2, ffsdi2): Fix output formatting. | |
5391 | ||
1cf7847f DC |
5392 | Sat Sep 23 19:10:20 2000 Denis Chertykov <denisc@overta.ru> & Marek Michalkiewicz <marekm@linux.org.pl> |
5393 | ||
5394 | * expmed.c (expand_divmod): For signed divide by 2, prefer | |
5395 | a branch and fewer shifts if branches are very cheap. | |
5396 | ||
436a88a6 JM |
5397 | 2000-11-05 Joseph S. Myers <jsm28@cam.ac.uk> |
5398 | ||
5399 | * Makefile.in: Remove all targets related to building | |
5400 | distributions and diffs, or INSTALL. | |
5401 | * INSTALL, install1.texi: Remove. | |
5402 | * configure.in: Remove mention of distdir. | |
5403 | * configure: Regenerate. | |
5404 | * objc/Make-lang.in: Remove mention of distdir. | |
5405 | ||
9cf11a47 NB |
5406 | 2000-11-04 Neil Booth <neilb@earthling.net> |
5407 | ||
5408 | * cpp.texi: Update for _Pragma. | |
5409 | ||
f148ca88 JM |
5410 | 2000-11-04 Joseph S. Myers <jsm28@cam.ac.uk> |
5411 | ||
5412 | * gcc.texi (Contributing): Update URL for projects web page. | |
5413 | ||
16eb2788 NB |
5414 | 2000-11-04 Neil Booth <neilb@earthling.net> |
5415 | ||
a8a05998 ZW |
5416 | * cpplex.c (parse_string): Don't allow multiline strings in |
5417 | #include family directives. | |
16eb2788 | 5418 | |
9232b7d9 NB |
5419 | 2000-11-04 Neil Booth <neilb@earthling.net> |
5420 | ||
5421 | * cpplib.c (do_line): Only warn pedantically if not reading | |
a8a05998 | 5422 | preprocessed input. |
9232b7d9 | 5423 | |
f132f529 AO |
5424 | 2000-11-04 Alexandre Oliva <aoliva@redhat.com> |
5425 | ||
5426 | * calls.c (emit_call_1) [sibcall_pop]: Use n_popped instead of | |
5427 | RETURN_POPS_ARGS(). | |
5428 | ||
0e9295cf ZW |
5429 | 2000-11-03 Zack Weinberg <zack@wolery.stanford.edu> |
5430 | ||
5431 | * builtins.c (expand_builtin_strlen): Remove unused mode | |
5432 | argument. | |
5433 | * gcc.c (process_command): Remove unused variable. | |
5434 | * fold-const.c: Include expr.h. | |
5435 | * recog.c: Include reload.h. | |
5436 | * Makefile.in (recog.o, fold-const.o): Update deps. | |
5437 | ||
f2682362 GK |
5438 | 2000-11-02 Geoffrey Keating <geoffk@cygnus.com> |
5439 | ||
5440 | * fixinc/gnu-regex.c: Change 'CYGNUS LOCAL' to 'EGCS LOCAL'. | |
5441 | ||
25f80eae MM |
5442 | Fri Nov 3 13:41:04 2000 Mark P Mitchell <mark@codesourcery.com> |
5443 | ||
5444 | * config/mips/iris6.h (SUBTARGET_CC1_SPEC): Remove -static | |
5445 | handling. | |
5446 | (STARTFILE_SPEC): Likewise. | |
5447 | (LINK_SPEC): Likewise. | |
5448 | ||
426159a4 KG |
5449 | 2000-11-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
5450 | ||
5451 | * Makefile.in (fold-const.o): Depend on $(GGC_H), not ggc.h. | |
5452 | (toplev.o): Likewise for $(LOOP_H)/loop.h and $(REGS_H)/regs.h. | |
5453 | (simplify-rtx.o): Likewise for $(GGC_H)/ggc.h. | |
5454 | ||
da61dec9 JM |
5455 | 2000-11-03 Joseph S. Myers <jsm28@cam.ac.uk> |
5456 | ||
5457 | * c-decl.c (duplicate_decls, copy_lang_decl), dwarfout.c | |
5458 | (dwarfout_line), gcc.c (main, save_string), tree.c (init_obstacks, | |
5459 | perm_calloc, get_identifier, maybe_get_identifier, | |
5460 | real_value_from_int_cst, simple_cst_equal), varasm.c | |
5461 | (assemble_name, assemble_real, immed_real_const_1, | |
5462 | compare_constant_1, decode_rtx_const, output_constant_pool): Use | |
5463 | strrchr () instead of rindex (). Use memcmp () instead of bcmp | |
5464 | (). Use memcpy () instead of bcopy (). Use memset () instead of | |
5465 | bzero (). | |
5466 | ||
def3263a NS |
5467 | 2000-11-03 Nathan Sidwell <nathan@codesourcery.com> |
5468 | ||
5469 | * cppfiles.c (open_file): If already read, then don't reopen. | |
5470 | Immediately close an empty file. | |
5471 | ||
94e9dc13 BS |
5472 | 2000-11-01 Bernd Schmidt <bernds@redhat.co.uk> |
5473 | ||
5474 | * expr.h (fold_builtin): Move declaration... | |
5475 | * tree.h (fold_builtin): ... here. | |
5476 | ||
6c6a14b5 R |
5477 | Fri Nov 3 05:41:07 2000 J"orn Rennecke <amylaar@redhat.com> |
5478 | ||
5479 | * flow.c (verify_local_live_at_start): Allow hard regs to die. | |
5480 | ||
5b569332 NB |
5481 | 2000-11-02 Neil Booth <neilb@earthling.net> |
5482 | ||
5483 | config: | |
5484 | * a29k/a29k.h, a29k/unix.h, a29k/vx29k.h, | |
5485 | alpha/alpha-interix.h, alpha/alpha.h, alpha/linux.h, | |
5486 | alpha/openbsd.h, alpha/osf.h, alpha/vms.h, alpha/vxworks.h, | |
5487 | alpha/win-nt.h, arc/arc.h, arm/arm.h, arm/conix-elf.h, | |
5488 | arm/linux-aout.h, arm/linux-elf.h, arm/netbsd.h, arm/riscix.h, | |
5489 | arm/riscix1-1.h, arm/semiaof.h, arm/unknown-elf-oabi.h, arm/vxarm.h, | |
5490 | c4x/rtems.h, clipper/clix.h, convex/convex.h, d30v/d30v.h, | |
5491 | elxsi/elxsi.h, fr30/fr30.h, h8300/h8300.h, i370/linux.h, i370/mvs.h, | |
5492 | i370/oe.h, i386/386bsd.h, i386/aix386ng.h, i386/beos-elf.h, | |
5493 | i386/bsd386.h, i386/crtdll.h, i386/cygwin.h, i386/dgux.h, | |
5494 | i386/djgpp-rtems.h, i386/djgpp.h, i386/freebsd-aout.h, i386/freebsd.h, | |
5495 | i386/gnu.h, i386/i386-interix.h, i386/i386.h, i386/linux-aout.h, | |
5496 | i386/linux-oldld.h, i386/linux.h, i386/lynx-ng.h, i386/lynx.h, | |
5497 | i386/mach.h, i386/mingw32.h, i386/moss.h, i386/netbsd.h, | |
5498 | i386/netware.h, i386/next.h, i386/openbsd.h, i386/osf1elf.h, | |
5499 | i386/osfelf.h, i386/osfrose.h, i386/ptx4-i.h, i386/rtems.h, | |
5500 | i386/rtemself.h, i386/sco.h, i386/sco4.h, i386/sco4dbx.h, i386/sco5.h, | |
5501 | i386/scodbx.h, i386/sequent.h, i386/sol2.h, i386/sun.h, i386/sysv3.h, | |
5502 | i386/sysv4.h, i386/uwin.h, i386/vsta.h, i386/vxi386.h, i386/win-nt.h, | |
5503 | i386/win32.h, i860/fx2800.h, i860/i860.h, i860/mach.h, i860/sysv3.h, | |
5504 | i860/sysv4.h, i960/i960.h, i960/rtems.h, i960/vx960-coff.h, | |
5505 | ia64/ia64.h, ia64/linux.h, m32r/m32r.h, m68k/3b1.h, m68k/3b1g.h, | |
5506 | m68k/a-ux.h, m68k/altos3068.h, m68k/amix.h, m68k/apollo68.h, | |
5507 | m68k/crds.h, m68k/ctix.h, m68k/dpx2.h, m68k/hp2bsd.h, m68k/hp320.h, | |
5508 | m68k/hp3bsd.h, m68k/hp3bsd44.h, m68k/isi.h, m68k/linux-aout.h, | |
5509 | m68k/linux.h, m68k/lynx-ng.h, m68k/lynx.h, m68k/m68kemb.h, | |
5510 | m68k/m68kv4.h, m68k/mot3300.h, m68k/netbsd.h, m68k/news.h, | |
5511 | m68k/next.h, m68k/openbsd.h, m68k/pbb.h, m68k/plexus.h, m68k/rtems.h, | |
5512 | m68k/rtemself.h, m68k/sun2.h, m68k/sun3.h, m68k/sun3mach.h, | |
5513 | m68k/tower-as.h, m68k/tower.h, m68k/vxm68k.h, m88k/dgux.h, | |
5514 | m88k/dolph.h, m88k/luna.h, m88k/m88k-aout.h, m88k/m88k-coff.h, | |
5515 | m88k/openbsd.h, m88k/sysv3.h, m88k/sysv4.h, mips/bsd-4.h, | |
5516 | mips/bsd-5.h, mips/dec-bsd.h, mips/dec-osf1.h, mips/gnu.h, | |
5517 | mips/iris3.h, mips/iris5.h, mips/iris6.h, mips/linux.h, mips/mips.h, | |
5518 | mips/netbsd.h, mips/news4.h, mips/news5.h, mips/nws3250v4.h, | |
5519 | mips/openbsd.h, mips/osfrose.h, mips/rtems64.h, mips/sni-svr4.h, | |
5520 | mips/svr3-4.h, mips/svr3-5.h, mips/svr4-4.h, mips/svr4-5.h, | |
5521 | mips/ultrix.h, ns32k/encore.h, ns32k/merlin.h, ns32k/netbsd.h, | |
5522 | ns32k/ns32k.h, ns32k/pc532-mach.h, ns32k/pc532.h, ns32k/sequent.h, | |
5523 | ns32k/tek6000.h, ns32k/tek6100.h, ns32k/tek6200.h, pa/pa-hiux.h, | |
5524 | pa/pa-hpux.h, pa/pa-hpux7.h, pa/pa-linux.h, pa/pa-osf.h, | |
5525 | pa/pa-pro-end.h, pa/pa.h, pa/rtems.h, pj/linux.h, pj/pj.h, | |
5526 | romp/romp.h, rs6000/aix.h, rs6000/aix31.h, rs6000/aix41.h, | |
5527 | rs6000/aix43.h, rs6000/beos.h, rs6000/eabi.h, rs6000/eabisim.h, | |
5528 | rs6000/linux.h, rs6000/lynx.h, rs6000/mach.h, rs6000/rtems.h, | |
5529 | rs6000/sysv4.h, rs6000/vxppc.h, sh/elf.h, sh/linux.h, sh/rtems.h, | |
5530 | sh/rtemself.h, sh/sh.h, sparc/aout.h, sparc/elf.h, sparc/linux-aout.h, | |
5531 | sparc/linux.h, sparc/linux64.h, sparc/lite.h, sparc/litecoff.h, | |
5532 | sparc/liteelf.h, sparc/lynx-ng.h, sparc/lynx.h, sparc/netbsd.h, | |
5533 | sparc/openbsd.h, sparc/pbd.h, sparc/rtems.h, sparc/rtemself.h, | |
5534 | sparc/sol2-sld-64.h, sparc/sol2.h, sparc/sp64-aout.h, | |
5535 | sparc/sp64-elf.h, sparc/sp86x-aout.h, sparc/sp86x-elf.h, | |
5536 | sparc/sparc.h, sparc/sysv4.h, sparc/vxsim.h, sparc/vxsparc.h, | |
5537 | v850/rtems.h, vax/netbsd.h, vax/openbsd.h, vax/ultrix.h, vax/vax.h, | |
5538 | vax/vaxv.h, vax/vms.h, we32k/we32k.h | |
a8a05998 | 5539 | |
5b569332 NB |
5540 | Replace -A() with -A=, the new assertion syntax. |
5541 | ||
03afaf36 R |
5542 | Thu Nov 2 21:52:35 2000 J"orn Rennecke <amylaar@redhat.com> |
5543 | ||
5544 | * combine.c (distribute_notes): Use rtx_equal_p to check elim_i2 / | |
5545 | elim_i1. | |
5546 | In REG_DEAD handling: When handling parts of multi-hard-reg hard | |
5547 | registers, increment the loop counter by the size of the parts; | |
5548 | use recursion to handle individual parts. | |
5549 | ||
04e3be98 NB |
5550 | 2000-11-02 Neil Booth <neilb@earthling.net> |
5551 | ||
5552 | * configure.in: Make integrated CPP the default. | |
5553 | * configure: Regenerate. | |
5554 | ||
0192d704 R |
5555 | Thu Nov 2 19:20:12 2000 J"orn Rennecke <amylaar@redhat.com> |
5556 | ||
5557 | * reload.c (find_equiv_reg): Test all hard registers for membership | |
5558 | in the requested class. | |
5559 | ||
9473c522 JM |
5560 | 2000-11-02 Joseph S. Myers <jsm28@cam.ac.uk> |
5561 | ||
5562 | * collect2.c (main, write_c_file_stat), gcc.c (translate_options, | |
5563 | process_command, main), gcov.c (open_files, output_data), tlink.c | |
5564 | (frob_extension, scan_linker_output), toplev.c | |
5565 | (file_name_nondirectory): Use strchr () and strrchr () instead of | |
5566 | index () and rindex (). | |
5567 | ||
0304bbad JM |
5568 | 2000-11-02 Joseph S. Myers <jsm28@cam.ac.uk> |
5569 | ||
5570 | * c-common.c (get_flag_spec, check_format_info_main, | |
5571 | check_format_types): Use strchr () instead of index (). Compare | |
5572 | against error_mark_node instead of comparing the TREE_CODE against | |
5573 | ERROR_MARK. | |
5574 | ||
23356f93 ZW |
5575 | 2000-11-02 Zack Weinberg <zackw@Stanford.EDU> |
5576 | ||
a8a05998 ZW |
5577 | Integrated CPP. |
5578 | ||
5579 | * c-lex.c (init_c_lex): Update cpp_start_read call. | |
5580 | (cb_ident): Update for new callback prototype. | |
5581 | (cb_def_pragma): Update for new cpp_get_token prototype. | |
5582 | (c_lex): Similarly. Use cpp_get_line. | |
5583 | ||
5584 | * c-parse.in (finish_parse): Update for new cpp_finish | |
5585 | prototype. | |
5586 | ||
5587 | * cp/lex.c (finish_parse): Similarly. | |
23356f93 | 5588 | |
7a099817 GK |
5589 | 2000-11-01 Geoff Keating <geoffk@cygnus.com> |
5590 | ||
5591 | * machmode.def: Add V16QImode. | |
5592 | ||
a97c9600 RH |
5593 | 2000-11-01 Richard Henderson <rth@redhat.com> |
5594 | ||
5595 | * dwarf2out.c (loc_descriptor_from_tree): Check for null result | |
5596 | from rtl_for_decl_location. | |
5597 | (add_location_or_const_value_attribute): Likewise. | |
5598 | ||
a0a9606d NB |
5599 | 2000-11-01 Neil Booth <neilb@earthling.net> |
5600 | ||
a8a05998 ZW |
5601 | * cpplib.c (run_directive): Use correct line number for output |
5602 | of _Pragma. Remember any in-progress directive. | |
5603 | ||
5604 | * gcc.dg/cpp/vararg2.c, gcc.dg/cpp/_Pragm1.c: New tests. | |
a0a9606d | 5605 | |
ba89764a RH |
5606 | 2000-11-01 Richard Henderson <rth@redhat.com> |
5607 | ||
5608 | * stmt.c (expand_start_null_loop): Set continue_label. | |
5609 | ||
b0b3afb2 BS |
5610 | 2000-11-01 Bernd Schmidt <bernds@redhat.co.uk> |
5611 | ||
5612 | * builtins.c (fold_builtin_constant_p, fold_builtin): New functions. | |
5613 | (expand_builtin_constant_p): Move parts of the code into | |
5614 | fold_builtin_constant_p. | |
5615 | (expand_builtin_strlen): Move parts of the code into fold_builtin. | |
5616 | * expr.h (fold_builtin): Declare. | |
5617 | * fold-const.c (fold): Handle builtin calls. | |
5618 | ||
5619 | * c-typeck.c (build_function_call): Call fold on the CALL_EXPR. | |
5620 | ||
f0de0c5d RH |
5621 | 2000-11-01 Richard Henderson <rth@redhat.com> |
5622 | ||
5623 | * stmt.c (expand_start_null_loop): New. | |
a8a05998 | 5624 | (expand_end_null_loop): New. |
f0de0c5d RH |
5625 | * c-semantics.c (genrtl_do_stmt): Use them. |
5626 | * tree.h: Declare them. | |
5627 | ||
3a59c77c RH |
5628 | 2000-11-01 Richard Henderson <rth@redhat.com> |
5629 | ||
5630 | * cppmain.c (scan_buffer): Don't avoid paste for assembly. | |
5631 | ||
12c4f523 NB |
5632 | 2000-11-01 Neil Booth <neilb@earthling.net> |
5633 | ||
5634 | * c-parse.in (_yylex): Remove CPP_BACKSLASH case. | |
5635 | * cp/spew.c: Similarly. | |
5636 | * cpplex.c (_cpp_lex_token): Backslashes are now CPP_OTHER. | |
5637 | * cppmacro.c (stringify_arg): Similarly. | |
5638 | * cpplib.h (CPP_BACKSLASH): Delete. | |
5639 | ||
78e7629e KG |
5640 | 2000-10-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
5641 | ||
5642 | * builtins.c (expand_builtin_strstr): New function. | |
5643 | (expand_builtin): Handle BUILT_IN_STRSTR and BUILT_IN_STRCHR. | |
5644 | ||
5645 | * builtins.def (BUILT_IN_STRSTR, BUILT_IN_STRCHR): New entries. | |
5646 | ||
5647 | * c-common.c (c_common_nodes_and_builtins): Declare builtin strstr | |
5648 | and builtin strchr. | |
5649 | ||
32ee391b RH |
5650 | 2000-10-31 Richard Henderson <rth@redhat.com> |
5651 | ||
5652 | * config/i386/i386.c (fcmov_comparison_operator): Check for | |
5653 | CCFPmode or CCFPUmode instead of CCmode. | |
5654 | (ix86_expand_fp_movcc): Call ix86_expand_setcc for most | |
5655 | unordered operations as well. | |
5656 | ||
5f10ef5b RH |
5657 | 2000-10-31 Richard Henderson <rth@redhat.com> |
5658 | ||
5659 | * c-semantics.c (genrtl_do_stmt): Use integer_zerop instead | |
5660 | of integer_zero_node. | |
5661 | ||
d599b81f RH |
5662 | 2000-10-31 Richard Henderson <rth@redhat.com> |
5663 | ||
5664 | * c-semantics.c (genrtl_do_stmt): Special case do/while(0). | |
5665 | ||
1426f761 NC |
5666 | 2000-10-31 Nick Clifton <nickc@redhat.com> |
5667 | ||
5668 | * config/arm/unknown-elf.h (UNIQUE_SECTION_P): Do not allow | |
5669 | -fdata-sections to override the section attribute of a DECL. | |
5670 | ||
a8c0159a CD |
5671 | 2000-10-31 Chris Demetriou <cgd@sibyte.com> |
5672 | ||
5673 | * libgcc2.c (__shtab): Remove __shtab variable. | |
5674 | * libgcc-std.ver (GCC_3.0): Remove __shtab from symbol list. | |
5675 | * Makefile.in (LIB2FUNCS): Remove _shtab from list of library | |
5676 | members. | |
5677 | ||
8215347e JW |
5678 | 2000-10-31 Jim Wilson <wilson@redhat.com> |
5679 | ||
5680 | * defaults.h (ASM_OUTPUT_DEBUG_LABEL): New. | |
5681 | * tm.texi (ASM_OUTPUT_DEBUG_LABEL): Document. | |
5682 | * dwarf2out.c (dwarf2out_begin_block): Use ASM_OUTPUT_DEBUG_LABEL | |
5683 | instead of ASM_OUTPUT_INTERNAL_LABEL. | |
5684 | (dwarf2out_end_block, dwarf2out_label): Likewise. | |
5685 | * final.c (final_scan_insn, case NOTE_INSN_DELETED_LABEL): Likewise | |
5686 | * config/ia64/ia64.h (ASM_OUTPUT_DEBUG_LABEL): Define. | |
a8a05998 | 5687 | |
d8041cc8 RH |
5688 | 2000-10-31 Richard Henderson <rth@redhat.com> |
5689 | ||
5690 | * dwarf2out.c (struct dw_loc_descr_struct): Add dw_loc_addr. | |
5691 | (size_of_locs): Set it. | |
5692 | (output_loc_operands): Use it to compute branch displacement. | |
5693 | (int_loc_descriptor): New. | |
5694 | (mem_loc_descriptor): Dereference memory in the proper size. | |
5695 | Use DW_OP_plus_uconst when possible. Use int_loc_descriptor. | |
5696 | (loc_descriptor_from_tree): New. | |
5697 | (rtl_for_decl_location): Break out from ... | |
5698 | (add_location_or_const_value_attribute): ... here. | |
5699 | (add_bound_info): Use loc_descriptor_from_tree. | |
5700 | ||
86368122 NB |
5701 | 2000-10-31 Neil Booth <neilb@earthling.net> |
5702 | ||
5703 | * cpp.texi: Update for new command line assertion syntax. | |
5704 | * cpplib.c (cpp_define): Simplify a bit. | |
5705 | (cpp_assert, cpp_unassert): Use handle_assertion. | |
5706 | (handle_assertion): New function; accept new command line | |
5707 | syntax with '='. | |
5708 | * testsuite/gcc.dg/cpp/assert3.c: New tests. | |
5709 | ||
e1998242 NB |
5710 | 2000-10-31 Neil Booth <neilb@earthling.net> |
5711 | ||
5712 | * cppmacro.c (STDC_0_IN_SYSTEM_HEADERS): Define to 0 if | |
5713 | undefined. Remove #ifdef check. | |
5714 | * config/i386/sol2.h, config/rs6000/sol2.h, config/sparc/sol2.h: | |
5715 | Define STDC_0_IN_SYSTEM_HEADERS to 1. | |
5716 | ||
7e08e190 JH |
5717 | 2000-10-31 Jan Hubicka <jh@suse.cz> |
5718 | Jakub Jelinek <jakub@redhat.com> | |
5719 | ||
5720 | * config/i386/i386.h: Clarify CCNOmode description in comment. | |
5721 | (EXTRA_CC_MODES): Remove CCRCmode. | |
5722 | * config/i386/i386.c (ix86_comparison_operator): Remove CCRCmode. | |
5723 | (put_condition_code, ix86_match_ccmode): Likewise. | |
5724 | (ix86_cc_mode): Likewise. Fix comment. | |
5725 | (ix86_expand_strlensi_unroll_1): *rc patterns are gone. | |
5726 | * config/i386/i386.md: Add unspec 12 description. | |
5727 | (adddi3 split): Use unspec 12 instead of CCRCmode. | |
5728 | (addsi3_carry_rc): Remove. | |
5729 | (addsi3_cc, addqi3_cc): New patterns. | |
5730 | (addsi_3): Swap operands, match CCZmode. | |
5731 | (addsi_4): Rewritten. | |
5732 | (addsi_5): Renamed from addsi_6. | |
5733 | (addsi_6): Removed. | |
5734 | (addhi_3): Swap operands, match CCZmode. | |
5735 | (addhi_4): Rewritten. | |
5736 | (addhi_5): Renamed from addhi_6. | |
5737 | (addhi_6): Removed. | |
5738 | (addqi_3): Swap operands, match CCZmode. | |
5739 | (addqi_4): Rewritten. | |
5740 | (addqi_5): Renamed from addqi_6. Use =q constraint for clobber. | |
5741 | (subsi3_carry_rc): Removed. | |
5742 | (iorqi_3): Use =q constraint for clobber. | |
5743 | (xorqi_cc_2): Likewise. | |
5744 | (negdi2_1 split): Don't use CCRCmode, use ltu instead of gtu. | |
5745 | (x86_movsicc_0_m1_rc): Removed. | |
5746 | (cmp?i peepholes): Remove neg. Use CCGCmode instead of CCRCmode. | |
5747 | ||
93cc1c69 JM |
5748 | 2000-10-31 Joseph S. Myers <jsm28@cam.ac.uk> |
5749 | ||
5750 | * c-typeck.c (build_unary_op): If pedantic, pedwarn for increment | |
5751 | and decrement of complex types. | |
5752 | ||
bcb38cc1 KG |
5753 | 2000-10-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
5754 | ||
5755 | * builtins.c (expand_builtin_fputs): When deleting NOP calls to | |
5756 | builtin fputs, ensure we still evaluate the stream in case it | |
5757 | has side-effects. | |
5758 | ||
681cb233 JJ |
5759 | 2000-10-31 Jakub Jelinek <jakub@redhat.com> |
5760 | ||
5761 | * expr.c (do_store_flag): Pass operand_mode instead of GET_MODE (op0) | |
5762 | to expand_shift. | |
5763 | ||
4b9580a5 R |
5764 | Tue Oct 31 15:33:27 2000 J"orn Rennecke <amylaar@redhat.com> |
5765 | ||
5766 | * sh-protos.h (reg_no_subreg_operand, emit_fpscr_use): Don't declare. | |
5767 | (fp_extended_operand, emit_fpscr_use): Likewise. | |
5768 | * sh.c (reg_no_subreg_operand, fp_extended_operand): Delete functions. | |
5769 | (fpul_operand): New function. | |
5770 | * sh.h (PREDICATE_CODES): Remove reg_no_subreg_operand and | |
5771 | fp_extended_operand. Add fpul_operand. | |
5772 | * sh.md (mulsf3, mulsf3_i4): Use fp_arith_reg_operand for "f" operands. | |
5773 | (mulsf3_ie, macsf3, cmpgtsf_t, cmpeqsf_t, ieee_ccmpeqsf_t): Likewise. | |
5774 | (cmpgtsf_t_i4, cmpeqsf_t_i4, ieee_ccmpeqsf_t_4, negsf2): Likewise. | |
5775 | (negsf2_i, sqrtsf2, sqrtsf2_i, abssf2, abssf2_i, adddf3): Likewise. | |
5776 | (adddf3_i, subdf3, subdf3_i, muldf3, muldf3_i, divdf3): Likewise. | |
5777 | (divdf3_i): Likewise. | |
5778 | (floatsisf2): Likewise. Use fpul_operand for 'y' operand. | |
5779 | (floatsisf2_i4, floatsisf2_ie, fix_truncsfsi2): Likewise. | |
5780 | (fix_truncsfsi2_i4, fixsfsi, floatsidf2, floatsidf2_i): Likewise. | |
5781 | (fix_truncdfsi2, fix_truncdfsi2_i, extendsfdf2): Likewise. | |
5782 | (extendsfdf2_i4, truncdfsf2, truncdfsf2_i4): Likewise. | |
5783 | ||
332316cd BS |
5784 | 2000-10-31 Bernd Schmidt <bernds@redhat.co.uk> |
5785 | ||
a8a05998 | 5786 | * config/i386/i386.c (ix86_init_builtins): Correct return type |
332316cd BS |
5787 | building v4hi_ftype_v4hi_int_int tree node. |
5788 | (ix86_expand_builtin): Use correct operand numbers 0 and 1. | |
5789 | Copy operand 0 into a Pmode register, don't generate a MEM rtx. | |
5790 | ||
5791 | * config/i386/i386.md (sse_movntdi): Use mmx register constraint | |
5792 | for operand 1. | |
5793 | (mmx__uavgv8qi3): Correct insn mnemonic. | |
5794 | (mmx_psadbw): Correct insn mnemonic. Use V8QI mode for operands 1 and 2. | |
5795 | (mmx_punpckhwd): Correct insn mnemonic. | |
5796 | (mmx_punpckhdq): Likewise. | |
5797 | (mmx_punpcklwd): Likewise. | |
5798 | (mmx_punpckldq): Likewise. | |
5799 | (prefetch): Use immediare_operand and 'n' constraint for operand 1. | |
5800 | Renumber case labels to match the _mm_prefetch constants defined in | |
5801 | xmmintrin.h. | |
5802 | ||
1d766db0 BS |
5803 | * recog.c (split_all_insns): Don't try to call cleanup_subreg_operands |
5804 | if the splitter didn't emit new insns. | |
5805 | Make sure we call cleanup_subreg_operands even when splitting the last | |
5806 | insn in a basic block. | |
5807 | ||
8bb16620 BS |
5808 | * invoke.texi (Debugging Options): Describe -do. |
5809 | * toplev.c (enum_dump_file_index): New entry DFI_postreload. | |
5810 | (dump_file): Likewise. | |
5811 | (rest_of_compilation): Split .greg dump into .greg and .postreload. | |
5812 | ||
a5c3cccd NB |
5813 | 2000-10-30 Neil Booth <neilb@earthling.net> |
5814 | ||
5815 | * cppfiles.c (stack_include_file): Check for stacked contexts | |
5816 | here. | |
5817 | * cpphash.h (_cpp_do__Pragma): New prototype. | |
5818 | * cppinit.c (cpp_reader_init): Add _Pragma keyword to hash table. | |
5819 | ||
5820 | * cpplex.c (skip_escaped_newlines): Only process trigraphs and | |
5821 | escaped newlines if !(buffer->from_stage3). | |
5822 | (_cpp_lex_token): Warn about missing newlines iff | |
5823 | !buffer->from_stage3. | |
5824 | ||
5825 | * cpplib.c (get__Pragma_string, destringize, | |
5826 | _cpp_do__Pragma): New functions. | |
5827 | (run_directive): Set output_line for _Pragma to avoid line | |
5828 | markers in output. Set from_stage3 and prevent macro expansion | |
5829 | for _Pragma and command-line options. Check buffer exhaustion. | |
5830 | (cpp_push_buffer): Don't check for stacked macro contexts, as | |
5831 | this is perfectly legitimate for _Pragma. Move the check to | |
5832 | stack_include_file instead. Set from_stage3 iff buffer is | |
5833 | preprocessed input. | |
5834 | ||
5835 | * cpplib.h (struct cpp_buffer): Make warned_cplusplus_comments | |
5836 | unsigned. New boolean from_stage3. | |
5837 | (struct spec_nodes): Add n__Pragma. | |
5838 | ||
5839 | * cppmacro.c (enter_macro_context): Flip sense of return value. | |
5840 | (_cpp_get_token): Handle _Pragma operator. | |
5841 | ||
dbdaea41 PE |
5842 | 2000-10-30 Phil Edwards <pme@sources.redhat.com> |
5843 | ||
5844 | * gcc.texi: The C++ standard isn't "draft" anymore. | |
5845 | ||
8a47978d MM |
5846 | 2000-10-30 Mark Mitchell <mark@codesourcery.com> |
5847 | ||
5848 | * cppmacro.c (builtin_macro): Use NT_VOID, not T_VOID. | |
5849 | ||
1641a823 NB |
5850 | 2000-10-29 Neil Booth <neilb@earthling.net> |
5851 | ||
5852 | * cpplib.c (skip_rest_of_line): Use _cpp_get_token. | |
5853 | ||
8c7b74b9 JM |
5854 | 2000-10-29 Joseph S. Myers <jsm28@cam.ac.uk> |
5855 | ||
526aba28 JM |
5856 | * toplev.c, flags.h, fold-const.c, real.c, rtl.c, |
5857 | fixinc/inclhack.def: Change comments mentioning C9X to refer to | |
5858 | C99 instead. | |
5859 | ||
8c7b74b9 JM |
5860 | * invoke.texi: Document that -V will only work for very similar |
5861 | versions of driver and compiler. | |
5862 | ||
44ed91a1 NB |
5863 | 2000-10-29 Neil Booth <neilb@earthling.net> |
5864 | ||
5865 | * cppmacro.c (_cpp_create_definition): Optimize the case of | |
a8a05998 | 5866 | a macro defined to itself. |
44ed91a1 | 5867 | |
3542203b NB |
5868 | 2000-10-29 Neil Booth <neilb@earthling.net> |
5869 | ||
5870 | * cpplex.c (save_comment): Don't store new lines in C++ comments. | |
5871 | ||
6f268adf MH |
5872 | 2000-10-29 Michael Hayes <mhayes@redhat.com> |
5873 | ||
5874 | * integrate.c (copy_insn_list): Copy the unchanging flag for calls. | |
5875 | ||
926c5678 GK |
5876 | 2000-10-28 Geoffrey Keating <geoffk@cygnus.com> |
5877 | ||
5878 | * cpphash.c (cpp_forall_identifiers): Add context variable | |
5879 | for callback routine. | |
5880 | * cppmain.c (dump_macro): Update to match cpp_forall_identifiers | |
5881 | change. | |
5882 | (main): Call cpp_forall_identifiers with null context. | |
5883 | * cpplib.h (cpp_forall_identifiers): Update prototype. | |
5884 | ||
5885 | * cppmain.c: Make `parse_in' and `print' static. | |
5886 | ||
69f4cc4b AM |
5887 | 2000-10-28 Alan Modra <alan@linuxcare.com.au> |
5888 | ||
5889 | * c-decl.c (finish_function): Clear c_function_name_declared_p. | |
5890 | ||
ce73761f RH |
5891 | 2000-10-28 Richard Henderson <rth@redhat.com> |
5892 | ||
5893 | * regrename.c (scan_rtx_address): Frob action, not class, | |
5894 | when trying to disable optimization. | |
5895 | ||
2c21b247 MM |
5896 | 2000-10-28 Mark Mitchell <mark@codesourcery.com> |
5897 | ||
5898 | * c-semantics.c (make_rtl_for_local_static): Don't clobber | |
5899 | DECL_ASSEMBLER_NAME. | |
5900 | ||
8763704d JM |
5901 | 2000-10-28 Joseph S. Myers <jsm28@cam.ac.uk> |
5902 | ||
5903 | * configure.in: Determine and substitute gcc_version_full. | |
5904 | * configure: Regenerate. | |
5905 | * gccbug.in: Use it to give full version. Don't allow | |
5906 | confidential PRs. | |
5907 | ||
85941a0a RH |
5908 | 2000-10-28 Richard Henderson <rth@redhat.com> |
5909 | ||
5910 | * recog.c (split_all_insns): Run cleanup_subreg_operands | |
5911 | after reload. | |
5912 | ||
5913 | * regrename.c (regrename_optimize): Verify that all registers of | |
5914 | a multiple register mode are available. | |
5915 | (scan_rtx_address): Accept the mode of the address; all callers | |
5916 | changed. | |
5917 | ||
5918 | * cpplib.c (run_directive): Fix prototype. | |
5919 | ||
69add2a8 BS |
5920 | 2000-10-28 Bernd Schmidt <bernds@redhat.co.uk> |
5921 | ||
5922 | * reload.c (find_reloads): Distinguish "wins" so that we know whether | |
5923 | a given operand won because of a matching constraint or not; then use | |
5924 | that information to compute goal_alternative_matched properly. | |
4c3a2649 BS |
5925 | * reload1.c (choose_reload_regs): Never set reload_override_in for an |
5926 | optional reload. | |
69add2a8 | 5927 | |
005f39ce BS |
5928 | * config/ia64/ia64.h (RTX_COSTS): A few more entries, and a more |
5929 | accurate value for MULT. | |
55d8cb78 BS |
5930 | * config/ia64/ia64.c (ia64_print_operand): Require probability to be |
5931 | 2% or > 98% before using static branch prediction bits. | |
005f39ce | 5932 | |
93c80368 NB |
5933 | 2000-10-28 Neil Booth <neilb@earthling.net> |
5934 | ||
5935 | New macro expander. | |
a8a05998 | 5936 | |
93c80368 NB |
5937 | * cpplib.c (struct answer): New. |
5938 | (struct if_stack): Use cpp_lexer_pos rather than line and col. | |
5939 | Rename cmacro mi_cmacro. | |
5940 | (struct directive, KANDR, STDC89, EXTENSION, COND, IF_COND, INCL, | |
5941 | IN_I): New directive and flags. | |
5942 | (skip_rest_of_line, check_eol, run_directive, glue_header_name, | |
5943 | parse_answer, parse_assertion, find_answer): New functions. | |
5944 | (parse_ifdef, detect_if_not_defined, validate_else): Remove. | |
5945 | (lex_macro_node): New function to replace parse_ifdef and | |
5946 | get_define_node. | |
5947 | ||
5948 | (_cpp_handle_directive): New function, combines _cpp_check_directive | |
5949 | and _cpp_check_linemarker. | |
5950 | ||
5951 | (do_define, do_undef, parse_include, do_include, do_import, | |
5952 | do_include_next, read_line_number, do_line, do_ident, do_pragma, | |
5953 | do_pragma_once, do_pragma_poison, do_pragma_dependency): | |
5954 | Update for new token getting interface. | |
5955 | ||
5956 | (do_ifdef, do_ifndef, do_if, do_else, do_endif, push_conditional) | |
5957 | : Update for new multiple-include optimisation technique. | |
5958 | (do_elif): Don't forget to invalidate controlling macros. | |
5959 | ||
5960 | (unwind_if_stack, cpp_defined, cpp_push_buffer, cpp_pop_buffer): Update. | |
5961 | (parse_assertion, parse_answer, find_answer, _cpp_test_assertion): | |
5962 | Functions to handle assertions with the new token interface. | |
5963 | (do_assert, do_unassert): Use them. | |
5964 | ||
5965 | (cpp_define, _cpp_define_builtin, cpp_undef, cpp_assert, cpp_unassert): | |
5966 | Use run_directive. | |
5967 | ||
5968 | (_cpp_init_stacks): Register directive names. Don't register special | |
5969 | nodes. | |
5970 | ||
5971 | * cpperror.c (print_containing_files, _cpp_begin_message): Update to | |
5972 | new position recording regime. | |
5973 | (cpp_ice, cpp_fatal, cpp_error, cpp_error_with_line, cpp_warning, | |
5974 | cpp_warning_with_line, cpp_pedwarn, cpp_pedwarn_with_line, | |
5975 | cpp_pedwarn_with_file_and_line): Update for _cpp_begin_message changes. | |
5976 | (cpp_type2name): Move to cpplex.c. | |
5977 | ||
5978 | * cppexp.c (parse_charconst): spec_nodes is no longer a pointer. | |
5979 | (parse_defined): Update to handle new multiple include optimisation | |
5980 | method. Remove poisoned identifier warning. | |
5981 | (parse_assertion, TYPE_NAME): Delete. | |
5982 | (lex): Update for multiple include optimisation, removal of | |
5983 | CPP_DEFINED, to use _cpp_test_assertion for assertions and | |
5984 | cpp_token_as_text. | |
5985 | (_cpp_parse_expr): Update for MI optimisation, and to use op_as_text. | |
5986 | (op_as_text): New function, to wrap cpp_token_as_text. | |
5987 | ||
5988 | * cppfiles.c (stack_include_file, _cpp_pop_file_buffer): | |
5989 | Update for MI optimisation. | |
5990 | (_cpp_execute_include): Take a token rather than 3 arguments. Fix | |
5991 | segfault on diagnostic. | |
5992 | (_cpp_compare_file_date): Take a token rather than 3 args. | |
5993 | (cpp_read_file): Work correctly for zero-length files. | |
5994 | ||
5995 | * cpphash.c (_cpp_init_macros, _cpp_cleanup_macros): Rename | |
5996 | _cpp_init_hashtable and _cpp_cleanup_hashtable. | |
5997 | (cpp_lookup): Place identifiers at front of identifier pool | |
5998 | for _cpp_lookup_with_hash. | |
5999 | (_cpp_lookup_with_hash): Require identifiers to be at the front of | |
6000 | the identifier pool. Commit the memory if not already in the | |
6001 | hash table. | |
6002 | ||
6003 | * cppinit.c (cpp_reader_init): Move cpp_init_completed test to top. | |
6004 | Initialise various members of cpp_reader, memory pools, and the | |
6005 | special nodes. | |
6006 | (cpp_printer_init): Delete. | |
6007 | (cpp_cleanup): Update. | |
6008 | (struct builtin, builtin_array, initialize_builtins): Update for new | |
6009 | hashnode definition and builtin handling. | |
6010 | (cpp_start_read, cpp_finish): Don't take or initialise a | |
6011 | printer. Update. | |
6012 | ||
6013 | * cpplib.h (cpp_printer, cpp_toklist, CPP_DEFINED, BOL, | |
6014 | PASTED, VAR_ARGS, BEG_OF_FILE, IN_DIRECTIVE, KNOWN_DIRECTIVE, | |
6015 | T_VOID, T_SPECLINE, T_DATE, T_FILE, T_BASE_FILE, T_INCLUDE_LEVEL, | |
6016 | T_TIME, T_STDC, T_OPERATOR, T_POISON, T_MACRO, T_ASSERTION): Delete. | |
6017 | (struct cpp_pool, struct cpp_macro, struct cpp_lexer_pos, | |
6018 | struct cpp_lookahead, CPP_DHASH, enum mi_state, enum mi_ind, | |
6019 | NO_EXPAND, VARARGS_FIRST, struct cpp_token_with_pos, | |
6020 | struct toklist, struct cpp_context, struct specnodes, | |
6021 | TOKEN_LOOKAHEAD, TOKEN_BUFFSIZE, NODE_OPERATOR, NODE_POISONED, | |
6022 | NODE_BUILTIN, NODE_DIAGNOSTIC, NT_VOID, NT_MACRO, NT_ASSERTION, | |
6023 | enum builtin_type, cpp_can_paste): New. | |
6024 | (struct cpp_token): Delete line and col members. | |
6025 | (struct cpp_buffer): New member output_lineno. | |
6026 | (struct lexer_state): Delete indented, in_lex_line, seen_dot. | |
6027 | Add va_args_ok, poisoned_ok, prevent_expansion, parsing_args. | |
6028 | (struct cpp_reader): New members lexer_pos, macro_pos, directive_pos, | |
6029 | ident_pool, temp_string_pool, macro_pool, argument_pool, string_pool, | |
6030 | base_context, context, directive, mi_state, mi_if_not_defined, | |
6031 | mi_lexed, mi_cmacro, mi_ind_cmacro, la_read, la_write, la_unused, | |
6032 | mlstring_pos, macro_buffer, macro_buffer_len. | |
6033 | Delete members mls_line, mls_column, token_list, potential_control_macro, | |
6034 | temp_tokens, temp_cap, temp_alloced, temp_used, first_directive_token, | |
6035 | context_cap, cur_context, no_expand_level, paste_level, contexts, args, | |
6036 | save_parameter_spellings, need_newline, . | |
6037 | Change type of date, time and spec_nodes members. | |
6038 | Change prototypes for include and ident callbacks. | |
6039 | (struct cpp_hashnode): Change type of name. Remove union members | |
6040 | expansion and code. Add members macro, operator and builtin. | |
6041 | ||
6042 | (cpp_token_len, cpp_token_as_text, cpp_spell_token, cpp_start_read, | |
6043 | cpp_finish, cpp_avoid_paste, cpp_get_token, cpp_get_line, | |
6044 | cpp_get_output_line, cpp_macro_definition, cpp_start_lookahead, | |
6045 | cpp_stop_lookahead): New prototypes. | |
6046 | (cpp_printer_init, cpp_dump_definition): Delete prototypes. | |
6047 | ||
6048 | (U_CHAR, U, ustrcmp, ustrncmp, ustrlen, uxstrdup, ustrchr, ufputs): | |
6049 | Move from cpphash.h. | |
6050 | ||
6051 | * cpphash.h (U_CHAR, U, ustrcmp, ustrncmp, ustrlen, uxstrdup, ustrchr, | |
6052 | ufputs): Move to cpplib.h. | |
6053 | (enum spell_type, struct token_spelling, _cpp_token_spellings, TOKEN_SPELL, | |
6054 | TOKEN_NAME, struct answer, FREE_ANSWER, KANDR, STDC89, EXTENSION, | |
6055 | COND, EXPAND, INCL, COMMENTS, IN_I, struct directive, directive_handler, | |
6056 | struct spec_nodes, _cpp_digraph_spellings, _cpp_free_temp_tokens, | |
6057 | _cpp_init_input_buffer, _cpp_grow_token_buffer, _cpp_init_toklist, | |
6058 | _cpp_clear_toklist, _cpp_expand_token_space, _cpp_expand_name_space, | |
6059 | _cpp_equiv_tokens, _cpp_equiv_toklists, _cpp_process_directive, | |
6060 | _cpp_run_directive, _cpp_get_line, _cpp_get_raw_token, _cpp_glue_header_name, | |
6061 | _cpp_can_paste, _cpp_check_directive, _cpp_check_linemarker, | |
6062 | _cpp_parse_assertion, _cpp_find_answer): Delete. | |
6063 | (VALID_SIGN, ALIGN, POOL_FRONT, POOL_LIMIT, POOL_BASE, POOL_SIZE, | |
6064 | POOL_USED, POOL_COMMIT, struct cpp_chunk, _cpp_lex_token, _cpp_init_pool, | |
6065 | _cpp_free_pool, _cpp_pool_reserve, _cpp_pool_alloc, _cpp_next_chunk, | |
6066 | _cpp_lock_pool, _cpp_unlock_pool, _cpp_test_assertion, | |
6067 | _cpp_handle_directive, DSC): New. | |
6068 | (struct include_file): New member defined. | |
6069 | ||
6070 | (DO_NOT_REREAD, _cpp_begin_message, _cpp_execute_include, | |
6071 | _cpp_compare_file_date): Update. | |
6072 | (_cpp_pop_context, _cpp_get_token, _cpp_free_lookaheads, _cpp_push_token): New. | |
6073 | (_cpp_init_macros, _cpp_cleanup_macros): Rename to _cpp_init_hashtable, | |
6074 | _cpp_cleanup_hashtable. | |
6075 | ||
6076 | * Makefile.in: Remove cppoutput.c. | |
a8a05998 | 6077 | |
93c80368 NB |
6078 | * cppoutput.c: Delete |
6079 | ||
6080 | * fixheader.c (read_scan_file): Update for new cpp_get_token | |
6081 | prototype. | |
6082 | (recognized_function): New argument LINE. | |
6083 | ||
6084 | * scan-decls.c (skip_to_closing_brace, scan_decls): Update for | |
6085 | new cpp_get_token prototype. | |
6086 | ||
6087 | * scan.h (recognized_function): Update prototype. | |
6088 | ||
6089 | * po/POTFILES.in: Remove cppoutput.c. | |
a8a05998 | 6090 | |
229a2e65 MM |
6091 | 2000-10-27 Mark Mitchell <mark@codesourcery.com> |
6092 | ||
6093 | * c-typeck.c (check_init_type_bitfields): Remove. | |
6094 | (constructor_incremental): Likewise. | |
6095 | (struct constructor_stack): Remove incremental bit. | |
6096 | (struct initializer_stack): Likewise. | |
6097 | (start_init): Don't play with constructor_incremental. | |
6098 | (finish_init): Likewise. | |
6099 | (really_start_incremental_init): Likewise. | |
6100 | (push_init_level): Likewise. | |
6101 | (pop_init_level): Likewise. | |
6102 | (output_init_level): Likewise. | |
6103 | (output_pending_init_elements): Likewise. | |
6104 | ||
63eb1269 MC |
6105 | 2000-10-21 Mike Coleman <mcoleman2@kc.rr.com> |
6106 | ||
6107 | * c-pragma.c (handle_pragma_pack): Initialize align to -1. | |
a8a05998 | 6108 | Improve error messages. Correct parsing of |
63eb1269 MC |
6109 | #pragma pack(pop [,id]). Do not check the user-supplied |
6110 | alignment if we're popping. | |
6111 | ||
6112 | * gcc.dg/pack-test-1.c: New test case. | |
6113 | * gcc.dg/pack-test-2.c: New test case. | |
6114 | * gcc.dg/pack-test-1.h: New file. | |
6115 | ||
ae2eceaa NB |
6116 | 2000-10-27 Neil Booth <neilb@earthling.net> |
6117 | ||
6118 | * cpp.texi: Update. | |
6119 | ||
04e149ab KC |
6120 | 2000-10-27 Kelley Cook <kelley.cook@home.com> |
6121 | ||
6122 | * invoke.texi: Document -mintel-syntax | |
6123 | ||
2b2a8f1f RH |
6124 | 2000-10-27 Richard Henderson <rth@redhat.com> |
6125 | ||
6126 | * invoke.texi: Document -frename-registers. Add it to -O3. | |
6127 | * toplev.c (rest_of_compilation): Run regrename before ifcvt2. | |
6128 | (enum dump_file_index, dump_file): Update order. | |
6129 | (main): Set flag_rename_registers at -O3. | |
6130 | ||
10c9f189 RH |
6131 | 2000-10-27 Richard Henderson <rth@redhat.com> |
6132 | ||
93c89ab3 RH |
6133 | * config/alpha/alpha.h (enum reg_class): Add PV_REG. |
6134 | (REG_CLASS_NAMES, REG_CLASS_CONTENTS, REGNO_REG_CLASS): Update. | |
6135 | (REG_CLASS_FROM_LETTER): Assign it to 'c'. | |
6136 | * config/alpha/alpha.md (call_osf_1): Use it. | |
6137 | (call_value_osf_1): Likewise. | |
6138 | ||
10c9f189 RH |
6139 | * config/ia64/ia64.c: Revert 10-23 patch. |
6140 | (ia64_hard_regno_rename_ok): New. | |
6141 | * config/ia64/ia64-protos.h: Declare it. | |
6142 | * config/ia64/ia64.h (HARD_REGNO_RENAME_OK): Use it. | |
6143 | ||
541f7d56 BS |
6144 | 2000-10-27 Bernd Schmidt <bernds@redhat.co.uk> |
6145 | Richard Henderson <rth@redhat.com> | |
6146 | ||
a8a05998 ZW |
6147 | * regrename.c: Rewrite to handle multi-register modes and |
6148 | cond_exec instructions. | |
6149 | * Makefile.in (regrename.o): Update dependancies. | |
6150 | * recog.h (struct operand_alternative): Add is_address. | |
6151 | * recog.c (preprocess_constraints) [case 'p']: Set it. | |
541f7d56 | 6152 | |
b8dad04b ZW |
6153 | 2000-10-27 Zack Weinberg <zack@wolery.stanford.edu> |
6154 | ||
6155 | * configure.in: If not NO_MINUS_C_MINUS_O, substitute | |
6156 | OUTPUT_OPTION with '-o $@'. Make zlibdir, zlibinc relative to | |
6157 | top level. Kill oldstyle_subdirs. Do not include | |
6158 | $srcdir/$s/Makefile.in in all_lang_makefiles, but do include | |
6159 | $outputs. Do not run configure.lang from config.status. | |
6160 | Rearrange warning-flag logic to correspond to what the | |
6161 | makefile wants. Put special vax stage1 options in | |
6162 | @stage1_flags@ not @stage1_warn_cflags@. Don't do anything | |
6163 | with extra_c_objs, extra_cxx_objs, or extra_cpp_objs. | |
6164 | (--enable-c-cpplib): AC_SUBST(maybe_cpplib) with "libcpp.a" if | |
6165 | switch is given, nothing otherwise. | |
6166 | * configure.lang: Delete. | |
6167 | ||
a8a05998 ZW |
6168 | * Makefile.in: Expunge all traces of extra_c_objs, |
6169 | extra_cxx_objs, and extra_cpp_objs. Set MAYBE_CPPLIB from | |
6170 | @maybe_cpplib@. Add $(MAYBE_CPPLIB) to C_AND_OBJC_OBJS. Set | |
6171 | warning options via a three level scheme so that -pedantic and | |
6172 | -Wtraditional are not used for non-C front ends: LOOSE_WARN, | |
6173 | STRICT1_WARN, STRICT2_WARN -> $(@D)-warn, GCC_WARN_CFLAGS -> | |
6174 | WARN_CFLAGS. Distinguish STAGE1_CFLAGS from BOOT_CFLAGS. | |
b8dad04b ZW |
6175 | Add -I$(@D) and -I$(srcdir)/$(@D) to INCLUDES. |
6176 | Set OUTPUT_OPTION, ZLIB, ZLIBINC. Do not set P, | |
a8a05998 ZW |
6177 | LANG_FLAGS_TO_PASS. Add OUTPUT_OPTION to all object-file |
6178 | generation rules. Wrap all rules that change the current | |
6179 | directory in parentheses; pmake doesn't spawn a new shell for | |
6180 | each command. Expunge all references to $(P). When one | |
6181 | command depends on another and they're run all at once, use && | |
6182 | to separate them, not ;. Add libgcc_s$(SHLIB_EXT) to files | |
6183 | deleted on make clean. Force OUTPUT_OPTION='-o $@' in stage2 | |
6184 | and beyond. | |
b8dad04b ZW |
6185 | |
6186 | * objc/Make-lang.in: Wrap all rules that change the current | |
6187 | directory in parentheses. Expunge all references to $(P). | |
6188 | When one command depends on another and they're run all at | |
6189 | once, use && to separate them, not ;. Add OUTPUT_OPTION to | |
6190 | all object-file generation rules. Delete obsolete variables. | |
6191 | * objc/Makefile.in: Delete. | |
6192 | ||
fadb729c JJ |
6193 | 2000-10-27 Jakub Jelinek <jakub@redhat.com> |
6194 | ||
6195 | * calls.c (expand_call): If sibcall_failure is set during pass 1, | |
6196 | clear tail_call_insns as well. | |
6197 | ||
254bb256 NC |
6198 | 2000-10-27 Nick Clifton <nickc@redhat.com> |
6199 | ||
6200 | * config/arm/arm-protos.h (arm_function_ok_for_sibcall): Add | |
6201 | prototype. | |
6202 | ||
8eb99146 RH |
6203 | 2000-10-26 Richard Henderson <rth@redhat.com> |
6204 | ||
b8dad04b | 6205 | * calls.c (expand_call): Supress sibcall if we have a |
8eb99146 RH |
6206 | BLKmode return in registers. |
6207 | ||
036099eb BS |
6208 | 2000-10-26 Bernd Schmidt <bernds@redhat.co.uk> |
6209 | ||
6210 | * ia64.h (PREFERRED_RELOAD_CLASS): Force floating point constants | |
6211 | into memory. | |
6212 | ||
13c6f0d5 NS |
6213 | 2000-10-26 Nathan Sidwell <nathan@codesourcery.com> |
6214 | ||
6215 | * tree.c (make_node, case 't'): Set alignment to that of | |
6216 | char_type_node. | |
6217 | * expr.c (move_by_pieces_ninsns): Abort if some length remains. | |
6218 | ||
be5aeb60 MM |
6219 | 2000-10-25 Mark Mitchell <mark@codesourcery.com> |
6220 | ||
6221 | * Makefile.in (site.exp): Define HAVE_LIBSTDCXX_V3. | |
6222 | * configure.in (enable-libstdcxx-v3): Arrange to have | |
6223 | HAVE_LIBSTDCXX_V3 substituted into the output files. | |
6224 | ||
78192b09 RH |
6225 | 2000-10-25 Richard Henderson <rth@redhat.com> |
6226 | ||
4667f705 RH |
6227 | * recog.c (constrain_operands): Initialize which_alternative |
6228 | before no alternatives early exit. | |
6229 | ||
78192b09 RH |
6230 | * cse.c (find_comparison_args): Check that we can reverse a |
6231 | comparison if needed before accepting the substitution. | |
6232 | ||
081b49f1 RH |
6233 | * reload.c (find_reloads_address_part): Kill rtx obstack hackery. |
6234 | ||
d4f1c1fa RH |
6235 | * simplify-rtx.c (simplify_relational_operation): Sign extend |
6236 | low words before sign extending to high words. | |
6237 | ||
bc27e96c NC |
6238 | 2000-10-25 Nick Clifton <nickc@redhat.com> |
6239 | ||
6240 | * config/mcore/mcore.c: Include config.h before system.h. | |
6241 | ||
6242 | 2000-10-25 Ray Essick <essick@ddna.labs.mot.com> | |
6243 | ||
6244 | * config/mcore/mcore.md (return): Force function epilogue to | |
6245 | always be generated to work around epilogue suppression bug in | |
6246 | M*Core backend. | |
6247 | ||
e0c9fbb7 JM |
6248 | 2000-10-25 Joseph S. Myers <jsm28@cam.ac.uk> |
6249 | ||
6250 | * c-decl.c (grokdeclarator): Move warning for qualified void | |
6251 | return types with -pedantic to when the function type is | |
6252 | constructed. At -W, warn in general for qualified function return | |
6253 | types, except for volatile void. | |
6254 | * invoke.texi: Document this new warning at -W. | |
6255 | ||
138e79e7 NB |
6256 | 2000-10-25 Neil Booth <neilb@earthling.net> |
6257 | ||
b8dad04b ZW |
6258 | * cpp.texi: Update with implementation-defined behavior and |
6259 | internal limits. | |
138e79e7 | 6260 | |
dc5041ab JJ |
6261 | 2000-10-25 Jakub Jelinek <jakub@redhat.com> |
6262 | ||
6263 | * stor-layout.c (layout_type): If TYPE_ALIAS_SET was already set on the | |
6264 | incomplete type force it into alias set 0. | |
6265 | ||
e004f2f7 JW |
6266 | Wed Oct 25 01:02:44 EDT 2000 John Wehle (john@feith.com) |
6267 | ||
6268 | * alias.c: Include basic-block.h. | |
6269 | (loop_p): New function. | |
6270 | (mark_constant_function): Use it. | |
6271 | * Makefile.in (alias.o): Update dependencies. | |
6272 | ||
15c09738 AH |
6273 | 2000-10-24 Aldy Hernandez <aldyh@redhat.com> |
6274 | ||
6275 | * config/mn10300/mn10300.c (secondary_reload_class): Treat pseudos | |
6276 | like memory. | |
b8dad04b | 6277 | |
a8ca7756 JW |
6278 | 2000-10-24 Jim Wilson <wilson@cygnus.com> |
6279 | ||
6280 | * expmed.c (store_bit_field): Move integer pun code down after | |
6281 | code that calls emit_move_insn for entire register move. | |
6282 | * stor-layout.c (compute_record_mode): Revert Mar 25, Aug 18, and | |
6283 | Oct 20 changes. Only store mode in TYPE_MODE if RECORD_TYPE. | |
b8dad04b | 6284 | |
c0fc376b RH |
6285 | 2000-10-24 Richard Henderson <rth@cygnus.com> |
6286 | ||
6287 | * rtlanal.c (rtx_unstable_p, rtx_varies_p): Don't consider pic | |
6288 | register stable if PIC_OFFSET_TABLE_REG_CALL_CLOBBERED. | |
6289 | ||
d7836e38 AH |
6290 | 2000-10-24 Aldy Hernandez <aldyh@redhat.com> |
6291 | ||
b8dad04b ZW |
6292 | * gcse.c (cprop_insn): do not propagate constants into jump_insn |
6293 | for machines with CC0 more than once. | |
d7836e38 | 6294 | |
5e2c51ba RH |
6295 | 2000-10-24 Richard Henderson <rth@cygnus.com>, Aldy <aldyh@cygnus.com> |
6296 | ||
b8dad04b ZW |
6297 | * config/mn10300/mn10300.h (PREFERRED_RELOAD_CLASS): Treat |
6298 | pseudos just like memory. | |
5e2c51ba | 6299 | |
c71e1201 AO |
6300 | 2000-10-24 Alexandre Oliva <aoliva@redhat.com> |
6301 | ||
6302 | * combine.c (distribute_notes): Discard REG_LIBCALL and REG_RETVAL | |
6303 | when deleting libcall sequence collapsed to a single instruction. | |
6304 | ||
5129d2ce AH |
6305 | 2000-10-24 Andrew Haley <aph@cygnus.co.uk> |
6306 | ||
6307 | * expr.c (do_store_flag): Don't crash if either side of a | |
6308 | comparison is error_mark_node. | |
6309 | ||
f85b5d65 JJ |
6310 | 2000-10-24 Jakub Jelinek <jakub@redhat.com> |
6311 | ||
6312 | * sibcall.c (purge_mem_unchanging_flag): New function. | |
6313 | (optimize_sibling_and_tail_recursive_calls): Call it. | |
6314 | ||
4adee315 PT |
6315 | 2000-10-24 Philipp Thomas <pthomas@suse.de> |
6316 | ||
6317 | * Makefile.in (check-po): New target for doing checks in the po | |
6318 | subdir if all languages configured. | |
6319 | (CHECK_TARGETS): Add @CHECK_PO@, replaced with check-po via | |
6320 | configure if NLS is enabled. | |
6321 | * configure.in: If NLS is enabled, substitute CHECK_PO by check-po, | |
6322 | otherwise leave empty. | |
6323 | * configure: Regenerate. | |
6324 | ||
fb204271 DN |
6325 | 2000-10-23 Diego Novillo <dnovillo@cygnus.com> |
6326 | ||
6327 | * i386.c (print_operand): Handle new 'A' formatting code. | |
6328 | 387 opcodes need suffixes even with -mintel-syntax. | |
6329 | Check for explicit size override (codes 'b', 'w' and 'k'). | |
6330 | (print_operand_address): Check if register prefix is needed when | |
6331 | emitting `ds' segment override. | |
6332 | * i386.h: Add comment about new 'A' formatting code. | |
6333 | * i386.md (jump and call patterns): Emit absolute references using %A. | |
6334 | ||
8a959ea5 RH |
6335 | 2000-10-23 Richard Henderson <rth@cygnus.com> |
6336 | ||
b8dad04b | 6337 | * config/ia64/ia64.c (ia64_expand_prologue): Mark extra |
8a959ea5 RH |
6338 | output registers as fixed. |
6339 | (ia64_function_epilogue): Undo output fixation. | |
6340 | ||
964686de RH |
6341 | 2000-10-23 Richard Henderson <rth@cygnus.com> |
6342 | ||
6343 | * config/alpha/alpha.md: Add names for all unnamed insns; use | |
6344 | define_insn_and_split in some obvious places. | |
6345 | (lda): Remove. | |
6346 | (zero_extendqihi2): Use an expander w/ nonimmediate_operand for BWX. | |
6347 | (zero_extendqisi2, zero_extendqidi2): Likewise. | |
6348 | (zero_extendhisi2, zero_extendhidi2): Likewise. | |
6349 | (abs splitters): Fix match_scratch operand number. | |
6350 | (bcc_reverse): Swap pc & label instead of non-canonical compare. | |
6351 | ||
18a3c539 JW |
6352 | 2000-10-23 Jim Wilson <wilson@cygnus.com> |
6353 | ||
6354 | * ia64.c (ia64_print_operand, case 'r'): Correct comment. Handle | |
6355 | CONST_INT. | |
6356 | * ia64.md (cmpsi_adjusted): Use %r3. | |
6357 | (cmpdi_adjusted): Likewise. | |
6358 | ||
57dd137f DN |
6359 | 2000-10-23 Diego Novillo <dnovillo@cygnus.com> |
6360 | ||
6361 | * config/i386/att.h (ASM_FILE_START): Define. | |
6362 | ||
d984704d DN |
6363 | 2000-10-23 Diego Novillo <dnovillo@cygnus.com> |
6364 | ||
6365 | * config/i386/linux.h (ASM_FILE_START): Define. | |
6366 | ||
261f21e7 DL |
6367 | Wed Oct 18 11:16:40 2000 Donald Lindsay <dlindsay@cygnus.com> |
6368 | ||
6369 | * gcc/configure.in: m68k-coff tm_file should not have libgloss.h, | |
6370 | since this (only) drags in a crt0.o reference that the .ld files | |
6371 | also introduce. | |
6372 | ||
96af667a GK |
6373 | 2000-10-23 Geoff Keating <geoffk@cygnus.com> |
6374 | ||
2af88768 GK |
6375 | * reload1.c (reload_reg_reaches_end_p): A RELOAD_OTHER can |
6376 | overwrite the value in a RELOAD_FOR_INPUT and other kinds of | |
6377 | reloads just like an RELOAD_FOR_OUTPUT would. | |
6378 | ||
96af667a GK |
6379 | * local-alloc.c (update_equiv_regs): Add an abort(). When |
6380 | deleting or moving insns, update reg_equiv[regno].init_insns. | |
6381 | ||
d252a515 MM |
6382 | 2000-10-23 Mark Mitchell <mark@codesourcery.com> |
6383 | ||
6384 | * c-tree.texi: Improve documentation for IF_STMTs and related | |
6385 | conditional statements. | |
6386 | ||
f9808f81 MM |
6387 | 2000-10-22 Mark Mitchell <mark@codesourcery.com> |
6388 | ||
6389 | * expr.c (do_preexpand_calls): Remove. | |
6390 | (same_from_p): Don't use CALL_EXPR_RTL. | |
6391 | (expand_expr): Don't call preexpand_calls, or use CALL_EXPR_RTL. | |
6392 | (preexpand_calls): Remove. | |
6393 | * tree.c (first_rtl_op): Remove CALL_EXPR case. | |
6394 | (unsave_expr_1): Likewise. | |
6395 | * tree.def (CALL_EXPR): Give it only two slots. | |
6396 | * tree.h (CALL_EXPR_RTL): Remove. | |
6397 | ||
ae4bd622 CC |
6398 | 2000-10-21 Chandrakala Chavva <cchavva@redhat.com> |
6399 | ||
6400 | * libgcc-std.ver (__addvsi3, __addvdi3, __subvsi3, __subvdi3, | |
b8dad04b ZW |
6401 | __mulvsi3, __negvsi2, __negvdi2, __absvsi2, __absvdi2, __mulvdi3): |
6402 | New functions. | |
ae4bd622 | 6403 | |
3e555c7d AO |
6404 | 2000-10-22 Alexandre Oliva <aoliva@redhat.com> |
6405 | ||
6406 | * calls.c (combine_pending_stack_adjustment_and_call): Don't | |
6407 | adjust stack when unadjusted_alignment ends up as zero. | |
6408 | ||
99bdaa68 JM |
6409 | 2000-10-22 Joseph S. Myers <jsm28@cam.ac.uk> |
6410 | ||
6411 | * fixinc/genfixes: Remove EGCS reference. | |
6412 | * install.texi: Remove EGCS reference. | |
6413 | * INSTALL: Regenerate. | |
6414 | ||
e36308b0 MM |
6415 | 2000-10-22 Mark Mitchell <mark@codesourcery.com> |
6416 | ||
6417 | * tree.h (TYPE_IS_SIZETYPE): Add more documentation. | |
6418 | ||
bf6eb15f JM |
6419 | 2000-10-21 Joseph S. Myers <jsm28@cam.ac.uk> |
6420 | ||
6421 | * diagnostic.c: Remove EGCS reference in comment. | |
6422 | ||
e62ff0c3 RK |
6423 | Sat Oct 21 08:24:25 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
6424 | ||
6425 | * loop.c (strength_reduce): Fix error in last change. | |
6426 | ||
0ad7574f DE |
6427 | 2000-10-20 David Edelsohn <edelsohn@gnu.org> |
6428 | ||
6429 | * Makefile.in (SHLIB_NM_FLAGS): New. | |
6430 | (libgcc.mk): Pass it. | |
6431 | * mklibgcc.in (libgcc.map): Use it. | |
6432 | ||
6433 | * rs6000/t-aix43 (SHLIB_EXT, SHLIB_LINK, SHLIB_LIBS, | |
6434 | SHLIB_MKMAP, SHLIB_MAPFILES, SHLIB_NM_FLAGS): New. | |
6435 | ||
8f54374e KG |
6436 | 2000-10-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
6437 | ||
6438 | * mips.h (REG_CLASS_FROM_LETTER): Cast array arg to unsigned char. | |
6439 | ||
6440 | * sparc.c (load_pic_register): Delete unused varaible. | |
6441 | ||
6442 | * libgcc2.c (__addvsi3): Delete unused variable. | |
6443 | ||
6444 | * libgcc2.h (__absvsi2, __absvdi2, __addvsi3, __addvdi3, | |
6445 | __subvsi3, __subvdi3, __mulvsi3, __mulvdi3, __negvsi2, | |
6446 | __negvdi2): Prototype. | |
6447 | ||
6448 | * ssa.c (apply_delayed_renames): Avoid undefined operation. | |
6449 | ||
6450 | * toplev.c (display_target_options): Make static to match | |
6451 | prototype. Delete empty declaration. | |
6452 | ||
3f568531 TT |
6453 | 2000-10-20 Tom Tromey <tromey@cygnus.com> |
6454 | ||
6455 | * cppspec.c (DEFAULT_WORD_SWITCH_TAKES_ARG): Added -MF and -MT. | |
6456 | * gcc.c (DEFAULT_WORD_SWITCH_TAKES_ARG): Added -MF and -MT. | |
6457 | ||
235783d1 RK |
6458 | Fri Oct 20 17:05:49 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
6459 | ||
6460 | * expr.c (expand_expr, case SAVE_EXPR): Set RTX_UNCHANGING_P on | |
6461 | returned MEM. | |
6462 | (expand_expr_unaligned, case ARRAY_REF): Check that index is | |
6463 | a constant before comparing it; use tree_low_cst. | |
6464 | * tree.c (save_expr): Set TREE_READONLY. | |
6465 | (substitute_expr): Return inside of NON_LVALUE_EXPR. | |
6466 | (build, build1): Set TREE_READONLY if all operands are. | |
6467 | (build_index_type): If upper bound is a negative number, lower | |
6468 | bound is zero and sizetype is unsigned, use upper bound of one and | |
6469 | lower of zero. | |
6470 | ||
2e44948d DE |
6471 | 2000-10-20 David Edelsohn <edelsohn@gnu.org> |
6472 | ||
6473 | * gcc.c (process_command, main): Use "because" instead of | |
6474 | "since" in error messages. | |
6475 | ||
44475138 RK |
6476 | Fri Oct 20 13:33:16 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
6477 | ||
382110c0 RK |
6478 | * stor-layout.c (compute_record_mode): Use tree_low_cst. |
6479 | Don't use mode of field for record unless sizes are the same. | |
6480 | (layout_type, case ARRAY_TYPE): Remove special bounds handling | |
6481 | previously added for Ada; also change to using host_integerp | |
6482 | and tree_low_cst. | |
6483 | ||
1dcdb0df RK |
6484 | * loop.c (strength_reduce): Show when new register made for |
6485 | giv is known to be a pointer and its aligment if so and known. | |
6486 | (loop_dump_aux): Show VERBOSE parameter unused. | |
6487 | ||
ebb13e7e RK |
6488 | * gcse.c (set_hash_table_size): Now unsigned. |
6489 | * sdbout.c (template_name_p): Add "const" to avoid warnings. | |
6490 | (sdbout_record_type_name, plain_type_1, sdbout_symbol): Likewise. | |
6491 | (sdbout_one_type, sdbout_parms, sdbout_reg_parms): Likewise. | |
6492 | (sdbout_end_epilogue): Remove variable NAME. | |
6493 | * system.h (getopt): Add default definition. | |
6494 | * config/alpha/alpha.c (print_operand): Don't continue processing | |
6495 | after issuing error. | |
6496 | (summarize_insn): Avoid use of UL in constant. | |
6497 | ||
1468899d RK |
6498 | * function.c (locate_and_pad_parm): Use host_integerp and tree_low_cst. |
6499 | ||
44475138 RK |
6500 | * fold-const.c (force_fit_type): Unsigned values can overflow |
6501 | if they are sizetype. | |
6502 | (int_const_binop): Don't use cache if overflows. | |
391db8c9 | 6503 | |
23ccfa6d RH |
6504 | 2000-10-20 Richard Henderson <rth@cygnus.com> |
6505 | ||
6506 | * function.c (locate_and_pad_parm): Zero alignment_pad. | |
6507 | ||
4ca0f257 RH |
6508 | * regrename.c (rr_replace_reg): Rewrite to use recog_data to |
6509 | perform substitutions, and apply_change_group to see if it worked. | |
6510 | ||
0345195a RK |
6511 | Fri Oct 20 13:33:16 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
6512 | ||
d57e164f RK |
6513 | * dwarf2out.c (add_bound_info): Also ignore COND_EXPR. |
6514 | ||
0345195a RK |
6515 | * combine.c (struct undo): Change int to unsigned int. |
6516 | (do_SUBST_INT): Args are unsigned int. | |
6517 | (make_extraction, force_to_mode): Use proper type when forming mask. | |
6518 | (make_field_assignment): Likewise. | |
6519 | ||
2f74f7e9 JM |
6520 | 2000-10-20 Joseph S. Myers <jsm28@cam.ac.uk> |
6521 | ||
6522 | * c-common.c (check_format_info_recurse): Extract string constant | |
6523 | initializers from non-volatile constant arrays and check them as | |
6524 | formats. | |
6525 | * c-typeck.c (decl_constant_value): Don't check pedantic or check | |
6526 | for DECL_MODE (decl) != BLKmode. | |
6527 | (decl_constant_value_for_broken_optimization): New function which | |
6528 | includes these checks. | |
6529 | (default_conversion, convert_for_assignment, digest_init): Use | |
6530 | decl_constant_value_for_broken_optimization instead of | |
6531 | decl_constant_value. | |
6532 | ||
971774bb MM |
6533 | 2000-10-20 Mark Mitchell <mark@codesourcery.com> |
6534 | ||
6535 | * tree.h (DECL_ALIGN_UNIT): New macro. | |
6536 | ||
afee2a52 MM |
6537 | 2000-10-14 Marek Michalkiewicz <marekm@linux.org.pl> |
6538 | ||
6539 | * config/avr/avr-protos.h (avr_output_bld): New. | |
6540 | (out_shift_with_cnt): Add t_len argument. | |
6541 | * config/avr/avr.c (avr_num_arg_regs): Remove -mpack-args. | |
6542 | (output_movqi, output_movhi, output_movsisf): Optimize loading | |
6543 | any constant with exactly one bit set to NO_LD_REGS. | |
6544 | (out_shift_with_cnt): Optimize output code for size or speed, | |
6545 | depending on optimize_size. Handle small shift counts as well | |
6546 | (if not hand-optimized in ?sh??i3_out). Shifts can be done | |
6547 | with or without a scratch register, with help of __tmp_reg__ | |
6548 | or __zero_reg__ if necessary. Add T_LEN argument to pass the | |
6549 | length of TEMPLATE in words, return total insn length in *LEN. | |
6550 | (ashlqi3_out, ashrqi3_out, lshrqi3_out): Change all calls to | |
6551 | out_shift_with_cnt to work with the above change. | |
6552 | (ashlhi3_out, ashlsi3_out, ashrhi3_out, ashrsi3_out, lshrhi3_out, | |
6553 | lshrsi3_out): Likewise. Optimize more known shift count cases. | |
6554 | Remove cases already well optimized in out_shift_with_cnt. | |
6555 | (avr_output_bld): New function. | |
6556 | * config/avr/avr.h (MASK_PACK_ARGS, TARGET_PACK_ARGS): Remove. | |
6557 | (TARGET_SWITCHES): Remove -mpack-args backward compatibility. | |
6558 | * config/avr/avr.md (*reload_inqi, *reload_inhi, *reload_insi): | |
6559 | Add reload_completed to insn condition - only for peepholes. | |
6560 | (ashlqi3, ashrqi3, lshrqi3): Correct insn length for shift counts | |
6561 | in a register or memory. | |
6562 | (ashlhi3, ashlsi3, ashrhi3, ashrsi3, lshrhi3, lshrsi3): Likewise. | |
6563 | Do not require a scratch register. | |
6564 | (*ashlhi3_const, *ashlsi3_const, *ashrhi3_const, *ashrsi3_const, | |
6565 | *lshrhi3_const, *lshrsi3_const): New insns and matching peepholes. | |
6566 | Optimize shifts by known count using a scratch register, but only | |
6567 | if one is still available after register allocation. | |
6568 | ||
831f9339 | 6569 | 2000-10-20 J. David Anglin <dave@hiauly1.hia.nrc.ca> |
b8dad04b | 6570 | |
831f9339 DA |
6571 | * t-vax: New file. Don't build modules from libgcc1.c. |
6572 | ||
bf6d9fd7 JW |
6573 | Fri Oct 20 00:57:00 EDT 2000 John Wehle (john@feith.com) |
6574 | ||
6575 | * alias.c: (mark_constant_function): Don't check pure functions. | |
6576 | Initialize and end alias analysis. | |
6577 | (nonlocal_mentioned_p): Rename from nonlocal_reference_p. | |
6578 | Don't make a special exception for recursion. Handle | |
6579 | UNSPEC_VOLATILE. Don't assume ASM_OPERANDS is non-local | |
6580 | unless it's volatile. | |
6581 | ||
6582 | * local-alloc.c (equivalence): New structure. | |
6583 | (reg_equiv): Define. | |
6584 | (contains_replace_regs): Remove array and use | |
6585 | field in reg_equiv. | |
6586 | (memref_referenced_p): Likewise. | |
6587 | (no_equiv): Likewise. | |
6588 | (update_equiv_regs): Likewise. | |
6589 | ||
6590 | (equiv_init_varies_p, | |
6591 | equiv_init_movable_p): New functions. | |
6592 | (update_equiv_regs): Use them. Use rtx_varies_p | |
6593 | instead of function_invariant_p. Process insns | |
6594 | from end to beginning. Allow a REG_EQUIV insn | |
6595 | within the same loop as a use to be moved, also | |
6596 | allow it to be moved out of a loop. Update | |
6597 | REG_DEAD notes when substituting into an insn. | |
6598 | ||
ef375129 JW |
6599 | 2000-10-19 Jim Wilson <wilson@cygnus.com> |
6600 | ||
f4fce7ed JW |
6601 | * c-decl.c (start_decl): Check for error_mark_node type before using |
6602 | COMPLETE_TYPE_P. | |
6603 | (finish_decl): Likewise. Don't give an error if decl type is | |
6604 | already error_mark_node. | |
6605 | ||
ef375129 JW |
6606 | * haifa-sched.c (compute_trg_info): Add explanatory comments. |
6607 | New local update_blocks. Use update_blocks to remove duplicates | |
6608 | when computing update blocks. Check for bblst_table overflow. | |
6609 | (schedule_block): Add explanatory comment. Reduce bblst_size by | |
6610 | factor of 2. | |
6611 | * config/ia64/ia64.md (movdi_symbolic): Document loss of REG_LABEL | |
6612 | notes. | |
b8dad04b | 6613 | |
3cf37281 CC |
6614 | 2000-10-19 Chandrakala Chavva <cchavva@redhat.com> |
6615 | ||
6616 | * libgcc2.c (_mulvsi3): Change variables u and v to a and b. | |
6617 | ||
e6b4d09d CC |
6618 | 2000-10-19 Chandrakala Chavva <cchavva@redhat.com> |
6619 | ||
6620 | * expmed.c: Minor corrections in comments. | |
6621 | * invoke.texi: Added desciption for the new option -ftrapv. | |
6622 | ||
3d2adde6 CC |
6623 | 2000-10-19 Chandrakala Chavva <cchavva@redhat.com> |
6624 | ||
6625 | * libgcc2.c: Added the missing #endif. | |
6626 | ||
1aa9fd24 JH |
6627 | Thu Oct 19 14:25:11 MET DST 2000 Jan Hubicka <jh@suse.cz> |
6628 | ||
6629 | * i386.h (CONST_OK_FOR_LETTER): Re-add 'N'; document. | |
6630 | ||
91ce572a CC |
6631 | 2000-10-18 Chandrakala Chavva <cchavva@redhat.com> |
6632 | ||
b8dad04b ZW |
6633 | * expmed.c (expand_mult): Don't do synth_mult optimization for -ftrapv. |
6634 | Use smulv_optab for -ftrapv. | |
6635 | (expand_mult_highpart): Use unsigned multiply. | |
6636 | (expand_divmod): Special-case division by -1. | |
6637 | For EXACT_DIV_EXPR, do right shift first, then the multiply. | |
6638 | For complex divide, use abs with unsigned result. | |
6639 | * expr.c (force_operand): Use unsigned multiply. | |
6640 | (expand_expr): Use overflow-trapping optabs for signed types if | |
6641 | flag_trapv. | |
6642 | If flag_trapv, don't generate a recursive call with EXPAND_SUM | |
6643 | if the type is signed and the original call wasn't EXPAND_SUM or | |
6644 | EXPAND_INITIALIZER. | |
6645 | * expr.h (addv_optab, subv_optab, smulv_optab, sdivv_optab): Declare. | |
6646 | (negv_optab, absv_optab): Declare. | |
6647 | * flags.h (flag_trapv): Declare. | |
6648 | * genopinit.c (optabs): Add entries for addv_optab, subv_optab, | |
6649 | smulv_optab, sdivv_optab, negv_optab and absv_optab. | |
91ce572a | 6650 | (gen_insn): Interpret '$P' as requiring an integer mode, |
b8dad04b ZW |
6651 | including partial integer modes. |
6652 | * loop.c (emit_iv_add_mult): Use unsigned expand_mult_add. | |
6653 | (product_cheap_p): Use unsigned expand_mult. | |
6654 | * optabs.c (addv_optab, subv_optab, smulv_optab, sdivv_optab): Define. | |
6655 | (negv_optab, absv_optab): Define. | |
6656 | (expand_binop): Use overflow-trapping optabs for signed types if | |
6657 | flag_trapv. | |
6658 | Handle negv_optab libe neg_optab. | |
6659 | (expand_abs): Take result_unsignedp argument instead of unsignedp one. | |
6660 | Use overflow-trapping optabs for signed result if flag_trapv. | |
6661 | (expand_complex_abs): Use overflow-trapping optabs for signed types if | |
6662 | flag_trapv. | |
6663 | Don't open-code complex absolute-value operation for flag_trapv. | |
6664 | (init_optabs): Initialize addv_optab, subv_optab, smulv_optab, | |
6665 | sdivv_optab, negv_optab and absv_optab. | |
6666 | * toplev.c (flag_trapv): Define. | |
6667 | (lang_independent_options f_options): Include flag_trapv. | |
6668 | * tree.h (TYPE_TRAP_SIGNED): Define. | |
6669 | * libgcc2.c (__addvsi3, __addvdi3, __subvsi3,__subvsi3, __subvdi3, | |
6670 | __mulvsi3, __negvsi2, __negvdi2, __absvsi2, __absvdi2, __mulvdi3): | |
6671 | New functions. | |
6672 | * Makefile.in: add _absvsi2 _absvdi2 _addvsi3 _addvdi3 _subvsi3 | |
6673 | _subvdi3 _mulvsi3 _mulvdi3 _negvsi2 _negvdi2. | |
91ce572a | 6674 | |
4c2c5712 GK |
6675 | 2000-10-18 Geoffrey Keating <geoffk@cygnus.com> |
6676 | David V. Henkel-Wallace <gumby@cygnus.com> | |
6677 | ||
6678 | * config/i386/t-netware: Bring in from the Red Hat tree. | |
6679 | * config/i386/netware.h: Likewise. | |
6680 | * config/netware.h: Likewise. | |
6681 | * config/rs6000/netware.h: Delete. | |
6682 | * configure.in: Add i[34567]86-*-netware. | |
6683 | * configure: Hand-edit to match configure.in change. | |
6684 | ||
6bcedb4e MM |
6685 | 2000-10-18 Mark Mitchell <mark@codesourcery.com> |
6686 | ||
6687 | * c-common.h (flag_no_builtin): Declare. | |
6688 | (flag_no_nonansi_builtin): Likewise. | |
6689 | (c_common_nodes_and_builtins): Change prototype. | |
6690 | * c-common.c (flag_no_builtin): New variable. | |
6691 | (flag_no_nonansi_builtin): Likewise. | |
6692 | (c_common_nodes_and_builtins): Remove parameters. Adjust | |
6693 | accordingly. | |
6694 | * c-decl.c (flag_no_builtin): Remove. | |
6695 | (flag_no_nonansi_builtin): Likewise. | |
6696 | (init_decl_processing): Adjust call to | |
6697 | c_common_nodes_and_builtins. | |
b8dad04b | 6698 | |
989b26a7 ME |
6699 | 2000-10-18 Marc Espie <espie@openbsd.org> |
6700 | ||
6701 | * tm.texi (LIBGCC_SPEC): Synch with reality. | |
6702 | ||
81cf47b2 JM |
6703 | 2000-10-18 Joseph S. Myers <jsm28@cam.ac.uk> |
6704 | ||
6705 | * c-common.c (check_format_types): Check for writing through a | |
6706 | NULL pointer argument. | |
6707 | ||
27c35f4b HPN |
6708 | 2000-10-18 Hans-Peter Nilsson <hp@axis.com> |
6709 | ||
6710 | * tm.texi (Exception Region Output): Document | |
6711 | DWARF_CIE_DATA_ALIGNMENT. | |
6712 | * dwarf2out.c (DWARF_CIE_DATA_ALIGNMENT): Wrap definition in | |
6713 | #ifndef. | |
6714 | [ENABLE_CHECKING] (reg_save): Abort if offset is not a multiple of | |
6715 | DWARF_CIE_DATA_ALIGNMENT. | |
6716 | ||
4a7da9b5 MH |
6717 | 2000-10-18 Michael Hayes <mhayes@cygnus.com> |
6718 | ||
6719 | * basic-block.h (struct loop): Delete fields pre_header_root | |
6720 | and pre_header_trace and replace with pre_header_edges | |
6721 | and num_pre_header_edges. | |
6722 | * flow.c (flow_loop_dump): Dump pre_header_edges. | |
6723 | (flow_loops_free): Free pre_header_edges. | |
6724 | (flow_loop_pre_header_scan): Calculate pre_header_edges. | |
6725 | ||
42c10750 GP |
6726 | 2000-10-18 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
6727 | ||
6728 | * contrib.texi: Update references to steering committee members | |
6729 | and Jeff Law's entry. | |
6730 | ||
ade7d3cc JM |
6731 | 2000-10-18 Joseph S. Myers <jsm28@cam.ac.uk> |
6732 | ||
6733 | * c-common.c (CPLUSPLUS_STD_VER, C_STD_VER, C_STD_NAME): Define. | |
6734 | (maybe_read_dollar_number, check_format_info_main): Use them for | |
6735 | pedantic warning messages. | |
6736 | ||
c5251260 JM |
6737 | 2000-10-18 Joseph S. Myers <jsm28@cam.ac.uk> |
6738 | ||
6739 | * c-common.c (check_format_info_main): Minor cleanup: move | |
6740 | variables into inner scopes; initialize declarations where | |
6741 | appropriate; don't hardcode "scanf" name on warning for zero | |
6742 | width. | |
6743 | ||
67673f5c MM |
6744 | 2000-10-17 Mark Mitchell <mark@codesourcery.com> |
6745 | ||
6746 | * c-common.c (back_end_hook): New variable. | |
6747 | * c-common.h (back_end_hook): Declare it. | |
6748 | * c-lang.c (finish_file): Use it. | |
6749 | ||
6750 | * emit-rtl.c (init_emit_once): Initialize the const_int_htab | |
6751 | earlier. | |
b8dad04b | 6752 | |
1aa9fd24 | 6753 | 2000-10-18 Jan Hubicka <jh@suse.cz> |
265dab10 | 6754 | |
b8dad04b ZW |
6755 | * i386.c (ix86_comparison_operator, put_condition_code, |
6756 | ix86_match_ccmode, ix86_cc_mode): Handle CCRCmode. | |
6757 | (ix86_expand_strlensi_unroll_1): Use CCRCmode. | |
6758 | * i386.h (EXTRA_CC_MODES): Add CCRCmode. | |
6759 | * i386.md (adddi and negdi splitter): Use CCRCmode. | |
6760 | (add?i_3, add?i_4, add?i_5): Use CCRCmode; swap operands | |
6761 | (subsi3_carry): add '*' | |
6762 | (addsi3_carry_rc, subsi3_carry_rc, x86_movsicc_0_m1_rc): New. | |
6763 | (cmp to add peep2): Use CCRCmode; swap operands. | |
265dab10 | 6764 | |
b054460b KH |
6765 | 2000-10-18 Kazu Hirata <kazu@hxi.com> |
6766 | ||
8682223f KH |
6767 | * h8300.c: Fix a comment typo. |
6768 | (round_frame_size): New. | |
6769 | (compute_saved_regs): Likewise. | |
6770 | (push): Likewise. | |
6771 | (pop): Likewise. | |
6772 | (push_order): Remove. | |
6773 | (pop_order): Likewise. | |
6774 | (function_prologue): Rearrange code for readability. | |
6775 | (function_epilogue): Likewise. | |
6776 | ||
b054460b KH |
6777 | * config/h8300/h8300.md: Remove an unnecessary sign_extend |
6778 | expander that is used when not optimizing. Output a tab after | |
6779 | each assembly insns. | |
6780 | ||
f27e6bb2 KH |
6781 | * reorg.c: Fix formatting. |
6782 | ||
19ca869b JR |
6783 | 2000-10-17 Joern Rennecke <amylaar@redhat.co.uk> |
6784 | ||
6785 | * reload1.c (move2add_note_store): Check for simple | |
6786 | auto-inc in destination. | |
6787 | ||
2ddb1ca1 MC |
6788 | 2000-10-17 Michael Chastain <chastain@redhat.com> |
6789 | ||
6790 | * config/i386/i386-aout.h: define INT_ASM_OP. | |
6791 | ||
11881f37 AM |
6792 | Tue Oct 17 20:11:08 2000 Alan Modra <alan@linuxcare.com.au> |
6793 | ||
6794 | * pa.c (print_operand): Handle case 'c' for .vtable_inherit | |
6795 | ||
33e39e38 MB |
6796 | Tue Oct 17 20:05:51 2000 Martin Buchholz <martin@xemacs.org> |
6797 | ||
6798 | * i370.md: Fix spelling typo. | |
6799 | ||
832ea3b3 FS |
6800 | 2000-10-17 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
6801 | ||
6802 | * function.c (locate_and_pad_parm): Don't align stack unconditionally. | |
2b7fb034 | 6803 | Fixes execute/20001017-1.c on powerpc-linux-gnu. |
832ea3b3 FS |
6804 | |
6805 | * expr.c (store_constructor): Apply MEM_ALIAS_SET to MEMs only. | |
2b7fb034 | 6806 | * rs6000/rs6000.c (rs6000_hash_constant): Use X0INT to access a |
832ea3b3 FS |
6807 | LABEL_REF. |
6808 | ||
6809 | * rs6000/rs6000.h (NO_DOLLAR_IN_LABEL, DOLLARS_IN_IDENTIFIERS, | |
6810 | ENCODE_SECTION_INFO, ASM_OUTPUT_SPECIAL_POOL_ENTRY_P): Move from | |
6811 | here... | |
6812 | * rs6000/aix.h: ...to here. | |
6813 | * rs6000/linux.h (ASM_APP_ON, ASM_APP_OFF): Define to Linux-style. | |
6814 | ||
4c646291 JJ |
6815 | 2000-10-17 Jakub Jelinek <jakub@redhat.com> |
6816 | ||
6817 | * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): Reload gp if needed. | |
6818 | ||
6819 | * config/sparc/sparc.h (ASM_OUTPUT_MI_THUNK): Always use call, make | |
6820 | sure linker can relax even the delay slot mov %g1,%o7, fix output | |
6821 | formating. | |
6822 | ||
07e0fe3d KH |
6823 | 2000-10-17 Kazu Hirata <kazu@hxi.com> |
6824 | ||
6825 | * config/h8300/h8300.md: Remove an unnecessary zero_extend | |
6826 | expander that is used when not optimizing. Output a tab after | |
6827 | each assembly insns. | |
6828 | ||
10501d8f CC |
6829 | 2000-10-17 Chandrakala Chavva <cchavva@redhat.com> |
6830 | ||
6831 | * gcc.c: New options --target-help. | |
6832 | (process_command): Added code to parse this new option. | |
6833 | * toplev.c (display_target_options): New function to support the | |
6834 | above new option. | |
6835 | * cppinit.c (new_pending_directive) : New option OPT_target__help. | |
6836 | (cpp_handle_option): Support this new option. | |
6837 | * invoke.texi: Added notes about --target-help option. | |
b8dad04b | 6838 | |
c330e9c1 | 6839 | 2000-10-17 Graham Stott <grahams@redhat.com> |
b8dad04b | 6840 | |
c330e9c1 GS |
6841 | * config/i386/i386.md (testqi_1): Add missing operand prefix |
6842 | for operand 0. | |
6843 | * config/i386/i386-protos.h: Add missing prototype. | |
b8dad04b | 6844 | |
69ac4831 DN |
6845 | 2000-10-17 Diego Novillo <dnovillo@cygnus.com> |
6846 | ||
6847 | * config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Symbol | |
6848 | _GLOBAL_OFFSET_TABLE should not have a $ prefix when | |
6849 | using -mintel-syntax. | |
6850 | ||
b691cb00 JM |
6851 | 2000-10-17 Joseph S. Myers <jsm28@cam.ac.uk> |
6852 | ||
6853 | * c-common.c (FMT_FLAG_DOLLAR_MULTIPLE): Define. | |
6854 | (format_types): Use it for printf. | |
6855 | (maybe_read_dollar_number): Add parameter for the kind of format | |
6856 | involved. Warn for multiple use for arguments if this is | |
6857 | inappropriate for the kind of format involved. | |
6858 | (check_format_info_main): Update calls to maybe_read_dollar_number. | |
6859 | ||
948eab23 DA |
6860 | 2000-10-17 J. David Anglin <dave@hiauly1.hia.nrc.ca> |
6861 | ||
6862 | * inclhack.def (hpux_maxint): Also apply fix to values.h. | |
6863 | * fixincl.x: Rebuilt. | |
6864 | ||
1651ab85 AO |
6865 | 2000-10-17 Alexandre Oliva <aoliva@redhat.com> |
6866 | ||
6867 | * genrecog.c (write_switch): Return the first condition that needs a | |
6868 | label. | |
6869 | ||
2683ed8d BS |
6870 | 2000-10-17 Bernd Schmidt <bernds@redhat.co.uk> |
6871 | ||
6872 | * c-tree.h (warn_sequence_point): Move declaration to... | |
6873 | * c-common.h (warn_sequence_point): ... here. | |
6874 | * c-decl.c (warn_sequence_point): Move definition to... | |
6875 | * c-common.c (warn_sequence_point): ... here. | |
6876 | (struct reverse_tree): New. | |
6877 | (reverse_list, reverse_max_depth): New static variables. | |
6878 | (build_reverse_tree, common_ancestor, modify_ok | |
6879 | verify_sequence_points): New functions. | |
6880 | (c_expand_expr_stmt): Call verify_sequence_points if -Wsequence-point. | |
6881 | * c-typeck.c (check_modify_expr): Delete. | |
6882 | (build_modify_expr): Don't call it. | |
6883 | ||
74ff4629 JM |
6884 | 2000-10-17 Joseph S. Myers <jsm28@cam.ac.uk> |
6885 | ||
6886 | * c-common.h (warn_missing_format_attribute): New variable. | |
6887 | * c-decl.c (warn_missing_format_attribute): New variable. | |
6888 | (c_decode_option): Decode -Wmissing-format-attribute and | |
6889 | -Wno-missing-format-attribute. | |
6890 | * c-common.c (check_function_format): If | |
6891 | -Wmissing-format-attribute, give a warning where a vprintf or | |
6892 | vscanf function is called by a function without its own printf or | |
6893 | scanf attribute. | |
6894 | * toplev.c (documented_lang_options): Add | |
6895 | -Wmissing-format-attribute. | |
6896 | * invoke.texi: Document -Wmissing-format-attribute. | |
6897 | ||
1d3b0e2c ME |
6898 | 2000-10-17 Marc Espie <espie@openbsd.org> |
6899 | ||
6900 | * invoke.texi (-shared): Insist on requiring code generation flags | |
6901 | to be used along with -shared, and document the subtle failure that | |
6902 | may occur otherwise. | |
6903 | ||
1c217171 DA |
6904 | 2000-10-16 J. David Anglin <dave@hiauly1.hia.nrc.ca> |
6905 | ||
6906 | * pa.md (return_internal): Move `use' after `return'. | |
6907 | ||
11f3dc89 TP |
6908 | 2000-10-16 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr> |
6909 | ||
6910 | * machmode.def: Correct comment. | |
6911 | ||
0952f89b RB |
6912 | 2000-10-16 Rodney Brown <RodneyBrown@mynd.com> |
6913 | ||
47c10e9b RB |
6914 | * print-rtl.c (print_rtx_head): Constify. |
6915 | * rtl.h (print_rtx_head): Similarly. | |
6916 | ||
0952f89b RB |
6917 | * config/pa/pa/pa-protos.h (output_64bit_and, output_64bit_ior): |
6918 | Constify char * return value. | |
6919 | * config/pa/pa/pa.c | |
6920 | (output_64bit_and, output_64bit_ior): Constify char * return value. | |
6921 | (pa_can_combine_p): Make static. | |
6922 | (function_arg): Decorate unused `named' argument. Fix comment typo. | |
6923 | (function_arg_partial_nregs): Decorate unused `named' argument. | |
6924 | ||
6d2e1454 JM |
6925 | 2000-10-16 Joseph S. Myers <jsm28@cam.ac.uk> |
6926 | ||
6927 | * c-common.c (format_check_results): New structure. | |
6928 | (finish_dollar_format_checking): Adjust to take a | |
6929 | format_check_results * parameter. | |
6930 | (check_format_info, check_format_info_recurse, | |
6931 | check_format_info_main): Split check_format_info into three | |
6932 | functions, the main checking going in check_format_info_main. | |
6933 | Recurse when any reduction of the format string argument towards a | |
6934 | string literal is done; go down both branches of a conditional | |
6935 | expression. Don't warn for extra format arguments or empty format | |
6936 | strings if they only occur in some branches of a conditional | |
6937 | expression. | |
6938 | ||
4d231df7 KH |
6939 | 2000-10-16 Kazu Hirata <kazu@hxi.com> |
6940 | ||
f2a9645f | 6941 | * config/h8300/h8300.c: Remove obstack. Include ggc.h. |
4d231df7 | 6942 | |
55143861 JJ |
6943 | 2000-10-16 Jakub Jelinek <jakub@redhat.com> |
6944 | ||
6945 | * rtlanal.c (may_trap_p): Check operand modes of COMPARE. | |
6946 | ||
406df25c DN |
6947 | 2000-10-15 Diego Novillo <dnovillo@cygnus.com> |
6948 | ||
6949 | * i386.md (*movsi_or): Switch operand order for intel syntax. | |
6950 | ||
e8beb821 JM |
6951 | 2000-10-14 Joseph S. Myers <jsm28@cam.ac.uk> |
6952 | ||
2f6256e7 JM |
6953 | * PROBLEMS: Remove. |
6954 | ||
e8beb821 JM |
6955 | * gcc.texi (Contributing): Update. |
6956 | ||
c1f9de5a DN |
6957 | 2000-10-13 Diego Novillo <dnovillo@cygnus.com> |
6958 | ||
6959 | * config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Output final jump using | |
6960 | appropriate assembler dialect. | |
6961 | ||
f58e0b0c AO |
6962 | 2000-10-13 Alexandre Oliva <aoliva@redhat.com> |
6963 | ||
6964 | * c-common.c (c_expand_builtin): PARAMS-ize prototype. | |
6965 | ||
08f81276 MM |
6966 | 2000-10-12 Marek Michalkiewicz <marekm@linux.org.pl> |
6967 | ||
6968 | * config/avr/avr.c (output_movhi, output_movsisf): Fix loading | |
6969 | constants 1 and 2 to NO_LD_REGS. | |
6970 | ||
4b945402 KG |
6971 | 2000-10-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
6972 | ||
6973 | * Makefile.in (c-parse.c, tradcif.c): Create atomically. | |
b8dad04b | 6974 | |
4b945402 KG |
6975 | * objc/Make-lang.in (objc-parse.c): Likewise. |
6976 | ||
c7319d87 RE |
6977 | 2000-10-13 Richard Earnshaw <rearnsha@arm.com> |
6978 | ||
6979 | * arm.c: Include obstack.h | |
6980 | (minipool_obstack, minipool_startobj): Define. | |
6981 | (arm_add_gc_roots): Initialize them. | |
6982 | (create_fix_barrier): Use our new obstack. | |
6983 | (push_minipool_barrier, push_minipool_fix): Likewise. | |
6984 | (arm_reorg): Release obstack memory. | |
6985 | ||
fccf9848 JJ |
6986 | 2000-10-13 Jakub Jelinek <jakub@redhat.com> |
6987 | ||
6988 | * config/sparc/sparc.md (nonlocal_goto_receiver): Remove. | |
6989 | (prologue, exception_receiver, builtin_setjmp_receiver): New | |
6990 | patterns. | |
6991 | * config/sparc/sparc.h (FINALIZE_PIC): Remove. | |
6992 | * config/sparc/sparc-protos.h (finalize_pic): Remove. | |
6993 | (load_pic_register): New prototype. | |
6994 | * config/sparc/sparc.c (pic_setup_code): Remove. | |
6995 | (finalize_pic): Rename to... | |
6996 | (load_pic_register): ...this function. | |
6997 | Don't look for nonlocal_goto_receivers and emit pic setup code | |
6998 | directly. Don't check current_function_uses_pic_offset_table. | |
6999 | ||
7584b89f RE |
7000 | 2000-10-13 Richard Earnshaw <rearnsha@arm.com> |
7001 | ||
7002 | * tree.h (struct obstack): Declare. | |
7003 | ||
1f8f4a0b MM |
7004 | 2000-10-12 Mark Mitchell <mark@codesourcery.com> |
7005 | ||
b8dad04b | 7006 | Remove obstacks. |
1f8f4a0b | 7007 | * Makefile.in (ggc-callbacks.o): Remove target. |
b8dad04b | 7008 | (flow.o): Depend on GGC_H. |
1f8f4a0b MM |
7009 | * alias.c (init_alias_analysis): |
7010 | Remove ggc_p conditionals. | |
b8dad04b | 7011 | (end_alias_analysis): Likewise. |
1f8f4a0b | 7012 | * basic-block.h (init_flow): New function. |
b8dad04b | 7013 | (allocate_reg_life_data): Declare. |
1f8f4a0b MM |
7014 | * bb-reorder.c (function_obstack): Replace with ... |
7015 | (flow_obstack): ... new variable. | |
b8dad04b | 7016 | (fixup_reorder_chain): Use it. |
1f8f4a0b | 7017 | * c-decl.c (ggc_p): Remove. |
b8dad04b | 7018 | (caller-save.c): Don't call oballoc/obfree. |
1f8f4a0b MM |
7019 | * combine.c (struct |
7020 | undobuf): Remove storage. | |
7021 | (try_combine): Don't call oballoc. | |
b8dad04b | 7022 | (undo_all): Don't call obfree. |
1f8f4a0b MM |
7023 | * cse.c (insert): Use xmalloc, not |
7024 | oballoc. | |
b8dad04b | 7025 | (cse_main): Adjust accordingly. |
1f8f4a0b MM |
7026 | * dwarf2out.c (save_rtx): Remove |
7027 | obstack code. | |
b8dad04b | 7028 | (dwarf2out_init): Remove ggc_p conditionals. |
1f8f4a0b MM |
7029 | * emit-rtl.c (rtl_obstack): Remove. |
7030 | (gen_rtx_CONST_INT): Remove ggc_p conditionals. | |
7031 | (make_insn_raw): Likewise. | |
7032 | (emit_insn_before): Likewise. | |
7033 | (emit_insn_after): Likewise. | |
7034 | (emit_insn): Likewise. | |
7035 | (gen_sequence): Likewise. | |
7036 | (copy_insn_1): Remove handling of `b' RTL components. | |
b8dad04b | 7037 | (init_emit_once): Remove ggc_p conditionals. |
1f8f4a0b MM |
7038 | * except.c (create_rethrow_ref): Don't fool with obstacks. |
7039 | (add_partial_entry): Likewise. | |
7040 | (call_get_eh_context): Likewise. | |
7041 | (begin_protect_partials): Likewise. | |
b8dad04b | 7042 | (protect_with_terminate): Likewise. |
1f8f4a0b | 7043 | * explow.c |
b8dad04b | 7044 | (plus_constant_wide): Likewise. |
1f8f4a0b MM |
7045 | * expr.c (init_expr_once): |
7046 | Likewise. | |
7047 | (emit_block_move): Likewise. | |
7048 | (clear_storage): Likewise. | |
b8dad04b | 7049 | (expand_expr): Likewise. |
1f8f4a0b MM |
7050 | * flow.c (function_obstack): Remove. |
7051 | (flow_obstack): New variable. | |
7052 | (flow_firstobj): Likewise. | |
7053 | (create_base_block): Use the flow_obstack. | |
7054 | (split_block): Likewise. | |
7055 | (split_edge): Likewise. | |
7056 | (calculate_global_regs_live): Likewise. | |
7057 | (allocate_bb_life_data): Make it static. Likewiwse. | |
7058 | (init_flow): New function. | |
b8dad04b | 7059 | (size_int_type_wide): Remove ggc_p conditionals. |
1f8f4a0b MM |
7060 | * function.c |
7061 | (push_function_context_to): Don't call save_tree_status. | |
7062 | (pop_function_context_from): Or restore_tree_status. | |
7063 | (assign_stack_local_1): Don't call push_obstacks. | |
7064 | (find_fixup_replacement): Use xmalloc. | |
7065 | (fixup_var_refs_insns): Free the storage. | |
7066 | (insns_for_mem_walk): Don't mess with obstacks. | |
7067 | (instantiate_decls): Likewise. | |
7068 | (trampoline_address): Likewise. | |
b8dad04b | 7069 | (expand_function_end): Likewise. |
1f8f4a0b MM |
7070 | * function.h (sturct function): |
7071 | Remove obstack-related variables. | |
7072 | (save_tree_status): Don't declare. | |
b8dad04b | 7073 | (restore_tree_status): Likewise. |
1f8f4a0b | 7074 | * gcse.c (compute_can_copy): |
b8dad04b | 7075 | Don't call oballoc/obfree. |
1f8f4a0b MM |
7076 | * genattrtab.c (operate_exp): Remove |
7077 | ggc_p conditionals. | |
7078 | (simplify_cond): Likewise. | |
7079 | (simplify_test_exp): Don't mess with obstacks. | |
b8dad04b | 7080 | (optimize_attrs): Likewise. |
1f8f4a0b | 7081 | * gengenrtl.c (gendef): Don't include |
b8dad04b ZW |
7082 | ggc_p conditionals. |
7083 | * ggc-callbacks.c (ggc_p): Remove. | |
7084 | * ggc-none.c (ggc_p): Remove. | |
7085 | * ggc.h (ggc_p): Don't declare. | |
265dab10 | 7086 | * integrate.c (save_for_inline): Don't mess with obstacks. |
1f8f4a0b | 7087 | (integrate_decl_tree): Likewise. |
b8dad04b | 7088 | (output_inline_function): Likewise. |
1f8f4a0b | 7089 | * lists.c |
b8dad04b | 7090 | (init_EXPR_INSN_LIST_cache): Likewise. |
1f8f4a0b MM |
7091 | * loop.c (temp_obstack): |
7092 | Remove. | |
7093 | (rtl_obstack): Likewise. | |
7094 | (init_loop): Don't mess with obstacks. | |
7095 | (reg_address_cost): Free BIVs and GIVs. | |
7096 | (check_insns_for_bivs): Use xmalloc, not oballoc. | |
7097 | (find_mem_givs): Likewise. | |
7098 | (record_biv): Likewise. | |
7099 | (general_induction_var): Likewise. | |
b8dad04b | 7100 | (product_cheap_p): Likewse. |
1f8f4a0b | 7101 | * optabs.c (init_one_libfunc): Remove |
b8dad04b | 7102 | ggc_p conditional. |
1f8f4a0b MM |
7103 | * print-tree.c (debug_tree): Don't use |
7104 | oballoc/obfree. | |
b8dad04b | 7105 | (print_node): Likewise. |
1f8f4a0b | 7106 | * profile.c (output_func_start_profiler): |
b8dad04b | 7107 | Remove call to temporary_allocation. |
1f8f4a0b | 7108 | * reload1.c |
b8dad04b | 7109 | (eliminate_regs_in_insn): Don't mess with obstacks. |
1f8f4a0b MM |
7110 | * resource.c |
7111 | (mark_target_live_regs): Use xmalloc. | |
b8dad04b | 7112 | (free_resource_info): Free the memory. |
1f8f4a0b MM |
7113 | * rtl.c (rtl_obstack): |
7114 | Remove. | |
7115 | (rtvec_alloc): Don't mess with obstacks. | |
7116 | (rtx_alloc): Likewise. | |
7117 | (rtx_free): Remove. | |
7118 | (copy_rtx): Don't handle `b' cases. | |
b8dad04b | 7119 | (read_rtx): Use a local rtl_obstack. |
1f8f4a0b MM |
7120 | * rtl.h (oballoc): Remove. |
7121 | (obfree): Likewise. | |
7122 | (pop_obstacks): Likewise. | |
7123 | (push_obstacks): Likewise. | |
7124 | (allocate_bb_life_data): Likewise. | |
7125 | (allocate_reg_life_data): Likewise. | |
b8dad04b | 7126 | (rtx_free): Likewise. |
1f8f4a0b | 7127 | * sdbout.c (sdbout_queue_anonymous_type): |
b8dad04b | 7128 | Use tree_cons, not saveable_tree_cons. |
1f8f4a0b | 7129 | * simplify-rtx.c |
b8dad04b | 7130 | (cselib_init): Don't mess with obstacks. |
1f8f4a0b MM |
7131 | * stmt.c |
7132 | (mark_block_nesting): Mark the label_chain. | |
7133 | (epxand_label): Use ggc_alloc, not oballoc. | |
7134 | (clear_last_expr): Don't mess with obstacks. | |
7135 | (expand_decl_cleanup): Likewise. | |
7136 | (expand_dcc_cleanup): Likewise. | |
7137 | (expand_dhc_cleanup): Likewise. | |
7138 | (expand_anon_union_decl): Likewise. | |
7139 | (add_case_node): Use xmalloc, not oballoc. | |
7140 | (free_case_nodes): New function. | |
b8dad04b | 7141 | (expand_end_case): Call it. |
1f8f4a0b MM |
7142 | * stor-layout.c (layout_type): Don't |
7143 | mess with obstacks. | |
b8dad04b | 7144 | (layout_type): Likewise. |
1f8f4a0b MM |
7145 | * toplev.c (wrapup_global_declarations): |
7146 | Likewise. | |
7147 | (compile_file): Remove ggc_p conditionals. | |
7148 | (rest_of_compilation): Call init_flow. Remove ggc_p conditionals. | |
b8dad04b | 7149 | (decode_f_option): Remove ggc_p conditionals. |
1f8f4a0b MM |
7150 | * tree.c |
7151 | (function_maybepermanent_obstack): Remove. | |
7152 | (maybepermanent_obstack): Likewise. | |
7153 | (function_obstack): Likewise. | |
7154 | (tmeporary_obstack): Likewise. | |
7155 | (momentary_obstack): Likewise. | |
7156 | (temp_decl_obstack): Likewise. | |
7157 | (saveable_obstack): Likewise. | |
7158 | (rtl_obstack): Likewise. | |
7159 | (current_obstack): Likewise. | |
7160 | (expression_obstack): Likewise. | |
7161 | (struct obstack_stack): Likewise. | |
7162 | (obstack_stack): Likewise. | |
7163 | (obstack_stack_obstack): Likewise. | |
7164 | (maybepermanent_firstobj): Likewise. | |
7165 | (temporary_firstobj): Likewise. | |
7166 | (momentary_firstobj): Likewise. | |
7167 | (temp_decl_firstobj): Likewise. | |
7168 | (momentary_function_firstobj): Likewise. | |
7169 | (all_types_permanent): Likewise. | |
7170 | (struct momentary_level): Likewise. | |
7171 | (momentary_stack): Likewise. | |
7172 | (init_obstacks): Remove initialization of removed obstacks. | |
7173 | (save_tree_status): Remove. | |
7174 | (restore_tree_status): Likewise. | |
7175 | (temporary_allocation): Liekwise. | |
7176 | (end_temporary_allocation): Liekwise. | |
7177 | (resume_temporary_allocation): Likewise. | |
7178 | (saveable_allocation): Likewise. | |
7179 | (push_obstacks): Likewise. | |
7180 | (push_obstacks_nochange): Likewise. | |
7181 | (pop_obstacks): Likewise. | |
7182 | (allocation_temporary_p): Likewise. | |
7183 | (permanent_allocation): Likewise. | |
7184 | (preserve_data): Likewise. | |
7185 | (preserve_initializer): Likewise. | |
7186 | (rtl_in_current_obstack): Likewise. | |
7187 | (rtl_in_saveable_obstack): Likewise. | |
7188 | (oballoc): Likewise. | |
7189 | (obfree): Likewise. | |
7190 | (savealloc): Likewise. | |
7191 | (expralloc): Likewise. | |
7192 | (print_obstack_name): Likewise. | |
7193 | (debug_obstack): Likewise. | |
7194 | (object_permanent_p): Likewise. | |
7195 | (push_momentary): Likewise. | |
7196 | (perserve_momentary): Likewise. | |
7197 | (clear_momentary): Likewise. | |
7198 | (pop_momentary): Likewise. | |
7199 | (pop_momentary_nofree): Likewise. | |
7200 | (suspend_momentary): Likewise. | |
7201 | (resume_momentary): Likewise. | |
7202 | (make_node): Don't set TREE_PERMANENT. | |
7203 | (copy_node): Remove ggc_p conditionals. Don't set TYPE_OBSTACK. | |
7204 | Don't set TREE_PERMANENT. | |
7205 | (get_identifier): Remove ggc_p conditionals. | |
7206 | (build_string): Likewise. | |
7207 | (make_tree_vec): Likewise. | |
7208 | (build_decl_list): Remove. | |
7209 | (build_expr_list): Likewise. | |
7210 | (tree_cons): Remove ggc_p conditionals. | |
7211 | (decl_tree_cons): Remove. | |
7212 | (expr_tree_cons): Likewise. | |
7213 | (perm_tree_cons): Likewise. | |
7214 | (temp_tree_cons): Likewise. | |
7215 | (saveable_tree_cons): Likewise. | |
7216 | (build1): Remove ggc_p conditionals. | |
7217 | (build_parse_node): Likewise. | |
7218 | (build_type_attribute_variant): Don't mess with obstacks. | |
7219 | (build_type_copy): Likewise. | |
7220 | (type_hash_canon): Likewise. | |
7221 | (build_pointer_type): Likewise. | |
7222 | (build_reference_type): Likewise. | |
7223 | (build_index_type): Likewise. | |
7224 | (build_range_type): Likewise. | |
b8dad04b | 7225 | (dump_tree_statistics): Don't print obstack information. |
1f8f4a0b MM |
7226 | * tree.h |
7227 | (struct tree_common): Remove permanent_flag. | |
7228 | (TREE_PERMANENT): Remove. | |
7229 | (TREE_SET_PERMANENT): Likewise. | |
7230 | (TYPE_OBSTACK): Likewise. | |
7231 | (struct tree_type): Remove obstack. | |
7232 | (oballoc): Remove. | |
7233 | (savealloc): Likewise. | |
7234 | (build_decl_list): Likewise. | |
7235 | (build_expr_list): Likewise. | |
7236 | (perm_tree_cons): Likewise. | |
7237 | (temp_tree_cons): Likewise. | |
7238 | (saveable_tree_cons): Likewise. | |
7239 | (decl_tree_cons): Likewise. | |
7240 | (expr_tree_cons): Likewise. | |
7241 | (suspend_momentary): Likewise. | |
7242 | (allocation_temporary_p): Likewise. | |
7243 | (resume_momentary): Likewise. | |
7244 | (push_obstacks_nochange): Likewise. | |
7245 | (permanent_allocation): Likewise. | |
7246 | (push_momentary): Likewise. | |
7247 | (clear_momentary): Likewise. | |
7248 | (pop_momentary): Likewise. | |
7249 | (end_temporary_allocation): Likewise. | |
7250 | (pop_obstacks): Likewise. | |
7251 | (push_obstacks): Likewise. | |
7252 | (pop_momentary_nofree): LIkewise. | |
7253 | (preserve_momentary): Likewise. | |
7254 | (saveable_allocation): Likewise. | |
7255 | (temporary_allocation): Likewise. | |
7256 | (resume_temporary_allocation): Likewise. | |
7257 | (perserve_initializer): Likewise. | |
7258 | (debug_obstack): Likewise. | |
7259 | (rtl_in_current_obstack): Likewise. | |
7260 | (rtl_in_saveable_obstack): Likewise. | |
b8dad04b | 7261 | (obfree): Likewise. |
1f8f4a0b MM |
7262 | * varasm.c (current_obstack): Remove. |
7263 | (saveable_obstack): Remove. | |
7264 | (rtl_obstack): Remove. | |
7265 | (immed_double_const): Don't mess with obstacks. | |
7266 | (immed_real_cons): Likewise. | |
7267 | (output_constant_def): Likewise. | |
7268 | (init_varasm_status): Use xcalloc. | |
7269 | (mark_pool_constant): Mark the pool constant itself. | |
7270 | (free_varasm_status): Free memory. | |
7271 | (decode_rtx_const): Call bzero directly, rather than expanding it | |
7272 | inline. | |
7273 | (record_rtx_const): Don't mess with obstacks. | |
7274 | (force_const_mem): Likewise. | |
7275 | * config/arm/arm.c (arm_encode_call_attribute): Remove ggc_p | |
7276 | conditionals. | |
7277 | (aof_pic_entry): Likewise. | |
7278 | * config/ia64/ia64.c (ia64_encode_section_info): Likewise. | |
7279 | * config/m32r/m32r.c (m32r_encode_section_info): Likewise. | |
7280 | * config/pa/pa.c (saveable_obstack): Remove. | |
7281 | (rtl_obstack): Likewise. | |
7282 | (current_obstack): Likewise. | |
7283 | (output_call): Don't mess with obstacks. | |
7284 | (hppa_encode_label): Remove ggc_p conditionals. | |
7285 | * config/romp/romp.c (get_symref): Don't mess with obstacks. | |
7286 | * config/rs6000/rs6000.c (output_toc): Remove ggc_p conditional. | |
7287 | (rs6000_encode_section_info): Likewise. | |
7288 | * config/sh/sh.c (get_fpscr_rtx): Likewise. | |
b8dad04b | 7289 | |
9dcbdc7e JH |
7290 | Thu Oct 12 16:02:31 MET DST 2000 Jan Hubicka <jh@suse.cz> |
7291 | ||
7292 | * i386.md (adddi3, subdi3 splitters): Update for new pattern. | |
7293 | (addsi3_cc, addqi3_cc, subsi3_cc): Remove | |
7294 | (addsi3_carry): Canonicalize. | |
7295 | (addqi_5): Remove '*'. | |
7296 | (sbb pattern): Canonicalize. | |
7297 | ||
7298 | * i386.md (cmp to inc/add peep2): New. | |
7299 | ||
74490e05 RE |
7300 | 2000-10-12 Richard Earnshaw <rearnsha@arm.com> |
7301 | ||
7302 | * bb-reorder.c (reorder_basic_blocks): Allocate an aux block for | |
7303 | the exit block. | |
7304 | ||
bc87c1c8 JM |
7305 | 2000-10-12 Joseph S. Myers <jsm28@cam.ac.uk> |
7306 | ||
7307 | * gcc.texi: Merge in contents of README.TRAD and TESTS.FLUNK. | |
7308 | * README.TRAD, TESTS.FLUNK: Remove. | |
7309 | ||
9fa8f75d JM |
7310 | 2000-10-12 Joseph S. Myers <jsm28@cam.ac.uk> |
7311 | ||
7312 | * c-common.c (decl_attributes): Don't allow strftime formats with | |
7313 | first_arg_num nonzero. | |
7314 | (check_format_info): Set wanted_type and wanted_type_name to zero | |
7315 | before they are possibly assigned and used. | |
7316 | ||
4831bc84 JM |
7317 | 2000-10-12 Joseph S. Myers <jsm28@cam.ac.uk> |
7318 | ||
7319 | * c-common.c (scanf_flag_specs): Add flags ' and I. | |
7320 | (strftime_flag_pairs): Disallow any pair of the _, - and 0 flags, | |
7321 | or the ^ and # flags together. | |
7322 | (scan_char_table): Handle the ' and I flags. | |
7323 | (format_types): Add ' and I flags for scanf. | |
7324 | ||
2f7026a0 JM |
7325 | 2000-10-12 Joseph S. Myers <jsm28@cam.ac.uk> |
7326 | ||
7327 | * c-common.c (print_char_table): Use the unpromoted type for | |
7328 | lengths "h" and "hh" with conversions dioxXu. | |
7329 | (check_format_types): Apply the default argument promotions where | |
7330 | the wanted type is not a pointer target. | |
7331 | ||
bb58bec5 | 7332 | 2000-10-11 Michael Meeks <mmeeks@gnu.org> |
b8dad04b | 7333 | Joseph S. Myers <jsm28@cam.ac.uk> |
bb58bec5 JM |
7334 | |
7335 | * c-typeck.c (check_modify_expr): New function. | |
7336 | (build_modify_expr): Call it if warn_sequence_point. | |
7337 | * c-decl.c (warn_sequence_point): New variable. | |
7338 | (c_decode_option): Handle -Wsequence-point and | |
7339 | -Wno-sequence-point. Enable -Wsequence-point as part of -Wall. | |
7340 | * c-tree.h (warn_sequence_point): Declare. | |
7341 | * invoke.texi (-Wsequence-point): Document. | |
7342 | * toplev.c (documented_lang_options): Add -Wsequence-point and | |
7343 | -Wno-sequence-point. | |
7344 | Original work by Michael Meeks, 16 Jun 1998. | |
7345 | ||
0fba7208 RK |
7346 | Wed Oct 11 06:15:41 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
7347 | ||
7348 | * tree.c (get_narrower): Don't look at precision of field if | |
7349 | not laid out yet. | |
7350 | ||
67e570ea DC |
7351 | Tue Oct 10 23:14:33 2000 Denis Chertykov <denisc@overta.ru> |
7352 | ||
7353 | * config/avr/avr.c (valid_machine_decl_attribute): Allow `extern' | |
7354 | declaration for data with "progmem" attribute. | |
7355 | ||
80b8585d MM |
7356 | 2000-10-09 Marek Michalkiewicz <marekm@linux.org.pl> |
7357 | ||
7358 | * config/avr/avr.c (out_shift_with_cnt): Use AS2 macro. | |
7359 | Correct insn length if shift count is a memory operand. | |
7360 | * config/avr/avr.md: New define_peephole2 to use *reload_inqi. | |
7361 | (*iorhi3_clobber): Change lo8 to hi8. | |
7362 | (zero_extendhisi2): Change %B0 to %A1. | |
7363 | (ashlhi3, ashrhi3): Correct insn length. | |
7364 | (andhi3, abssf2, extendqisi2, extendhisi2): Change "cc" | |
7365 | from "clobber" to "set_n" in some alternatives. | |
7366 | ||
462561b7 JJ |
7367 | 2000-10-10 Jakub Jelinek <jakub@redhat.com> |
7368 | ||
7369 | * reload1.c (calculate_needs_all_insns): If deleting an instruction, | |
7370 | remove its insn_chain structure as well. | |
7371 | ||
0b8833aa DA |
7372 | 2000-10-09 J. David Anglin <dave@hiauly1.hia.nrc.ca> |
7373 | ||
7374 | * dbxout.c (dbxout_source_line): Remove extra tab. | |
7375 | ||
c690f089 HPN |
7376 | 2000-10-09 Hans-Peter Nilsson <hp@bitrange.com> |
7377 | ||
7378 | * config/elfos.h (UNIQUE_SECTION): Apply STRIP_NAME_ENCODING on name. | |
7379 | ||
1854631b RH |
7380 | 2000-10-09 Richard Henderson <rth@cygnus.com> |
7381 | ||
7382 | * Makefile.in (LANG_LIB2FUNCS): Remove. | |
7383 | (LIB2FUNCS): Remove _pure. | |
7384 | (LIB2ADD): Remove LANG_LIB2FUNCS. | |
7385 | (stage_a): Don't set LANG_LIB2FUNCS. | |
7386 | * libgcc2.c (__terminate): Mark noreturn. | |
7387 | (__pure_virtual): Remove. | |
7388 | * mklibgcc.in: Remove LIB2ADD .txt processing. | |
7389 | ||
880c4dcb RE |
7390 | 2000-10-09 Richard Earnshaw <rearnsha@arm.com> |
7391 | ||
7392 | * arm.md (push_multi): Revert unintended change. | |
7393 | ||
5895f793 RE |
7394 | 2000-10-09 Richard Earnshaw <rearnsha@arm.com> |
7395 | ||
b8dad04b | 7396 | * arm.c: Miscellaneous white space and comment clean-ups. No |
5895f793 RE |
7397 | functional change. |
7398 | * arm.md: Likewise. | |
7399 | ||
1092710d KG |
7400 | 2000-10-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
7401 | ||
7402 | * c-common.c (c_expand_builtin_printf): Set the TREE_TYPE of a new | |
7403 | STRING_CST by calling combine_strings. | |
7404 | ||
ca356f3a RE |
7405 | 2000-10-09 Richard Earnshaw <rearnsha@arm.com> |
7406 | ||
7407 | * arm.c (thumb_expand_movstrqi): Rewrite to support SSA form. | |
7408 | (thumb_output_move_mem_multiple): Support new insn format. | |
7409 | * arm.md (movmem12b): Use SSA compatible format. | |
7410 | (movmem8b): Likewise. | |
7411 | ||
cca0a211 RE |
7412 | 2000-10-09 Richard Earnshaw <rearnsha@arm.com> |
7413 | ||
7414 | * arm.md (predicable): New attribute, default to "no". | |
7415 | (all patterns): Mark as predicable if appropriate. | |
7416 | (conditional execution splits): Split using predication format. | |
7417 | (define_cond_exec): Define. | |
7418 | * arm.c (arm_print_operand): handle insn predicate. | |
b8dad04b | 7419 | |
1146cfde GP |
7420 | 2000-10-09 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
7421 | ||
7422 | * README.NS32K: Remove file. | |
7423 | ||
7424 | 2000-10-09 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> | |
7425 | ||
7426 | * README-bugs: Remove file. | |
7427 | ||
4d0230e1 PT |
7428 | 2000-10-08 Philipp Thomas <pthomas@suse.de> |
7429 | * aclocal.m4 (AM_GNU_GETTEXT): Fix non portable use of == operator | |
7430 | for test. | |
7431 | * configure: Rebuilt. | |
7432 | ||
9fdf713f PT |
7433 | 2000-10-08 Philipp Thomas <pthomas@suse.de> |
7434 | * aclocal.m4 (AM_WITH_NLS): When not using included gettext, | |
7435 | disable catalog building if no suitable program was found. | |
7436 | Move warning message from here | |
7437 | (AM_GNU_GETTEXT): To here. | |
7438 | * configure: Rebuilt. | |
7439 | ||
00036f5c PT |
7440 | 2000-10-08 Philipp Thomas <pthomas@suse.de> |
7441 | * aclocal.m4 (GCC_PATH_PROG): New. Like AC_PATH_PROG but uses | |
7442 | different cache variables. | |
7443 | (GCC_PATH_PROG_WITH_TEST): New. Like AM_PATH_PROG_WITH_TEST but | |
7444 | uses different cache variables. | |
7445 | (AM_WITH_NLS): Use GCC_PATH_PROG and GCC_PATH_PROG_WITH_TEST. | |
7446 | * configure: Regenerated. | |
b8dad04b | 7447 | |
aefa45d3 RH |
7448 | 2000-10-08 Richard Henderson <rth@cygnus.com> |
7449 | ||
7450 | * Makefile.in (libgcc.mk): Pass SHLIB_EXT, not SHLIB_LIBS. | |
7451 | * configure.in (sparc*-*-solaris*): Use t-slibgcc{,-sld}. | |
7452 | * mklibgcc.in: Consider SHLIB_LINK the entire shlib build command. | |
7453 | Use SHLIB_EXT. | |
7454 | ||
7455 | * config/t-linux (SHLIB_EXT): New. | |
7456 | (SHLIB_LINK): Use the entire build command, with substitutions. | |
7457 | (SHLIB_LIBS): Remove. | |
7458 | * config/alpha/t-osf4: Likewise. | |
7459 | * config/mips/t-iris6: Likewise. | |
7460 | * config/sparc/t-sol2: Likewise, but move shlib stuff... | |
7461 | * config/sparc/t-slibgcc-sld: ...here. | |
7462 | * config/sparc/t-slibgcc: New file. | |
7463 | ||
b15ad712 JM |
7464 | 2000-10-08 Joseph S. Myers <jsm28@cam.ac.uk> |
7465 | ||
7466 | * tm.texi (INTMAX_TYPE, UINTMAX_TYPE): Define. | |
7467 | * c-common.h (enum c_tree_index): Add CTI_INTMAX_TYPE and | |
7468 | CTI_UINTMAX_TYPE. | |
7469 | (intmax_type_node, uintmax_type_node): Define. | |
7470 | * c-common.c (decl_attributes): If pedantic, warn if `mode' | |
7471 | attributes create a type wider than intmax_t. | |
7472 | (T_IM, T_UIM): Define properly. | |
7473 | * c-decl.c (INTMAX_TYPE, UINTMAX_TYPE): Define if not already | |
7474 | defined. | |
7475 | (init_decl_processing): Initialize intmax_type_node and | |
7476 | uintmax_type_node. | |
7477 | * c-lex.c (lex_number): When pedantic and warning for integer | |
7478 | constants that are too large, in C99 mode warn for those that have | |
7479 | a type wider than long long. | |
7480 | ||
2588e44e JM |
7481 | 2000-10-08 Joseph S. Myers <jsm28@cam.ac.uk> |
7482 | ||
7483 | * c-common.c (FMT_FLAG_ARG_CONVERT, FMT_FLAG_SCANF_A_KLUDGE, | |
7484 | FMT_FLAG_FANCY_PERCENT_OK): Define. | |
7485 | (format_char_info): Add flag "4" to comment. | |
7486 | (format_flag_spec, format_flag_pair): New structures. | |
7487 | (format_kind_info): Add additional fields to control format | |
7488 | checking. | |
7489 | (printf_flag_specs, printf_flag_pairs, scanf_flag_specs, | |
7490 | scanf_flag_pairs, strftime_flag_specs, strftime_flag_pairs): New | |
7491 | arrays. | |
7492 | (time_char_table): Use "4" flag to handle %Ey. | |
7493 | (format_types): Add entries for new fields. | |
7494 | (get_flag_spec): New function. | |
7495 | (check_format_info): Increase size of flag_chars[] to 256. | |
7496 | Control format checking using the new fields of a format_kind_info | |
7497 | and the new tables; remove all conditionals on printf_format_type, | |
7498 | scanf_format_type or strftime_format_type. Handle all details of | |
7499 | bad combinations of flags (including width, precision and strftime | |
7500 | modifiers) through data rather than ad hoc code. Handle all | |
7501 | details of standard versions in which flags appeared through | |
7502 | data. Use the "4" flag. | |
7503 | ||
7b7de7c0 WC |
7504 | 2000-10-07 Will Cohen <wcohen@redhat.com>, Kazu Hirata <kazu@hxi.com> |
7505 | ||
7506 | * config/h8300/h8300.md: Remove the memory alternative and correct | |
7507 | the insn lengths in the templates for sign extention and zero | |
7508 | extention. | |
7509 | ||
9a1ba437 RH |
7510 | 2000-10-07 Richard Henderson <rth@cygnus.com> |
7511 | ||
7512 | * calls.c (expand_call): Disallow sibcalls to noreturn functions. | |
7513 | * flow.c (make_edges): Revert last change. | |
7514 | ||
7515 | * config/alpha/alpha.h (FUNCTION_OK_FOR_SIBCALL): Don't test | |
7516 | TREE_THIS_VOLATILE. | |
7517 | * config/pa/pa.h (FUNCTION_OK_FOR_SIBCALL): Likewise. | |
7518 | ||
d38d55b4 DB |
7519 | 2000-10-06 David O'Brien <obrien@dragon.nuxi.com> |
7520 | ||
7521 | * config/alpha/elf.h: Standardize the formatting. | |
7522 | ||
94984e91 DB |
7523 | 2000-10-06 David O'Brien <obrien@FreeBSD.org> |
7524 | ||
7525 | * config/alpha/elf.h: Protect the ASM_OUTPUT_IDENT definition with an | |
7526 | #undef. | |
7527 | ||
3e4eac3f RH |
7528 | 2000-10-06 Richard Henderson <rth@cygnus.com> |
7529 | ||
7530 | * function.c (diddle_return_value): Examine | |
7531 | current_function_return_rtx instead of the DECL_RESULT. | |
7532 | (expand_function_end): Handle reloading DECL_RESULT from memory | |
7533 | into a hard register. Query promote_mode for sign of mismatched | |
7534 | modes. | |
7535 | ||
4071f896 VM |
7536 | 2000-10-06 Vladimir Makarov <vmakarov@touchme.toronto.redhat.com> |
7537 | ||
7538 | * haifa-sched.c (schedule_insns): Fix typo in freeing | |
7539 | forward_dependency_cache. | |
7540 | ||
eb69f95c AO |
7541 | 2000-10-06 Alexandre Oliva <aoliva@redhat.com> |
7542 | ||
7543 | * config/sh/sh.md (calli_pcrel, call_valuei_pcrel): Add | |
7544 | `TARGET_SH2' as a condition. | |
7545 | ||
178b88b9 VM |
7546 | 2000-10-06 Vladimir Makarov <vmakarov@touchme.toronto.redhat.com> |
7547 | ||
7548 | * haifa-sched.c (anti_dependency_cache, output_dependency_cache, | |
7549 | forward_dependency_cache): New variables. | |
7550 | (add_dependence, remove_dependence): Use anti_dependency_cache and | |
7551 | output_dependency_cache. | |
7552 | (compute_block_forward_dependences): Use forward_dependency_cache. | |
7553 | (schedule_insns): Allocate and free memory for anti/output/forward | |
7554 | dependencies caches. | |
b8dad04b | 7555 | |
827bdee4 AO |
7556 | 2000-10-06 Alexandre Oliva <aoliva@redhat.com> |
7557 | ||
7558 | * config/sh/sh.md (call, call_value): Use `TARGET_SH2' instead of | |
7559 | `! TARGET_SH1'. Reindent. | |
7560 | ||
c70eaeaf KG |
7561 | 2000-10-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
7562 | ||
7563 | * builtins.c (is_valid_printf_arglist, expand_builtin_printf): | |
7564 | Move functions from here ... | |
7565 | ||
7566 | * c-common.c (is_valid_printf_arglist, c_expand_builtin_printf): | |
7567 | ... to here. | |
7568 | (c_expand_builtin): New function. | |
7569 | (init_function_format_info): Don't set `check_function_format_ptr'. | |
7570 | (c_common_nodes_and_builtins): Set built_in_class type for | |
7571 | printf/__builtin_printf to BUILT_IN_FRONTEND. | |
7572 | (c_expand_expr): Handle CALL_EXPRs that are front-end builtins. | |
7573 | ||
7574 | * c-common.h (build_function_call): Declare. | |
7575 | ||
7576 | * expr.c (expand_expr): Pass builtins with class BUILT_IN_FRONTEND | |
7577 | to `lang_expand_expr' rather than `expand_builtin'. | |
7578 | ||
7579 | * tree.c (check_function_format_ptr): Delete. | |
7580 | ||
7581 | * tree.h (check_function_format_ptr): Likewise. | |
7582 | ||
f299afab HPN |
7583 | 2000-10-06 Hans-Peter Nilsson <hp@bitrange.com> |
7584 | ||
7585 | * dwarf2out.c (build_cfa_loc): Correct to use DW_OP_regx or | |
7586 | DW_OP_bregx when cfa->reg > 31. | |
7587 | ||
7588 | * frame-dwarf2.c (decode_stack_op) [case DW_OP_regx]: Add missing | |
7589 | break. | |
7590 | ||
b313a0fe RH |
7591 | 2000-10-05 Richard Henderson <rth@cygnus.com> |
7592 | ||
7593 | * c-decl.c (warn_missing_noreturn): Remove. | |
7594 | (c_expand_body): Don't set or check can_reach_end. | |
7595 | * c-tree.h (warn_missing_noreturn): Move ... | |
7596 | * flags.h: ... here. | |
7597 | (can_reach_end): Remove. | |
7598 | * flow.c (check_function_return_warnings): New. | |
7599 | (make_edges): No edge to exit for noreturn sibcalls. | |
7600 | * function.c (expand_function_end): Save the return value | |
7601 | clobber instruction. | |
7602 | (mark_function_status): Mark it. | |
7603 | * function.h (struct function): Add x_clobber_return_insn. | |
7604 | * jump.c (can_reach_end): Remove. | |
7605 | (calculate_can_reach_end): Remove. | |
7606 | (jump_optimize_1): Don't call it. | |
7607 | * output.h (check_function_return_warnings): Declare. | |
7608 | * toplev.c (warn_missing_noreturn): Move from c-decl.c | |
7609 | (rest_of_compilation): Call check_function_return_warnings. | |
7610 | ||
83dad10c RH |
7611 | 2000-10-05 Richard Henderson <rth@cygnus.com> |
7612 | ||
7613 | * Makefile.in (NM_FOR_TARGET): New. | |
7614 | (libgcc.mk): Pass SHLIB_MKMAP, SHLIB_MAPFILES. | |
7615 | (libgcc.a, stmp-multilib): Pass NM_FOR_TARGET. | |
7616 | * mklibgcc.in: If SHLIB_MKMAP, build libgcc.map. Depend the | |
7617 | shared library build on that and EXTRA_MULTILIB_PARTS. | |
7618 | * mkmap-flat.awk: New file. | |
7619 | * mkmap-symver.awk: New file. | |
7620 | * libgcc-std.ver: New file. | |
7621 | * config/libgcc-glibc.ver: New file. | |
7622 | * config/ia64/libgcc-ia64.ver: New file. | |
7623 | * config/t-linux (SHLIB_MKMAP, SHLIB_MAPFILES): New. | |
7624 | (SHLIB_LINK): Add --version-script. | |
7625 | * config/ia64/t-ia64 (SHLIB_MAPFILES): Add libgcc-ia64.ver. | |
7626 | * config/mips/t-iris6 (SHLIB_MKMAP, SHLIB_MAPFILES): New. | |
7627 | * config/sparc/t-sol2 (SHLIB_MKMAP, SHLIB_MAPFILES): New. | |
7628 | (SHLIB_LINK): Add -M. | |
7629 | ||
d6eacd48 RH |
7630 | 2000-10-05 Richard Henderson <rth@cygnus.com> |
7631 | ||
7632 | * Makefile.in (LIB2FUNCS): Add _clz. | |
7633 | * libgcc2.c (__ffsdi2): Use count_trailing_zeros. | |
7634 | (__clz_tab): Put in its own unit, non-static. | |
7635 | * libgcc2.h: Always include longlong.h. | |
7636 | ||
29279975 RH |
7637 | * longlong.h [alpha] (count_leading_zeros): Use cmpbge with |
7638 | a zero instead of -1. | |
7639 | (count_trailing_zeros): Likewise. | |
7640 | ||
c74fa144 RH |
7641 | 2000-10-05 Richard Henderson <rth@cygnus.com> |
7642 | ||
7643 | * config/alpha/alpha.c (alpha_emit_setcc): Don't swap GT tests | |
7644 | when second op1 is const0_rtx. Validate op0 as a register. | |
7645 | * config/alpha/alpha.md (setcc_internal): Don't allow constants | |
7646 | in the first argument of the compare. | |
7647 | (setcc_swapped_internal): Likewise. | |
7648 | (setne_internal): Likewise. | |
7649 | ||
c5620996 GK |
7650 | 2000-10-05 Geoff Keating <geoffk@cygnus.com> |
7651 | ||
7652 | * tree.c (tree_size): New function split out of copy_node. | |
7653 | (make_node): Remove obstack handling. Use tree_size. | |
7654 | (copy_node): Use tree_size. | |
7655 | * tree.h: Prototype tree_size. | |
7656 | ||
331fe257 RH |
7657 | 2000-10-05 Richard Henderson <rth@cygnus.com> |
7658 | ||
7659 | * diagnostic.c (output_format): Add missing break. | |
7660 | ||
cc0cbae1 JW |
7661 | 2000-10-05 Jim Wilson <wilson@cygnus.com> |
7662 | ||
7663 | * function.c (fixup_var_refs_1, case SET): When gen_move_insn returns a | |
7664 | SEQUENCE, call emit_insn_before, copy PATTERN and REG_NOTES of last | |
7665 | sequence insn to INSN, and delete last sequence insn. | |
7666 | ||
f5fa9a5b PE |
7667 | 2000-10-05 Phil Edwards <pme@gcc.gnu.org> |
7668 | ||
7669 | * gcc.c (main): Include generated configargs.h header | |
7670 | and use arguments in '-v' output. | |
7671 | ||
2296d164 RK |
7672 | Thu Oct 5 16:16:57 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
7673 | ||
7674 | * gcc.c: Move data on prefixes forward in file and reorganize. | |
7675 | (md_exec_prefix, md_startfile_prefix, md_startfile_prefix_1): | |
7676 | Always define, but make null if no value. | |
7677 | (static_specs): Add "md_exec_prefix", "md_startfile_prefix", | |
7678 | and "md_startfile_prefix_1". | |
7679 | (main): Check whether md_exec_prefix and the others are the | |
7680 | null string rather than whether the macro is defined. | |
7681 | ||
43d75418 R |
7682 | Thu Oct 5 19:04:18 2000 J"orn Rennecke <amylaar@redhat.co.uk> |
7683 | ||
7684 | * (convert_move): Use zero_extendpsisi2 to do an unsigned extension | |
7685 | from PSImode to SImode. | |
7686 | ||
e389897b JJ |
7687 | 2000-10-05 Jakub Jelinek <jakub@redhat.com> |
7688 | ||
7689 | * emit-rtl.c (gen_lowpart_common) [REAL_ARITHMETICS]: Fix conversion | |
7690 | from float to integral mode with HOST_BITS_PER_WIDE_INT 64. | |
7691 | * dwarf2out.c (add_const_value_attribute): Divide by 4, not | |
7692 | sizeof(long). | |
7693 | ||
b8fbe62c RK |
7694 | Thu Oct 5 09:31:31 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
7695 | ||
7696 | * fold-const.c (fold, case MINUS_EXPR, case EQ_EXPR): Perform | |
7697 | negation in proper type.a | |
7698 | ||
50503ac8 RH |
7699 | 2000-10-04 Richard Henderson <rth@cygnus.com> |
7700 | ||
7701 | * configure.in (enable-shared): New. | |
7702 | * Makefile.in (LIBGCC_DEPS): Depend on EXTRA_PARTS as well. | |
7703 | (libgcc.mk): Pass SHLIB_LINK, SHLIB_LIBS, SHLIB_MULTILIB to mklibgcc. | |
7704 | * mklibgcc.in: Use them to link shared a libgcc. | |
7705 | * config/t-linux (SHLIB_LINK, SHLIB_LIBS): New. | |
7706 | * config/alpha/t-ieee (SHLIB_MULTILIB): New. | |
7707 | * config/mips/t-iris6 (SHLIB_LINK, SHLIB_LIBS): New. | |
7708 | * config/sparc/t-sol2 (SHLIB_LINK, SHLIB_LIBS): New. | |
7709 | ||
7710 | * configure.in (alpha-osf*): Use t-osf and x-osf. | |
7711 | * config/alpha/t-osf: New file. | |
7712 | * config/alpha/t-osf4: New file. | |
7713 | * config/alpha/x-osf: New file. | |
7714 | * config/alpha/x-alpha: Remove file. | |
7715 | ||
4b606faf WC |
7716 | 2000-10-04 Will Cohen <wcohen@redhat.com> |
7717 | ||
7718 | * c-typeck.c (process_init_element): Added warning for zero-length | |
7719 | array. | |
7720 | ||
7721 | * extend.texi (Zero Length): State that static initializers for | |
7722 | zero-length arrays are not allowed. | |
7723 | ||
c9b89a21 JH |
7724 | Mon Oct 2 14:50:14 MET DST 2000 Jan Hubicka <jh@suse.cz> |
7725 | ||
7726 | * rtlanal.c (single_set_1): Do not require USE and CLOBBERs | |
7727 | to come last. | |
7728 | ||
81bce466 MH |
7729 | 2000-10-03 Michael Hayes <m.hayes@elec.canterbury.ac.nz> |
7730 | ||
7731 | * config/float-c4x.h: New. | |
7732 | * configure.in (c4x-*): Set float_format to c4x. | |
b8dad04b | 7733 | * configure: Regenerate. |
81bce466 | 7734 | |
72882e08 KG |
7735 | 2000-10-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
7736 | ||
7737 | * configure.in (sparc-*-solaris2*): Disable 32-to-64 cross | |
7738 | compilation for solaris versions 2.7 and greater. | |
7739 | ||
ea205a52 ME |
7740 | 2000-10-02 Marc Espie <espie@openbsd.org> |
7741 | ||
7742 | * config/alpha.h (WORD_SWITCH_TAKES_ARG): add -rpath to default, | |
7743 | instead of redefining from scratch. | |
7744 | ||
618ec0d7 DB |
7745 | 2000-10-02 David O'Brien <obrien@dragon.nuxi.com> |
7746 | ||
7747 | * config/i386/freebsd.h (NO_PROFILE_COUNTERS): Define. | |
7748 | ||
f15b9af9 MM |
7749 | 2000-10-01 Mark Mitchell <mark@codesourcery.com> |
7750 | ||
776749c5 MM |
7751 | * config/ns32k/genix.h: Remove. |
7752 | * config/ns32k/x-genix: Likewise. | |
7753 | * config/ns32k/xm-genix.h: Likewise. | |
7754 | * config/fx80: Remove all filee in directory. | |
7755 | * config/pyr: Likewise. | |
7756 | * config/tahoe: Likewise. | |
7757 | * config/gmicro: Likewise. | |
7758 | * config/spur: Likewise. | |
7759 | * configure.in: Remove configury bits for above targets. | |
7760 | * configure: Regenerated. | |
b8dad04b | 7761 | |
a7b4171a MM |
7762 | * configure.in: Don't configure chill by default. |
7763 | * configure: Regenerated. | |
b8dad04b | 7764 | |
f15b9af9 MM |
7765 | * c-decl.c (c_expand_body): Don't generate RTL if flag_syntax_only. |
7766 | (lang_mark_false_label_stack): Remove. | |
7767 | * c-lex.c (init_c_lex): Add file_info_tree as GC root. Allocate | |
7768 | <top level> string in GC area. | |
7769 | (mark_splay_tree_node): New function. | |
7770 | (mark_splay_tree): Likewise. | |
7771 | * except.c (mark_eh_status): Only call lang_mark_false_label_stack | |
7772 | if it exists. | |
7773 | * ggc-callbacks.c (lang_mark_false_label_stack): Remove. | |
7774 | * ggc-common.c (lang_mark_false_label_stack): Change type. | |
7775 | * ggc.h (ggc_alloc_string): Add comment. | |
7776 | (ggc_strdup): New function. | |
b8dad04b | 7777 | |
51296ba0 DC |
7778 | Sat Sep 23 19:10:20 2000 Denis Chertykov <denisc@overta.ru> |
7779 | ||
7780 | * config/avr/avr.h (BRANCH_COST): Define as 0. | |
7781 | ||
7782 | * config/pdp11/pdp11.c: #include "tree.h" added. | |
7783 | ||
adcd8f77 MM |
7784 | 2000-09-30 Marek Michalkiewicz <marekm@linux.org.pl> |
7785 | ||
7786 | * config/avr/avr.c (ashlhi3_out, ashlsi3_out, ashrhi3_out, | |
7787 | ashrsi3_out, lshrhi3_out, lshrsi3_out): Optimize more cases | |
7788 | with known shift count. | |
7789 | * config/avr/avr.md (ashlsi3, ashrsi3, lshrsi3): | |
7790 | New alternative for shift count 2 with no scratch register. | |
7791 | (ashlhi3, ashlsi3): Change "cc" attribute from "clobber" to | |
7792 | "set_n" for shift counts 1 and 2. | |
7793 | ||
e35b9579 GK |
7794 | 2000-09-30 Geoff Keating <geoffk@cygnus.com> |
7795 | ||
7796 | * config/rs6000/rs6000.md (movsi_to_cr): Remove the USE. Calculate | |
7797 | the mask value from the individual SET operations. | |
7798 | (return_internal_si): Move the USE after the RETURN. | |
7799 | (return_internal_di): Likewise. | |
7800 | (return_and_restore_fpregs_si): Likewise. | |
7801 | (return_and_restore_fpregs_di): Likewise. | |
7802 | (return_eh_si): Likewise. | |
7803 | (return_eh_di): Likewise. | |
7804 | * config/rs6000/rs6000.c (mtcrf_operation): Don't look for, | |
7805 | or check, the USE. | |
7806 | (rs6000_emit_prologue): Don't emit the USE for movsi_to_cr. | |
7807 | Don't generate a PARALLEL around a single operation movsi_to_cr. | |
7808 | Generate the RETURN first in any PARALLELs. | |
7809 | ||
7810 | * rtlanal.c (single_set_1): Use fatal_insn to display the | |
7811 | invalid insn. Check for more cases when a USE or CLOBBER occurs | |
7812 | before a SET. | |
7813 | * Makefile.in: Update dependencies for rtlanal.o. | |
7814 | ||
1fba7553 JM |
7815 | 2000-09-30 Joseph S. Myers <jsm28@cam.ac.uk> |
7816 | ||
7817 | * i386.c: Move include of "config.h" to before that of <setjmp.h>. | |
7818 | ||
28e6b1c2 JM |
7819 | 2000-09-30 Joseph S. Myers <jsm28@cam.ac.uk> |
7820 | ||
7821 | * c-tree.texi, contrib.texi, gcc.texi, install.texi, invoke.texi: | |
7822 | Consistently use @email for formatting email addresses. | |
7823 | ||
f2fa288f RH |
7824 | 2000-09-29 Richard Henderson <rth@cygnus.com> |
7825 | ||
7826 | * cse.c (notreg_cost): New argument outer. | |
7827 | (COST): Pass in SET to notreg_cost | |
7828 | (COST_IN): New. | |
7829 | (fold_rtx): Use COST_IN. Prefer constants when costs | |
7830 | are the same. | |
7831 | ||
a1c63101 DE |
7832 | 2000-09-29 David Edelsohn <edelsohn@gnu.org> |
7833 | ||
7834 | * fixinc/inclhack.def (broken_cabs): Generalize regex. | |
7835 | * fixinc/fixincl.x: Regenerate. | |
7836 | ||
70dd0f7f FS |
7837 | 2000-09-29 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
7838 | ||
7839 | * loop.c (check_final_value): A GIV is not replaceable if used | |
7840 | before set. | |
7841 | ||
0c6129af JL |
7842 | Fri Sep 29 10:04:12 2000 Jeffrey A Law (law@cygnus.com) |
7843 | ||
7844 | * version.c: Bump to gcc-2.97. | |
7845 | ||
7846 | Frs Sep 29 13:37:59 MET DST 2000 Jan Hubicka <jh@suse.cz> | |
6c698a6d JH |
7847 | |
7848 | * final.c (final_scan_insn): Remove extra extract_insn call; | |
7849 | Use caching for constrain_operands. | |
7850 | (cleanup_subreg_operands): Use caching for extract_insn. | |
7851 | * recog.c (constrain_operands_cached): New. | |
7852 | * recog.h (constrain_operands_cached): Declare. | |
7853 | * i386.c (ix86_attr_length_immediate_default, | |
7854 | ix86_attr_length_address_default, ix86_agi_dependant): Cache | |
7855 | extract_insn call. | |
7856 | ||
7857 | * recog.c (asm_noperands): Tweak. | |
7858 | (extract_insn): Do not call asm_noperads for non-asm instructions. | |
7859 | ||
7860 | Fri Sep 29 13:20:42 MET DST 2000 Jan Hubicka <jh@suse.cz> | |
7861 | ||
7862 | * recog.c (recog_memoized): Rename to recog_memoized_1. | |
7863 | * recog.h (recog_memoized): Rename to recog_memoized_1. | |
7864 | (recog_memoized): New macro. | |
7865 | * rtl.h (single_set): Rename to single_set_1 | |
7866 | (single_set): New macro. | |
7867 | * rtlanal.c (single_set): Rename to single_set_1; expect clobbers | |
7868 | to be last. | |
7869 | ||
7870 | * i386.md (strmovsi_1, strmovhi_1 strmovqi_1): | |
7871 | Do not use match_dup of input operands at outputs. | |
7872 | Use register_operand for memory expression. | |
7873 | (rep_movsi): Put use last, canonicalize. | |
7874 | Use register_operand for memory expression. | |
7875 | (rep_movqi): Put use last. | |
7876 | Use register_operand for memory expression. | |
7877 | (strsetsi_1, strset_hi_1, strsetqi_1): Do not use match_dup | |
7878 | of input operands at outputs. Use register_operand for memory | |
7879 | expression. | |
7880 | (rep_stossi): Put use last; canonicalize; fix match_dup in | |
7881 | the address expression | |
7882 | (rep_stosqi): Likewise. | |
7883 | (memcmp expander): Update calls. | |
7884 | (cmpstrsi_nz_1, cmpstrsi_1, strlensi_1): Avoid match_dups in | |
7885 | the clobbers. | |
7886 | ||
7887 | * i386.md (fp_jcc_3, fp_jcc_4, jp_fcc_5): if_then_else operand is | |
7888 | VOIDmode. | |
7889 | (fp_jcc_4, fp_jcc_3): Refuse unordered comparisons. | |
7890 | ||
41e5a1f5 DB |
7891 | 2000-09-28 David O'Brien <obrien@FreeBSD.org> |
7892 | ||
7893 | * config/i386/freebsd-aout.h: New, FreeBSD a.out config file. | |
7894 | Contains the old contents of config/i386/freebsd.h | |
7895 | * config/i386/freebsd.h: Now the ELF rather than a.out config file. | |
7896 | Contains the old contents of config/i386/freebsd-elf.h | |
7897 | * config/i386/freebsd-elf.h: Retire this file -- contents moved to | |
7898 | config/i386/freebsd.h. | |
7899 | * configure.in: Adjust for above changes. | |
7900 | * po/POTFILES.in: Likewise. | |
7901 | * po/en_GB.po: Likewise. | |
7902 | * po/gcc.pot: Likewise. | |
7903 | * configure: Rebuilt. | |
7904 | ||
1db88ef9 | 7905 | 2000-09-28 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
70dd0f7f | 7906 | |
1db88ef9 FS |
7907 | * doloop.c (doloop_modify): Prevent delete_insn() from |
7908 | deleting too much. Prefer loop->top over loop->start as | |
7909 | target for the new JUMP insn. | |
7910 | (doloop_valid_p): Ignore loop with exit_count != 0. | |
7911 | ||
6a07a77f PT |
7912 | 2000-09-28 Philipp Thomas <pthomas@suse.de> |
7913 | ||
7914 | * invoke.texi (i386 Options): Add athlon to table of possible | |
7915 | choices for -mcpu=. | |
7916 | ||
b5dd2c76 GDR |
7917 | 2000-09-28 Gabriel Dos Reis <gdr@codesourcery.com> |
7918 | ||
7919 | * diagnostic.h (output_clear_message_text): New function. | |
7920 | (output_message_text): New macro. | |
7921 | ||
7922 | * diagnostic.c (clear_text_info): Rename to | |
b8dad04b | 7923 | output_clear_message_text. |
b5dd2c76 GDR |
7924 | (output_clear): Adjust. |
7925 | (output_finish): Rename to output_finalize_message. Tweek. | |
b8dad04b | 7926 | (output_to_stream): Adjust. |
b5dd2c76 | 7927 | |
d8090680 NB |
7928 | 2000-09-28 Neil Booth <neilb@earthling.net> |
7929 | ||
7930 | * cpperror.c (_cpp_begin_message): Do the test for suppression | |
b8dad04b ZW |
7931 | of warnings and pedantic warnings before the "is a warning an |
7932 | error" tests. | |
d8090680 NB |
7933 | * cppinit.c (cpp_handle_option): Remove surplus \n. |
7934 | * cpplex.c (ON_REST_ARG): Delete. | |
7935 | (skip_block_comment): Initialise prevc. | |
7936 | (parse_args): Improve error messages. | |
7937 | (maybe_paste_with_next): Use CONTEXT_VARARGS rather | |
7938 | than ON_REST_ARG. | |
7939 | * cpplib.c (cpp_push_buffer): Fix grammar in message. | |
7940 | * cppmain.c (main): Set callbacks for #ident and #pragma | |
7941 | only if no_output option is false. | |
7942 | (do_pragma_implementation): Only call the #pragma handler | |
7943 | if it is set in the cpp_reader structure. | |
7944 | ||
e93eff94 DL |
7945 | Wed Sep 27 14:00:07 2000 Donald Lindsay <dlindsay@cygnus.com> |
7946 | ||
7947 | * integrate.c (copy_insn_list): if an ignored return value | |
7948 | is being clobbered, skip cloning that into the inline copy. | |
7949 | ||
59c5d27a JM |
7950 | 2000-09-27 Joseph S. Myers <jsm28@cam.ac.uk> |
7951 | ||
7952 | * extend.texi, invoke.texi, gcc.texi, install.texi: Consistently | |
7953 | use @uref for formatting URLs. | |
7954 | ||
15ca066d ME |
7955 | 2000-09-27 Mark Elbrecht <snowball3@bigfoot.com> |
7956 | ||
7957 | * config/i386/djgpp.h (UNIQUE_SECTION): Constify the variables | |
7958 | name and prefix. | |
7959 | ||
5a8e2650 NB |
7960 | Tue 26-Sep-2000 18:25:38 BST Neil Booth <neilb@earthling.net> |
7961 | ||
7962 | * gcc.c (cpp_options): Add spec for -ftabstop=. | |
7963 | (invoke_as): New spec that handles invoking as. | |
7964 | Update specs to handle -save-temps and -traditional. | |
7965 | * ch/lang-specs.h, f/lang-specs.h, java/lang-specs.h: | |
7966 | Use invoke_as. | |
7967 | * cp/lang-specs.h, objc/lang-specs.h: Update to use | |
7968 | invoke_as, and handle -save-temps and -traditional (if | |
7969 | appropriate). | |
7970 | ||
380f6ad3 JJ |
7971 | 2000-09-26 Jakub Jelinek <jakub@redhat.com> |
7972 | ||
7973 | * config/sparc/sparc.c (sparc_emit_set_const64): Don't abort when | |
7974 | op0 is a SUBREG. | |
7975 | (function_arg_slotno): Accept TImode/CTImode. | |
7976 | * config/sparc/sparc.h (MIN_UNITS_PER_WORD): If IN_LIBGCC2 define | |
7977 | to UNITS_PER_WORD. | |
7978 | ||
ef120fc0 MH |
7979 | 2000-09-26 Michael Hayes <mhayes@cygnus.com> |
7980 | ||
7981 | * flow.c (flow_loop_pre_header_scan): Punt if loop enters | |
7982 | from entry block. | |
7983 | ||
cf606f45 JW |
7984 | 2000-09-25 Jim Wilson <wilson@cygnus.com> |
7985 | ||
7986 | * config/ia64/ia64.h (INDEX_REG_CLASS): Define to GENERAL_REGS. | |
7987 | (REGNO_OK_FOR_INDEX_P): Define to REGNO_OK_FOR_BASE_P. | |
7988 | (LEGITIMATE_ADDRESS_DISP): Use LEGITIMATE_ADDRESS_REG. | |
7989 | (REG_OK_FOR_INDEX): Define to REG_OK_FOR_BASE_P. | |
7990 | ||
a94c1199 NB |
7991 | Tue 26-Sep-2000 00:16:22 BST Neil Booth <neilb@earthling.net> |
7992 | ||
b8dad04b | 7993 | * cpplex.c (parse_args): Don't set VOID_REST flag. |
a94c1199 NB |
7994 | (CONTEXT_VARARGS): New flag. |
7995 | (maybe_paste_with_next): Set context earlier in loop. Use | |
7996 | it. Do varargs test with CONTEXT_VARARGS flag. | |
7997 | (push_arg_context): Set CONTEXT_VARARGS flag if we're | |
7998 | pushing an argument context for a varargs argument. | |
7999 | * cpplib.h (VOID_REST): Delete. | |
b8dad04b | 8000 | * gcc.dg/cpp/vararg1.c: Add test case. |
a94c1199 | 8001 | |
317639a8 BC |
8002 | 2000-09-25 Branko Cibej <branko.cibej@hermes.si> |
8003 | ||
b8dad04b ZW |
8004 | * flags.h: Declare warning flag warn_system_headers. |
8005 | * toplev.c: Define it. | |
8006 | (W_options): Add option -Wsystem-headers. | |
8007 | * diagnostic.c (count_error): Test warn_system_headers. | |
8008 | * invoke.texi: Add description for -Wsystem-headers. | |
317639a8 BC |
8009 | * cpplib.h (cpp_options): New member warn_system_headers. |
8010 | * cpphash.h (CPP_PEDANTIC, CPP_WTRADITIONAL): Don't test | |
8011 | CPP_IN_SYSTEM_HEADER. | |
8012 | * cpplib.c (do_import, do_pragma_once): Likewise. | |
8013 | * cpperror.c (_cpp_begin_message): Test warn_system_headers | |
8014 | and CPP_IN_SYSTEM_HEADER. | |
8015 | * cppinit.c (handle_option): Recognize -Wsystem_headers. | |
8016 | (print_help): Describe -Wsystem_headers. | |
8017 | * cpplex.c (lex_line): Reorganize condition so that warnings | |
8018 | about C++ comments in system headers can be enabled. Remove | |
8019 | label do_line_comment. | |
8020 | ||
1c6d33ef NB |
8021 | Mon 25-Sep-2000 23:38:27 BST Neil Booth <neilb@earthling.net> |
8022 | ||
8023 | * cpplex.c (save_comment): Only store the initial '/' | |
8024 | now. | |
8025 | (lex_token): Combine handling of the two comment types. | |
b8dad04b | 8026 | Pass everything but the initial '/' to save_comment. |
1c6d33ef | 8027 | |
7de4d004 NB |
8028 | Mon 25-Sep-2000 23:31:45 BST Neil Booth <neilb@earthling.net> |
8029 | ||
8030 | * cpphash.h (_cpp_digraph_spellings, _cpp_process_directive, | |
8031 | _cpp_can_paste): New library-internal prototypes. | |
8032 | * cpplex.c (dump_param_spelling, output_line_command, | |
8033 | output_token, cpp_scan_buffer, cpp_scan_buffer_nooutput, | |
8034 | cpp_printf, cpp_output_list): Move to cppoutput.c. | |
8035 | (process_directive, can_paste, digraph_spellings): Add _cpp_ prefix. | |
8036 | * cppmacro.c (dump_macro_args, cpp_dump_definition) Move to | |
8037 | cppoutput.c. | |
8038 | * cppoutput.c (dump_macro_args, cpp_dump_definition, output_token, | |
8039 | dump_param_spelling, output_line_command, cpp_scan_buffer, | |
8040 | cpp_scan_buffer_nooutput, cpp_printf, cpp_output_list): Moved | |
8041 | from elsewhere. | |
8042 | * Makefile.in: Add cppoutput.c. | |
8043 | * po/POTFILES.in: Add cppoutput.c. | |
8044 | ||
66db6b45 RH |
8045 | 2000-09-25 Richard Henderson <rth@cygnus.com> |
8046 | ||
8047 | * config/ia64/ia64.c (ia64_print_operand): Define 'e' as 64-n. | |
8048 | * config/ia64/ia64.md (rotrsi3): Allow variable rotates; don't | |
8049 | split until after reload. | |
8050 | (rotlsi3, rotldi3): New. | |
8051 | ||
4b40f758 GDR |
8052 | 2000-09-25 Gabriel Dos Reis <gdr@codesourcery.com> |
8053 | ||
8054 | * diagnostic.c (output_last_position): Define. | |
8055 | (set_real_maximum_length): Tweek. | |
8056 | * diagnostic.h (output_last_position): Declare. | |
8057 | ||
0f290768 KH |
8058 | 2000-09-25 Kazu Hirata <kazu@hxi.com> |
8059 | ||
8060 | * config/i386/i386.c: Fix formatting. | |
8061 | ||
90e9ee6c AL |
8062 | 2000-09-24 Alan Lehotsky <alehotsky@cygnus.com> |
8063 | ||
8064 | * emit-rtl-c (gen_lowpart_common): Accept non-paradoxical SUBREG when | |
8065 | UNITS_PER_WORD is small. | |
8066 | ||
0e00b68b JM |
8067 | 2000-09-25 Joseph S. Myers <jsm28@cam.ac.uk> |
8068 | ||
8069 | * c-common.c (format_char_info): Add flags2; update comments. | |
8070 | (print_char_table, scan_char_table, time_char_table): Split some | |
8071 | flags out into flags2. | |
8072 | (check_format_info): Use flags2 for those flags, for identifying | |
8073 | the initial character of a scanf scanset, and for identifying | |
8074 | printf formats where the '0' flag is ignored with precision. | |
8075 | ||
0a3e1f45 HPN |
8076 | 2000-09-25 Hans-Peter Nilsson <hp@axis.com> |
8077 | ||
8078 | Changes below marked "here" add TABs on either or both sides, | |
8079 | covering start of line, up to any operand for all noted .*ASM.*_OP | |
e8638df0 | 8080 | definitions. All callers changed. |
047c1c92 HPN |
8081 | * tm.texi: Make documented *_ASM.*_OP:s include spacing |
8082 | (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP, SHARED_SECTION_ASM_OP, | |
8083 | BSS_SECTION_ASM_OP, SHARED_BSS_SECTION_ASM_OP, INIT_SECTION_ASM_OP, | |
8084 | ASM_BYTE_OP, FINI_SECTION_ASM_OP, EH_FRAME_SECTION_ASM_OP, | |
8085 | ASM_STABS_OP, ASM_STABD_OP, ASM_STABN_OP). | |
8086 | Fix typos in description for LONG_LONG_TYPE_SIZE and | |
8087 | FINI_SECTION_ASM_OP. | |
0a3e1f45 HPN |
8088 | * crtstuff.c (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): Explain |
8089 | why these defaults don't have leading spacing. | |
8090 | * dbxout.c (ASM_STABS_OP, ASM_STABN_OP): Here. | |
8091 | * dwarf2out.c (UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP, | |
8092 | UNALIGNED_DOUBLE_INT_ASM_OP, SECTION_ASM_OP, ASM_BYTE_OP): Here. | |
8093 | * dwarfout.c (FILE_ASM_OP, VERSION_ASM_OP, | |
21c7361e | 8094 | UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP, ASM_BYTE_OP, |
0a3e1f45 HPN |
8095 | PUSHSECTION_ASM_OP, POPSECTION_ASM_OP): Here. |
8096 | * defaults.h (ASM_STABD_OP, EH_FRAME_SECTION_ASM_OP): Here. | |
8097 | * varasm.c (ASM_STABS_OP): Here. | |
8098 | * xcoffout.h (ASM_STABS_OP): Here. | |
e662a129 HPN |
8099 | * config/elfos.h (IDENT_ASM_OP, ASM_BYTE_OP, SET_ASM_OP, |
8100 | SKIP_ASM_OP, ALIGN_ASM_OP, COMMON_ASM_OP, LOCAL_ASM_OP, | |
8101 | INT_ASM_OP, ASCII_DATA_ASM_OP, TYPE_ASM_OP, SIZE_ASM_OP, | |
8102 | STRING_ASM_OP): Here. | |
8103 | * config/freebsd.h (IDENT_ASM_OP): Here. | |
8104 | * config/linux-aout.h (SET_ASM_OP): Here. | |
8105 | * config/linux.h (SET_ASM_OP): Here. | |
8106 | * config/lynx.h (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP, | |
8107 | INT_ASM_OP): Here. | |
8108 | * config/netbsd.h (TYPE_ASM_OP, SIZE_ASM_OP, SET_ASM_OP): Here. | |
8109 | * config/nextstep.h (EH_FRAME_SECTION_ASM_OP, ALIGN_ASM_OP): Here. | |
8110 | * config/openbsd.h (TYPE_ASM_OP, SIZE_ASM_OP, SET_ASM_OP): Here. | |
8111 | * config/psos.h (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP, | |
8112 | INT_ASM_OP): Here. | |
8113 | * config/ptx4.h (IDENT_ASM_OP, ASM_BYTE_OP, SET_ASM_OP, | |
8114 | SKIP_ASM_OP, ALIGN_ASM_OP, COMMON_ASM_OP, LOCAL_ASM_OP, | |
8115 | INT_ASM_OP, ASCII_DATA_ASM_OP, CONST_SECTION_ASM_OP, | |
8116 | CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP, | |
8117 | FINI_SECTION_ASM_OP, TYPE_ASM_OP, SIZE_ASM_OP STRING_ASM_OP): Here. | |
8118 | * config/svr3.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP, | |
8119 | CONST_SECTION_ASM_OP, ASM_BYTE_OP): Here. | |
8c13c7b3 HPN |
8120 | * config/a29k/udi.h (INT_ASM_OP): Here. |
8121 | * config/alpha/alpha-interix.h (CONST_SECTION_ASM_OP, | |
8122 | CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP, INT_ASM_OP, | |
8123 | SET_ASM_OP): Here. | |
8124 | * config/alpha/alpha.h (TEXT_SECTION_ASM_OP, | |
8125 | READONLY_DATA_SECTION_ASM_OP, DATA_SECTION_ASM_OP, | |
8126 | UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP, | |
8127 | UNALIGNED_DOUBLE_INT_ASM_OP, ASM_STABS_OP, ASM_STABN_OP, | |
8128 | ASM_STABD_OP): Here. | |
8129 | * config/alpha/elf.h (IDENT_ASM_OP, SKIP_ASM_OP, ALIGN_ASM_OP, | |
8130 | COMMON_ASM_OP, INT_ASM_OP, ASCII_DATA_ASM_OP, | |
8131 | CONST_SECTION_ASM_OP, CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP, | |
8132 | BSS_SECTION_ASM_OP, SBSS_SECTION_ASM_OP, SDATA_SECTION_ASM_OP, | |
8133 | INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP, TYPE_ASM_OP, | |
8134 | SIZE_ASM_OP, STRING_ASM_OP): Here. | |
8135 | * config/alpha/vms.h (LINK_SECTION_ASM_OP, | |
8136 | READONLY_SECTION_ASM_OP, LITERALS_SECTION_ASM_OP, | |
8137 | CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP, COMMON_ASM_OP): Here. | |
8138 | * config/arc/arc.h (ASM_BYTE_OP, SET_ASM_OP): Here. | |
8202cda0 | 8139 | (PUSHSECTION_ASM_OP): Define this, not PUSHSECTION_FORMAT. |
8c13c7b3 HPN |
8140 | * config/arm/aof.h (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): |
8141 | Here. | |
8142 | * config/arm/aout.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP, | |
8143 | BSS_SECTION_ASM_OP, SET_ASM_OP): Here. | |
8144 | * config/arm/coff.h (INT_ASM_OP): Here. | |
8145 | * config/arm/conix-elf.h (UNALIGNED_WORD_ASM_OP): Here. | |
8146 | * config/arm/elf.h (TYPE_ASM_OP, SIZE_ASM_OP, INT_ASM_OP): Here. | |
8147 | * config/arm/linux-elf.h (IDENT_ASM_OP, CONST_SECTION_ASM_OP, | |
8148 | INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP): Here. | |
8149 | * config/arm/unknown-elf.h (UNALIGNED_WORD_ASM_OP): Here. | |
8150 | * config/avr/avr.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP, | |
8151 | ASM_BYTE_OP, TYPE_ASM_OP, SIZE_ASM_OP, WEAK_ASM_OP, | |
8152 | STRING_ASM_OP): Here. Update documentation copy in comments. | |
4e8aa65c HPN |
8153 | * config/c4x/c4x.h (ASM_STABS_OP, BSS_SECTION_ASM_OP): Here. |
8154 | * config/clipper/clipper.h (TEXT_SECTION_ASM_OP, | |
8155 | DATA_SECTION_ASM_OP): Here. | |
8156 | * config/clipper/clix.h (BSS_SECTION_ASM_OP, INIT_SECTION_ASM_OP): | |
8157 | Here. | |
8158 | * config/convex/convex.h (TEXT_SECTION_ASM_OP, | |
8159 | DATA_SECTION_ASM_OP, BSS_SECTION_ASM_OP): Here. | |
8160 | * config/d30v/d30v.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP, | |
8161 | BSS_SECTION_ASM_OP): Here. | |
8162 | * config/fr30/fr30.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP, | |
8163 | BSS_SECTION_ASM_OP): Here. | |
8164 | * config/fx80/fx80.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP): | |
8165 | Here. | |
8166 | * config/gmicro/gmicro.h (TEXT_SECTION_ASM_OP, | |
8167 | DATA_SECTION_ASM_OP, BSS_SECTION_ASM_OP): Here. | |
8168 | * config/h8300/h8300.h (ASM_WORD_OP): Here. | |
71d48a01 HPN |
8169 | * config/i370/i370.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP, |
8170 | BSS_SECTION_ASM_OP): Here. | |
8171 | * config/i386/aix386.h (INIT_SECTION_ASM_OP): Here. | |
8172 | * config/i386/bsd.h (ASM_BYTE_OP): Here. | |
8173 | * config/i386/cygwin.h (SET_ASM_OP, INT_ASM_OP): Here. | |
8174 | * config/i386/dgux.h (CONST_SECTION_ASM_OP): Here. | |
8175 | * config/i386/djgpp.h (IDENT_ASM_OP, INT_ASM_OP, SET_ASM_OP): | |
8176 | Here. | |
8177 | * config/i386/freebsd-elf.h (SET_ASM_OP): Here. | |
8178 | * config/i386/freebsd.h (TYPE_ASM_OP, SIZE_ASM_OP, INT_ASM_OP): | |
8179 | Here. | |
8180 | * config/i386/i386-coff.h (CTORS_SECTION_ASM_OP, | |
8181 | DTORS_SECTION_ASM_OP, INT_ASM_OP): Here. | |
8182 | * config/i386/i386-interix.h (STRING_ASM_OP, CONST_SECTION_ASM_OP, | |
8183 | CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP, INT_ASM_OP, | |
8184 | SET_ASM_OP): Here. | |
8185 | * config/i386/i386elf.h (BSS_SECTION_ASM_OP): Here. | |
8186 | * config/i386/netbsd.h (INT_ASM_OP): Here. | |
8187 | * config/i386/openbsd.h (INT_ASM_OP): Here. | |
8188 | * config/i386/osfrose.h (TYPE_ASM_OP, SIZE_ASM_OP, SET_ASM_OP, | |
8189 | IDENT_ASM_OP): Here. | |
8190 | * config/i386/sco5.h (ALIGN_ASM_OP, ASCII_DATA_ASM_OP, | |
8191 | ASM_BYTE_OP, IDENT_ASM_OP, COMMON_ASM_OP, SET_ASM_OP, | |
8192 | LOCAL_ASM_OP, INT_ASM_OP, TYPE_ASM_OP, SIZE_ASM_OP, STRING_ASM_OP, | |
8193 | SKIP_ASM_OP, GLOBAL_ASM_OP): Here. | |
8194 | * config/i386/seq-sysv3.h (SHARED_SECTION_ASM_OP, | |
8195 | SHARED_BSS_SECTION_ASM_OP): Here. | |
8196 | * config/i386/sequent.h (SHARED_SECTION_ASM_OP): Here. | |
8197 | * config/i386/sun386.h (ASM_BYTE_OP, TEXT_SECTION_ASM_OP, | |
8198 | DATA_SECTION_ASM_OP): Here. | |
8199 | * config/i386/svr3gas.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP, | |
8200 | CONST_SECTION_ASM_OP): Here. | |
8201 | * config/i386/sysv3.h (INIT_SECTION_ASM_OP): Here. | |
8202 | * config/i386/unix.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP, | |
8203 | BSS_SECTION_ASM_OP): Here. | |
de323aa1 HPN |
8204 | * config/i860/bsd-gas.h (ASCII_DATA_ASM_OP): Here. |
8205 | * config/i860/bsd.h (ASCII_DATA_ASM_OP): Here. | |
8206 | * config/i860/fx2800.h (ASM_STABS_OP, ASM_STABN_OP, ASM_STABD_OP, | |
8207 | BSS_ASM_OP): Here, but use trailing spaces. | |
8208 | * config/i860/i860.h (ASM_BYTE_OP, TEXT_SECTION_ASM_OP, | |
8209 | DATA_SECTION_ASM_OP): Here. | |
8210 | * config/i860/paragon.h (ASCII_DATA_ASM_OP, BSS_SECTION_ASM_OP): | |
8211 | Here. | |
8212 | * config/i860/sysv3.h (ASCII_DATA_ASM_OP, CTORS_SECTION_ASM_OP, | |
8213 | DTORS_SECTION_ASM_OP, TDESC_SECTION_ASM_OP): Here. | |
8214 | * config/i860/sysv4.h (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP, | |
8215 | TDESC_SECTION_ASM_OP): Here. | |
8216 | * config/i960/i960-coff.h (CTORS_SECTION_ASM_OP, | |
8217 | DTORS_SECTION_ASM_OP, INT_ASM_OP): Here. | |
8218 | * config/i960/i960.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP): | |
8219 | Here. | |
8220 | * config/ia64/ia64.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP, | |
8221 | BSS_SECTION_ASM_OP, EH_FRAME_SECTION_ASM_OP, | |
8222 | UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP, | |
8223 | UNALIGNED_DOUBLE_INT_ASM_OP): Here. | |
8224 | * config/ia64/sysv4.h (ASM_BYTE_OP, STRING_ASM_OP, SKIP_ASM_OP, | |
8225 | COMMON_ASM_OP, ASCII_DATA_ASM_OP, INIT_SECTION_ASM_OP, | |
8226 | FINI_SECTION_ASM_OP, CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP, | |
8227 | SDATA_SECTION_ASM_OP, SBSS_SECTION_ASM_OP): Here. | |
6e7b07a7 HPN |
8228 | * config/m32r/m32r.h (SCOMMON_ASM_OP): Here. |
8229 | * config/m68hc11/m68hc11.h (GLOBAL_ASM_OP): Here. | |
8230 | * config/m68k/auxas.h (BYTE_ASM_OP, WORD_ASM_OP, LONG_ASM_OP, | |
8231 | SPACE_ASM_OP, ALIGN_ASM_OP, GLOBAL_ASM_OP, SWBEG_ASM_OP, | |
8232 | SET_ASM_OP): Here. | |
8233 | * config/m68k/coff.h (BSS_SECTION_ASM_OP, CTORS_SECTION_ASM_OP, | |
8234 | DTORS_SECTION_ASM_OP, INT_ASM_OP): Here. | |
8235 | * config/m68k/crds.h (BSS_SECTION_ASM_OP): Here. | |
8236 | * config/m68k/dpx2.h (ASM_BYTE_OP, GLOBAL_ASM_OP): Here. | |
8237 | * config/m68k/hp320.h (ASCII_DATA_ASM_OP, GLOBAL_ASM_OP): Here. | |
8238 | * config/m68k/linux.h (BSS_SECTION_ASM_OP): Here. | |
8239 | * config/m68k/lynx.h (BSS_SECTION_ASM_OP): Here. | |
8240 | * config/m68k/m68k.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP, | |
8241 | GLOBAL_ASM_OP): Here. | |
8242 | * config/m68k/m68kelf.h (SWBEG_ASM_OP, BSS_ASM_OP, | |
8243 | BSS_SECTION_ASM_OP): Here. | |
8244 | * config/m68k/m68kv4.h (BSS_ASM_OP): Here. | |
8245 | * config/m68k/mot3300.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP, | |
8246 | ASCII_DATA_ASM_OP, SET_ASM_OP, CTORS_SECTION_ASM_OP, | |
8247 | DTORS_SECTION_ASM_OP, GLOBAL_ASM_OP, ASM_BYTE_OP, ALIGN_ASM_OP, | |
8248 | SKIP_ASM_OP): Here. | |
8249 | * config/m68k/newsgas.h (SET_ASM_OP): Here. | |
8250 | * config/m68k/rtemself.h (INIT_SECTION_ASM_OP, | |
8251 | FINI_SECTION_ASM_OP, EH_FRAME_SECTION_ASM_OP): Here. | |
8252 | * config/m68k/sgs.h (BYTE_ASM_OP, WORD_ASM_OP, LONG_ASM_OP, | |
8253 | SPACE_ASM_OP, ALIGN_ASM_OP, GLOBAL_ASM_OP, SWBEG_ASM_OP, | |
8254 | SET_ASM_OP, UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP): Here, | |
8255 | but use trailing spaces. | |
8256 | * config/m68k/tower-as.h (TEXT_SECTION_ASM_OP, | |
8257 | DATA_SECTION_ASM_OP, GLOBAL_ASM_OP, INIT_SECTION_ASM_OP, | |
8258 | FINI_SECTION_ASM_OP, CONST_SECTION_ASM_OP, BSS_SECTION_ASM_OP): | |
8259 | Here. | |
8260 | * config/m88k/dgux.h (FINI_SECTION_ASM_OP, INIT_SECTION_ASM_OP, | |
8261 | CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): Here. | |
8262 | * config/m88k/m88k.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP, | |
8263 | CONST_SECTION_ASM_OP, TDESC_SECTION_ASM_OP, CTORS_SECTION_ASM_OP, | |
8264 | DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP, | |
8265 | IDENT_ASM_OP, FILE_ASM_OP, SECTION_ASM_OP, SET_ASM_OP, | |
8266 | GLOBAL_ASM_OP, ALIGN_ASM_OP, SKIP_ASM_OP, COMMON_ASM_OP, | |
8267 | BSS_ASM_OP, FLOAT_ASM_OP, DOUBLE_ASM_OP, INT_ASM_OP, SHORT_ASM_OP, | |
8268 | CHAR_ASM_OP, ASCII_DATA_ASM_OP, SBSS_ASM_OP, SCOMM_ASM_OP, | |
8269 | SDATA_SECTION_ASM_OP, TYPE_ASM_OP, SIZE_ASM_OP, INTERNAL_ASM_OP, | |
8270 | VERSION_ASM_OP, UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP, | |
8271 | PUSHSECTION_ASM_OP, POPSECTION_ASM_OP, REQUIRES_88110_ASM_OP, | |
8272 | ASM_BYTE_OP): Here. | |
8273 | * config/m88k/openbsd.h (SET_ASM_OP): Here. | |
8274 | * config/m88k/sysv4.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP, | |
8275 | CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): Here. | |
78d057d8 HPN |
8276 | * config/mcore/mcore-elf.h (UNALIGNED_INT_ASM_OP, |
8277 | UNALIGNED_SHORT_ASM_OP, CTORS_SECTION_ASM_OP, | |
8278 | DTORS_SECTION_ASM_OP): Here. | |
8279 | * config/mcore/mcore-pe.h (CTORS_SECTION_ASM_OP, | |
8280 | DTORS_SECTION_ASM_OP, INT_ASM_OP): Here. | |
8281 | * config/mips/elf.h (TYPE_ASM_OP, SIZE_ASM_OP, | |
8282 | BSS_SECTION_ASM_OP): Here. | |
8283 | * config/mips/elf64.h (TYPE_ASM_OP, SIZE_ASM_OP): Here. | |
8284 | * config/mips/iris5.h (ABICALLS_ASM_OP): Here. | |
8285 | * config/mips/iris6.h (TYPE_ASM_OP, SIZE_ASM_OP, | |
8286 | POPSECTION_ASM_OP, BSS_SECTION_ASM_OP, CONST_SECTION_ASM_OP_32, | |
8287 | CONST_SECTION_ASM_OP_64, CTORS_SECTION_ASM_OP, | |
8288 | DTORS_SECTION_ASM_OP, EH_FRAME_SECTION_ASM_OP): Here. | |
8289 | * config/mips/mips.c (ABICALLS_ASM_OP): Here. | |
8290 | * config/mips/mips.h (ASM_STABS_OP, ASM_STABN_OP, ASM_STABD_OP): | |
8291 | Here. | |
8292 | * config/mips/netbsd.h (TYPE_ASM_OP, SIZE_ASM_OP, WEAK_ASM_OP): | |
8293 | Here. | |
8294 | * config/mips/osfrose.h (SET_ASM_OP): Here. | |
8295 | * config/mips/sni-svr4.h (ABICALLS_ASM_OP): Here. | |
76bbee81 HPN |
8296 | * config/ns32k/encore.h (SHARED_SECTION_ASM_OP): Here. |
8297 | * config/ns32k/merlin.h (SHARED_SECTION_ASM_OP): Here. | |
8298 | * config/ns32k/ns32k.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP): | |
8299 | Here. | |
8300 | * config/ns32k/sequent.h (SHARED_SECTION_ASM_OP): Here. | |
8301 | * config/ns32k/tek6000.h (SHARED_SECTION_ASM_OP): Here. | |
8302 | * config/pa/pa-64.h (INT_ASM_OP, TYPE_ASM_OP, SIZE_ASM_OP): Here. | |
8303 | * config/pa/pa.h (ASM_STABS_OP, ASM_STABN_OP): Here. | |
8304 | * config/pj/pj.h (SET_ASM_OP, BSS_SECTION_ASM_OP): Here. | |
8305 | * config/pyr/pyr.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP): | |
8306 | Here. | |
8307 | * config/romp/romp.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP): | |
8308 | Here. | |
8309 | * config/rs6000/rs6000.h (SET_ASM_OP): Here. | |
8310 | * config/rs6000/sol2.h (ASM_STABN_OP): Here. | |
8311 | * config/rs6000/sysv4.h (SKIP_ASM_OP, LOCAL_ASM_OP, LCOMM_ASM_OP): | |
8312 | Here. | |
471b6f1b HPN |
8313 | * config/sh/sh.h (SET_ASM_OP, BSS_SECTION_ASM_OP, |
8314 | UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP): Here. | |
8315 | * config/sparc/linux.h (COMMON_ASM_OP): Here. | |
8316 | * config/sparc/linux64.h (COMMON_ASM_OP, | |
8317 | UNALIGNED_DOUBLE_INT_ASM_OP): Here. | |
8318 | * config/sparc/litecoff.h (BSS_SECTION_ASM_OP, | |
8319 | CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP, INT_ASM_OP): Here. | |
8320 | * config/sparc/lynx.h (BSS_SECTION_ASM_OP): Here. | |
8321 | * config/sparc/pbd.h (ASM_INT_OP): Here. | |
8322 | * config/sparc/sp64-elf.h (UNALIGNED_LONGLONG_ASM_OP): Here. | |
8323 | * config/sparc/sparc.h (ASM_BYTE_OP, TEXT_SECTION_ASM_OP, | |
8324 | DATA_SECTION_ASM_OP, IDENT_ASM_OP): Here. | |
8325 | * config/sparc/sun4gas.h (UNALIGNED_DOUBLE_INT_ASM_OP, | |
8326 | UNALIGNED_INT_ASM_OP, UNALIGNED_SHORT_ASM_OP): Here. | |
8327 | * config/sparc/sysv4.h (STRING_ASM_OP, COMMON_ASM_OP, SKIP_ASM_OP, | |
8328 | UNALIGNED_DOUBLE_INT_ASM_OP, UNALIGNED_INT_ASM_OP, | |
8329 | UNALIGNED_SHORT_ASM_OP, PUSHSECTION_ASM_OP, POPSECTION_ASM_OP, | |
8330 | TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP, BSS_SECTION_ASM_OP, | |
8331 | CONST_SECTION_ASM_OP, INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP, | |
8332 | CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP, | |
8333 | EH_FRAME_SECTION_ASM_OP): Here. | |
8334 | * config/sparc/vxsim.h (COMMON_ASM_OP): Here. | |
8335 | * config/spur/spur.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP): | |
8336 | Here. | |
8337 | * config/tahoe/tahoe.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP): | |
8338 | Here. | |
8339 | * config/v850/v850.h (SCOMMON_ASM_OP, ZCOMMON_ASM_OP, | |
8340 | TCOMMON_ASM_OP): Here. | |
8341 | * config/vax/vax.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP): | |
8342 | Here. | |
8343 | * config/we32k/we32k.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP, | |
8344 | ASM_BYTE_OP): Here. | |
0a3e1f45 | 8345 | |
ea9ea008 RH |
8346 | 2000-09-25 Richard Henderson <rth@cygnus.com> |
8347 | ||
8348 | * expmed.c (store_bit_field): Adjust last change to not consider | |
8349 | any word-sized field naturally aligned. | |
8350 | ||
9e495700 RH |
8351 | 2000-09-24 Richard Henderson <rth@cygnus.com> |
8352 | ||
8353 | * config/alpha/alpha.c (alpha_emit_conditional_branch): Handle | |
8354 | TFmode unordered compares properly. Revalidate integer compare | |
8355 | operands. | |
8356 | (alpha_emit_setcc): New. | |
8357 | (alpha_emit_conditional_move): Revalidate integer compare operands. | |
8358 | * config/alpha/alpha-protos.h: Update. | |
8359 | * config/alpha/alpha.md (cmpdi): Allow general operands. | |
8360 | (sne): Use alpha_emit_setcc. | |
8361 | (seq, slt, sle, sgt, sge, sltu, sleu, sgtu, sgeu): Likewise. | |
8362 | (sunordered, sordered): New. | |
8363 | ||
2ed4af6f RH |
8364 | 2000-09-24 Richard Henderson <rth@cygnus.com> |
8365 | ||
8366 | * config/ia64/ia64-protos.h: Update. | |
8367 | * config/ia64/ia64.c (call_multiple_values_operation): Remove. | |
8368 | (ia64_expand_call): New. | |
8369 | (ia64_expand_prologue): Emit an alloc if we need extra input | |
8370 | registers. | |
8371 | (ia64_expand_epilogue): New arg sibcall_p; don't emit the return | |
8372 | instruction if true. | |
8373 | (struct reg_flags): Add is_sibcall. | |
8374 | (rtx_needs_barrier): A sibcall does not use CFM et al. Ignore USEs. | |
8375 | (emit_insn_group_barriers): Set flags.is_sibcall. Remove hacks | |
8376 | for CODE_FOR_gr_spill_internal/CODE_FOR_gr_restore_internal. | |
8377 | * config/ia64/ia64.h (PREDICATE_CODES): Update. | |
8378 | * config/ia64/ia64.md (call): Use ia64_expand_call. | |
8379 | (call_value): Likewise. | |
8380 | (sibcall, sibcall_value): New. | |
8381 | (call patterns): Remove extra expanders; tidy. | |
8382 | (sibcall_epilogue): New. | |
8383 | (set_bsp): Remove the extra USE. Put the operand inside the UNSPEC. | |
8384 | ||
e1389cac RH |
8385 | 2000-09-24 Richard Henderson <rth@cygnus.com> |
8386 | ||
8387 | * emit-rtl.c (gen_lowpart_common): Use trunc_int_for_mode. | |
8388 | ||
fd442cef RH |
8389 | * sibcall.c (skip_pic_restore): New. |
8390 | (identify_call_return_value): Use it. | |
8391 | ||
c06aa51e MM |
8392 | 2000-09-24 Mark Mitchell <mark@codesourcery.com> |
8393 | ||
8394 | * c-tree.texi: Moved here from cp/ir.texi. Documented nested | |
8395 | functions. Generalize to handle both C and C++. | |
8396 | * Makefile.in (c-tree.info): New target. | |
8397 | (info): Add c-tree.info. | |
b8dad04b | 8398 | |
bd5dab53 RK |
8399 | Sun Sep 24 09:15:48 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
8400 | ||
8401 | * expr.c (store_field): If BITSIZE is negative, use size of type. | |
8402 | (expand_expr, case COMPONENT_EXPR): Likewise. | |
8403 | ||
838f313b NB |
8404 | Sun 24-Sep-2000 11:40:23 BST Neil Booth <NeilB@earthling.net> |
8405 | ||
8406 | * cpplex.c: Update TODO comment. | |
8407 | * cpplib.c (do_error, do_warning): Merge common code of | |
8408 | do_error and do_warning into do_diagnostic. Use it. | |
8409 | (do_diagnostic): New function. | |
8410 | * cpplib.h: Fix comment typo. | |
8411 | ||
c5412f06 JM |
8412 | 2000-09-24 Joseph S. Myers <jsm28@cam.ac.uk> |
8413 | ||
8414 | * c-common.c (check_format_info): Warn for a wide character string | |
8415 | used as a non-wide format argument. | |
8416 | ||
1c44c45d JM |
8417 | 2000-09-24 Joseph S. Myers <jsm28@cam.ac.uk> |
8418 | ||
8419 | * builtins.def (BUILT_IN_LLABS): Add. | |
8420 | * builtins.c (expand_builtin): Also abort on BUILT_IN_LLABS. | |
8421 | * c-common.c (c_common_nodes_builtins): Create builtin functions | |
8422 | __builtin_llabs, and plain llabs unless no_nonansi_builtins | |
8423 | outside of C99 mode. | |
8424 | (expand_tree_builtin): Handle BUILT_IN_LLABS. | |
8425 | ||
cbcff6df NB |
8426 | Sat 23-Sep-2000 22:39:18 BST Neil Booth <NeilB@earthling.net> |
8427 | ||
8428 | * cpphash.h (CPP_RESERVE, CPP_PUTS_Q, CPP_PUTS, CPP_PUTC_Q, | |
8429 | CPP_PUTC, DUMMY_TOKEN, NO_DUMMY_TOKEN): Delete. | |
8430 | * cpplex.c (_cpp_expand_token_space, _cpp_init_toklist, | |
8431 | _cpp_free_toklist): No need to worry about extra dummy token | |
8432 | at the start of token lists any more. | |
8433 | (trigraph_ok): Only warn outside comments. | |
8434 | (skip_block_comment): Set and clear lexing_comment. | |
8435 | (skip_line_comment): Take a cpp_reader not cpp_buffer. | |
8436 | Set and clear lexing_comment. | |
8437 | (parse_number): Handle leading '.' indicated by pfile->seen_dot. | |
8438 | (check_long_token): Delete. | |
8439 | (lex_percent, lex_dot): New subroutines of lex_token to | |
8440 | handle lexing of '.' and '%' without lookback. | |
8441 | (lex_token): Use lex_dot and lex_percent. | |
8442 | (lex_line): Don't check for LIST_OFFSET. | |
8443 | (_cpp_init_input_buffer): Update for new _cpp_init_toklist. | |
8444 | * cpplib.c (_cpp_parse_assertion): Similarly. | |
8445 | (cpp_push_buffer): Initialize extra_char. | |
8446 | * cpplib.h (LIST_OFFSET): Delete. | |
8447 | (struct cpp_buffer): New member extra_char. | |
8448 | (struct lexer_state): New members lexing_comment and seen_dot. | |
8449 | ||
2abdcaee JM |
8450 | 2000-09-23 Jason Merrill <jason@redhat.com> |
8451 | ||
8452 | * config/rs6000/x-aix41 (CLIB): Define here. | |
8453 | * config/rs6000/t-aix43: Not here. | |
8454 | * config/rs6000/t-aix41: Or here. Remove. | |
8455 | * configure.in: Don't use it. | |
8456 | ||
981d4858 JM |
8457 | 2000-09-22 Jason Merrill <jason@redhat.com> |
8458 | ||
2abdcaee JM |
8459 | * configure.in: Add test for HAVE_LD_DWARF_LINKONCE. |
8460 | * toplev.c: Use it to initialize flag_eliminate_dwarf2dups. | |
8461 | * config.in: Regenerate. | |
8462 | ||
981d4858 JM |
8463 | * configure.in: Fix checks for assembler features when using a |
8464 | one-tree assembler that has not yet been built. | |
8465 | Fix --disable-threads. | |
8466 | ||
afa223c6 GK |
8467 | 2000-09-19 Geoff Keating <geoffk@cygnus.com> |
8468 | ||
8469 | * stmt.c (expand_asm_operands): Allow # in constraints. | |
8470 | ||
a3a834aa JM |
8471 | 2000-09-22 Jason Merrill <jason@redhat.com> |
8472 | ||
8473 | * c-lex.c (skip_white_space): Just treat CRs as horizontal whitespace. | |
8474 | ||
8475 | * dbxout.c (dbxout_symbol_name): Just use DECL_NAME for | |
8476 | function-local names. | |
8477 | ||
18424ae1 BL |
8478 | 2000-09-22 Brad Lucier <lucier@math.purdue.edu> |
8479 | Mark Mitchell <mark@codesourcery.com> | |
8480 | ||
b8dad04b ZW |
8481 | * toplev.c (warn_disabled_optimization): Declare new warning flag. |
8482 | * flags.h (warn_disabled_optimization): Add it here. | |
8483 | * gcse.c (gcse_main): Add warning when disabled. | |
8484 | * invoke.texi: Document -Wdisabled-optimization. | |
18424ae1 | 8485 | |
1bfb5f8f JM |
8486 | 2000-09-21 Jason Merrill <jason@redhat.com> |
8487 | ||
8488 | * dwarf2out.c (add_const_value_attribute): Multiply by length, not 4. | |
8489 | ||
8490 | * dwarf2out.c (tree_add_const_value_attribute): New fn. | |
8491 | (gen_variable_die): Call it for non-definitions. | |
8492 | ||
8493 | * dwarf2out.c (die_struct): Add die_mark field. | |
8494 | (mark_dies, unmark_dies): New fns. | |
8495 | (clear_die_sizes): Remove. | |
8496 | (print_die): Check die_symbol rather than die_offset. | |
8497 | (build_abbrev_table, output_pubnames, output_aranges): Check | |
8498 | die_mark rather than die_offset. | |
8499 | (output_comp_unit): Move calc_die_sizes after build_abbrev_table. | |
8500 | Call mark_dies. | |
8501 | ||
2047e26f NB |
8502 | Thu 21-Sep-2000 18:19:05 BST Neil Booth <NeilB@earthling.net> |
8503 | ||
8504 | * cppfiles.c (lookup_include_file): Rename to open_file. | |
8505 | Always create a splay tree value, even on syscall failures. | |
8506 | Negative entries indicated by fd == -2. | |
8507 | Re-open files closed in the meantime. | |
8508 | (_cpp_fake_include): Create a negative splay tree entry. | |
8509 | (find_include_file, cpp_read_file): Update for function name | |
8510 | change. | |
8511 | * gcc.gd/cpp/mi4.c: Testcase. | |
8512 | ||
f27cd94d NC |
8513 | 2000-09-21 Nick Clifton <nickc@redhat.com> |
8514 | ||
2359a5e1 NC |
8515 | * config/arm/t-arm-elf (MULTILIB_DIRNAMES): Enable multilibs for |
8516 | ARM and THUMB modes. | |
8517 | ||
f27cd94d | 8518 | * config/mcore/mcore.c: Fix compile time warnings. |
b8dad04b | 8519 | * config/mcore/mcore-protos.h: Fix compile time warnings. |
f27cd94d | 8520 | |
7373064a DA |
8521 | 2000-09-20 J. David Anglin <dave@hiauly1.hia.nrc.ca> |
8522 | ||
8523 | * configure.in: Correct test of gcc_cv_glibc. | |
8524 | * configure: Rebuilt. | |
8525 | * config.in: Rebuilt. | |
8526 | ||
07328167 KG |
8527 | 2000-09-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
8528 | ||
8529 | * builtins.c (expand_builtin_fputs): Also expand when length!=1. | |
8530 | (expand_builtin): Handle BUILT_IN_FWRITE. | |
8531 | ||
8532 | * builtins.def (BUILT_IN_FWRITE): New entry. | |
8533 | ||
8534 | * c-common.c (c_common_nodes_and_builtins): Declare __builtin_fwrite. | |
8535 | ||
5fa7c8ce RK |
8536 | Wed Sep 20 15:39:14 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
8537 | ||
dc36ec2c RK |
8538 | * gcc.c (modify_target): New variable and struct. |
8539 | (process_command): Handle MODIFY_TARGET_NAME. | |
8540 | * tm.texi (MODIFY_TARGET_NAME): Add documentation for new macro. | |
8541 | * config/pa/pa.h (MODIFY_TARGET_NAME): New macro. | |
8542 | ||
5fa7c8ce RK |
8543 | * c-decl.c (finish_decl): Add else's to avoid referencing |
8544 | TYPE_DOMAIN of an ERROR_MARK. | |
8545 | ||
155b14a8 DC |
8546 | Wed Sep 20 21:44:31 2000 Denis Chertykov <denisc@overta.ru> |
8547 | ||
8548 | * config/avr/avr.c (adjust_insn_length): Adjust lengths of | |
8549 | `reload_in*' insns. | |
8550 | ||
8551 | 2000-09-19 Marek Michalkiewicz <marekm@linux.org.pl> | |
8552 | ||
8553 | * config/avr/avr.md (neghi2): Add alternative for input and output | |
8554 | operands in different registers, as in negsi2. | |
8555 | (*negsi2): Remove '*' from the name. Use "movw" if available. | |
8556 | ||
fd09c61f JW |
8557 | 2000-09-19 Jim Wilson <wilson@cygnus.com> |
8558 | ||
8559 | * config/ia64/crtbegin.asm (__dso_handle): Delete use of | |
8560 | HAVE_GAS_HIDDEN macro. | |
8561 | ||
7eea5554 NB |
8562 | Tue 19-Sep-2000 22:38:57 BST Neil Booth <NeilB@earthling.net> |
8563 | ||
8564 | * cpplex.c (lex_line): Drop the EOF token for unknown | |
8565 | directives in assembler. | |
8566 | ||
a473fe45 DE |
8567 | 2000-09-19 David Edelsohn <edelsohn@gnu.org> |
8568 | ||
8569 | * configure.in: Allow enable_threads_flag value of "aix". Define | |
fd60bf96 | 8570 | thread_file as "aix" for AIX 4.3 and above. |
a473fe45 | 8571 | * configure: Regenerated. |
fd60bf96 DE |
8572 | |
8573 | * gthr-aix.h: New file. | |
8574 | ||
a473fe45 DE |
8575 | * rs6000/t-aix43: Replace soft-float multilib with pthread. |
8576 | Remove 403 processor multilib match. Fix rios2 processor multilib | |
8577 | match. | |
8578 | ||
fd60bf96 DE |
8579 | * rs6000/aix.h (ASM_DECLARE_FUNCTION_NAME): Use function_section |
8580 | to return to appropriate csect. | |
8581 | ||
ad3fd36f KG |
8582 | 2000-09-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
8583 | ||
8584 | * builtins.c (is_valid_printf_arglist, expand_builtin_printf): New | |
8585 | functions. | |
8586 | (expand_builtin_fputs): Set `target' parameter for `expand_expr'. | |
8587 | (expand_builtin): Handle BUILT_IN_PUTCHAR, BUILT_IN_PUTS and | |
8588 | BUILT_IN_PRINTF. | |
8589 | ||
8590 | * builtins.def (BUILT_IN_PUTCHAR, BUILT_IN_PUTS, BUILT_IN_PRINTF): | |
8591 | New entries. | |
8592 | ||
8593 | * c-common.c (init_function_format_info): Handle __builtin_printf. | |
8594 | Set `check_function_format_ptr'. | |
8595 | (c_common_nodes_and_builtins): Set `puts_ftype' and | |
8596 | `printf_ftype'. Declare __builtin_putchar, __builtin_puts, | |
8597 | __builtin_printf and printf. | |
8598 | ||
8599 | * tree.c, tree.h (check_function_format_ptr): Declare. | |
8600 | ||
6f3d20a0 NB |
8601 | Tue 19-Sep-2000 18:26:57 BST Neil Booth <NeilB@earthling.net> |
8602 | ||
b8dad04b | 8603 | * cppfiles.c (read_include_file): Take no special action for |
6f3d20a0 NB |
8604 | zero-length files. |
8605 | ||
b4f75276 BS |
8606 | 2000-09-19 Bernd Schmidt <bernds@redhat.co.uk> |
8607 | ||
afc6898e BS |
8608 | * final.c (insn_current_reference_address): Use INSN_SHUID of seq |
8609 | rather than that of branch. | |
8610 | (shorten_branches): Don't increment insn_current_address twice. | |
8611 | ||
b4f75276 BS |
8612 | Undo most of the Wed Jan 27 23:39:53 1999 patch: |
8613 | * loop.h (struct induction): Delete members derived, ix and last_use. | |
8614 | (struct loop_ivs): Delete members first_increment_giv and | |
8615 | last_increment_giv. | |
8616 | * loop.c (verify_dominator, find_life_end, cmp_recombine_givs_stats, | |
8617 | recombine_givs): Delete functions. | |
8618 | (find_and_verify_loops): Don't initialize cont_dominator. | |
8619 | (strength_reduce): Lose code to try to find bivs that can be | |
8620 | expressed as givs of another biv, and to convert biv increments | |
8621 | into givs. | |
8622 | Lose loop_scan_start variable, always use loop->scan_start. | |
8623 | Don't call recombine_givs. Don't handle derived givs. | |
8624 | (record_giv): Don't initialize derived and last_use fields. | |
8625 | (biv_eliminiation_giv_has_0_offset): Lose code to handle derived | |
8626 | givs. | |
8627 | * unroll.c (derived_regs): Delete static variable. | |
8628 | (unroll_loop): Don't initialize it. | |
8629 | (copy_loop_body): Lose code to handle derived givs. | |
8630 | (find_splittable_givs): Don't check for givs made from biv | |
8631 | increments. | |
8632 | Don't set derived_regs. | |
8633 | ||
0f805606 BS |
8634 | Fix misapplied earlier patch: |
8635 | * config/sh/sh.md (floatsisf_ie): Reenable. Remove explicit reference | |
8636 | to fpul. | |
8637 | (floatsisf2): Generate floatsisf_ie by default. | |
8638 | (floatsisf_i4): Conditional on TARGET_SH4. | |
8639 | ||
8640 | (floatsisf2, floatsidf2, extendsfdf2): Also use reg_no_subreg_operand | |
8641 | predicate for the expanders. | |
8642 | ||
8aa0e194 RH |
8643 | 2000-09-19 Richard Henderson <rth@cygnus.com> |
8644 | ||
0d97fd9e RH |
8645 | * config/i386/i386.h (CPP_CPU_SPEC): Define i586 and i686 symbols |
8646 | in addition to pentium and pentiumpro symbols. | |
8647 | (CPP_CPU_DEFAULT_SPEC): Likewise. | |
8648 | ||
39b726dd RH |
8649 | * c-typeck.c (c_expand_asm_operands): Restore the output tree |
8650 | after expanding. | |
8651 | ||
9790cefd RH |
8652 | * stmt.c (expand_expr_stmt): Only call warn_if_unused_value |
8653 | if the tree has side effects. | |
8654 | (warn_if_unused_value): Do not warn about void constructs. | |
8655 | ||
8e5a0fcb RH |
8656 | * c-decl.c (poplevel): Invoke warn_about_unused_variables. |
8657 | ||
8aa0e194 RH |
8658 | * unroll.c (copy_loop_body): Update LABEL_NUSES before |
8659 | calling invert_jump. | |
8660 | ||
62f7f1f5 GK |
8661 | 2000-09-18 Geoff Keating <geoffk@cygnus.com> |
8662 | ||
8663 | * combine.c (can_combine_p): Don't substitute an ASM_OPERANDS | |
8664 | into anything. | |
8665 | ||
3f80e6ac KG |
8666 | 2000-09-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
8667 | ||
8668 | * Makefile.in (c-common.o): Depend on diagnostic.h. | |
8669 | ||
8670 | * c-common.c: Include diagnostic.h. | |
8671 | (tfaff): Delete. | |
8672 | (status_warning): New function. | |
8673 | (check_format_info, maybe_read_dollar_number, check_format_types, | |
8674 | finish_dollar_format_checking, check_function_format): Accept a | |
8675 | `status' parameter. All callers changed. | |
8676 | ||
8677 | * c-common.h (check_function_format): Accept a `status' parameter. | |
8678 | ||
8679 | * c-typeck.c: Update call to `check_function_format'. | |
8680 | ||
cfbd829c RH |
8681 | 2000-09-18 Richard Henderson <rth@cygnus.com> |
8682 | ||
8683 | * c-decl.c (c_expand_body): Call mark_varargs before | |
8684 | expand_function_start. | |
8685 | ||
c21d86e1 GK |
8686 | 2000-09-18 Geoff Keating <geoffk@cygnus.com> |
8687 | ||
8688 | * config/rs6000/eabi-cn.asm: Use /**/ to delimit comments, not #. | |
8689 | * config/rs6000/eabi-ci.asm: Likewise. | |
8690 | ||
f0417c82 RH |
8691 | 2000-09-18 Richard Henderson <rth@cygnus.com> |
8692 | ||
8693 | * emit-rtl.c (init_emit_once): Initialize const_tiny_rtx | |
8694 | for BImode. | |
8695 | ||
226ed43f JW |
8696 | 2000-09-18 Jim Wilson <wilson@cygnus.com> |
8697 | ||
5c3c320e JW |
8698 | * unroll.c (loop_iterations): Pass increment to extend_for_giv_value |
8699 | before passing it to fold_rtx_mult_add. | |
8700 | ||
ec919c98 JW |
8701 | * unroll.c (final_giv_value): Pass increment through |
8702 | extend_value_for_giv before passing it to emit_iv_add_mult. | |
8703 | ||
226ed43f JW |
8704 | * function.c (fixup_var_refs_1, case ZERO_EXTRACT): If we have a |
8705 | paradoxical subreg, then directly substitute the replacement and | |
8706 | return. | |
8707 | ||
b542c0fb NB |
8708 | Mon 18-Sep-2000 22:12:44 BST Neil Booth <NeilB@earthling.net> |
8709 | ||
b4f75276 | 8710 | * cpp.texi: Update documentation, including some clarifications, |
b542c0fb NB |
8711 | the treatment of various newline combinations, and space between |
8712 | backslash and newline. | |
8713 | ||
800a6a0c R |
8714 | Mon Sep 18 21:00:47 2000 J"orn Rennecke <amylaar@redhat.co.uk> |
8715 | ||
8716 | * sdbout.c (PUT_SDB_DEF, PUT_SDB_TAG, PUT_SDB_EPILOGUE_END): | |
8717 | Replace ASM_OUTPUT_LABELREF with assemble_name. | |
8718 | ||
50ceefc2 R |
8719 | Mon Sep 18 20:26:50 2000 J"orn Rennecke <amylaar@redhat.co.uk> |
8720 | ||
8721 | * sh.c (addsubcosts): CONST is not cheap. | |
8722 | (find_barrier): For Sh1, take alignment after jumps into account. | |
8723 | ||
659e47fb AH |
8724 | 2000-09-15 Andrew Haley <aph@redhat.com> |
8725 | ||
8726 | * toplev.c (rest_of_compilation): Call purge_hard_subreg_sets to | |
8727 | remove all SETs of SUBREGs of hard registers. | |
7373064a | 8728 | * function.c (purge_hard_subreg_sets): New function. |
659e47fb AH |
8729 | (purge_single_hard_subreg_set): New function. |
8730 | * rtl.h: (purge_hard_subreg_sets): New function. | |
8731 | ||
f2f90c63 RH |
8732 | 2000-09-18 Richard Henderson <rth@cygnus.com> |
8733 | ||
8734 | * config/ia64/ia64-protos.h: Update. | |
8735 | * config/ia64/ia64.c (signed_inequality_operator): New. | |
8736 | (ia64_expand_compare): New. | |
8737 | (ia64_register_move_cost): Handle PR_REGS moves. | |
8738 | (ia64_secondary_reload_class): Require a GR when moving to a PR. | |
8739 | (struct reg_write_state): Add written_by_and/or. | |
8740 | (struct reg_flags): Add is_and/or. | |
8741 | (rws_update): Set them. | |
8742 | (rws_access_regno): Test them to allow parallel comparisons. | |
8743 | (rtx_needs_barrier): Recognize parallel comparisons. | |
8744 | (emit_insn_group_barriers): Set prev_insn after a call stop bit. | |
8745 | Call recog_memoized; ignore pred_rel_mutex. | |
8746 | (emit_predicate_relation_info): Don't call find_basic_blocks here. | |
8747 | (ia64_reorg): Do it here instead. | |
8748 | * config/ia64/ia64.h: s/CCmode/BImode/g | |
8749 | (MODES_TIEABLE_P): Don't tie BImode. | |
8750 | (PREFERRED_RELOAD_CLASS): Do not reload operations into AR regs. | |
8751 | (CONST_COSTS): Pick sensible values for CONST_INT based on context. | |
8752 | (RTX_COSTS): Make multiply 4 insns. | |
8753 | (MEMORY_MOVE_COST): New. | |
8754 | (PREDICATE_CODES): Update. | |
8755 | * config/ia64/ia64.md: s/CCmode/BImode/g | |
8756 | (movcci, movbi): New. | |
8757 | (andbi3, andcmbi3, iorbi3, iorcmbi3, one_cmplbi2): New. | |
8758 | (cmpsi_and_0, cmpsi_and_1, cmpsi_andnot_0, cmpsi_andnot_1): New. | |
8759 | (cmpdi_and_0, cmpdi_and_1, cmpdi_andnot_0, cmpdi_andnot_1): New. | |
8760 | (tbit_and_0, tbit_and_1, tbit_and_2, tbit_and_3): New. | |
8761 | (cmpsi_or_0, cmpsi_or_1, cmpsi_orcm_0, cmpsi_orcm_1): New. | |
8762 | (cmpdi_or_0, cmpdi_or_1, cmpdi_orcm_0, cmpdi_orcm_1): New. | |
8763 | (tbit_or_0, tbit_or_1, tbit_or_2, tbit_or_3): New. | |
8764 | (mulsi, muldi): Use xmpy not xma. | |
8765 | (cmpbi): New. | |
8766 | (movcc, movcc_internal): Remove. | |
8767 | (branch expanders): Use ia64_expand_compare. | |
8768 | (setcc expanders): Likewise. | |
8769 | (cmov insns): Use move_operand and ia64_move_ok. | |
8770 | (pred_rel_mutex): Use unspec not unspec_volatile. Prevent the | |
8771 | scheduler from moving it past a use. | |
8772 | * config/ia64/build.hacks: Remove. | |
8773 | ||
0d9f234d NB |
8774 | Mon 18-Sep-2000 19:21:35 BST Neil Booth <NeilB@earthling.net> |
8775 | ||
8776 | * cpphash.h (HASHSTEP): Take character rather than pointer | |
8777 | to character. | |
8778 | (_cpp_check_directive, _cpp_check_linemarker): Update prototypes. | |
8779 | ||
8780 | * cpphash.c (cpp_loookup): Update for new HASHSTEP. | |
8781 | ||
8782 | * cpplex.c (auto_expand_name_space, trigraph_replace, | |
8783 | backslash_start, handle_newline, parse_name, INIT_TOKEN_STR, | |
8784 | IMMED_TOKEN, PREV_TOKEN_TYPE, PUSH_TOKEN, REVISE_TOKEN, | |
8785 | BACKUP_TOKEN, BACKUP_TRIGRAPH, MIGHT_BE_DIRECTIVE, | |
8786 | KNOWN_DIRECTIVE): Delete. | |
8787 | ||
8788 | (handle_newline, check_long_token, skip_escaped_newlines, | |
8789 | unterminated): New functions. | |
8790 | (ACCEPT_CHAR, SAVE_STATE, RESTORE_STATE): New macros. | |
8791 | ||
8792 | (parse_identifier): Was parse_name, new implementation. | |
8793 | (skip_line_comment, skip_block_comment, skip_whitespace, | |
8794 | parse_number, parse_string, trigraph_ok, save_comment, | |
8795 | adjust_column, _cpp_get_line): New implementations. | |
8796 | ||
8797 | (lex_token): New function. Lexes a token at a time, looking | |
8798 | forwards. Contains most of the guts of the old lex_line. | |
8799 | (lex_line): New implementation, using lex_token to obtain | |
8800 | individual tokens. | |
8801 | (cpp_scan_buffer): Use the token's line, not the list's line. | |
8802 | ||
8803 | * cpplib.c (_cpp_check_directive, _cpp_check_linemarker): | |
8804 | New implementations. | |
8805 | (do_assert): Don't bother setting the answer's list's line. | |
8806 | (cpp_push_buffer): Initialise new pfile and read_ahead members | |
8807 | of struct cpp_buffer. | |
8808 | ||
8809 | * cpplib.h (cppchar_t): New typedef. | |
8810 | (struct cpp_buffer): read_ahead, pfile and col_adjust are | |
8811 | new members. | |
8812 | (struct lexer_state): New structure that determines the state | |
8813 | and behaviour of the lexer. | |
8814 | (IN_DIRECTIVE, KNOWN_DIRECTIVE): New macros. | |
8815 | (struct cpp_reader): New member "state". Rename | |
8816 | multiline_string_line and multiline_string_column. Delete | |
8817 | col_adjust, in_lex_line members. | |
8818 | (CPP_BUF_COLUMN): Update. | |
8819 | ||
a191f0ee RH |
8820 | 2000-09-18 Richard Henderson <rth@cygnus.com> |
8821 | ||
9f8e169e RH |
8822 | * combine.c (simplify_comparison): Shift a NOT out of a single |
8823 | bit test. | |
8824 | ||
1f3f36d1 RH |
8825 | * combine.c (if_then_else_cond): Canonicalize BImode true to |
8826 | STORE_FLAG_VALUE. | |
8827 | * explow.c (trunc_int_for_mode): Likewise. | |
8828 | ||
5bd60ce6 RH |
8829 | * combine.c (combine_simplify_rtx): Use gen_unary to distribute |
8830 | the NOT for De Morgan's rule. | |
8831 | * simplify-rtx.c (simplify_unary_operation): Simplify a BImode NOT | |
8832 | of a comparison to the reverse comparison. | |
8833 | ||
d340408c RH |
8834 | * combine.c (try_combine): Allow split to create a single insn. |
8835 | ||
a191f0ee RH |
8836 | * machmode.def: Add BImode. Add a column for bitsize. |
8837 | * machmode.h (DEF_MACHMODE): Adjust for extra column. | |
8838 | (GET_MODE_BITSIZE): Use it. | |
8839 | * rtl.c (DEF_MACHMODE): Adjust for extra column. | |
8840 | (mode_bitsize): New. | |
8841 | (mode_mask_array): Use bitsize. | |
8842 | * combine.c (combine_simplify_rtx): Require inner and outer | |
8843 | modes to match on nonzero_bits optimizations. | |
8844 | ||
5d77a50c BS |
8845 | 2000-09-18 Bernd Schmidt <bernds@redhat.co.uk> |
8846 | ||
8847 | * reload1.c (forget_old_reloads_1): If a hard reg is stored, clear | |
8848 | its entry in spill_reg_store. | |
0fb8cb90 | 8849 | * config/sh/lib1funcs.ams (movstr_i4 functions): Always compile in. |
2e361e59 BS |
8850 | * sh.c (reg_no_subreg_operand): New function. |
8851 | * sh-protos.h (reg_no_subreg_operand): Declare it. | |
8852 | * sh.h (PREDICATE_CODES): Add it. | |
8853 | * sh.md (floatsisf2_i4, floatsidf2_i, extendsfdf2_i4): Use it for | |
8854 | input operand that needs to be in fpul. | |
8855 | (fix_truncsfsi2, fix_truncsfsi2_i4): Use register_operand for output. | |
42d5d0f1 BS |
8856 | * sh.c (find_barrier): Take into account that machine_dependent_reorg |
8857 | might add new insns. | |
5d77a50c | 8858 | |
55eec660 AO |
8859 | 2000-09-18 Alexandre Oliva <aoliva@redhat.com> |
8860 | ||
40fc375d AO |
8861 | * config/sh/sh.c (sh_expand_prologue): Mark GOTaddr2picreg as |
8862 | MAYBE_DEAD. | |
8863 | (sh_expand_epilogue): Take the PIC register into account when | |
8864 | computing the frame size. | |
8865 | ||
55eec660 AO |
8866 | * config/sh/sh.c (nonpic_symbol_mentioned_p): Check LABEL_REFs. |
8867 | * config/sh/sh.md (sym_label2reg, symPLT_label2reg): Protect | |
8868 | LABEL_REFs with a PIC-safe unspec. | |
8869 | ||
fc6df7e1 JM |
8870 | 2000-09-18 Joseph S. Myers <jsm28@cam.ac.uk> |
8871 | ||
8872 | * c-common.c (check_format_info): Properly save the argument | |
8873 | number and parameter for $ operand number formats in case width | |
8874 | and precision arguments are also used. Allow printf width and | |
8875 | precision arguments to have operand numbers even if none was | |
8876 | specified for the main format, since this is OK for %*.*m. Only | |
8877 | object to missing $ operand number if the format used requires an | |
8878 | argument. | |
8879 | ||
effa5541 JM |
8880 | 2000-09-18 Joseph S. Myers <jsm28@cam.ac.uk> |
8881 | ||
8882 | * c-common.c (format_char_info): Add 'W' flag to comment. | |
8883 | (print_char_table, scan_char_table): Use it. | |
8884 | (check_format_info): Use the 'W' flag to determine whether a | |
8885 | format argument is written into. | |
8886 | ||
99303ae4 JM |
8887 | 2000-09-18 Joseph S. Myers <jsm28@cam.ac.uk> |
8888 | ||
8889 | * c-common.c (check_format_types): Reorganise and clean up, | |
8890 | checking earlier for ERROR_MARKs and making cur_type into its | |
8891 | TYPE_MAIN_VARIANT where convenient. | |
8892 | ||
9231abf2 JM |
8893 | 2000-09-18 Joseph S. Myers <jsm28@cam.ac.uk> |
8894 | ||
8895 | * gcc.c (cpp_options): Add specs for __STDC_HOSTED__. | |
8896 | ||
cf67d231 BS |
8897 | 2000-09-18 Bernd Schmidt <bernds@redhat.co.uk> |
8898 | ||
8899 | * optabs.c (emit_libcall_block): Set CONST_CALL_P for the call. | |
8900 | ||
bd793c65 BS |
8901 | * i386-protos.h (ix86_init_builtins, ix86_expand_builtin): Declare. |
8902 | * i386.c (struct builtin_description): New. | |
8903 | (bdesc_comi, bdesc_2arg, bdesc_1arg): New arrays. | |
8904 | (mmx_reg_operand): Declare MODE arg as unused. | |
8905 | (ix86_expand_sse_comi, ix86_expand_sse_compare, safe_vector_operand, | |
8906 | ix86_expand_unop1_builtin, ix86_expand_unop_builtin, | |
8907 | ix86_expand_binop_builtin, ix86_expand_store_builtin, | |
8908 | ix86_init_builtins, ix86_expand_builtin): New functions. | |
8909 | * i386.h (ix86_builtins): New enumeration. | |
8910 | (MD_INIT_BUILTINS, MD_EXPAND_BUILTIN): New macros. | |
8911 | * i386.md (attr length_immediate): 0 for mmx/sse types. | |
8912 | (attr prefix_0f): 1 for mmx/sse types. | |
8913 | (setcc_2): Remove "*" so we get gen_setcc_2. | |
8914 | (emms): Account for changed register numbering. Set "memory" attr | |
8915 | to unknown. | |
8916 | (sfence): Set "memory" attr to unknown. | |
8917 | ||
4070d885 AJ |
8918 | 2000-09-18 Andreas Jaeger <aj@suse.de> |
8919 | ||
8920 | * configure.in: Define _GNU_SOURCE only when using the GNU C | |
8921 | Library. | |
a191f0ee RH |
8922 | * configure: Regenerated. |
8923 | * config.in: Regenerated. | |
4070d885 | 8924 | |
2ac86f90 MM |
8925 | 2000-09-17 Mark Mitchell <mark@codesourcery.com> |
8926 | ||
31a1fdad MM |
8927 | * cppinit.c (cpp_init): Don't use ANSI prototypes. |
8928 | * flow.c (flow_dump_loop): Likewise. | |
8929 | (flow_loops_dump): Likewise. | |
8930 | ||
2ac86f90 MM |
8931 | * c-typeck.c (c_start_case): Fix typo. |
8932 | ||
60e9d01c JM |
8933 | 2000-09-17 Joseph S. Myers <jsm28@cam.ac.uk> |
8934 | ||
8935 | * c-decl.c (grokdeclarator): Don't give a warning about defaulting | |
8936 | to int for plain complex which defaults to complex double. Do | |
8937 | warn about defaulting to complex double if pedantic. Warn about | |
8938 | complex integer types if pedantic. Warn about complex types if | |
8939 | pedantic and not in C99 mode. | |
8940 | * c-typeck.c (build_unary_op): If pedantic, warn about use of ~ | |
8941 | for complex conjugation. | |
8942 | ||
bc5006c7 JM |
8943 | 2000-09-17 Joseph S. Myers <jsm28@cam.ac.uk> |
8944 | ||
8945 | * contrib.texi: Update my entry. | |
8946 | ||
7e3bd81e DC |
8947 | Sun Sep 17 18:48:32 2000 Denis Chertykov <denisc@overta.ru> |
8948 | ||
23cb1766 RK |
8949 | * config/avr/avr.md (mcu_enhanced): New attribute. |
8950 | (mcu_mega): Likewise. | |
8951 | (extendhisi2): Use mcu_enhanced. | |
8952 | (zero_extendhisi2): Likewise. | |
8953 | (call_insn): Use mcu_enhanced and mcu_mega. | |
8954 | (call_value_insn): Likewise. | |
8955 | (*sbrx_branch): Use mcu_mega. | |
8956 | (*sbrx_and_branchsi): Likewise. | |
8957 | (*sbrx_and_branchhi): Likewise. | |
8958 | (*tablejump_lib): Likewise. | |
7e3bd81e | 8959 | |
6a51f4a0 RK |
8960 | Sun Sep 17 10:46:17 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
8961 | ||
ec569656 RK |
8962 | * alias.c (true_dependence): Allow non-unchanging read to conflict |
8963 | with unchanging write. | |
8964 | ||
23cb1766 RK |
8965 | * expr.c (store_constructor_field): Accept ALIAS_SET arg. |
8966 | (store_constructor): Pass alias_set to it. | |
8967 | ||
a52fb89b RK |
8968 | * c-decl.c (grokdeclarator): Reorder tests to avoid looking at |
8969 | TYPE_MAIN_VARIANT of ERROR_MARK. | |
8970 | * c-lex.c (readescape): Avoid using printf syntax we don't recognize. | |
8971 | ||
6a51f4a0 RK |
8972 | * simplify-rtx.c (simplify_unary_operation): Add cases |
8973 | FLOAT_EXTEND and FLOAT_TRUNCATE to ones that return 0. | |
8974 | ||
ebb1b59a BS |
8975 | 2000-09-17 Bernd Schmidt <bernds@redhat.co.uk> |
8976 | ||
a191f0ee | 8977 | * expr.h (emit_library_call, emit_library_call_value): Delete |
ebb1b59a BS |
8978 | declarations. |
8979 | * rtl.h (enum libcall_type): New. | |
8980 | (emit_library_call, emit_library_call_value): Change fn_type arg to | |
a191f0ee | 8981 | be of type enum libcall_type. |
ebb1b59a BS |
8982 | * calls.c: Likewise for the function definitions. Several callers |
8983 | throughout changed to use the new enumeration appropriately. | |
8984 | (emit_library_call_value_1): Likewise. Put back code to make libcall | |
a191f0ee | 8985 | blocks of equal form, but only use it for the two new higher |
ebb1b59a BS |
8986 | enumeration values. |
8987 | ||
8f17b5c5 MM |
8988 | 2000-09-16 Mark Mitchell <mark@codesourcery.com> |
8989 | ||
8990 | Convert the C front-end to use function-at-a-time mode. | |
8991 | * c-common.h: Include splay-tree.h. | |
8992 | (C_DECLARED_LABEL_FLAG): New macro. | |
8993 | (struct language_function): Add x_scope_stmt_stack and | |
8994 | x_function_name_declared_p. | |
8995 | (RECHAIN_STMTS): Move definition. | |
8996 | (lang_statment_code_p): Likewise. | |
8997 | (lang_expand_stmt): Likewise. | |
8998 | (lang_expand_decl_stmt): New variable. | |
8999 | (lang_expand_function_end): Likewise. | |
9000 | (current_scope_stmt_stack): New function. | |
9001 | (add_decl_stmt): Likewise. | |
9002 | (add_scope_stmt): Likewise. | |
9003 | (mark_stmt_tree): Likewise. | |
9004 | (struct c_lang_decl): New structure. | |
9005 | (DECL_SAVED_TREE): Define. | |
9006 | (c_mark_lang_decl): New function. | |
9007 | (c_expand_start_cond): Change prototype. | |
9008 | (c_finish_then): New function. | |
9009 | (c_finish_else): Likewise. | |
9010 | (current_function_name_declared): Remove. | |
9011 | (set_current_function_name_declared): Likewise. | |
9012 | (mark_c_language_function): Declare. | |
9013 | (case_compare): Likewise. | |
9014 | (c_add_case_label): Likewise. | |
9015 | (c_expand_expr): Likewise. | |
9016 | (c_safe_from_p): Likewise. | |
9017 | * c-common.c (lang_expand_function_end): New variable. | |
9018 | (struct if_elt): Add if_stmt. | |
9019 | (c_expand_start_cond): Add the if-statement to the statement-tree, | |
9020 | rather than generating RTL. | |
9021 | (c_finish_then): New function. | |
9022 | (c_expand_start_else): Don't generate RTL. | |
9023 | (c_finish_else): New function. | |
9024 | (c_expand_expr_stmt): Don't generate RTL. | |
9025 | (statement_code_p): Add SCOPE_STMT. | |
9026 | (case_compare): New function. | |
9027 | (c_add_case_label): Likewise. | |
9028 | (mark_stmt_tree): Likewise. | |
9029 | (c_mark_lang_decl): Likewise. | |
9030 | (mark_c_language_function): Likewise. | |
9031 | (c_expand_expr): Likewise. | |
9032 | (c_safe_from_p): Likewise. | |
9033 | * c-decl.c (c_stmt_tree): New variable | |
9034 | (c_scope_stmt_stack): Likewise. | |
9035 | (c_function_name_declared_p): Likewise. | |
9036 | (lang_expand_expr_stmt): Remove. | |
9037 | (poplevel): Don't call output_inline_function for nested | |
9038 | functions. | |
9039 | (pushdecl): Don't set DECL_CONTEXT for a local declaration of an | |
9040 | `extern' function. | |
9041 | (redeclaration_error_message): Change means of computing whether | |
9042 | or not a function is nested. | |
9043 | (lookup_label): Don't call label_rtx. | |
9044 | (init_decl_processing): Add more GC roots. | |
9045 | (start_decl): Add DECL_STMTs to the statement-tree, rather than | |
9046 | calling rest_of_decl_compilation. | |
9047 | (finish_decl): Don't call expand_decl. | |
9048 | (store_parm_decls): Begin the statement-tree, but don't generate | |
9049 | RTL. | |
9050 | (finish_function): Tie off the statement-tree. Call c_expand_body | |
9051 | if appropriate. | |
9052 | (c_expand_body): New function. | |
9053 | (push_c_function_context): Save more information. | |
9054 | (pop_c_function_contxt): Likewise. | |
9055 | (copy_lang_decl): Now that we use DECL_LANG_SPECIFIC, copy it. | |
9056 | (lang_mark_tree): Mark it. | |
9057 | (current_stmt_tree): Adjust. | |
9058 | (current_scope_stmt_stack): New function. | |
9059 | (do_case): Remove. | |
9060 | (set_current_name_declared): Likewise. | |
9061 | (c_begin_compound_stmt): Define. | |
9062 | (c_expand_decl_stmt): Likewise. | |
9063 | * c-lang.c: Include rtl.h and expr.h. | |
9064 | (lang_init): Set more language-specific hooks. | |
9065 | * c-lex.c: Include expr.h. | |
9066 | * c-parse.in: Changes throughout to add statements to the | |
9067 | statement-tree, rather than generating RTL after every statement. | |
9068 | * c-semantics.c (lang_expand_decl_stmt): Define. | |
9069 | (add_decl_stmt): New function. | |
9070 | (add_scope_stmt): Likewise. | |
9071 | (finish_stmt_tree): Tweak. | |
9072 | (genrtl_expr_stmt): Likewise. | |
9073 | (genrtl_decl_stmt): Handle local labels, and call | |
9074 | lang_expand_decl_stmt if required. | |
9075 | (genrtl_for_stmt): Fix line-number handling. | |
9076 | (genrtl_case_label): Handle cleanups. | |
9077 | (genrtl_asm_stmt): Don't call combine_strings. | |
9078 | (genrtl_compound_stmt): Simplify. | |
9079 | (expand_stmt): Handle SCOPE_STMTs. | |
9080 | * c-tree.h (struct lang_decl): New structure. | |
9081 | (C_DECLARED_LABEL_FLAG): Remove. | |
9082 | (c_begin_compound_stmt): Declare. | |
9083 | (c_expand_decl_stmt): Likewise. | |
9084 | (c_expand_start_case): Rename to c_start_case. | |
9085 | (c_finish_case): New function. | |
9086 | * c-typeck.c (start_init): Tweak setting of | |
9087 | constructor_incremental. | |
9088 | (c_expand_asm_operands): Tweak error-handling. Add to the | |
9089 | statement-tree. | |
9090 | (c_expand_return): Add to the statement-tree. | |
9091 | (c_expand_start_case): Rename to ... | |
9092 | (c_start_case): ... this. | |
9093 | (struct c_switch): New type. | |
9094 | (switch_stack): New variable. | |
9095 | (do_case): Simplify. | |
9096 | (c_finish_case): New function. | |
9097 | * dependence.c: Include expr.h. | |
9098 | (enum dependence_type): Change spelling of enumerals. | |
9099 | (check_node_dependence): Adjust. | |
9100 | * expr.h (lang_safe_from_p): Declare. | |
9101 | (safe_from_p): Likewise. | |
9102 | * expr.c (lang_safe_from_p): New variable. | |
9103 | (safe_from_p): Give it external linkage. Use lang_safe_from_p. | |
9104 | * stmt.c (expand_expr_stmt): Avoid clobberring of last_expr_type. | |
9105 | * toplev.c (rest_of_decl_compilation): Robustify. | |
9106 | * tree.c (contains_placeholder_p): Likewise. | |
9107 | * Makefile.in: Update dependencies. | |
9108 | * objc/objc-act.h: Adjust calculation of value for dummy_tree_code. | |
9109 | * objc/objc-act.c: Include rtl.h, expr.h, and c-common.h. | |
9110 | (objc_expand_function_end): New function. | |
9111 | (finish_method_def): Use it. | |
9112 | (init_objc): Initialize more language-specific hooks. | |
9113 | * objc/Make-lang.in: Update dependencies. | |
7373064a | 9114 | |
4797e955 GK |
9115 | 2000-09-16 Geoffrey Keating <geoffk@cygnus.com> |
9116 | ||
9117 | * configure.in: Define macros that affect features before | |
9118 | testing for features. Don't define _XOPEN_SOURCE. | |
9119 | * configure: Regenerated. | |
9120 | * config.in: Regenerated. | |
9121 | ||
ae0fb1b9 JW |
9122 | Sat Sep 16 19:42:50 EDT 2000 John Wehle (john@feith.com) |
9123 | ||
9124 | * rtlanal.c (rtx_varies_p): Volatile asms vary. | |
9125 | (rtx_unstable_p): Restructure code. Volatile asms | |
9126 | are unstable. | |
9127 | ||
5748b2cb | 9128 | Sat Sep 16 14:35:55 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
ae0f4dee | 9129 | |
87c31d6b RK |
9130 | * function.h (no_debugging_symbols): New field. |
9131 | * integrate.c (save_for_inline): Renamed from save_for_inline_nocopy. | |
9132 | Initialize no_debugging_symbols. | |
9133 | (output_inline_function): Save and restore write_symbols and set from | |
9134 | no_debugging_symbols. | |
9135 | * toplev.c (rest_of_compilation): Call save_for_inline. | |
9136 | * tree.h: Update comment. | |
7373064a | 9137 | |
5748b2cb RK |
9138 | * stor-layout.c (place_field): Don't do anything if field or |
9139 | its type are ERROR_MARK. | |
9140 | ||
9141 | Sat Sep 16 19:14:00 2000 Laurynas Biveinis <lauras@softhome.net> | |
9142 | ||
9143 | * cppfiles.c (purge_cache): Use munmap only if MMAP_THRESHOLD defined. | |
9144 | (read_include_file): Ensure inc->mmaped is initialized. | |
ae0f4dee | 9145 | |
6f84c9bd RH |
9146 | 2000-09-16 Richard Henderson <rth@cygnus.com> |
9147 | ||
9148 | * cppiles.c (purge_cache): Use PTR not caddr_t. | |
9149 | ||
50c57e7b HPN |
9150 | 2000-09-16 Hans-Peter Nilsson <hp@axis.com> |
9151 | ||
9152 | * gcc.c: In description for %{<S}, say the option removed is -S. | |
9153 | * invoke.texi (Spec Files): Ditto. | |
9154 | ||
dd745546 AJ |
9155 | 2000-09-16 Andreas Jaeger <aj@suse.de> |
9156 | ||
9157 | * configure.in: Always define _GNU_SOURCE to make interfaces | |
9158 | visible that were hidden by only defining _GNU_SOURCE. | |
9159 | * configure: Regenerated. | |
9160 | ||
08ebc1c5 NB |
9161 | Sat 16-Sep-2000 08:13:45 BST Neil Booth <NeilB@earthling.net> |
9162 | ||
9163 | * cpplex.c (push_macro_context): Set an argument's level after | |
9164 | calling parse_args. We could loop infinitely otherwise. | |
9165 | ||
16abe34a TT |
9166 | 2000-09-15 Tom Tromey <tromey@cygnus.com> |
9167 | ||
9168 | * configure, config.in: Rebuilt. | |
9169 | * configure.in: Check for iconv.h. Define _XOPEN_SOURCE. | |
9170 | ||
61c16b10 GM |
9171 | 2000-09-15 Greg McGary <greg@mcgary.org> |
9172 | ||
9173 | * cppmacro.c (check_trad_stringification): Check token | |
9174 | text pointers against limit before dereferencing. | |
9175 | ||
6a357625 JM |
9176 | 2000-09-15 Joseph S. Myers <jsm28@cam.ac.uk> |
9177 | ||
9178 | * c-common.c (format_wanted_type): New structure. | |
9179 | (check_format_types): New function. | |
9180 | (check_format_info): Pass all checking of types of format | |
9181 | arguments, including width and precision arguments, to this new | |
9182 | function. | |
9183 | ||
6a1d1088 GP |
9184 | 2000-09-15 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
9185 | ||
9186 | * BUGS: Remove file. | |
9187 | ||
a3b815cb JJ |
9188 | 2000-09-15 Jakub Jelinek <jakub@redhat.com> |
9189 | ||
54f5c4b0 JJ |
9190 | * config/alpha/alpha.c (override_options): ev6 cache latencies |
9191 | from Richard Henderson. Don't allow -mmemory-latency=L0. | |
9192 | ||
a3b815cb JJ |
9193 | * config/alpha/alpha.h (TARGET_CPU_EV5, TARGET_CPU_EV6): Define. |
9194 | (TARGET_OPTIONS): Add tune=. | |
9195 | (alpha_tune_string): Declare. | |
9196 | * config/alpha/alpha.c (override_options): Add cpu_table. | |
9197 | Use alpha_cpu_string first to set both alpha_cpu and target_flags | |
9198 | and then alpha_tune_string to set alpha_cpu only. | |
9199 | Replace tests for PROCESSOR_EV* with TARGET_CPU_EV* tests. | |
9200 | * config/alpha/elf.h (ASM_FILE_START): Likewise. | |
9201 | * config/alpha/osf.h (ASM_FILE_START): Likewise. | |
9202 | * config/alpha/openbsd.h (ASM_FILE_START): Likewise. | |
9203 | ||
9076b9c1 JH |
9204 | Fri Sep 15 19:45:55 MET DST 2000 Jan Hubicka <jh@suse.cz> |
9205 | ||
9206 | * i386-protos.h (no_comparison_operator, uno_comparison_operator): | |
9207 | Remove. | |
9208 | (ix86_comparison_operator, ix86_cc_mode): Declare | |
9209 | * i386.h (CCGC, CCGCO): New modes. | |
9210 | (SELECT_CC_MODE): Move offline to .... | |
9211 | * i386.c (ix86_cc_mode): .... here; use new modes. | |
9212 | (ix86_comparison_operator): New. | |
9213 | (fcmov_comparison_operator): Ensure proper mode. | |
9214 | (put_condition_mode): More sanity checking. | |
9215 | (ix86_match_ccmode): Handle new modes. | |
9216 | (ix86_expand_fp_compare): GEU requires CCmode. | |
9217 | (ix86_expand_strlensi_unroll_1): Use emit_cmp_and_jump_insn instead of | |
9218 | doing it by hand. | |
9219 | * i386.md (cmp?i_ccz_1): Remove | |
9220 | (cmp?i_ccno_1): Use ix86_match_ccmode. | |
9221 | (cmp?i_minus_1): New. | |
9222 | (cmpsi_1): New expander. | |
9223 | (cmpqi_ext_1): Use match_ccmode | |
9224 | (cmpqi_ext_3): New expander. | |
9225 | (cmpqi_ext_3_insn): Rename from cmpqi_ext_3. | |
9226 | (cmpqi_ext_4): Use match_ccmode. | |
9227 | (add?i_?): Use match_ccmode. | |
9228 | (add?i_6): New. | |
9229 | (test?i_ccz_1): Remove | |
9230 | (test?i_1): New. | |
9231 | (testsi_ccno_1, testqi_ccz_1, testqi_ext_ccno_0): New expander. | |
9232 | (testqi_ext_0): Use ix86_match_ccmode. | |
9233 | (*xorqi_cc_ext_1): Use ix86_match_ccmode. | |
9234 | (xorqi_cc_ext_1): New expander. | |
9235 | (shift patterns): Use CCGOCmode for all shifts except for sar. | |
9236 | (setcc_?, jcc_?, miv?icc_nic): Use ix86_comparison_operator. | |
9237 | (setcc_3, jcc_3, miv?icc_c): Remove. | |
9238 | ||
3724ec07 WC |
9239 | 2000-09-15 Will Cohen <wcohen@redhat.com> |
9240 | ||
9241 | * dwarf2out.c (add_const_value_attribute): Changed array into a | |
9242 | xmalloced object, so it exists after function exit. | |
9243 | (free_AT): Added case for dw_val_class_float to free allocated | |
9244 | memory. | |
9245 | ||
182a4620 KH |
9246 | 2000-09-15 Kazu Hirata <kazu@hxi.com> |
9247 | ||
9248 | * config/i386/i386.md: Fix a comment typo. | |
d25a45d4 | 9249 | * gcc.c: Fix formatting. |
182a4620 | 9250 | |
aff2c2d3 BS |
9251 | 2000-09-15 Bernd Schmidt <bernds@redhat.co.uk> |
9252 | ||
9253 | * optabs.c (emit_libcall_block): If target is a user variable, | |
9254 | copy to a temporary first. | |
642dfa8b BS |
9255 | * expr.c (convert_move): When generating a libcall, make a libcall |
9256 | block. | |
188c5e6c BS |
9257 | * calls.c (emit_library_call_value_1): Don't create a libcall |
9258 | sequence here; our caller will in most cases do it. | |
aff2c2d3 | 9259 | |
0c4c9b16 BS |
9260 | * sh.h (SECONDARY_INPUT_RELOAD_CLASS): Handle moving T, MACL or |
9261 | MACH into FPUL. | |
9262 | (SECONDARY_OUTPUT_RELOAD_CLASS): Similar case. | |
9263 | * sh.md (reload_outsf): Generate recognizable patterns for | |
9264 | TARGET_SH3E. | |
9265 | (floatsisf2, floatsisf2_ie, floatsisf2_i4, fix_truncsfsi2, | |
9266 | fix_truncsfsi2_i4, fixsfsi, floatsidf2, floatsidf2_i, fix_truncdfsi2, | |
9267 | fix_truncdfsi2_i, extendsfdf2, extendsfdf2_i4, truncdfsf2, | |
9268 | truncdfsf2_i4): Change not to use explicit references to fpul. | |
9269 | (floatsisf2_ie): Remove USE of fpscr. | |
9270 | (floatsisf2): Change default expansion to match this. | |
9271 | (fix_truncsfsi2_i4_2, fix_truncdfsi2_i4 & splitters): Comment out | |
9272 | unused patterns. | |
9273 | ||
308ecea0 RH |
9274 | 2000-09-15 Richard Henderson <rth@cygnus.com> |
9275 | ||
9276 | * expmed.c (store_bit_field): Consider naturally aligned | |
9277 | memory for direct reference. | |
9278 | ||
e01acbb1 RH |
9279 | 2000-09-15 Richard Henderson <rth@cygnus.com> |
9280 | ||
9281 | * config/alpha/alpha.c (alpha_expand_unaligned_load): Force all | |
9282 | AND addresses into alias set 0. | |
9283 | (alpha_expand_unaligned_store): Likewise. | |
9284 | (alpha_expand_unaligned_load_words): Likewise. | |
9285 | (alpha_expand_unaligned_store_words): Likewise. | |
9286 | ||
c363a0c0 BS |
9287 | 2000-09-15 Bernd Schmidt <bernds@redhat.co.uk> |
9288 | ||
9289 | * config/sh/sh.h (CPP_SPEC): For -m4-nofpu, define __SH4_NOFPU__. | |
9290 | * config/sh/lib1funcs.asm (movstr_i4): Also compile if __SH4_NOFPU__ | |
9291 | is defined. | |
dd193c79 BS |
9292 | * config/mips/mips.c (mips_va_arg): Args passed by reference have a |
9293 | rsize of UNITS_PER_WORD. | |
c363a0c0 | 9294 | |
ff94c747 NB |
9295 | Fri 15-Sep-2000 06:49:07 BST Neil Booth <NeilB@earthling.net> |
9296 | ||
9297 | * cpplex.c (ON_REST_ARG): Correct the test. | |
9298 | (maybe_paste_with_next): Duplicate a token that fail pasting, | |
9299 | and clear its PASTE_LEFT flag, so that nested pasting attempts | |
9300 | do not occur. | |
9301 | ||
b437f1a7 RH |
9302 | 2000-09-14 Richard Henderson <rth@cygnus.com> |
9303 | ||
9304 | * calls.c (precompute_register_parameters): Use COSTS_N_INSNS, not 2. | |
9305 | * cse.c (rtx_cost): Likewise. | |
9306 | * optabls.c (expand_binop): Likewise. | |
9307 | (expand_twoval_binop, prepare_cmp_insn): Likewise. | |
9308 | * regclass.c (copy_cost): Likewise. | |
9309 | * reload1.c (reload_cse_move2add): Likewise. | |
9310 | ||
d9dbd9b1 JM |
9311 | 2000-09-14 Joseph S. Myers <jsm28@cam.ac.uk> |
9312 | ||
9313 | * c-parse.in (reswords): Add _Complex. | |
9314 | ||
9207d3b1 DA |
9315 | 2000-09-14 J. David Anglin <dave@hiauly1.hia.nrc.ca> |
9316 | ||
9317 | * gcc.1: Delete documentation for -undef preprocessor option. | |
9318 | ||
395a451c AO |
9319 | 2000-09-14 Alexandre Oliva <aoliva@redhat.com> |
9320 | ||
9321 | * config/sh/sh.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP, | |
9322 | STARTFILE_SPEC, ENDFILE_SPEC): Remove define. | |
9323 | * config/sh/elf.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP): | |
9324 | Remove undefine before config/elfos.h. | |
9325 | * config/sh/t-sh (EXTRA_MULTILIB_PARTS): Comment out. | |
9326 | ||
17f0f8fa KH |
9327 | 2000-09-14 Kazu Hirata <kazu@hxi.com> |
9328 | ||
9329 | * invoke.texi (H8/300 Options): Add -ms2600. | |
9330 | * config/h8300.c (h8300_init_once): Output an error when -ms2600 | |
9331 | is used without -ms. | |
9332 | * config/h8300.h (TARGET_MAC): New. | |
9333 | (TARGET_SWITCHES): Add -ms2600 and -mno-s2600. | |
9334 | (CONDITIONA_REGISTER_USAGE): Disable the mac register on any | |
9335 | machine other than H8/S2600. | |
9336 | * config/h8300.md: Accept mac instructions on the H8/S2600 instead | |
9337 | of the H8/S2000. | |
9338 | ||
9e8f528c AO |
9339 | 2000-09-14 Alexandre Oliva <aoliva@redhat.com>, Bernd Schmidt <bernds@redhat.co.uk> |
9340 | ||
9341 | * reload.c (find_reloads_address_1): Generate reloads for auto_inc | |
9342 | pseudos that refer to the original pseudos, not only to their | |
9343 | equivalent memory locations. | |
9344 | ||
9985f210 RK |
9345 | Thu Sep 14 12:10:16 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
9346 | ||
fe7a8445 RK |
9347 | * expr.c (expand_expr, case COMPONENT_EXPR): Copy memory attributes |
9348 | when making new MEM. | |
9349 | ||
9985f210 RK |
9350 | * Makefile.in (LN): Remove duplicate definition. |
9351 | ||
2f93c5c3 BS |
9352 | 2000-09-12 Bernd Schmidt <bernds@redhat.co.uk> |
9353 | ||
9354 | From Joern Rennecke: | |
9355 | * local-alloc.c (update_equiv_regs): If there is no REG_EQUAL note | |
9356 | on an insn and function_invariant_p returns nonzero for the source, | |
9357 | add a REG_EQUAL note. | |
9358 | ||
b24ea077 JW |
9359 | Thu Sep 14 00:51:57 EDT 2000 John Wehle (john@feith.com) |
9360 | ||
9361 | * alias.c (memrefs_conflict_p): An ADDRESSOF doesn't | |
9362 | conflict with frame_pointer_rtx. | |
9363 | ||
fd5d5b07 KH |
9364 | 2000-09-13 Kazu Hirata <kazu@hxi.com> |
9365 | ||
9366 | * loop.c: Fix formatting. | |
9367 | * loop.h: Likewise. | |
9368 | ||
26102535 RH |
9369 | 2000-09-13 Richard Henderson <rth@cygnus.com> |
9370 | ||
9371 | * config/ia64/ia64.md (divsf3): New. | |
9372 | (divsf3_internal_lat, divsf3_internal_thr): New. | |
9373 | (divdf3, divdf3_internal_lat, divdf3_internal_thr): New. | |
9374 | (divtf3, divtf3_internal_lat, divtf3_internal_thr): New. | |
9375 | (adddf3_trunc, subdf3_trunc, muldf3_trunc): New. | |
9376 | (madddf4_trunc, msubdf4_trunc, nmuldf3_trunc): New. | |
9377 | (nmadddf4_alts, nmadddf4_trunc): New. | |
9378 | (addtf3_truncsf, addtf3_truncdf, subtf3_truncsf): New. | |
9379 | (subtf3_truncdf, multf3_truncsf, multf3_truncdf): New. | |
9380 | (multf3_truncsf_alts, multf3_truncdf_alts): New. | |
9381 | (maddtf4_truncsf, maddtf4_truncdf, maddtf4_alts_truncdf): New. | |
9382 | (msubtf4_truncsf, msubtf4_truncdf, nmultf3_truncsf): New. | |
9383 | (nmultf3_truncdf, nmaddtf4_truncsf, nmaddtf4_truncdf): New. | |
9384 | (nmaddtf4_truncdf_alts): New. | |
9385 | (recip_approx): Don't predicate. | |
9386 | ||
938566fb RH |
9387 | 2000-09-13 Richard Henderson <rth@cygnus.com> |
9388 | ||
9389 | * config/ia64/lib1funcs.asm (__divsf3): Protect fnorm.s with p6. | |
9390 | ||
c349e40b SC |
9391 | 2000-09-13 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
9392 | ||
9393 | * flags.h (flag_dump_rtl_in_asm): Declare. | |
9394 | * toplev.c (flag_dump_rtl_in_asm): Define. | |
9395 | (decode_d_option): Set flag_dump_rtl_in_asm and flag_print_asm_name | |
9396 | if -dP is specified. | |
9397 | * rtl.h (print_rtx_head): Declare. | |
9398 | * print-rtl.c (print_rtx_head): Define. | |
9399 | (print_rtx): Print the string pointed to by print_rtx_head | |
9400 | at beginning of each dump line. | |
9401 | (print_rtl): Likewise. | |
9402 | (print_rtl_single): Likewise. | |
9403 | * final.c (final_scan_insn): Dump the insn in the assembly | |
9404 | file for debugging. | |
9405 | * gcc.1: Document -dP option. | |
9406 | * invoke.texi (Debugging Options): Likewise. | |
9407 | ||
2856c3e3 SC |
9408 | 2000-09-13 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
9409 | ||
9410 | * md.texi (Machine Constraints): Document the 68HC11 constraints. | |
9411 | * install.texi (Configurations): Document the 68HC11&68HC12 port. | |
9412 | * invoke.texi (Option Summary, M68hc1x Options): Document the options. | |
9413 | ||
1ca04dc8 DC |
9414 | Tue Sep 12 13:51:13 2000 Denis Chertykov <denisc@overta.ru> |
9415 | ||
9416 | * config/avr/avr.h (ASSEMBLER_DIALECT): New macro declared. | |
9417 | * config/avr/avr.md (*movstrqi_insn): Cleanup output template. | |
9418 | (*clrstrqi): Likewise. | |
9419 | (xorhi3,xorsi3,absqi2): Likewise. | |
9420 | (one_cmplhi2,one_cmplsi2): Likewise. | |
9421 | (addsi3): Two stupid constraint alternatives removed. | |
9422 | (extendhisi2): Use `movw' for enhanced avr cores. | |
9423 | (zero_extendhisi2): Likewise. | |
9424 | ||
bb07060a JW |
9425 | Wed Sep 13 02:31:23 EDT 2000 John Wehle (john@feith.com) |
9426 | ||
9427 | * alias.c (find_base_term): Use frame_pointer_rtx | |
9428 | when handling an ADDRESSOF. | |
9429 | ||
9430 | * cse.c (canon_hash): Handle USE of BLKmode memory. | |
9431 | (cse_insn): Outgoing arguments for a libcall don't | |
9432 | affect any recorded expressions. | |
9433 | ||
d21445e7 TT |
9434 | 2000-09-12 Tom Tromey <tromey@cygnus.com> |
9435 | ||
9436 | * configure, config.in: Rebuilt. | |
9437 | * configure.in: Check for iconv, nl_langinfo, langinfo.h. | |
9438 | ||
5c80f6e6 JJ |
9439 | 2000-09-12 Jakub Jelinek <jakub@redhat.com> |
9440 | ||
9441 | * c-lex.c (lex_string): Use charwidth to compute bytemask. | |
9442 | * expr.c (expand_expr): Don't optimize constant array references | |
9443 | initialized with wide string constants. | |
9444 | ||
635a2a90 MH |
9445 | 2000-09-13 Michael Hayes <mhayes@cygnus.com> |
9446 | ||
a191f0ee | 9447 | * loop.c (note_set_pseudo_multiple_uses): Correct. |
635a2a90 | 9448 | |
cc2999aa JW |
9449 | 2000-09-12 Jim Wilson <wilson@cygnus.com> |
9450 | ||
9451 | * ifcvt.c (noce_process_if_block): If A and B are the same, and no | |
9452 | else block, and X has side-effects, then fail. | |
9453 | ||
a0b6cdee GM |
9454 | 2000-09-12 Greg McGary <greg@mcgary.org> |
9455 | ||
9456 | * config/mips/mips-protos.h | |
9457 | (trap_cmp_op, mips_gen_conditional_trap): New func decls. | |
9458 | * config/mips/mips.h (ISA_HAS_COND_TRAP): New macro. | |
9459 | (PREDICATE_CODES): Add "trap_cmp_op". | |
9460 | * config/mips/mips.c | |
9461 | (trap_cmp_op, mips_gen_conditional_trap): New functions. | |
9462 | * config/mips/mips.md (trap, conditional_trap): New patterns. | |
9463 | ||
24948ccc BS |
9464 | 2000-09-12 Bernd Schmidt <bernds@redhat.co.uk> |
9465 | ||
9466 | * flow.c (try_pre_increment_1): Don't do anything to sets of the stack | |
9467 | pointer. | |
9468 | ||
3ff5f682 KG |
9469 | 2000-09-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
9470 | ||
9471 | * builtins.c (built_in_decls): New array. | |
9472 | (expand_builtin_fputs): New function. | |
9473 | (expand_builtin): Handle BUILT_IN_FPUTC and BUILT_IN_FPUTS. | |
9474 | ||
9475 | * builtins.def (BUILT_IN_FPUTC, BUILT_IN_FPUTS): New members. | |
9476 | ||
9477 | * c-common.c (c_common_nodes_and_builtins): Handle fputc/fputs. | |
9478 | ||
9479 | * tree.h (built_in_decls): New array. | |
9480 | ||
208b0ab1 JL |
9481 | Tue Sep 12 08:53:57 2000 Jeffrey A Law (law@cygnus.com) |
9482 | ||
9483 | * convex.md: Use "+" instead of "=" for outputs wrapped in a | |
9484 | STRICT_LOW_PART. | |
9485 | * i370.md, i386.md, ns32k.md, sh.md, vax.md: Likewise. | |
9486 | ||
a86dc4a3 KH |
9487 | 2000-09-12 Kazu Hirata <kazu@hxi.com> |
9488 | ||
7a403706 KH |
9489 | * haifa-sched.c: Fix formatting. |
9490 | ||
c9541287 KH |
9491 | * genattrtab.c: Fix formatting. |
9492 | ||
a86dc4a3 KH |
9493 | * unroll.c: Fix formatting. |
9494 | ||
3af556f7 BK |
9495 | 2000-09-12 Bruce Korb <bkorb@gnu.org> |
9496 | ||
9497 | * fixinc/fixfixes.c: make a type for the fix procedure & use it, | |
9498 | remove obsolete code | |
9499 | * fixinc/fixincl.c: Use PARAMS, not _P_. Add no-op default to switch. | |
9500 | * fixinc/fixincl.tpl: make non-exported arrays static scope | |
9501 | * fixinc/fixincl.x: regenerate | |
9502 | * fixinc/fixlib.h: Use PARAMS, not _P_ | |
9503 | * fixinc/fixtests.c: make a type for the test proc & use it | |
9504 | * fixinc/server.h: Use PARAMS, not _P_ | |
9505 | ||
32892c52 KG |
9506 | 2000-09-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
9507 | ||
9508 | * c-typeck.c (process_init_element): Avoid union init warnings on | |
9509 | floating point zero. Don't crash on unions containing structs. | |
9510 | ||
ae0a1c23 AO |
9511 | 2000-09-12 Alexandre Oliva <aoliva@redhat.com> |
9512 | ||
9513 | * config/sh/sh.h (PREDICATE_CODES): Add CONST_DOUBLE to | |
9514 | general_movsrc_operand, and remove CONST_INT from | |
9515 | general_movdst_operand. | |
9516 | ||
f1c1dfc3 BS |
9517 | 2000-09-12 Bernd Schmidt <bernds@redhat.co.uk> |
9518 | ||
9519 | * cse.c (approx_reg_cost): If SMALL_REGISTER_CLASSES, return INT_MAX | |
9520 | if a reference to non-fixed hardreg is seen. Otherwise, count hard | |
9521 | regs with a higher cost. | |
9522 | (preferrable): Deal with cases where either cost or regcost is | |
9523 | MAX_COST. | |
9524 | (cse_insn): Use MAX_COST rather than 10000. Always initialize | |
9525 | regcost values. | |
9526 | (COSTS_N_INSNS): Move definition... | |
9527 | * rtl.h: ...here. | |
9528 | (MAX_COST): New macro. | |
9529 | * loop.c (init_loop): Use COSTS_N_INSNS macro instead of hardcoded | |
9530 | constant. | |
9531 | ||
f444e36b MM |
9532 | 2000-09-11 Mark Mitchell <mark@codesourcery.com> |
9533 | ||
9534 | * c-common.h (genrtl_clear_out_block): Remove. | |
9535 | * c-semantics.c (genrtl_clear_out_block): Remove. | |
9536 | (genrtl_while_stmt): Don't call it. | |
9537 | (genrtl_for_stmt): Likewise. | |
9538 | ||
a58d32c2 ZW |
9539 | 2000-09-11 Zack Weinberg <zack@wolery.cumb.org> |
9540 | ||
9541 | * cppfiles.c: Move all default-#defines to top of file. | |
9542 | (open_include_file): Replace by lookup_include_file. | |
9543 | (read_with_read, read_file): Merged into read_include_file. | |
9544 | (stack_include_file, purge_cache): New functions. | |
9545 | (close_cached_fd): Delete. | |
dd745546 | 9546 | (lookup_include_file, read_include_file, _cpp_pop_file_buffer): |
a58d32c2 ZW |
9547 | Cache the in-memory buffer, not the file descriptor. |
9548 | ||
9549 | * cpphash.h (struct include_file): Add buffer, st, refcnt, | |
9550 | mapped fields. | |
9551 | (xcnew): New utility macro. | |
9552 | (DO_NOT_REREAD, NEVER_REREAD): Move up by struct include_file. | |
9553 | * cpplib.h (struct cpp_buffer): Remove mapped field. | |
9554 | ||
9555 | 2000-09-11 Zack Weinberg <zack@wolery.cumb.org> | |
9556 | ||
9557 | * cpplex.c (parse_string): Accept backslash space newline as a | |
9558 | line continuation. | |
9559 | (lex_line): Likewise. | |
9560 | (_cpp_get_token): Remove hard limit on macro nesting. | |
9561 | ||
bfa29b63 PT |
9562 | 2000-09-12 Philipp Thomas <pthomas@suse.de> |
9563 | ||
9564 | * aclocal.m4 (AM_WITH_NLS): Don't force use of included gettext. | |
9565 | * configure: Rebuilt. | |
9566 | ||
97ca9316 MH |
9567 | 2000-09-13 Michael Hayes <mhayes@cygnus.com> |
9568 | ||
9569 | * flow.c (split_block): Fix update of registers live at | |
9570 | end of split block. | |
9571 | ||
d90ffc8d JH |
9572 | Tue Sep 12 01:51:38 MET DST 2000 Jan Hubicka <jh@suse.cz> |
9573 | ||
9574 | * i386.md (add?i_3, add?i_5): New. | |
9575 | (add?i_4): Rename from add?i_3; Fix compare pattern. | |
9576 | (sub?i_3, xor?i_3, ior?i_3): New. | |
9577 | ||
9578 | * genrecog.c (write_tree): Output code to clear insn_extract cache. | |
9579 | * genattrtab.c (write_attr_case): Gen call to extract_insn_cache | |
9580 | instead of extract_insn and extract_constrain_insn_cache instead of | |
9581 | extract_insn and constrain_operands. | |
9582 | * recog.c (extract_insn_cached, extract_constrain_insn_cached): | |
9583 | New functions. | |
9584 | (extract_insn): Clear which_alternative. | |
9585 | (constrain_operands): Set which_alternative to -1 when failed. | |
9586 | * recog.h (extract_constrain_insn_cached, extract_insn_cached): | |
9587 | Declare. | |
9588 | ||
4843bda9 MH |
9589 | 2000-09-11 Matthew Hiller <hiller@redhat.com> |
9590 | ||
9591 | * config/h8300/h8300.md (movstrictqi): Changed constraint modifier | |
9592 | on operand 0 to '+'. | |
9593 | (movstricthi): Likewise. | |
9594 | ||
ed5bb68d MH |
9595 | 2000-09-12 Michael Hayes <mhayes@cygnus.com> |
9596 | ||
9597 | * loop.h (LOOP_IVS): New macro. | |
9598 | (REG_IV_TYPE, REG_IV_INFO): Add ivs argument. | |
9599 | (struct loop_ivs): New. | |
9600 | (struct loop_info): Add ivs field. | |
9601 | (reg_iv_type, reg_iv_info): Delete prototype. | |
9602 | (reg_biv_class, loop_iv_list): Likewise. | |
9603 | * loop.c (record_biv, find_life_end): Pass loop argument. | |
9604 | (reg_iv_type): Remove global array and use | |
9605 | field in loop_regs structure within loop_ivs structure. | |
9606 | (reg_iv_info, reg_biv_class, loop_iv_list): Likewise. | |
9607 | (first_increment_giv, last_increment_giv): Use entry in | |
9608 | loop_ivs structure. | |
9609 | (record_initial): Pass ivs pointer. | |
9610 | * unroll.c (copy_loop_body, remap_split_bivs): Add loop argument. | |
9611 | ||
1ecd860b MH |
9612 | 2000-09-12 Michael Hayes <mhayes@cygnus.com> |
9613 | ||
9614 | * loop.h (LOOP_REGS): New macro. | |
9615 | (struct loop_regs): New. | |
9616 | (struct loop_info): Add regs field. | |
dd745546 | 9617 | * loop.c (set_in_loop): Remove global array and store |
1ecd860b MH |
9618 | in loop_regs structure as part of loop_info structure. |
9619 | (n_times_set, may_not_optimize): Likewise. | |
9620 | (reg_single_usage, moved_once): Likewise. | |
9621 | (count_one_set): Add regs argument. | |
9622 | (combine_movables, rtx_equal_for_loop_p, combine_givs): Likewise. | |
9623 | (set_pseudo_multiple_uses): Pass regs pointer. | |
9624 | ||
0a5b41f2 MH |
9625 | 2000-09-12 Michael Hayes <mhayes@cygnus.com> |
9626 | ||
9627 | * unroll.c (iteration_info): Subsume into loop_iterations. | |
9628 | * loop.h (loop_info): New field iv. | |
9629 | ||
5d6a16e2 MH |
9630 | 2000-09-12 Michael Hayes <mhayes@cygnus.com> |
9631 | ||
9632 | * basic-block.h (LOOP_TREE, LOOP_PRE_HEADER, LOOP_EDGES): New. | |
9633 | (LOOP_EXITS_DOMS, LOOP_ALL): Likewise. | |
9634 | (flow_loops_update): New prototype. | |
9635 | (flow_loops_find): Add flags to prototype. | |
9636 | (struct loop): Add `pre_header_root' and `pre_header_trace' fields. | |
9637 | * flow.c (flow_loop_pre_header_scan): New. | |
9638 | (flow_loop_dump): Dump pre-header root and trace and exit dominators. | |
9639 | (flow_loop_free): Free pre-header root and trace and exit dominators. | |
9640 | (flow_loops_find): New argument flags. | |
9641 | (flow_loops_update): New function. | |
9642 | * toplev.c (rest_of_compilation): Add flag argument to flow_loops_find. | |
9643 | ||
c586192c MH |
9644 | 2000-09-12 Michael Hayes <mhayes@cygnus.com> |
9645 | ||
9646 | * basic-block.h (split_block, update_bb_for_insn): New prototypes. | |
9647 | * flow.c (split_block, update_bb_for_insn): New functions. | |
9648 | ||
a5e5cf67 RH |
9649 | 2000-09-11 Richard Henderson <rth@cygnus.com> |
9650 | ||
9651 | * cse.c (fold_rtx): Honor NO_FUNCTION_CSE. | |
9652 | ||
655f2eb9 RH |
9653 | 2000-09-11 Richard Henderson <rth@cygnus.com> |
9654 | ||
9655 | * config/ia64/ia64-protos.h (fr_nonimmediate_operand): Declare. | |
9656 | * config/ia64/ia64.c (fr_nonimmediate_operand): New. | |
9657 | (ia64_override_options): Prevent optimizing division for both | |
9658 | latency and throughput. | |
9659 | (rtx_needs_barrier): Handle frcpa. | |
9660 | * config/ia64/ia64.h (MASK_INLINE_DIV_LAT): New. | |
9661 | (MASK_INLINE_DIV_THR, TARGET_INLINE_DIV_LAT): New. | |
9662 | (TARGET_INLINE_DIV_THR, TARGET_INLINE_DIV): New. | |
9663 | (TARGET_SWITCHES): Add -minline-divide-min-latency and | |
9664 | -minline-divide-max-throughput. | |
9665 | (PREDICATE_CODES): Update. | |
9666 | * config/ia64/ia64.md (extendsidi2): Remove * from f case. | |
9667 | (zero_extendsidi2): Likewise. Fix typo in f case insn. | |
9668 | (extendsfdf2): Add cases for gr<->fr and fr<->mem. | |
9669 | (extendsftf2): Likewise. | |
9670 | (extenddftf2): Likewise. | |
9671 | (fix_trunctfdi2_alts): New. | |
9672 | (fixuns_trunctfdi2_alts): New. | |
9673 | (madd*4): Rename from madd*3. | |
9674 | (divsi3, modsi3, udivsi3, umodsi3): New. | |
9675 | (divsi3_internal): New. | |
9676 | (divdi3, moddi3, udivdi3, umoddi3): New. | |
9677 | (divdi3_internal_lat, divdi3_internal_thr): New. | |
9678 | (multf3_alts, maddtf4_alts, nmaddtf4_alts): New. | |
9679 | (recip_approx): New. | |
9680 | ||
b5d7770c AO |
9681 | 2000-09-11 Alexandre Oliva <aoliva@redhat.com> |
9682 | ||
9683 | * print-rtl.c (debug_call_placeholder_verbose): New variable. | |
9684 | (print_rtx) [CALL_PLACEHOLDER]: Dump all call sequences if it is | |
9685 | set. | |
9686 | * integrate.c (copy_rtx_and_substitute): Don't share | |
9687 | LEAF_REG_REMAPpable registers with the inlined function. Don't | |
9688 | share the function value with calling sequences. | |
9689 | ||
6ff85fd8 JJ |
9690 | 2000-09-11 Jakub Jelinek <jakub@redhat.com> |
9691 | ||
2a1da89b JJ |
9692 | * c-decl.c (do_case): Fix a typo. |
9693 | ||
6ff85fd8 JJ |
9694 | * combine.c (simplify_if_then_else): Don't convert a == b ? b : a |
9695 | to a if the comparison is floating mode and not -ffast-math. | |
9696 | * simplify-rtx.c (simplify_ternary_operation): Likewise. | |
9697 | ||
4102c782 R |
9698 | Mon Sep 11 20:07:48 2000 J"orn Rennecke <amylaar@redhat.co.uk> |
9699 | ||
9700 | * sh.h (INITIALIZE_TRAMPOLINE): Remove stray call to | |
9701 | gen_ic_invalidate_line. | |
9702 | ||
52a21fc6 PB |
9703 | 2000-09-11 Philip Blundell <pb@futuretv.com> |
9704 | ||
9705 | * config/arm/elf.h (SUBTARGET_CPP_SPEC): Don't define `arm_elf'. | |
9706 | ||
669ed2b1 UD |
9707 | Mon Sep 11 10:48:41 2000 Ulrich Drepper <drepper@redhat.com> |
9708 | ||
9709 | * install.texi (LANGUAGES): Update to include new languages. | |
9710 | * INSTALL: Rebuilt. | |
9711 | ||
50936d27 DD |
9712 | 2000-09-11 DJ Delorie <dj@redhat.com> |
9713 | ||
9714 | * gcc.c (main): Don't warn about unused -B prefixes | |
9715 | (unused_prefix_warnings): remove | |
9716 | ||
00174bdf KH |
9717 | 2000-09-11 Kazu Hirata <kazu@hxi.com> |
9718 | ||
f5d927c0 KH |
9719 | * final.c: Fix formatting. |
9720 | ||
00174bdf KH |
9721 | * integrate.c: Fix formatting. |
9722 | ||
b14066a9 GK |
9723 | 2000-09-11 Geoff Keating <geoffk@cygnus.com> |
9724 | ||
9725 | * alias.c (memrefs_conflict_p): An ADDRESSOF does conflict, sorry. | |
9726 | ||
e695931e BS |
9727 | 2000-09-11 Bernd Schmidt <bernds@redhat.co.uk> |
9728 | ||
9729 | * reload.c (regno_clobbered_p): Fix thinko in previous change. | |
9730 | ||
456aadaa SC |
9731 | 2000-09-10 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
9732 | ||
9733 | * gcc.1: Document 68hc11 specific options. | |
9734 | ||
9cb8fcaf GK |
9735 | 2000-09-10 Geoff Keating <geoffk@cygnus.com> |
9736 | ||
e0f7170a GK |
9737 | * config/rs6000/sysv4.h (MASK_LONG_DOUBLE_128): Define. |
9738 | (TARGET_LONG_DOUBLE_128): Define. | |
9739 | (SUBTARGET_SWITCHES): Add -mlong-double-64 and -mlong-double-128. | |
9740 | (LONG_DOUBLE_TYPE_SIZE): Redefine. | |
9741 | (MAX_LONG_DOUBLE_TYPE_SIZE): Define. | |
9742 | (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define depending on definition | |
9743 | of __LONG_DOUBLE_128__. | |
9744 | (CPP_SYSV_SPEC): Define __LONG_DOUBLE_128__ if -mlong-double-128 | |
9745 | passed. | |
9746 | (CPP_LONGDOUBLE_DEFAULT_SPEC): Define. | |
9747 | (CPP_SYSV_DEFAULT_SPEC): Define. | |
9748 | (SUBTARGET_EXTRA_SPECS): Add cpp_longdouble_default. | |
9749 | (INIT_TARGET_OPTABS): Define. | |
9750 | ||
9cb8fcaf GK |
9751 | * config/rs6000/aix.h (RS6000_ITRUNC): Moved from rs6000.h. |
9752 | (RS6000_UITRUNC): Likewise. | |
9753 | (INIT_TARGET_OPTABS): New macro. | |
9754 | * config/rs6000/rs6000.c (rs6000_trunc_used): Delete. | |
9755 | (trunc_defined): Delete. | |
9756 | (output_prolog): Don't output .extern definitions for fp->int | |
9757 | conversion routines, ASM_OUTPUT_EXTERNAL_LIBCALL will do it. | |
9758 | * config/rs6000/rs6000.h (rs6000_trunc_used): Delete. | |
9759 | (trunc_defined): Delete. | |
9760 | (RS6000_ITRUNC): Moved to aix.h. | |
9761 | (RS6000_UITRUNC): Likewise. | |
9762 | * config/rs6000/rs6000.md (fix_truncdfsi2): Fail if it would | |
9763 | only emit a libcall. | |
9764 | (fixuns_truncdfsi2): Delete. | |
9765 | (trunc_call): Delete. | |
9766 | (trunc_call_rtl): Delete. | |
9767 | ||
8f820299 ZW |
9768 | 2000-09-10 Zack Weinberg <zack@wolery.cumb.org> |
9769 | ||
9770 | * varasm.c (make_decl_rtl): Restore leading star on | |
dd745546 | 9771 | DECL_ASSEMBLER_NAME set for decls with an asmspec. |
8f820299 | 9772 | |
4337bc93 ZW |
9773 | 2000-09-10 Zack Weinberg <zack@wolery.cumb.org> |
9774 | ||
9775 | * c-pragma.c (handle_pragma_pack): Correct parsing logic so it | |
9776 | won't give a spurious error for '#pragma pack()'. Simplify | |
9777 | control flow for readability. 'reset' action is not necessary. | |
9778 | ||
d8ea8f28 ZW |
9779 | 2000-09-10 Zack Weinberg <zack@wolery.cumb.org> |
9780 | ||
9781 | * defaults.h: Provide default definitions for: CHAR_TYPE_SIZE, | |
9782 | SHORT_TYPE_SIZE, INT_TYPE_SIZE, LONG_TYPE_SIZE, | |
9783 | LONG_LONG_TYPE_SIZE, WCHAR_TYPE_SIZE, FLOAT_TYPE_SIZE, | |
9784 | DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE, and WCHAR_UNSIGNED. | |
9785 | ||
9786 | * cppexp.c, dwarfout.c, dwarf2out.c, emit-rtl.c, final.c, optabs.c, | |
9787 | profile.c, sdbout.c, tradcif.y, tree.c: | |
9788 | Include defaults.h if not already included. | |
9789 | Don't define the above macros. | |
9790 | ||
9791 | * Makefile.in: Update dependencies. | |
9792 | ||
56cb9733 MM |
9793 | 2000-09-10 Mark Mitchell <mark@codesourcery.com> |
9794 | ||
9795 | * c-common.h (add_stmt): Change prototype. | |
9796 | (RECHAIN_STMTS): New macro. | |
9797 | (CASE_LABEL_DECL): Likewise. | |
9798 | (genrtl_case_label): Change prototype. | |
9799 | (c_expand_start_case): Remove prototype. | |
9800 | (build_case_label): Change prototype. | |
9801 | (decl_constant_value): Declare. | |
9802 | * c-common.c (check_case_value): Handle C++'s extensions to C | |
9803 | semantics. | |
9804 | * c-commnon.def (CASE_LABEL): Add room for the CASE_LABEL_DECL | |
d8ea8f28 | 9805 | field. |
56cb9733 MM |
9806 | * c-parse.in (stmt): Adjust handling of return statements and case |
9807 | laels. | |
9808 | * c-semantics.c (add_stmt): Return the new statement. | |
9809 | (genrtl_return_stmt): Take the RETURN_STMT as input, not the | |
9810 | returned expression. Directly generate RTL, rather than calling | |
9811 | c_expand_return. | |
9812 | (genrtl_switch_stmt): Don't call c_expand_start_case. | |
9813 | (build_case_label): Take the LABEL_DECL as input, too. | |
9814 | (genrtl_case_label): Just call add_case_node. | |
9815 | (expand_stmt): Adjust calls to genrtl_return_stmt and | |
9816 | genrtl_case_label. | |
9817 | * c-tree.h (c_expand_start_case): Declare. | |
9818 | * c-typeck.c (decl_constant_value): Give it external linkage. | |
9819 | (c_expand_return): Don't call expand_return or expand_null_return; | |
9820 | use genrtl_return_stmt instead. | |
9821 | * stmt.c (struct nesting): Remove num_ranges field. | |
9822 | (add_case_node): Give it external linkage. | |
9823 | (expand_start_case): Don't set num_ranges. | |
9824 | (expand_start_case_dummy): Don't clear it. | |
9825 | (pushcase): Rely on add_case_node to handle `default' labels. | |
9826 | (add_case_node): Handle `default' labels. | |
9827 | * tree.c (tree_int_cst_compare): New function. | |
9828 | * tree.h (tree_int_cst_compare): Declare. | |
9829 | (add_case_node): Likewise. | |
9830 | ||
aac02f4e RH |
9831 | 2000-09-10 Richard Henderson <rth@cygnus.com> |
9832 | ||
9833 | * c-parse.in: Revert last change. | |
9834 | (init_reswords): Do not enter disabled keywords into the ridpointers | |
9835 | table, modulo objc weirdness. | |
9836 | (_yylex): Return the canonical spelling for a keyword. | |
9837 | ||
75d8aea7 PB |
9838 | 2000-09-10 Philip Blundell <philb@gnu.org> |
9839 | ||
9840 | * config/arm/arm.h (CPP_ISA_SPEC): Don't define `arm' or `thumb'. | |
9841 | * config/arm/linux-elf.h (CPP_PREDEFINES): Don't define `__arm__'. | |
9842 | ||
d982e46e JW |
9843 | Sun Sep 10 14:30:28 EDT 2000 John Wehle (john@feith.com) |
9844 | ||
9845 | * alias.c (find_base_term): Handle ADDRESSOF. | |
9846 | (memrefs_conflict_p): An ADDRESSOF doesn't conflict. | |
9847 | ||
212d447c DC |
9848 | 2000-09-10 Denis Chertykov <denisc@overta.ru> |
9849 | ||
9850 | * genoutput.c (output_insn_data): Translate <NEWLINE> to \n\ while | |
9851 | outputting templates with many lines. | |
9852 | ||
a746dbf5 SC |
9853 | 2000-09-10 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
9854 | ||
9855 | * libgcc2.h: Use LONG_LONG_TYPE_SIZE instead of MIN_UNITS_PER_WORD | |
9856 | to decide whether 64-bit support must be generated. | |
9857 | ||
1d0f6d89 RH |
9858 | 2000-09-10 Richard Henderson <rth@cygnus.com> |
9859 | ||
9860 | * c-parse.in (asm patterns): Fix volatile check. | |
9861 | ||
e1aa5140 KG |
9862 | 2000-09-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
9863 | ||
9864 | * cppmacro.c (check_trad_stringification): New function. | |
9865 | (save_expansion): If -Wtraditional, warn about stringification of | |
9866 | macro arguments. | |
9867 | ||
afa1738b MH |
9868 | 2000-09-11 Michael Hayes <mhayes@cygnus.com> |
9869 | ||
9870 | * loop.h (struct loop_mem_info): Move from loop.c | |
9871 | (struct loop_info): Add fields store_mems, mems, mems_idx, | |
9872 | mems_allocated, unknown_address_altered, | |
9873 | unknown_constant_address_altered, num_mem_sets, and | |
9874 | first_loop_store_insn. | |
9875 | ||
9876 | * loop.c (loop_store_mems): Replace with field in loop_info struct. | |
9877 | (loop_mems, loop_mems_idx, loop_mems_allocated): Likewise. | |
9878 | (unknown_address_altered, unknown_constant_address_altered): Likewise. | |
9879 | (num_mem_sets): Likewise. | |
dd745546 | 9880 | (replace_loop_mems, replace_loop_regs): New. |
afa1738b MH |
9881 | (struct loop_replace_args): New. |
9882 | (load_mems): Use replace_loop_mems. | |
9883 | (try_copy_prop): Use replace_loop_regs. | |
9884 | (replace_loop_reg, replace_loop_mem): Use loop_replace_args structure. | |
9885 | ||
63883fc3 SC |
9886 | 2000-09-09 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
9887 | ||
9888 | * configure.in: Recognize m6811-elf and m6812-elf. | |
9889 | * configure: Regenerate. | |
9890 | ||
808788fe GK |
9891 | 2000-09-09 Geoff Keating <geoffk@cygnus.com> |
9892 | ||
9893 | * recog.c (validate_replace_rtx_1): Correct MODE parameter in call | |
9894 | to operand_subword. | |
9895 | ||
02055ad6 MH |
9896 | 2000-09-10 Michael Hayes <mhayes@cygnus.com> |
9897 | ||
9898 | * loop.c (struct movables): New. | |
9899 | (num_movables): Move into struct movables. | |
9900 | (the_movables): Change type to struct movables. | |
9901 | (ignore_some_movables): Change struct movable arg to struct movables. | |
dd745546 | 9902 | (force_movables, combine_movables, regs_match_p): Likewise. |
02055ad6 MH |
9903 | (rtx_equal_for_loop_p, move_movables): Likewise. |
9904 | (scan_loop): Change movables to be of type struct movables. | |
9905 | Replace last_movable with field in movables structure. | |
9906 | ||
ae54392b ZW |
9907 | 2000-09-08 Zack Weinberg <zack@wolery.cumb.org> |
9908 | ||
9909 | * c-pragma.c: Don't elide entire file if !HANDLE_GENERIC_PRAGMAS. | |
9910 | (init_pragma): Avoid warning if pfile happens to be unused. | |
9911 | * c-pragma.h: Never define HANDLE_GENERIC_PRAGMAS. Never | |
9912 | define init_pragma to nothing. Always prototype | |
9913 | init_pragma. Prototype dispatch_pragma if !USE_CPPLIB. | |
9914 | ||
9915 | * c-lex.c (process_directive): Always call dispatch_pragma. | |
9916 | Initialize entering_c_header to 0. | |
9917 | ||
385c9217 SC |
9918 | 2000-09-08 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
9919 | ||
9920 | * config/m68hc11/m68hc11.md: New file, machine description for | |
9921 | 68HC11 & 68HC12. | |
9922 | * config/m68hc11/m68hc11.h: New file, definitions for 68HC11 & 68HC12. | |
9923 | * config/m68hc11/m68hc11.c: New file, functions for 68HC11 & 68HC12. | |
9924 | * config/m68hc11/m68hc12.h: New file, definitions for 68HC12. | |
9925 | * config/m68hc11/m68hc11-protos.h: New file. | |
9926 | * config/m68hc11/m68hc11-crt0.S: New file, startup code. | |
9927 | * config/m68hc11/t-m68hc11-gas: New file, makefile fragment. | |
9928 | * config/m68hc11/xm-m68hc11.h: New file, target defs. | |
9929 | * config/m68hc11/larith.asm: New file, libgcc routines. | |
9930 | ||
dfaf3cdb SC |
9931 | 2000-09-08 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
9932 | ||
9933 | * Makefile.in (DPBIT_FUNCS): Add _usi_to_df. | |
9934 | (FPBIT_FUNCS): Add _usi_to_sf. | |
9935 | * config/fp-bit.c (usi_to_float): New function. | |
9936 | * config/fp-bit.h (L_usi_to_sf, L_usi_to_df): Define. | |
9937 | (usi_to_float): Add appropriate #define. | |
9938 | ||
915119a5 BS |
9939 | 2000-09-08 Bernd Schmidt <bernds@redhat.co.uk> |
9940 | ||
9941 | * i386-protos.h (sse_comparison_operator, mmx_reg_operand): Declare | |
9942 | new functions. | |
9943 | * i386.c (sse_comparison_operator, mmx_reg_operand): New functions. | |
9944 | * i386.md (attr "type"): Add sse and mmx types. | |
9945 | (attr "memory"): Handle them without a crash. | |
9946 | (movsi_1, movdi_2): Allow MMX regs. | |
9947 | (movdi splits): Don't split moves involving MMX regs. | |
9948 | (setcc_4): Remove '*' from pattern name so we get a gen_setcc4. | |
9949 | (movv4sf_internal, movv4si_internal, movv8qi_internal, | |
9950 | movv4hi_internal, movv2si_internal, movv8qi, movv4hi, movv2si, | |
9951 | movv4sf, movv4si, pushv4sf, pushv4si, pushv8qi, pushv4hi, pushv2si, | |
9952 | sse_movaps, sse_movups, sse_movmskps, mmx_pmovmskb, mmx_maskmovq, | |
9953 | sse_movntv4sf, sse_movntdi, sse_movhlps, sse_movlhps, sse_movhps, | |
9954 | sse_movlps, sse_loadss, sse_movss, sse_storess, sse_shufps, | |
9955 | addv4sf3, vmaddv4sf3, subv4sf3, vmsubv4sf3, mulv4sf3, vmmulv4sf3, | |
9956 | divv4sf3, vmdivv4sf3, rcpv4sf2, vmrcpv4sf2, rsqrtv4sf2, vmrsqrtv4sf2, | |
9957 | sqrtv4sf2, vmsqrtv4sf2, sse_andti3, sse_nandti3, sse_iorti3, | |
dd745546 AJ |
9958 | sse_xorti3, maskcmpv4sf3, maskncmpv4sf3, vmmaskcmpv4sf3, |
9959 | vmmaskncmpv4sf3, sse_comi, sse_ucomi, sse_unpckhps, sse_unpcklps, | |
915119a5 BS |
9960 | smaxv4sf3, vmsmaxv4sf3, sminv4sf3, vmsminv4sf3, cvtpi2ps, cvtps2pi, |
9961 | cvttps2pi, cvtsi2ss, cvtss2si, cvttss2si, addv8qi3, addv4hi3, | |
9962 | addv2si3, ssaddv8qi3, ssaddv4hi3, usaddv8qi3, usaddv4hi3, subv8qi3, | |
9963 | subv4hi3, subv2si3, sssubv8qi3, sssubv4hi3, ussubv8qi3, ussubv4hi3, | |
9964 | mulv4hi3, smulv4hi3_highpart, umulv4hi3_highpart, mmx_pmaddwd, | |
9965 | mmx_iordi3, mmx_xordi3, mmx_anddi3, mmx_nanddi3, mmx_uavgv8qi3, | |
9966 | mmx_uavgv4hi3, mmx_psadbw, mmx_pinsrw, mmx_pextrw, mmx_pshufw, | |
9967 | eqv8qi3, eqv4hi3, eqv2si3, gtv8qi3, gtv4hi3, gtv2si3, umaxv8qi3, | |
9968 | smaxv4hi3, uminv8qi3, sminv4hi3, ashrv4hi3, ashrv2si3, lshrv4hi3, | |
9969 | lshrv2si3, mmx_lshrdi3, ashlv4hi3, ashlv2si3, mmx_ashldi3, | |
9970 | mmx_packsswb, mmx_packssdw, mmx_packuswb, mmx_punpckhbw, | |
9971 | mmx_punpckhwd, mmx_punpckhdq, mmx_punpcklbw, mmx_punpcklwd, | |
9972 | mmx_punpckldq, emms, sfence, ldmxcsr, prefetch, stmxcsr, sse_clrti, | |
9973 | mmx_clrdi): New patterns. | |
9974 | ||
8e49e00a RE |
9975 | 2000-09-08 Richard Earnshaw <rearnsha@arm.com> |
9976 | ||
9977 | * arm.c: Don't include tm.h directly. | |
9978 | ||
bd5621a3 JH |
9979 | Fri Sep 8 14:34:56 MET DST 2000 Jan Hubicka <jh@suse.cz> |
9980 | ||
9981 | * recog.c (validate_replace_rtx_1): Fix confusion about equality | |
9982 | testing; simplify subregs of constants and nested subregs. | |
e65d02cf | 9983 | |
6b3783de AO |
9984 | 2000-09-08 Alexandre Oliva <aoliva@redhat.com> |
9985 | ||
9986 | * config/sh/sh.md (symPLT_label2reg): Use operand3 for PIC reg. | |
9987 | ||
82be40f7 BS |
9988 | 2000-09-08 Bernd Schmidt <bernds@redhat.co.uk> |
9989 | ||
9990 | * combine.c (combine_simplify_rtx): Try to simplify VEC_SELECT of a | |
9991 | VEC_CONCAT. | |
9af354b7 BS |
9992 | * rtl.texi (description of USE): Add note about possible pitfalls |
9993 | with this rtx. | |
ce701d1b BS |
9994 | From Richard Henderson: |
9995 | * reload1.c (choose_reload_regs): Compute need_mode properly. | |
82be40f7 | 9996 | |
4287b5f1 RH |
9997 | 2000-09-07 Richard Henderson <rth@cygnus.com> |
9998 | ||
9999 | * config/ia64/lib1funcs.asm (__divsi3): Use .s1 for frcpa. | |
10000 | (__modsi3, __umodsi3): Likewise. | |
10001 | (__udivsi3): Likewise. Normalize the TFmode values. | |
10002 | ||
c5d71f39 GK |
10003 | 2000-09-07 Geoff Keating <geoffk@cygnus.com> |
10004 | ||
10005 | * config/rs6000/sol-c0.c (_start): Declare `termfunc' parameter | |
10006 | with a prototype. | |
10007 | * config/rs6000/rs6000.h (RS6000_ARG_SIZE): Use cast to suppress | |
10008 | warning. | |
10009 | ||
712646d0 R |
10010 | Fri Sep 8 03:26:38 2000 J"orn Rennecke <amylaar@redhat.co.uk> |
10011 | ||
10012 | * sh.md (cmpeqsi_ior_t, cmpeqsi_and_t): Remove. | |
10013 | (cmpeqdi_t): Add output pattern. | |
10014 | (cmpeqdi_t+1): Don't split when not optimizing. | |
10015 | Restore proper splitting operation. | |
10016 | ||
30acbc3e RH |
10017 | 2000-09-07 Richard Henderson <rth@cygnus.com> |
10018 | ||
10019 | * c-lex.c (process_directive): If not HANDLE_GENERIC_PRAGMAS, | |
10020 | do not call dispatch_pragma. | |
10021 | ||
46146529 JW |
10022 | 2000-09-07 Jim Wilson <wilson@cygnus.com> |
10023 | ||
10024 | * reload.c (push_reload): Use CLASS_CANNOT_CHANGE_MODE_P in addition | |
10025 | to CLASS_CANNOT_CHANGE_MODE. | |
10026 | * config/ia64/ia64.h (CLASS_CANNOT_CHANGE_MODE_P): True only if the | |
10027 | mode classes are different. | |
10028 | ||
6db83155 ZW |
10029 | 2000-09-07 Zack Weinberg <zack@wolery.cumb.org> |
10030 | ||
10031 | * cpplib.h (struct cpp_options): Add user_label_prefix member, | |
10032 | left out of commit which removed cppulp.c. | |
10033 | ||
0d45144b RH |
10034 | 2000-09-07 Richard Henderson <rth@cygnus.com> |
10035 | ||
10036 | * bb-reorder.c (fixup_reorder_chain): Add jump in new block | |
10037 | after switch for CASE_DROPS_THROUGH. | |
10038 | ||
e8cb4873 RH |
10039 | 2000-09-07 Richard Henderson <rth@cygnus.com> |
10040 | ||
10041 | * loop.c (strength_reduce): Call check_ext_dependant_givs. | |
10042 | Properly extend the biv initial value for the giv. | |
10043 | (record_biv): Zero ext_dependant. | |
10044 | (record_giv): New argument ext_val. Update all callers. | |
10045 | (general_induction_var): Likewise. | |
10046 | (consec_sets_giv): Likewise. | |
10047 | (simplify_giv_expr): Likewise. Fill in ext_val if we find | |
10048 | a sign-extend, zero-extend, or truncate. | |
10049 | (combine_givs_p): Make sure modes are compatible. | |
10050 | (check_ext_dependant_givs): New. | |
10051 | (extend_value_for_giv): New. | |
10052 | * loop.h (struct induction): Add ext_dependant. | |
10053 | * unroll.c (iteration_info): Extend the biv initial value for the giv. | |
10054 | (find_splittable_givs): Likewise. | |
10055 | (final_giv_value): Likewise. | |
10056 | ||
8b97c5f8 ZW |
10057 | 2000-09-07 Zack Weinberg <zack@wolery.cumb.org> |
10058 | ||
10059 | * c-pragma.h: Define HANDLE_GENERIC_PRAGMAS if | |
10060 | REGISTER_TARGET_PRAGMAS is defined. Duplicate some | |
10061 | definitions from cpplib.h. | |
10062 | * cpplib.h: Don't typedef struct cpp_reader if c-pragma.h has | |
10063 | already done it. | |
10064 | * tm.texi: Document HANDLE_PRAGMA as no longer supported. Add | |
10065 | documentation for REGISTER_TARGET_PRAGMAS. | |
10066 | ||
10067 | * c-lex.c: Include cpplib.h before c-pragma.h. Define a | |
10068 | default-pragma callback to implement -Wunknown-pragmas if | |
10069 | USE_CPPLIB. | |
10070 | * c-parse.in: Move all includes to top of file. | |
10071 | * c-pragma.c: Include cpplib.h before c-pragma.h. Include | |
10072 | tm_p.h. | |
10073 | (dispatch_pragma): Put the namespace in the -Wunknown-pragmas | |
10074 | warning. | |
10075 | (init_pragma): If REGISTER_TARGET_PRAGMAS is defined, call it. | |
10076 | ||
10077 | * arm.h, arm-protos.h, arm.c, | |
10078 | c4x.h, c4x-protos.h, c4x.c, | |
10079 | h8300.h, h8300-protos.h, h8300.c, | |
10080 | i370.h, i370-protos.h, i370.c, | |
10081 | i960.h, i960-protos.h, i960.c, | |
d8ea8f28 | 10082 | sh.h, sh-protos.h, sh.c, |
8b97c5f8 ZW |
10083 | v850.h, v850-protos.h, v850.c: Convert HANDLE_PRAGMA-based |
10084 | pragmata scheme to use REGISTER_TARGET_PRAGMAS instead. | |
10085 | ||
10086 | * d30v.h: Don't mention HANDLE_PRAGMA in comment. Add | |
10087 | multiple include guard. | |
10088 | * i370.md (untyped_call): Use GEN_CALL. | |
10089 | (umodsi3): Remove unused variable. | |
10090 | * sh/elf.h: Don't undef HANDLE_SYSV_PRAGMA. | |
10091 | * v850.c (output_move_single, output_move_double): Constify | |
10092 | return value. | |
10093 | (print_operand): Constify a char *. | |
10094 | * v850.h (struct small_memory_info): Constify name member. | |
10095 | ||
1898584f KH |
10096 | 2000-09-07 Kazu Hirata <kazu@hxi.com> |
10097 | ||
10098 | * config/h8300.h: Fix comment typos. | |
10099 | * config/h8300/h8300.md: Likewise. | |
10100 | * config/h8300/lib1funcs.asm: Likewise. | |
10101 | ||
771c4df3 NB |
10102 | Thu 07-Sep-2000 21:29:00 BST Neil Booth <NeilB@earthling.net> |
10103 | ||
10104 | * Makefile.in: Remove references to cppulp.{c,o}. | |
10105 | * cppinit.c (initialize_builtins, cpp_start_read, | |
10106 | cpp_handle_option): Update to use cpp_options structure. | |
10107 | * cppulp.c: Remove. | |
10108 | ||
2496f0b5 JM |
10109 | 2000-09-07 Joseph S. Myers <jsm28@cam.ac.uk> |
10110 | ||
10111 | * c-common.c (time_char_table): Allow %#b and %#h. | |
10112 | ||
bf6302f0 HB |
10113 | 2000-09-07 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl> |
10114 | ||
10115 | * reorg.c (find_end_label): If the basic block reorder pass moves the | |
10116 | return insn to some other place try to locate it again and put our | |
10117 | end_of_function_label there. | |
10118 | * reorg.c (relax_delay_slots): Check if find_end_label created a | |
10119 | new label that invalidates the current optimazation. | |
10120 | ||
4598ffe9 CM |
10121 | 2000-09-07 Catherine Moore <clm@redhat.com> |
10122 | ||
e8cb4873 RH |
10123 | * unroll.c (unroll_loop): Check for unconditional jumps |
10124 | to loop continuation. Delete if n_iterations is 1. | |
10125 | (ujump_to_loop_cont): New routine. | |
4598ffe9 | 10126 | |
ff427764 BS |
10127 | 2000-09-07 Bernd Schmidt <bernds@redhat.co.uk> |
10128 | ||
10129 | * rtl.c (class_narrowest_mode): Add entries for MODE_VECTOR_INT and | |
10130 | MODE_VECTOR_FLOAT. | |
8441bc30 BS |
10131 | * reload.c (regno_clobbered_p): Accept new arg, MODE, and use it |
10132 | to handle multiword modes correctly. All callers and the declaration | |
10133 | changed. | |
d8ea8f28 | 10134 | |
54f7877c MM |
10135 | 2000-09-06 Mark Mitchell <mark@codesourcery.com> |
10136 | ||
10137 | * c-common.h (prep_stmt): Declare. | |
10138 | (lang_expand_stmt): Likewise. | |
10139 | * c-decl.c (lang_expand_stmt): Remove. | |
10140 | * c-semantics.c (lang_expand_stmt): Define. | |
10141 | (prep_stmt): New function. | |
10142 | (expand_stmt): Handle common statement types here. | |
d8ea8f28 | 10143 | |
93ca1662 NY |
10144 | 2000-09-07 Niibe Yutaka <gniibe@m17n.org>, Kaz Kojima <kkojima@rr.iij4u.or.jp>, Alexandre Oliva <aoliva@redhat.com> |
10145 | ||
10146 | * configure.in (sh-*-linux*): Added. | |
10147 | * configure: Rebuilt. | |
10148 | * config/sh/t-linux: New file. | |
10149 | * config/sh/sh.h (USERMODE_BIT): Define. | |
10150 | (TARGET_USERMODE): Likewise. | |
10151 | (TARGET_SWITCHES): New switches for the bits above. | |
10152 | (INITIALIZE_TRAMPOLINE): Call __ic_invalidate in USERMODE. | |
10153 | * config/sh/linux.h: New file. | |
10154 | * config/sh/lib1funcs.asm (GLOBAL): Don't prefix symbols with | |
10155 | underscore on linux. | |
10156 | (L_sdivsi3, L_udivsi3): Define for linux. | |
10157 | (L_ic_invalidate): Define. | |
10158 | * invoke.texi (SH Options): Document -musermode. | |
10159 | ||
71105114 AO |
10160 | 2000-09-07 Alexandre Oliva <aoliva@redhat.com> |
10161 | ||
4979c2a9 AO |
10162 | * config/sh/sh.h (OVERRIDE_OPTIONS): Don't disable function |
10163 | CSE unless generating PIC. | |
10164 | ||
71105114 AO |
10165 | * config/sh/sh.md (symPLT_label2reg): Force the initialization of |
10166 | the PIC register. | |
10167 | ||
d5cfb451 L |
10168 | 2000-09-06 H.J. Lu (hjl@gnu.org) |
10169 | ||
10170 | * Makefile.in (clean_s1): Depend on stage_b. | |
10171 | (clean_s2): Depend on stage_d. Don't remove $(VOL_FILES) in | |
10172 | stage2. They are used for "make compare". | |
10173 | ||
ae499cce MM |
10174 | 2000-09-06 Mark Mitchell <mark@codesourcery.com> |
10175 | ||
10176 | Move statement-tree facilities from C++ to C front-end. | |
10177 | * c-common.h (c_tree_index): Add CTI_VOID_ZERO. | |
10178 | (void_zero_node): New macro. | |
10179 | (struct stmt_tree_s): New type. | |
10180 | (stmt_tree): New typedef. | |
10181 | (struct language_function): New type. | |
10182 | (last_tree): New macro. | |
10183 | (last_expr_type): Likewise. | |
10184 | (walk_tree_fn): New typedef. | |
10185 | (current_stmt_tree): New function. | |
10186 | (begin_stmt_tree): Likewise. | |
10187 | (add_stmt): Likewise. | |
10188 | (finish_stmt_tree): Likewise. | |
10189 | (statement_code_p): Likewise. | |
10190 | (lang_statement_code_p): New variable. | |
10191 | (walk_stmt_tree): New function. | |
10192 | (STMT_IS_FULL_EXPR_P): New macro. | |
10193 | * c-common.c (lang_statement_code_p): New variable. | |
10194 | (c_common_nodes_and_builtins): Initialize void_zero_node. | |
10195 | (statement_code_p): New function. | |
10196 | (walk_stmt_tree): Likewise. | |
10197 | * c-decl.c (language_function): Rename to ... | |
10198 | (c_language_function): ... this. Include language_function. | |
10199 | (push_c_function_context): Adjust accordingly. | |
10200 | (pop_c_function_context): Likewise. | |
10201 | (mark_c_function_context): Likewise. | |
10202 | (current_stmt_tree): Define. | |
10203 | * c-semantics.c (begin_stmt_tree): New function. | |
10204 | (add_stmt): Likewise. | |
10205 | (prune_unused_decls): Likewise. | |
10206 | (finish_stmt_tree): Likewise. | |
10207 | ||
4f4b88d0 HB |
10208 | 2000-09-06 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl> |
10209 | ||
e8cb4873 | 10210 | * flow.c (insn_dead_p): Detect dead memory stores with auto increments. |
4f4b88d0 | 10211 | |
f725a3ec KH |
10212 | 2000-09-06 Kazu Hirata <kazu@hxi.com> |
10213 | ||
10214 | * calls.c: Fix formatting. | |
10215 | ||
0806f95f GS |
10216 | 2000-09-06 Graham Stott <grahams@cygnus.co.uk> |
10217 | ||
e8cb4873 | 10218 | * config/i386/i386.h (ADDRESS_COST): Fix typo. |
0806f95f | 10219 | |
0e5921e8 ZW |
10220 | 2000-09-06 Zack Weinberg <zack@wolery.cumb.org> |
10221 | ||
10222 | Integrated preprocessor. | |
10223 | ||
10224 | * Makefile.in: Remove all references to c-parse.gperf, | |
10225 | c-gperf.h, and c-parse.h. Remove -d from yacc command line | |
10226 | generating c-parse.c. Update dependencies. | |
10227 | * c-parse.gperf, c-gperf.h: Delete. | |
10228 | ||
10229 | * c-common.c: Don't define parse_options, cpp_token, yy_cur, | |
10230 | yy_lim, or yy_get_token. Don't define get_directive_line if | |
10231 | USE_CPPLIB. | |
10232 | * c-common.h: Add multiple include guard. Define RID values | |
10233 | for every keyword in C, C++, and Objective C. Put all the | |
10234 | modifiers first. | |
10235 | (struct c_fileinfo, get_fileinfo, dump_time_statistics): New. | |
10236 | * c-decl.c (c_decode_option): Handle -lang-objc here. | |
10237 | (print_lang_identifier): Handle C_IS_RESERVED_WORD case. | |
10238 | (grokdeclarator): Adjust for new RID scheme. | |
10239 | (extract_interface_info): New stub. | |
10240 | * c-lang.c: Don't declare yy_cur or parse_options. | |
10241 | (lang_init_options): Call cpp_init. Don't call | |
10242 | cpp_options_init. | |
10243 | (lang_init): Don't call check_newline if USE_CPPLIB. | |
10244 | ||
10245 | * c-lex.c: Don't include c-parse.h. Do include timevar.h. | |
10246 | Elide lots of unnecessary code if USE_CPPLIB. Delete code | |
10247 | rendered unnecessary by new architecture. Move routines not | |
10248 | shared with C++ to c-parse.in. Maintain a local idea of the | |
10249 | line number. Handle C++ as well as C. | |
10250 | [USE_CPPLIB]: Declare and register callbacks for #ident and | |
10251 | for entering/leaving files. | |
10252 | (init_c_lex, c_lex): Are now the entry points to this file. | |
10253 | (check_newline): Break out directive handling to | |
10254 | process_directive. | |
10255 | (read_ucs, is_extended_char, utf8_extend_token): Moved here | |
10256 | from C++ front end. | |
10257 | (readescape, parse_float): Overhaul. | |
10258 | (lex_number, lex_string, lex_charconst): Break out of c_lex | |
10259 | (n'ee yylex). | |
10260 | (get_fileinfo, update_header_times, dump_one_header, | |
10261 | dump_time_statistics): New and/or moved here from C++. | |
10262 | Support per-file data needed by C++ and per-header timing | |
10263 | statistics (C++ only, at the moment). | |
10264 | * c-lex.h: Update prototypes. Add multiple include guard. | |
10265 | * c-tree.h (struct lang_identifier): Add rid_code field. | |
10266 | (C_IS_RESERVED_WORD, C_RID_CODE): New. | |
10267 | ||
10268 | * c-parse.in: Include c-pragma.h. Remove unnecesary calls to | |
10269 | reinit_parse_for_function and/or position_after_white_space. | |
10270 | (save_filename, save_lineno): Look ahead before saving. | |
10271 | (label -> identifier ':'): Save file and line before shifting ':'. | |
10272 | (reservedwords): No need to call get_identifier. | |
10273 | (init_parse, finish_parse, yyerror, yylex, yyprint, | |
10274 | make_pointer_declarator): Are now here for C/ObjC. | |
10275 | (rid_to_yy): Conversion table from RID constants to Yacc codes. | |
10276 | ||
10277 | * c-pragma.c: Rewrite parsing logic to fit with cpplib's | |
10278 | #pragma registry. Provide dummy implementation of that | |
10279 | interface if !USE_CPPLIB. | |
10280 | * c-pragma.h: Update to match. | |
10281 | ||
10282 | * flags.h: Add multiple include guard. | |
10283 | (flag_detailed_statistics): Moved here from C++. | |
10284 | * toplev.c: Define flag_detailed_statistics. | |
10285 | ||
10286 | * gcc.c (C specs): Use %(trad_capable_cpp) for -E|-M|-MM case | |
10287 | #if USE_CPPLIB. | |
10288 | * timevar.def (TV_CPP, TV_LEX): New. | |
10289 | * timevar.h: Add multiple include guard. | |
10290 | ||
10291 | * objc/lang-specs.h: Use %(trad_capable_cpp) for -E|-M|-MM case | |
10292 | #if USE_CPPLIB. | |
10293 | * objc/objc-act.c: Don't mention yy_cur or parse_options. | |
10294 | Initialize cpplib properly. Force lineno to 0 after first | |
10295 | call to check_newline. Don't handle -lang-objc here. | |
10296 | Move forget_protocol_qualifiers and remember_protocol_qualifiers here. | |
10297 | ||
5638268e DE |
10298 | 2000-09-06 David Edelsohn <edelsohn@gnu.org> |
10299 | ||
10300 | * rs6000.md: Correct function unit definitions for cr_logical and | |
10301 | mtjmpr. | |
10302 | (sCOND): Additionally fail for sgt, slt, sge, sle if !TARGET_POWER | |
10303 | and use portable method for >=0 and floating point >=. Remove | |
10304 | associated matchers. | |
10305 | ||
44835fdd MM |
10306 | 2000-09-06 Mark Mitchell <mark@codesourcery.com> |
10307 | ||
10308 | * extend.texi: Mark named return value extension as deprecated. | |
10309 | ||
bab6226b GK |
10310 | 2000-09-06 Geoff Keating <geoffk@cygnus.com> |
10311 | ||
10312 | * config/rs6000/rs6000.c (rs6000_reverse_condition): Return | |
10313 | the result. | |
10314 | ||
e6513023 GDR |
10315 | 2000-09-06 Gabriel Dos Reis <gdr@codesourcery.com> |
10316 | ||
10317 | * toplev.c (display_help): Fix thinko in documentation. | |
10318 | ||
10319 | * diagnostic.h (output_buffer::indent_skip): New fields. | |
10320 | (output_indentation): New macro. | |
10321 | ||
10322 | * diagnostic.c (output_indent): New function. | |
10323 | (output_set_prefix, clear_diagnostic_info): Use. | |
10324 | (output_emit_prefix): Predict future indentation. | |
10325 | ||
112c7aea DD |
10326 | 2000-09-06 DJ Delorie <dj@redhat.com> |
10327 | ||
10328 | * Makefile.in (stage_*): add more dependencies to ensure parallel | |
10329 | builds build correctly | |
10330 | ||
1bac0fb4 MH |
10331 | 2000-09-06 Manfred Hollstein <manfredh@redhat.com> |
10332 | ||
10333 | * Makefile.in (bootstrap-lean): Depend on bootstrap-lean_g, | |
10334 | not bootstrap-lean_f. | |
10335 | ||
f472a17c AS |
10336 | 2000-09-06 Andreas Schwab <schwab@suse.de> |
10337 | ||
10338 | * mklibgcc.in: Emit rule for libgcc-stage-start. | |
10339 | * Makefile.in (stage1-start, stage2-start, stage3-start, | |
10340 | stage4-start): Don't handle libgcc here, use libgcc.mk instead. | |
10341 | ||
630c79be | 10342 | 2000-09-06 Bernd Schmidt <bernds@redhat.co.uk> |
611bbf2a BS |
10343 | |
10344 | * local-alloc.c (local_alloc): Ignore CLASS_LIKELY_SPILLED. | |
10345 | (update_equiv_regs): Likewise, except for the mn10200 kludge. | |
10346 | (combine_regs): Likewise. | |
10347 | ||
630c79be BS |
10348 | * Makefile.in (cse.o): Depend on $(BASIC_BLOCK_H). |
10349 | * cse.c: Include "basic-block.h". | |
10350 | (struct table_elt): New field REGCOST. | |
10351 | (CHEAP_REG): Delete macro. | |
10352 | (COST): Return 0 for REGs. | |
10353 | (approx_reg_cost_1, approx_reg_cost, preferrable): New functions. | |
10354 | (notreg_cost): Return 0 for appropriate SUBREGs. | |
10355 | (COSTS_N_INSNS): Return N * 2. | |
10356 | (rtx_cost): Return 0 for REGs, and use cost of nested rtx for cheap | |
10357 | SUBREGs. | |
10358 | (CHEAPER): Use new function preferrable. | |
10359 | (insert): Initialize REGCOST member. | |
10360 | (find_best_addr): Use approx_reg_cost for estimation of register | |
10361 | usage. | |
10362 | (cse_insn): Likewise. | |
10363 | * loop.c (iv_add_mult_cost): New function. | |
10364 | (add_cost, shift_cost, mult_cost): Delete variables. | |
10365 | (init_loop): Don't initialize add_cost; reduce copy_cost by half. | |
10366 | (strength_reduce): Use iv_add_mult_cost instead of fixed add_cost. | |
10367 | Make code that detects autoinc opportunities slightly less optimistic. | |
10368 | (simplify_giv_expr): If expression contains other reg that is also a | |
10369 | giv, only increment benefit if this is the only use of that reg. | |
10370 | (consec_sets_giv): Take that change into account. | |
10371 | (combine_givs): Slightly more verbose output. | |
10372 | ||
10373 | * i386.h (RTX_COSTS): For MULT, return true cost of multiplication, | |
10374 | not the cost of an equivalent shift. | |
10375 | * sh-protos.h (addsubcosts): Declare. | |
10376 | * sh.c (addsubcosts): New function. | |
10377 | * sh.h (CONST_COSTS): If CONST_OK_FOR_I, then return 0. | |
10378 | (RTX_COSTS): Tweak. Use addsubcosts. | |
10379 | (ADDRESS_COST): Return higher cost for reg+reg addressing. | |
10380 | ||
39a10a29 GK |
10381 | 2000-09-06 Geoff Keating <geoffk@cygnus.com> |
10382 | ||
10383 | * config/rs6000/rs6000.c (validate_condition_mode): New function. | |
10384 | (branch_comparison_operator): Call validate_condition_mode to | |
10385 | abort rather than returning 0. | |
10386 | (branch_positive_comparison_operator): New function. | |
10387 | (scc_comparison_operator): Call validate_condition_mode to abort | |
10388 | rather than returning 0. | |
10389 | (ccr_bit): Call validate_condition_mode. Update for | |
10390 | new branch scheme. | |
10391 | (print_operand): Delete %C modifier. Update %E case | |
10392 | to use EQ bit not SO bit. | |
10393 | (rs6000_reverse_condition): New function. | |
10394 | (rs6000_generate_compare): New function. | |
10395 | (rs6000_emit_sCOND): New function. | |
10396 | (rs6000_emit_cbranch): New function. | |
10397 | (output_cbranch): The length of a long branch insn is | |
10398 | now only 8 bytes. Add validate_condition_mode. Use | |
10399 | rs6000_reverse_condition. Remove cror generation. | |
bab6226b | 10400 | |
39a10a29 GK |
10401 | * config/rs6000/rs6000.h: Update comments. |
10402 | (PREDICATE_CODES): Add new predicate. Update codes used | |
10403 | by branch_comparison_operator and scc_comparison_operator. | |
10404 | * config/rs6000/rs6000-protos.h: Add prototypes for | |
10405 | new external functions. | |
10406 | * config/rs6000/rs6000.md: Add new scheduling parameters | |
10407 | for cr_logical instructions. Change length of branch | |
10408 | instructions. | |
10409 | (bCOND patterns): Call rs6000_emit_cbranch. | |
10410 | (sCOND patterns): Call rs6000_emit_sCOND. | |
10411 | (branch patterns): Change lengths to 4. | |
10412 | (cr logical patterns): New. | |
10413 | ||
2a4bbffa RH |
10414 | 2000-09-06 Richard Henderson <rth@cygnus.com> |
10415 | ||
10416 | * config/i386/i386.md (call_pop): Fix test for setting | |
10417 | current_function_uses_pic_offset_table. | |
10418 | (call, call_value_pop, call_value): Likewise. | |
10419 | ||
eab828ba ZW |
10420 | 2000-09-06 Zack Weinberg <zack@wolery.cumb.org> |
10421 | ||
10422 | * timevar.c (timevar_add): Delete. | |
10423 | (timevar_get): Also count time since the selected timer was | |
10424 | last updated. Do not examine the timevar stack if the | |
10425 | selected timer is standalone. | |
10426 | ||
f1d6a533 DA |
10427 | 2000-09-05 J. David Anglin <dave@hiauly1.hia.nrc.ca> |
10428 | ||
10429 | * gthr-dce.h (__gthread_objc_mutex_deallocate): Free mutex->backend. | |
10430 | ||
53c5b5d7 JM |
10431 | 2000-09-05 Jason Merrill <jason@redhat.com> |
10432 | ||
10433 | * c-decl.c (finish_incomplete_decl): Don't call complete_array_type | |
10434 | for 'extern' arrays. | |
10435 | ||
3392dafc RH |
10436 | 2000-09-05 Richard Henderson <rth@cygnus.com> |
10437 | ||
10438 | * config/ia64/lib1func.asm (__divtf3): Rebundle for Itanium. | |
10439 | Eliminate final copy from non-trapping case. | |
10440 | (__divdf3, __divsf3): Likewise. | |
10441 | ||
2a7ffc85 RH |
10442 | 2000-09-05 Richard Henderson <rth@cygnus.com> |
10443 | ||
10444 | * config/ia64/ia64.md (mulhi3): Fix typo last change. | |
10445 | * config/ia64/lib1func.asm (__divdi3, __udivdi3, __umodsi3): Likewise. | |
10446 | ||
204093e6 DT |
10447 | 2000-09-03 Donn Terry <donn@interix.com>, Laurynas Biveinis <lauras@softhome.net> |
10448 | ||
10449 | * Makefile.in: Restructure bootstrap stages to allow clean | |
10450 | restart after failure. | |
10451 | ||
514f96e6 RH |
10452 | 2000-09-05 Richard Henderson <rth@cygnus.com> |
10453 | ||
10454 | * config/ia64.md (movsi and movdi patterns): Allow moves from | |
10455 | 8-bit constants to AR registers. | |
10456 | ||
cf1f6ae3 RH |
10457 | 2000-09-05 Richard Henderson <rth@cygnus.com> |
10458 | ||
10459 | * config/ia64/ia64.md (mulhi3): New. | |
10460 | ||
d8d7a286 RH |
10461 | 2000-09-05 Richard Henderson <rth@cygnus.com> |
10462 | ||
10463 | * config/ia64/ia64.h (INIT_TARGET_OPTABS): Remove. | |
10464 | * config/ia64/lib1funcs.asm (__divdi3): Update from Intel IA-64 | |
10465 | Optimization Guide, minimum latency alternative. | |
10466 | (__moddi3, __udivdi3, __umoddi3): Likewise. | |
10467 | (__divsi3, __modsi3, __udivsi3, __umodsi3): Likewise. | |
10468 | ||
a6efbece BK |
10469 | 2000-09-05 Bruce Korb <bkorb@gnu.org> |
10470 | ||
0e5921e8 ZW |
10471 | * fixinc/fixincl.c (load_file): always read header files |
10472 | with sizes that are a multiple of the page size. | |
dc46505a | 10473 | & use libiberty's getpagesize for determining that. |
a6efbece | 10474 | |
c0712acb AO |
10475 | 2000-09-05 Alexandre Oliva <aoliva@redhat.com> |
10476 | ||
10477 | * gcse.c (hash_string_1): Add prototype. | |
10478 | * cse.c (canon_hash_string): Likewise. | |
10479 | ||
af7f0fde CN |
10480 | 2000-09-04 Craig Newell <CraigN@ieee.org> |
10481 | ||
10482 | * gcc.c: Undefine "__WCHAR_TYPE__" before redefining it. | |
10483 | ||
4993ddc1 AS |
10484 | 2000-09-04 Andreas Schwab <schwab@suse.de> |
10485 | ||
10486 | * Makefile.in (STAGESTUFF): Remove libgcc. | |
10487 | (stage1-start, stage2-start, stage3-start): Copy the contents of | |
10488 | the libgcc directory explicitly. | |
10489 | (mostlyclean): Clean libgcc. | |
10490 | ||
5e640c56 AH |
10491 | 2000-09-04 Andrew Haley <aph@redhat.com> |
10492 | ||
10493 | * dwarf2out.c: (stack_adjust_offset): New prototype. | |
10494 | ||
25ffb1f6 JH |
10495 | Wed Jan 1 00:23:59 MET 1997 Jan Hubicka <jh@suse.cz> |
10496 | ||
10497 | * combine.c (make_extraction): Fix rtx_cost comparison to | |
10498 | match the comment. | |
10499 | ||
10500 | Wed Jan 1 00:17:32 MET 1997 Jan Hubicka <jh@suse.cz> | |
10501 | ||
0e5921e8 | 10502 | * i386.md (pushsi2, pushhi2, pophi2, swapsf, swapdf, |
25ffb1f6 JH |
10503 | umulsi3_highpart, smulsi3_highpart, testqi_ccno_1, xorqi_ext_1): |
10504 | Add '*' to insn pattern name. | |
10505 | ||
29844fa7 JJ |
10506 | 2000-09-04 Jakub Jelinek <jakub@redhat.com> |
10507 | ||
10508 | * cpplex.c (ON_REST_ARG): Check VAR_ARGS flag of current context, | |
10509 | use posn - 1 to index into tokens array. | |
10510 | (maybe_paste_with_next): Adjust caller. | |
10511 | ||
0d86f538 GK |
10512 | 2000-09-03 Geoff Keating <geoffk@cygnus.com> |
10513 | ||
bff46771 GK |
10514 | * invoke.texi: Document the -mvxworks option for rs6000 ELF. |
10515 | ||
0d86f538 GK |
10516 | * config/rs6000/rs6000.h: Update various comments about XER_REGNO. |
10517 | (REGNO_REG_CLASS): Use symbolic register | |
10518 | names. | |
10519 | ||
4e67550b RE |
10520 | 2000-09-03 Richard Earnshaw <rearnsha@arm.com> |
10521 | ||
0e5921e8 | 10522 | * arm.c (final_prescan_insn): If the form of a jump insn isn't |
4e67550b RE |
10523 | recognized, don't try to conditionally execute it. |
10524 | ||
150f4100 DC |
10525 | Sun Sep 3 13:10:56 2000 Denis Chertykov <denisc@overta.ru> |
10526 | ||
10527 | * config/avr/avr.md ("*tablejump_lib"): New pattern. | |
10528 | (call_value_insn): Right length claculation. | |
10529 | (call_insn): Likewise. | |
10530 | ||
5fecfd8d MM |
10531 | 2000-09-02 Marek Michalkiewicz <marekm@linux.org.pl> |
10532 | ||
10533 | * config/avr/avr-protos.h, config/avr/avr.c (unique_section, | |
10534 | gas_output_limited_string, gas_output_ascii, output_movqi, | |
10535 | output_movhi, out_movqi_r_mr, out_movqi_mr_r, out_movhi_r_mr, | |
10536 | out_movhi_mr_r, out_movsi_r_mr, out_movsi_mr_r, output_movsisf, | |
10537 | out_tstsi, out_tsthi, ret_cond_branch, ashlqi3_out, ashlhi3_out, | |
10538 | ashlsi3_out, ashrqi3_out, ashrhi3_out, ashrsi3_out, lshrqi3_out, | |
10539 | lshrhi3_out, lshrsi3_out, output_reload_inhi, output_reload_insisf, | |
10540 | out_shift_with_cnt, ptrreg_to_str, cond_string, encode_section_info): | |
10541 | Add "const" as needed to remove warnings. | |
10542 | ||
10543 | * config/avr/avr.c (avr_override_options, avr_init_once, | |
10544 | function_prologue, function_epilogue, frame_pointer_required_p, | |
10545 | class_likely_spilled_p, order_regs_for_local_alloc, | |
10546 | avr_address_cost, avr_ret_register): Use K&R style arguments. | |
10547 | (initial_elimination_offset, gas_output_limited_string): | |
10548 | Remove ATTRIBUTE_UNUSED from the used arguments. | |
10549 | (output_mov*, out_mov*_r_mr, out_mov*_mr_r, output_reload_insisf): | |
10550 | Use local variables src, dest, base to access operands[]. | |
10551 | Rename reg_dest to reg_src if that's what it is. | |
10552 | (output_movhi, output_movsisf): Optimize loading 8-bit immediate | |
10553 | constants to LD_REGS if reg_was_0. | |
10554 | (output_reload_insisf): Change arg 3 to insn length and set it. | |
10555 | (out_movhi_r_mr, out_movhi_mr_r): Use in/out for more efficient | |
10556 | access to 16-bit I/O register pairs. | |
10557 | (avr_address_cost): Lower cost for the above case. | |
10558 | (out_tsthi): Use "or" (faster) instead of "sbiw" if the operand | |
10559 | may be clobbered, also for LD_REGS. | |
10560 | (adjust_insn_length): Correct insn length for iorhi3 and iorsi3 | |
10561 | with a CONST_INT. | |
10562 | ||
10563 | * config/avr/avr.h (PTRDIFF_TYPE): Make signed. | |
10564 | ||
10565 | * config/avr/avr.md: Change all uses of the TEST_HARD_REG_CLASS | |
10566 | macro to test_hard_reg_class function. | |
10567 | (*movsi, *movsf): Change "cc" attribute from "clobber" to "none" | |
10568 | for loading immediate constants to LD_REGS. | |
10569 | (andsi3, cmphi, cmpsi): Add return statements to avoid warnings. | |
10570 | ||
10571 | ||
bad3869a MM |
10572 | Sat Sep 2 13:58:23 2000 Marek Michalkiewicz <marekm@linux.org.pl> |
10573 | ||
10574 | * config/avr/avr.md ("*negsi2"): substitute %@ to __zero_reg__ | |
10575 | * config/avr/libgcc.S: Lost part of the previous patch. | |
10576 | ||
802a8181 DA |
10577 | 2000-08-31 J. David Anglin <dave@hiauly1.hia.nrc.ca> |
10578 | ||
10579 | * gthr-dce.h (__gthread_objc_mutex_allocate): Create a pthread_mutex_t | |
10580 | object before calling pthread_mutex_init. | |
10581 | ||
1a66cd67 AO |
10582 | 2000-09-02 Alexandre Oliva <aoliva@redhat.com> |
10583 | ||
10584 | * config/sh/t-elf, config/sh/crt1.asm, config/sh/crti.asm, | |
10585 | config/sh/crtn.asm: New files. | |
10586 | * config/sh/t-sh (EXTRA_MULTILIB_PARTS): Set. | |
10587 | (crt1.o, crti.o, crtn.o): New targets. | |
10588 | * configure.in [sh-*-elf*, sh-*-rtemself*] (tmake_file): Added | |
10589 | sh/t-elf. | |
10590 | * configure: Rebuilt. | |
10591 | * config/sh/sh.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP, | |
10592 | STARTFILE_SPEC, ENDFILE_SPEC, CRT_CALL_STATIC_FUNCTION): Define. | |
10593 | * config/sh/elf.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP): | |
10594 | Undefine for config/elfos.h to redefine. | |
10595 | (STARTFILE_SPEC, ENDFILE_SPEC): Redefine after config/elfos.h. | |
10596 | ||
10597 | 2000-09-02 Alexandre Oliva <aoliva@redhat.com>, Niibe Yutaka <gniibe@m17n.org>, Kaz Kojima <kkojima@rr.iij4u.or.jp> | |
10598 | ||
10599 | * config/sh/sh-protos.h (nonpic_symbol_mentioned_p, | |
10600 | legitimize_pic_address, output_pic_addr_const): Declare. | |
10601 | * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE): Fix PIC register. | |
10602 | (PREFERGOT_BIT, TARGET_PREFERGOT): Likewise. | |
10603 | (TARGET_SWITCHES): New switch -mprefergot. | |
10604 | (OVERRIDE_OPTIONS): Set flag_no_function_cse unless -mprefergot. | |
10605 | (PIC_OFFSET_TABLE_REGNUM): Define. | |
10606 | (GOT_SYMBOL_TABLE): Likewise. | |
10607 | (LEGITIMIZE_ADDRESS): Use legitimize_pic_address. | |
10608 | (ENCODE_SECTION_INFO): Define. | |
10609 | (FINALIZE_PIC): New macros. | |
10610 | (LEGITIMATE_PIC_OPERAND_P, SYMBOLIC_CONST_P): New macro. | |
10611 | (ASM_OUTPUT_INT, ASM_OUTPUT_SHORT): Use output_pic_addr_const. | |
10612 | * config/sh/sh.c (print_operand_address): Use output_pic_addr_const. | |
10613 | (prepare_move_operands): Call emit_pic_move or | |
10614 | emit_pic_const_move if appropriate. | |
10615 | (output_far_jump): For PIC, use braf and output long offset. | |
0e5921e8 | 10616 | (machine_dependent_reorg): |
1a66cd67 AO |
10617 | (sh_expand_prologue): Save and initialize the PIC register. |
10618 | (sh_expand_epilogue): Restore it. | |
10619 | (initial_elimination_offset): Account for it. | |
10620 | (nonpic_symbol_mentioned_p): New function. | |
10621 | (legitimize_pic_address): Likewise. | |
10622 | (output_pic_addr_const): Likewise. | |
10623 | * config/sh/sh.md (calli_pcrel, call_valuei_pcrel): New insns. | |
10624 | (call, call_value): Use them. | |
10625 | (GOTaddr2picreg, sym_label2reg, symGOT2reg, symGOTOFF2reg, | |
10626 | symPLT_label2reg): New expands. | |
10627 | * invoke.texi (SH Options): Document -mprefergot. | |
10628 | ||
6462bb43 AO |
10629 | 2000-09-01 Alexandre Oliva <aoliva@redhat.com> |
10630 | ||
10631 | * rtl.h (ASM_OPERANDS_INPUT_CONSTRAINT_EXP): New macro. | |
10632 | * gcse.c (hash_string_1): New function. | |
10633 | (hash_expr_1) <ASM_OPERANDS>: Disregard filename and line number. | |
10634 | (expr_equiv_p) <ASM_OPERANDS>: Likewise. | |
10635 | * cse.c (rtx_cost): Don't increase the cost of ASM_OPERANDS. | |
10636 | (canon_hash_string): New function. | |
10637 | (canon_hash) <ASM_OPERANDS>: Disregard filename and line number. | |
10638 | (exp_equiv_p) <ASM_OPERANDS>: Likewise. | |
10639 | (fold_rtx): Use ASM_OPERANDS accessor macros. | |
10640 | * emit-rtl.c (copy_insn_1): Likewise. | |
10641 | * integrate.c (copy_rtx_and_substitute): Likewise. | |
10642 | * stmt.c (expand_asm_operands): Likewise. Give an | |
10643 | ASM_OPERANDS rtx the mode of the output reg being set from it. | |
10644 | ||
1b4f90cd FF |
10645 | 2000-09-01 Fred Fish <fnf@be.com> |
10646 | ||
10647 | * fix-header.c (write_rbrac): Add putc and getc to list of | |
10648 | functions to protect against prior definition as a macro. | |
0e5921e8 | 10649 | |
3c786c69 JM |
10650 | 2000-09-01 Joseph S. Myers <jsm28@cam.ac.uk> |
10651 | ||
10652 | * c-common.h (enum c_tree_index): Add CTI_C_SIZE_TYPE. | |
10653 | (c_size_type_node): Define. | |
10654 | * c-decl.c (init_decl_processing): Initialize c_size_type_node. | |
10655 | * c-common.c (enum format_lengths, enum format_std_version, | |
10656 | format_length_info, format_type_detail, BADLEN, NOLENGTHS, | |
10657 | format_kind_info, printf_length_specs, scanf_length_specs, T89_I, | |
10658 | T99_I, T89_L, T99_LL, TEX_LL, T89_S, T89_UI, T99_UI, T89_UL, | |
10659 | T99_ULL, TEX_ULL, T89_US, T89_F, T99_F, T89_D, T99_D, T89_LD, | |
10660 | T99_LD, T89_C, T99_SC, T99_UC, T89_V, T94_W, TEX_W, T94_WI, | |
10661 | TEX_WI, T99_ST, T99_SST, T99_PD, T99_UPD, T99_IM, T99_UIM, | |
10662 | format_types): Define. | |
10663 | (format_char_info, print_char_table, scan_char_table, | |
10664 | time_char_table): Rearrange for new organization of information | |
10665 | about format length modifiers and standard versions. | |
10666 | (T_ST): Redefine to use c_size_type_node. | |
10667 | (check_format_info): Obtain information about length modifiers and | |
10668 | standard versions from tables. Adjust warning message wordings. | |
10669 | Use the name from the user's program for `ll' and `hh' length | |
10670 | modifiers in warning messages. Use more informative names for | |
10671 | wanted types where available (for wchar_t, wint_t, size_t, signed | |
10672 | size_t, ptrdiff_t, unsigned ptrdiff_t, intmax_t and uintmax_t). | |
10673 | ||
8a09bb27 JW |
10674 | 2000-09-01 Jim Wilson <wilson@cygnus.com> |
10675 | ||
ca3920ad JW |
10676 | * calls.c (emit_call_1): Add REG_NORETURN note to call if ECF_NORETURN. |
10677 | * combine.c (distribute_notes): Handle REG_NORETURN. | |
10678 | * rtl.c (reg_note_name): Add REG_NORETURN. | |
10679 | * rtl.h (enum reg_note): Likewise. | |
10680 | ||
10681 | * config/ia64/ia64-protos.h (emit_safe_across_calls): Renamed from | |
10682 | ia64_file_start. | |
10683 | * config/ia64/ia64.c (emit_safe_across_calls): Likewise. | |
10684 | (rtx_needs_barrier): Handle unspec_volatile 8 and 9. | |
10685 | (emit_predicate_relation_info): Handle conditional calls with | |
10686 | REG_NORETURN. | |
10687 | * config/ia64/ia64.h (ASM_FILE_START): Call emit_safe_across_calls | |
10688 | instead of ia64_file_start. | |
10689 | * config/ia64/sysv4.h (ASM_FILE_START): Likewise. | |
10690 | * config/ia64/ia64.md (safe_across_calls_all, | |
10691 | save_across_calls_normal): New patterns. | |
10692 | ||
8a09bb27 JW |
10693 | * loop.c (check_final_value): Check for biv use before checking for |
10694 | giv use. Check for both biv and giv uses. Always set last_giv_use | |
10695 | if there is a giv use. | |
10696 | ||
11a13704 RH |
10697 | 2000-09-01 Richard Henderson <rth@cygnus.com> |
10698 | ||
10699 | * config/ia64/ia64.md (mulsi3): Use grfr_register_operand. | |
10700 | (madddi3): Likewise. | |
10701 | (maddsi3): New. | |
10702 | ||
6324d2bb RK |
10703 | Fri Sep 1 10:59:47 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
10704 | ||
fcf1b822 RK |
10705 | * expr.c (clear_storage): Don't use emit_move_insn unless |
10706 | either BLKmode or proper size. | |
10707 | (store_constructor): Don't call clear_storage if REG of wrong size. | |
10708 | ||
6324d2bb RK |
10709 | * flow.c (init_propagate_block_info): Don't mark frame dead at end |
10710 | of function if returns wiht stack pointer depressed. | |
10711 | ||
1ba5ae8f AH |
10712 | 2000-09-01 Andrew Haley <aph@redhat.com> |
10713 | ||
0e5921e8 ZW |
10714 | * dwarf2out.c (stack_adjust_offset): New function. |
10715 | (dwarf2out_stack_adjust): Break out stack adjust logic into | |
10716 | new stack_adjust_offset function. Look inside parallels and | |
10717 | sequences for stack adjustments. | |
1ba5ae8f | 10718 | |
893f3d5b JL |
10719 | 2000-08-31 Jeff Law <law@cygnus.com> |
10720 | ||
94c51f7a JL |
10721 | * arm.md: Use no_new_pseudos to determine when it is safe |
10722 | to create new pseudo registers. | |
10723 | ||
0e5921e8 ZW |
10724 | * arm.c (legitimize_pic_address): Use no_new_pseudos to determine |
10725 | when we can safely allocate new registers. | |
893f3d5b | 10726 | |
1b3d8f8a GK |
10727 | 2000-08-31 Geoffrey Keating <geoffk@cygnus.com> |
10728 | ||
10729 | * stmt.c (expand_asm_operands): Twiddle generating_concat_p | |
10730 | so that CONCATs are not generated for ASMs. | |
10731 | * emit-rtl.c (gen_reg_rtx): Don't generate CONCATs when | |
10732 | not generating_concat_p. | |
10733 | * function.c (pop_function_context_from): Reset | |
10734 | generating_concat_p. | |
10735 | (prepare_function_start): Likewise. | |
10736 | * rtl.c (generating_concat_p): Define. | |
10737 | * rtl.h (generating_concat_p): Declare. | |
10738 | * toplev.c (rest_of_compilation): No CONCATs after RTL generation. | |
10739 | ||
4e8bd75f | 10740 | 2000-08-22 Philipp Thomas <pthomas@suse.de> |
0e5921e8 | 10741 | Masanobu Yuhara <yuhara@flab.fujitsu.co.jp> |
4e8bd75f PT |
10742 | |
10743 | * gmicro.h (TARGET_SWITCHES): Add descriptions and mark them | |
10744 | for translation. | |
10745 | ||
b145ee27 GM |
10746 | 2000-08-30 Greg McGary <greg@mcgary.org> |
10747 | ||
10748 | * Makefile.in (fixinc.sh): Pass CC, CFLAGS and LDFLAGS to mkfixinc.sh | |
10749 | * fixinc/Makefile.in (fixincl): Pass $(LDFLAGS) to $(CC). | |
10750 | * fixinc/mkfixinc.sh: Pass $CC, $CFLAGS and $LDFLAGS to $MAKE. | |
10751 | ||
2afaa41c GM |
10752 | 2000-08-30 Greg McGary <greg@mcgary.org> |
10753 | ||
10754 | * tree.h (struct tree_int_cst): Wrap low and high in a sub-struct. | |
10755 | (TREE_INT_CST_LOW, TREE_INT_CST_HIGH): Access through sub-struct. | |
10756 | (TREE_INT_CST): New macro. | |
10757 | * varasm.c (const_hash, compare_constant_1, record_constant_1): | |
10758 | Use new macro TREE_INT_CST. | |
10759 | ||
1d92b3e1 NB |
10760 | Wed 30-Aug-2000 23:18:59 BST Neil Booth <NeilB@earthling.net> |
10761 | ||
10762 | * contrib.texi: Add self. | |
10763 | ||
b23ca156 AO |
10764 | 2000-08-30 Alexandre Oliva <aoliva@redhat.com> |
10765 | ||
10766 | * config/sh/sh.md (cmpeqsi_ior_t, cmpeqsi_and_t): New insns. | |
10767 | (cmpeqdi_t splitter): Use cmpeqsi_and_t instead of emitting jumps | |
10768 | and labels. | |
10769 | ||
aef9fbbf DA |
10770 | 2000-08-30 J. David Anglin <dave@hiauly1.hia.nrc.ca> |
10771 | ||
10772 | * fixinc/gnu-regex.c: Don't define `const'. | |
10773 | ||
85f3d674 RK |
10774 | Tue Aug 29 22:09:59 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
10775 | ||
10776 | * expr.c (store_constructor): Allow variable bounds of array type. | |
10777 | (expand_expr): Don't blow up if type is ERROR_MARK. | |
10778 | * varasm.c (output_constructor): Don't access lower bound of array | |
10779 | type unless need it if index is supplied (so it can be a variable | |
10780 | if no index is supplied). | |
10781 | Use tree_low_cst; use HOST_WIDE_INT for sizes; change BITPOS to POS. | |
10782 | Other minor cleanups. | |
10783 | ||
5b67ad6f DA |
10784 | 2000-08-29 J. David Anglin <dave@hiauly1.hia.nrc.ca> |
10785 | ||
10786 | * Makefile.in: Revamp handling of cflags to allow different WARN_CFLAGS | |
10787 | for compilations in stage 1 and subsequent stages, respectively. | |
10788 | * configure.in (vax): Add compiler-dependent CFLAGS for stage 1. | |
10789 | * configure: Rebuilt. | |
10790 | * x-vax, x-vax-gcc: Deleted. | |
10791 | ||
63ad61ed ZW |
10792 | 2000-08-29 Zack Weinberg <zack@wolery.cumb.org> |
10793 | ||
10794 | * c-common.c (declare_function_name): Use func_id_node, | |
10795 | function_id_node, and pretty_function_id_node. Do not make | |
0e5921e8 | 10796 | __func__ visible at file scope. |
63ad61ed ZW |
10797 | * c-common.h (c_tree_index): Add CTI_FUNCTION_ID, |
10798 | CTI_PRETTY_FUNCTION_ID, and CTI_FUNC_ID. | |
10799 | (function_id_node, pretty_function_id_node, func_id_node): New | |
10800 | macros. | |
10801 | * c-decl.c (init_decl_processing): Initialize function_id_node, | |
10802 | pretty_function_id_node, and func_id_node. | |
10803 | (c_make_fname_decl): Correct comment. | |
10804 | ||
10805 | * tree.h (struct tree_identifier): Constify pointer member. | |
10806 | ||
10807 | * c-decl.c (pushdecl, implicit_decl_warning): Constify a char *. | |
10808 | * c-pragma.h (struct weak_syms): Constify name and value members. | |
0e5921e8 | 10809 | (add_weak): Constify arguments. |
63ad61ed ZW |
10810 | |
10811 | * calls.c (special_function_p): Constify a char *. | |
10812 | (expand_call): Remove variable which is initialized and then | |
10813 | never used. | |
10814 | * dependence.c (struct def_use, struct induction, struct subscript): | |
10815 | Constify 'variable' member. | |
10816 | (get_low_bound, have_induction_variable): Constify char * argument. | |
10817 | (find_induction_variable): Add braces to avoid dangling else. | |
10818 | (classify_dependence): Constify char * arrays. | |
10819 | * profile.c (output_func_start_profiler): Constify a char *. | |
10820 | * stor-layout.c (finalize_record_size): Constify a char *. | |
10821 | * tree.c (is_attribute_p): Constify a char *. | |
10822 | * varasm.c (add_weak, remove_from_pending_weak_list): Constify argument. | |
10823 | ||
10824 | * varasm.c (make_function_rtl, make_decl_rtl): Rearrange code | |
10825 | for comprehensibility. Do not call get_identifier if we did | |
10826 | not change the DECL_ASSEMBLER_NAME of the decl. Use alloca to | |
10827 | create temporary string constants, not ggc_alloc_string. No | |
10828 | need to copy result of ASM_FORMAT_PRIVATE_NAME. Use const | |
10829 | char * to hold IDENTIFIER_POINTERs. | |
10830 | ||
cee58bc0 RH |
10831 | 2000-08-29 Richard Henderson <rth@cygnus.com> |
10832 | ||
10833 | * config/ia64/ia64.md (muldi3): Use grfr_register_operand | |
10834 | for the inputs. | |
10835 | ||
94aaab7a RH |
10836 | 2000-08-29 Richard Henderson <rth@cygnus.com> |
10837 | ||
10838 | * reload.c (push_secondary_reload): Allow class == reload_class | |
10839 | if we're using a reload_in/out pattern. | |
10840 | ||
60a3c181 RH |
10841 | * config/ia64/ia64.md (reload_inti): Use a TImode scratch. Use |
10842 | the half that does not conflict with the reload register. | |
10843 | (reload_outti): Likewise. | |
10844 | ||
9218435e KH |
10845 | 2000-08-29 Kazu Hirata <kazu@hxi.com> |
10846 | ||
4381f7c2 KH |
10847 | * reload.c: Fix formatting. |
10848 | ||
10849 | * stmt.c: Fix formatting. | |
10850 | ||
9218435e KH |
10851 | * gcc.c: Fix formatting. |
10852 | ||
fba0bfd4 ZW |
10853 | 2000-08-29 Zack Weinberg <zack@wolery.cumb.org> |
10854 | ||
10855 | * flags.h (time_report, mem_report): New global flags. | |
10856 | * toplev.c: Define time_report and mem_report. | |
10857 | (f_options): Add -ftime-report and -fmem-report. | |
10858 | (compile_file): Turn on time_report if quiet_flag is off. | |
10859 | Call ggc_print_statistics at very end if mem_report is on. | |
10860 | * timevar.c (TIMEVAR_ENABLE): Examine time_report, not quiet_flag. | |
10861 | ||
10862 | * ggc-common.c (ggc_print_statistics): Rename to | |
10863 | ggc_print_common_statistics; all callers changed. Scale | |
10864 | quantities above 10K to kilobytes and above 10M to megabytes. | |
10865 | * ggc-page.c (ggc_page_print_statistics): Rename to | |
10866 | ggc_print_statistics. Report memory consumed by internal data | |
10867 | structures for each allocation bucket. Scale quantities above | |
10868 | 10K to kilobytes and above 10M to megabytes. | |
10869 | * ggc-simple.c: Prototype debug_ggc_tree to avoid warning. | |
10870 | Cast PTR_KEY(p) to unsigned long in fprintf call to avoid warning. | |
10871 | Define tally_leaves always. | |
10872 | (ggc_print_statistics): New function. | |
10873 | * ggc.h: Adjust for renamed functions. | |
10874 | ||
612105a6 DC |
10875 | Wed Aug 30 00:11:42 2000 Denis Chertykov <denisc@overta.ru> |
10876 | ||
10877 | * config/avr/avr.md ("*movsf","*movsi"): Pass NULL to | |
10878 | output_movsisf instead of which_alternative. | |
10879 | ||
10880 | * config/avr/avr.c (output_reload_inhi): Check for NULL ponter. | |
10881 | ||
6bec29c9 DC |
10882 | Tue Aug 29 22:29:58 2000 Denis Chertykov <denisc@overta.ru> & Marek Michalkiewicz <marekm@linux.org.pl> |
10883 | ||
10884 | * config/avr/avr-protos.h: (avr_output_ascii) Removed. | |
10885 | (avr_progmem_p): New prototype. | |
10886 | (output_movsisf): Prototype declaration changed. | |
10887 | (output_movqi): New prototype. | |
10888 | (output_movhi): New prototype. | |
10889 | (call_insn_operand): Likewise. | |
0e5921e8 | 10890 | (final_prescan_insn): Likewise. |
6bec29c9 DC |
10891 | (avr_simplify_comparision_p): Likewise. |
10892 | (avr_normalize_condition): Likewise. | |
10893 | (compare_eq_p): Likewise. | |
10894 | (out_shift_with_cnt): Likewise. | |
10895 | (const_int_pow2_p): Likewise. | |
10896 | (output_reload_inhi): Prototype declaration changed. | |
10897 | ||
10898 | * config/avr/avr.c: (debug_hard_reg_set): Prototype declared. | |
10899 | (ldi_reg_rtx): New. rtx for r31. | |
10900 | (avr_init_stack): Initialize as "__stack". | |
10901 | (function_prologue): Use it. | |
10902 | Replace all TARGET_ENHANCED with AVR_ENHANCED. | |
10903 | (avr_mcu_name): Initialize as "avr2". | |
10904 | (avr_enhanced_p, avr_mega_p): New variables. | |
10905 | (mcu_types, avr_override_options): Handle all known MCU types. | |
10906 | Also handle avr1 (only preprocess, assemble and link). | |
10907 | (print_operand): Using of `%K' in output template removed. | |
10908 | (out_movqi_r_mr): Optimized. | |
10909 | (out_movhi_r_mr): Likewise. | |
10910 | (output_movqi): New function. | |
10911 | (output_movhi): Likewise. | |
10912 | (out_movsi_r_mr): Optimized. | |
10913 | (output_movsisf): Compute insn length for `adjust_insn_length' | |
10914 | (out_movqi_mr_r): Optimized. | |
10915 | (out_movhi_mr_r): Optimized. | |
10916 | (adjust_insn_length): Use output_movsisf, output_movqi, | |
10917 | output_movhi for insn length adjusting. | |
10918 | (reg_unused_after): Use dead_or_set_p. | |
10919 | (preferred_reload_class): Now havn't any restriction. | |
10920 | (reg_was_0): New function. | |
10921 | (io_address_p): Likewise. | |
10922 | (const_int_pow2_p): Likewise. | |
10923 | (output_reload_inhi): Likewise. | |
10924 | (output_reload_insisf): Likewise. | |
10925 | ||
10926 | * config/avr/avr.h (MULTILIB_DEFAULTS): Define. | |
10927 | (LIB_SPEC): Use -lc for all supported devices. | |
10928 | (LIBGCC_SPEC): Use -lgcc for all supported devices. | |
10929 | (AVR_MEGA): Define as avr_mega_p. | |
10930 | (AVR_ENHANCED): New, define as avr_enhanced_p. | |
10931 | (TARGET_SWITCHES): Remove -menhanced, now handled by -mmcu=... | |
10932 | (CPP_SPEC, LINK_SPEC): Handle all known MCU types. | |
10933 | (CRT_BINUTILS_SPECS): Handle all known MCU types. | |
10934 | Rename gcrt1-*.o to make file names unique on 8.3 filesystems. | |
10935 | (EXTRA_SPECS): Add CPP_AVR[1-5]_SPEC. | |
10936 | (ASM_SPEC): Pass -mmcu=... to the assembler. | |
10937 | Change all -DAVR_* to -D__AVR_*__. | |
10938 | (INIT_TARGET_OPTABS), config/avr/libgcc.S: | |
10939 | Rename library functions to start with two underscores. | |
10940 | (ASM_OUTPUT_COMMON): Outputs `.comm VAR,VAR-SIZE,1' to avoid | |
10941 | alignment. | |
10942 | (ASM_WEAKEN_LABEL): Declared for __attribute__((weak)). | |
10943 | (SUPPORTS_WEAK): Likewise. | |
10944 | (LDI_REG_REGNO): New. Register r31 will be used as temporary | |
10945 | register for loading constants to r0-r14. | |
10946 | ||
10947 | * config/avr/avr.md: Replace all TARGET_ENHANCED with | |
10948 | AVR_ENHANCED. | |
10949 | (*mov_r_sp): Removed. Handled by output_movhi. | |
10950 | (*mov_sp_r): Likewise. | |
10951 | (*mov_sp_r_no_interrupts): Likewise | |
10952 | (*mov_sp_r_tiny): Likewise. | |
10953 | (*movqi): Use output_movqi. | |
10954 | (*reload_inqi): New. | |
10955 | (*movhi): Use output_movhi. | |
10956 | (*reload_inhi): New. | |
10957 | (*negsi2): Optimized. | |
10958 | (*negsf2): Likewise. | |
10959 | Added peepholes (define_peephole2) for loading constants to r0-r14 | |
10960 | and for using `cpse' command. | |
10961 | ||
10962 | * config/avr/libgcc.S: Rename library functions to start with two | |
10963 | underscores. | |
10964 | Add support for enhanced core. | |
10965 | (_moqhi3): Fix typo, now _modqi3. | |
10966 | (__divsi_raw): Use __zero_reg__ as loop counter, smaller by 1 word. | |
10967 | (__prologue_saves__): Remove test for stack adjust by 0. | |
10968 | (__tablejump__): New. | |
10969 | ||
10970 | * config/avr/t-avr: Build libgcc2 with -mcall-prologues. | |
10971 | Add multilib support. | |
10972 | ||
20bd7bfa JW |
10973 | Tue Aug 29 15:17:54 EDT 2000 John Wehle (john@feith.com) |
10974 | ||
10975 | * loop.c (prescan_loop): Don't check unknown_address_altered | |
10976 | when deciding if insert_loop_mem is safe. Add BLKmode MEMs | |
10977 | to loop_store_mems as necessary. | |
10978 | (loop_invariant_p): Don't check unknown_address_altered | |
10979 | or unknown_constant_address_altered. | |
10980 | ||
76f941a8 DA |
10981 | 2000-08-29 J. David Anglin <dave@hiauly1.hia.nrc.ca> |
10982 | ||
10983 | * vax.md (sltu, sgeu): Delete sltu and sgeu insn patterns. | |
10984 | ||
2c8f0515 ZW |
10985 | 2000-08-29 Zack Weinberg <zack@wolery.cumb.org> |
10986 | ||
10987 | * cpperror.c (print_file_and_line): If line is (unsigned int)-1, | |
10988 | print just the filename. | |
10989 | * cpplex.c (_cpp_run_directive): Add additional argument, the | |
10990 | name to give the synthetic buffer. This defaults to | |
10991 | translated "<command line>". | |
10992 | * cpplib.c (cpp_define, cpp_undef, cpp_assert, cpp_unassert): | |
10993 | Adjust to match. | |
10994 | (_cpp_define_builtin): New function. | |
10995 | * cppinit.c (initialize_builtins): Use _cpp_define_builtin. | |
10996 | * cpphash.h: Update prototypes. | |
10997 | ||
10998 | * tradcpp.c (main): Process -D and -U simultaneously, in the | |
10999 | order they appeared on the command line. | |
11000 | ||
6ad79f1b KG |
11001 | 2000-08-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
11002 | ||
11003 | * c-decl.c (define_label): Call warning_with_file_and_line and | |
11004 | error_with_file_and_line instead of plain warning or error. | |
11005 | ||
11006 | * c-parse.in (label): Use save_filename/save_lineno to ensure | |
11007 | correct values for calls to define_label. | |
11008 | ||
4361b41d MM |
11009 | 2000-08-29 Mark Mitchell <mark@codesourcery.com> |
11010 | ||
11011 | * calls.c (expand_call): Don't create a VAR_DECL just to throw it | |
11012 | away. | |
11013 | * expr.c (expand_expr, case TARGET_EXPR): Don't call | |
11014 | mark_addressable. | |
11015 | * tree.h (get_file_function_name): Remove two duplicate | |
11016 | declarations. | |
11017 | ||
abf9af02 KH |
11018 | 2000-08-28 Kazu Hirata <kazu@hxi.com> |
11019 | ||
dc478a5d KH |
11020 | * tree.c: Fix formatting. |
11021 | ||
abf9af02 KH |
11022 | * xcoffout.c: Fix formatting. |
11023 | ||
5f632b5e JM |
11024 | 2000-08-28 Jason Merrill <jason@redhat.com> |
11025 | ||
11026 | * dwarf2out.c (attr_checksum): Also ignore DW_AT_producer. | |
11027 | ||
11028 | 2000-08-28 Daniel Berlin <dberlin@redhat.com> | |
11029 | ||
11030 | * dwarf2out.c (dwarf2out_finish): Don't bother calling | |
11031 | break_out_includes if it won't do anything. | |
11032 | ||
38323cc3 RH |
11033 | 2000-08-28 Richard Henderson <rth@cygnus.com> |
11034 | ||
11035 | * reload.c (push_secondary_reload): Revert 2000-08-16 change. | |
11036 | (find_reloads): Likewise. | |
11037 | * config/alpha/alpha.md (reload_inqi): Revert 2000-08-11 change. | |
11038 | (reload_inhi): Likewise. | |
11039 | ||
e1ff012c RH |
11040 | 2000-08-28 Richard Henderson <rth@cygnus.com> |
11041 | ||
11042 | * config/i386/i386.c: Don't error on EXTRA_CONSTRAINT defined. | |
11043 | (call_insn_operand): Don't expect a surrounding mem. | |
11044 | (constant_call_address_operand): Likewise. | |
11045 | * config/i386/i386.h (PREDICATE_CODES): Update. | |
11046 | * config/i386/i386.md (call patterns): Move the match_operand | |
11047 | for the call destination inside the mem. | |
11048 | ||
c2cba7a9 RH |
11049 | 2000-08-28 Richard Henderson <rth@cygnus.com> |
11050 | ||
11051 | * local-alloc.c (requires_inout): Don't use reserved range for | |
11052 | EXTRA_CONSTRAINTS; use anything not matched by REG_CLASS_FROM_LETTER. | |
11053 | * recog.c (asm_operand_ok): Likewise. | |
11054 | (preprocess_constraints, constrain_operands): Likewise. | |
11055 | * regclass.c (record_reg_classes): Likewise. | |
11056 | * reload.c (find_reloads): Likewise. | |
11057 | * reload1.c (maybe_fix_stack_asms): Likewise. | |
11058 | (reload_cse_simplify_operands): Likewise. | |
11059 | * stmt.c (expand_asm_operands): Likewise. | |
11060 | ||
11061 | * md.texi: Update constraints documentation. | |
11062 | * tm.texi (EXTRA_CONSTRAINT): Update. | |
11063 | ||
5f632b5e JM |
11064 | 2000-08-28 Daniel Berlin <dberlin@redhat.com> |
11065 | ||
11066 | * dwarf2out.c (DIE_LABEL_PREFIX): Remove leading "__". | |
11067 | (print_die): If we don't know the offset of the | |
11068 | target die, try the symbol. Add a trailing newline. | |
11069 | (reverse_all_dies): New fn. | |
11070 | (dwarf2out_finish): Call it. | |
11071 | (break_out_includes): Reorganize for clarity. | |
11072 | (add_sibling_attributes): Don't call reverse_die_lists. | |
11073 | (output_comp_unit): Rename from output_comdat_comp_unit. Use for | |
11074 | primary CU, too. | |
11075 | * flags.h: Add flag_eliminate_dwarf2_dups. | |
11076 | * toplev.c (f_options): Support -feliminate-dwarf2-dups. | |
11077 | ||
5de0e8d4 JM |
11078 | 2000-08-28 Jason Merrill <jason@redhat.com> |
11079 | ||
5f632b5e JM |
11080 | * dwarf2.h (DW_TAG_GNU_BINCL, DW_TAG_GNU_EINCL): New tags. |
11081 | * dwarf2out.c: #include "md5.h". | |
11082 | (DIE_LABEL_PREFIX): New macro. | |
11083 | (dw_val_struct): Add 'external' flag to val_die_ref. | |
11084 | (add_AT_die_ref, AT_ref): Adjust. | |
11085 | (AT_ref_external, set_AT_ref_external): New fns. | |
11086 | (build_abbrev_table): Call set_AT_ref_external. | |
11087 | (value_format): Call AT_ref_external. | |
11088 | (die_struct): Add die_symbol field. | |
11089 | (new_die): Clear it. | |
11090 | (dwarf_tag_name): Handle BINCL/EINCL. | |
11091 | (dwarf2out_start_source_file): Add BINCL DIE. | |
11092 | (dwarf2out_end_source_file): Add EINCL DIE. | |
11093 | (push_new_compile_unit, pop_compile_unit, clear_die_sizes): New fns. | |
11094 | (loc_checksum, attr_checksum, die_checksum): New fns. | |
11095 | (is_type_die, is_comdat_die, is_symbol_die): New fns. | |
11096 | (compute_section_prefix, assign_symbol_names): New fns. | |
11097 | (gen_internal_sym, output_die_symbol, output_symbolic_ref): New fns. | |
11098 | (output_die): Call output_die_symbol and AT_ref_external. | |
11099 | (output_comdat_comp_unit): New fn, split out from... | |
0e5921e8 | 11100 | (dwarf2out_finish): ...here. Also call add_sibling_attributes for |
5f632b5e JM |
11101 | secondary CUs. |
11102 | (output_pubnames, output_aranges): Abort if we see entries from | |
11103 | secondary CUs. | |
11104 | * toplev.h: Declare file_name_nondirectory. | |
11105 | * toplev.c (file_name_nondirectory): New fn, moved from C++ frontend. | |
11106 | (rest_of_type_compilation): Call dwarf2out_decl if at toplevel. | |
11107 | (debug_start_source_file): Call dwarf2out_start_source_file | |
11108 | regardless of debug verbosity. | |
11109 | (debug_end_source_file): Similarly. | |
11110 | * tree.h: Declare clean_symbol_name. | |
11111 | * tree.c (clean_symbol_name): Split out from... | |
11112 | (get_file_function_name_long): ...here. | |
11113 | ||
5de0e8d4 JM |
11114 | * dwarf2out.c (new_loc_descr): Use calloc. |
11115 | (splice_child_die): Remove the die from the right parent. | |
11116 | (gen_struct_or_union_die): Don't add AT_name to a specification DIE. | |
11117 | ||
04324727 RK |
11118 | Mon Aug 28 19:02:13 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
11119 | ||
11120 | * toplev.c (decode_g_option): Don't give warning for unknown -g | |
11121 | option; return 0 instead. | |
11122 | (main): If -g option is not recognized by front end or | |
11123 | language-independent code, give warning. | |
11124 | ||
9e3e266c GM |
11125 | 2000-08-28 Greg McGary <greg@mcgary.org> |
11126 | ||
11127 | * config/i386/i386-protos.h (ix86_expand_compare): Add extern decl. | |
11128 | * config/i386/i386.c (ix86_expand_compare): Remove `static'. | |
11129 | * config/i386/i386.md (trap, conditional_trap): New insn & expand. | |
11130 | ||
a0bff95f GM |
11131 | 2000-08-27 Greg McGary <greg@mcgary.org> |
11132 | ||
11133 | * cpplex.c (parse_string): Don't look for backslash | |
11134 | before first char in `namebuf'. | |
11135 | * loop.c (strength_reduce): Skip NOTEs. | |
11136 | ||
edb4c415 JM |
11137 | 2000-08-27 Jason Merrill <jason@redhat.com> |
11138 | ||
11139 | * c-decl.c (duplicate_decls): Don't set TREE_STATIC or clear | |
11140 | DECL_EXTERNAL on a local extern. Don't set DECL_IGNORED_P or | |
11141 | TREE_ASM_WRITTEN, either. | |
11142 | (finish_decl): Adjust. | |
11143 | ||
6e88e75c PT |
11144 | 2000-08-28 Philipp Thomas <pthomas@suse.de> |
11145 | ||
11146 | * ABOUT-GCC-NLS: Remove gettext patches from Paul Eggert as | |
11147 | they have been incorporated into the gettext CVS. Change the text to | |
11148 | reflect the current status of NLS. Add instructions for accessing | |
11149 | the gettext CVS and add the patch from Martin v. Loewis. | |
11150 | ||
e53ca51f GK |
11151 | 2000-08-27 Geoff Keating <geoffk@cygnus.com> |
11152 | ||
11153 | * config/rs6000/rs6000.md (movdi_internal64+5): Make SUBREG-safe | |
11154 | by using gen_lowpart_common. | |
11155 | (movdi_internal64+6): Likewise. | |
11156 | ||
a0a6fdc8 AO |
11157 | 2000-08-26 Alexandre Oliva <aoliva@redhat.com> |
11158 | ||
1b2dd04a AO |
11159 | * tm.texi (FINI_SECTION_ASM_OP, CRT_CALL_STATIC_FUNCTION): |
11160 | Document. | |
11161 | ||
a0a6fdc8 AO |
11162 | * config/mn10300/mn10300.h (DBX_REGISTER_NUMBER): Remap register |
11163 | numbers to the ranges used by GDB. | |
11164 | ||
26a110f5 RH |
11165 | 2000-08-25 Richard Henderson <rth@cygnus.com> |
11166 | ||
11167 | * config/ia64/ia64.h (struct machine_function): Add n_varargs. | |
11168 | * config/ia64/ia64.c (ia64_compute_frame_size): Use it. | |
11169 | (ia64_expand_prologue): Likewise. | |
11170 | (ia64_setup_incoming_varargs): Set it. Properly skip the current | |
11171 | argument for stdargs. | |
11172 | ||
ecff20d4 JM |
11173 | 2000-08-25 Jason Merrill <jason@redhat.com> |
11174 | ||
11175 | * integrate.c (expand_inline_function): Pull out the original decl. | |
11176 | ||
caa511fd JW |
11177 | 2000-08-25 Jim Wilson <wilson@cygnus.com> |
11178 | ||
d51ff7cb JW |
11179 | * cse.c (cse_insn): Don't pass label subtraction to force_const_mem. |
11180 | ||
caa511fd JW |
11181 | * function.c (gen_mem_addressof): Clear MEM_ALIAS_SET if no decl. |
11182 | ||
9a56f4f6 GM |
11183 | 2000-08-25 Greg McGary <greg@mcgary.org> |
11184 | ||
11185 | * flow.c (dump_edge_info): Use ARRAY_SIZE. | |
11186 | * config/alpha/alpha.c (alpha_expand_block_move): Likewise. | |
11187 | ||
31448271 RE |
11188 | 2000-08-25 Richard Earnshaw <rearnsha@arm.com> |
11189 | ||
11190 | * arm.h (STRUCT_VALUE): Define to 0, not NULL. | |
11191 | ||
b949ea8b JW |
11192 | Fri Aug 25 12:52:49 EDT 2000 John Wehle (john@feith.com) |
11193 | ||
11194 | * i386.c (ix86_find_base_term): New. | |
11195 | * i386-protos.h (ix86_find_base_term): Prototype. | |
11196 | * i386.h (FIND_BASE_TERM): Define. | |
11197 | * alias.c (find_base_term): Use it. | |
11198 | * tm.texi (FIND_BASE_TERM): Document it. | |
11199 | ||
11200 | * alias.c (true_dependence, write_dependence_p): Unchanging | |
11201 | memory can't conflict with non-unchanging memory. | |
11202 | ||
11203 | * alias.c (memrefs_conflict_p): A BLKmode reference | |
11204 | to a symbol (or CONST_INT address) always conflicts | |
11205 | with a reference to another symbol. | |
11206 | ||
343b7260 JM |
11207 | 2000-08-25 Joseph S. Myers <jsm28@cam.ac.uk> |
11208 | ||
11209 | * c-common.c (time_char_table): Don't allow width and flags with | |
11210 | "z" format. | |
11211 | ||
1f9124e4 JJ |
11212 | 2000-08-25 Jakub Jelinek <jakub@redhat.com> |
11213 | ||
11214 | * config/i386/i386.c (ix86_expand_branch): Treat GE and GEU the same | |
11215 | way as LT and LTU when the second operand has 0 in low word. | |
11216 | ||
6057c0e6 MH |
11217 | 2000-08-26 Michael Hayes <mhayes@cygnus.com> |
11218 | ||
135ebc36 MH |
11219 | * basic-block.h (struct loop): Rename `exits' field to |
11220 | `exit_edges'. Add `entry_edges' and `num_entries' fields. | |
11221 | ||
11222 | * flow.c (flow_loop_exit_edges_find): Rename from flow_loop_exits_find. | |
11223 | (flow_loop_entry_edges_find): Add. | |
11224 | (flow_edge_list_print): Rename from flow_exits_print. | |
11225 | (flow_loops_find): Call flow_loop_entry_edges_find. | |
11226 | (flow_loop_dump): Dump entry_edges list. | |
11227 | (flow_loops_free): Free entry_edges. | |
0e5921e8 | 11228 | |
135ebc36 | 11229 | 2000-08-26 Michael Hayes <mhayes@cygnus.com> |
0e5921e8 | 11230 | |
6057c0e6 MH |
11231 | * loop.c (loop_dump_aux, debug_loop): New functions. |
11232 | (LOOP_BLOCK_NUM_1, LOOP_BLOCK_NUM, LOOP_INSN_UID): New macros. | |
11233 | ||
11234 | * flow.c (flow_loops_dump): Add callback parameter. | |
11235 | (flow_loop_dump): Add callback parameter and call it. Move | |
11236 | loop note debugging code to loop_dump_aux. | |
11237 | ||
11238 | * basic-block.h (flow_loop_dump): Add callback parameter | |
11239 | (flow_loops_dump): Likewise. | |
11240 | ||
11241 | * toplev.c (rest_of_compilation): Add NULL callback function pointer | |
11242 | to call to flow_loops_dump. | |
0e5921e8 | 11243 | |
028fc6e7 MH |
11244 | 2000-08-26 Michael Hayes <mhayes@cygnus.com> |
11245 | ||
11246 | * loop.c (count_loop_regs_set): Replace start and end arguments | |
11247 | with loop argument. All callers udated. | |
0e5921e8 | 11248 | |
371502a8 | 11249 | 2000-08-26 Michael Hayes <mhayes@cygnus.com> |
0e5921e8 | 11250 | |
371502a8 MH |
11251 | * loop.c (constant_high_bytes): Delete. |
11252 | ||
e375c819 MH |
11253 | 2000-08-26 Michael Hayes <mhayes@cygnus.com> |
11254 | ||
11255 | * loop.c (prescan_loop): Move checks for NOTE_INSN_LOOP_CONT | |
11256 | and NOTE_INSN_LOOP_VTOP to... | |
11257 | (find_and_verify_loops) ...here. | |
11258 | ||
036cfb36 AO |
11259 | Fri Aug 25 04:21:13 2000 Alexandre Oliva <aoliva@redhat.com> |
11260 | ||
11261 | * crtstuff.c (CRT_CALL_STATIC_FUNCTION): Define default. | |
11262 | (fini_dummy, init_dummy): Use it. | |
11263 | ||
c2e20542 NB |
11264 | Fri 25-Aug-2000 08:03:27 BST Neil Booth <NeilB@earthling.net> |
11265 | ||
11266 | * cpplex.c (is_macro_disabled): Caller has already checked | |
11267 | that we're not a preprocessed file. | |
11268 | ||
83bab8db MM |
11269 | 2000-08-24 Mark Mitchell <mark@codesourcery.com> |
11270 | ||
11271 | * Makefile.in (C_AND_OBJC_OBJS): Remove c-iterate.o. | |
11272 | (c-iterate.o): Remove target. | |
11273 | * gcc/c-common.h (enum rid): Remove RID_ITERATOR. | |
11274 | * gcc/c-decl.c (init_decl_processing): Remove call to init_iterators. | |
11275 | (finish_decl): Don't handle iterators. | |
11276 | (grokdeclarator): Likewise. | |
11277 | * gcc/c-parse.gperf: Remove __iterator and __iterator__ keywords. | |
11278 | * gcc/c-gperf.h: Regenerated. | |
11279 | * gcc/c-iterate.c: Removed. | |
11280 | * gcc/c-lex.c (init_lex): Don't handle iterators. | |
11281 | * gcc/c-parse.in (primary): Remove pop_iterator_stack call. | |
11282 | (compstmt_primary_start): Remove push_iterator_stack call. | |
11283 | (stmt): Don't allow iterator statements. Replace iterator_expand | |
11284 | with expand_expr_stmt. | |
11285 | (all_iter_stmt): Remove. | |
11286 | (all_iter_stmt_simple): Likewise. | |
11287 | (all_iter_stmt_with_decl): Likewise. | |
11288 | * gcc/c-tree.h (ITERATOR_P): Remove. | |
11289 | (ITERATOR_BOUND_P): Likewise. | |
11290 | (init_iterators): Remove declaration. | |
11291 | (iterator_expand): Likewise. | |
11292 | (iterator_for_loop_start): Likewise. | |
11293 | (iterator_for_loop_end): Likewise. | |
11294 | (iterator_for_loop_record): Likewise. | |
11295 | (push_iterator_stack): Likewise. | |
11296 | (pop_iterator_stack): Likewise. | |
11297 | * gcc/c-typeck.c (decl_constant_value): Don't check ITERATOR_P. | |
11298 | (readonly_warning): Likewise. | |
11299 | * gcc/tree.h (ITERATOR_BOUND_P): Don't mention it. | |
0e5921e8 | 11300 | |
aee3c6b0 JW |
11301 | 2000-08-24 Jim Wilson <wilson@cygnus.com> |
11302 | ||
11303 | * c-common.c (decl_attributes, case A_ALIGN): Revert last change. | |
11304 | Copy type in a TYPE_DECL, just like pushdecl does. | |
11305 | ||
58d8c980 RH |
11306 | 2000-08-24 Richard Henderson <rth@cygnus.com> |
11307 | ||
11308 | * toplev.c (main): Enable flag_reorder_blocks at -O2. | |
11309 | ||
054f5e69 ZW |
11310 | 2000-08-24 Zack Weinberg <zack@wolery.cumb.org> |
11311 | ||
0e5921e8 | 11312 | * ggc-page.c (alloc_page): If HAVE_MMAP_ANYWHERE and we're |
054f5e69 ZW |
11313 | asked for one page, allocate GGC_QUIRE_SIZE of them and put |
11314 | the extras on the free list. | |
11315 | (release_pages): Clean up. | |
11316 | (ggc_set_mark): Don't adjust G.allocated here... | |
11317 | (sweep_pages): ... do it here. | |
11318 | ||
11319 | 2000-08-24 Zack Weinberg <zack@wolery.cumb.org> | |
11320 | ||
11321 | * cppfiles.c (read_include_file): Rearrange initializations. | |
11322 | ||
0551c32d RH |
11323 | 2000-08-24 Richard Henderson <rth@cygnus.com> |
11324 | ||
11325 | * stmt.c (expand_asm_operands): Treat EXTRA_CONSTRAINT like g or X. | |
11326 | ||
11327 | * config/ia64/ia64-protos.h: Update. | |
11328 | * config/ia64/ia64.c (gr_register_operand): New. | |
11329 | (fr_register_operand, grfr_register_operand): New. | |
11330 | (gr_nonimmediate_operand, grfr_nonimmediate_operand): New. | |
11331 | (grfr_reg_or_8bit_operand): New. | |
0e5921e8 | 11332 | (gr_reg_or_0_operand): Rename from reg_or_0_operand and |
0551c32d RH |
11333 | use gr_register_operand. |
11334 | (gr_reg_or_5bit_operand, gr_reg_or_6bit_operand): Likewise. | |
11335 | (gr_reg_or_8bit_operand, gr_reg_or_8bit_adjusted_operand): Likewise. | |
11336 | (gr_reg_or_8bit_and_adjusted_operand): Likewise. | |
11337 | (gr_reg_or_14bit_operand, gr_reg_or_22bit_operand): Likewise. | |
11338 | (fr_reg_or_fp01_operand): Likewise. | |
11339 | (not_postinc_memory_operand): New. | |
11340 | (ia64_split_timode): Remove unused variables. | |
11341 | (rtx_needs_barrier): Check arguments to cmpxchg. | |
11342 | (builtin_description): Remove. | |
11343 | (bdesc_2argsi, bdesc_2argdi): Remove. | |
11344 | (ia64_init_builtins): Declare all builtins directly. | |
11345 | (ia64_expand_fetch_and_op): Rewrite to be called from | |
11346 | ia64_expand_builtin directly. Use expand_binop and co. | |
11347 | (ia64_expand_op_and_fetch): Likewise. | |
11348 | (ia64_expand_compare_and_swap): Likewise. | |
11349 | (ia64_expand_binop_builtin): Remove. | |
11350 | (ia64_expand_lock_test_and_set): New. | |
11351 | (ia64_expand_lock_release): New. | |
11352 | (ia64_expand_builtin): Use them. | |
11353 | * config/ia64/ia64.h (CONSTRAINT_OK_FOR_S): New. | |
11354 | (EXTRA_CONSTRAINT): Use it. | |
11355 | (PREDICATE_CODES): Update. | |
11356 | * config/ia64/ia64.md (*): Use gr_register_operand and co. | |
11357 | (mf): Indicate that we set memory as well as use it. | |
11358 | (fetchadd_acq_si): Show memory being modified as well. | |
0e5921e8 | 11359 | (fetchadd_acq_di, cmpxchg_acq_si, cmpxchg_acq_di): Likewise. |
0551c32d RH |
11360 | (val_compare_and_swap_si, val_compare_and_swap_di): Remove. |
11361 | (lock_test_and_set_si, lock_test_and_set_di): Remove. | |
11362 | (fetch_and_add_si, fetch_and_sub_si, fetch_and_or_si): Remove. | |
11363 | (fetch_and_and_si, fetch_and_xor_si, fetch_and_nand_si): Remove. | |
11364 | (fetch_and_add_di, fetch_and_sub_di, fetch_and_or_di): Remove. | |
11365 | (fetch_and_and_di, fetch_and_xor_di, fetch_and_nand_di): Remove. | |
11366 | (add_and_fetch_di, sub_and_fetch_di, or_and_fetch_di): Remove. | |
11367 | (and_and_fetch_di, xor_and_fetch_di, nand_and_fetch_di): Remove. | |
11368 | (add_and_fetch_si, sub_and_fetch_si, or_and_fetch_si): Remove. | |
11369 | (and_and_fetch_si, xor_and_fetch_si, nand_and_fetch_si): Remove. | |
11370 | * config/ia64/ia64intrin.h (*): Cast result to the appropriate | |
11371 | return type. Pretty print definitions. | |
11372 | ||
7c866fb5 JW |
11373 | 2000-08-24 Jim Wilson <wilson@cygnus.com> |
11374 | ||
11375 | * config/ia64/ia64.md (movdi): Don't call gen_movdi_symbolic if | |
11376 | we have a SYMBOL_REF with SYMBOL_REF_FLAG set. | |
11377 | ||
40e8cc95 JM |
11378 | 2000-08-24 Jason Merrill <jason@redhat.com> |
11379 | ||
11380 | * dwarf2out.c (AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, | |
11381 | AT_loc, AT_addr, AT_lbl): Abort on unsuitable input. | |
0e5921e8 | 11382 | (get_AT_low_pc, get_AT_hi_pc, get_AT_string, get_AT_flag, |
40e8cc95 JM |
11383 | get_AT_unsigned, get_AT_ref): Don't call them if get_AT fails. |
11384 | ||
b6a1cbae GM |
11385 | 2000-08-24 Greg McGary <greg@mcgary.org> |
11386 | ||
11387 | * optabs.c (init_optabs): Initialize fixtab, fixtrunctab, floattab, | |
11388 | and extendtab within their proper array boundaries. | |
11389 | * emit-rtl.c (init_emit_once): Pass `const_tiny_rtx' with bounds | |
11390 | for the entire array. | |
11391 | ||
11392 | * config/arm/arm.c (arm_override_options): Use ARRAY_SIZE. | |
11393 | * config/alpha/alpha.c (alpha_lookup_xfloating_lib_func): Likewise. | |
11394 | * config/avr/avr.c (order_regs_for_local_alloc): Likewise. | |
11395 | * config/fr30/fr30.c (fr30_print_operand): Likewise. | |
11396 | * config/i386/dgux.c (output_options): Likewise. | |
11397 | * config/i386/dgux.h (ASM_FILE_START): Likewise. | |
11398 | * config/m88k/m88k.c (output_options): Likewise. | |
11399 | * config/m88k/m88k.h (ASM_FILE_START): Likewise. | |
11400 | * config/mcore/mcore.c (mcore_output_inline_const_forced, | |
11401 | layout_mcore_frame, handle_structs_in_regs): Likewise. | |
11402 | * config/mips/mips.c (output_block_move): Likewise. | |
11403 | * config/rs6000/rs6000.c (rs6000_override_options, | |
11404 | rs6000_file_start): Likewise. | |
11405 | * config/sparc/sparc.c (sparc_add_gc_roots): Likewise. | |
11406 | * fixinc/fixfixes.c (FIX_TABLE_CT): Likewise. | |
11407 | * fixinc/fixtests.c (TEST_TABLE_CT): Likewise. | |
11408 | * builtins.c (expand_builtin_setjmp): Likewise. | |
11409 | * expr.c (safe_from_p): Likewise. | |
11410 | * flow.c (life_analysis): Likewise. | |
11411 | * fold-const.c (size_int_type_wide): Likewise. | |
11412 | * gcc.c (translate_options, init_spec, set_spec, main): Likewise. | |
11413 | * genattrtab.c (make_length_attrs): Likewise. | |
11414 | * genopinit.c (gen_insn): Likewise. | |
11415 | * genrecog.c (NUM_KNOWN_PREDS, NUM_SPECIAL_MODE_PREDS): Likewise. | |
11416 | * global.c (global_alloc): Likewise. | |
11417 | * local-alloc.c (find_free_reg): Likewise. | |
11418 | * mips-tdump.c (print_symbol): Likewise. | |
11419 | * mips-tfile.c (parse_def, parse_input): Likewise. | |
11420 | * reload1.c (NUM_ELIMINABLE_REGS): Likewise. | |
11421 | * stmt.c (expand_nl_goto_receiver): Likewise. | |
11422 | * stor-layout.c (set_sizetype): Likewise. | |
11423 | * varasm.c (decode_reg_name): Likewise. | |
11424 | * toplev.c (decode_f_option, decode_W_option, | |
11425 | set_target_switch, print_switch_values): Likewise. | |
11426 | (NUM_ELEM): Remove macro. | |
11427 | (display_help, main): s/NUM_ELEM/ARRAY_SIZE/ | |
11428 | ||
5b47282c GM |
11429 | 2000-08-24 Greg McGary <greg@mcgary.org> |
11430 | ||
11431 | * tree.h (enum tree_index): New member `TI_MAIN_IDENTIFIER'. | |
11432 | (MAIN_NAME_P, main_identifier_node): New macros. | |
11433 | * c-common.c (c_common_nodes_and_builtins): Init main_identifier_node. | |
11434 | * c-decl.c (start_decl, grokdeclarator, start_function, | |
11435 | store_parm_decls, finish_function): Use MAIN_NAME_P. | |
11436 | * config/avr/avr.c (function_prologue, function_epilogue): Likewise. | |
11437 | * config/i386/cygwin.h (SUBTARGET_PROLOGUE): Likewise. | |
11438 | * config/i386/win32.h (SUBTARGET_PROLOGUE): Likewise. | |
11439 | * config/pdp11/pdp11.c (output_function_prologue): Likewise. | |
11440 | ||
87ae0c74 GM |
11441 | 2000-08-24 Greg McGary <greg@mcgary.org> |
11442 | ||
11443 | * cppfiles.c (actual_directory): Don't write beyond `dir' | |
11444 | when it contains "". | |
11445 | * real.c (asctoeg): Stay within bounds of etens[][]. | |
11446 | ||
b148aeaa KG |
11447 | 2000-08-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
11448 | ||
11449 | * dependence.c (dependence_string, direction_string, | |
11450 | dump_one_node, dump_node_dependence): Hide unused identifiers. | |
11451 | (get_low_bound, normalize_coefficients): Match definition to | |
11452 | static prototype. | |
11453 | (get_one_coefficient): Initialize variables `value0_is_idx' and | |
11454 | `value1_is_idx'. | |
11455 | (ziv_test, gcd_test): Mark parameters with ATTRIBUTE_UNUSED. | |
11456 | (ziv_test): Delete variable `idx', use parameter `sub' instead. | |
11457 | (direction_merge): Avoid automatic aggregate initialization. | |
11458 | (have_dependence_p): Use `src' not `dest' to set `src_idx'. | |
11459 | Initialize variables `dest_idx' and `src_idx'. | |
11460 | (end_dependence_analysis): Avoid C89 style function definition. | |
11461 | ||
4894ecce JM |
11462 | 2000-08-24 Joseph S. Myers <jsm28@cam.ac.uk> |
11463 | ||
11464 | * c-common.c (time_char_table): Don't allow width with %F. | |
11465 | (check_format_info): Don't allow "Z" length with scanf. | |
11466 | ||
2ab99c46 GDR |
11467 | 2000-08-24 Gabriel Dos Reis <gdr@codesourcery.com> |
11468 | ||
11469 | * diagnostic.c (finish_diagnostic): Define. | |
11470 | (output_do_printf): Use wrap_text instead of output_add_string. | |
11471 | (default_print_error_function): Avoid embedded '\n'. | |
11472 | ||
11473 | * diagnostic.h (flush_diagnostic_buffer): Declare. | |
11474 | ||
335e59bd AO |
11475 | 2000-08-23 Alexandre Oliva <aoliva@redhat.com> |
11476 | ||
11477 | * dependence.c: Replace `[][]' with `[][MAX_SUBSCRIPTS]'. | |
11478 | ||
d9fe00bb HPN |
11479 | 2000-08-23 Hans-Peter Nilsson <hp@axis.com> |
11480 | ||
11481 | * Makefile.in (GCC_PASSES): Add specs. | |
11482 | ||
b97644fc JW |
11483 | 2000-08-23 Jim Wilson <wilson@cygnus.com> |
11484 | ||
11485 | * frame.h (IA64_UNW_EHANDLER, IA64_UNW_UHANDLER): New. | |
11486 | * config/ia64/frame-ia64.c (__get_personality): Return zero if neither | |
11487 | EHANDLER nor UHANDLER bit is set. | |
11488 | (__get_except_table): Likewise. | |
11489 | ||
64a7723d NC |
11490 | 2000-08-23 Nick Clifton <nickc@redhat.com> |
11491 | ||
02689e18 NC |
11492 | * config/arm/lib1funcs.asm: Replace upper case condition codes |
11493 | with lower case versions. | |
11494 | ||
64a7723d NC |
11495 | * config/arm/arm.h (STRUCT_VALUE): Define. |
11496 | (STRUCT_VALUE_REGNUM): Delete. | |
11497 | ||
bbdac7d0 ZW |
11498 | 2000-08-23 Zack Weinberg <zack@wolery.cumb.org> |
11499 | ||
11500 | * cpphash.h (IN_I): New flag for directive table. | |
11501 | * cpplib.c (DIRECTIVE_TABLE): Mark #define, #undef, #ident, and | |
11502 | #pragma with IN_I. | |
11503 | (_cpp_check_directive): If -fpreprocessed, execute directives | |
11504 | marked with IN_I. Issue no warnings in this case. | |
11505 | * cpplex.c (_cpp_get_token): Expand no macros if -fpreprocessed. | |
11506 | ||
d8eceea4 JM |
11507 | 2000-08-23 Joseph S. Myers <jsm28@cam.ac.uk> |
11508 | ||
11509 | * c-common.c (print_char_table): Allow 'I' flag with %d, %i and | |
11510 | %u. | |
11511 | (check_format_info): Support printf 'I' flag; warn about it with | |
11512 | -pedantic. | |
11513 | ||
e04c2d6c RE |
11514 | 2000-08-23 Richard Earnshaw (rearnsha@arm.com) |
11515 | ||
11516 | * arm.c (arm_expand_prologue): Ensure that the stack-adjustment | |
11517 | barrier can't be ignored by the alias analysis code. | |
11518 | ||
f4306baa EZ |
11519 | 2000-08-12 Eli Zaretskii <eliz@is.elta.co.il> |
11520 | ||
11521 | * fixinc/inclhack.def (sysv68_string): Fix the Sed script so it | |
11522 | works inside fixincl. | |
11523 | ||
95d0e5f1 AO |
11524 | Wed Aug 23 04:55:48 2000 Alexandre Oliva <aoliva@redhat.com> |
11525 | ||
11526 | * simplify-rtx.c (simplify_rtx): Don't pass VOIDmode to | |
11527 | simplify_relational_operation() unless both operands are of | |
11528 | VOIDmode. | |
11529 | * cse.c (fold_rtx): Likewise. | |
11530 | ||
55efb413 JW |
11531 | Tue Aug 22 23:53:27 EDT 2000 John Wehle (john@feith.com) |
11532 | ||
11533 | * rtlanal.c (rtx_unstable_p): The pic register is stable | |
11534 | (within one function) and the actual rtx should be used | |
11535 | when checking the registers. | |
11536 | (rtx_addr_can_trap_p): Pic memory addresses can't trap. | |
11537 | ||
11538 | * alias.c (true_dependence, write_dependence_p): Fix | |
11539 | bug in previous patch. | |
11540 | ||
11541 | * i386.c (ix86_GOT_alias_set): New. | |
11542 | (legitimize_pic_address): Use it. | |
11543 | ||
11544 | * rtlanal.c (rtx_unstable_p): An unchanging MEM is | |
11545 | only stable if its address is stable. | |
11546 | (rtx_varies_p): An unchanging MEM can't vary if | |
11547 | its address doesn't vary. | |
11548 | ||
aac625ac KG |
11549 | 2000-08-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
11550 | ||
11551 | * c-parse.in (unop +): Restrict -Wtraditional warnings to user code. | |
11552 | ||
62432849 DA |
11553 | 2000-08-22 J. David Anglin <dave@hiauly1.hia.nrc.ca> |
11554 | ||
11555 | * vax.h (ASM_SPEC): Pass `-J' to assembler. | |
11556 | * x-vax-gcc: New file for bootstrapping with gcc. | |
dd745546 | 11557 | * x-vax: Use X_CFLAGS rather than X_CPPFLAGS to pass `-J'. |
62432849 DA |
11558 | * configure.in: Use x-vax-gcc with gcc. |
11559 | * configure: Rebuilt. | |
11560 | ||
1eb994b7 R |
11561 | Tue Aug 22 21:21:05 2000 J"orn Rennecke <amylaar@cygnus.co.uk> |
11562 | ||
11563 | * toplev.c (rest_of_compilation): Rebuild label notes after | |
11564 | post-reload splitting pass if new labels have been created. | |
11565 | ||
f6a542de GDR |
11566 | 2000-08-22 Gabriel Dos Reis <gdr@codesourcery.com> |
11567 | ||
11568 | * diagnostic.h (output_buffer_state): New macro. | |
11569 | * diagnostic.c (diagnostic_for_decl, sorry, | |
11570 | default_print_error_function, output_do_verbatim, | |
11571 | report_diagnostic, report_problematic_module): Use it. | |
11572 | (wrap_text): Tweak. | |
11573 | (output_format): Use wrap_text instead of maybe_wrap_text. | |
11574 | ||
888e552f NC |
11575 | 2000-08-22 Nick Clifton <nickc@redhat.com> |
11576 | ||
11577 | * config/arm/lib1funcs.asm (ARM_DIV_MOD_BODY): New macro. | |
11578 | Common code for ARM divide and modulus functions. | |
11579 | (THUMB_DIV_MOD_BODY): New macro. Thumb equivalent of | |
11580 | ARM_DIV_MOD_BODY. | |
11581 | (FUNC_END): New macro: Common code at the end of the division and | |
11582 | modulo functions. | |
11583 | (THUMB_FUNCTION_START): New macro: Common code at the start of | |
11584 | Thumb functions. | |
11585 | (__divsi3, __udivsi3, __modsi3, __umodsi3): Use new macros. | |
0e5921e8 | 11586 | |
89e43e33 KK |
11587 | Tue Aug 22 20:34:52 2000 Kaz Kojima <kkojima@rr.iij4u.or.jp> |
11588 | ||
11589 | * config/sh/sh.md (cmpeqdi_t splitter): Fix a reverse testing. | |
11590 | ||
11591 | * config/sh/sh.c (prepare_scc_operands): Apply force_reg to | |
11592 | sh_compare_op1 when the mode is DImode and sh_compare_op1 isn't | |
11593 | const0_rtx. | |
11594 | ||
7405dc37 NC |
11595 | 2000-08-22 Nick Clifton <nickc@redhat.com> |
11596 | ||
11597 | * config/arm/lib1funcs.asm (__umodsi3): Before performing any | |
11598 | restorative additions, test for bottom bits of IP being set, | |
11599 | rather than relying upon the RORs not matching. | |
11600 | (__modsi3): Ditto. | |
11601 | ||
9861b0c9 DE |
11602 | 2000-08-22 David Edelsohn <edelsohn@gnu.org> |
11603 | ||
11604 | * aix.h (ASM_DECLARE_FUNCTION_NAME): Call named_section() or | |
60a3c181 | 11605 | text_section() as appropriate instead of emitting text csect |
9861b0c9 DE |
11606 | pseudo-op directly. |
11607 | (TEXT_SECTION_ASM_OP): Only require default 32-bit alignment. | |
11608 | (UNIQUE_SECTION): Define macro. | |
11609 | (ASM_OUTPUT_SECTION_NAME): Define macro. | |
11610 | * rs6000.c (rs6000_override_options): Disable -ffunction-sections | |
60a3c181 | 11611 | on AIX if debugging and -fdata-sections always. |
9861b0c9 DE |
11612 | |
11613 | 2000-08-22 Steven King <sxking@uswest.net> | |
df3a88f0 SK |
11614 | |
11615 | * config/float-i386.h (LDBL_EPSILON): Remove __convert_long_double | |
11616 | machinery. | |
11617 | (LDBL_MAX): Same here. | |
11618 | ||
b578dbd7 RH |
11619 | 2000-08-22 Richard Henderson <rth@cygnus.com> |
11620 | ||
11621 | * flow.c (tidy_fallthru_edge): Update b->end properly. | |
11622 | ||
d061bc1e SC |
11623 | 2000-08-22 Stan Cox <scox@redhat.com> |
11624 | ||
60a3c181 RH |
11625 | * Makefile.in (OBJS): Add dependence.o. |
11626 | * dependence.c: New file. | |
0e5921e8 | 11627 | |
23d16877 | 11628 | 2000-08-22 Alexandre Oliva <aoliva@redhat.com>, John David Anglin <dave.anglin@nrc.ca> |
3cadd778 | 11629 | |
d60eab50 AO |
11630 | * calls.c (check_sibcall_argument_overlap_1): Adjust for |
11631 | ARGS_GROW_DOWNWARD. | |
11632 | (check_sibcall_argument_overlap): Likewise. | |
11633 | ||
23d16877 AO |
11634 | 2000-08-22 Alexandre Oliva <aoliva@redhat.com> |
11635 | ||
3cadd778 AO |
11636 | * invoke.texi (SH Options): Document -m4-nofpu, |
11637 | -m4-single-only, -m4-single, -m4, -mbigtable, -mfmovd, | |
11638 | -mhitachi, -mnomacsave, -misize, -mpadstruct, -mspace. | |
11639 | ||
23e4d028 JM |
11640 | 2000-08-22 Joseph S. Myers <jsm28@cam.ac.uk> |
11641 | ||
11642 | * c-common.c (check_format_info): Give the 'some locales' warning | |
11643 | for strftime %Ey rather than the unconditional 'only last 2 digits | |
11644 | of year' one. | |
11645 | ||
bc82c87c RH |
11646 | 2000-08-22 Richard Henderson <rth@cygnus.com> |
11647 | ||
11648 | * alias.c (init_alias_analysis): Do not register | |
11649 | struct_value_incoming_rtx or static_chain_rtx as pointing | |
11650 | to stack memory. | |
11651 | ||
7db9125f JL |
11652 | Tue Aug 22 01:44:43 2000 Jeffrey A Law (law@cygnus.com) |
11653 | ||
11654 | * protoize.c (munge_compile_params): Fix typo and formatting buglets. | |
11655 | ||
b413d64d GDR |
11656 | 2000-08-22 Gabriel Dos Reis <gdr@codesourcery.com> |
11657 | ||
11658 | * diagnostic.h (report_problematic_module): Declare. | |
11659 | * diagnostic.c (report_problematic_module): New function. | |
11660 | (report_error_function): Tweak. | |
11661 | ||
c4a6c0f3 RK |
11662 | Tue Aug 22 02:31:26 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
11663 | ||
11664 | * stmt.c (expand_goto_internal, fixup_gotos): Only check | |
11665 | TYPE_RETURNS_STACK_DEPRESSED for FUNCTION_TYPE. | |
11666 | ||
770a7feb RH |
11667 | 2000-08-21 Richard Henderson <rth@cygnus.com> |
11668 | ||
11669 | * flow.c (calculate_global_regs_live): Mark frame pointer live | |
11670 | everywhere before reload. | |
11671 | ||
280db205 JW |
11672 | 2000-08-21 Jim Wilson <wilson@cygnus.com> |
11673 | ||
11674 | * real.c (ereal_from_int, ereal_from_uint, significand_size): Handle | |
11675 | INTEL_EXTENDED_IEEE_FORMAT. | |
11676 | (toe64): Delete INTEL_EXTENDED_IEEE_FORMAT support. Unconditionally | |
11677 | clear last two bytes of output FP value. | |
11678 | ||
94c21c17 GS |
11679 | 2000-08-21 Graham Stott <grahams@cygnus.co.uk> |
11680 | ||
11681 | * config/ia64/ia64.h (REDO_SECTION_INFO_P): Change decl to DECL. | |
11682 | ||
6315f068 JJ |
11683 | 2000-08-21 Jakub Jelinek <jakub@redhat.com> |
11684 | ||
11685 | * unroll.c (loop_find_equiv_value): If ret is modified between | |
11686 | insn and loop_start, ret might not be equivalent to reg. | |
11687 | ||
5804a754 JM |
11688 | 2000-08-21 Joseph S. Myers <jsm28@cam.ac.uk> |
11689 | ||
11690 | * c-common.c (init_dollar_format_checking, | |
11691 | maybe_read_dollar_number, finish_dollar_format_checking): New | |
11692 | functions. | |
11693 | (dollar_arguments_used, dollar_arguments_count, | |
11694 | dollar_first_arg_num, dollar_max_arg_used, dollar_format_warned): | |
11695 | New variables. | |
11696 | (check_format_info): Support $ formats for scanf and printf width | |
11697 | and precision. Always increment format_chars to advance past the | |
11698 | '*' of precision, not just when the format parameters are | |
11699 | available to check. | |
11700 | ||
95adab8e KG |
11701 | 2000-08-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
11702 | ||
11703 | * mips.c (block_move_loop, expand_block_move, | |
11704 | function_arg_partial_nregs, save_restore_insns, function_prologue, | |
11705 | mips_expand_prologue, RA_MASK): Avoid using the `U' integer | |
11706 | constant suffix. | |
11707 | (function_arg_advance, function_arg): Match argument to format | |
11708 | specifier `%p'. | |
11709 | ||
49009afd JL |
11710 | 2000-08-21 Nix <nix@esperi.demon.co.uk> |
11711 | ||
11712 | * gcc.c (do_spec_1): Implement %j spec flag. | |
11713 | Remove dead comment. | |
11714 | ||
11715 | * gcc.texi (The Configuration File): Document HOST_BIT_BUCKET. | |
60a3c181 RH |
11716 | * system.h (HOST_BIT_BUCKET): Default to "/dev/null". |
11717 | * config/i386/xm-dos.h (HOST_BIT_BUCKET): Define as "NUL". | |
11718 | * config/i386/xm-os2.h, config/winnt/winnt.h: Likewise. | |
49009afd | 11719 | |
60a3c181 | 11720 | * protoize.c (munge_compile_params): Use HOST_BIT_BUCKET (if |
49009afd JL |
11721 | writable) instead of hardcoded value. |
11722 | ||
11723 | * toplev.c (compile_file): Output to a file even if -fsyntax-only. | |
11724 | ||
60a3c181 RH |
11725 | * gcc.c, config/i386/xm-dos.h, config/i386/xm-os2.h: Kill |
11726 | MKTEMP_EACH_FILE. | |
49009afd | 11727 | |
60a3c181 | 11728 | * gcc.c (cc1_options): Do not process -o or run the assembler if |
49009afd | 11729 | -fsyntax-only. |
05a3d06e | 11730 | * objc/lang-spec.h: Likewise. |
49009afd JL |
11731 | |
11732 | 2000-08-21 Eli Zaretskii <eliz@is.elta.co.il> | |
dc13bad7 EZ |
11733 | |
11734 | * fixinc/fixincl.c (fix_with_system): Pipe the output of | |
11735 | "external" fixes through `cat', to avoid truncating the input | |
11736 | file by redirection. | |
11737 | ||
cb694d2c JJ |
11738 | 2000-08-21 Jakub Jelinek <jakub@redhat.com> |
11739 | ||
11740 | * config/i386/i386.md (lea_general_1): Copy insn condition to split | |
11741 | condition. | |
11742 | (lea_general_2, lea_general_3): Likewise. | |
11743 | ||
cde6e684 KG |
11744 | 2000-08-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
11745 | ||
11746 | * c-decl.c (duplicate_decls, define_label): Restrict -Wtraditional | |
11747 | warnings to user code. | |
11748 | ||
11749 | * c-lex.c (readescape, yylex): Likewise. | |
11750 | ||
11751 | * c-typeck.c (store_init_value, process_init_element): Likewise | |
11752 | (c_expand_start_case): Format. | |
11753 | ||
120dc6cd MR |
11754 | 2000-08-18 Maciej W. Rozycki <macro@ds2.pg.gda.pl> |
11755 | ||
11756 | * mips/linux.h (LINK_SPEC): Use %(endian_spec). | |
11757 | ||
11758 | * mips/mips.h: Change LINKER_ENDIAN_SPEC to ENDIAN_SPEC | |
0e5921e8 | 11759 | and linker_endian_spec to endian_spec. |
120dc6cd MR |
11760 | (ENDIAN_SPEC): Add %{EB} and %{EL}. |
11761 | (LINK_SPEC): Remove %{EB} and %{EL}. | |
0e5921e8 | 11762 | (ASM_SPEC): Likewise. Use %(endian_spec). |
120dc6cd | 11763 | |
93e2382f JM |
11764 | 2000-08-21 Joseph S. Myers <jsm28@cam.ac.uk> |
11765 | ||
11766 | * c-tree.h (flag_hosted): Move declaration from here... | |
11767 | * c-common.h (flag_hosted): ... to here. | |
11768 | (flag_noniso_default_format_attributes): New declaration. | |
11769 | * c-decl.c (flag_noniso_default_format_attributes): New variable. | |
11770 | (c_decode_option): Set it appropriately for options choosing | |
11771 | language standard variant. | |
11772 | * c-common.c (init_function_format_info): Only provide default | |
11773 | format attributes if flag_hosted. Only provide the gettext | |
11774 | formats if flag_noniso_default_format_attributes. Update | |
11775 | comments. | |
11776 | (check_format_info): Disable treatment of %a as a scanf flag in | |
11777 | C99 mode. | |
11778 | ||
f3d360aa JM |
11779 | 2000-08-21 Joseph S. Myers <jsm28@cam.ac.uk> |
11780 | ||
11781 | * c-common.c (scan_char_table): Add 'w' to flags for all formats | |
11782 | except 'n'. | |
11783 | (check_format_info): Set 'wide' for scanf format widths. Warn for | |
11784 | a zero scanf width. Make the check for writing into a constant | |
11785 | object at the first level of indirection; at later levels, warn if | |
11786 | any type qualifiers are encountered. | |
11787 | ||
e04ca094 JL |
11788 | Mon Aug 21 07:41:12 2000 Jeffrey A Law (law@cygnus.com) |
11789 | ||
e6ea3b5f JL |
11790 | * reload.c (reload_inner_reg_of_subreg): New function broken out of |
11791 | push_reload. | |
11792 | (push_reload): Use reload_inner_reg_of_subreg. | |
11793 | (combine_reloads): Do not combine reloads if the input reload | |
11794 | is a SUBREG in which the inner part will need reloading. | |
11795 | ||
e04ca094 JL |
11796 | * global.c (global_alloc): Avoid passing dumpfile argument to |
11797 | reload routines. | |
11798 | * toplev.c (rest_of_compilation): Likewise. | |
11799 | * reload.h (reload): Remove dumpfile argument. Callers changed. | |
11800 | (debug_reload, debug_reload_to_stream): Move prototypes here. | |
11801 | * rtl.h (reload): Remove dumpfile argument. | |
11802 | * reload.c (debug_reload): Remove prototype. | |
11803 | (debug_reload_to_stream): Likewise. | |
11804 | * reload1.c: Avoid passing dumpfile around, rely on rtl_dump_file | |
11805 | instead. | |
11806 | ||
24805e80 GDR |
11807 | 2000-08-21 Gabriel Dos Reis <gdr@merlin.codesourcery.com> |
11808 | ||
11809 | * diagnostic.c (context_as_prefix): Export. | |
11810 | (need_error_newline): Remove. | |
11811 | (lang_diagnostic_starter, lang_diagnostic_finalizer): New objects. | |
11812 | (error_module_changed, record_last_error_module, | |
11813 | error_function_changed, record_last_error_function): New functions. | |
11814 | (initialize_diagnostics): Default intialize | |
11815 | lang_diagnostic_starter, lang_diagnostic_finalizer. | |
11816 | (init_output_buffer): Tweak. | |
11817 | (file_name_as_prefix): New function. | |
11818 | (announce_function, default_print_error_function, | |
11819 | report_error_function, set_diagnostic_context): Tweak. | |
11820 | ||
056b6841 RE |
11821 | 2000-08-21 Richard Earnshaw <rearnsha@arm.com> |
11822 | ||
11823 | * flow.c (init_propagate_block_info): Handle SUBREG in a jump | |
11824 | condition expression. | |
11825 | ||
7171b491 RH |
11826 | 2000-08-20 Richard Henderson <rth@cygnus.com> |
11827 | ||
11828 | * flow.c (merge_blocks_nomove): Don't seek back past the bb note. | |
11829 | ||
3cb553b4 ZW |
11830 | 2000-08-20 Zack Weinberg <zack@wolery.cumb.org> |
11831 | ||
11832 | * cppinit.c (cpp_init): Set global flag when called. | |
11833 | (cpp_reader_init): Bomb out if cpp_init hasn't been called. | |
11834 | ||
9861b0c9 | 11835 | Sun Aug 20 01:41:35 2000 Dennis Chernoivanov <cdi@sparc.spb.su> |
3cb553b4 | 11836 | |
60a3c181 RH |
11837 | * cpplex.c (cpp_scan_buffer): Move `output_line_command' just |
11838 | before `process_directive' so that newlines won't be missed | |
11839 | for directives. | |
11840 | (cpp_printf): Increment `print->lineno' when newline is emitted. | |
3cb553b4 | 11841 | |
60a3c181 RH |
11842 | * cppmain.c (cb_ident): Likewise. |
11843 | (cb_define): Likewise. | |
11844 | (cb_undef): Likewise. | |
11845 | (cb_include): Likewise. | |
11846 | (cb_def_pragma): Likewise. | |
11847 | (dump_macros_helper): Likewise. | |
3cb553b4 | 11848 | |
9c668921 RH |
11849 | 2000-08-20 Richard Henderson <rth@cygnus.com> |
11850 | ||
11851 | * config/ia64/ia64.c (emit_insn_group_barriers): Stop if ar.lc | |
11852 | assigned before a loop. | |
11853 | ||
11854 | * config/ia64/ia64.md (ashlsi3): Zero extend the shift count. | |
11855 | (ashrsi3, lshrsi3): Likewise. | |
11856 | ||
4e1e6a01 GDR |
11857 | 2000-08-20 Gabriel Dos Reis <gdr@codesourcery.com> |
11858 | ||
11859 | * c-lang.c: #include diagnostic.h | |
11860 | (c_tree_printer): New function. | |
11861 | (lang_init): Initialize lang_printer. | |
11862 | ||
11863 | * Makefile.in (c-lang.o): Depends on diagnostic.h | |
11864 | ||
e2840263 GDR |
11865 | 2000-08-20 Gabriel Dos Reis <gdr@codesourcery.com> |
11866 | ||
11867 | * c-errors.c (pedwarn_c99): Adjust call to report_diagnostic. | |
11868 | ||
11869 | * diagnostic.c (default_diagnostic_starter, | |
11870 | default_diagnostic_finalizer): New functions. | |
11871 | (diagnostic_for_asm, diagnostic_for_decl): Tweak. | |
11872 | (pedwarn, pedwarn_with_file_and_line, error, | |
11873 | error_with_file_and_line, fatal, warning, | |
11874 | warning_with_file_and_line): Adjust call to report_diagnostic. | |
11875 | (report_diagnostic): Rework. | |
11876 | (set_diagnostic_context): New function. | |
11877 | ||
11878 | * diagnostic.h (struct diagnostic_context): New data structure. | |
11879 | (diagnostic_message, diagnostic_argument_list, | |
11880 | diagnostic_file_location, diagnostic_line_location, | |
11881 | diagnostic_is_warning, diagnostic_starter, diagnostic_finalizer, | |
11882 | diagnostic_finalizer, diagnostic_auxiliary_data): New macros. | |
11883 | (set_diagnostic_context): Declare. | |
11884 | (report_diagnostic): Change prototype. | |
11885 | ||
574f7425 NB |
11886 | Sun 20-Aug-2000 09:25:45 BST Neil Booth <NeilB@earthling.net> |
11887 | ||
11888 | * fix-header.c (main): Initialize cpplib. | |
11889 | ||
f1e42c81 MM |
11890 | 2000-08-19 Michael Meissner <meissner@redhat.com> |
11891 | ||
34c9e848 MM |
11892 | * ifcvt.c (find_if_block): Do not assume that a THEN block has any |
11893 | instructions in it before checking for indirect jumps. | |
11894 | ||
f1e42c81 MM |
11895 | * ifcvt.c (find_if_block): Do not consider a THEN block that ends |
11896 | in a indirect jump as a potential for conditional execution. | |
11897 | ||
11898 | * d30v.h (d30v_init_expanders): Don't declare here. | |
11899 | * d30v-protos.h (d30v_init_expanders): Declare here with a valid | |
11900 | prototype. | |
11901 | ||
9d6c2770 NB |
11902 | Sat 19-Aug-2000 21:11:45 BST Neil Booth <NeilB@earthling.net> |
11903 | ||
11904 | * cpp.texi: Add @section for assertions. | |
11905 | ||
e76d9acb JW |
11906 | Sat Aug 19 12:37:08 EDT 2000 John Wehle (john@feith.com) |
11907 | ||
11908 | * loop.c (scan_loop): Use CONST_CALL_P instead of | |
11909 | checking for REG_LIBCALL / REG_RETVAL. | |
11910 | ||
f49957d6 JL |
11911 | Sat Aug 19 09:18:47 2000 Jeffrey A Law (law@cygnus.com) |
11912 | ||
850aac53 JL |
11913 | * reload1.c (reload_as_needed): Accept dumpfile argument, |
11914 | pass it to emit_reload_insns. | |
11915 | (emit_reload_insns): Add new dumpfile argument. If non-null | |
11916 | then dump the reloads for each insn into the dumpfile. | |
11917 | (reload): Pass dumpfile to reload_as_needed. | |
11918 | ||
f49957d6 JL |
11919 | * invoke.texi: Clean up linux-gnu vs linux comments. |
11920 | ||
041f25e6 RH |
11921 | 2000-08-19 Richard Henderson <rth@cygnus.com> |
11922 | ||
11923 | * config/ia64/ia64.c (reg_or_5bit_operand): New. | |
11924 | (ia64_depz_field_mask): New. | |
11925 | * config/ia64/ia64.h (CONSTRAINT_OK_FOR_R): New. | |
11926 | (PREDICATE_CODES): Update. | |
11927 | * config/ia64/ia64.md: Update commentary. | |
11928 | (depz_internal): New. | |
11929 | (ashlsi3): Implement directly. | |
11930 | (ashrsi3, lshrsi3): Simplify; rely on extv and extzv for constants. | |
11931 | (ashldi3): Use shladd. | |
11932 | * config/ia64/ia64-protos.h: Update. | |
11933 | ||
319ea138 ZW |
11934 | 2000-08-18 Zack Weinberg <zack@wolery.cumb.org> |
11935 | ||
11936 | * toplev.c (independent_decode_option): Always process -g. | |
11937 | Remove third argument, now unused. Adjust caller to match. | |
11938 | ||
8231ad94 RH |
11939 | 2000-08-18 Richard Henderson <rth@cygnus.com> |
11940 | ||
11941 | * combine.c (make_compound_operation): Break after creating | |
11942 | the extraction. | |
11943 | ||
6e19bb38 ZW |
11944 | 2000-08-18 Zack Weinberg <zack@wolery.cumb.org> |
11945 | ||
11946 | * cpplib.c (cpp_register_pragma_space): Just return if the | |
11947 | namespace is already registered. | |
11948 | ||
477d303f RE |
11949 | 2000-08-18 Ray Essick <essick@ddna.labs.mot.com> & Nick Clifton <nickc@redhat.com> |
11950 | ||
11951 | * config/mcore/mcore.md (rotlsi3): Allow allow rotations by a | |
11952 | constant amount. Do not generate ROTL instruction. | |
11953 | ||
ffe51c8a AO |
11954 | Fri Aug 18 16:22:20 2000 Alexandre Oliva <aoliva@redhat.com> |
11955 | ||
11956 | * config/sh/elf.h: Do not include sh/sh.h. | |
11957 | * config/sh/rtems.h: Likewise. | |
11958 | * config/sh/rtemself.h: Do not include sh/elf.h. | |
11959 | * configure.in: Get them included with `tm_file's. | |
11960 | * configure: Rebuilt. | |
11961 | ||
8845e874 AO |
11962 | * config/sh/sh.md (fpu_switch0, fpu_switch1): Simplify. |
11963 | * config/sh/sh.c (fpscr_set_from_mem): Use them. | |
11964 | ||
3f546a53 RK |
11965 | Fri Aug 18 14:23:18 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
11966 | ||
7d2950e5 RK |
11967 | * stor-layout.c (compute_record_type): Don't use mode of single |
11968 | field as mode of record if not integer mode of same type. | |
11969 | ||
a1c1fdd0 RK |
11970 | * regmove.c (perhaps_ends_bb_p): New function. |
11971 | (optimize_reg_copy_1, optimize_reg_copy_2): Call it. | |
11972 | (optimize_reg_copy_3, fixup_match_2, regmove_optimize): Likewise. | |
11973 | (fixup_match_1): Likewise. | |
11974 | (fixup_match_1, combine_stack_adjustments_for_block): Add casts to | |
11975 | avoid signed/unsigned warnings. | |
0e5921e8 | 11976 | |
3f546a53 RK |
11977 | * function.c (fixup_var_refs_1, case MEM): Update CODE after |
11978 | updating X. | |
11979 | ||
61d0346d NB |
11980 | Fri 18-Aug-2000 18:33:45 BST Neil Booth <NeilB@earthling.net> |
11981 | ||
11982 | * cpphash.h: Use HAVE_DESIGNATED_INITIALIZERS. | |
11983 | (_cpp_trigraph_map): Declaration moved from cpplex.c | |
11984 | ||
11985 | * cppinit.c: Define _cpp_trigraph_map. Use UCHAR_MAX + 1 | |
11986 | instead of 256. Use consistent test for designated initializers. | |
11987 | (cpp_init): Initialize trigraph_map. | |
11988 | (initialize_standard_includes, parse_option): Use memcmp | |
11989 | instead of strncmp. | |
11990 | ||
11991 | * cpplex.c (init_trigraph_map): Remove. | |
11992 | (trigraph_ok, trigraph_replace, lex_line): Refer to | |
11993 | _cpp_trigraph_map. | |
11994 | ||
11995 | * cpplib.c (str_match, WARNING, ERROR, ICE): Delete. | |
11996 | (do_unassert): Remove unused "next" local. | |
11997 | ||
11998 | * system.h (HAVE_DESIGNATED_INITIALIZERS): New prototype. | |
11999 | ||
ef42b1dd EM |
12000 | 2000-08-18 Emmanuel Marty <emarty@suntech.fr> |
12001 | ||
12002 | * arm/lib1funcs.asm (_umodsi3 THUMB VARIANT): Restore deleted return | |
12003 | insn. | |
12004 | ||
bc08aefe RH |
12005 | 2000-08-17 Richard Henderson <rth@cygnus.com> |
12006 | ||
12007 | * config/ia64/ia64.c (spill_restore_mem): Handle emitting | |
12008 | the first insn in a sequence. | |
12009 | ||
49982682 JW |
12010 | Thu Aug 17 22:40:05 EDT 2000 John Wehle (john@feith.com) |
12011 | ||
12012 | * alias.c (true_dependence, write_dependence_p): A read | |
12013 | involving a label_ref or the constant pool doesn't create | |
12014 | a dependency. | |
12015 | ||
12016 | * rtl.h (unchanging): Improve documentation. | |
12017 | ||
889e5964 RB |
12018 | 2000-08-17 Rodney Brown <RodneyBrown@mynd.com> |
12019 | ||
12020 | * cse.c (insert_regs): Remove unused `regno'. | |
12021 | ||
dd69c71b NB |
12022 | 2000-08-17 Neil Booth <NeilB@earthling.net> |
12023 | ||
12024 | * (cppinit.c) merge_include_chains: Use remove_dup_dir, | |
12025 | remove_dup_dirs. If qtail == brack, remove brack not | |
12026 | qtail. | |
12027 | (remove_dup_dir, remove_dup_dirs): New functions. | |
12028 | ||
709e9e50 NB |
12029 | 2000-08-17 Neil Booth <NeilB@earthling.net> |
12030 | ||
12031 | * cppinit.c (cpp_cleanup): Free include dir chains. | |
12032 | * cpplib.c (do_undef): Let _cpp_free_definition make the node void. | |
12033 | (do_unassert): Free the assert with _cpp_free_definition. | |
12034 | * cppmacro.c (_cpp_free_definition): Free memory allocated for | |
12035 | assertions. Make the node a T_VOID node. | |
12036 | ||
e33f6253 NB |
12037 | 2000-08-17 Neil Booth <NeilB@earthling.net> |
12038 | ||
12039 | * cppinit.c (path_include, append_include_chain): | |
12040 | Remove 2nd parameter (struct cpp_pending *). | |
12041 | (path_include, initialize_standard_includes, cpp_handle_option): | |
12042 | Update callers appropriately. | |
12043 | (cpp_handle_option): Use pend. | |
12044 | ||
c154ba66 NB |
12045 | 2000-08-17 Neil Booth <NeilB@earthling.net> |
12046 | ||
12047 | * cppinit.c (sort_options): Remove, put functionality in | |
12048 | cpp_init. | |
12049 | (cpp_init): New. | |
12050 | (initialize_builtins): Free memory. | |
12051 | (cpp_start_read): Move init_IStable to cpp_init. | |
12052 | ||
12053 | * cpplib.h (cpp_init): New prototype. | |
12054 | * cppmain.c (main): Call cpp_init. | |
12055 | ||
9c82ac6b JW |
12056 | Thu Aug 17 13:20:32 EDT 2000 John Wehle (john@feith.com) |
12057 | ||
12058 | * rtlanal.c (rtx_unstable_p): Use CONSTANT_P. | |
12059 | (rtx_unstable_p, rtx_varies_p): Process vectors. | |
12060 | ||
acd50a92 NY |
12061 | 2000-08-16 Niibe Yutaka <gniibe@m17n.org>, Kaz Kojima <kkojima@rr.iij4u.or.jp> |
12062 | ||
12063 | * config/sh/lib1funcs.asm (GLOBAL): Define. Use for all | |
12064 | references to GLOBAL symbols. Use LOCAL where appropriate. | |
12065 | ||
cfedbb1f KG |
12066 | 2000-08-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
12067 | ||
12068 | * configure.in (*-ibm-aix4.[12]*): Delete test for gnu ld. Always | |
12069 | use t-aix41 when host == target. | |
12070 | ||
31989264 RH |
12071 | 2000-08-16 Richard Henderson <rth@cygnus.com> |
12072 | ||
12073 | * reload.c (push_secondary_reload): Revert last change. | |
12074 | If we use a reload_in/out pattern, make the when the same | |
12075 | as the primary reload. | |
12076 | (find_reloads): Likewise. | |
12077 | ||
d84c5634 MH |
12078 | 2000-08-16 Manfred Hollstein <manfredh@redhat.com> |
12079 | ||
12080 | * configure.in (libstdcxx-v3): Fix test. | |
12081 | * configure: Regenerate. | |
12082 | ||
43db0363 RK |
12083 | Wed Aug 16 08:10:32 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
12084 | ||
12085 | * calls.c (calls_function_1, expand_call): Only test | |
12086 | TYPE_RETURNS_STACK_DEPRESSED for FUNCTION_TYPE. | |
12087 | * function.c (thread_prologue_and_epilogue_insns): Likewise. | |
12088 | ||
853d8828 RH |
12089 | 2000-08-16 Richard Henderson <rth@cygnus.com> |
12090 | ||
12091 | * combine.c (simplify_shift_const): Revert previous two | |
12092 | changes. If SHIFT_COUNT_TRUNCATED, crop the shift count | |
12093 | before the main loop. | |
12094 | ||
3e626beb RH |
12095 | 2000-08-15 Richard Henderson <rth@cygnus.com> |
12096 | ||
12097 | * combine.c (simplify_shift_const): Bound shift count when | |
12098 | combining shifts. | |
12099 | ||
f507188a RK |
12100 | Tue Aug 15 17:33:05 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
12101 | ||
7393c642 RK |
12102 | * calls.c (ECF_SP_DEPRESSED): New macro. |
12103 | (calls_function_1): Treat calling sp-depressed function as alloca. | |
12104 | (emit_call_1): Don't adjust SP if calling sp-depressed function. | |
12105 | (expand_call): Set ECF_SP_DEPRESSED if TYPE_RETURNS_STACK_DEPRESSED. | |
12106 | If sp-depressed, ensure block saves and restores SP. | |
12107 | * fold-const.c (extract_muldiv): Only check TYPE_IS_SIZETYPE | |
12108 | for INTEGER_TYPE. | |
12109 | * function.c (keep_stack_depressed): New function. | |
12110 | (thread_prologue_and_epilogue_insns): Call it. | |
12111 | * print-tree.c (print_node): Use HOST_WIDE_INT_PRINT_UNSIGNED | |
12112 | to print DECL_OFFSET_ALIGN. | |
12113 | Print no-force-blk and transparent-union flags properly. | |
12114 | * stmt.c (expand_goto_internal): Don't restore stack if last block | |
12115 | and function returns with sp depressed. | |
12116 | (fixup_gotos): Likewise. | |
12117 | (save_stack_pointer): New function, from code in expand_decl. | |
12118 | (expand_decl): Call new function. | |
12119 | * tree.h (TYPE_IS_SIZETYPE): Call INTEGER_TYPE_CHECK. | |
12120 | (TYPE_RETURNS_STACK_DEPRESSED): New macro. | |
12121 | (save_stack_pointer): New declaration. | |
12122 | ||
f507188a RK |
12123 | * diagnostic.c (fatal_function): New variable. |
12124 | (set_fatal_function): New function. | |
12125 | (fatal): Call it. | |
12126 | * diagnostic.h (set_fatal_function): New declaration. | |
12127 | ||
56847207 WC |
12128 | 2000-08-15 William Cohen <wcohen@redhat.com> |
12129 | ||
12130 | * config/sh/elf.h (DWARF2_DEBUGGING_INFO): Defined. | |
12131 | (PREFERRED_DEBUGGING_TYPE): Set to dwarf2 info. | |
12132 | (DWARF2_ASM_LINE_DEBUG_INFO): Defined. | |
12133 | ||
7791b7f9 RH |
12134 | 2000-08-15 Richard Henderson <rth@cygnus.com> |
12135 | ||
12136 | * flow.c (mark_used_reg): Set reg_cond_reg appropriately. | |
12137 | ||
f99fce0c RE |
12138 | 2000-08-15 Richard Earnshaw <rearnsha@arm.com> |
12139 | ||
12140 | * arm.c (arm_function_ok_for_sibcall): New function. | |
12141 | * arm.h (FUNCTION_OK_FOR_SIBCALL): Define. | |
12142 | * arm.md (call expanders): Don't check here for calls that can't | |
12143 | be sibling calls. | |
12144 | ||
74da3101 RE |
12145 | 2000-08-15 Richard Earnshaw <rearnsha@arm.com> |
12146 | ||
12147 | * arm.md (splits generating cond_exec): Disable. | |
12148 | ||
2c210617 RE |
12149 | 2000-08-15 Richard Earnshaw <rearnsha@arm.com> |
12150 | ||
12151 | * arm/linux-elf.h (text_section): Delete declaration. | |
12152 | ||
05ed98a1 RE |
12153 | 2000-08-15 Richard Earnshaw <rearnsha@arm.com> |
12154 | ||
12155 | ARM support for unordered FP operations. | |
12156 | * arm-protos.h (arm_comparison_operator): Declare. | |
12157 | * arm.c (arm_comparison_operator): New function. | |
12158 | (arm_select_cc_mode): Add unordered comparison codes. | |
12159 | (get_arm_condition_code): Likewise. | |
12160 | (arm_final_prescan_insn): Can't handle unordered jumps that can't | |
12161 | be done in one insn. | |
12162 | * arm.h (PREDICATE_CODES): Add arm_comparison_operator. | |
12163 | * arm.md (all uses of comparison_operator): Replace with | |
12164 | arm_comparison_operator. | |
12165 | (bunordered, bordered, bugt, bunlt, bunge, bunle, buneq, bltgt): New | |
12166 | expands. | |
12167 | (arm_buneq, arm_bltgt, arm_buneq_reversed, arm_bltgt_reveresed): New | |
12168 | patterns. | |
0e5921e8 | 12169 | |
ed78c862 OP |
12170 | Tue Aug 15 00:36:36 2000 Ovidiu Predescu <ovidiu@cup.hp.com> |
12171 | ||
12172 | * gthr-posix.h: Conditionally include <sched.h>; include | |
12173 | <config.h> from libobjc/. | |
12174 | ||
4859dd36 RH |
12175 | 2000-08-14 Richard Henderson <rth@cygnus.com> |
12176 | ||
12177 | * config/i386/i386.c (legitimize_pic_address): Use Pmode | |
12178 | for all CONSTs. | |
12179 | ||
3f622353 RH |
12180 | 2000-08-14 Richard Henderson <rth@cygnus.com> |
12181 | ||
12182 | * configure.in (ia64-*): Set float_format for i386 long double. | |
12183 | ||
12184 | * real.c (GET_REAL): Treat 128-bit INTEL_EXTENDED_IEEE_FORMAT | |
12185 | as we would for i386 XFmode. | |
12186 | (PUT_REAL): Likewise. | |
12187 | (endian, ereal_atof, real_value_truncate): Likewise. | |
12188 | (ereal_isneg, toe64, etens, make_nan): Likewise. | |
12189 | * real.h (REAL_VALUE_TO_TARGET_LONG_DOUBLE): Likewise. | |
12190 | ||
12191 | * config/ia64/ia64-protos.h: Update. | |
12192 | * config/ia64/ia64.c (general_tfmode_operand): New. | |
12193 | (destination_tfmode_operand): New. | |
12194 | (tfreg_or_fp01_operand): New. | |
12195 | (ia64_split_timode): New. | |
12196 | (spill_tfmode_operand): New. | |
12197 | (ia64_expand_prologue): Use TFmode not XFmode. | |
12198 | (ia64_expand_epilogue): Likewise. | |
12199 | (ia64_function_arg): Likewise. | |
12200 | (ia64_function_arg_advance): Likewise. | |
12201 | (ia64_return_in_memory): Likewise. | |
12202 | (ia64_function_value): Likewise. | |
12203 | (ia64_print_operand): Likewise. | |
12204 | (ia64_register_move_cost): Set GR<->FR to 5. | |
12205 | (ia64_secondary_reload_class): Get GR for TImode memory op. | |
12206 | * config/ia64/ia64.h (ROUND_TYPE_SIZE): Remove. | |
12207 | (ROUND_TYPE_ALIGN): Remove. | |
12208 | (LONG_DOUBLE_TYPE_SIZE): Set to 128. | |
12209 | (INTEL_EXTENDED_IEEE_FORMAT): Define. | |
12210 | (HARD_REGNO_NREGS): Use TFmode, not XFmode. | |
12211 | (HARD_REGNO_MODE_OK): Likewise. Disallow TImode in FRs. | |
12212 | (MODES_TIEABLE_P): Use TFmode, not XFmode. | |
12213 | (CLASS_MAX_NREGS): Likewise. | |
12214 | (ASM_OUTPUT_LONG_DOUBLE): Output by 4 byte hunks. | |
12215 | (PREDICATE_CODES): Update. | |
12216 | * config/ia64/ia64.md (movti): New. | |
12217 | (movti_internal): Use a clobber for memory alternatives. | |
12218 | (reload_inti, reload_outti): New. | |
12219 | (movsfcc_astep): Predicate properly. | |
12220 | (movdfcc_astep): Likewise. | |
12221 | (movxf): Remove. | |
12222 | (movtf): New. | |
12223 | (extendsftf2, extenddftf2): New. | |
12224 | (trunctfsf2, trunctfdf2): New. | |
12225 | (floatditf2, fix_trunctfdi2): New. | |
12226 | (floatunsditf2, fixuns_trunctfdi2): New. | |
12227 | (addtf3, subtf3, multf3, abstf2): New. | |
12228 | (negtf2, nabstf2, mintf3, maxtf3): New. | |
12229 | (maddtf3, msubtf3, nmultf3, nmaddtf3): New. | |
12230 | (cmptf): New. | |
12231 | (fr_spill): Use TFmode, not XFmode. | |
12232 | (fr_restore): Likewise. | |
12233 | * config/ia64/lib1funcs.asm (__divtf3): New. | |
12234 | * config/ia64/t-ia64 (LIB1ASMFUNCS): Add it. | |
12235 | ||
e49a1d2e KG |
12236 | 2000-08-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
12237 | ||
12238 | * cse.c (fold_rtx): Avoid empty body in an if-statement. | |
0e5921e8 | 12239 | |
e49a1d2e KG |
12240 | * doloop.c (doloop_iterations_max, doloop_modify): Avoid using the |
12241 | `U' integer constant suffix. | |
12242 | ||
12243 | * dwarf2out.c (add_subscript_info): Avoid empty body in an | |
12244 | else-statement. | |
12245 | ||
12246 | * sparc/sol2.h (__enable_execute_stack): Prototype. | |
12247 | ||
78fbdbf7 DE |
12248 | 2000-08-14 David Edelsohn <edelsohn@gnu.org> |
12249 | ||
12250 | * collect2.c: Remove use of AIX import file. | |
12251 | ||
12252 | * longlong.h: Test ARCH_PWR not ARCH_POWER. | |
12253 | ||
12254 | * rs6000.c (print_operand, case 'E'): Add else. | |
12255 | ||
9a89adb8 RH |
12256 | 2000-08-14 Richard Henderson <rth@cygnus.com> |
12257 | ||
12258 | * config/ia64/ia64.md (movdi): Delay calling ia64_expand_load_address. | |
12259 | (movdi_symbolic): New. | |
12260 | ||
00e149c7 JW |
12261 | 2000-08-14 Jim Wilson <wilson@cygnus.com> |
12262 | ||
12263 | * config/ia64/ia64.h (ASM_SPEC): Pass -mconstant-gp and -mauto-pic | |
12264 | to GNU as. For Intel as, pass -M const_gp and -M no_plabel. | |
12265 | * config/ia64/linux.h (ASM_SPEC): Pass -mconstant-gp and -mauto-pic | |
12266 | to GNU as. | |
12267 | ||
2ee5437b RH |
12268 | 2000-08-14 Richard Henderson <rth@cygnus.com> |
12269 | ||
12270 | * expr.c (emit_group_load): Don't force constants into registers. | |
12271 | Special case source already in the correct mode. | |
12272 | ||
57119aa9 ZW |
12273 | 2000-08-14 Zack Weinberg <zack@wolery.cumb.org> |
12274 | ||
12275 | * configure.in: Accept *-*-linux* not just *-*-linux-gnu*. | |
12276 | * fixinc/inclhack.def: Likewise. | |
0e5921e8 | 12277 | * fixinc/mkfixinc.sh: Likewise. |
57119aa9 ZW |
12278 | * configure: Regenerate. |
12279 | * fixinc/fixincl.x: Regenerate. | |
12280 | * install.texi: Document equivalence of linux and linux-gnu. | |
12281 | ||
d9f20424 R |
12282 | Mon Aug 14 18:51:44 2000 J"orn Rennecke <amylaar@cygnus.co.uk> |
12283 | ||
12284 | * cse.c (insert_regs): Also in REG case: When finding an invalid | |
12285 | value, and we make a new quantity, make sure that it won't be | |
12286 | mistaken by for a valid one by mention_regs. | |
12287 | ||
c8fa6556 RG |
12288 |