]>
Commit | Line | Data |
---|---|---|
75d75435 UW |
1 | 2003-06-13 Ulrich Weigand <uweigand@de.ibm.com> |
2 | ||
3 | * ggc-page.c (inverse_table): Change type of mult to size_t. | |
4 | (compute_inverse): Compute inverse using size_t, not unsigned int. | |
5 | Compute inverse also for sizes larger than half a machine page. | |
6 | ||
5c20c06c JH |
7 | Fri Jun 27 18:36:12 CEST 2003 Jan Hubicka <jh@suse.cz> |
8 | ||
9 | * toplev.c (rest_of_decl_compilation): Only varpoolize argument | |
10 | when called before cgraph_optimize. | |
11 | ||
720b7001 ZW |
12 | 2003-06-27 Zack Weinberg <zack@codesourcery.com> |
13 | ||
14 | * config/darwin.h, config/elfos.h, config/i960/i960-coff.h | |
15 | * config/m68k/coff.h: ASM_FILE_START_FILE_DIRECTIVE should | |
16 | be TARGET_ASM_FILE_START_FILE_DIRECTIVE. | |
17 | ||
67f2899d JH |
18 | Fri Jun 27 17:41:16 CEST 2003 Jan Hubicka <jh@suse.cz> |
19 | ||
20 | * cgraph.c (cgraph_node, cgraph_varpool_node): Avoid re-initializing | |
21 | of known_decls. | |
22 | ||
37706dd1 HPN |
23 | 2003-06-27 Hans-Peter Nilsson <hp@axis.com> |
24 | ||
25 | * defaults.h (REGISTER_MOVE_COST): Define default here. | |
26 | * regclass.c: Don't define default REGISTER_MOVE_COST here. | |
27 | * reload.c, reload1.c: Ditto. | |
28 | ||
45751525 RE |
29 | 2003-06-27 Richard Earnshaw <rearnsha@arm.com> |
30 | ||
31 | * flags.h: Really install previous change. | |
32 | ||
2e040219 NS |
33 | 2003-06-27 Nathan Sidwell <nathan@codesourcery.com> |
34 | ||
35 | * rtl.h (emit_note): Remove FILE parameter. | |
36 | * emit-rtl.c (emit_line_note): Adjust emit_note call. | |
37 | (emit_note): Remove FILE parameter. Adjust. | |
38 | * builtins.c (expand_builtin_expect): Adjust emit_note call. | |
39 | * c-semantics.c (genrtl_scope_stmt): Likewise. | |
40 | (expand_stmt): Likewise. | |
41 | * cfglayout.c (reemit_insn_block_notes): Likewise. | |
42 | (duplicate_insn_chain): Likewise. | |
43 | * except.c (expand_eh_region_start, expand_eh_region_end, | |
44 | sjlj_emit_function_enter): Likewise. | |
45 | * explow.c (probe_stack_range): Likewise. | |
46 | * expr.c (emit_block_move_via_loop): Likewise. | |
47 | * function.c (init_function_start, expand_function_start, | |
48 | expand_function_end, thread_prologue_and_epilogue_insns): Likewise. | |
49 | * integrate.c (expand_inline_function, copy_insn_list): Likewise. | |
50 | * reg-stack.c (compensate_edge): Likewise. | |
51 | * reload1.c (reload): Likewise. | |
52 | * rtlanal.c (hoist_insn_to_edge): Likewise. | |
53 | * stmt.c (expand_fixup, expand_start_loop, expand_start_null_loop, | |
54 | expand_loop_continue_here, expand_end_loop, expand_continue_loop, | |
55 | expand_exit_loop_top_cond, expand_value_return, | |
56 | expand_start_bindings_and_block, expand_end_bindings, | |
57 | expand_decl_cleanup, expand_start_case): Likewise. | |
58 | * unroll.c (copy_loop_body | |
59 | * config/alpha/alpha.c (alpha_output_mi_thunk_osf): Likewise. | |
60 | * config/ia64/ia64.c (ia64_output_mi_thunk): Likewise. | |
61 | * config/rs6000/rs6000.c (rs6000_emit_eh_toc_restore, | |
62 | rs6000_emit_allocate_stack, rs6000_output_function_prologue, | |
63 | rs6000_output_function_epilogue, rs6000_output_mi_thunk): Likewise. | |
64 | * config/sh/sh.c (sh_output_mi_thunk): Likewise. | |
65 | * config/sparc/sparc.c (sparc_output_mi_thunk): Likewise. | |
66 | ||
bc4721b8 NS |
67 | 2003-06-27 Nathan Sidwell <nathan@codesourcery.com> |
68 | ||
69 | * c-tree.h (grokfield): Remove unused filename and line parameters. | |
70 | * c-decl.c (grokfield): Remove unused filename and line parameters. | |
71 | * c-parse.in (component_decl): Adjust field grokking rules, adjust | |
72 | grokfield calls. | |
73 | (component_declarator): Likewise. | |
74 | (component_notype_declarator): Likewise. | |
75 | * objc/objc-act.c (build_module_descriptor): Adjust grokfield | |
76 | calls. | |
77 | (build_protocol_template, build_method_prototype_list_template, | |
78 | build_method_prototype_template, build_category_template, | |
79 | build_selector_template, build_class_template, | |
80 | build_super_template, build_ivar_template, | |
81 | build_ivar_list_template, build_method_list_template, | |
82 | build_method_template, add_instance_variable): Likewise. | |
83 | ||
d51d146f KH |
84 | 2003-06-27 Kazu Hirata <kazu@cs.umass.edu> |
85 | ||
86 | * stmt.c (do_jump_if_equal): Return 0 earlier if OP1 and | |
87 | OP2 are known to be not equivalent. | |
88 | ||
6a08f7b3 DP |
89 | 2003-06-26 Devang Patel <dpatel@apple.com> |
90 | ||
91 | * final.c (debug_flush_symbol_queue): New function. | |
92 | (debug_queue_symbol): New function. | |
93 | (debug_free_queue): New function. | |
94 | (debug_nesting): New variable. | |
95 | (symbol_queue): New variable. | |
96 | (symbol_queue_index): Same. | |
97 | (symbol_queue_size): Same. | |
98 | * debug.h (debug_flush_symbol_queue): New. | |
99 | (debug_queue_symbol): New. | |
100 | (debug_free_queue): New. | |
101 | (debug_nesting): New. | |
102 | (symbol_queue_index): New. | |
103 | * dbxout.c (DBXOUT_DECR_NESTING): New macro. | |
104 | (DBXOUT_DECR_NESTING_AND_RETURN): New macro. | |
105 | (dbxout_init): Delay symbol output. | |
45751525 RE |
106 | (dbxout_global_decl): Save, set and reset TREE_USED bit around |
107 | dbxout_symbol() call. | |
6a08f7b3 DP |
108 | (dbxout_begin_function): Same. |
109 | (dbxout_finish): Free symbol queue. | |
110 | (dbxout_type): Put appropriate symbols in queue. | |
45751525 RE |
111 | (dbxout_symbol): Put info for symbol's type in queue. |
112 | Decrement/Increment nesting counts flush symbol queue appropriately. | |
6a08f7b3 DP |
113 | (dbxout_parms): Increment dbxout nesting. |
114 | (dbxout_reg_parms): Same. | |
115 | * flags.h (flag_debug_only_used_symbols): New. | |
116 | * toplev.c (flag_debug_only_used_symbols): New variable. | |
45751525 RE |
117 | (lang_independent_options): Add entries for new option |
118 | -feliminate-unused-debug-symbols. | |
6a08f7b3 DP |
119 | * common.opt: Add entry for -feliminate-unused-debug-symbols. |
120 | * opts.c (common_handle_options): Same. | |
45751525 RE |
121 | * config/rs6000/darwin.h (CC1_SPEC): Interpret -gused as |
122 | -feliminate-unused-debug-symbols. | |
123 | * doc/invoke.texi (Debugging Options): Document | |
124 | -feliminate-unused-debug-symbols. | |
720b7001 | 125 | |
6ba701c8 RS |
126 | 2003-06-26 Roger Sayle <roger@eyesopen.com> |
127 | Jakub Jelinek <jakub@redhat.com> | |
128 | ||
129 | * builtins.c (expand_builtin_sprintf): Use c_getstr and strlen to | |
130 | obtain the format string instead of using TREE_STRING_POINTER and | |
131 | TREE_STRING_LENGTH. Only optimize sprintf(dst,"%s",src) when the | |
132 | return value is unused or the length of src is a known constant. | |
133 | ||
49b83932 RH |
134 | 2003-06-26 Richard Henderson <rth@redhat.com> |
135 | ||
136 | * config/ia64/ia64.h (REGISTER_NAMES): R0 is really AP. | |
137 | ||
4e14f1f9 RH |
138 | 2003-06-26 Richard Henderson <rth@redhat.com> |
139 | ||
140 | * config/ia64/ia64.c (ia64_expand_call): Don't add ar.pfs for sibcalls. | |
141 | (ia64_split_call): Only load descriptor for GP register inputs. | |
142 | (ia64_expand_epilogue): Check current_frame_info.mask not | |
143 | current_function_is_leaf to restore ar.pfs. | |
144 | ||
f6a1f3f6 | 145 | 2003-06-26 Richard Henderson <rth@redhat.com> |
720b7001 | 146 | |
f6a1f3f6 RH |
147 | * emit-rtl.c (try_split): Append to new CALL_INSN_FUNCTION_USAGE |
148 | instead of replacing it. | |
720b7001 | 149 | |
d444b5e8 RH |
150 | 2003-06-26 Richard Henderson <rth@redhat.com> |
151 | ||
720b7001 | 152 | * flow.c (propagate_one_insn): Kill function return value |
99af0d26 RH |
153 | registers across tail calls. |
154 | ||
d444b5e8 RH |
155 | * flow.c (propagate_one_insn): Preserve live-at-end registers |
156 | across tail calls. | |
157 | ||
35d6034b R |
158 | 2003-06-26 J"orn Rennecke <joern.rennecke@superh.com> |
159 | ||
160 | * reload.c (can_reload_into): New function. | |
161 | (push_reload): Use it. | |
162 | ||
343fd2c7 KH |
163 | 2003-06-26 Kazu Hirata <kazu@cs.umass.edu> |
164 | ||
165 | * config/h8300/h8300.c (compute_a_rotate_length): Fix the | |
166 | references to the amount of a rotation. | |
167 | ||
10d6ea27 NN |
168 | 2003-06-26 Nathanael Nerode <neroden@gcc.gnu.org> |
169 | ||
170 | * config/sh/coff.h: Don't include dbxcoff.h. | |
171 | * config.gcc: List it here. | |
172 | ||
b2948a2c KH |
173 | 2003-06-26 Kazu Hirata <kazu@cs.umass.edu> |
174 | ||
175 | * postreload.c (reload_cse_simplify_set): Call cselib_lookup | |
176 | earlier. Don't check if SRC is a constant. | |
177 | ||
15e35479 KH |
178 | 2003-06-26 Kazu Hirata <kazu@cs.umass.edu> |
179 | ||
180 | * Makefile.in (OBJS): Add postreload.o. | |
181 | Remove cselib.h from the dependency list for reload1.o. | |
182 | Add a dependency list for postreload.o. | |
183 | * reload.h: Change the comment for the prototype of | |
184 | reload_cse_regs. | |
185 | * reload1.c: Don't include cselib.h. | |
186 | (reload_cse_regs): Move to postreload.c | |
187 | (reload_cse_regs_1): Likewise. | |
188 | (reload_cse_noop_set_p): Likewise. | |
189 | (reload_cse_simplify_set): Likewise. | |
190 | (reload_cse_simplify_operands): Likewise. | |
191 | (RELOAD_COMBINE_MAX_USES): Likewise. | |
192 | (reload_combine_ruid): Likewise. | |
193 | (LABEL_LIVE): Likewise. | |
194 | (reload_combine): Likewise. | |
195 | (reload_combine_note_use): Likewise. | |
196 | (reload_combine_note_store): Likewise. | |
197 | (reg_set_luid): Likewise. | |
198 | (reg_offset): Likewise. | |
199 | (reg_base_reg): Likewise. | |
200 | (reg_mode): Likewise. | |
201 | (move2add_luid): Likewise. | |
202 | (move2add_last_label_luid): Likewise. | |
203 | (MODES_OK_FOR_MOVE2ADD): Likewise. | |
204 | (reload_cse_move2add): Likewise. | |
205 | (move2add_note_store): Likewise. | |
206 | (reload_cse_simplify): Likewise. | |
207 | * postreload.c: New. | |
208 | ||
0e8a9ede KH |
209 | 2003-06-26 Kazu Hirata <kazu@cs.umass.edu> |
210 | ||
211 | * config/avr/avr.c (final_prescan_insn): Remove support for | |
212 | -mrtl. | |
213 | * config/avr/avr.h (MASK_RTL_DUMP): Remove. | |
214 | (TARGET_RTL_DUMP): Likewise. | |
215 | (TARGET_SWITCHES): Remove -mrtl. | |
216 | ||
caf7f21a KH |
217 | 2003-06-26 Kazu Hirata <kazu@cs.umass.edu> |
218 | ||
219 | * config/h8300/h8300-protos.h: Change emit_a_rotate to | |
220 | output_a_rotate. Add a prototype for compute_a_rotate_length. | |
221 | * config/h8300/h8300.c (emit_a_rotate): Change to | |
222 | output_a_rotate. | |
223 | (compute_a_rotate_length): New. | |
224 | (h8300_adjust_insn_length): Remove. | |
225 | * config/h8300/h8300.h (ADJUST_INSN_LENGTH): Remove. | |
226 | * config/h8300/h8300.md (adjust_length): Remove. | |
227 | (*rotlqi3_1): Use output_a_rotate and compute_a_rotate_length. | |
228 | (*rotlhi3_1): Likewise. | |
229 | (*rotlsi3_1): Likewise. | |
230 | ||
f5416098 RS |
231 | 2003-06-26 Roger Sayle <roger@eyesopen.com> |
232 | Richard Henderson <rth@redhat.com> | |
233 | ||
234 | * builtins.c (expand_builtin_mathfn): Always stabilize the argument | |
235 | list against re-evaluation. If expand_unop fails, call expand_call | |
236 | with the stabilized argument list rather than return NULL_RTX. | |
237 | (expand_builtin_mathfn2): Likewise, always stabilize the argument | |
238 | list, and call expand_call ourselves if expand_binop fails. | |
239 | ||
6dc208a1 EB |
240 | 2003-06-26 Eric Botcazou <ebotcazou@libertysurf.fr> |
241 | ||
242 | PR optimization/11210 | |
243 | * fold-const (decode_field_reference): Strip only NOPs that | |
244 | don't affect the sign. | |
245 | ||
603ff6b5 DD |
246 | 2003-06-26 Dhananjay Deshpande <dhananjayd@kpitcummins.com> |
247 | ||
248 | * gcc/config/sh/sh.md (push_fpscr): Enable for TARGET_SH2E. | |
249 | (pop_fpscr, fpu_switch): Likewise. | |
250 | ||
af166e5d ZD |
251 | 2003-06-26 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
252 | ||
253 | * value-prof.c: New. | |
254 | * value-prof.h: New. | |
255 | * Makefile.in (value-prof.o): New. | |
256 | (LIBGCOV): Add _gcov_merge_single and _gcov_merge_delta | |
257 | (profile.o): Add value-prof.h and tree.h dependency. | |
258 | * flags.h (flag_profile_values): Declare. | |
259 | * gcov-io.h (GCOV_COUNTERS, GCOV_COUNTER_NAMES, GCOV_MERGE_FUNCTIONS): | |
260 | Add new counters. | |
261 | (GCOV_COUNTER_V_INTERVAL, GCOV_COUNTER_V_POW2, GCOV_COUNTER_V_SINGLE, | |
262 | GCOV_COUNTER_V_DELTA): New counter sections. | |
263 | (__gcov_merge_single, __gcov_merge_delta): Declare. | |
264 | * flow.c (mark_used_regs): Set subregs_of_mode only when the | |
265 | structure is initialized. | |
266 | * libgcov.c (__gcov_merge_single, __gcov_merge_delta): New functions. | |
267 | * profile.c: Include value-prof.h and tree.h. | |
268 | (gen_interval_profiler, gen_pow2_profiler, gen_one_value_profiler, | |
269 | gen_const_delta_profiler, instrument_values): New static functions. | |
270 | (get_exec_counts): Fix comment. | |
271 | (branch_prob): Invoke instrument_values. | |
272 | * toplev.c (flag_profile_values): New flag. | |
273 | * doc/invoke.texi (-fprofile-values): Document. | |
274 | ||
275 | 2003-06-26 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> | |
ff25ef99 ZD |
276 | |
277 | * Makefile.in (cfgrtl.o): Add expr.h dependency. | |
278 | * cfgrtl.c: Include expr.h. | |
279 | (mark_killed_regs, safe_insert_insn_on_edge): New | |
280 | functions. | |
281 | * config/i386/i386.h (AVOID_CCMODE_COPIES): Define. | |
282 | * basic-block.h (safe_insert_insn_on_edge): Declare. | |
283 | ||
9eee5e72 NB |
284 | 2003-06-26 Neil Booth <neil@daikokuya.co.uk> |
285 | ||
286 | * c-opts.c (missing_arg): Make non-static. | |
287 | (c_common_handle_option): Don't check for missing arguments. | |
288 | * opts.c (handle_option): Check for missing arguments. | |
289 | ||
09ec461d DE |
290 | 2003-06-26 David Edelsohn <edelsohn@gnu.org> |
291 | ||
292 | * config/rs6000/power4.md (power4-veccomplex): Correct latency. | |
293 | ||
beda3471 LR |
294 | 2003-06-25 Loren James Rittle <ljrittle@acm.org> |
295 | ||
296 | * configure.in (ld_vers): Portability [sed]. | |
297 | * configure: Regenerate with autoconf213. | |
298 | ||
22c7c85e L |
299 | 2003-06-25 H.J. Lu <hongjiu.lu@intel.com> |
300 | ||
301 | * doc/extend.texi: Document new builtin functions for Intel | |
302 | Prescott New Intrunctions. | |
303 | ||
304 | * doc/invoke.texi: Document new command-line options, -mpni and | |
305 | -mno-pni, for Intel Prescott New Intrunctions. | |
306 | ||
307 | * config.gcc (extra_headers): Add pmmintrin.h for i[34567]86-*-*. | |
308 | ||
309 | * config/i386/i386.c (override_options): Turn on MASK_SSE2 | |
310 | for -mpni. Turn on MASK_SSE for -msse2. | |
311 | (bdesc_2arg): Add PNI builtins with 2 args. | |
312 | (bdesc_1arg): Add PNI builtins with 1 arg. | |
313 | (ix86_init_mmx_sse_builtins): Handle PNI builtins. | |
314 | (ix86_expand_builtin): Likewise. | |
315 | ||
316 | * config/i386/i386.h (MASK_3DNOW, MASK_3DNOW_A, | |
317 | MASK_128BIT_LONG_DOUBLE, MASK_64BIT, MASK_MS_BITFIELD_LAYOUT, | |
318 | MASK_TLS_DIRECT_SEG_REFS): Renumbered. | |
319 | (TARGET_PNI): New. | |
320 | (TARGET_SWITCHES): Don't enable MASK_SSE for -msse2 here. Add | |
321 | -mpni and -mno-pni. | |
322 | (TARGET_CPU_CPP_BUILTINS): Defined __PNI__ for PNI. | |
323 | (ix86_builtins): Add PNI builtins. | |
324 | (config/i386/i386.md): Add PNI patterns. | |
325 | ||
326 | * config/i386/pmmintrin.h: New file. | |
327 | ||
7f8b3eb0 KH |
328 | 2003-06-25 Kazu Hirata <kazu@cs.umass.edu> |
329 | ||
330 | * config/h8300/h8300.md (call): Fix the insn lengths. | |
331 | (call_value): Likewise. | |
332 | ||
4d7d0451 JH |
333 | Thu Jun 26 00:13:35 CEST 2003 Jan Hubicka <jh@suse.cz> |
334 | ||
335 | * c-common.c (handle_used_attribute): Use mark_referenced. | |
336 | * varasm.c (mark_referenced): Break out from ... | |
337 | (assemble_name): ... here. | |
338 | * tree.h (mark_referenced): Declare. | |
339 | ||
6322fdd8 WB |
340 | 2003-06-25 Wolfgang Bangerth <bangerth@dealii.org> |
341 | ||
342 | * gccbug.in: Add PCH to list of categories. | |
343 | ||
48c4721e MS |
344 | 2003-06-25 Martin Schaffner <schaffner@gmx.li> |
345 | ||
346 | * cppfiles.c: Clarify comments. | |
347 | * cpphash.h: Likewise. | |
348 | * cpplib.h: Likewise. | |
349 | * cppmacro.c: Likewise. | |
350 | * mkdeps.h: Likewise. | |
351 | ||
f18754d6 NB |
352 | 2003-06-25 Neil Booth <neil@daikokuya.co.uk> |
353 | ||
354 | * c-opts.c (complain_wrong_lang, write_langs): Remove. | |
355 | (c_common_handle_option): Complaints about wrong language are | |
356 | handled in opts.c now. | |
357 | * opts.c (complain_wrong_lang, write_langs, handle_options): New. | |
358 | (find_opt): Fix thinko. | |
359 | (handle_option): Update prototype. Complain about switches for | |
360 | a different front end. | |
361 | * opts.h (lang_names, handle_options): New. | |
362 | (handle_option): Remove. | |
363 | * opts.sh: Write out language names array. | |
364 | * toplev.c (parse_options_and_default_flags): Use handle_options. | |
365 | ||
37f22004 L |
366 | 2003-06-25 H.J. Lu <hongjiu.lu@intel.com> |
367 | ||
368 | * config/i386/i386.c (MASK_SSE1): Removed. | |
369 | (MASK_SSE164): Removed. | |
370 | (MASK_SSE264): Removed. | |
371 | (bdesc_2arg): Replace MASK_SSE1 with MASK_SSE. Replace | |
372 | MASK_SSE164 with MASK_SSE | MASK_64BIT. Replace MASK_SSE264 | |
373 | with MASK_SSE2 | MASK_64BIT. | |
374 | (bdesc_1arg): Likewise. | |
375 | (ix86_init_mmx_sse_builtins): Likewise. | |
376 | ||
377 | * config/i386/i386.h (TARGET_SSE): Remove MASK_SSE2. | |
378 | (TARGET_SWITCHES): Enable both MASK_SSE and MASK_SSE2 for | |
379 | -msse2. | |
380 | ||
85f015e1 KG |
381 | 2003-06-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
382 | ||
383 | * hwint.h (HOST_WIDE_INT_PRINT, HOST_WIDE_INT_PRINT_C): New macros. | |
384 | (HOST_WIDE_INT_PRINT_DEC_SPACE, | |
385 | HOST_WIDE_INT_PRINT_UNSIGNED_SPACE, | |
386 | HOST_WIDEST_INT_PRINT_DEC_SPACE, | |
387 | HOST_WIDEST_INT_PRINT_UNSIGNED_SPACE): Delete. | |
388 | (HOST_WIDE_INT_PRINT_DEC, HOST_WIDE_INT_PRINT_DEC_C, | |
389 | HOST_WIDE_INT_PRINT_UNSIGNED, HOST_WIDE_INT_PRINT_HEX): Define in | |
390 | terms of HOST_WIDE_INT_PRINT and possibly HOST_WIDE_INT_PRINT_C. | |
391 | ||
392 | * final.c (asm_fprintf): Use HOST_WIDE_INT_PRINT. | |
393 | * ra-debug.c (dump_static_insn_cost): Likewise. | |
394 | ||
27847754 NC |
395 | 2003-06-26 Nick Clifton <nickc@redhat.com> |
396 | ||
397 | * config/arm/arm.h (BIGGEST_FIELD_ALIGNMENT): Define instead | |
398 | of ADJUST_FIELD_ALIGN if IN_TARGET_LIBS. | |
720b7001 | 399 | Replace occurances of '???' with 'XXX' incase they are |
27847754 NC |
400 | mistaken for trigraphs. |
401 | (THUMB_PRINT_OPERAND_ADDRESS): abort if a compound address | |
402 | does not have a register for the first operand. | |
720b7001 | 403 | |
b1dcf523 DD |
404 | 2003-06-25 Dhananjay Deshpande <dhananjayd@kpitcummins.com> |
405 | ||
406 | * config/sh/sh.c (sh_register_move_cost): | |
407 | Add case for moving between MAC_REGS. | |
408 | ||
2896d056 ZW |
409 | 2003-06-25 Zack Weinberg <zack@codesourcery.com> |
410 | ||
411 | PR 10178 | |
412 | * langhooks.h (struct lang_hooks): Add no_body_blocks bool. | |
413 | * langhooks-def.h (LANG_HOOKS_NO_BODY_BLOCKS): New; default false. | |
414 | * c-lang.c, objc/objc-lang.c: Override LANG_HOOKS_NO_BODY_BLOCKS | |
415 | to true. | |
416 | * stmt.c (is_body_block): If lang_hooks.no_body_blocks, always | |
417 | return 0. | |
418 | ||
8f7193b8 KG |
419 | 2003-06-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
420 | ||
421 | * Makefile.in (bt-load.o): Depend on $(TM_P_H). | |
422 | * bt-load.c: Include "tm_p.h". | |
423 | ||
f5139cc5 KH |
424 | 2003-06-25 Kazu Hirata <kazu@cs.umass.edu> |
425 | ||
426 | * config/h8300/h8300.c (compute_mov_length): Adjust for the | |
427 | new optimization. | |
428 | * config/h8300/h8300.md (*movsi_h8300): Optimize the load of | |
429 | an SImode constant whose upper and lower are the same. | |
430 | ||
380e1984 JH |
431 | Wed Jun 25 11:31:59 CEST 2003 Jan Hubicka <jh@suse.cz> |
432 | ||
433 | * varasm.c (assemble_name): Mark needed variables even when | |
434 | global info is ready. | |
435 | ||
3f8b659d JQ |
436 | 2003-06-24 Jerry Quinn <jlquinn@optonline.net> |
437 | ||
438 | PR other/11280 | |
439 | * gcc/doc/invoke.texi (Optimization Options): Remove -Os from | |
440 | -freorder-functions description. | |
441 | ||
a53efda2 JZ |
442 | 2003-06-25 Josef Zlomek <zlomekj@suse.cz> |
443 | ||
444 | * dwarf2out.c (gen_field_die): Return if type of decl is error mark. | |
445 | ||
0bd95603 NB |
446 | 2003-06-25 Neil Booth <neil@daikokuya.co.uk> |
447 | ||
448 | * opts.c (common_handle_option): Add missing break;s. | |
449 | ||
7948a9ea KH |
450 | 2003-06-24 Kazu Hirata <kazu@cs.umass.edu> |
451 | ||
452 | * config/h8300/h8300-protos.h: Add a prototype for | |
453 | compute_mov_length. | |
454 | * config/h8300/h8300.c (compute_mov_length): New. | |
455 | * config/h8300/h8300.md (*movqi_h8300): Use it. | |
456 | (*movqi_h8300hs): Likewise. | |
457 | (movstrictqi): Likewise. | |
458 | (*movhi_h8300): Likewise. | |
459 | (*movhi_h8300hs): Likewise. | |
460 | (movstricthi): Likewise. | |
461 | (*movsi_h8300): Likewise. | |
462 | (*movsf_h8300): Likewise. | |
463 | (*movsi_h8300hs): Likewise. | |
464 | (*movsf_h8300hs): Likewise. | |
465 | ||
e5b0e711 KH |
466 | 2003-06-24 Kazu Hirata <kazu@cs.umass.edu> |
467 | ||
468 | * jump.c (next_nondeleted_insn): Remove. | |
469 | * rtl.h: Remove the prototype for next_nondeleted_insn. | |
470 | ||
b9ba01a1 RS |
471 | 2003-06-24 Roger Sayle <roger@eyesopen.com> |
472 | ||
473 | PR optimization/11311 | |
474 | * builtins.c (powi_cost): Fix typo. The number of multiplications | |
475 | required is the number to reduce the argument, result, plus the | |
476 | cost of calculating the residual, val [not n, the original value]. | |
477 | ||
46512942 RS |
478 | 2003-06-24 Roger Sayle <roger@eyesopen.com> |
479 | ||
480 | * config/alpha/osf5.h (TARGET_C99_FUNCTIONS): Define. | |
481 | ||
bfa0c519 RH |
482 | 2003-06-24 Richard Henderson <rth@redhat.com> |
483 | (blame to: Loren James Rittle <ljrittle@acm.org>) | |
484 | ||
485 | * real.h (ieee_extended_intel_96_round_53_format): New. | |
486 | * real.c (ieee_extended_intel_96_round_53_format): New. | |
487 | * config/i386/freebsd.h (SUBTARGET_OVERRIDE_OPTIONS): Use it | |
488 | for XFmode and TFmode. | |
489 | ||
61f33c67 KH |
490 | 2003-06-24 Kazu Hirata <kazu@cs.umass.edu> |
491 | ||
492 | * config/h8300/h8300.md (4 anonymous patterns): Give internal | |
493 | names. | |
494 | (movsi_h8300): Change the name to *movsi_h8300. | |
495 | (movsi_h8300hs): Change the name to *movsi_h8300hs. | |
496 | (movsf_h8300): Change the name to *movsf_h8300. | |
497 | (movsf_h8300hs): Change the name to *movsf_h8300hs. | |
498 | ||
946137a0 JJ |
499 | 2003-06-24 Jakub Jelinek <jakub@redhat.com> |
500 | ||
501 | * builtins.c (expand_builtin_strcpy): Don't evaluate side-effects in | |
502 | src twice. | |
503 | ||
6d1cb95f R |
504 | 2003-06-24 J"orn Rennecke <joern.rennecke@superh.com> |
505 | ||
506 | Back out these patches: | |
507 | 2003-06-02 J"orn Rennecke <joern.rennecke@superh.com> | |
2896d056 ZW |
508 | * sh.h (OLD_ARG_MODE): New macro. |
509 | (FUNCTION_ARG_ADVANCE, FUNCTION_ARG_PASS_BY_REFERENCE): Use it. | |
510 | (FUNCTION_ARG_1): Break out of: | |
511 | (FUNCTION_ARG). Use OLD_ARG_MODE. | |
6d1cb95f | 512 | 2003-06-06 J"orn Rennecke <joern.rennecke@superh.com> |
2896d056 ZW |
513 | * sh.h (FUNCTION_ARG_1): Consistently use NEW_MODE for the mode |
514 | of the generated register. | |
6d1cb95f R |
515 | |
516 | * sh.h (FUNCTION_ARG_SCmode_WART): Define. | |
517 | (FUNCTION_ARG): Unless FUNCTION_ARG_SCmode_WART is defined and | |
518 | an even number of floating point regs are in use, use the same | |
2896d056 | 519 | sequence of argument passing registers for SCmode as would be |
6d1cb95f R |
520 | used for two SFmode values. |
521 | * sh.c (sh_va_arg): If FUNCTION_ARG_SCmode_WART is defined, | |
522 | swap real / imaginary parts in incoming SCmode values passed | |
523 | in registers. | |
524 | ||
e7891c4b FH |
525 | 2003-06-24 Falk Hueffner <falk.hueffner@student.uni-tuebingen.de> |
526 | ||
2896d056 ZW |
527 | PR target/11260 |
528 | * config/alpha/alpha.md (sqrtdf2): Fix operand substitution. | |
e7891c4b | 529 | |
e69529cd JH |
530 | Tue Jun 24 18:49:33 CEST 2003 Jan Hubicka <jh@suse.cz> |
531 | ||
532 | * Makefile.in (cgraph.o): Depend on output.h, not depend on | |
533 | tree-inline.h | |
534 | * cgraph.c: Do not include tree-inline.h; include output.h | |
535 | (known_fns): Rename to ... | |
536 | (known_decls): ... this one; update all uses. | |
537 | (cgraph_varpool_hash): New static variable. | |
538 | (cgraph_varpool_n_nodes, cgraph_varpool_nodes_queue): New global | |
539 | variables. | |
540 | (cgraph_varpool_hash_node, eq_cgraph_varpool_node, cgraph_varpool_node, | |
541 | cgraph_varpool_node_for_identifier, cgraph_varpool_mark_needed_node, | |
542 | cgraph_varpool_finalize_decl, cgraph_varpool_assemble_pending_decls): | |
543 | New functions. | |
544 | * cgraph.h (cgraph_varpool_node): New structure. | |
545 | (cgraph_varpool_n_nodes, cgraph_varpool_nodes_queue): Declare. | |
546 | (cgraph_varpool_node, cgraph_varpool_node_for_identifier, | |
547 | cgraph_varpool_finalize_decl, cgraph_varpool_mark_needed_node, | |
548 | cgraph_varpool_asemble_pending_decls): Declare. | |
549 | * cgraphunit.c (record_call_1): Notice variable references. | |
550 | (cgraph_finalize_compilation_unit): Assemble pending variables. | |
551 | * toplev.c (wrapup_global_declarations): Use varpool. | |
552 | (compile_file): Assemble pending declarations. | |
553 | (rest_of_decl_compilation): Use varpool in unit-at-a-time mode. | |
554 | * varasm.c (assemble_name): Notice varpool references. | |
555 | ||
d35543c0 JH |
556 | Tue Jun 24 13:52:11 CEST 2003 Jan Hubicka <jh@suse.cz> |
557 | ||
558 | * langhooks-def.h (LANG_HOOKS_PREPARE_ASSEMBLE_VARIABLE): New macro. | |
559 | * langhooks.h (lang_hooks_for_decls): Add prepare_assemble_variable. | |
560 | * varasm.c (assemble_variable): Call prepare_assemble_variable. | |
561 | ||
2082e02f RS |
562 | 2003-06-23 Roger Sayle <roger@eyesopen.com> |
563 | ||
564 | * builtins.c (expand_builtin): Use expand_builtin_pow to expand | |
565 | calls for pow, powf, powl and their __builtin_ variants. | |
566 | (expand_builtin_pow): If the second argument is a constant | |
567 | integer and compiling with -ffast-math, use expand_powi to | |
568 | generate RTL if powi_cost is less than POWI_MAX_MULTS. | |
569 | (powi_cost): New function to return the number of multiplications | |
570 | necessary to evaluate an Nth power, for integer constant N. | |
571 | (expand_powi): New function to expand the RTL for evaluating | |
572 | the Nth power of a floating point value, for integer constant N. | |
573 | ||
574 | * doc/tm.texi (POWI_MAX_MULTS): Document new target macro. | |
575 | ||
1668aabc JH |
576 | Mon Jun 23 23:07:35 CEST 2003 Jan Hubicka <jh@suse.cz> |
577 | ||
578 | * cgraph.c (cgraph_nodes_queue): Declare. | |
579 | (eq_node): Take identifier as p2. | |
580 | (cgraph_node): Update htab_find_slot_with_hash call. | |
581 | (cgraph_node_for_identifier): New. | |
582 | (cgraph_mark_needed_node): Move here from cgraphunit.c. | |
583 | * cgraph.h (cgraph_nodes_queue): Declare. | |
584 | (cgraph_node_for_identifier): Declare. | |
585 | * cgraphunit.c (cgraph_finalize_function): Collect entry points here | |
586 | instead of in cgraph_finalize_compilation_unit; constructors and | |
587 | destructors are entry points. | |
2896d056 | 588 | (cgraph_finalize_compilation_unit): Reorganize debug outout; |
1668aabc JH |
589 | examine nested functions after lowerng; call collect_functions hook. |
590 | (cgraph_mark_local_functions): DECL_COMDAT functions are not local. | |
591 | (cgraph_finalize_compilation_unit): Do not collect entry points. | |
592 | * varasm.c: Include cgraph.h | |
593 | (assemble_name): Mark referenced identifier as needed. | |
594 | ||
595 | * cgraphunit.c (record_call_1): Use get_callee_fndecl. | |
596 | ||
89ce1c8f JJ |
597 | 2003-06-23 Jakub Jelinek <jakub@redhat.com> |
598 | ||
599 | * config/i386/i386.c (x86_output_mi_thunk): Don't pass MEM to %P0, | |
600 | just SYMBOL_REF. | |
601 | * config/s390/s390.c (s390_output_mi_thunk): Avoid .plt in -m31 | |
602 | mode, as it requires pic register loaded. | |
603 | ||
604 | * varasm.c (resolve_unique_section): Remove prototype. No longer | |
605 | static. | |
606 | * tree.h (resolve_unique_section): New prototype. | |
607 | ||
032cb602 AS |
608 | 2003-06-23 Andreas Schwab <schwab@suse.de> |
609 | ||
610 | PR debug/9905 | |
611 | * dwarf2out.c (loc_descriptor_from_tree): Handle MODIFY_EXPR by | |
612 | recursing through first argument. | |
613 | ||
b20b352b KH |
614 | 2003-06-23 Kazu Hirata <kazu@cs.umass.edu> |
615 | ||
616 | * ChangeLog.1: Fix a typo. | |
617 | * cfgrtl.c: Fix comment typos. | |
618 | * dwarf2out.c: Likewise. | |
619 | * expmed.c: Likewise. | |
620 | * genrecog.c: Likewise. | |
621 | * jump.c: Likewise. | |
622 | * rtlanal.c: Likewise. | |
623 | * ssa-dce.c: Likewise. | |
624 | * toplev.c: Likewise. | |
625 | ||
63519d23 KH |
626 | 2003-06-23 Kazu Hirata <kazu@cs.umass.edu> |
627 | ||
628 | * doc/extend.texi: Fix typos. | |
629 | * doc/md.texi: Likewise. | |
630 | * doc/tm.texi: Likewise. | |
631 | ||
71c0e7fc KH |
632 | 2003-06-23 Kazu Hirata <kazu@cs.umass.edu> |
633 | ||
634 | * basic-block.h: Fix comment formatting. | |
635 | * bt-load.c: Likewise. | |
636 | * builtins.c: Likewise. | |
637 | * c-common.c: Likewise. | |
638 | * c-common.h: Likewise. | |
639 | * c-format.c: Likewise. | |
640 | * coverage.c: Likewise. | |
641 | * cpplib.h: Likewise. | |
642 | * cpppch.c: Likewise. | |
643 | * dbxout.c: Likewise. | |
644 | * diagnostic.c: Likewise. | |
645 | * dwarf2out.c: Likewise. | |
646 | * expr.c: Likewise. | |
647 | * fold-const.c: Likewise. | |
648 | * function.c: Likewise. | |
649 | * gcc.c: Likewise. | |
650 | * gcov-io.c: Likewise. | |
651 | * gcov-io.h: Likewise. | |
652 | * gcov.c: Likewise. | |
653 | * profile.c: Likewise. | |
654 | * real.h: Likewise. | |
655 | * sched-deps.c: Likewise. | |
656 | ||
164131ce | 657 | 2003-06-23 Roger Sayle <roger@eyesopen.com> |
2896d056 | 658 | Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
164131ce GP |
659 | |
660 | * doc/contrib.texi (Contributors): Add a note on testing and | |
661 | remove duplicates from testers list. | |
662 | ||
a3c18e4f NC |
663 | 2003-06-23 Nick Clifton <nickc@redhat.com> |
664 | ||
665 | * read-rtl.c (read_braced_string): Check for EOF. If | |
666 | encountered issue an error message. | |
667 | ||
4319ef2a KH |
668 | 2003-06-23 Kazu Hirata <kazu@cs.umass.edu> |
669 | ||
670 | * doc/invoke.texi: Document dump options, dT and dW. | |
671 | ||
8116809c KH |
672 | 2003-06-23 Kazu Hirata <kazu@cs.umass.edu> |
673 | ||
674 | * genrecog.c (pred_table): Remove the entry for | |
675 | mode_independent_operand. | |
676 | * recog.c (next_insns_test_no_inequality): Remove. | |
677 | (mode_independent_operand): Likewise. | |
678 | * recog.h: Remove the prototype for mode_independent_operand. | |
679 | ||
802a9907 KH |
680 | 2003-06-22 Kazu Hirata <kazu@cs.umass.edu> |
681 | ||
682 | * config/h8300/h8300.c (output_simode_bld): Use rotxl.l to | |
683 | store into bit 0. | |
684 | * config/h8300/h8300.md (*extzv_1_r_h8300hs): Change cc of the | |
685 | second alternative to set_znv. | |
686 | (*extzv_1_r_inv_h8300hs): Likewise. | |
687 | ||
5408ac6c HPN |
688 | 2003-06-23 Hans-Peter Nilsson <hp@bitrange.com> |
689 | ||
690 | * configure.in (in_tree_gas): Find out here whether GAS is ELF, | |
691 | set in_tree_gas_is_elf accordingly. | |
692 | (in_tree_ld): Find out whether LD emulation is ELF, set | |
693 | in_tree_ld_is_elf accordingly. | |
694 | (gcc_cv_as_subsections, gcc_cv_as_hidden, gcc_cv_as_leb128) | |
695 | (gcc_cv_as_eh_frame, gcc_cv_as_shf_merge) | |
696 | (gcc_cv_as_dwarf2_debug_line, gcc_cv_as_gdwarf2_flag) | |
697 | (gcc_cv_as_gstabs_flag): Use $in_tree_gas_is_elf instead of | |
698 | grepping gas/Makefile. | |
699 | (gcc_cv_ld_ro_rw_mix, gcc_cv_ld_eh_frame_hdr, gcc_cv_ld_pie): Use | |
700 | $in_tree_ld_is_elf instead of grepping ld/Makefile. | |
701 | * configure: Regenerate. | |
702 | ||
8e0952f0 RS |
703 | 2003-06-22 Roger Sayle <roger@eyesopen.com> |
704 | ||
705 | * builtins.c (expand_builtin_mathfn_2): Use tree_cons to build | |
706 | up the stabilized argument list, not build_tree_list. | |
707 | (expand_builtin_strcpy): Construct new argument list manually | |
708 | instead of using chainon to modify the original argument list. | |
709 | (expand_builtin_stpcpy): Construct new argument list manually | |
710 | instead of using copy_list and chainon. | |
711 | (expand_builtin_sprintf): New function. Optimize calls to | |
712 | sprintf when the format is "%s" or doesn't contain a '%'. | |
713 | (expand_builtin): Expand BUILT_IN_SPRINTF using the new function | |
714 | expand_builtin_sprintf. | |
715 | ||
4c4d143a AS |
716 | 2003-06-22 Andreas Schwab <schwab@suse.de> |
717 | ||
718 | * function.c (set_insn_locators): Mark as unused. | |
719 | ||
d302c9d6 NB |
720 | 2003-06-22 Neil Booth <neil@daikokuya.co.uk> |
721 | ||
722 | * common.opt: Add -finline-limit. | |
723 | * opts.c (common_handle_options): Handle it. | |
724 | * opts.sh: Temporary kludge for -finline-limit. | |
725 | * toplev.c (decode_f_option, independent_decode_option): Die. | |
726 | (parse_options_and_default_flags): No independent_decode_option. | |
727 | ||
b0a31300 AJ |
728 | 2003-06-22 Andreas Jaeger <aj@suse.de> |
729 | ||
730 | * calls.c (emit_call_1): Readd lost ATTRIBUTE_UNUSED. | |
731 | ||
34695841 KH |
732 | 2003-06-22 Kazu Hirata <kazu@cs.umass.edu> |
733 | ||
734 | * doc/invoke.texi: Document dumps, .btl, .cfg, and .bypass. | |
735 | ||
c359831b AS |
736 | 2003-06-22 Andreas Schwab <schwab@suse.de> |
737 | ||
738 | * doc/invoke.texi: Remove leading `-' from options in index. | |
739 | ||
cc0efd0b KH |
740 | 2003-06-22 Kazu Hirata <kazu@cs.umass.edu> |
741 | ||
742 | * bt-load.c: Follow spelling conventions. | |
743 | ||
0e9cbd11 KH |
744 | 2003-06-22 Kazu Hirata <kazu@cs.umass.edu> |
745 | ||
746 | * expr.c (emit_move_insn_1): Fix a comment typo. | |
747 | ||
7fedea11 KH |
748 | 2003-06-22 Kazu Hirata <kazu@cs.umass.edu> |
749 | ||
750 | * doc/invoke.texi: Alphabetize dump options. | |
751 | ||
79250062 KH |
752 | 2003-06-22 Kazu Hirata <kazu@cs.umass.edu> |
753 | ||
754 | * doc/invoke.texi: Remove a duplicate -dk. | |
755 | ||
b55fe87e KH |
756 | 2003-06-22 Kazu Hirata <kazu@cs.umass.edu> |
757 | ||
758 | * doc/invoke.texi: Update dump file names. | |
759 | ||
21299dbd ZW |
760 | 2003-06-22 Zack Weinberg <zack@codesourcery.com> |
761 | ||
762 | * config/i370/i370.c, config/i370/i370.h: Use HOST_CHARSET_ASCII | |
763 | and HOST_CHARSET_EBCDIC, not HC_ASCII and HC_EBCDIC. | |
764 | ||
3b9cd5c8 KH |
765 | 2003-06-22 Kazu Hirata <kazu@cs.umass.edu> |
766 | ||
767 | * doc/rtl.texi: Fix the @findex for pre_modify. | |
768 | ||
d329e058 AJ |
769 | 2003-06-22 Andreas Jaeger <aj@suse.de> |
770 | ||
771 | * caller-save.c: Convert to ISO C90. | |
772 | * calls.c: Likewise. | |
773 | * cfg.c: Likewise. | |
774 | * cfganal.c: Likewise. | |
775 | * cfgbuild.c: Likewise. | |
776 | * cfgcleanup.c: Likewise. | |
777 | * cfghooks.c: Likewise. | |
778 | * cfglayout.c: Likewise. | |
779 | * cfglayout.h: Likewise. | |
780 | * cfgloop.c: Likewise. | |
781 | * cfgloop.h: Likewise. | |
782 | * cfgloopanal.c: Likewise. | |
783 | * cfgloopmainip.c: Likewise. | |
784 | * cfgrtl.c: Likewise. | |
785 | ||
84edd42c RE |
786 | 2003-06-22 Richard Earnshaw <rearnsha@arm.com> |
787 | ||
788 | * arm.h (BIGGEST_ALIGNMENT): Use TARGET_REALLY_IWMMXT for selecting | |
789 | 64-bit alignment. | |
790 | ||
24391720 RE |
791 | 2003-06-22 Richard Earnshaw <rearnsha@arm.com> |
792 | ||
793 | * arm.md (all call_value patterns): Remove register constraints on | |
794 | value operand. | |
795 | ||
6ff3a151 NB |
796 | 2003-06-22 Neil Booth <neil@daikokuya.co.uk> |
797 | ||
798 | * common.opt: More -f switches. | |
799 | * opts.c (common_handle_options): Handle them. | |
800 | * toplev.c (time_report): Make extern. | |
801 | (f_options): USe flag_dummy. | |
802 | (decode_f_option): No need to use f_options now. | |
803 | * toplev.h (flag_cprop_registers, flag_ssa, flag_ssa_ccp, | |
804 | flag_ssa_dce, time_report, flag_new_regalloc): Make extern. | |
805 | ||
3346b668 AJ |
806 | 2003-06-22 Andreas Jaeger <aj@suse.de> |
807 | ||
2f6e4e97 AJ |
808 | * c-lex.c: Convert to ISO C90. |
809 | * c-objc-common.c: Likewise. | |
810 | * c-opts.c: Likewise. | |
811 | * c-pch.c: Likewise. | |
812 | * c-ppoutput.c: Likewise. | |
813 | * c-pragma.h: Likewise. | |
814 | * c-pretty-print.c: Likewise. | |
815 | * c-pretty-print.h: Likewise. | |
816 | * c-semantics.c: Likewise. | |
817 | * c-tree.h: Likewise. | |
818 | * c-typeck.c: Likewise. | |
819 | ||
3346b668 AJ |
820 | * c-lang.c: Convert to ISO C90. |
821 | ||
9cd23ed2 NB |
822 | 2003-06-22 Neil Booth <neil@daikokuya.co.uk> |
823 | ||
824 | * opts.c (find_opt): Fix to always guarantee a find of a | |
825 | switch with joined parameter. | |
826 | * opts.h (struct cl_option): New member back_chain. | |
827 | * opts.sh: Update to calculate and add back_chain member. | |
828 | ||
0e9e3a8b GDR |
829 | 2003-06-22 Gabriel Dos Reis <gdr@integrable-solutions.net> |
830 | ||
831 | * diagnostic.h (output_host_wide_integer): Declare. | |
832 | * diagnostic.c (output_long_long_decicaml): New function. | |
833 | (output_host_wide_integer): Likewise. | |
834 | (output_format): Use them. Handle "%ll" and "%w". | |
835 | ||
ad667abe JT |
836 | 2003-06-21 Jason Thorpe <thorpej@wasabisystems.com> |
837 | ||
838 | * config.gcc (*-*-netbsd*): Add t-libgcc-pic to tmake_file. | |
839 | ||
7468e0b5 ZW |
840 | 2003-06-21 Zack Weinberg <zack@codesourcery.com> |
841 | ||
842 | * aclocal.m4 (gcc_AC_C_CHARSET): Delete. | |
843 | * configure.in: Don't use gcc_AC_C_CHARSET. | |
844 | * configure, config.in: Regenerate. | |
845 | * config/i370/i370.c, config/i370/i370.h: Use | |
846 | (HOST_CHARSET == HC_EBCDIC) or (HOST_CHARSET == HC_ASCII) | |
847 | instead of HOST_EBCDIC or !HOST_EBCDIC. Clarify comments a tad. | |
848 | ||
de32c0cb NB |
849 | 2003-06-21 Neil Booth <neil@daikokuya.co.uk> |
850 | ||
851 | * Makefile.in: Update. | |
852 | * common.opt: New switches. | |
853 | * opts.c: Include diagnostic.h. | |
854 | (common_handle_option): Handle new switches. | |
855 | * toplev.c (flag_loop_optimize, flag_crossjumping, flag_if_conversion, | |
856 | flag_if_conversion2, flag_delete_null_pointer_checks, | |
857 | flag_rerun_cse_after_loop): Make extern. | |
858 | (flag_dummy): New. | |
859 | (f_options): Update to use flag_dummy for moved options. | |
860 | (decode_f_option): Some switches moved to opts.c. | |
861 | * toplev.h (flag_loop_optimize, flag_crossjumping, flag_if_conversion, | |
862 | flag_if_conversion2, flag_delete_null_pointer_checks, | |
863 | flag_rerun_cse_after_loop, flag_keep_static_consts, flag_peel_loops, | |
864 | flag_tracer, flag_thread_jumps, flag_unroll_loops, | |
865 | flag_unroll_all_loops, flag_unswitch_loops): New. | |
866 | ||
70642ee3 JH |
867 | Sat Jun 21 13:41:00 CEST 2003 Jan Hubicka <jh@suse.cz> |
868 | ||
869 | * i386.c (ix86_va_arg): Fix allocation of temporary slot. | |
870 | ||
02529902 KH |
871 | 2003-06-20 Kazu Hirata <kazu@cs.umass.edu> |
872 | ||
873 | * config/h8300/h8300-protos.h: Add a prototype for | |
874 | same_cmp_preceding_p. | |
875 | * config/h8300/h8300.c (same_cmp_preceding): New. | |
876 | * config/h8300/h8300.md: Extend peephole2's that transform | |
877 | compare:SI into shorter sequences so that they can deal with | |
878 | signed comparisons. | |
879 | ||
164131ce | 880 | 2003-06-21 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
c18cd642 GP |
881 | |
882 | * doc/contrib.texi (Contributors): Use Windows instead of Win32. | |
883 | ||
884 | Update Andreas Jaeger's entry. | |
885 | ||
886 | Merge the two entries of Kaveh Ghazi, David Edelsohn, and | |
887 | Loren J. Rittle. | |
888 | ||
5e7537cf NN |
889 | 2003-06-21 Nathanael Nerode <neroden@gcc.gnu.org> |
890 | ||
891 | * mkconfig.sh: Add multiple inclusion guards to generated headers. | |
892 | ||
e01cc6dc NB |
893 | 2003-06-20 Neil Booth <neil@daikokuya.co.uk> |
894 | ||
895 | * c-decl.c (store_parm_decls): Make saved_warn_shadow boolean. | |
896 | * common.opt: Add remaining -W options and -g. | |
897 | * diagnostic.c (warnings_are_errors): Remove. | |
898 | * flags.h: Make most warning flags boolean. | |
899 | * opts.c (common_handle_option): Handle remaining -W options, and -g. | |
900 | Move many warning flags from toplev.c, making them boolean. | |
901 | * toplev.c: Remove many warning flags. | |
902 | (decode_W_option): Remove. | |
903 | (decode_g_option): Make extern. Error on unknown switch. | |
904 | (lang_independent_W_options): Use warn_dummy. | |
905 | (independent_decode_option): Just handle -f switches now. | |
906 | * toplev.h (decode_g_option): New. | |
907 | ||
1a3f10e2 | 908 | 2003-06-20 Aldy Hernandez <aldyh@redhat.com> |
7468e0b5 | 909 | |
1a3f10e2 AH |
910 | PR/11092 |
911 | * config/rs6000/rs6000.h (LEGITIMATE_CONSTANT_P): Adjust for | |
912 | vectors. | |
913 | ||
e819ee44 KC |
914 | 2003-06-20 Kelley Cook <kelleycook@wideopenwest.com> |
915 | ||
916 | * opts.sh: Tweak awk script for portability. | |
917 | ||
ae4a7155 MM |
918 | 2003-06-20 Mark Mitchell <mark@codesourcery.com> |
919 | ||
920 | PR c++/10888 | |
921 | * tree-inline.c (expand_call_inline): Do not warn about failing to | |
922 | inline functions declared in system headers. | |
923 | * doc/invoke.texi (-Winline): Expand on documentation. | |
924 | ||
4739b00e RH |
925 | 2003-06-20 Richard Henderson <rth@redhat.com> |
926 | ||
927 | * config/alpha/alpha.c (alpha_file_start): Disable | |
928 | file_start_file_directive for ELF and not MDEBUG. | |
929 | ||
9218882a R |
930 | 2003-06-20 J"orn Rennecke <joern.rennecke@superh.com> |
931 | ||
932 | * sh.h (ROUND_TYPE_ALIGN): Remove. | |
933 | ||
a3424f5c RH |
934 | 2003-06-20 Richard Henderson <rth@redhat.com> |
935 | ||
936 | * hooks.c (hook_int_void_no_regs): Rename from | |
937 | hook_reg_class_void_no_regs; change return type. | |
938 | * hooks.h: Update. | |
939 | * target-def.h (TARGET_BRANCH_TARGET_REGISTER_CLASS): Update. | |
940 | * target.h (branch_target_register_class): Change return type to int. | |
941 | Add documentation. | |
942 | * config/sh/sh.c (sh_target_reg_class): Change return type. | |
943 | * doc/tm.texi (TARGET_BRANCH_TARGET_REGISTER_CLASS): Likewise. | |
944 | ||
3a947669 AT |
945 | 2003-06-20 Andreas Tobler <toa@pop.agri.ch> |
946 | ||
947 | * c-format.c: Change _Bool to bool reverting part of the last | |
948 | patch. | |
949 | ||
b5adda73 JDA |
950 | 2003-06-20 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
951 | ||
952 | * som.h (ASM_OUTPUT_SOURCE_LINE): Use targetm.strip_name_encoding to | |
953 | strip name encoding. | |
954 | ||
807ca3d4 RO |
955 | 2003-06-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
956 | ||
957 | * configure.in (gcc_cv_as_gstabs_flag): Disable if assembler warns. | |
958 | * configure: Regenerate. | |
959 | Fixes PR driver/9362. | |
960 | ||
cc550dce RK |
961 | 2003-06-20 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
962 | ||
963 | * config/alpha/alpha.c (alpha_file_start): Fix typo. | |
964 | ||
9e21232c RO |
965 | 2003-06-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
966 | ||
967 | * config/mips/mips.h (PUT_SDB_FUNCTION_END): Pass 0 as third arg | |
968 | to ASM_OUTPUT_SOURCE_LINE. | |
969 | ||
27a3e494 | 970 | 2003-06-20 Daniel Egger <degger@fhm.edu> |
7468e0b5 | 971 | Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
27a3e494 DE |
972 | |
973 | * doc/install.texi (Building): Correct and improve statement | |
974 | about parallel builds. | |
975 | ||
a742c759 AJ |
976 | 2003-06-20 Andreas Jaeger <aj@suse.de> |
977 | ||
978 | * c-common.c: Change _Bool to bool reverting part of the last | |
979 | patch. | |
980 | ||
1f9cc6db NS |
981 | 2003-06-20 Nathan Sidwell <nathan@codesourcery.com> |
982 | ||
983 | * tree.h (expand_function_end): Remove all parameters. | |
984 | * function.c (expand_function_end): Remove all parameters. | |
985 | Use input_location. Never expand_end_bindings. | |
986 | * c-decl.c (c_expand_body_1): Adjust expand_function_end call. | |
987 | * coverage.c (create_coverage): Likewise. | |
988 | ||
4bc73018 NC |
989 | 2003-06-20 Nick Clifton <nickc@redhat.com> |
990 | ||
991 | * doc/extend.texi (ARM Built-in Functions): New node. Document | |
992 | ARM builtin functions for iWMMXt support. | |
993 | ||
8f2afc21 EB |
994 | 2003-06-20 Eric Botcazou <ebotcazou@libertysurf.fr> |
995 | ||
996 | * doc/install.texi (--with-gnu-as): Mention SPARC/Solaris and | |
997 | SPARC64/Solaris as platforms where --with-gnu-as makes a difference. | |
998 | (--with-as): Add @anchor. | |
999 | (--with-gnu-ld): Fix typo. | |
1000 | (--with-ld): Add @uref to --with-as. | |
1001 | ||
a2c4f8e0 ZW |
1002 | 2003-06-19 Zack Weinberg <zack@codesourcery.com> |
1003 | ||
1004 | * doc/tm.texi: Uniformly use @defmac for macros, rather than | |
1005 | @table items. Minor formatting and editorial corrections. | |
1006 | ||
e2b9853b NB |
1007 | 2003-06-20 Neil Booth <neil@daikokuya.co.uk> |
1008 | ||
1009 | * line-map.c, line-map.h: Convert to ISO prototypes. | |
1010 | ||
bc083e18 ZD |
1011 | 2003-06-20 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
1012 | ||
1013 | * gcse.c (store_killed_in_insn): Fix. | |
1014 | ||
1bc7c5b6 ZW |
1015 | 2003-06-19 Zack Weinberg <zack@codesourcery.com> |
1016 | ||
1017 | * target.h (asm_out.file_start, file_start_app_off, | |
1018 | file_start_file_directive): New hooks. | |
1019 | * target-def.h (TARGET_ASM_FILE_START_FILE_DIRECTIVE, | |
1020 | TARGET_ASM_FILE_START_APP_OFF, TARGET_ASM_FILE_START): | |
1021 | New hook-definition macros. | |
1022 | * doc/tm.texi: Document new hooks; remove docs of ASM_FILE_START. | |
1023 | * varasm.c (default_file_start): New. | |
1024 | * output.h: Prototype it. | |
1025 | * toplev.c (init_asm_output): Use targetm.asm_out.file_start. | |
1026 | * system.h: Poison ASM_FILE_START. | |
1027 | ||
1028 | * config/alpha/alpha.c (alpha_write_verstamp): Delete. | |
1029 | (alpha_file_start): New, define if !TARGET_ABI_UNICOSMK. | |
1030 | (unicosmk_asm_file_start): Rename unicosmk_file_start, | |
1031 | make static, take no arguments. | |
1032 | (TARGET_ASM_FILE_START, TARGET_ASM_FILE_END, | |
1033 | TARGET_ASM_FILE_START_FILE_DIRECTIVE): Set as appropriate. | |
1034 | * config/alpha/unicosmk.h: Don't define ASM_FILE_START nor | |
1035 | TARGET_ASM_FILE_END. Remove reference to ASM_FILE_START in | |
1036 | comment. | |
1037 | * config/arc/arc.c (arc_asm_file_start): Rename | |
1038 | arc_file_start, take no arguments, make static. | |
1039 | (TARGET_ASM_FILE_START): Set it. | |
1040 | * config/arm/arm.c (aof_file_start): New static function. | |
1041 | (TARGET_ASM_FILE_START): Set it, when appropriate. | |
1042 | * config/arm/coff.h, config/arm/elf.h: | |
1043 | Set TARGET_ASM_FILE_START_APP_OFF to true. | |
1044 | * config/avr/avr.c (asm_file_start): Rename avr_file_start, | |
1045 | take no arguments, make static. | |
1046 | (TARGET_ASM_FILE_START, TARGET_ASM_FILE_START_FILE_DIRECTIVE): | |
1047 | Set them. | |
1048 | * config/c4x/c4x.c (c4x_file_start): New static function. | |
1049 | (TARGET_ASM_FILE_START, TARGET_ASM_FILE_START_FILE_DIRECTIVE): | |
1050 | Set them. | |
1051 | * config/cris/cris.c (cris_file_start): New static function. | |
1052 | (TARGET_ASM_FILE_START): Set it. | |
1053 | * config/dsp16xx/dsp16xx.c (coff_dsp16xx_file_start): Rename | |
1054 | dsp16xx_file_start, make static. | |
1055 | (luxworks_dsp16xx_file_start): Delete. | |
1056 | (TARGET_ASM_FILE_START): Set it. | |
1057 | * config/h8300/h8300.c (asm_file_start): Rename | |
1058 | h8300_file_start, make static, take no arguments. | |
1059 | (TARGET_ASM_FILE_START): Set it. | |
1060 | * config/i370/i370.c (i370_file_start): New static function. | |
1061 | (TARGET_ASM_FILE_START): Set it. | |
1062 | * config/i386/i386.c (x86_file_start): New static function. | |
1063 | (TARGET_ASM_FILE_START): Set it. | |
1064 | * config/i386/i386.h (X86_FILE_START_VERSION_DIRECTIVE, | |
1065 | X86_FILE_START_FLTUSED): New macros, default to false. | |
1066 | * config/i386/i386-interix.h: Override X86_FILE_START_FLTUSED to 1. | |
1067 | * config/i386/sysv4.h, config/i386/sco5.h: Override | |
1068 | X86_FILE_START_VERSION_DIRECTIVE to true. | |
1069 | * config/ia64/ia64.c (ia64_file_start): New static function. | |
1070 | (TARGET_ASM_FILE_START): Set it. | |
1071 | (emit_safe_across_calls): Take no arguments. | |
1072 | * config/ia64/ia64.md: Update to match. | |
1073 | * config/m32r/m32r.c (m32r_asm_file_start): Rename | |
1074 | m32r_file_start, make static, take no arguments. | |
1075 | (TARGET_ASM_FILE_START): Set it. | |
1076 | * config/m68hc11/m68hc11.c (m68hc11_asm_file_start): Rename | |
1077 | m68hc11_file_start, make static, take no arguments. | |
1078 | (TARGET_ASM_FILE_START, TARGET_ASM_FILE_START_FILE_DIRECTIVE): Set. | |
1079 | (print_options): Delete. | |
1080 | * config/m68k/m68k.c (m68k_hp320_file_start): New static function. | |
1081 | (TARGET_ASM_FILE_START_APP_OFF): Set. | |
1082 | * config/m68k/hp320.h: Set TARGET_ASM_FILE_START to | |
1083 | m68k_hp320_file_start. | |
1084 | * config/mips/mips.c (iris6_asm_file_start, mips_asm_file_start): | |
1085 | Make static, take no arguments. | |
1086 | (TARGET_ASM_FILE_START, TARGET_ASM_FILE_START_FILE_DIRECTIVE): Set. | |
1087 | * config/mmix/mmix.c (mmix_asm_file_start): Rename | |
1088 | mmix_file_start, make static, take no arguments. | |
1089 | (TARGET_ASM_FILE_START, TARGET_ASM_FILE_START_FILE_DIRECTIVE): Set. | |
1090 | * config/mn10300/mn10300.c (asm_file_start): Rename | |
1091 | mn10300_file_start, make static, take no arguments. | |
1092 | (TARGET_ASM_FILE_START, TARGET_ASM_FILE_START_FILE_DIRECTIVE): Set. | |
1093 | * config/ns32k/ns32k.c (TARGET_ASM_FILE_START_APP_OFF): Set. | |
1094 | * config/pa/pa.c (pa_file_start_level, pa_file_start_space, | |
1095 | pa_file_start_file, pa_file_start_mcount, pa_elf_file_start, | |
1096 | pa_som_file_start, pa_linux_file_start, pa_hpux64_gas_file_start, | |
1097 | pa_hpux64_hpas_file_start): New static functions. | |
1098 | * config/pa/elf.h: Set TARGET_ASM_FILE_START to pa_elf_file_start. | |
1099 | * config/pa/pa-linux.h: Set TARGET_ASM_FILE_START to | |
1100 | pa_linux_file_start. | |
1101 | * config/pa/pa64-hpux.h: Set TARGET_ASM_FILE_START to | |
1102 | pa_hpux64_gas_file_start or pa_hpux64_hpas_file_start, as | |
1103 | appropriate. | |
1104 | * config/pa/som.h: Set TARGET_ASM_FILE_START to pa_som_file_start. | |
1105 | * config/rs6000/rs6000.c: Include xcoffout.h when TARGET_XCOFF. | |
1106 | (rs6000_file_start): Make static, take no arguments. Reset | |
1107 | default_cpu under certain conditions. | |
1108 | (rs6000_xcoff_file_start): New function. | |
1109 | * config/rs6000/rs6000.h (TARGET_ASM_FILE_START): Set. | |
1110 | * config/rs6000/xcoff.h (TARGET_ASM_FILE_START, | |
1111 | TARGET_ASM_FILE_START_FILE_DIRECTIVE): Override. | |
1112 | * config/sh/sh.c (output_file_start): Rename | |
1113 | sh_file_start, make static, take no arguments. Merge in old | |
1114 | code from sh/elf.h's ASM_FILE_START, conditioned on TARGET_ELF. | |
1115 | (TARGET_ASM_FILE_START, TARGET_ASM_FILE_START_FILE_DIRECTIVE): Set. | |
1116 | * config/sh/sh.c (TARGET_ELF): Define to 0. | |
1117 | * config/sh/elf.h (TARGET_ELF): Redefine to 1. | |
1118 | * config/v850/v850.c (asm_file_start): Delete. | |
1119 | (TARGET_ASM_FILE_START_FILE_DIRECTIVE): Set. | |
1120 | * config/vax/vax.c (vax_file_start): New static function. | |
1121 | (TARGET_ASM_FILE_START, TARGET_ASM_FILE_START_APP_OFF): Set. | |
1122 | ||
1123 | * config/darwin.h: Override ASM_FILE_START_FILE_DIRECTIVE to false. | |
1124 | * config/elfos.h, config/svr3.h, config/arm/elf.h, config/arm/pe.h | |
1125 | * config/i386/att.h, config/i386/gas.h, config/i386/linux.h | |
1126 | * config/i386/sysv4.h, config/i386/sco5.h, config/i960/i960-coff.h | |
1127 | * config/m68k/coff.h, config/m68k/hp320.h, config/mcore/mcore-pe.h | |
1128 | * config/vax/vaxv.h: Set ASM_FILE_START_FILE_DIRECTIVE to true. | |
1129 | ||
1130 | * config/darwin.h, config/elfos.h, config/alpha/elf.h | |
1131 | * config/alpha/openbsd.h, config/alpha/osf.h, config/alpha/vms.h | |
1132 | * config/arc/arc.h, config/arm/aof.h, config/arm/aout.h | |
1133 | * config/arm/coff.h, config/arm/elf.h, config/arm/pe.h | |
1134 | * config/avr/avr.h, config/c4x/c4x.h, config/cris/cris.h | |
1135 | * config/dsp16xx/dsp16xx.h, config/h8300/elf.h, config/h8300/h8300.h | |
1136 | * config/i370/i370.h, config/i386/att.h, config/i386/gas.h | |
1137 | * config/i386/i386-interix.h, config/i386/linux.h, config/i386/sysv4.h | |
1138 | * config/i386/sco5.h, config/i960/i960-coff.h, config/i960/i960.h | |
1139 | * config/ia64/ia64.h, config/ia64/sysv4.h, config/m32r/m32r.h | |
1140 | * config/m68hc11/m68hc11.h, config/m68k/coff.h, config/m68k/m68k.h | |
1141 | * config/mcore/mcore-pe.h, config/mips/iris6.h, config/mips/mips.h | |
1142 | * config/mmix/mmix.h, config/mn10300/mn10300.h, config/ns32k/ns32k.h | |
1143 | * config/pa/elf.h, config/pa/pa-linux.h, config/pa/pa64-hpux.h | |
1144 | * config/pa/som.h, config/pdp11/pdp11.h, config/rs6000/linux64.h | |
1145 | * config/rs6000/lynx.h, config/rs6000/xcoff.h, config/sh/elf.h | |
1146 | * config/sh/sh.h, config/sparc/sparc.h, config/v850/v850.h | |
1147 | * config/vax/vax.h, config/vax/vaxv.h: Don't (re)define ASM_FILE_START. | |
1148 | ||
1149 | * config/alpha/alpha-protos.h, config/arc/arc-protos.h | |
1150 | * config/avr/avr-protos.h, config/dsp16xx/dsp16xx-protos.h | |
1151 | * config/h8300/h8300-protos.h, config/ia64/ia64-protos.h | |
1152 | * config/m32r/m32r-protos.h, config/m68hc11/m68hc11-protos.h | |
1153 | * config/mips/mips-protos.h, config/mmix/mmix-protos.h | |
1154 | * config/mn10300/mn10300-protos.h, config/rs6000/rs6000-protos.h | |
1155 | * config/sh/sh-protos.h, config/v850/v850-protos.h: Update. | |
1156 | ||
1157 | * xcoffout.h, config/rs6000/aix.h, config/rs6000/xcoff.h: | |
1158 | Remove reference to ASM_FILE_START in comment. | |
1159 | * config/arm/aof.h, config/arm/aout.h, config/arm/freebsd.h | |
1160 | * config/arm/linux-gas.h, config/arm/netbsd-elf.h | |
1161 | * config/arm/netbsd.h: Delete definition of ARM_OS_NAME. | |
1162 | ||
e7f13528 GP |
1163 | 2003-06-19 Graeme Peterson <gp@qnx.com> |
1164 | ||
1165 | * gcc.c (target_sysroot_suffix, target_sysroot_hdrs_suffix, | |
1166 | SYSROOT_SUFFIX_SPEC, SYSROOT_HEADERS_SUFFIX_SPEC, sysroot_suffix_spec, | |
1167 | sysroot_hdrs_suffix_spec): New. | |
1168 | (static_specs): Initialize new variables. | |
1169 | (add_sysroot_suffix_prefix, do_spec_1, main): Use new variables. | |
1170 | * doc/tm.texi (SYSROOT_SUFFIX_SPEC, SYSROOT_HEADERS_SUFFIX_SPEC): | |
1171 | New macros. | |
1172 | ||
35b1a6fa AJ |
1173 | 2003-06-19 Andreas Jaeger <aj@suse.de> |
1174 | ||
d3ea6201 | 1175 | * c-aux-info.c: Convert to ISO C90. |
35b1a6fa AJ |
1176 | * c-pragma.c: Likewise. |
1177 | * c-common.c: Likewise. | |
1178 | * c-common.h: Likewise. | |
1179 | * c-convert.c: Likewise. | |
1180 | * c-cppbuiltin.c: Likewise. | |
1181 | * c-dump.c: Likewise. | |
1182 | * c-decl.c: Likewise | |
1183 | * c-format.c: Likewise. | |
1184 | * c-incpath.c: Likewise. | |
1185 | * c-incpath.h: Likewise. | |
1186 | ||
6dab8d4c RS |
1187 | 2003-06-19 Roger Sayle <roger@eyesopen.com> |
1188 | ||
1189 | * builtins.c (expand_errno_check): Assume that flag_errno_math | |
1190 | and HONOR_NANS have been tested before calling here. Only try | |
1191 | to set errno ourselves if the decl can't throw an exception. | |
1192 | (expand_builtin_mathfn): Move the code to stabilize the arg | |
1193 | after the main switch, so that that its only done when needed. | |
1194 | BUILT_IN_SQRT{,F,L} doesn't set errno if its arg is nonnegative. | |
1195 | Don't modify the original expr when stabilizing the argument. | |
1196 | (expand_builtin_mathfn_2): Likewise, move the code to stabilize | |
1197 | the args after the main switch, and don't modify the orginal exp. | |
1198 | ||
5f6c070d | 1199 | 2003-06-19 Aldy Hernandez <aldyh@redhat.com> |
35b1a6fa | 1200 | |
1bc7c5b6 ZW |
1201 | * expr.c (const_vector_from_tree): Initialize remaining elements |
1202 | to 0. | |
5f6c070d | 1203 | |
e7a9b208 AH |
1204 | 2003-06-19 Aldy Hernandez <aldyh@redhat.com> |
1205 | ||
1206 | * config/rs6000/spe.md ("spe_evfscfsi"): Change operand types. | |
1207 | Change "fix" to "float". | |
1208 | ||
1681bed6 AJ |
1209 | 2003-06-19 Andreas Jaeger <aj@suse.de> |
1210 | ||
e295f317 AJ |
1211 | * c-tree.h: Remove declaration of poplevel. |
1212 | ||
1213 | * tree.h: Remove declaration of approx_sqrt. | |
1214 | ||
1215 | * c-lex.c: Remove redundant declaration of asm_out_file. | |
1216 | ||
1217 | * flags.h: Remove declaration of warn_unknown_pragma and | |
1218 | main_input_filename. | |
1219 | ||
1220 | * rtl.h: Remove functions from fold-const.c since they're already | |
1221 | declared in tree.h. | |
1222 | ||
1223 | * regs.h: Remove redundant declaration of reg_names. | |
1224 | ||
551dc360 AJ |
1225 | * bt-load.c (migrate_btr_defs): Correct printf arguments. |
1226 | ||
1681bed6 AJ |
1227 | * protoize.c: Fix breakage from last patch. |
1228 | ||
676fceeb R |
1229 | 2003-06-19 J"orn Rennecke <joern.rennecke@superh.com> |
1230 | ||
1231 | * hooks.h (hook_reg_class_void_no_regs): Only declare if tm.h | |
1232 | has been included. | |
1233 | ||
85009435 JM |
1234 | 2003-06-18 James A Morrison <ja2morri@student.math.uwaterloo.ca> |
1235 | ||
1236 | * config/sparc/sparc.c: Update copyright year. | |
1237 | ||
ddcc8263 DE |
1238 | 2003-06-19 David Edelsohn <edelsohn@gnu.org> |
1239 | ||
1240 | * config/rs6000/rs6000.c (init_cumulative_args): Limit CALL_LIBCALL | |
1241 | to ABI_V4. | |
1242 | ||
f37ceab9 JM |
1243 | 2003-06-18 Joseph S. Myers <jsm@polyomino.org.uk> |
1244 | ||
1245 | PR bootstrap/4068 | |
1246 | * config/i386/liunx.h: Don't include sys/ucontext.h for glibc 2.0. | |
1247 | ||
6e014ef3 KH |
1248 | 2003-06-19 Kazu Hirata <kazu@cs.umass.edu> |
1249 | ||
1250 | * config/h8300/h8300.c (TARGET_INITIALIZER and friends): Move | |
1251 | to the end of the file. Remove unnecessary prototypes. | |
1252 | ||
5a9384dd HPN |
1253 | 2003-06-19 Hans-Peter Nilsson <hp@axis.com> |
1254 | ||
1255 | * bt-load.c (migrate_btr_def) [INSN_SCHEDULING]: Conditionalize | |
1256 | calls to insn_default_latency and result_ready_cost. Initialize | |
1257 | def_latency to 1. | |
1258 | ||
61193e7b RH |
1259 | 2003-06-18 Richard Henderson <rth@redhat.com> |
1260 | ||
1bc7c5b6 ZW |
1261 | * config/ia64/unwind-ia64.c (_Unwind_GetCFA): New. |
1262 | (_Unwind_FindEnclosingFunction): Implement. | |
61193e7b | 1263 | |
a2f8629a KH |
1264 | 2003-06-18 Kazu Hirata <kazu@cs.umass.edu> |
1265 | ||
1266 | * toplev.c (rest_of_handle_sched): Hide the entire function if | |
1267 | INSN_SCHEDULING is not defined. | |
1268 | (rest_of_compilation): Call rest_of_handle_sched() only when | |
1269 | INSN_SCHEDULING is defined. | |
1270 | ||
fe3ad572 | 1271 | 2003-06-18 Stephen Clarke <stephen.clarke@superh.com> |
1bc7c5b6 | 1272 | J"orn Rennecke <joern.rennecke@superh.com> |
fe3ad572 SC |
1273 | |
1274 | * bt-load.c: New file. | |
1275 | * Makefile.in (OBJS): Include bt-load.o | |
1276 | (bt-load.o): Add dependencies. | |
1277 | * flags.h (flag_branch_target_load_optimize): Declare. | |
1278 | (flag_branch_target_load_optimize2): Likewise. | |
1279 | * hooks.c (hook_reg_class_void_no_regs): New function. | |
1280 | (hook_bool_bool_false): Likewise. | |
1281 | * hooks.h (hook_reg_class_void_no_regs, hook_bool_bool_false): Declare. | |
1282 | * rtl.h (branch_target_load_optimize): Declare. | |
1283 | * target-def.h (TARGET_BRANCH_TARGET_REGISTER_CLASS): Define. | |
1284 | (TARGET_BRANCH_TARGET_REGISTER_CALLEE_SAVED): Likewise. | |
1285 | (TARGET_INITIALIZER): Include these. | |
1286 | * target.h (struct gcc_target): Add branch_target_register_class | |
1287 | and branch_target_register_callee_saved members. | |
1288 | * toplev.c (enum dump_file_index): Add DFI_branch_target_load | |
1289 | (dump_file) Add "tars" entry. | |
1290 | (flag_branch_target_load_optimize): New variable. | |
1291 | (flag_branch_target_load_optimize2): Likewise. | |
1292 | (lang_independent_options): Add entries for new options. | |
1293 | (rest_of_compilation): Call branch_target_load_optimize. | |
1294 | * doc/tm.texi (TARGET_BRANCH_TARGET_REGISTER_CLASS): Document. | |
1295 | (TARGET_BRANCH_TARGET_REGISTER_CALLEE_SAVED): Likewise. | |
1296 | * doc/invoke.texi: Document -fbranch-target-load-optimize and | |
1297 | -fbranch-target-load-optimize2. | |
1298 | * rtl.h (epilogue_completed): Declare. | |
1299 | * recog.c (epilogue_completed): New variable. | |
1300 | * toplev.c (rest_of_compilation): Set it. | |
1301 | * flow.c (mark_regs_live_at_end): Use it. | |
1302 | * config/ia64/ia64.c (ia64_output_mi_thunk): Set it. | |
1303 | * config/rs6000/rs6000.c (rs6000_output_mi_thunk): Likewise. | |
1304 | * config/sh/sh.c (sh_output_mi_thunk): Likewise. | |
1305 | * config/sparc/sparc.c (sparc_output_mi_thunk): Likewise. | |
1306 | ||
1307 | * sh.c (shmedia_space_reserved_for_target_registers): New variable. | |
1308 | (sh_target_reg_class): New function. | |
1309 | (sh_optimize_target_register_callee_saved): Likwise. | |
1310 | (shmedia_target_regs_stack_space): Likewise. | |
1311 | (shmedia_reserve_space_for_target_registers_p): Likewise. | |
1312 | (shmedia_target_regs_stack_adjust): Likewise. | |
1313 | (TARGET_BRANCH_TARGET_REGISTER_CLASS): Override. | |
1314 | (TARGET_BRANCH_TARGET_REGISTER_CALLEE_SAVED): Likewise. | |
1315 | (calc_live_regs): If flag_branch_target_load_optimize2 and | |
1316 | TARGET_SAVE_ALL_TARGET_REGS is enabled, and we have space reserved | |
1317 | for target registers, make sure that we save all target registers. | |
1318 | (sh_expand_prologue, sh_expand_epilogue): Take target register | |
1319 | optimizations into account. Collapse stack adjustments if that | |
1320 | is beneficial. | |
1321 | (initial_elimination_offset): Reserve space for target registers | |
1322 | if necessary. | |
1323 | * sh.h (SAVE_ALL_TR_BIT, TARGET_SAVE_ALL_TARGET_REGS): Define. | |
1324 | (OPTIMIZATION_OPTIONS): Enable flag_branch_target_load_optimize. | |
1325 | ||
5a9335ef NC |
1326 | 2003-06-18 Nick Clifton <nickc@redhat.com> |
1327 | ||
1328 | * config.gcc: Add an extra_header for ARM targets. | |
1bc7c5b6 | 1329 | Support configuring with --with-cpu=iwmmxt. |
5a9335ef | 1330 | * doc/invoke.texi: Document new value for -mcpu= ARM switch. |
1bc7c5b6 | 1331 | * config/arm/aof.h (REGISTER_NAMES): Add iwmmxt register |
35b1a6fa | 1332 | names. Fix formatting. |
1bc7c5b6 | 1333 | * config/arm/aout.h (REGISTER_NAMES): Add iwmmxt register |
5a9335ef | 1334 | names. |
1bc7c5b6 | 1335 | * config/arm/arm-protos.h (arm_emit_vector_const): New |
5a9335ef NC |
1336 | prototype. |
1337 | (arm_output_load_gr): New prototype. | |
1338 | * config/arm/arm.c (extra_reg_names1): Delete. | |
1bc7c5b6 | 1339 | (TARGET_INIT_BUILTINS, TARGET_EXPAND_BUILTIN, FL_IWMMXT, |
5a9335ef NC |
1340 | * arch_is_iwmmxt): Define. |
1341 | (all_cores, all_architecture): Add entry for iwmmxt. | |
1342 | (arm_override_options): Add support for iwmmxt. | |
1343 | (use_return_insn, arm_function_arg, arm_legitimate_index_p, | |
1344 | arm_print_value, arm_rtx_costs_1, output_move_double, | |
1345 | arm_compute_save_reg_mask, arm_output_epilogue, | |
1346 | arm_get_frame_size, arm_expand_prologue, arm_print_operand, | |
1347 | arm_assemble_integer, arm_hard_regno_ok, arm_regno_class): | |
1348 | Likewise. | |
1349 | (arm_init_cumulative_args): Count iwmmxt registers. | |
1350 | (arm_function_ok_for_sibcall): Return false of sibcall_blocked | |
1351 | has been set. | |
1352 | (struct minipool_node): Add fix_size field. | |
1353 | (add_minipool_forward_ref): Add support for 8-byte aligning of | |
1354 | the pool. | |
1355 | (add_minipool_backward_ref, add_minipool_offsets, | |
1356 | dump_minipool, push_minipool_fix): Likewise. | |
1357 | (struct builtin_description): New struct. | |
1bc7c5b6 ZW |
1358 | (builtin_description): New array of iwmmxt builtin functions. |
1359 | (arm_init_iwmmxt_builtins): New function. | |
1360 | (arm_init_builtins): New function. | |
1361 | (safe_vector_operand): New function. | |
1362 | (arm_expand_binop_builtin): New function. | |
1363 | (arm_expand_unop_builtin): New function. | |
1364 | (arm_expand_builtin): New function. | |
1365 | (arm_emit_vector_const): New function. | |
1366 | (arm_output_load_gr): New function. | |
1367 | * config/arm/arm.h (TARGET_CPU_iwmmxt, TARGET_IWMMXT, | |
5a9335ef NC |
1368 | TARGET_REALLY_IWMMXT, arm_arch_iwmmxt, IWMMXT_ALIGNMENT, |
1369 | TYPE_NEEDS_IWMMXT_ALIGNMENT, ADJUST_FIELD_ALIGN, | |
1370 | DATA_ALIGNMENT, LOCAL_ALIGNMENT, VECTOR_MODE_SUPPORTED_P): Define. | |
1bc7c5b6 ZW |
1371 | (BIGGEST_ALIGNMENT): Set to 64 if ATPCS support is enabled. |
1372 | (CPP_CPU_ARCH_SPEC): Add entries for iwmmxt. | |
1373 | (FIXED_REGISTERS, CALL_USED_REGISTERS, REG_ALLOC_ORDER, | |
5a9335ef NC |
1374 | reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS, |
1375 | REG_CLASS_FOR_LETTER): Add iwmmxt registers. | |
1bc7c5b6 | 1376 | (SUBTARGET_CONDITIONAL_REGISTER_USAGE): Disable iwmmxt |
5a9335ef | 1377 | registers unless the iwmmxt target is selected. |
1bc7c5b6 | 1378 | (FIRST_IWMMXT_GR_REGNUM, LAST_IWMMXT_GR_REGNUM, |
5a9335ef NC |
1379 | FIRST_IWMMXT_REGNUM, LAST_IWMMXT_REGNUM, IS_IWMMXT_REGNUM, |
1380 | IS_IWMMXT_GR_REGNUM): Define. | |
1bc7c5b6 ZW |
1381 | (FIRST_PSEUDO_REGISTER): Bump to 63. |
1382 | (struct machine_function): Add sibcall_blocked field. | |
1383 | (Struct CUMULATIVE_ARGS): Add iwmmxt_nregs, named_count and | |
5a9335ef | 1384 | nargs fields. |
1bc7c5b6 ZW |
1385 | (enum arm_builtins): New enum list. |
1386 | * config/arm/arm.md (UNSPEC_WSHUFH, UNSPEC_WACC, | |
5a9335ef NC |
1387 | UNSPEC_TMOVMSK, UNSPEC_WSAD, UNSPEC_WSADZ, UNSPEC_WMACS, |
1388 | UNSPEC_WMACU, UNSPEC_WMACSZ, UNSPEC_WMACUZ, UNSPEC_CLRDI, | |
1389 | UNSPEC_WMADDS, UNSPEC_WMADDU): New unspecs. | |
1390 | (VUNSPEC_TMRC, VUNSPEC_TMCR, VUNSPEC_ALIGN8, VUNSPEC_WCMP_EQ, | |
1391 | VUNSPEC_WCMP_GTU, VUNSPEC_WCMP_GT): New vunspecs. | |
1bc7c5b6 ZW |
1392 | (movv2si, movv4hi, movv8qi): New expands for vector moves. |
1393 | Include iwmmxt.md. | |
5a9335ef NC |
1394 | * config/arm/t-xscale-elf (MULTILIB_OPITONS): Add iwmmxt |
1395 | multilib. | |
1bc7c5b6 ZW |
1396 | (MULTILIB_DIRNAMES, MULTILIB_REDUNDANT_DIRS): Likewise. |
1397 | * config/arm/mmintrin.h: New ARM specific header file. | |
1398 | * config/arm/iwmmx.md: New iWMMXt specific machine patterns. | |
5a9335ef | 1399 | |
fe651b1d R |
1400 | 2003-06-18 J"orn Rennecke <joern.rennecke@superh.com> |
1401 | ||
1402 | * toplev.c (Remaining -d letters summary): Update. | |
1403 | ||
b9599e46 FS |
1404 | 2003-06-18 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
1405 | ||
1406 | * config/rs6000/rs6000.c (init_cumulative_args): Add and handle LIBCALL | |
1407 | argument. | |
1408 | (function_arg): Handle CALL_LIBCALL flag. | |
1409 | * config/rs6000/rs6000-protos.h (init_cumulative_args): Update | |
1410 | prototype. | |
1411 | * config/rs6000/rs6000.h (CALL_LIBCALL): New macro. | |
1412 | (INIT_CUMULATIVE_LIBCALL_ARGS): New macro. | |
1413 | (INIT_CUMULATIVE_ARGS): Add LIBCALL argument. | |
1414 | (INIT_CUMULATIVE_INCOMING_ARGS): Likewise. | |
1415 | ||
903caebf NB |
1416 | 2003-06-18 Neil Booth <neil@daikokuya.co.uk> |
1417 | ||
1418 | * Makefile.in: Update. | |
1419 | * common.opt: New options. | |
1420 | * opts.c (maybe_warn_unused_parameter, set_Wextra, handle_param, | |
1421 | set_Wunused): New. | |
1422 | (common_handle_option): Handle new options. | |
1423 | * toplev.c (set_target_switch): Export. | |
1424 | (set_Wextra, set_Wunused, maybe_warn_unused_parameter): Move to opts.c. | |
1425 | (decode_W_option): -Wunused and -Wextra handled in opts.c now. | |
1426 | (independent_decode_option): More options handled in opts.c now. | |
1427 | Change prototype. | |
1428 | * toplev.h (set_target_switch): New. | |
1429 | ||
f3f735eb RA |
1430 | 2003-06-17 Robert Abeles <rabeles@archaelogic.com> |
1431 | ||
1432 | PR debug/4252 | |
1433 | * c-opts.c (c_common_handle_option): Pass -fdump argument suffix | |
1434 | to dump_switch_p(). | |
1435 | * tree-dump.c (dump_switch_p): Remove redundant 'dump-' prefix | |
1436 | from static strings in dump_files. | |
1437 | ||
b0c231bb KG |
1438 | 2003-06-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
1439 | ||
1440 | * system.h (ANSI_PROTOTYPES, PTR_CONST, LONG_DOUBLE, VPARAMS, | |
1441 | VA_OPEN, VA_FIXEDARG, VA_CLOSE, VA_START): undef and poison these | |
1442 | libiberty macros. | |
1443 | ||
9da32fe1 JM |
1444 | 2003-06-17 Jason Merrill <jason@redhat.com> |
1445 | ||
1446 | PR c++/10929 | |
1447 | * tree-inline.c (expand_call_inline): Don't warn about failing to | |
1448 | inline a function which was made inline by -finline-functions. | |
1449 | ||
cb713a8d KH |
1450 | 2003-06-17 Kazu Hirata <kazu@cs.umass.edu> |
1451 | ||
1452 | * config/h8300/h8300-protos.h: Update to ISO C. | |
1453 | * config/h8300/h8300.c: Likewise. | |
1454 | * config/h8300/h8300.h: Likewise. | |
1455 | * config/h8300/h8300.md: Likewise. | |
1456 | ||
eaf9f3b2 NN |
1457 | 2003-06-16 Nathanael Nerode <neroden@gcc.gnu.org> |
1458 | ||
1459 | * configure.in: Replace BUILD_CC references with CC_FOR_BUILD. | |
1460 | * configure: Regenerate. | |
1461 | * Makefile.in: Replace BUILD_CC references with CC_FOR_BUILD. | |
1462 | ||
688d8b84 RM |
1463 | 2003-06-17 Ranjit Mathew <rmathew@hotmail.com> |
1464 | ||
1465 | * install.texi (Testing): Add information on how to run Java | |
1466 | runtime tests separately. | |
1467 | ||
1f11df32 RO |
1468 | 2003-06-17 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
1469 | ||
94b2a23b RO |
1470 | * config/mips/mips.md (trap): Use break 0 when !TARGET_GAS. |
1471 | ||
1f11df32 RO |
1472 | * config/mips/iris6-o32.h (MIPS_ISA_DEFAULT): Remove. |
1473 | (MIPS_CPU_STRING_DEFAULT): Redefine to mips2. | |
1474 | ||
11344b85 CF |
1475 | 2003-06-17 Christopher Faylor <cgf@redhat.com> |
1476 | ||
1477 | * doc/install.texi: Add msvc rebuild caveat. | |
1478 | ||
c8f0269d KH |
1479 | 2003-06-17 Kazu Hirata <kazu@cs.umass.edu> |
1480 | ||
1481 | * config/sh/coff.h: Replace Hitachi with Renesas. | |
1482 | * config/sh/elf.h: Likewise. | |
1483 | * config/sh/embed-elf.h: Likewise. | |
1484 | * config/sh/lib1funcs.asm: Likewise. | |
1485 | * config/sh/sh-protos.h: Likewise. | |
1486 | * config/sh/sh.c: Likewise. | |
1487 | * config/sh/sh.h: Likewise. | |
1488 | * config/sh/sh.md: Likewise. | |
1489 | ||
67f63f32 KH |
1490 | 2003-06-17 Kazu Hirata <kazu@cs.umass.edu> |
1491 | ||
1492 | * ChangeLog.3: Fix comment typos. | |
1493 | * ChangeLog.6: Likewise. | |
1494 | * config/d30v/d30v.c: Likewise. | |
1495 | * config/h8300/h8300.md: Likewise. | |
1496 | * config/m32r/m32r.md: Likewise. | |
1497 | * config/mips/mips.c: Likewise. | |
1498 | * config/mips/mips.md: Likewise. | |
1499 | * config/ns32k/NOTES: Likewise. | |
1500 | ||
0d5c606b | 1501 | 2003-06-17 Ranjit Mathew <rmathew@hotmail.com> |
1bc7c5b6 | 1502 | Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
35b1a6fa | 1503 | |
0d5c606b RM |
1504 | * doc/sourcebuild.texi (libgcj Tests): Simplify instructions on how |
1505 | to run Java runtime tests separately. | |
1506 | ||
d32fad64 KH |
1507 | 2003-06-17 Kazu Hirata <kazu@cs.umass.edu> |
1508 | ||
1509 | * config/h8300/h8300-protos.h: Update a comment. | |
1510 | ||
1bf93c14 R |
1511 | 2003-06-17 J"orn Rennecke <joern.rennecke@superh.com> |
1512 | ||
1513 | * sh.h (ROUND_TYPE_ALIGN, LOCAL_ALIGNMENT): Complex modes | |
1514 | are aligned like integral modes. | |
1515 | (SH5_WOULD_BE_PARTIAL_NREGS): Also test for CDImode and DCmode. | |
1516 | ||
1517 | * sh.h (EXTRA_CONSTRAINT_Csy): Allow PIC_DIRECT_ADDR_P. | |
1518 | (LEGITIMATE_PIC_OPERAND_P): Allow LABEL_REF. | |
1519 | * sh.md (*pt): Remove. | |
1520 | ||
1521 | * sh.h (REG_ALLOC_ORDER): Avoid squandering call-saved registers. | |
1522 | ||
1523 | * sh.md (return_media_rte): New pattern. | |
1524 | (return_media): Use it. | |
1525 | ||
71c6b994 KH |
1526 | 2003-06-17 Kazu Hirata <kazu@cs.umass.edu> |
1527 | ||
1528 | * doc/contrib.texi: Replace Hitachi with Renesas. | |
1529 | * doc/install.texi: Likewise. | |
1530 | * doc/invoke.texi: Likewise. | |
1531 | ||
fdc88a4d R |
1532 | 2003-06-17 J"orn Rennecke <joern.rennecke@superh.com> |
1533 | ||
1534 | * sh.h (CONST_OK_FOR_J16): Fix HOST_BITS_PER_WIDE_INT >= 64 | |
1535 | behaviour. | |
1536 | ||
7cf6c927 FS |
1537 | 2003-06-17 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
1538 | ||
8207b189 FS |
1539 | * doc/tm.texi (MD_FALLBACK_FRAME_STATE_FOR): Mention MAKE_THROW_FRAME. |
1540 | ||
7cf6c927 FS |
1541 | * config/rs6000/linux.h (MD_FALLBACK_FRAME_STATE_FOR): Partly revert |
1542 | 2003-01-23 patch. Corrected to handle kernels with changed ucontext. | |
1543 | ||
1544 | * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Error on invalid | |
1545 | -msdata=eabi usages. | |
1546 | ||
1547 | * gcc/config/rs6000/sysv4.h (USE_LIBC_1): Delete all uses. | |
1548 | ||
a54928c9 KG |
1549 | 2003-06-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
1550 | ||
1551 | * alloc-pool.c: Don't check HAVE_LONG_DOUBLE. | |
1552 | * fixinc/gnu-regex.c: Don't define `volatile'. | |
1553 | * ggc-page.c: Don't check HAVE_LONG_DOUBLE. | |
1554 | * ggc-simple.c: Likewise. | |
1555 | * system.h: Don't define `volatile'. | |
1556 | ||
1557 | * aclocal.m4 (gcc_AC_C_VOLATILE, gcc_AC_C_LONG_DOUBLE): Delete. | |
1558 | * configure.in (gcc_AC_C_VOLATILE, gcc_AC_C_LONG_DOUBLE): Don't | |
1559 | call these macros. | |
1560 | * config.in, configure: Regenerated. | |
1561 | ||
8419b675 RK |
1562 | 2003-06-17 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
1563 | ||
1564 | * config/ia64/ia64.c (ia64_expand_builtin, case IA64_BUILTIN_BSP): | |
1565 | Handle POINTERS_EXTEND_UNSIGNED. | |
1566 | ||
c1e5104d RO |
1567 | 2003-06-17 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
1568 | ||
1569 | * config/mips/mips.c (TARGET_ASM_UNALIGNED_DI_OP) [TARGET_IRIX5 && | |
1570 | !TARGET_IRIX6]: Define as NULL. | |
1571 | ||
97587cfa EB |
1572 | 2003-06-17 Eric Botcazou <ebotcazou@libertysurf.fr> |
1573 | ||
1574 | * config/sparc/sparc.c (sparc_va_arg): Don't align 16-byte+ structures. | |
1575 | ||
a8d0467e EB |
1576 | 2003-06-17 Eric Botcazou <ebotcazou@libertysurf.fr> |
1577 | ||
1578 | * dbxout.c (dbxout_source_line_counter): New global variable. | |
1579 | Mark it with GTY(()). | |
1580 | (dbxout_source_line): Increment dbxout_source_line_counter | |
1581 | and pass it to ASM_OUTPUT_SOURCE_LINE. | |
1582 | * sdbout.c (sdbout_source_line_counter): New global variable. | |
1583 | Mark it with GTY(()). | |
1584 | (unnamed_struct_number): Mark it with GTY(()). | |
1585 | (sdbout_source_line): Increment sdbout_source_line_counter | |
1586 | and pass it to ASM_OUTPUT_SOURCE_LINE. | |
1587 | * xcoffout.c (ASM_OUTPUT_SOURCE_LINE): Add third parameter | |
1588 | (xcoffout_source_line): Pass 0 as third argument to | |
1589 | ASM_OUTPUT_SOURCE_LINE. | |
1590 | (xcoffout_begin_prologue): Likewise. | |
1591 | * config/dbxout.h (ASM_OUTPUT_SOURCE_LINE): Add third parameter. | |
1592 | Use it instead of 'sym_lineno' but without incrementing it. | |
1593 | * config/dbxelf.h (ASM_OUTPUT_SOURCE_LINE): Likewise. | |
1594 | * config/lynx.h (ASM_OUTPUT_SOURCE_LINE): Likewise. | |
1595 | * config/ptx4.h (ASM_OUTPUT_SOURCE_LINE): Likewise. | |
1596 | * config/alpha/alpha.c (alpha_start_function): Pass 0 as third | |
1597 | argument to ASM_OUTPUT_SOURCE_LINE. | |
1598 | * config/alpha/alpha.h (ASM_OUTPUT_SOURCE_LINE): Add third parameter. | |
1599 | * config/arm/aout.h: Remove useless comment. | |
1600 | * config/avr/avr.h (ASM_OUTPUT_SOURCE_LINE): Add third parameter. | |
1601 | * config/i960/i960.h (ASM_OUTPUT_SOURCE_LINE): Likewise. | |
1602 | * config/m32r/m32r.h (ASM_OUTPUT_SOURCE_LINE): Add third parameter. | |
1603 | Use it instead of 'sym_lineno' but without incrementing it. | |
1604 | * config/m68k/hp320.h (ASM_OUTPUT_SOURCE_LINE): Add third parameter. | |
1605 | * config/mcore/mcore-pe.h (ASM_OUTPUT_SOURCE_LINE): Add third | |
1606 | parameter. Use it instead of 'sym_lineno' but without incrementing it. | |
1607 | * config/mips/mips.c (mips_output_function_prologue): Pass 0 as third | |
1608 | argument to ASM_OUTPUT_SOURCE_LINE. | |
1609 | * config/mips/mips.h (ASM_OUTPUT_SOURCE_LINE): Add third parameter. | |
1610 | * config/mmix/mmix.h (ASM_OUTPUT_SOURCE_LINE): Likewise. | |
1611 | * config/pa/som.h (ASM_OUTPUT_SOURCE_LINE): Add third parameter. | |
1612 | Use it instead of 'sym_lineno' but without incrementing it. | |
1613 | * config/rs6000/linux64.h (ASM_OUTPUT_SOURCE_LINE): Likewise. | |
1614 | * config/sh/elf.h (ASM_OUTPUT_SOURCE_LINE): Likewise. | |
1615 | * config/sparc/aout.h (ASM_OUTPUT_SOURCE_LINE): Likewise. | |
1616 | * config/sparc/pbd.h (ASM_OUTPUT_SOURCE_LINE): Likewise. | |
1617 | * doc/tm.texi (ASM_OUTPUT_SOURCE_LINE): Document third parameter. | |
1618 | ||
730cf822 RS |
1619 | 2003-06-17 Richard Sandiford <rsandifo@redhat.com> |
1620 | ||
1621 | * config/mips/mips-protos.h (mips_expand_block_move): Declare. | |
1622 | (expand_block_move, output_block_move): Remove. | |
1623 | * config/mips/mips.h (enum block_move_type): Remove. | |
1624 | * config/mips/mips.c (block_move_call, output_block_move): Remove. | |
1625 | (mips_block_move_straight, mips_adjust_block_mem): New function. | |
1626 | (mips_block_move_loop): Renamed and reworked from block_move_loop. | |
1627 | (mips_expand_block_move): Likewise expand_block_move. Return false | |
1628 | to fall back on the target-independent code. | |
1629 | * config/mips/mips.md (movstrsi): Use mips_expand_block_move. | |
1630 | (movstrsi_internal*): Remove. | |
1631 | ||
6cf87ca4 ZW |
1632 | 2003-06-16 Zack Weinberg <zack@codesourcery.com> |
1633 | ||
1634 | * cpplib.h, cpphash.h, cppcharset.c, cpperror.c, cppexp.c | |
1635 | * cppfiles.c, cpphash.c, cppinit.c, cpplex.c, cpplib.c | |
1636 | * cppmacro.c, cpppch.c, cpptrad.c, cppspec.c: Convert to | |
1637 | ISO C: new-style function declarations, no need for PARAMS, | |
1638 | no special punctuation on indirect function calls, use string | |
1639 | constant concatenation where convenient. | |
1640 | ||
5b0e2409 AJ |
1641 | 2003-06-17 Andreas Jaeger <aj@suse.de> |
1642 | ||
1643 | * rtl.h: Remove declarations from coverage.h. | |
1644 | * toplev.c: Include coverage.h. | |
1645 | * Makefile.in (toplev.o): Depend on coverage.h. | |
1646 | ||
1647 | * toplev.h: Remove extra declaration of print_time. | |
1648 | ||
1649 | * gengtype.c (close_output_files): Remove duplicated declaration. | |
1650 | ||
77094862 NN |
1651 | 2003-06-16 Nathanael Nerode <neroden@gcc.gnu.org> |
1652 | ||
cc0651d2 NN |
1653 | * config/sparc/sysv4.h: Remove target-independent comment; |
1654 | replace "GNU CC" with "GCC". | |
b06c827c | 1655 | * config/vxworks.h: Replace "GNU compiler" with "GCC". |
de0a398e NN |
1656 | * config/sparc/aout.h, config/sparc/biarch64.h, config/sparc/elf.h, |
1657 | config/sparc/freebsd.h, config/sparc/linux.h, config/sparc/linux64.h, | |
1658 | config/sparc/lite.h, config/sparc/litecoff.h, config/sparc/liteelf.h, | |
6cf87ca4 | 1659 | config/sparc/netbsd-elf.h, config/sparc/openbsd.h, |
de0a398e NN |
1660 | config/sparc/rtemself.h, config/sparc/sol2-64.h, |
1661 | config/sparc/sol2-bi.h, config/sparc/sol2-gas-bi.h, | |
1662 | config/sparc/sol2-gld-bi.h, config/sparc/sol2-gld.h, | |
6cf87ca4 | 1663 | config/sparc/sol2.h, config/sparc/sp64-aout.h, |
de0a398e NN |
1664 | config/sparc/sp64-elf.h, config/sparc/sp86x-elf.h, |
1665 | config/sparc/sparc-protos.h, config/sparc/sysv4-only.h: Replace | |
1666 | "GNU compiler", "GNU CC" with "GCC". | |
4d8af13f NN |
1667 | * config/sparc/cypress.md, config/sparc/hypersparc.md, |
1668 | config/sparc/sparc-modes.def, config/sparc/sparc.c, | |
1669 | config/sparc/sparc.md, config/sparc/sparclet.md, | |
1670 | config/sparc/supersparc.md, config/sparc/ultra1_2.md, | |
1671 | config/sparc/ultra3.md: Replace "GNU CC", "GNU Compiler", and | |
1672 | "GNU C Compiler" with "GCC". | |
77094862 NN |
1673 | * config/ip2k/ip2k.h: Replace "GNU CC" and "GNU compiler" with "GCC". |
1674 | ||
0a84d874 AH |
1675 | 2003-06-16 Aldy Hernandez <aldyh@redhat.com> |
1676 | ||
1677 | * simplify-rtx.c (simplify_subreg): Do not over-extend vector | |
1678 | constants. | |
1679 | ||
1680 | * testsuite/gcc.c-torture/execute/simd-4.c: New. | |
1681 | ||
9cd598aa NN |
1682 | 2003-06-16 Nathanael Nerode <neroden@gcc.gnu.org> |
1683 | ||
c24851de NN |
1684 | * config/ip2k/ip2k.h: Remove target-independent comments. |
1685 | ||
9cd598aa NN |
1686 | * config.gcc: Explicitly mention elfos.h in ip2k entry. |
1687 | * config/ip2k/ip2k.h: Don't #include it here. | |
1688 | ||
4ff58371 KG |
1689 | 2003-06-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
1690 | ||
fad205ff KG |
1691 | * bitmap.c, builtins.c, c-incpath.c, cgraph.c, config/frv/frv.c, |
1692 | config/mips/mips.c, cppfiles.c, cpphash.c, cppinit.c, cpplib.c, | |
1693 | dwarf2out.c, dwarfout.c, except.c, expr.c, expr.h, fold-const.c, | |
1694 | function.c, gcc.c, genoutput.c, gensupport.c, global.c, | |
1695 | haifa-sched.c, hashtable.c, ifcvt.c, integrate.c, local-alloc.c, | |
1696 | loop.c, mips-tdump.c, mips-tfile.c, mkdeps.c, protoize.c, | |
1697 | read-rtl.c, recog.h, reload1.c, sbitmap.c, ssa-dce.c, | |
1698 | stringpool.c, tlink.c, tree.c, varasm.c, varray.c: Don't use | |
1699 | the PTR macro. | |
1700 | ||
4ff58371 KG |
1701 | * gengtype.c: Don't use UNION_INIT_ZERO. |
1702 | * system.h (UNION_INIT_ZERO): Delete. | |
1703 | ||
799ab2c7 RH |
1704 | 2003-06-16 Richard Henderson <rth@redhat.com> |
1705 | ||
1706 | * simplify-rtx.c (simplify_subreg): Use GET_MODE_SIZE instead of | |
1707 | GET_MODE_UNIT_SIZE when simplifying constant vectors. | |
1708 | ||
33b0d00f AJ |
1709 | 2003-06-16 Andreas Jaeger <aj@suse.de> |
1710 | ||
1711 | * timevar.c (get_run_time): Remove function provided also by | |
1712 | libiberty. | |
1713 | * timevar.h: Remove get_run_time declaration. | |
1714 | ||
3391875b KH |
1715 | 2003-06-16 Kazu Hirata <kazu@cs.umass.edu> |
1716 | ||
1717 | * config/m68hc11/m68hc11.c (m68hc11_rtx_costs): Remove | |
1718 | unreachable code. | |
1719 | ||
9a238586 KG |
1720 | 2003-06-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
1721 | ||
1722 | * builtin-attrs.def, builtin-attrs.def, builtins.c, cpplex.c, | |
1723 | cpplib.c, gencheck.c, gengenrtl.c, machmode.def, protoize.c: Don't | |
1724 | use macros from "symcat.h", instead rely on ISO C. | |
6cf87ca4 | 1725 | |
9a238586 KG |
1726 | * system.h: Don't include "symcat.h". |
1727 | * configure.in (AC_C_STRINGIZE): Delete. | |
1728 | * config.in, configure: Regenerate. | |
1729 | ||
7f42b6d7 RK |
1730 | 2003-06-16 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
1731 | ||
f0c4fac7 RK |
1732 | * Makefile.in (install-mkheaders): Use INSTALL_SCRIPT for scripts. |
1733 | ||
7f42b6d7 RK |
1734 | * tree.h (STMT_CHECK): New macro. |
1735 | Also upper-case argument names on all checking macros and | |
1736 | fix some whitespace problems; assume CODE argument does not | |
1737 | have side-effects. | |
1738 | ||
89d09f83 KG |
1739 | 2003-06-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
1740 | ||
2a0621b9 KG |
1741 | * scan.h: Convert to ISO C. |
1742 | * system.h: Likewise. | |
1743 | ||
89d09f83 KG |
1744 | * c-format.c (dynamic_format_types): New pointer for dynamic data. |
1745 | (find_length_info_modifier_index, init_dynamic_asm_fprintf_info): | |
1746 | New functions split out of... | |
1747 | (handle_format_attribute): ...here. | |
1748 | ||
735cb76e R |
1749 | 2003-06-16 J"orn Rennecke <joern.rennecke@superh.com> |
1750 | ||
1751 | * sh.h (REG_CLASS_FROM_LETTER): Change to: | |
1752 | (REG_CLASS_FROM_CONSTRAINT). | |
1753 | (CONST_OK_FOR_I): Rename to: | |
1754 | (CONST_OK_FOR_I08). Changed all users. | |
1755 | (CONST_OK_FOR_J): Rename to: | |
1756 | (CONST_OK_FOR_I16). Changed all users. | |
1757 | (CONST_OK_FOR_K): Rename to: | |
1758 | (CONST_OK_FOR_P27). Changed all users. | |
1759 | (CONST_OK_FOR_L): Rename to: | |
1760 | (CONST_OK_FOR_K08). Changed all users. | |
1761 | (CONST_OK_FOR_O): Rename to: | |
1762 | (CONST_OK_FOR_I06). Changed all users. | |
1763 | (CONST_OK_FOR_P): Rename to: | |
1764 | (CONST_OK_FOR_I10). Changed all users. | |
1765 | (CONSTRAINT_LEN, CONST_OK_FOR_I, CONST_OK_FOR_J16): Define. | |
1766 | (CONST_OK_FOR_J, CONST_OK_FOR_K, CONST_OK_FOR_P): Likewise. | |
1767 | (EXTRA_CONSTRAINT_A, EXTRA_CONSTRAINT_Bsc): Likewise. | |
1768 | (EXTRA_CONSTRAINT_B, PIC_OFFSET_P, PIC_DIRECT_ADDR_P): Likewise. | |
1769 | (EXTRA_CONSTRAINT_Cpg, EXTRA_CONSTRAINT_C): Likewise. | |
1770 | (EXTRA_MEMORY_CONSTRAINT,(EXTRA_CONSTRAINT_Sr0): Likewise. | |
1771 | (CONST_OK_FOR_LETTER_P): Replace with | |
1772 | (CONST_OK_FOR_CONSTRAINT_P). | |
1773 | (EXTRA_CONSTRAINT_S): Rename to: | |
1774 | (EXTRA_CONSTRAINT_C16). Changed all users. | |
1775 | (MOVI_SHORI_BASE_OPERAND_P): Don't allow direct addresses. | |
1776 | (EXTRA_CONSTRAINT_T): Rename to: | |
1777 | (EXTRA_CONSTRAINT_Csy). Changed all users. | |
1778 | (EXTRA_CONSTRAINT_Z): Remove. | |
1779 | (EXTRA_CONSTRAINT): Replace with: | |
1780 | (EXTRA_CONSTRAINT_STR). | |
1781 | (EXTRA_CONSTRAINT_U): Rename to: | |
1782 | (EXTRA_CONSTRAINT_Z). Changed all users. | |
1783 | * sh.c (and_operand): Use CONST_OK_FOR_J16. | |
1784 | * sh.md (cmpeqsi_t-1, cmpeqsi_t, adddi3_media): Use new constraints. | |
1785 | (addsi3_media, addsi3_compact, andsi3_compact, anddi3): Likewise. | |
1786 | (iorsi3, iordi3, xorsi3, xordi3, ashlsi3_std, ashlhi3_k): Likewise. | |
1787 | (lshrsi3_k, movsi_i, movsi_ie, movsi_i_lowpart, movsi_media): Likewise. | |
1788 | (movsi_media_nofpu, movqi_media, movhi_i, movhi_media): Likewise. | |
1789 | (*movdi_i, movdi_media, movdi_media_nofpu, shori_media): Likewise. | |
1790 | (movdf_media, movdf_media_nofpu, movv2sf_i, movv4sf_i): Likewise. | |
1791 | (movsf_media, movsf_media_nofpu, movsi_y, beq_media): Likewise. | |
1792 | (beq_media_i, bne_media, pt, ptb, movv8qi_i, movv2hi_i): Likewise. | |
1793 | (movv4hi_i, movv2si_i, negcmpeqv8qi, negcmpeqv2si): Likewise. | |
1794 | (negcmpeqv4hi, negcmpgtuv8qi, negcmpgtv2si, negcmpgtv4hi): Likewise. | |
1795 | (mcmv, mcnvs_lw, mcnvs_wb, mcnvs_wub, mextr_rl, mextr_lr): Likewise. | |
1796 | (mextr1, mextr2, mextr3, mextr4, mextr5, mextr6, mextr7): Likewise. | |
1797 | (mperm_w, mperm_w_little, mperm_w_big, msad_ubq_i): Likewise. | |
1798 | (mshards_q, mshfhi_b, mshflo_b, mshf4_b, mshf0_b, mshfhi_l): Likewise. | |
1799 | (mshflo_l, mshf4_l, mshf0_l, mshfhi_w, mshflo_w, mshf4_w): Likewise. | |
1800 | (mshf0_w, mshflo_w_x, mshfhi_l_di, mshfhi_l_di_rev): Likewise. | |
1801 | (mshflo_l_di_rev, mshflo_l_di_x, concat_v2sf): Likewise. | |
1802 | (mshflo_l_di_x_rev, subv2si3, subv4hi3, sssubv2si3): Likewise. | |
1803 | (sssubv4hi3): Likewise. | |
1804 | (movsf_i): Change I[08]/r to G/r. | |
1805 | (movsf_ie): Change f/{G,H}/c/X to f/{G,H}/c/Bsc. | |
1806 | ||
1807 | * sh.c (sh_output_mi_thunk): Use CONST_OK_FOR_ADD. | |
1808 | ||
bce75972 VM |
1809 | 2003-06-16 Vladimir Makarov <vmakarov@redhat.com> |
1810 | ||
1811 | * config/i386/i386.c (ix86_memory_move_cost): Fix typo. | |
1812 | ||
ebf0d392 AJ |
1813 | 2003-06-16 Andreas Jaeger <aj@suse.de> |
1814 | ||
9286d5a8 AJ |
1815 | * basic-block.h: Remove duplicate prototype of |
1816 | note_prediction_to_br_prob. | |
1817 | ||
ebf0d392 AJ |
1818 | * tree.h: Remove duplicate prototype of strip_float_extensions. |
1819 | ||
0eff02cd KG |
1820 | 2003-06-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
1821 | ||
1822 | * config/c4x/c4x.c: Don't include "c-tree.h". | |
1823 | * config/pa/pa.c: Likewise. | |
1824 | * langhooks.c: Likewise. | |
1825 | * tree.h (poplevel): Declare. | |
1826 | ||
08dca707 KH |
1827 | 2003-06-16 Kazu Hirata <kazu@cs.umass.edu> |
1828 | ||
1829 | * config/h8300/h8300.c (const_costs): Move this to ... | |
1830 | (h8300_rtx_costs): ... here. | |
1831 | ||
82d397c7 RS |
1832 | 2003-06-16 Roger Sayle <roger@eyesopen.com> |
1833 | ||
1834 | * optabs.h (enum optab_index): Add new OTI_tan and OTI_atan. | |
1835 | (tan_optab, atan_optab): Define corresponding macros. | |
1836 | * optabs.c (init_optabs): Initialize tan_optab and atan_optab. | |
1837 | * genopinit.c (optabs): Implement tan_optab and atan_optab | |
1838 | using tan?f2 and atan?f2 patterns. | |
1839 | * builtins.c (expand_builtin_mathfn): Handle BUILT_IN_TAN{,F,L} | |
1840 | using tan_optab, and BUILT_IN_ATAN{,F,L} using atan_optab. | |
1841 | Change the default value of errno_set to false. | |
1842 | (expand_builtin): Expand BUILT_IN_TAN{,F,L} and BUILT_IN_ATAN{,F,L} | |
1843 | using expand_builtin_mathfn. | |
1844 | ||
1845 | * config/i386/i386.md (atansf2, atandf2, atanxf2, atantf2): New | |
1846 | expander patterns implemented using existing atan2?f3 patterns. | |
1847 | ||
c6547c92 RS |
1848 | 2003-06-16 Roger Sayle <roger@eyesopen.com> |
1849 | ||
1850 | * expr.c (expand_expr <PLUS_EXPR>): If operand_equal_p considers | |
1851 | both operands of the addition equal, reuse the expanded RTL. | |
1852 | (expand_expr <MULT_EXPR>): Likewise for multiplication. | |
1853 | ||
21c43754 RS |
1854 | 2003-06-16 Roger Sayle <roger@eyesopen.com> |
1855 | Jeff Law <law@redhat.com> | |
1856 | ||
1857 | * fold-const.c (operand_equal_p): Consider two calls to "const" | |
1858 | functions with identical non-volatile arguments to be equal. | |
1859 | Consider the FUNCTION_DECL for the "__builtin_foo" form of a | |
1860 | built-in function to be equal to the "foo" form. | |
1861 | ||
93ffe49c NN |
1862 | 2003-06-16 Nathanael Nerode <neroden@gcc.gnu.org> |
1863 | ||
1864 | * config/rs6000/sysv4le.h: Remove target-independent comment. | |
1865 | Replace "GNU compiler" with "GCC" in comment. | |
1866 | ||
baaa1222 AJ |
1867 | 2003-06-16 Andreas Jaeger <aj@suse.de> |
1868 | ||
1a9962c2 | 1869 | * tracer.c: Remove duplicate declaration. |
baaa1222 AJ |
1870 | |
1871 | * toplev.c: Remove extra declaration of decode_d_option. | |
1872 | ||
1873 | * ssa.c: Remove duplicate declaration. | |
1874 | ||
1875 | * sreal.c: Remove extra declaration of dump_sreal. | |
1876 | ||
1877 | * reload1.c: Remove duplicate declarations. | |
1878 | ||
1879 | * integrate.c: Remove extra declaration of | |
1880 | set_decl_abstract_flags. | |
1881 | ||
1882 | * flow.c: Remove extra declaration of dump_flow_info. | |
1883 | ||
1884 | * alias.c: Remove extra declaration of get_addr. | |
1885 | ||
5e6908ea NN |
1886 | 2003-06-16 Nathanael Nerode <neroden@gcc.gnu.org> |
1887 | ||
814499a4 NN |
1888 | * config/rtems.h, config/sol2.h, config/svr4.h, config/usegas.h, |
1889 | config/vxworks.h: GNU CC -> GCC. | |
1890 | ||
5e6908ea NN |
1891 | * convert.c, dwarf2out.c, dwarfout.c, emit-rtl.c, function.c, |
1892 | lists.c, print-rtl.c, print-tree.c, read-rtl.c, rtl-error.c, | |
1893 | stmt.c, toplev.c, integrate.h, loop.h, machmode.h, rtl.h, | |
1894 | ssa.h, tree.def: Replace overly specific references to "GNU C" | |
1895 | and "GNU C Compiler" with references to "GCC". | |
1896 | ||
3ff5ef1b R |
1897 | 2003-06-16 J"orn Rennecke <joern.rennecke@superh.com> |
1898 | ||
266a2732 R |
1899 | * sh.c (prepare_move_operand): Check if operand 0 is an invalid |
1900 | memory reference. Fix test that checks if operand 1 is using r0. | |
1901 | * sh.md (movhi_i): Don't allow st.w r0,@(rX,rY) . | |
1902 | ||
1903 | * defaults.h (REG_CLASS_FROM_CONSTRAINT): Only define if not already | |
1904 | defined. | |
3ff5ef1b | 1905 | |
fd3acbb3 NS |
1906 | 2003-06-15 Nathan Sidwell <nathan@codesourcery.com> |
1907 | ||
1908 | * function.h (struct emit_status): Remove x_last_linenum, | |
1909 | x_last_filename. Add x_last_location. | |
1910 | * rtl.h: #include "input.h". | |
1911 | (NOTE_DATA): New. | |
1912 | * cfglayout.c (duplicate_insn_chain): Use emit_line_note for line | |
1913 | number notes. | |
1914 | * emit-rtl.c (last_linenum, last_filename): Remove. | |
1915 | (last_location): New. | |
1916 | (emit_line_note_after): LINE must always be >= 0. | |
1917 | (emit_line_note): Likewise. Check not duplicate here... | |
1918 | (emit_note): ... rather than here. | |
1919 | (emit_line_note_force, force_next_line_note, init_emit): Adjust. | |
1920 | * integrate.c (expand_inline_function): Use emit_line_note for | |
1921 | line number notes. | |
1922 | (copy_insn_list): Likewise. | |
1923 | * unroll.c (copy_loop_body): Likewise. | |
1924 | * Makefile.in (RTL_H): Add input.h. | |
1925 | ||
695a94b3 RS |
1926 | 2003-06-16 Richard Sandiford <rsandifo@redhat.com> |
1927 | ||
1928 | * optabs.c (emit_libcall_block): Don't hoist insns past a label. | |
1929 | ||
a5c24926 RH |
1930 | 2003-06-16 Richard Henderson <rth@redhat.com> |
1931 | ||
1932 | * config/alpha/alpha-protos.h, config/alpha/elf.h, | |
1933 | config/alpha/osf.h, config/alpha/unicosmk.h, config/alpha/vms.h, | |
1934 | config/alpha/vms-cc.c, config/alpha/vms-ld.c: Update to ISO C. | |
1935 | * config/alpha/alpha.c: Likewise. Move targetm init to end of file. | |
1936 | Remove unneeded static function decls. | |
1937 | ||
7b086b11 NB |
1938 | 2003-06-16 Neil Booth <neil@daikokuya.co.uk> |
1939 | ||
1940 | * c-opts.c (c_common_handle_option): s/on/value/. | |
1941 | (OPT_fabi_version_, OPT_ftabstop_, OPT_ftemplate_depth_): Use value | |
1942 | directly rather than converting the argument. | |
1943 | * c.opt: Update docs. Use UInteger where appropriate. | |
1944 | * common.opt: Use UInteger where appropriate. | |
1945 | * opts.c (integral_argument): New. | |
1946 | (handle_argument): Handle integral arguments, and optional | |
1947 | joined arguments. | |
1948 | (common_handle_option): Update. | |
1949 | * opts.h (CL_MISSING_OK, CL_UINTEGER): New. | |
1950 | * opts.sh: Handle JoinedOrMissing and UInteger flags. | |
1951 | ||
89aa997a NB |
1952 | 2003-06-16 Neil Booth <neil@daikokuya.co.uk> |
1953 | ||
1954 | * config/rs6000/sysv4.h (ASM_OUTPUT_ALIGNED_LOCAL): Remove | |
1955 | unnecessary extern declaration. | |
1956 | ||
612aeba5 NN |
1957 | 2003-06-15 Nathanael Nerode <neroden@gcc.gnu.org> |
1958 | ||
9286d5a8 AJ |
1959 | * config/gofast.h, config/interix.h, config/interix3.h, |
1960 | config/libgloss.h, config/linux-aout.h, config/linux.h, | |
2a71dcad NN |
1961 | config/lynx-ng.h, config/lynx.h: GNU CC -> GCC. |
1962 | * config/kaos.h: "GNU compiler" -> GCC. | |
1963 | * config/linux-aout.h, config/lynx.h: Clarify comment describing file. | |
1964 | ||
0743f00d NN |
1965 | * config/ip2k/crt0.S, config/ip2k/ip2k-protos.h, |
1966 | config/ip2k/ip2k.c, config/ip2k/ip2k.md, config/ip2k/libgcc.S: | |
1967 | GNU CC -> GCC. | |
1968 | ||
9286d5a8 | 1969 | * config/svr3.h: Remove #if 0 code, misleading comments. |
612aeba5 NN |
1970 | GNU CC -> GCC. |
1971 | ||
64c1652c ZW |
1972 | 2003-06-15 Zack Weinberg <zack@codesourcery.com> |
1973 | ||
1974 | * vmsdbgout.c (vmsdbgout_finish): Rename parameter to | |
1975 | main_input_filename to avoid conflict with input_filename macro. | |
1976 | ||
8f95bd52 NB |
1977 | 2003-06-15 Neil Booth <neil@daikokuya.co.uk> |
1978 | ||
1979 | * config/mips/mips.h (asm_file_name, g_switch_set, | |
1980 | g_switch_value): Remove. | |
1981 | * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Remove | |
1982 | unnecessary extern declarations. | |
1983 | ||
a352c71f NB |
1984 | 2003-06-15 Neil Booth <neil@daikokuya.co.uk> |
1985 | ||
1986 | * config/frv/frv.h: Remove declaration of g_switch_value. | |
1987 | * config/m32r/m32r.h: Remove declaration of g_switch_value. | |
1988 | * config/m68hc11/m68hc11.c: Remove declaration of asm_file_name. | |
1989 | ||
5641d622 NB |
1990 | 2003-06-15 Neil Booth <neil@daikokuya.co.uk> |
1991 | ||
1992 | * opts.sh: Quote '+' in regex. | |
1993 | ||
117dca74 AP |
1994 | 2003-06-15 Andrew Pinski <pinskia@physics.uc.edu> |
1995 | ||
1996 | * config/rs6000/t-rs6000: Add dependence of cfglayout.h to rs6000.o. | |
1997 | * config/rs6000/rs6000.c: Include cfglayout.h. | |
1998 | * config/alpha/alpha.c: Likewise. | |
1999 | * config/ia64/ia64.c: Likewise. | |
2000 | * config/sparc/sparc.c: Likewise. | |
2001 | * config/sh/sh.c: Likewise. | |
2002 | ||
3ec76475 NB |
2003 | 2003-06-15 Neil Booth <neil@daikokuya.co.uk> |
2004 | ||
2005 | * opts.sh: Quote '+' in regex. | |
2006 | ||
be43ab4e NB |
2007 | 2003-06-15 Neil Booth <neil@daikokuya.co.uk> |
2008 | ||
2009 | * c-opts.c (lang_flags): Update for new spelling of flags. | |
2010 | (write_langs): Similarly. | |
2011 | * c.opt: Specify languages. | |
2012 | * opts.h: Remove languages. | |
2013 | * opts.sh: Recognise front-end defined languages. | |
fd3acbb3 | 2014 | * doc/sourcebuild.texi: Update. |
be43ab4e | 2015 | |
4682ae04 AJ |
2016 | 2003-06-15 Andreas Jaeger <aj@suse.de> |
2017 | ||
2018 | * alloc-pool.c: Convert to ISO C90 prototypes. | |
2019 | * alloc-pool.h: Likewise. | |
2020 | * alias.c: Likewise. | |
2021 | * attribs.c: Likewise. | |
2022 | * bb-reorder.c: Likewise. | |
2023 | * bitmap.h: Likewise. | |
2024 | * bitmap.c: Likewise. | |
2025 | * builtins.c: Likewise. | |
2026 | ||
2027 | * tree.h: Convert prototypes of attribs.c to ISO C90. | |
2028 | * basic-block.h: Convert prototypes of bb-reorder.c to ISO C90. | |
2029 | * rtl.h: Convert prototypes of alias.c and builtins.c to ISO C90. | |
2030 | * expr.h: Convert prototypes of builtins.c to ISO C90. | |
2031 | ||
9d5b9dae RS |
2032 | 2003-06-15 Roger Sayle <roger@eyesopen.com> |
2033 | ||
2034 | * config/i386/i386.md (expsf2, expdf2, expxf2): New patterns to | |
2035 | implement exp, expf and expl built-ins as inline x87 intrinsics. | |
2036 | (UNSPEC_FSCALE, UNSPEC_FRNDINT, UNSPEC_F2XM1): New unspecs to | |
2037 | represent x87's fscale, frndint and f2xm1 insns respectively. | |
2038 | (*fscale_sfxf3, *fscale_dfxf3, *fscale_xf3): New insn patterns | |
2039 | to encode x87's "fscale" instruction followed by a pop. | |
2040 | (*frndintxf2): New insn pattern for "frndint". | |
2041 | (*f2xm1xf2): New insn pattern for "f2xm1". | |
2042 | ||
2043 | * reg-stack.c (subst_stack_regs_pat): Handle UNSPEC_FRNDINT and | |
2044 | UNSPEC_F2XM1 like UNSPEC_{SIN,COS} and handle UNSPEC_FSCALE like | |
2045 | UNSPEC_FPATAN. | |
2046 | ||
84fb2019 RK |
2047 | 2003-06-15 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
2048 | ||
cbdb4ba2 RK |
2049 | * gencheck.c (main): Avoid generating duplicate macros. |
2050 | ||
84fb2019 RK |
2051 | * Makefile.in (stagefeedback-start): Use $(SUBDIRS) instead of |
2052 | knowing names of language subdirectories. | |
2053 | ||
d185d268 NB |
2054 | 2003-06-15 Neil Booth <neil@daikokuya.co.uk> |
2055 | ||
2056 | * c-pch.c (asm_file_name): Remove. | |
2057 | * common.opt: Add more switches. | |
2058 | * flags.h (g_switch_set): Boolify. | |
2059 | * opts.c (g_switch_value, g_switch_set, exit_after_options, | |
2060 | version_flag): Move from toplev.c. | |
2061 | (common_handle_option): Handle more switches from toplev.c. | |
2062 | * toplev.c (display_help, display_target_options, decode_d_option, | |
2063 | print_version): Make non-static, remove prototypes. | |
2064 | (aux_base_name, asm_file_name, aux_info_file_name): Constify. | |
2065 | (version_flag, g_switch_value, g_switch_set, exit_after_options): | |
2066 | Remove. | |
2067 | (independent_decode_option): Move some handlers to opts.c. | |
2068 | * toplev.h (aux_info_file_name, aux_base_name, asm_file_name, | |
2069 | exit_after_options, version_flag, display_help, display_target_options, | |
2070 | print_version, decode_d_option): New. | |
2071 | ||
72ac76be KH |
2072 | 2003-06-15 Kazu Hirata <kazu@cs.umass.edu> |
2073 | ||
2074 | * config/alpha/alpha.md: Follow spelling conventions. | |
2075 | * config/arm/arm.c: Likewise. | |
2076 | * config/arm/arm.h: Likewise. | |
2077 | * config/arm/arm.md: Likewise. | |
2078 | * config/arm/crtn.asm: Likewise. | |
2079 | * config/m32r/m32r.c: Likewise. | |
2080 | * config/m32r/m32r.md: Likewise. | |
2081 | * config/rs6000/rs6000.c: Likewise. | |
2082 | ||
a2855205 RH |
2083 | 2003-06-15 Richard Henderson <rth@redhat.com> |
2084 | ||
2085 | * config/alpha/alpha.c (alpha_output_mi_thunk_osf): Call | |
2086 | insn_locators_initialize. | |
2087 | * config/ia64/ia64.c (ia64_output_mi_thunk): Likewise. | |
2088 | * config/rs6000/rs6000.c (rs6000_output_mi_thunk): Likewise. | |
2089 | * config/sparc/sparc.c (sparc_output_mi_thunk): Likewise. | |
2090 | * config/sh/sh.c (sh_output_mi_thunk): Do it later. | |
2091 | ||
51fbbb30 KH |
2092 | 2003-06-15 Kazu Hirata <kazu@cs.umass.edu> |
2093 | ||
2094 | * builtins.c (expand_builtin_expect_jump): Remove redundant | |
2095 | tests that are also in any_condjump_p(). | |
2096 | ||
e87b9d8b KG |
2097 | 2003-06-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
2098 | ||
2099 | * libgcc2.c: Delete sysV68 L_trampoline section. | |
2100 | * config/m68k/mot3300-crt0.S: Delete file. | |
2101 | * config/m68k/mot3300Mcrt0.S: Likewise. | |
2102 | ||
ad9b8af6 NN |
2103 | 2003-06-15 Nathanael Nerode <neroden@gcc.gnu.org> |
2104 | ||
2105 | * config/aoutos.h: Remove. | |
2106 | * config.gcc: Remove reference to aoutos.h. | |
2107 | * config/m68k/m68k-aout.h: Remove reference to aoutos.h. | |
2108 | ||
0b4be7de KH |
2109 | 2003-06-14 Kazu Hirata <kazu@cs.umass.edu> |
2110 | ||
2111 | * doc/install.texi: Follow spelling conventions. | |
2112 | * doc/tm.texi: Likewise. | |
2113 | * config/fp-bit.c: Likewise. | |
2114 | * config/arm/arm.c: Likewise. | |
2115 | * config/frv/frv.c: Likewise. | |
2116 | * config/ns32k/NOTES: Likewise. | |
2117 | * config/ns32k/STATUS: Likewise. | |
2118 | ||
06f31100 RS |
2119 | 2003-06-14 Roger Sayle <roger@eyesopen.com> |
2120 | Zack Weinberg <zack@codesourcery.com> | |
2121 | ||
2122 | * rtl.h (STORE_FLAG_VALUE): Remove default definition from here. | |
2123 | * defaults.h (STORE_FLAG_VALUE): Move default definition to here. | |
2124 | * doc/tm.texi (STORE_FLAG_VALUE): Document the default value. | |
2125 | ||
2126 | * config/alpha/alpha.h (STORE_FLAG_VALUE): Remove definition. | |
2127 | * config/arc/arc.h (STORE_FLAG_VALUE): Likewise. | |
2128 | * config/arm/arm.h (STORE_FLAG_VALUE): Likewise. | |
2129 | * config/cris/cris.h (STORE_FLAG_VALUE): Likewise. | |
2130 | * config/i370/i370.h (STORE_FLAG_VALUE): Likewise. | |
2131 | * config/i386/i386.h (STORE_FLAG_VALUE): Likewise. | |
2132 | * config/i960/i960.h (STORE_FLAG_VALUE): Likewise. | |
2133 | * config/ia64/ia64.h (STORE_FLAG_VALUE): Likewise. | |
2134 | * config/ip2k/ip2k.h (STORE_FLAG_VALUE): Likewise. | |
2135 | * config/m32r/m32r.h (STORE_FLAG_VALUE): Likewise. | |
2136 | * config/mcore/mcore.h (STORE_FLAG_VALUE): Likewise. | |
2137 | * config/mips/mips.h (STORE_FLAG_VALUE): Likewise. | |
2138 | * config/mmix/mmix.h (STORE_FLAG_VALUE): Likewise. | |
2139 | * config/ns32k/ns32k.h (STORE_FLAG_VALUE): Likewise. | |
2140 | * config/pa/pa.h (STORE_FLAG_VALUE): Likewise. | |
2141 | * config/pdp11/pdp11.h (STORE_FLAG_VALUE): Likewise. | |
2142 | * config/sh/sh.h (STORE_FLAG_VALUE): Likewise. | |
2143 | * config/sparc/sparc.h (STORE_FLAG_VALUE): Likewise. | |
2144 | * config/v850/v850.h (STORE_FLAG_VALUE): Likewise. | |
2145 | * config/xtensa/xtensa.h (STORE_FLAG_VALUE): Likewise. | |
2146 | ||
ee6b0296 NS |
2147 | 2003-06-14 Nathan Sidwell <nathan@codesourcery.com> |
2148 | ||
b7a70588 NS |
2149 | * opts.sh (POSIXLY_CORRECT): Unset it. |
2150 | ||
ee6b0296 NS |
2151 | * tree.h (init_function_start): Remove filename and line paramters. |
2152 | * function.c (init_function_start): Remove filename and line | |
2153 | parameters. Use DECL_SOURCE_LOCATION. | |
2154 | * c-decl.c (store_parm_decls): Adjust init_function_start call. | |
2155 | (c_expand_body_1): Likewise. | |
2156 | * coverage.c (create_coverage): Likewise. | |
2157 | * objc/objc-act.c (build_tmp_function_decl): Set line number to | |
2158 | zero. | |
2159 | (hack_method_prototype): Adjust init_function_start call. | |
2160 | ||
2fbe6bc2 RE |
2161 | 2003-06-14 Richard Earnshaw <rearnsha@arm.com> |
2162 | ||
2163 | PR target/3724 | |
2164 | * arm/linux-elf.h (PROFILE_HOOK): Define. | |
2165 | ||
75d2580c RE |
2166 | 2003-06-14 Richard Earnshaw <rearnsha@arm.com> |
2167 | ||
2168 | PR target/11183 | |
2169 | * arm.h (CANNOT_CHANGE_MODE_CLASS): Define. | |
2170 | ||
3708da2a RS |
2171 | 2003-06-14 Roger Sayle <roger@eyesopen.com> |
2172 | ||
2173 | * opts.sh: Work around a mysterious feature in cygwin's gawk | |
2174 | where specifying the input files explicitly has a different | |
2175 | behavior to piping them via stdin. | |
2176 | ||
9756074d NB |
2177 | 2003-06-14 Neil Booth <neil@daikokuya.co.uk> |
2178 | ||
2179 | * doc/sourcebuild.texi: Update. | |
2180 | ||
a4a37b30 RE |
2181 | 2003-06-14 Richard Earnshaw <rearnsha@arm.com> |
2182 | ||
2183 | PR target/11183 | |
2184 | * arm.c (output_move_double): Pass SImode to adjust_address. | |
2185 | ||
d7b42618 NB |
2186 | 2003-06-14 Neil Booth <neil@daikokuya.co.uk> |
2187 | ||
2188 | * Makefile.in: Update to use common.opt and lang_opt_files. | |
2189 | (c-options.c, c-options.h): Remove. | |
2190 | (options.c, options.h): Add. | |
2191 | * c-opts.c: Include options.h not c-options.h. | |
2192 | * common.opt: New file. | |
2193 | * configure, configure.in: Add lang_opt_files. | |
2194 | * opts.c: Include flags.h and diagnostic.h. | |
2195 | (common_handle_option): New. | |
2196 | (handle_option): Update to recognize common options and all | |
2197 | language-dependent options. | |
2198 | * opts.h (CL_F77, CL_JAVA, CL_ADA, CL_COMMON, CL_TREELANG): New. | |
2199 | (struct cl_option): Make flags of type int. | |
2200 | * opts.h: Flag option with front ends to which it applies. | |
2201 | Handle duplicate options. | |
2202 | * toplev.c (filename): Remove. | |
2203 | (independent_decode_option): Don't handle filenames and -quiet. | |
2204 | (process_options, do_compile): Update. | |
2205 | ||
34e8290f NC |
2206 | 2003-06-14 Nick Clifton <nickc@redhat.com> |
2207 | ||
2208 | * doc/install.texi (Specific): Add description of different | |
2209 | ARM supported file format targets. | |
2210 | ||
281ac604 JH |
2211 | Sat Jun 14 11:12:04 CEST 2003 Jan Hubicka <jh@suse.cz> |
2212 | ||
2213 | * reorg.c (emit_delay_sequence, dbr_schedule): Clear insn locators | |
2214 | inside delay slots. | |
2215 | ||
333991cf MK |
2216 | 2003-06-13 Matt Kraai <kraai@alumni.cmu.edu> |
2217 | ||
2218 | * unwind-c.c: Define NO_SIZE_OF_ENCODED_VALUE. | |
2219 | * unwind-pe.h (size_of_encoded_value): Do not define if | |
2220 | NO_SIZE_OF_ENCODED_VALUE is defined. | |
2221 | ||
9ad58e09 RS |
2222 | 2003-06-13 Roger Sayle <roger@eyesopen.com> |
2223 | ||
2224 | * expr.c (expand_expr <COMPLEX_CST>): Handle the case of | |
2225 | expanding a complex constant into a CONCAT target. | |
2226 | ||
ed70c245 ZW |
2227 | 2003-06-13 Zack Weinberg <zack@codesourcery.com> |
2228 | ||
2229 | * config/svr3.h (ASM_FILE_START): Don't use ASM_FILE_START_1. | |
2230 | (ASM_FILE_START_1): Delete. | |
2231 | * config/i386/att.h, config/i386/sco5.h, | |
2232 | config/i386/sysv3.h | |
2233 | (ASM_FILE_START_1): Delete. | |
2234 | ||
1f2cd130 KC |
2235 | 2003-06-13 Kelley Cook <kelleycook@wideopenwest.com> |
2236 | ||
2237 | * config/i386/bsd.h: Remove ASM_FILE_START. | |
2238 | * config/i386/djgpp.h: Likewise. | |
ed70c245 | 2239 | * config/i386/gas.h (ASM_FILE_START): Output .file before .intel_syntax. |
1f2cd130 KC |
2240 | |
2241 | * config/i386/djgpp.h: Move included unix.h, bsd.h, gas.h to ... | |
2242 | * config.gcc (i[34567]86-pc-msdosdjgpp): ... here. | |
2243 | ||
880efc46 VM |
2244 | 2003-06-13 Vladimir Makarov <vmakarov@redhat.com> |
2245 | ||
2246 | PR bootstrap/10835 | |
2247 | * haifa-sched.c (max_lookahead_tries, | |
ed70c245 ZW |
2248 | cached_first_cycle_multipass_dfa_lookahead, |
2249 | cached_issue_rate): New variables. | |
880efc46 VM |
2250 | (max_issue): Check the number of tries. |
2251 | (choose_ready): Calculate max_lookahead_tries. | |
2252 | (sched_init): Check cached_issue_rate. | |
2253 | ||
792bb204 RH |
2254 | 2003-06-13 Richard Henderson <rth@redhat.com> |
2255 | ||
2256 | * cfgbuild.c (make_edges): Set ABNORMAL with SIBCALL. | |
2257 | * cfgrtl.c (purge_dead_edges): Expect it too. | |
2258 | ||
54c2fc72 | 2259 | 2003-06-13 Jim Wilson <wilson@tuliptree.org> |
ed70c245 | 2260 | Eric Botcazou <ebotcazou@libertysurf.fr> |
54c2fc72 JW |
2261 | |
2262 | PR bootstrap/10983 | |
2263 | * combine.c (make_extraction): Use gen_lowpart_for_combine | |
2264 | when extracting from a REG and not in the destination of a SET. | |
2265 | ||
7e7de68b DE |
2266 | 2003-06-13 Doug Evans <dje@sebabeach.org> |
2267 | ||
2268 | * tsystem.h (abort): Declare in inhibit_libc case to remove build | |
2269 | warnings for addvsi3, et.al. | |
2270 | ||
9f629a21 AH |
2271 | 2003-06-13 Aldy Hernandez <aldyh@redhat.com> |
2272 | ||
ed70c245 | 2273 | * c-common.c (handle_mode_attribute): Use VECTOR_MODE_P macro. |
9f629a21 | 2274 | |
ed70c245 | 2275 | * simplify-rtx.c (simplify_subreg): Same. |
9f629a21 | 2276 | |
ed70c245 | 2277 | * emit-rtl.c (gen_lowpart_common): Same. |
9f629a21 | 2278 | |
e15bb5c6 KH |
2279 | 2003-06-13 Kazu Hirata <kazu@cs.umass.edu> |
2280 | ||
2281 | * builtins.c: Fix comment typos. | |
2282 | * fold-const.c: Likewise. | |
2283 | ||
d88e80e6 DE |
2284 | 2003-06-13 Doug Evans <dje@sebabeach.org> |
2285 | Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com> | |
2286 | ||
2287 | * config/m32r/m32r-protos.h (m32r_pass_by_reference): Declare. | |
2288 | * config/m32r/m32r.c (m32r_pass_by_reference): New fn. | |
2289 | (m32r_va_arg): Use it. | |
2290 | * config/m32r/m32r.h (FUNCTION_ARG_PASS_BY_REFERENCE): Ditto. | |
2291 | (RETURN_IN_MEMORY): Ditto. | |
2292 | ||
dc125bdf NN |
2293 | 2003-06-13 Nathanael Nerode <neroden@gcc.gnu.org> |
2294 | ||
4581c678 NN |
2295 | * c-typeck.c: Remove #if 0 clauses. |
2296 | ||
dc125bdf NN |
2297 | PR other/1494 |
2298 | * config/alpha/openbsd.h, config/i386/openbsd.h, | |
2299 | config/m68k/openbsd.h, config/sparc/openbsd.h: Remove | |
2300 | residual reference to EGCS. | |
2301 | ||
6ab5da80 RE |
2302 | 2003-06-13 Richard Earnshaw <rearnsha@arm.com> |
2303 | ||
2304 | * arm.c (output_call_mem): If the address references the link-register | |
2305 | use an instruction sequence that avoids early-clobbering IP. | |
2306 | (eliminate_lr2ip): Delete. | |
2307 | ||
3af0187c KG |
2308 | 2003-06-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
2309 | ||
2310 | * c-format.c (format_types_orig): Disallow '*' width/precision in | |
2311 | asm_fprintf format checks. | |
2312 | ||
c873e11f UW |
2313 | 2003-06-13 Ulrich Weigand <uweigand@de.ibm.com> |
2314 | ||
ed70c245 | 2315 | * config/s390/s390.c (s390_va_arg): Fix alignment when retrieving |
c873e11f UW |
2316 | non-integral types from integer register save area slots. |
2317 | ||
16ae108b NN |
2318 | 2003-06-13 Nathanael Nerode <neroden@gcc.gnu.org> |
2319 | ||
2320 | * config/i386/svr3dbx.h: GNU CC -> GCC; Intel 385 -> Intel 386. | |
2321 | ||
ebd6b6a1 FW |
2322 | 2003-06-13 Florian Weimer <fw@deneb.enyo.de> |
2323 | ||
2324 | * doc/invoke.texi (SPARC Options): Document ``-mimpure-text''. | |
2325 | ||
43c73004 KK |
2326 | 2003-06-13 Kaz Kojima <kkojima@gcc.gnu.org> |
2327 | ||
2328 | * config/sh/linux.h (TARGET_ASM_FILE_END): Set TARGET_ASM_FILE_END | |
2329 | to file_end_indicate_exec_stack. | |
2330 | ||
ee4336ea RH |
2331 | 2003-06-12 Richard Henderson <rth@redhat.com> |
2332 | ||
2333 | PR target/11089 | |
2334 | * config/i386/i386.md (sse_movaps): Use an expander to force | |
2335 | one operand to be a register. | |
2336 | (sse_movups): Likewise. | |
2337 | ||
2ac29877 DE |
2338 | 2003-06-13 Doug Evans <dje@sebabeach.org> |
2339 | ||
2340 | Remove some build warnings. | |
dc9ed76a | 2341 | * config/m32r/initfini.c (__CTOR_LIST__,__DTOR_LIST__): Attribute used. |
2ac29877 DE |
2342 | (__do_global_ctors,__do_global_dtors): Ditto. |
2343 | ||
c63f3a34 RH |
2344 | 2003-06-12 Richard Henderson <rth@redhat.com> |
2345 | ||
2346 | PR middle-end/10557 | |
2347 | * rtlanal.c (subreg_offset_representable_p): Relax subreg check. | |
2348 | ||
0d370a05 KH |
2349 | 2003-06-13 Kazu Hirata <kazu@cs.umass.edu> |
2350 | ||
2351 | * config/m32r/m32r.md: Fix a comment typo. | |
2352 | ||
48028e21 | 2353 | 2003-06-13 Eric Botcazou <ebotcazou@libertysurf.fr> |
ed70c245 | 2354 | Christian Ehrhardt <ehrhardt@mathematik.uni-ulm.de> |
48028e21 EB |
2355 | |
2356 | PR target/10142 | |
2357 | * config/sparc/sparc.c (function_arg_record_value_parms): Add | |
2358 | new 'stack' field. | |
2359 | (function_arg_record_value_1): Set 'stack' to 1 if we run out of | |
2360 | integer slots for an integer field. | |
2361 | (function_arg_record_value_3): Shift vector index. | |
2362 | (function_arg_record_value_2): Likewise. | |
2363 | (function_arg_record_value): Initialize 'stack' to 0. | |
2364 | Set 'stack' to 1 if we run out of integer slots for an integer field. | |
2365 | Generate (parallel [(expr_list (nil) ...) ...]) if 'stack' is set to 1. | |
2366 | ||
5adf448c EB |
2367 | 2003-06-13 Eric Botcazou <ebotcazou@libertysurf.fr> |
2368 | ||
2369 | PR optimization/10955 | |
2370 | * unroll.c (unroll_loop): Fix off-by-one bug. | |
2371 | ||
55c8af0b AH |
2372 | 2003-06-12 Aldy Hernandez <aldyh@redhat.com> |
2373 | ||
ed70c245 | 2374 | * config/rs6000/rs6000.c (function_arg): Remove typo. |
55c8af0b | 2375 | |
cb0e3e3f RH |
2376 | 2003-06-12 Richard Henderson <rth@redhat.com> |
2377 | ||
2378 | * config/i386/i386.c (legitimate_constant_p): Handle UNSPEC_NTPOFF | |
2379 | and UNSPEC_DTPOFF. | |
2380 | ||
8433f113 RH |
2381 | 2003-06-12 Richard Henderson <rth@redhat.com> |
2382 | ||
ed70c245 ZW |
2383 | PR middle-end/10475 |
2384 | * expmed.c (emit_store_flag): Use simplify_gen_subreg directly | |
2385 | for extracting sub-words. | |
8433f113 | 2386 | |
7b687728 RH |
2387 | 2003-06-12 Richard Henderson <rth@redhat.com> |
2388 | ||
ed70c245 ZW |
2389 | PR target/7594 |
2390 | * config/m68k/m68k.md (zero_extendhisi2): Use gen_lowpart_SUBREG. | |
2391 | (zero_extendqihi2, zero_extendqisi2): Likewise. | |
7b687728 | 2392 | |
a6c9bed4 AH |
2393 | 2003-06-12 Aldy Hernandez <aldyh@redhat.com> |
2394 | ||
2395 | * config/rs6000/rs6000.c (function_arg): Always split vectors for | |
2396 | e500 if it's a stdarg function. | |
2397 | (function_arg_advance): Advance 2 registers for vectors in a | |
2398 | stdarg function. | |
2399 | (init_cumulative_args): Initialize stdarg. | |
2400 | (rs6000_spe_function_arg): New. | |
2401 | ||
2402 | * config/rs6000/rs6000.h (rs6000_args): Add stdarg. | |
2403 | ||
4dcc01f3 AH |
2404 | 2003-06-12 Aldy Hernandez <aldyh@redhat.com> |
2405 | ||
ed70c245 | 2406 | * config/rs6000/rs6000.h (MODES_TIEABLE_P): Add SPE vectors. |
4dcc01f3 | 2407 | |
96f26e41 RS |
2408 | 2003-06-12 Roger Sayle <roger@eyesopen.com> |
2409 | ||
2410 | PR middle-end/168 | |
2411 | * fold-const.c (tree_expr_nonnegative_p): Handle addition | |
2412 | and multiplication of zero extensions, floating point division, | |
2413 | and integer<->fp, fp<->fp and zero extension conversions. | |
2414 | The built-in ceil and floor functions preserve signedness. | |
2415 | ||
6356f892 KH |
2416 | 2003-06-12 Kazu Hirata <kazu@cs.umass.edu> |
2417 | ||
2418 | * ChangeLog: Follow spelling conventions. | |
2419 | * ChangeLog.2: Likewise. | |
2420 | * c-decl.c: Likewise. | |
2421 | * cfgloop.h: Likewise. | |
2422 | * cgraph.c: Likewise. | |
2423 | * coverage.c: Likewise. | |
2424 | * cppcharset.c: Likewise. | |
2425 | * cpphash.h: Likewise. | |
2426 | * cpplex.c: Likewise. | |
2427 | * cpplib.c: Likewise. | |
2428 | * dbxout.c: Likewise. | |
2429 | * df.c: Likewise. | |
2430 | * dwarf2out.c: Likewise. | |
2431 | * dwarfout.c: Likewise. | |
2432 | * emit-rtl.c: Likewise. | |
2433 | * explow.c: Likewise. | |
2434 | * gcov-io.c: Likewise. | |
2435 | * gcov-io.h: Likewise. | |
2436 | * gcov.c: Likewise. | |
2437 | * gengtype.c: Likewise. | |
2438 | * ggc.h: Likewise. | |
2439 | * opts.c: Likewise. | |
2440 | * real.c: Likewise. | |
2441 | * reload.c: Likewise. | |
2442 | * stmt.c: Likewise. | |
2443 | ||
25f47a4c JJ |
2444 | 2003-06-12 Janis Johnson <janis187@us.ibm.com> |
2445 | ||
2446 | * doc/install.texi (m32r-*-elf): Change company to Renesas. | |
2447 | ||
f0fda11c JH |
2448 | Thu Jun 12 20:00:55 CEST 2003 Jan Hubicka <jh@suse.cz> |
2449 | ||
2450 | * basic-block.h (flow_delete_block_noexpunge): Kill. | |
2451 | * cfgrtl.c (flow_delete_block_noexpunge): Merge to | |
2452 | rtl_delete_block. | |
2453 | ||
d6fc0492 RH |
2454 | 2003-06-10 Richard Henderson <rth@redhat.com> |
2455 | ||
ed70c245 ZW |
2456 | PR inline-asm/4823 |
2457 | * reg-stack.c (any_malformed_asm): New. | |
2458 | (check_asm_stack_operands): Set it. | |
2459 | (convert_regs_1): Check it before aborting. | |
d6fc0492 | 2460 | |
54da776f AH |
2461 | 2003-06-12 Aldy Hernandez <aldyh@redhat.com> |
2462 | ||
ed70c245 | 2463 | * config/rs6000/spe.md: Change all clobbers of the accumulator to sets. |
54da776f | 2464 | |
c47d8f82 JJ |
2465 | 2003-06-12 Jakub Jelinek <jakub@redhat.com> |
2466 | ||
2467 | * c-opts.c (complain_wrong_lang): Add on argument. | |
2468 | Print no- switch if on is false. | |
2469 | (c_common_decode_option): Adjust caller. | |
2470 | ||
109480b1 UW |
2471 | 2003-06-12 Ulrich Weigand <uweigand@de.ibm.com> |
2472 | ||
2473 | * config/s390/s390.c (s390_emit_prologue): Use LA instead of AR | |
2474 | to initialize GOT register. | |
2475 | ||
f7df23be RS |
2476 | 2003-06-12 Roger Sayle <roger@eyesopen.com> |
2477 | ||
2478 | * fold-const.c (tree_expr_nonnegative_p): Add support for | |
2479 | floating point constants, addition and multiplication. | |
2480 | ||
38b3ef8b R |
2481 | 2003-06-12 J"orn Rennecke <joern.rennecke@superh.com> |
2482 | ||
2483 | * sh.md (adddi3_compact, subdi3_compact): Add earlyclobber | |
2484 | constraint modifier for operand 0. | |
2485 | ||
78b8811a HPN |
2486 | 2003-06-12 Hans-Peter Nilsson <hp@axis.com> |
2487 | ||
2488 | Don't warn on dollars in builtin macro definitions, | |
2489 | e.g. __REGISTER_PREFIX__. | |
2490 | * cpphash.h (struct cpp_reader): Move member warn_dollars... | |
2491 | * cpplib.h (struct cpp_options): ...to here. Change type to | |
2492 | unsigned char. | |
2493 | * cppinit.c (cpp_create_reader): Set it to 1 here. | |
2494 | (post_options): Don't set it here. | |
2495 | * c-opts.c (c_common_init_options): Reset it to 0 here. | |
2496 | (finish_options): Set it here. | |
2497 | * cpplex.c (forms_identifier_p): Tweak for new location of | |
2498 | warn_dollars. | |
2499 | ||
2853bc5a HPN |
2500 | * configure.in (assembler dwarf2 debug_line support): Define insn |
2501 | for cris-*-* and mmix-*-*. | |
2502 | * configure: Regenerate. | |
2503 | ||
6b3a0b34 US |
2504 | 2003-06-11 Uwe Stieber <uwe@kaos-group.de> |
2505 | ||
2506 | * config.gcc (arm*-*-kaos*, i[34567]86-*-kaos*, powerpc-*-kaos*, | |
2507 | powerpcle-*-kaos*, strongarm-*-kaos*): New targets. | |
2508 | (sh-*-elf*): Add sh*-*-kaos* support. | |
2509 | * config/kaos.h, config/arm/kaos-strongarm.h, config/arm/kaos-arm.h, | |
2510 | config/i386/kaos-i386.h, config/rs6000/kaos-ppc.h, | |
2511 | config/sh/kaos-sh.h: New files. | |
2512 | ||
2fa4a849 KH |
2513 | 2003-06-12 Kazu Hirata <kazu@cs.umass.edu> |
2514 | ||
2515 | * gcse.c (fis_get_condition): Make it a global function. | |
2516 | * reload1.c (reload_cse_move2add): Detect implicit sets. | |
2517 | * rtl.h: Add a prototype for fis_get_condition. | |
2518 | ||
d50ad6af RH |
2519 | 2003-06-11 Richard Henderson <rth@redhat.com> |
2520 | ||
2521 | * stmt.c (expand_asm_operands): Don't warn for memories with | |
2522 | queued addresses. | |
2523 | ||
04953ac9 KK |
2524 | 2003-06-11 Kaz Kojima <kkojima@gcc.gnu.org> |
2525 | ||
2526 | * config/sh/sh.h (SUBTARGET_ASM_RELAX_SPEC): Rewrite without | |
2527 | brackets. | |
2528 | ||
7fb26bb0 NB |
2529 | 2003-06-11 Neil Booth <neil@daikokuya.co.uk> |
2530 | ||
2531 | * hooks.c (hook_int_size_t_constcharptr_int_0): New. | |
2532 | * hooks.h (hook_int_size_t_constcharptr_int_0): New. | |
2533 | * langhooks-def.h (lhd_decode_option, LANG_HOOKS_DECODE_OPTION): Die. | |
2534 | (LANG_HOOKS_HANDLE_OPTION, LANG_HOOKS_INITIALIZER): Update. | |
2535 | * langhooks.c (lhd_decode_option): Remove. | |
2536 | * langhooks.h (struct lang_hooks): Remove decode_option. | |
2537 | * opts.c (handle_option): No longer use decode_option. | |
2538 | ||
7e53cfb2 ZD |
2539 | 2003-06-11 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
2540 | ||
2541 | * cfgloopanal.c (variable_initial_value): Update the set of altered | |
2542 | registers correctly. | |
2543 | ||
5f9b0711 RS |
2544 | 2003-06-11 Roger Sayle <roger@eyesopen.com> |
2545 | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | |
2546 | ||
2547 | * config/d30v/d30v.h: Delete reference to ASM_FINAL_SPEC. | |
2548 | * config/i386/netbsd-elf.h: Likewise. | |
2549 | * config/m32r/m32r.h: Likewise. | |
2550 | * config/mn10300/mn10300.h: Likewise. | |
2551 | * config/stormy16/stormy16.h: Likewise. | |
2552 | * config/v850/v850.h: Likewise. | |
2553 | * config/vax/netbsd-elf.h: Likewise. | |
2554 | * config/xtensa/elf.h: Likewise. | |
2555 | * config/xtensa/linux.h: Likewise. | |
2556 | ||
655b7166 RO |
2557 | 2003-06-11 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
2558 | ||
2559 | * config/mips/iris5gas.h (MDEBUG_ASM_SPEC): Override to match | |
2560 | DWARF 2 default. | |
2561 | ||
2562 | * config/mips/dbxmdebug.h: New file. | |
2563 | * config.gcc (mips-sgi-irix6*o32, mips-sgi-irix5*): Use it with | |
2564 | gas and --with-stabs. | |
2565 | ||
658cf52f UW |
2566 | 2003-06-11 Ulrich Weigand <uweigand@de.ibm.com> |
2567 | ||
2568 | * expr.c (can_move_by_pieces): align argument may be unused. | |
2569 | ||
06765df1 R |
2570 | 2003-06-11 J"orn Rennecke <joern.rennecke@superh.com> |
2571 | ||
2572 | * expr.c (convert_move): Handle moves between two CONCATs. | |
2573 | ||
cf874806 KH |
2574 | 2003-06-11 Kazu Hirata <kazu@cs.umass.edu> |
2575 | ||
2576 | * config/h8300/h8300.h (RETURN_IN_MEMORY): Accept DImode if | |
2577 | !TARGET_H8300. | |
2578 | ||
ca9d6cca KH |
2579 | 2003-06-11 Kazu Hirata <kazu@cs.umass.edu> |
2580 | ||
2581 | * config/h8300/h8300.c (final_prescan_insn): Don't dump rtl. | |
2582 | * config/h8300/h8300.h (MASK_RTL_DUMP): Remove. | |
2583 | (TARGET_RTL_DUMP): Likewise. | |
2584 | (TARGET_SWITHCES): Remove -mrtl-dump. | |
2585 | ||
0310c414 RH |
2586 | 2003-06-10 Richard Henderson <rth@redhat.com> |
2587 | ||
2588 | * optabs.c (gen_cond_trap): Fix prepare_operand typo. | |
2589 | ||
15d11f13 RH |
2590 | 2003-06-10 Richard Henderson <rth@redhat.com> |
2591 | ||
2592 | * config/ia64/ia64.md (call_gp): Fix memory mode. | |
2593 | ||
f58d8c95 JW |
2594 | 2003-06-10 James E Wilson <wilson@tuliptree.org> |
2595 | ||
2596 | PR target/8812 | |
2597 | * reload1.c (choose_reload_regs): For equiv reg, add loop over all | |
2598 | hard regs for reload_reg_used_at_all and reg_class_contents checks. | |
2599 | ||
5abfd1af KH |
2600 | 2003-06-10 Kazu Hirata <kazu@cs.umass.edu> |
2601 | ||
2602 | * config/h8300/h8300.c (print_operand): Remove support for | |
2603 | operand character 'b'. | |
2604 | Add the AND case to operand character 'c'. | |
2605 | * config/h8300/h8300.md (two anonymous patterns): Replace | |
2606 | operand character 'b' with 'c'. | |
2607 | ||
ca895f7d KH |
2608 | 2003-06-10 Kazu Hirata <kazu@cs.umass.edu> |
2609 | ||
2610 | * config/h8300/h8300.c (print_operand): Remove support for | |
2611 | operand character 'u'. | |
2612 | ||
3b1b059c NN |
2613 | 2003-06-10 Nathanael Nerode <neroden@gcc.gnu.org> |
2614 | ||
2615 | * configure.in: Fix typo. | |
2616 | * configure: Regenerate. | |
2617 | ||
e85f3dc8 LR |
2618 | 2003-06-10 Loren James Rittle <ljrittle@acm.org> |
2619 | ||
2620 | * config/alpha/alpha.c (unicosmk_file_end): Add conditional | |
2621 | compilation guard. | |
2622 | ||
90534361 R |
2623 | 2003-06-10 J"orn Rennecke <joern.rennecke@superh.com> |
2624 | ||
2625 | * sh-protos.h (function_symbol): Declare. | |
2626 | * sh.c (expand_block_move, expand_ashiftrt): Use it. | |
2627 | (sh_expand_prologue, sh_expand_epilogue): Likewise. | |
2628 | (sh_initialize_trampoline): Likewise. | |
2629 | (function_symbol): New function. | |
2630 | * sh.md (udivsi3, divsi3, mulsi3, ic_invalidate_line): Use it. | |
2631 | (initialize_trampoline, call, call_pop, call_value, sibcall): Likewise. | |
2632 | (call_value_pop, shcompact_return_tramp): Likewise. | |
2633 | ||
2634 | * sh.h (OVERRIDE_OPTIONS): Don't suppress --profile-arc-flag. | |
2635 | ||
2636 | * sh.md (GOTaddr2picreg): Use gen_lowpart to get lowpart of | |
2637 | target register. | |
2638 | ||
e2ce66a9 DD |
2639 | 2003-06-10 DJ Delorie <dj@redhat.com> |
2640 | ||
2641 | * doc/md.texi (Machine Constraints): Document stormy's Z | |
2642 | constraint. | |
2643 | ||
21c157b4 GK |
2644 | 2003-06-10 Geoffrey Keating <geoffk@apple.com> |
2645 | ||
2646 | * except.c (call_site_base): Mark with GTY. | |
2647 | ||
e32bac5b RE |
2648 | 2003-06-10 Richard Earnshaw <rearnsha@arm.com> |
2649 | ||
2650 | * arm-proto.h: Convert to ISO C90 prototypes. | |
2651 | * arm.c: Likewise. | |
2652 | ||
4db8f48a R |
2653 | 2003-06-10 J"orn Rennecke <joern.rennecke@superh.com> |
2654 | ||
2655 | * sh.c (sh_output_mi_thunk): Call insn_locators_initialize. | |
2656 | ||
f80f73e1 SE |
2657 | 2003-06-10 Steve Ellcey <sje@cup.hp.com> |
2658 | ||
2659 | * calls.c (expand_call): Convert structure_value_addr to Pmode if | |
2660 | necessary. | |
2661 | ||
e076f71a AH |
2662 | 2003-06-10 Andrew Haley <aph@redhat.com> |
2663 | ||
2664 | * langhooks-def.h (LANG_HOOKS_DECL_OK_FOR_SIBCALL): New. | |
2665 | (LANG_HOOKS_DECLS): Add LANG_HOOKS_DECL_OK_FOR_SIBCALL. | |
2666 | (lhd_decl_ok_for_sibcall): New. | |
2667 | * langhooks.c (lhd_decl_ok_for_sibcall): New. | |
2668 | * langhooks.h (lang_hooks_for_decls.ok_for_sibcall): New field. | |
2669 | * calls.c (expand_call): Check lang_hook before generating a | |
2670 | sibcall. | |
2671 | ||
e7e09ad8 DD |
2672 | 2003-06-10 DJ Delorie <dj@redhat.com> |
2673 | ||
2674 | * config/stormy16/stormy16.c (xstormy16_extra_constraint_p): Add Z, | |
2675 | which matches (const_int 0) for addhi3. | |
2676 | * config/stormy16/stormy16.md: Document known constraints. | |
2677 | (addhi3): Handle adding zero. | |
2678 | ||
a398a822 KI |
2679 | 2003-06-10 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com> |
2680 | ||
2681 | * config/m32r/m32r.h (HARD_REGNO_RENAME_OK): New. | |
2682 | * config/m32r/m32r.c (m32r_hard_regno_rename_ok): New. | |
2683 | * config/m32r/m32r-protos.h: Prototype it. | |
2684 | ||
bb8f5288 JJ |
2685 | 2003-06-10 Janis Johnson <janis187@us.ibm.com> |
2686 | ||
2687 | * config/rs6000/eabi.h (TARGET_OS_CPP_BUILTINS): Define builtins | |
2688 | common to rs6000 sysv targets. | |
2689 | * config/rs6000/eabisim.h (TARGET_OS_CPP_BUILTINS): Ditto. | |
2690 | * config/rs6000/rtems.h (TARGET_OS_CPP_BUILTINS): Ditto. | |
2691 | ||
52f97a3b NC |
2692 | 2003-06-10 Nick Clifton <nickc@redhat.com> |
2693 | ||
2694 | * config.gcc: Add arm-wince-pe target. | |
2695 | * config/arm/pe.h (MULTILIB_DEFAULTS): Define. | |
ed70c245 | 2696 | Add comment about default apcs26 support. |
52f97a3b NC |
2697 | * config/arm/t-pe (MULTILIB_OPTIONS): Add an -mapcs-32 |
2698 | multilib. | |
ed70c245 | 2699 | (MULTILIB_DIRNAMES): Add 'apcs32'. |
52f97a3b NC |
2700 | * config/arm/t-wince-pe: New makefile fragment. |
2701 | * config/arm/wince-pe.h: New file. Overrides a few definitions | |
2702 | in arm/pe.h | |
2703 | ||
9f0a7f9d RS |
2704 | 2003-06-10 Roger Sayle <roger@eyesopen.com> |
2705 | ||
2706 | * builtins.c (fold_builtin): Optimize cos(-x) as cos(x). | |
2707 | * fold-const.c (fold <NEGATE_EXPR>): Convert -f(x) into f(-x) | |
2708 | when x is easily negated and f is sin, tan or atan. | |
2709 | (fold <MULT_EXPR>): Optimize tan(x)*cos(x) and cos(x)*tan(x) as | |
2710 | sin(x) with flag_unsafe_math_optimizations. | |
2711 | (fold <RDIV_EXPR>): With flag_unsafe_math_optimizations fold | |
2712 | sin(x)/cos(x) as tan(x) and cos(x)/sin(x) as 1.0/tan(x). | |
2713 | ||
8936c82f RS |
2714 | 2003-06-10 Roger Sayle <roger@eyesopen.com> |
2715 | ||
2716 | * fold-const.c (fold <EQ_EXPR>): Don't fold x == x only if x | |
2717 | is a floating point type *and* we currently honor NaNs. | |
2718 | (fold <NE_EXPR>): Likewise. | |
2719 | ||
d58b7c2d MM |
2720 | 2003-06-10 Mark Mitchell <mark@codesourcery.com> |
2721 | ||
2722 | PR c++/11131 | |
2723 | * tree-inline.c (inlinable_function_p): Call the language-specific | |
2724 | hook early. | |
2725 | ||
c566f9bd DT |
2726 | 2003-06-09 David Taylor <dtaylor@emc.com> |
2727 | ||
2728 | * config/rs6000/rs6000.c (rs6000_va_start, rs6000_va_arg): Skip over | |
2729 | the f_res field. | |
2730 | ||
4665e56c NN |
2731 | 2003-06-09 Nathanael Nerode <neroden@gcc.gnu.org> |
2732 | ||
619833ad NN |
2733 | * configure.in: Remove references to host_truncate_target. |
2734 | * configure: Regenerate. | |
2735 | * config.gcc: Remove references to truncate_target, | |
2736 | host_truncate_target. | |
2737 | ||
4665e56c NN |
2738 | * Makefile.in, configure.in, config/m68hc11/t-m68hc11-gas: |
2739 | Replace "build_canonical" with build, "host_canonical" with host. | |
2740 | * configure.in: Use GCC_TOPLEV_SUBDIRS. | |
2741 | * aclocal.m4: Include ../config/acx.m4. | |
2742 | * configure: Regenerate. | |
2743 | ||
2744 | 2003-06-09 David Taylor <dtaylor@emc.com> | |
64c2816f DT |
2745 | |
2746 | * config/rs6000/rs6000.c (rs6000_build_va_list): Give the two | |
2747 | bytes of padding in the __va_list_tag structure a name (reserved). | |
2748 | ||
1bfedcc8 JM |
2749 | 2003-06-09 Jason Merrill <jason@redhat.com> |
2750 | ||
2751 | * fold-const.c (operand_equal_p): Handle ADDR_EXPR and TRUTH_NOT_EXPR. | |
2752 | ||
4665e56c | 2753 | 2003-06-09 Osku Salerma <osku@iki.fi> |
75b2a93c OS |
2754 | |
2755 | * c-format.c (check_format_string, get_constant): New. | |
2756 | (handle_format_attribute, handle_format_arg_attribute, | |
2757 | decode_format_attr): Change to use above functions. | |
2758 | ||
71ed1fdb RH |
2759 | 2003-06-09 Richard Henderson <rth@redhat.com> |
2760 | ||
ed70c245 | 2761 | * stmt.c (expand_asm_operands): Re-word warning. |
71ed1fdb | 2762 | |
528b8487 AP |
2763 | 2003-06-08 Andrew Pinski <pinskia@physics.uc.edu> |
2764 | ||
2765 | PR target/8787 | |
2766 | * config/i386/djgpp.h (ASM_FILE_START): emit `.intel_syntax' | |
2767 | if -masm=intel. | |
2768 | ||
00051260 JW |
2769 | 2003-06-09 James E Wilson <wilson@tuliptree.org> |
2770 | ||
2771 | * config/frv/cmovc.c, config/frv/cmovh.c, config/frv/cmovw.c, | |
2772 | config/frv/frvbegin.c, config/frv/frvend.c, config/frv/lib1funcs.asm: | |
2773 | Add libgcc exception. | |
2774 | ||
8e8238f1 DE |
2775 | 2003-06-09 David Edelsohn <edelsohn@gnu.org> |
2776 | Ayal Zaks <gcchaifa@us.ibm.com> | |
2777 | ||
2778 | * config/rs6000/rs6000.md (define_attr "type"): Add insert_word. | |
2779 | (insvsi*): Add insert_word attribute. | |
2780 | * config/rs6000/rs6000.c (rs6000_variable_issue): Add TYPE_INSERT_WORD. | |
2781 | * config/rs6000/{40x.md,603.md,6xx.md,7450.md,7xx.md,mpc.md, | |
2782 | power4.md,rios1.md,rios2.md,rs64.md}: Add insert_word. | |
2783 | ||
2859471c KH |
2784 | 2003-06-09 Kazu Hirata <kazu@cs.umass.edu> |
2785 | ||
2786 | * fold-const.c (fold): Fix a comment typo. | |
2787 | ||
36f04556 NS |
2788 | 2003-06-09 Nathan Sidwell <nathan@codesourcery.com> |
2789 | ||
2790 | * tree-inline.c (expand_call_inline): DECL_SOURCE_LINE_FIRST is | |
2791 | removed. | |
2792 | ||
86143cb4 R |
2793 | 2003-06-09 J"orn Rennecke <joern.rennecke@superh.com> |
2794 | ||
2795 | * sh.c (gen_block_redirect): Use locators. | |
2796 | ||
659bdc68 RE |
2797 | 2003-06-09 Richard Earnshaw <rearnsha@arm.com> |
2798 | ||
2799 | * arm.h (THUMB_PRINT_OPERAND_ADDRESS): Use %wd in format and remove | |
2800 | cast to int. | |
2801 | ||
4dd03b27 RS |
2802 | 2003-06-09 Richard Sandiford <rsandifo@redhat.com> |
2803 | ||
2804 | * configure.in: Assume gas 2.14 and above can handle MIPS relocation | |
2805 | operators. | |
2806 | * configure: Regenerated. | |
2807 | ||
f833ffd4 RS |
2808 | 2003-06-09 Richard Sandiford <rsandifo@redhat.com> |
2809 | Alexandre Oliva <aoliva@redhat.com> | |
2810 | ||
2811 | * config/mips/mips.h (GLOBAL_POINTER_REGNUM): New macro. | |
2812 | (PIC_OFFSET_TABLE_REGNUM): Look at pic_offset_table_rtx after reload. | |
2813 | (STARTING_FRAME_OFFSET): Don't allocate a cprestore slot for | |
2814 | n32/64 PIC. | |
2815 | (MUST_SAVE_REGISTERS): Delete. | |
2816 | * config/mips/mips.c (mips_frame_info): Remove extra_size field. | |
2817 | (machine_function): Add global_pointer field. | |
2818 | (mips_classify_constant): Check for (const $gp) using pointer equality | |
2819 | with pic_offset_table_rtx. | |
2820 | (mips_classify_constant): Handle RELOC_LOADGP_HI and RELOC_LOADGP_LO. | |
2821 | (mips_restore_gp): Use current_function_outgoing_args_size. | |
2822 | (print_operand): Use PIC_OFFSET_TABLE_REGNUM instead of | |
2823 | GP_REG_FIRST + 28. Handle relocation strings that have | |
2824 | more than one '('. | |
2825 | (mips_reloc_string): Handle RELOC_LOADGP_HI and RELOC_LOADGP_LO. | |
2826 | (mips_global_pointer): New function. | |
2827 | (mips_save_reg_p): New function, mostly split out from... | |
2828 | (compute_frame_size): ...here. Remove handling of extra_size. | |
2829 | Reclaim args_size if no variables depend on it. Don't treat gp | |
2830 | as a special case: handle it in the main GPR loop. | |
2831 | (mips_initial_elimination_offset): Fix comment. | |
2832 | (save_restore_insns): Save every register in the GPR mask, | |
2833 | removing distinction between mask and real_mask. | |
2834 | (mips_output_function_prologue): Update .frame psuedo-op after | |
2835 | the removal of extra_size. Move the SVR4 PIC stack allocation | |
2836 | and cprestore instructions to mips_expand_prologue. | |
2837 | (mips_gp_insn): New function. | |
2838 | (mips_expand_prologue): Set REGNO (pic_offset_table_rtx) to | |
2839 | the chosen global pointer. Handle SVR4 PIC stack allocation | |
2840 | in the same way as other ABIs. Adjust varargs code accordingly. | |
2841 | Emit a cprestore insn after allocating the stack. Use mips_gp_insn | |
2842 | to emit the loadgp sequence. Follow it with a loadgp_blockage | |
2843 | if not using explicit relocs. | |
2844 | (mips_output_function_epilogue): Reinstate the default gp register. | |
2845 | (mips16_gp_pseudo_reg): Use pic_offset_table_rtx. | |
2846 | (mips16_optimize_gp): Likewise. | |
2847 | * config/mips/mips.md (UNSPEC_LOADGP): Remove. | |
2848 | (UNSPEC_SETJMP, UNSPEC_LONGJMP): Remove. | |
2849 | (UNSPEC_CPRESTORE, RELOC_LOADGP_HI, RELOC_LOADGP_LO): New. | |
2850 | (loadgp): Remove. | |
2851 | (loadgp_blockage, cprestore): New instructions. | |
2852 | (builtin_setjmp_setup): Implement using emit_move_insn. Use | |
2853 | pic_offset_table_rtx. | |
2854 | (builtin_setjmp_setup_32, builtin_setjmp_setup_64): Remove. | |
2855 | (builtin_longjmp): Use gen_raw_REG to force use of $28. | |
2856 | ||
32ad6a47 RS |
2857 | 2003-06-09 Richard Sandiford <rsandifo@redhat.com> |
2858 | ||
2859 | * config/mips/mips-protos.h (mips_output_division): Declare. | |
2860 | * config/mips/mips.h (MASK_CHECK_RANGE_DIV): Remove. | |
2861 | (MASK_BRANCHLIKELY): Use MASK_CHECK_RANGE_DIV's old number. | |
2862 | (TARGET_NO_CHECK_ZERO_DIV, TARGET_CHECK_RANGE_DIV): Remove. | |
2863 | (TARGET_CHECK_ZERO_DIV): New macro. | |
2864 | (TARGET_SWITCHES): Remove -mcheck-range-div & -mno-check-range-div. | |
2865 | * config/mips/mips.c (mips_output_division): New function. | |
2866 | * config/mips/mips.md (length): Take TARGET_CHECK_ZERO_DIV into | |
2867 | account when calculating the default length of a division. | |
2868 | (divmodsi4, divmoddi4, udivmodsi4, udivmoddi4): Turn into define_insns. | |
2869 | Enable regardless of optimization level. Use mips_output_division. | |
2870 | (divmodsi4_internal, divmoddi4_internal, udivmodsi4_internal, | |
2871 | udivmoddi4_internal, div_trap, div_trap_normal, div_trap_mips16, | |
2872 | divsi3, divsi3_internal, divdi3, divdi3_internal, modsi3, | |
2873 | modsi3_internal, moddi3, moddi3_internal, udivsi3, udivsi3_internal, | |
2874 | udivdi3, udivdi3_internal, umodsi3, umodsi3_internal, umoddi3, | |
2875 | umoddi3_internal): Remove. | |
2876 | ||
d334c3c1 RS |
2877 | 2003-06-09 Richard Sandiford <rsandifo@redhat.com> |
2878 | ||
2879 | * config/mips/mips.c (mips_reg_names): Change hilo entry to "". | |
2880 | (mips_sw_reg_names): Likewise. | |
2881 | (mips_regno_to_class): Change hilo entry to NO_REGS. | |
2882 | (hilo_operand): Use MD_REG_P. | |
2883 | (extend_operator): New predicate. | |
2884 | (override_options): Remove 'a' constraint. | |
2885 | (mips_secondary_reload_class): Remove hilo handling. Also remove | |
2886 | handling of (plus sp reg) reloads for mips16. | |
2887 | (mips_register_move_cost): Remove hilo handling. | |
2888 | * config/mips/mips.h (FIXED_REGISTERS): Make hilo entry fixed. | |
2889 | (MD_REG_LAST): Remove hilo from range. | |
2890 | (HILO_REGNUM): Delete. | |
2891 | (reg_class): Remove HILO_REG and HILO_AND_GR_REGS. | |
2892 | (REG_CLASS_NAMES, REG_CLASS_CONTENTS): Update accordingly. | |
2893 | (PREDICATE_CODES): Add entry for extend_operator. | |
2894 | (DEBUG_REGISTER_NAMES): Change hilo entry to "". | |
2895 | * config/mips/mips.md: Remove hilo clobbers wherever they occur. | |
2896 | Remove constraints from multiplication define_expands. Remove | |
2897 | clobbers from "decorative" define_expand patterns. | |
2898 | (UNSPEC_HILO_DELAY): Delete. | |
2899 | (*mul_acc_si, *mul_sub_si): Add early-clobber to operand 6. | |
2900 | (mulsidi3, umulsidi3): Change pattern to match the TARGET_64BIT case. | |
2901 | Adjust C code to just emit insns for !TARGET_64BIT. | |
2902 | (mulsidi3_internal): Rename to mulsidi3_32bit. | |
2903 | (mulsidi3_64bit): Use a "d" constraint for the destination. | |
2904 | Use extend_operator so that the pattern can handle umulsidi3 as well. | |
2905 | Split the instruction after reload. | |
2906 | (*mulsidi3_64bit_parts): New pattern, generated by mulsidi3_64bit. | |
2907 | (umulsidi3_internal): Rename to umulsidi3_32bit. | |
2908 | (umulsidi3_64bit): Remove. | |
2909 | (*smsac_di, *umsac_di): Line-wrap fixes. | |
2910 | (udivsi3_internal): Don't allow operand 2 to be constant. | |
2911 | (udivdi3_internal, umodsi3_internal, umoddi3_internal): Likewise. | |
2912 | (movdi_internal2, movsi_internal): Remove hilo alternatives. | |
2913 | (reload_in[sd]i, reload_out[sd]i, hilo_delay): Remove. | |
2914 | ||
20db0e3c RS |
2915 | 2003-06-09 Richard Sandiford <rsandifo@redhat.com> |
2916 | ||
2917 | PR target/10913 | |
2918 | * config/mips/mips.h (TARGET_FILE_SWITCHING, NO_DBX_FUNCTION_END, | |
2919 | PUT_SDB_SCL, PUT_SDB_INT_VAL, PUT_SDB_VAL, PUT_SDB_ENDEF, | |
2920 | PUT_SDB_TYPE, PUT_SDB_SIZE, PUT_SDB_DIM, PUT_SDB_START_DIM, | |
2921 | PUT_SDB_NEXT_DIM, PUT_SDB_LAST_DIM, PUT_SDB_TAG, PUT_SDB_SRC_FILE, | |
2922 | SDB_GENERATE_FAKE, TEXT_SECTION): Delete. | |
2923 | (PUT_SDB_DEF, PUT_SDB_PLAIN_DEF, PUT_SDB_BLOCK_START, | |
2924 | PUT_SDB_BLOCK_END, PUT_SDB_FUNCTION_END): Replace use of | |
2925 | asm_out_text_file with asm_out_file. | |
2926 | * config/mips/iris5gas.h (PUT_SDB_SIZE, PUT_SDB_TYPE): Likewise. | |
2927 | * config/mips/elf.h (TEXT_SECTION): Undefine. | |
2928 | * config/mips/elf64.h (TEXT_SECION): Undefine. | |
2929 | * config/mips/openbsd.h (TEXT_SECION): Undefine. | |
2930 | * config/mips/mips.c (asm_out_text_file, asm_out_data_file): Delete. | |
2931 | (override_options): Disable small-data optimizations unless using | |
2932 | gas or explicit relocations. | |
2933 | (mips_asm_file_start, mips_asm_file_end, mips_output_function_epilogue, | |
2934 | iris6_asm_named_section, iris6_asm_file_start): Remove code for | |
2935 | handling TARGET_FILE_SWITCHING. | |
2936 | (copy_file_data): Move into TARGET_IRIX6 block. | |
2937 | ||
017e1b43 RH |
2938 | 2003-06-08 Richard Henderson <rth@redhat.com> |
2939 | ||
2940 | * expr.h (EXPAND_MEMORY): New. | |
2941 | * expr.c (expand_expr): Check it. | |
2942 | * stmt.c (expand_asm_operands): Provide it when the constraint | |
2943 | requires a memory. Warn for memory input constraints without | |
2944 | a memory operand. | |
2945 | ||
f8950e17 KG |
2946 | 2003-06-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
2947 | ||
2948 | * varasm.c: Don't include c-tree.h. | |
2949 | ||
51d2dfa6 AJ |
2950 | 2003-06-08 Andreas Jaeger <aj@suse.de> |
2951 | ||
2952 | * predict.h: Convert to ISO C90 prototypes. | |
2953 | * predict.c: Likewise. | |
2954 | * tree-dump.h: Likewise. | |
2955 | * tree-dump.c: Likewise. | |
2956 | * diagnostic.h: Likewise. | |
2957 | * diagnostic.c: Likewise. | |
2958 | * combine.c: Likewise. | |
2959 | ||
2960 | * rtl.h: Convert prototypes of combine.c to ISO C90. | |
2961 | ||
0435312e JH |
2962 | Sun Jun 8 21:27:41 CEST 2003 Jan Hubicka <jh@suse.cz> |
2963 | ||
2964 | * cfglayout.c (insn_scope): New static function | |
2965 | (block_locators_*, line_locators*, file_locators*): New static varrays. | |
2966 | (scope_to_insns_initialize): Use them. | |
2967 | (insn_line, insn_file): New functions. | |
2968 | (scope_to_insns_finalize): Use insn_scope. | |
2969 | (prologue_locator, epilogue_locator): New global variables. | |
2970 | * emit-rt.c (try_split, make_insn_raw, make_jump_insn_raw, | |
2971 | make_call_insn_raw, emit_copy_of_insn_after): Use locators. | |
2972 | (emit_insn_after_scope, emit_insn_before_scope | |
2973 | emit_jump_insn_after_scope, emit_jump_insn_before_scope | |
2974 | emit_call_insn_after_scope, emit_call_insn_before_scope): Rename to... | |
2975 | (emit_insn_after_setloc, emit_insn_before_setloc | |
2976 | emit_jump_insn_after_setloc, emit_jump_insn_before_setloc | |
2977 | emit_call_insn_after_setloc, emit_call_insn_before_setloc): ... these; | |
2978 | use locators. | |
2979 | * final.c (notice_source_line): Use locators. | |
2980 | (final_start_function): Set initial source file and line. | |
2981 | (final_scan_insn): Use locators. | |
2982 | * ifcvt.c (noce_try_store_flag, noce_try_store_flag_constants, | |
2983 | noce_try_addcc, noce_try_store_flag_mask, noce_try_cmove, | |
2984 | noce_try_cmove_arith, noce_try_minmax, noce_try_abs, | |
2985 | noce_process_if_block, find_cond_trap): Likewise. | |
2986 | * integrate.c (copy_insn_list): Likewise. | |
2987 | * jump.c (duplicate_loop_exit_test): LIkewise. | |
2988 | * print-rtl.c (print_rtx): Print locators. | |
2989 | * recog.c (peephole2_optimize): Likewise. | |
2990 | * rtl.h (INSN_SCOPE): Remove. | |
2991 | (emit_insn_after_scope, emit_insn_before_scope | |
2992 | emit_jump_insn_after_scope, emit_jump_insn_before_scope | |
2993 | emit_call_insn_after_scope, emit_call_insn_before_scope): Rename to... | |
2994 | (emit_insn_after_setloc, emit_insn_before_setloc | |
2995 | emit_jump_insn_after_setloc, emit_jump_insn_before_setloc | |
2996 | emit_call_insn_after_setloc, emit_call_insn_before_setloc): ... these; | |
2997 | (insn_file, insn_line, prologue_locator, epilogue_locator): Declare. | |
2998 | * unroll.c (copy_loop_body): Use locators. | |
2999 | * function.c (set_insn_locators): New function. | |
3000 | (thread_prologue_and_epilogue_insns): Set the locators accordingly. | |
3001 | ||
5d39821d KH |
3002 | 2003-06-08 Kazu Hirata <kazu@cs.umass.edu> |
3003 | ||
3004 | * config/h8300/h8300.h (LONG_LONG_TYPE_SIZE): Set to 64. | |
3005 | * config/h8300/t-h8300 (LIB1ASMFUNCS): Remove _floatdisf | |
3006 | _fixsfdi _fixunssfdi. | |
3007 | (LIB2FUNCS_EXTRA): Add entries for clzhi2, ctzhi2, parityhi2, | |
3008 | popcounthi2. | |
3009 | (TARGET_LIBGCC2_CFLAGS): Remove -DDI=SI. | |
3010 | * config/h8300/clzhi2.c: New. | |
3011 | * config/h8300/ctzhi2.c: Likewise. | |
3012 | * config/h8300/parityhi2.c: Likewise. | |
3013 | * config/h8300/popcounthi2.c: Likewise. | |
3014 | ||
10e9fecc JH |
3015 | Sun Jun 8 15:52:17 CEST 2003 Jan Hubicka <jh@suse.cz> |
3016 | ||
3017 | * i386.md (subsi_3_zext, sse2_nandv2di3): Fix predicates. | |
3018 | * i386.c (k8_avoid_jump_misspredicts): Fix debug output. | |
3019 | ||
3020 | * cfg.c (verify_flow_info): Move IL independent checks from cfgrtl here. | |
3021 | (dump_bb): New based on old dump_bb in cfgrtl.c | |
3022 | (debug_bb, debug_bb_n): Move the functions from cfgrtl.c here. | |
3023 | * cfghooks.h (cfgh_verify_flow_info): Return status. | |
3024 | * cfglayout.c (cfg_layout_finalize): Verify CFG correctness. | |
3025 | * cfgrtl.c (debug_bb, debug_bb_n): Move to cfg.c | |
3026 | (dump_bb): Remove generic parts. | |
3027 | (rtl_verify_flow_info_1): Break out from rtl_verify_flow_info. | |
3028 | (rtl_verify_flow_info): Only check things dependeing on linearized RTL. | |
3029 | ||
35399bdc NB |
3030 | 2003-06-08 Neil Booth <neil@daikokuya.co.uk> |
3031 | ||
3032 | * Makefile.in: Rename options.c and options.h to c-options.c and | |
3033 | c-options.h. | |
3034 | (OBJS): Remove options.o. | |
3035 | * c-opts.c: Don'tInclude c-options.h instead of options.h. | |
3036 | * opts.c: Don't include options.h. | |
3037 | (find_opt): Can't use enum opt_code or N_OPTS. | |
3038 | * opts.h (struct cl_option, cl_options, cl_options_count): Move from... | |
3039 | * opts.sh: ... here. | |
3040 | ||
56f0c0d8 | 3041 | 2003-06-07 Eric Botcazou <ebotcazou@libertysurf.fr> |
528b8487 | 3042 | Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
8eb6a092 EB |
3043 | |
3044 | PR pch/9830 | |
3045 | * ggc-common.c (HAVE_MMAP_FILE): Include sys/types.h | |
3046 | if HAVE_MINCORE is defined. | |
3047 | (MAP_FAILED): Define if not defined. | |
3048 | (gt_pch_save): Test against MAP_FAILED. | |
3049 | (gt_pch_restore): If HAVE_MINCORE, use MAP_FIXED to force | |
3050 | the mapping address to the preferred base after checking it | |
3051 | is possible to do so. Test against MAP_FAILED. | |
3052 | * configure.in: Test for the presence of mincore in libc. | |
3053 | * config.in: Regenerate. | |
3054 | * configure: Regenerate. | |
3055 | ||
797c8a92 RH |
3056 | 2003-06-07 Richard Henderson <rth@redhat.com> |
3057 | ||
3058 | * config/alpha/alpha.c (alpha_setup_incoming_varargs): Fix | |
3059 | conditional compilation guard. | |
3060 | ||
77173bbe KH |
3061 | 2003-06-08 Kazu Hirata <kazu@cs.umass.edu> |
3062 | ||
3063 | * optabs.c (expand_abs): Set result_unsignedp to 1 if | |
3064 | flag_trav is zero. | |
3065 | ||
2288bdbb RH |
3066 | 2003-06-07 Richard Henderson <rth@redhat.com> |
3067 | ||
528b8487 | 3068 | * c-cppbuiltin.c (c_cpp_builtins): Define __EXCEPTIONS for C also. |
2288bdbb | 3069 | |
1722c2c8 RH |
3070 | 2003-06-07 Richard Henderson <rth@redhat.com> |
3071 | ||
3072 | * basic-block.h (EDGE_SIBCALL): New. | |
3073 | (EDGE_ALL_FLAGS): Update. | |
3074 | * cfg.c (dump_edge_info): Add sibcall name. | |
3075 | * cfgbuild.c (make_edges): Use EDGE_SIBCALL. | |
3076 | * cfgrtl.c (purge_dead_edges): Handle sibcalls. | |
3077 | ||
44de936e AJ |
3078 | 2003-06-07 Andreas Jaeger <aj@suse.de> |
3079 | ||
5145a02e AJ |
3080 | * mklibgcc.in (lib2funcs): Remove _exit. |
3081 | * libgcc2.c: Remove L_exit. | |
3082 | * gbl-ctors.h: Remove declarations dependend on NEED_ATEXIT. | |
3083 | ||
3084 | * system.h: Poison NEED_ATEXIT, ON_EXIT, EXIT_BODY. | |
3085 | ||
3086 | * doc/tm.texi (Misc): Remove NEED_ATEXIT, ON_EXIT, EXIT_BODY. | |
3087 | ||
20c1dc5e AJ |
3088 | * ggc.h: Convert to ISO C90 prototypes. |
3089 | * ggc-none.c: Likewise. | |
3090 | * ggc-common.c: Likewise. | |
3091 | * ggc-page.c: Likewise. | |
3092 | * ggc-simple.c: Likewise. | |
3093 | ||
44de936e AJ |
3094 | * crtstuff.c: Remove undefined usage of INIT_SECTION_PREAMBLE. |
3095 | ||
3096 | * system.h: Poison INIT_SECTION_PREAMBLE. | |
3097 | ||
a5fe455b ZW |
3098 | 2003-06-07 Zack Weinberg <zack@codesourcery.com> |
3099 | ||
3100 | * config.gcc (with_cpu handling): Translate sparc64 in | |
3101 | $machine to --with-cpu=v9. | |
3102 | * config/alpha/alpha.c | |
3103 | (TARGET_ASM_GLOBALIZE_LABEL [TARGET_ABI_UNICOSMK]): Correct definition. | |
3104 | (alpha_setup_incoming_varargs): #ifdef out when TARGET_ABI_UNICOSMK. | |
3105 | ||
3106 | * target.h: New hook asm_out.file_end. | |
3107 | * target.h: Update to match. New hook macro TARGET_ASM_FILE_END. | |
ed446835 | 3108 | * toplev.c (compile_file): Use targetm.asm_out.file_end. |
a5fe455b ZW |
3109 | * system.h: Poison ASM_FILE_END. |
3110 | * varasm.c (file_end_indicate_exec_stack): New. | |
3111 | * output.h: Prototype it. | |
3112 | * doc/tm.texi: Document TARGET_ASM_FILE_END and | |
3113 | file_end_indicate_exec_stack. Delete references to attasm.h. | |
3114 | ||
3115 | * config/darwin.h (TARGET_ASM_FILE_END): Reset to darwin_file_end. | |
3116 | (ASM_FILE_END): Delete; move code... | |
3117 | * config/darwin.c (darwin_file_end): Here; new function. | |
3118 | * config/darwin-protos.h: Prototype it. | |
3119 | * config/alpha/alpha.c (unicosmk_asm_file_end): Make static, | |
3120 | rename unicosmk_file_end. | |
3121 | * config/arm/aof.h (ASM_FILE_END): Delete; move code... | |
3122 | * config/arm/arm.c (aof_file_end): ... here; new static function. | |
3123 | Set TARGET_ASM_FILE_END to aof_file_end if AOF_ASSEMBLER. | |
3124 | Make aof_dump_imports and aof_dump_pic_table static. | |
3125 | * config/avr/avr.c (asm_file_end): Rename avr_file_end, make static. | |
3126 | Set TARGET_ASM_FILE_END to avr_file_end. | |
3127 | * config/c4x/c4x.c (c4x_file_end): Make static. Take no arguments. | |
3128 | Set TARGET_ASM_FILE_END to c4x_file_end. | |
3129 | * config/h8300/h8300.c (asm_file_end): Rename h8300_file_end, | |
3130 | make static. Take no arguments. Set TARGET_ASM_FILE_END to | |
3131 | h8300_file_end. | |
3132 | * config/i370/i370.h (ASM_FILE_END): Delete; move code... | |
3133 | * config/i370/i370.c (i370_file_end): ... here; new static function. | |
3134 | Set TARGET_ASM_FILE_END to i370_file_end. | |
3135 | * config/i386/i386.c (ix86_asm_file_end): Rename ix86_file_end. | |
3136 | Take no arguments. Call file_end_indicate_exec_stack if | |
3137 | NEED_INDICATE_EXEC_STACK; don't use SUBTARGET_FILE_END. | |
3138 | * config/i386/i386.h: Set TARGET_ASM_FILE_END, not ASM_FILE_END. | |
3139 | Define NEED_INDICATE_EXEC_STACK to 0. | |
3140 | * config/i386/linux.h, config/i386/linux64.h: Redefine | |
3141 | NEED_INDICATE_EXEC_STACK to 1 instead of setting SUBTARGET_FILE_END. | |
3142 | * config/i386/winnt.c (i386_pe_asm_file_end): Rename to | |
3143 | i386_pe_file_end. Take no arguments. Use ix86_file_end. | |
3144 | * config/ia64/ia64.c (ia64_hpux_asm_file_end): Rename to | |
3145 | ia64_hpux_file_end, make static. Take no arguments. | |
3146 | * config/ip2k/ip2k.c (asm_file_start, asm_file_end, | |
3147 | commands_in_prologues, commands_in_epilogues): Delete. | |
3148 | (function_epilogue): Update to match. | |
3149 | * config/mips/mips.c (mips_asm_file_end): Rename mips_file_end, | |
3150 | make static. Take no arguments. | |
3151 | (iris6_asm_file_end): Rename iris6_file_end, make static, use | |
3152 | mips_file_end, take no arguments. | |
3153 | Set TARGET_ASM_FILE_END to iris6_file_end or mips_file_end as | |
3154 | appropriate. | |
3155 | * config/mmix/mmix.c (mmix_asm_file_end): Rename mmix_file_end, | |
3156 | make static, take no arguments. Set TARGET_ASM_FILE_END to | |
3157 | mmix_file_end. | |
3158 | * config/pa/pa.c (output_deferred_plabels): Make static, take | |
3159 | no arguments. Set TARGET_ASM_FILE_END to output_deferred_plabels. | |
3160 | * config/rs6000/xcoff.h (TARGET_ASM_FILE_END): Set it. | |
3161 | (ASM_FILE_END): Delete; move code... | |
3162 | * config/rs6000/rs6000.c (rs6000_xcoff_file_end): ... here; | |
3163 | new static function. | |
3164 | ||
3165 | * config/avr/avr.h, config/cris/cris.h, config/h8300/h8300.h | |
3166 | * config/mmix/mmix.h, config/mips/iris6.h, config/mips/mips.h: | |
3167 | Don't set ASM_FILE_END. | |
3168 | * config/alpha/linux-elf.h, config/m68k/linux.h, config/rs6000/linux.h | |
3169 | * config/rs6000/linux64.h, config/s390/linux.h, config/sparc/linux.h | |
3170 | * config/sparc/linux64.h: Set TARGET_ASM_FILE_END to | |
3171 | file_end_indicate_exec_stack; don't set ASM_FILE_END. | |
3172 | * config/alpha/unicosmk.h, config/i386/cygming.h | |
3173 | * config/ia64/hpux.h: Set TARGET_ASM_FILE_END, not ASM_FILE_END. | |
3174 | * config/arm/arm-protos.h, config/alpha/alpha-protos.h | |
3175 | * config/avr/avr-protos.h, config/c4x/c4x-protos.h | |
3176 | * config/h8300/h8300-protos.h, config/ia64/ia64-protos.h | |
3177 | * config/ip2k/ip2k-protos.h, config/mips/mips-protos.h | |
3178 | * config/mmix/mmix-protos.h, config/pa/pa-protos.h: Update. | |
3179 | ||
da2d4c01 JH |
3180 | Sat Jun 7 18:32:13 CEST 2003 Jan Hubicka <jh@suse.cz> |
3181 | ||
3182 | * i386.h (OPTION_DEFAULT_SPECS): Avoid -mcpu default when -march is | |
3183 | specified. | |
3184 | ||
8c560c80 JH |
3185 | Sat Jun 7 15:20:01 CEST 2003 Jan Hubicka <jh@suse.cz> |
3186 | ||
3187 | * Makefile.in (stageprofile_build): Kill redundant target. | |
3188 | * i386.c (mdep_reorg): Don't pad jumps for Athlon. | |
3189 | ||
e62b6ea1 AJ |
3190 | 2003-06-07 Andreas Jaeger <aj@suse.de> |
3191 | ||
3192 | * doc/tm.texi (Costs): Remove DONT_REDUCE_ADDR documentation. | |
3193 | ||
3194 | * config/avr/avr.h: Remove comment regarding DONT_REDUCE_ADDR. | |
3195 | * config/dsp16xx/dsp16xx.h: Likewise. | |
3196 | * config/i386/i386.h: Likewise. | |
3197 | * config/ip2k/ip2k.h: Likewise. | |
3198 | ||
2772ef3e NB |
3199 | 2003-06-07 Neil Booth <neil@daikokuya.co.uk> |
3200 | ||
3201 | * Makefile.in (OJBS, c-opts.o): Update. | |
3202 | (c-options.c, c-options.h): Rename options.h and options.c. | |
3203 | (options.h): Rename options_.h. | |
3204 | (opts.o): New. | |
3205 | * c-common.h (c_common_handle_option): Replace c_common_decode_option. | |
3206 | (c_common_init_options): Update prototype. | |
3207 | * c-lang.c (c_init_options): Update prototype. | |
3208 | (LANG_HOOKS_HANDLE_OPTION): Override. | |
3209 | (LANG_HOOKS_DECODE_OPTION): Drop. | |
3210 | * c-opts.c: Include opts.h and options.h instead of c-options.h | |
3211 | and c-options.c. | |
3212 | (lang_flags): Move to file scope. | |
3213 | (find_opt, c_common_decode_option): Remove. | |
3214 | (CL_C, CL_OBJC, CL_CXX, CL_OBJCXX, CL_JOINED, CL_SEPARATE, | |
3215 | CL_REJECT_NEGATIVE): Move to opts.h. | |
3216 | (missing_arg): Update prototype. | |
3217 | (c_common_init_options): Update for new prototype. | |
3218 | (c_common_handle_options): Filenames are passed as N_OPTS. | |
3219 | * hooks.c (hook_int_void_0): New. | |
3220 | * hooks.h (hook_int_void_0): New. | |
3221 | * langhooks-def.h (LANG_HOOKS_INIT_OPTIONS): New default. | |
3222 | (LANG_HOOKS_HANDLE_OPTION): Default to NULL for now. | |
3223 | (LANG_HOOKS_INITIALIZER): Update. | |
3224 | * langhooks.h (init_options): Update. | |
3225 | (handle_option): New. | |
3226 | * opts.c, opts.h: New files. | |
3227 | * opts.sh: Update c file to include opts.h and options.h. | |
3228 | * toplev.c: Include opts.h; change options.h to options_.h. | |
3229 | (parse_options_and_default_flags): Get lang_mask, use | |
3230 | handle_option for language-specific handling. | |
3231 | * objc/objc-lang.c (LANG_HOOKS_DECODE_OPTON): Drop. | |
3232 | (LANG_HOOKS_HANDLE_OPTION): Override. | |
3233 | (objc_init_options): Update. | |
3234 | ||
3743ea05 MK |
3235 | 2003-06-07 Magnus Kreth <magnus.kreth@gmx.de> |
3236 | Thibaud Gaillard <thibaud.gaillard@nto.atmel.com> | |
3237 | ||
f6749ed8 | 3238 | PR other/7031 |
3743ea05 MK |
3239 | * Makefile.in (install-common): Remove GCOV_INSTALL_NAME instead of |
3240 | gcov. | |
3241 | ||
90e145da KC |
3242 | 2003-06-07 Kelley Cook <kelleycook@wideopenwest.com> |
3243 | ||
3244 | * configure.in (HAVE_LD_RO_RW_SECTION_MIXING): Remove quotes in | |
3245 | section names. | |
3246 | * configure: Regenerate. | |
3247 | ||
ffbc65c3 AM |
3248 | 2003-06-07 Alan Modra <amodra@bigpond.net.au> |
3249 | ||
3250 | * config/rs6000/linux64.h (CRT_CALL_STATIC_FUNCTION): Define. | |
3251 | ||
8a5db2b4 JW |
3252 | 2003-06-06 James E Wilson <wilson@tuliptree.org> |
3253 | ||
3254 | PR inline-asm/10890 | |
3255 | * reload1.c (merge_assigned_reloads): Abort only if two reloads have | |
3256 | different in fields. | |
3257 | ||
6a1b7268 NN |
3258 | 2003-06-06 Nathanael Nerode <neroden@gcc.gnu.org> |
3259 | ||
3260 | * configure.in: Make $(target_subdir) correspond with top level usage. | |
3261 | * Makefile.in: Likewise. | |
3262 | * configure: Regenerate. | |
3263 | ||
78cabff8 JDA |
3264 | 2003-06-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
3265 | ||
3266 | * pa.h (ASM_OUTPUT_SKIP, ASM_OUTPUT_ALIGNED_COMMON, | |
3267 | ASM_OUTPUT_ALIGNED_LOCAL): Cast `SIZE' and `ALIGNED' parameters to | |
3268 | unsigned HOST_WIDE_INT. | |
3269 | * pa-pro-end.h (ASM_OUTPUT_ALIGNED_COMMOM, ASM_OUTPUT_ALIGNED_LOCAL): | |
3270 | Likewise. | |
3271 | * pa64-hpux.h (ASM_OUTPUT_ALIGNED_COMMON, ASM_OUTPUT_ALIGNED_LOCAL): | |
3272 | Likewise. | |
3273 | ||
67b1fbb9 KG |
3274 | 2003-06-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
3275 | ||
3276 | * doc/install.texi (Prerequisites): New section documenting | |
3277 | tools and packages necessary prior to building and/or | |
3278 | modifying GCC. | |
3279 | * doc/install.texi2html: Also generate prerequisites.html. | |
3280 | ||
3a11ec8b RE |
3281 | 2003-06-06 Richard Earnshaw <rearnsha@arm.com> |
3282 | ||
3283 | PR target/11052 | |
3284 | * ifcvt.c (noce_process_if_block): Fail if the destination has | |
3285 | side-effects. | |
3286 | ||
7dc8b126 JM |
3287 | 2003-06-06 Jason Merrill <jason@redhat.com> |
3288 | ||
3289 | * stmt.c (resolve_asm_operand_names): Rename from | |
3290 | resolve_operand_names. No longer static. Avoid needless copying. | |
3291 | Don't build array of constraints. | |
3292 | (expand_asm_operands): Build it here. | |
3293 | * tree.h: Declare resolve_asm_operand_names. | |
3294 | ||
3295 | * stmt.c (expand_decl): Put artificial vars into registers even | |
3296 | when not optimizing, and don't mark the regs as user vars. | |
3297 | ||
1c20913c R |
3298 | 2003-06-06 J"orn Rennecke <joern.rennecke@superh.com> |
3299 | ||
3300 | * sh.h (FUNCTION_ARG_1): Consistently use NEW_MODE for the mode | |
3301 | of the generated register. | |
3302 | ||
09c36669 DJ |
3303 | 2003-06-06 Daniel Jacobowitz <drow@mvista.com> |
3304 | ||
3305 | * config.gcc: Add a missing sparc64 case. | |
3306 | ||
744f6f09 JJ |
3307 | 2003-06-06 Jakub Jelinek <jakub@redhat.com> |
3308 | ||
3309 | * mklibgcc.in: Propagate .note.GNU-stack section if needed into | |
3310 | the .hidden assembly stubs. | |
3311 | ||
30fb3231 L |
3312 | 2003-06-06 H.J. Lu <hongjiu.lu@intel.com> |
3313 | ||
3314 | * config.gcc (extra_headers): Add emmintrin.h for i[34567]86-*-* | |
3315 | and x86_64-*-*. | |
3316 | ||
3317 | * config/i386/mmintrin.h: Update version and add alternate | |
3318 | intrinsic names. | |
3319 | * config/i386/xmmintrin.h: Likewise. | |
3320 | ||
3321 | * config/i386/xmmintrin.h: Include <emmintrin.h>. Move SSE2 | |
3322 | intrinsics to ... | |
3323 | * config/i386/emmintrin.h: Here. New file. | |
3324 | ||
07bae5ad RS |
3325 | 2003-06-06 Roger Sayle <roger@eyesopen.com> |
3326 | ||
3327 | * fold-const.c (fold <ABS_EXPR>): Re-fold the result of folding | |
3328 | fabs(-x) into fabs(x). Use tree_expr_nonnegative_p to determine | |
3329 | when the ABS_EXPR (fabs or abs) is not required. | |
e62b6ea1 | 3330 | (tree_expr_nonnegative_p): Move the logic that sqrt and exp are |
07bae5ad RS |
3331 | always nonnegative from fold to here. Additionally, cabs and fabs |
3332 | are always non-negative, and pow and atan are non-negative if | |
3333 | their first argument is non-negative. | |
3334 | ||
3335 | * builtins.c (fold_builtin_cabs): New function to fold cabs{,f,l}. | |
3336 | Evaluate cabs of a constant at compile-time. Convert cabs of a | |
3337 | non-complex argument into fabs. Convert cabs(z) into | |
3338 | sqrt(z.r*z.r + z.i*z.i) at the tree-level with -ffast-math or | |
3339 | -funsafe-math-optimizations or -ffast-math. | |
3340 | (fold_builtin): Convert BUILT_IN_FABS{,F,L} into an ABS_EXPR. | |
3341 | Fold BUILT_IN_CABS{,F,L} using fold_builtin_cabs. | |
3342 | ||
295e823c JH |
3343 | Thu Jun 5 20:51:09 CEST 2003 Jan Hubicka <jh@suse.cz> |
3344 | ||
3345 | * sourcebuild.texi (Front End Directory): Document new hooks. | |
3346 | ||
9ee634e3 JH |
3347 | Fri Jun 6 11:02:35 CEST 2003 Jan Hubicka <jh@suse.cz> |
3348 | ||
3349 | * function.c (FLOOR_ROUND, CEIL_ROUND): Fix. | |
07bae5ad RS |
3350 | * i386.md (gen_pro_epilogue_adjust_stack): Deal with gigantic |
3351 | stack frames. | |
9ee634e3 JH |
3352 | (pro_epilogue_adjust_stack_rex64_2): New pattern |
3353 | ||
3354 | Fri Jun 6 11:03:14 CEST 2003 Jan Hubicka <jh@suse.cz> | |
3355 | Pop Sebastian | |
3356 | Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> | |
3357 | ||
3358 | * cfghooks.h, cfghooks.c: New files. | |
3359 | * Makefile.in (BASIC_BLOCK_H): Depends on cfghooks.h. | |
3360 | (OBJS): Add cfghooks.o. | |
3361 | (cfghooks.o): New rule. | |
3362 | * basic-block.h (split_edge): Rename to rtl_split_edge. | |
3363 | (verify_flow_info): Rename to rtl_verify_flow_info. | |
3364 | (cfghooks.h): Included here. | |
3365 | * cfgrtl.c (split_edge): Renamed rtl_split_edge. | |
3366 | (verify_flow_info): Renamed rtl_verify_flow_info. | |
3367 | * toplev.c (rest_of_compilation): Call rtl_register_cfg_hooks. | |
3368 | ||
3369 | * basic-block.h (split_block, split_edge, flow_delete_block, | |
3370 | redirect_edge_and_branch, redirect_edge_and_branch_force): Delete. | |
3371 | (flow_delete_block_noexpunge): Return void. | |
3372 | * cfg.c (verify_flow_info): New function. | |
3373 | * cfgcleanup.c (try_simplify_condjump, outgoing_edges_match, | |
3374 | try_crossjump_to_edge, try_optimize_cfg, delete_unreachable_blocks): | |
3375 | Use delete_block. | |
3376 | * cfglayout.c (function_footer): Rename to... | |
3377 | (cfg_layout_function_footer): ... this variable | |
3378 | (unlink_insn_chain): Make global. | |
3379 | (fixup_reorder_chain, record_effective_endpoints): Update. | |
3380 | (cleanup_unconditional_jumps): Use delete_block. | |
3381 | (cfg_layout_redirect_edge, cfg_layout_split_block): Move to cfgrtl.c | |
3382 | (cfg_layout_duplicate_bb): Use redirect_edge_and_branch_force. | |
3383 | (cfg_layout_initialize, cfg_layout_finalize): Update hooks. | |
3384 | * cfglayout.h (cfg_layout_redirect_edge, cfg_layout_split_block): Delete. | |
3385 | (cfg_layout_function_footer): Declare. | |
3386 | * cfgloopmanip (split_loop_bb): Do not update RBI. | |
3387 | (remove_bbs): Use delete_block. | |
3388 | (loop_reidrect_edge, loop_delete_branch_edge): Use | |
3389 | redirect_edge_and_branch. | |
3390 | (create_preheader): Use split_block and redirect_edge_and_branch_force. | |
3391 | (split_edge_with): Likewise. | |
3392 | * cfgrtl.c: Include cfglayout.h | |
3393 | (split_edge): Rename to ... | |
3394 | (rtl_split_edge) ... this one; make local. | |
3395 | (redirect_edge_and_branch): Rename to ... | |
3396 | (rtl_redirect_edge_and_branch) ... this one; make local. | |
3397 | (redirect_edge_and_branch_force): Rename to ... | |
3398 | (rtl_redirect_edge_and_branch_force) ... this one; make local. | |
3399 | (cfg_layout_delete_block, cfg_layout_delete_edge_and_branch_force): New. | |
3400 | (cfg_layout_redirect_edge_and_branch, cfg_layout_split_block): Move here from | |
3401 | cfglayout.c; update to directly call RTL counterparts. | |
3402 | (rtl_cfg_hooks, cfg_layout_rtl_cfg_hooks): New functions. | |
3403 | * ifcvt.c (find_cond_trap): Use delete_block. | |
3404 | (find_if_case_1): Use delete_block. | |
3405 | (find_if_case_2): Use delete_block. | |
3406 | * rtl.h (unlink_insn_chain): Declare. | |
3407 | * toplev.c (rtl_reigster_cfg_hooks): New. | |
3408 | ||
7654db1b RH |
3409 | 2003-06-05 Richard Henderson <rth@redhat.com> |
3410 | ||
3411 | * recog.c (peephole2_optimize): Revert last change. | |
3412 | ||
c1dbd774 RH |
3413 | 2003-06-05 Richard Henderson <rth@redhat.com> |
3414 | ||
3415 | * recog.c (peephole2_optimize): Don't split block unless | |
3416 | can_throw_internal. | |
3417 | ||
a35abc3c KH |
3418 | 2003-06-06 Kazu Hirata <kazu@cs.umass.edu> |
3419 | ||
c1dbd774 RH |
3420 | * config/h8300/h8300.c (get_shift_alg): Correct the syntax of rotxl. |
3421 | * config/h8300/h8300.md (*addsi3_lshiftrt_16_zexthi): Likewise. | |
a35abc3c | 3422 | |
a5f3dd66 KC |
3423 | 2003-06-05 Kelley Cook <kelleycook@wideopenwest.com> |
3424 | ||
3425 | PR optimization/4490 | |
3426 | * config/i386/i386.md: Don't use XFMode if TARGET_128BIT_LONG_DOUBLE. | |
3427 | * doc/invoke.texi (m96bit-long-double, m128bit-long-double): Reword | |
3428 | documentation to accurately reflect what these options do. | |
3429 | ||
25119b21 KK |
3430 | 2003-06-06 Kaz Kojima <kkojima@gcc.gnu.org> |
3431 | ||
3432 | * config/sh/linux.h (STARTFILE_SPEC): Handle -pie. Simplify. | |
3433 | (ENDFILE_SPEC): Redefine to handle -pie. | |
3434 | ||
3d818632 PE |
3435 | 2003-06-05 Phil Edwards <phil@jaj.com> |
3436 | ||
3437 | * Makefile.in (qmtest-g++): Use target_alias, not target. | |
3438 | ||
640da953 PB |
3439 | 2003-06-05 Per Bothner <pbothner@apple.com> |
3440 | ||
3441 | * toplev.c (push_srcloc): Simplify behavior to save current location | |
3442 | and set current location to parameters. | |
3443 | (pop_srcloc): Simplify semantics. | |
3444 | (lang_dependent_init): Remove now-useless initial push_srcloc. | |
3445 | ||
7d445f15 RH |
3446 | 2003-05-06 Richard Henderson <rth@redhat.com> |
3447 | ||
e62b6ea1 | 3448 | * dwarf2out.c (loc_descriptor_from_tree): Return 0 for |
7d445f15 RH |
3449 | language-specific tree codes. |
3450 | ||
eebfb2aa JDA |
3451 | 2003-06-05 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
3452 | ||
3453 | PR middle-end/9986 | |
3454 | * pa.c (pa_init_builtins): Also set implicit_built_in_decls for | |
3455 | BUILT_IN_FPUTC_UNLOCKED to NULL_TREE. | |
3456 | ||
8f231b5d JH |
3457 | Thu Jun 5 18:32:46 CEST 2003 Jan Hubicka <jh@suse.cz> |
3458 | ||
3459 | * install.tex: Document profiledbootstrap. | |
3460 | ||
295e823c JH |
3461 | * configure.in: Add support for lang.stageprofile and |
3462 | lang.stagefeedback | |
8f231b5d JH |
3463 | * Makefile.in (clean, distclean): Kill new stages |
3464 | (POSTSTAGE1_FLAGS_TO_PASS): Break from ... | |
3465 | (STAGE2_FLAGS_TO_PASS): ... this one. | |
3466 | (STAGEPROFILE_FLAGS_TO_PASS, STAGEFEEDBACK_FLAGS_TO_PASS): New. | |
3467 | (stage[2-4]_build): Add POSTSTAGE1_FLAGS_TO_PASS. | |
3468 | (stageprofile_build, stageprofile_copy, stagefeedback_build, | |
3469 | stagefeedback_copy): New. | |
e62b6ea1 | 3470 | (restageprofile, restagefeedback, stageprofile-start, |
8f231b5d JH |
3471 | stageprofile, stagefeedback-start): Likewise. |
3472 | ||
842a431a DM |
3473 | 2003-06-05 David Miller <davem@redhat.com> |
3474 | Richard Henderson <rth@redhat.com> | |
3475 | ||
3476 | * optabs.c (HAVE_conditional_trap): Provide default. | |
3477 | (gen_conditional_trap): Likewise. | |
3478 | (init_optabs): Merge init_traps. | |
3479 | (gen_cond_trap): Use prepare_operand. Restructure and avoid ifdef. | |
3480 | ||
83588a9d JH |
3481 | Thu Jun 5 14:59:44 CEST 2003 Jan Hubicka <jh@suse.cz> |
3482 | ||
3483 | * combine.c (simplify_if_then_else): (IF_THEN_ELSE (NE REG 0) (0) (8)) | |
e62b6ea1 | 3484 | is REG for nonzero_bits (REG) == 8. |
83588a9d | 3485 | |
6262f66a JH |
3486 | Thu Jun 5 13:23:51 CEST 2003 Jan Hubicka <jh@suse.cz> |
3487 | ||
3488 | * i386.md (align): Fix warning; clarify what to do when no p2align | |
3489 | is available. | |
3490 | ||
3a30516d NC |
3491 | 2003-06-05 Nick Clifton <nickc@redhat.com> |
3492 | ||
3493 | * config.gcc (m32r-elf): Revert previous delta. | |
a5fe455b ZW |
3494 | * config/m32r/t-m32r (crtinit.o): Fix rule to work with |
3495 | multilibs. Remove m32rx specific version. | |
3496 | (crtfini.o): Likewise. | |
3497 | (EXTRA_MULTILIB_PARTS): Define. | |
e62b6ea1 | 3498 | |
53e5f173 EB |
3499 | 2003-06-05 Eric Botcazou <ebotcazou@libertysurf.fr> |
3500 | ||
3501 | * doc/md.texi (Machine Constraints): Correct the meaning of | |
3502 | constraints related to floating-point registers on SPARC. | |
3503 | ||
c6cc7e13 | 3504 | 2003-06-05 Eric Botcazou <ebotcazou@libertysurf.fr> |
a5fe455b | 3505 | Paolo Bonzini <bonzini@gnu.org> |
c6cc7e13 EB |
3506 | |
3507 | PR target/10663 | |
3508 | * configure.in (HAVE_LD_RO_RW_SECTION_MIXING): Redirect | |
3509 | assembler and linker output to /dev/null. | |
3510 | Use a 'sed' construct instead of 'grep -A1'. | |
3511 | * configure: Regenerate. | |
3512 | ||
74dc3e94 RH |
3513 | 2003-06-04 Richard Henderson <rth@redhat.com> |
3514 | ||
3515 | * config/i386/i386.c (struct ix86_address): Add seg. | |
3516 | (no_seg_address_operand): New. | |
3517 | (ix86_decompose_address): Restructure PLUS loop. Accept one | |
3518 | UNSPEC_TP if TARGET_TLS_DIRECT_SEG_REFS. Adjust ESP swap test | |
3519 | to test for a regnum, not stack_pointer_rtx. | |
3520 | (ix86_address_cost): Reduce cost if non-default segment. | |
3521 | (legitimate_address_p): Remove UNSPEC_TP check. | |
3522 | (get_thread_pointer): Add to_reg argument. Don't represent | |
3523 | the thread pointer as a memory load. | |
3524 | (legitimize_tls_address): Split out of ... | |
3525 | (legitimize_address): ... here. | |
3526 | (print_operand_address): Handle parts.seg. | |
3527 | (ix86_expand_move): Use legitimize_tls_address. | |
3528 | (ix86_rtx_costs): Handle UNSPEC_TP. | |
3529 | * config/i386/i386.h (MASK_TLS_DIRECT_SEG_REFS): New. | |
3530 | (TARGET_TLS_DIRECT_SEG_REFS): New. | |
3531 | (TARGET_SWITCHES): Add tls-direct-seg-refs. | |
3532 | (TARGET_TLS_DIRECT_SEG_REFS_DEFAULT): Default. | |
3533 | (PREDICATE_CODES): Add no_seg_address_operand. | |
3534 | * config/i386/i386.md (lea_1): Use it. | |
3535 | (lea_1_rex64, lea_1_zext, lea_2_rex64): Likewise. | |
3536 | (load_tp_si, add_tp_si, load_tp_di, add_tp_di): New. | |
3537 | * config/i386/linux.h (TARGET_TLS_DIRECT_SEG_REFS_DEFAULT): New. | |
3538 | * config/i386/linux64.h (TARGET_TLS_DIRECT_SEG_REFS_DEFAULT): New. | |
3539 | * doc/invoke.texi: Add -mtls-direct-seg-refs. | |
3540 | ||
d7068b3d MM |
3541 | 2003-06-04 Mark Mitchell <mark@codesourcery.com> |
3542 | ||
3543 | * Makefile.in (QMTESTRUNFLAGS): Set for DejaGNU emulation. | |
3544 | (QMTEST_GPP_TESTS): Use "g++" by default. | |
3545 | (stamp-qmtest): Tweak database creation. | |
3546 | (QMTEST_DIR/context): Update context file format. | |
3547 | (qmtest-g++): Tweak command-line. | |
3548 | ||
6b6600bd KG |
3549 | 2003-06-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
3550 | ||
3551 | * Makefile.in (varasm.o): Don't set -Wno-error. | |
3552 | * rs6000/t-rs6000 (varasm.o, out_object_file): Don't clear. | |
3553 | ||
1072ec3f ZW |
3554 | 2003-06-04 Zack Weinberg <zack@codesourcery.com> |
3555 | ||
3556 | PR bootstrap/3163 | |
3557 | * aclocal.m4 (AC_FUNC_MMAP_ANYWHERE, AC_FUNC_MMAP_FILE): Delete. | |
3558 | (gcc_AC_FUNC_MMAP_BLACKLIST): New. | |
3559 | * configure.in: Check for sys/mman.h and mmap in AC_CHECK_HEADERS | |
3560 | and AC_CHECK_FUNCS lists, respectively. Use | |
3561 | gcc_AC_FUNC_MMAP_BLACKLIST, not AC_FUNC_MMAP_ANYWHERE nor | |
3562 | AC_FUNC_MMAP_FILE. | |
3563 | * configure, config.in: Regenerate. | |
3564 | ||
c53dddc2 KG |
3565 | 2003-06-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
3566 | ||
3567 | * arm/aout.h (ASM_OUTPUT_SKIP): Fix cast for format specifier warning. | |
3568 | * arm.c (arm_output_function_prologue): Fix format specifiers. | |
3569 | * arm.h (ARM_PRINT_OPERAND_ADDRESS): Likewise. | |
3570 | * m68k.c (m68k_output_mi_thunk): Use more readable %wd instead of | |
3571 | HOST_WIDE_INT_PRINT_DEC. | |
3572 | * vax.c (vax_output_function_prologue): Fix format specifiers. | |
3573 | ||
7b9c108f RH |
3574 | 2003-06-04 Richard Henderson <rth@redhat.com> |
3575 | ||
1072ec3f ZW |
3576 | * cse.c (find_best_addr): Consider binary operators even if second |
3577 | argument is not CONST_INT. | |
7b9c108f | 3578 | |
c48ec590 ZD |
3579 | 2003-06-04 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
3580 | ||
3581 | * doc/invoke.texi (max-cse-path-length): Document. | |
3582 | ||
9ccf9681 RH |
3583 | 2003-06-04 Richard Henderson <rth@redhat.com> |
3584 | ||
3585 | * config/i386/i386.md (align): Use ASM_OUTPUT_*ALIGN macros. | |
3586 | ||
9dce39a4 AP |
3587 | 2003-06-04 Andrew Pinski <pinskia@physics.uc.edu> |
3588 | ||
3589 | * config/rs6000/darwin.h (RS6000_OUTPUT_BASENAME): | |
3590 | Remove semi-colon at the end of the expression. | |
3591 | ||
ad929cd5 KG |
3592 | 2003-06-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
3593 | ||
1072ec3f | 3594 | * i370.c (mvs_function_name_length): Fix signed/unsigned warnings. |
ad929cd5 KG |
3595 | * i370.h (mvs_function_name_length): Likewise. |
3596 | * i960.h (CONSTANT_ALIGNMENT): Likewise. | |
3597 | * mips/linux.h (ASM_OUTPUT_ALIGNED_BSS): Likewise. | |
3598 | * pa/pa-pro-end.h (ASM_OUTPUT_ALIGNED_COMMON): Likewise. | |
3599 | * pa.h (ASM_OUTPUT_ALIGNED_COMMON): Likewise. | |
3600 | * rs6000/xcoff.h (ASM_DECLARE_FUNCTION_NAME): Delete unused | |
3601 | variable. | |
3602 | ||
7816bea0 DJ |
3603 | 2003-06-04 Daniel Jacobowitz <drow@mvista.com> |
3604 | ||
3605 | * config.gcc: Reorganize --with-cpu logic. Set | |
3606 | configure_default_options according to the default CPU, --with-cpu, | |
3607 | --with-arch, --with-tune, --with-schedule, --with-abi, and | |
3608 | --with-float. Check for legal values of various options. | |
3609 | * configure.in: Define configure_default_options in configargs.h. | |
3610 | * configure: Regenerated. | |
3611 | * config/mips/mips.h (TARGET_DEFAULT_ARCH_P) | |
3612 | (TARGET_DEFAULT_FLOAT_P): New macros. | |
3613 | * gcc.c (do_option_spec): New function. | |
3614 | (struct default_spec, option_default_specs): New. | |
3615 | (main): Call do_option_spec. | |
3616 | * config/alpha/alpha.h, config/arm/arm.h, config/i386/i386.h, | |
3617 | config/mips/mips.h, config/pa/pa.h, config/rs6000/rs6000.h, | |
3618 | config/sparc/sparc.h (OPTION_DEFAULT_SPECS): Define. | |
3619 | ||
3620 | * doc/install.texi: Update --with-cpu documentation. Mention | |
3621 | --with-arch, --with-schedule, --with-tune, --with-abi, and | |
3622 | --with-float. | |
3623 | * doc/tm.texi (Driver): Document OPTION_DEFAULT_SPECS. | |
3624 | ||
83079d89 DJ |
3625 | 2003-06-04 Daniel Jacobowitz <drow@mvista.com> |
3626 | ||
3627 | * config.gcc: Only process --with-cpu logic in the third pass. | |
3628 | ||
73f09c99 DJ |
3629 | 2003-06-04 Daniel Jacobowitz <drow@mvista.com> |
3630 | ||
3631 | * config.gcc: Reorganize --with-cpu section. Remove an | |
3632 | obsolete comment about the default CPU for x86-64. Fix | |
3633 | a typo for the ep9312. Update the list of supported PowerPC | |
3634 | CPUs. Support a limited set of new --with-cpu options | |
3635 | for i386. | |
3636 | ||
165848da AH |
3637 | 2003-06-04 Aldy Hernandez <aldyh@redhat.com> |
3638 | ||
1072ec3f ZW |
3639 | * config/rs6000/rs6000.c (rs6000_complex_function_value): Unpack |
3640 | complex numbers <= 32 bits into two registers. | |
165848da | 3641 | |
74eda121 KG |
3642 | 2003-06-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
3643 | ||
3644 | * alpha.c (print_operand_address): Fix format specifier warnings. | |
3645 | * alpha/elf.h (ASM_OUTPUT_ALIGNED_COMMON): Likewise. | |
3646 | * alpha/vms.h (ASM_OUTPUT_ALIGNED_COMMON): Likewise. | |
3647 | * arm/aof.h (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL): Likewise. | |
3648 | * arm/pe.h (ASM_OUTPUT_COMMON): Likewise. | |
3649 | * avr.h (ASM_OUTPUT_COMMON, ASM_GENERATE_INTERNAL_LABEL, | |
1072ec3f | 3650 | ASM_OUTPUT_SKIP): Likewise. |
74eda121 KG |
3651 | * c4x.h (ASM_GENERATE_INTERNAL_LABEL): Likewise. |
3652 | * dsp16xx.h (ASM_GENERATE_INTERNAL_LABEL): Likewise. | |
3653 | * h8300.h (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_COMMON): | |
3654 | Likewise. | |
3655 | * i370.h (ASM_GENERATE_INTERNAL_LABEL): Likewise. | |
3656 | * i386/cygming.h (ASM_OUTPUT_COMMON): Likewise. | |
3657 | * i386/darwin.h (ASM_OUTPUT_COMMON): Likewise. | |
3658 | * i960.h (ASM_GENERATE_INTERNAL_LABEL): Likewise. | |
3659 | * m68k/hp320.h (PRINT_OPERAND_ADDRESS): Likewise. | |
3660 | * mcore.h (ASM_OUTPUT_ALIGNED_COMMON): Likewise. | |
3661 | * pdp11.h (ASM_GENERATE_INTERNAL_LABEL): Likewise. | |
3662 | * ptx4.h (ASM_OUTPUT_ALIGNED_COMMON): Likewise. | |
3663 | * sparc/freebsd.h (ASM_GENERATE_INTERNAL_LABEL): Likewise. | |
3664 | * svr3.h (ASM_OUTPUT_COMMON): Likewise. | |
3665 | ||
e3091a5f R |
3666 | 2003-06-04 J"orn Rennecke <joern.rennecke@superh.com> |
3667 | ||
3668 | * c-decl.c (c_init_decl_processing): Clear input_file_name | |
3669 | while building common nodes. | |
3670 | * dwarf2out.c (gen_compile_unit_die, dwarf2out_finish): | |
3671 | Don't add working directory for strings like <built-in> . | |
3672 | ||
f0483418 DE |
3673 | 2003-06-04 David Edelsohn <edelsohn@gnu.org> |
3674 | ||
3675 | * doc/install.texi (*-ibm-aix*): Native as and ld required | |
3676 | to bootstrap on AIX 5L. | |
3677 | ||
0bfa5f65 RH |
3678 | 2003-06-04 Richard Henderson <rth@redhat.com> |
3679 | ||
1072ec3f ZW |
3680 | * c-common.c (handle_cleanup_attribute): New. |
3681 | (c_common_attributes): Add it. | |
3682 | * c-decl.c (finish_decl): Honor the cleanup attribute. | |
3683 | * doc/extend.texi (Variable Attributes): Document it. | |
0bfa5f65 | 3684 | |
1072ec3f ZW |
3685 | * unwind-c.c: New file. |
3686 | * Makefile.in (LIB2ADDEH): Add it. | |
3687 | * config/t-darwin, config/t-linux, config/t-linux-gnulibc1, | |
3688 | config/ia64/t-ia64: Likewise. | |
0bfa5f65 | 3689 | |
3edc56a9 JJ |
3690 | 2003-06-04 Jakub Jelinek <jakub@redhat.com> |
3691 | ||
3692 | * function.c (trampolines_created): New variable. | |
3693 | (expand_function_end): Set it when doing INITIALIZE_TRAMPOLINE. | |
3694 | * function.h (trampolines_created): Add. | |
3695 | * config/s390/linux.h (ASM_FILE_END): Define. | |
3696 | * config/alpha/linux-elf.h (ASM_FILE_END): Define. | |
3697 | * config/m68k/linux.h (ASM_FILE_END): Define. | |
3698 | * config/rs6000/linux.h (ASM_FILE_END): Define. | |
3699 | * config/rs6000/linux64.h (ASM_FILE_END): Define. | |
3700 | * config/rs6000/ppc-asm.h: Add .note.GNU-stack on powerpc-linux. | |
3701 | * config/sparc/linux.h (ASM_FILE_END): Define. | |
3702 | * config/sparc/linux64.h (ASM_FILE_END): Define. | |
3703 | * config/i386/i386.c (ix86_asm_file_end): Use SUBTARGET_FILE_END. | |
3704 | * config/i386/linux.h (SUBTARGET_FILE_END): Define. | |
3705 | * config/i386/linux64.h (SUBTARGET_FILE_END): Define. | |
3706 | ||
d2c49530 JH |
3707 | Wed Jun 4 18:39:33 CEST 2003 Jan Hubicka <jh@suse.cz> |
3708 | ||
3709 | * i386.c (min_insn_size, k8_avoid_jump_misspredicts): New functions | |
3710 | (ix86_reorg): Use it. | |
3711 | * i386.md (align): New insn pattern. | |
3712 | ||
05a0e2af KG |
3713 | 2003-06-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
3714 | ||
3715 | * toplev.c (rest_of_type_compilation): Fix typo. | |
3716 | ||
9739c90c JJ |
3717 | 2003-06-04 Jakub Jelinek <jakub@redhat.com> |
3718 | Alan Modra <amodra@bigpond.net.au> | |
3719 | ||
3720 | * config/i386/linux.h (NO_PROFILE_COUNTERS): Define to 1. | |
3721 | * config/i386/freebsd.h (NO_PROFILE_COUNTERS): Likewise. | |
3722 | * config/i386/netbsd-elf.h (NO_PROFILE_COUNTERS): Likewise. | |
3723 | * config/xtensa/xtensa.h (NO_PROFILE_COUTNERS): Likewise. | |
3724 | * config/darwin.h (NO_PROFILE_COUNTERS): Likewise. | |
3725 | * final.c (NO_PROFILE_COUNTERS): Define to 0 if not defined. | |
3726 | (profile_function): Allow NO_PROFILE_COUNTERS to be non-constant. | |
3727 | * config/rs6000/rs6000.c (output_profile_hook): Likewise. | |
3728 | ||
3729 | * configure.in (powerpc*-*, s390*-*): Set tls_as_opt. | |
3730 | Pass it to $gcc_cv_as. | |
3731 | * configure: Rebuilt. | |
3732 | ||
3733 | * config/rs6000/rs6000.c (rs6000_abi_name): Remove initializer. | |
3734 | (print_operand): Allow TARGET_AIX to be non-constant. | |
3735 | (rs6000_aix_emit_builtin_unwind_init, rs6000_emit_eh_toc_restore): | |
3736 | Define unconditionally. | |
3737 | (rs6000_elf_declare_function_name): New function. | |
3738 | * config/rs6000/rs6000.md (eh_return): Allow TARGET_AIX to be | |
3739 | non-constant. | |
3740 | * config/rs6000/linux64.h [!RS6000_BI_ARCH] (TARGET_64BIT): Define | |
3741 | to 1. | |
3742 | (DEFAULT_ARCH64_P, RS6000_BI_ARCH_P): Define. | |
3743 | [IN_LIBGCC2] (TARGET_64BIT): Define based on whether __powerpc64__ | |
3744 | is defined. | |
3745 | (TARGET_AIX): Define to 1 if TARGET_64BIT. | |
3746 | (PROCESSOR_DEFAULT): Remove. | |
3747 | (TARGET_RELOCATABLE, RS6000_ABI_NAME, INVALID_64BIT, | |
3748 | INVALID_32BIT, SUBSUBTARGET_OVERRIDE_OPTIONS): Define. | |
3749 | [RS6000_BI_ARCH] (OVERRIDE_OPTIONS, ASM_FILE_START): Define. | |
3750 | (ASM_DEFAULT_SPEC, ASM_SPEC, LINK_OS_LINUX_SPEC): Define for both | |
3751 | -m32 and -m64. | |
3752 | (MULTILIB_DEFAULTS): Define. | |
3753 | (SUBSUBTARGET_EXTRA_SPECS): Define. | |
3754 | (ASM_SPEC32, ASM_SPEC64, ASM_SPEC_COMMON): Define. | |
3755 | (TARGET_TOC): Define only if !RS6000_BI_ARCH. | |
3756 | (TARGET_NO_TOC): Remove. | |
3757 | [!RS6000_BI_ARCH] (TARGET_RELOCATABLE, TARGET_EABI, | |
3758 | TARGET_PROTOTYPE): Define to 0. | |
3759 | (NO_PROFILE_COUNTERS): Define to TARGET_64BIT. | |
3760 | (PROFILE_HOOK): Only call output_profile_hook if TARGET_64BIT. | |
3761 | (ADJUST_FIELD_ALIGN, ROUND_TYPE_ALIGN): Adjust to work properly | |
3762 | if !TARGET_64BIT. | |
3763 | (USER_LABEL_PREFIX): Remove. | |
3764 | (JUMP_TABLES_IN_TEXT_SECTION): Define to TARGET_64BIT. | |
3765 | (SETUP_FRAME_ADDRESSES): Only call rs6000_aix_emit_builtin_unwind_init | |
3766 | if TARGET_64BIT. | |
3767 | (TARGET_OS_CPP_BUILTINS): Handle both -m32 and -m64. | |
3768 | (LINK_OS_LINUX_SPEC32, LINK_OS_LINUX_SPEC64): Define. | |
3769 | (STARTFILE_LINUX_SPEC, ENDFILE_LINUX_SPEC): Remove. | |
3770 | (TOC_SECTION_ASM_OP): Define depending on TARGET_64BIT. | |
3771 | (MINIMAL_TOC_SECTION_ASM_OP): Likewise. | |
3772 | (SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE): Define depending on | |
3773 | TARGET_64BIT. | |
3774 | (RS6000_CALL_GLUE): Likewise. | |
3775 | (SAVE_FP_PREFIX, SAVE_FP_SUFFIX, RESTORE_FP_PREFIX, | |
3776 | RESTORE_FP_SUFFIX): Likewise. | |
3777 | (ASM_DECLARE_FUNCTION_NAME): Remove. | |
3778 | (ASM_DECLARE_FUNCTION_SIZE, ASM_OUTPUT_SOURCE_LINE, | |
3779 | DBX_OUTPUT_BRAC, DBX_OUTPUT_NFUN): Only output dot before function | |
3780 | name if TARGET_64BIT. | |
3781 | (ASM_OUTPUT_SPECIAL_POOL_ENTRY_P): Handle both TARGET_64BIT and | |
3782 | !TARGET_64BIT. | |
3783 | (ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP): Remove undefs. | |
3784 | (ASM_PREFERRED_EH_DATA_FORMAT): Take TARGET_64BIT into account. | |
3785 | (DRAFT_V4_STRUCT_RET): Define. | |
3786 | (SIGNAL_FRAMESIZE): New enum value. | |
3787 | (MD_FALLBACK_FRAME_STATE_FOR): Define. | |
3788 | * config/rs6000/default64.h: New file. | |
3789 | * config/rs6000/sysv4.h (SUBTARGET_SWITCHES): Add -m32 and -m64 | |
3790 | options. | |
3791 | (SUBTARGET_OVERRIDE_OPTIONS): If rs6000_abi_name is NULL, set it | |
3792 | to RS6000_ABI_NAME. Only disallow mixing of -fPIC with -mcall-aixdesc | |
3793 | if !TARGET_64BIT. | |
3794 | [!RS6000_BI_ARCH] (SUBSUBTARGET_OVERRIDE_OPTIONS): Define. | |
3795 | (ASM_DECLARE_FUNCTION_NAME): Use rs6000_elf_declare_function_name | |
3796 | function. | |
3797 | (TARGET_OS_SYSV_CPP_BUILTINS): Define. | |
3798 | (TARGET_OS_CPP_BUILTINS): Use it. | |
3799 | (CPP_SYSV_SPEC): Remove. | |
3800 | (CPP_SPEC): Remove cpp_sysv. | |
3801 | (SUBTARGET_EXTRA_SPECS): Remove cpp_sysv. | |
3802 | Add SUBSUBTARGET_EXTRA_SPECS. | |
3803 | (SUBSUBTARGET_EXTRA_SPECS): Define. | |
3804 | * config/rs6000/biarch64.h: New file. | |
3805 | * config/rs6000/rs6000-protos.h (rs6000_elf_declare_function_name): | |
3806 | New prototype. | |
3807 | * config/rs6000/x-linux64: New file. | |
3808 | * config/rs6000/t-linux64: Build -m64, -m32 and -m32 -msoft-float | |
3809 | multilibs. | |
3810 | * config/rs6000/eabi-ci.asm: Protect with #ifndef __powerpc64__. | |
3811 | * config/rs6000/eabi-cn.asm: Likewise. | |
3812 | * config/rs6000/tramp.asm: Likewise. | |
3813 | * config/rs6000/sol-ci.asm: Likewise. | |
3814 | * config/rs6000/sol-cn.asm: Likewise. | |
3815 | * config/rs6000/linux.h (TARGET_64BIT): Define to 0. | |
3816 | (TARGET_OS_CPP_BUILTINS): Use TARGET_OS_SYSV_CPP_BUILTINS. | |
3817 | * config/rs6000/ppc-asm.h: Move __powerpc64__ section before | |
3818 | _CALL_AIXDESC section. | |
3819 | * config.gcc (powerpc64-*-linux*): Configure a bi-arch compiler, | |
3820 | defaulting to -m64 unless --with-cpu= is one of the 32-bit CPUs | |
3821 | or default32. | |
3822 | ||
150b72ed DJ |
3823 | 2003-06-04 Daniel Jacobowitz <drow@mvista.com> |
3824 | ||
3825 | * config.gcc: Revert accidentally committed ARM changes. | |
3826 | ||
385a9348 RS |
3827 | 2003-06-04 Roger Sayle <roger@eyesopen.com> |
3828 | ||
3829 | * builtins.c (dconstpi, dconste): New mathematical constants. | |
3830 | (init_builtin_dconsts): New function to initialize dconstpi | |
3831 | and dconste. | |
3832 | (fold_builtin): Optimize exp(1.0) = e. Evaluate exp(x) at | |
3833 | compile time with -ffast-math when x is an integer constant. | |
3834 | Optimize tan(0.0) = 0.0. Optimize atan(0.0) = 0.0, | |
3835 | atan(1.0) = pi/4 and tan(atan(x)) = x with -ffast-math. | |
3836 | ||
8c6a8269 RS |
3837 | 2003-06-04 Roger Sayle <roger@eyesopen.com> |
3838 | ||
3839 | * calls.c (expand_call): Avoid calling pure or const functions | |
3840 | when the result is ignored (or void) and none of the arguments | |
3841 | are volatile. Move warning diagnostic earlier in function. | |
3842 | ||
e2d8bb29 AJ |
3843 | 2003-06-04 Andreas Jaeger <aj@suse.de> |
3844 | ||
3845 | * system.h: Do not poison TDESC_SECTION_ASM_OP, | |
3846 | RDATA_SECTION_ASM_OP and SUBTARGET_PROLOGUE. | |
3847 | ||
b1721339 KG |
3848 | 2003-06-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
3849 | ||
3850 | * final.c (asm_fprintf): Update comments, accept "-+ #0" flags, | |
3851 | optimize '%' case, handle %c, don't accept %p, %e, %f or %g, | |
3852 | handle %ll, optimize regular character case. | |
3853 | ||
9bf8cfbf ZD |
3854 | 2003-06-04 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
3855 | ||
3856 | * Makefile.in (cse.o): Add params.h dependency. | |
3857 | * cse.c: Include params.h. | |
3858 | (PATHLENGTH): Removed. | |
3859 | (struct cse_basic_block_data): Make path array dynamic. | |
8c6a8269 RS |
3860 | (cse_end_of_basic_block): Use PARAM_MAX_CSE_PATH_LENGTH instead |
3861 | of PATHLENGTH. | |
9bf8cfbf ZD |
3862 | (cse_main, cse_basic_block): Allocate path array. |
3863 | * params.def (PARAM_MAX_CSE_PATH_LENGTH): New. | |
3864 | ||
253c7a00 JH |
3865 | Wed Jun 4 09:49:21 CEST 2003 Jan Hubicka <jh@suse.cz> |
3866 | ||
3867 | * i386.c (ix86_reorg): Replace the jump instead of adding nop. | |
3868 | * i386.md (UNSPEC_REP): New constant. | |
3869 | (return_internal_long): New pattern. | |
3870 | ||
01d3224a EB |
3871 | 2003-06-04 Eric Botcazou <ebotcazou@libertysurf.fr> |
3872 | ||
3873 | PR optimization/11018 | |
3874 | * config/sparc/sparc.c (sparc_v8plus_shift): Use which_alternative | |
3875 | consistently to decide whether the scratch register is really | |
3876 | required. | |
3877 | ||
ef0139b1 EB |
3878 | 2003-06-04 Eric Botcazou <ebotcazou@libertysurf.fr> |
3879 | ||
3880 | PR optimization/10876 | |
3881 | * config/sparc/sparc.h (CONST_OK_FOR_LETTER): Add | |
3882 | new 'O' constraint for constant 4096. | |
3883 | (CONST_DOUBLE_OK_FOR_LETTER_P): Likewise. | |
3884 | * config/sparc/sparc.md (adddi3 expander): Canonicalize pattern. | |
3885 | Do not transform into MINUS insn for constant 4096. | |
3886 | (*adddi3_sp64 insn): Canonicalize pattern. Add new alternative | |
3887 | for constant 4096 as third operand. | |
3888 | (addsi3 expander): Remove. | |
3889 | (*addsi3 insn): Rename into 'addsi3'. Canonicalize pattern. Add | |
3890 | new alternative for constant 4096 as third operand. | |
3891 | (subdi3 expander): Do not transform into PLUS insn for constant 4096. | |
3892 | (*subdi3_sp64 insn): Add new alternative for constant 4096 as third | |
3893 | operand. | |
3894 | (subsi3 expander): Remove. | |
3895 | (*subsi3 insn): Rename into 'subsi3'. Add new alternative for | |
3896 | constant 4096 as third operand. | |
3897 | * doc/md.texi (Machine Constraints): Document new 'O' constraint for | |
3898 | the SPARC port. | |
3899 | ||
18de8a98 CD |
3900 | 2003-06-03 Chris Demetriou <cgd@broadcom.com> |
3901 | ||
3902 | * config/mips/t-linux64 (CRTSTUFF_T_CFLAGS_S): Define. | |
3903 | ||
a816c981 AJ |
3904 | 2003-06-04 Andreas Jaeger <aj@suse.de> |
3905 | ||
f691dc3b AJ |
3906 | * config/i386/uwin.h: Remove SUBTARGET_PROLOGUE. |
3907 | ||
3908 | * config/i386/i386.c (ix86_expand_prologue): Do not use | |
3909 | SUBTARGET_PROLOGUE. | |
3910 | ||
3911 | * system.h: Poision SUBTARGET_PROLOGUE. | |
3912 | ||
3913 | * config/arm/arm-protos.h: Remove unused rdate_section prototype. | |
3914 | ||
3915 | * output.h: Remove TDESC_SECTION_ASM_OP and RDATA_SECTION_ASM_OP | |
3916 | dependend code. | |
3917 | ||
3918 | * system.h: Poison TDESC_SECTION_ASM_OP and RDATA_SECTION_ASM_OP. | |
3919 | ||
3920 | * system.h: Poison INSN_CACHE_DEPTH, INSN_CACHE_SIZE and | |
3921 | INSN_CACHE_LINE_WIDTH. | |
3922 | ||
3923 | * libgcc2.c (INSN_CACHE_PLANE_SIZE): Removed. | |
3924 | (__clear_cache): Remove code dependend on INSN_CACHE_DEPTH, | |
3925 | INSN_CACHE_SIZE and INSN_CACHE_LINE_WIDTH. | |
3926 | ||
3927 | * doc/tm.texi (Trampolines): Remove INSN_CACHE_DEPTH, | |
3928 | INSN_CACHE_SIZE and INSN_CACHE_LINE_WIDTH. | |
1072ec3f | 3929 | |
f691dc3b AJ |
3930 | * dbxout.c (dbxout_type): Remove usage of DBX_OUTPUT_ENUM. |
3931 | (dbxout_symbol): Remove usage of DBX_OUTPUT_CONSTANT_SYMBOL. | |
3932 | (dbxout_block): Remove usage of DBX_OUTPUT_CATCH. | |
3933 | (dbxout_block): Remove usage of DBX_LBRAC_FIRST. | |
3934 | (dbxout_source_file): Remove usage of DBX_OUTPUT_SOURCE_FILENAME. | |
3935 | (dbxout_init): Remove test for DBX_WORKING_DIRECTORY. | |
3936 | ||
3937 | * doc/tm.texi (DBX Options): Do not document DBX_LBRAC_FIRST, | |
3938 | DBX_OUTPUT_SOURCE_FILENAME and DBX_OUTPUT_ENUM and | |
3939 | DBX_WORKING_DIRECTORY. | |
3940 | ||
3941 | * system.h: Poison DBX_LBRAC_FIRST, DBX_OUTPUT_ENUM, | |
3942 | DBX_OUTPUT_SOURCE_FILENAME and DBX_WORKING_DIRECTORY. | |
3943 | ||
3944 | * config/frv/frv-protos.h: Remove unused const_section | |
3945 | declaration. | |
3946 | * config/vax/vax-protos.h: Likewise. | |
3947 | ||
3948 | * output.h: Remove CONST_SECTION_ASM_OP usage. | |
3949 | ||
3950 | * system.h: Poison CONST_SECTION_ASM_OP. | |
3951 | ||
74764b84 AJ |
3952 | * crtstuff.c (__do_global_dtors_aux): Remove usage of |
3953 | CRT_GET_RFIB_TEXT. | |
f691dc3b AJ |
3954 | (frame_dummy): Likewise. |
3955 | * unwind-dw2-fde-glibc.c (_Unwind_IteratePhdrCallback): Likewise. | |
3956 | * system.h: Poison CRT_GET_RFIB_TEXT. | |
1072ec3f | 3957 | |
6d3a8e3c AJ |
3958 | * collect2.c (is_ctor_dtor): Remove CFRONT_LOSSAGE dependend code. |
3959 | ||
a816c981 AJ |
3960 | * fix-header.c: Remove ADD_MISSING_EXTERN_C dependend variables. |
3961 | (write_lbrac): Remove ADD_MISSING_EXTERN_C dependend code. | |
3962 | (recognized_function): Likewise. | |
3963 | (read_scan_file): Likewise. | |
3964 | ||
df8ca70e RS |
3965 | 2003-06-03 Roger Sayle <roger@eyesopen.com> |
3966 | ||
3967 | * optabs.c (expand_binop): Optimize complex multiplication for | |
3968 | the case of squaring a complex argument. | |
3969 | ||
894207cf RS |
3970 | 2003-06-03 Roger Sayle <roger@eyesopen.com> |
3971 | ||
3972 | * optabs.c (expand_binop): Attempt to reuse pseudos for duplicate | |
3973 | non-volatile operands of binary operations. | |
3974 | (prepare_cmp_insn): Likewise. | |
3975 | ||
1063147c RS |
3976 | 2003-06-03 Roger Sayle <roger@eyesopen.com> |
3977 | ||
3978 | * varasm.c (force_const_mem): Handle alignment of constants not | |
3979 | representable as a type in the front-end language. | |
3980 | ||
a7a7d7ac KH |
3981 | 2003-06-03 Kazu Hirata <kazu@cs.umass.edu> |
3982 | ||
3983 | * flow.c (initialize_uninitialized_subregs): Use | |
3984 | emit_move_insn instead of emitting a hardcoded move. | |
3985 | ||
2ef0a555 RH |
3986 | 2003-06-03 Richard Henderson <rth@redhat.com> |
3987 | ||
3988 | * optabs.c (expand_abs_nojump): Split out from ... | |
3989 | (expand_abs): ... here. | |
3990 | * optabs.h (expand_abs_nojump): Declare. | |
3991 | * ifcvt.c: (noce_try_abs): Use expand_abs_nojump. | |
3992 | * Makefile.in (ifcvt.o): Depend on optabs.h. | |
3993 | ||
b0c242c0 AM |
3994 | 2003-06-03 Alan Modra <amodra@bigpond.net.au> |
3995 | ||
3996 | * dwarf2out.c (DEBUG_STR_SECTION_FLAGS): Heed flag_merge_constants. | |
3997 | ||
2121a768 JT |
3998 | 2003-06-03 Jason Thorpe <thorpej@wasabisystems.com> |
3999 | ||
4000 | * config.gcc (default_use_cxa_atexit): New variable, defaults to no. | |
4001 | (*-*-netbsd[2-9]* | *-*-netbsdelf[2-9]*): Set default_use_cxa_atexit | |
4002 | to yes. | |
4003 | * configure.in: Allow default_use_cxa_atexit to determine the | |
4004 | value of DEFAULT_USE_CXA_ATEXIT if not explicitly enabled or | |
4005 | disabled. | |
4006 | * configure: Regenerate. | |
4007 | ||
6f6a3861 DR |
4008 | 2003-06-03 Douglas B Rupp <rupp@gnat.com> |
4009 | ||
ccb36e10 DR |
4010 | * Makefile.in (TEXI_GCC_FILES): Remove vms.texi entry. |
4011 | * doc/gcc.texi: Remove vms.texi section. | |
4012 | * doc/vms.texi: Remove obsolete file. | |
6f6a3861 | 4013 | |
dc06db20 R |
4014 | 2003-05-23 J"orn Rennecke <joern.rennecke@superh.com> |
4015 | ||
4016 | * configure.in (inhibit_libc): Don't define when configuring | |
4017 | with --with-newlib --with-headers. | |
4018 | * configure: Regenerate. | |
4019 | ||
4020 | * t-sh: Remove LIB2FUNCS_EXTRA and embed-bb.c rules. | |
4021 | ||
6d07784a RO |
4022 | 2003-06-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
4023 | ||
4024 | * configure.in (gcc_cv_as_hidden): Disable .hidden completely on | |
4025 | IRIX 6 without GNU ld. | |
4026 | * configure: Regenerate. | |
4027 | ||
a79b3dc7 RS |
4028 | 2003-06-03 Roger Sayle <roger@eyesopen.com> |
4029 | ||
4030 | * expr.c (emit_move_insn_1): Use emit_move_insn to move the parts | |
4031 | of a complex number rather than invoke mov_optab directly. | |
4032 | ||
8d6b2775 KH |
4033 | 2003-06-03 Kazu Hirata <kazu@cs.umass.edu> |
4034 | ||
4035 | * combine.c (simplify_set): Don't move a subreg in SET_SRC to | |
4036 | SET_DEST if WORD_REGISTER_OPERATIONS is not defined. | |
4037 | ||
48ff03c7 NN |
4038 | 2003-06-03 Nathanael Nerode <neroden@gcc.gnu.org> |
4039 | ||
4040 | * config/i386/x86-64.h: Remove two target-independent comments; | |
4041 | replace "GNU CC" with "GCC". | |
4042 | ||
b09d2739 AG |
4043 | 2003-06-03 Anthony Green <green@redhat.com> |
4044 | ||
4045 | * config/frv/t-frv (EXTRA_HEADERS): Remove media.h | |
4046 | ||
075ec276 RS |
4047 | 2003-06-03 Roger Sayle <roger@eyesopen.com> |
4048 | ||
4049 | * builtins.def (BUILT_IN_CABS, BUILT_IN_CABSF, BUILT_IN_CABSL): | |
4050 | New builtins representing ISO C99's cabs, cabsf and cabsl. | |
4051 | * builtins.c (expand_builtin_fabs): New function. | |
4052 | (expand_builtin_cabs): New function. | |
4053 | (expand_builtin): Expand BUILT_IN_FABS{,F,L} and BUILT_IN_CABS{,F,L} | |
4054 | using expand_builtin_fabs and expand_builtin_cabs respectively. | |
4055 | ||
4056 | * doc/extend.texi: Document new cabs, cabsf and cabsl builtins. | |
4057 | ||
ded9bf77 AH |
4058 | 2003-06-03 Aldy Hernandez <aldyh@redhat.com> |
4059 | ||
1072ec3f | 4060 | * function.c (assign_parms): Split complex arguments. |
ded9bf77 | 4061 | |
1072ec3f | 4062 | * doc/tm.texi (SPLIT_COMPLEX_ARGS): Document. |
ded9bf77 | 4063 | |
1072ec3f ZW |
4064 | * expr.h (SPLIT_COMPLEX_ARGS): Define. |
4065 | (split_complex_types): Protoize. | |
4066 | (split_complex_values): Protoize. | |
ded9bf77 | 4067 | |
1072ec3f ZW |
4068 | * calls.c (expand_call): Split complex arguments on architectures |
4069 | that require it. | |
4070 | (split_complex_values): New. | |
4071 | (split_complex_types): New. | |
ded9bf77 | 4072 | |
1072ec3f ZW |
4073 | * config/rs6000/rs6000.c (rs6000_libcall_value): New. |
4074 | (rs6000_function_value): Handle complex values on AIX. | |
4075 | (rs6000_complex_function_value): New. | |
ded9bf77 | 4076 | |
1072ec3f | 4077 | * config/rs6000/rs6000-protos.h (rs6000_libcall_value): Protoize. |
ded9bf77 | 4078 | |
1072ec3f ZW |
4079 | * config/rs6000/rs6000.h (LIBCALL_VALUE): Call function. |
4080 | (SPLIT_COMPLEX_ARGS): New. | |
ded9bf77 | 4081 | |
24a4dd31 JJ |
4082 | 2003-06-03 Jakub Jelinek <jakub@redhat.com> |
4083 | ||
4084 | * configure.in (HAVE_LD_PIE): Check for ld -pie. | |
4085 | * config.in: Rebuilt. | |
4086 | * configure: Rebuilt. | |
4087 | * toplev.c (flag_pie, flag_shlib): New variables. | |
4088 | (f_options): Add -fpie and -fPIE. | |
4089 | (parse_options_and_default_flags): Set flag_pic if -fpie/-fPIE. | |
4090 | Set flag_shlib if flag_pic and not -fpie/-fPIE. | |
4091 | * flags.h (flag_pic, flag_shlib): Add. | |
4092 | * varasm.c (default_binds_local_p): Use flag_shlib instead of | |
4093 | flag_pic. | |
4094 | * gcc.c (LINK_PIE_SPEC): Define. | |
4095 | (LINK_COMMAND_SPEC): Use LINK_PIE_SPEC. | |
4096 | (option_map): Add --pie -> -pie mapping. | |
4097 | * config/sol2.h (ASM_SPEC): Handle -fpie the same way as -fpic | |
4098 | and -fPIE the same way as -fPIC. | |
4099 | * config/openbsd.h (ASM_SPEC): Likewise. | |
4100 | * config/frv/frv.h (ASM_SPEC): Likewise. | |
4101 | * config/arm/linux-gas.h (SUBTARGET_CPP_SPEC): Likewise. | |
4102 | * config/arm/semi.h (ASM_SPEC): Likewise. | |
4103 | * config/arm/netbsd-elf.h (SUBTARGET_EXTRA_ASM_SPEC): Likewise. | |
4104 | * config/freebsd-spec.h (FBSD_CPP_SPEC): Likewise. | |
4105 | * config/i386/beos-elf.h (CC1_SPEC): Likewise. | |
4106 | * config/i386/freebsd-aout.h (ASM_SPEC): Likewise. | |
4107 | * config/m68k/linux.h (CPP_SPEC): Likewise. | |
4108 | * config/m68k/netbsd.h (ASM_SPEC): Likewise. | |
4109 | * config/m68k/openbsd.h (ASM_SPEC): Likewise. | |
4110 | * config/m68k/netbsd-elf.h (ASM_SPEC): Likewise. | |
4111 | * config/mips/linux.h (SUBTARGET_CPP_SPEC): Likewise. | |
4112 | * config/mips/openbsd.h (SUBTARGET_ASM_SPEC): Likewise. | |
4113 | * config/pa/pa-linux.h (CPP_SPEC): Likewise. | |
4114 | * config/netbsd-aout.h (ASM_SPEC): Likewise. | |
4115 | * config/rs6000/sysv4.h (ASM_SPEC, CPP_SYSV_SPEC): Likewise. | |
4116 | * config/rs6000/vxworks.h (CPP_SPEC): Likewise. | |
4117 | * config/sparc/linux.h (CPP_SUBTARGET_SPEC, ASM_SPEC): Likewise. | |
4118 | * config/sparc/linux64.h (CPP_SUBTARGET_SPEC, ASM_SPEC): Likewise. | |
4119 | * config/sparc/sparc.h (ASM_SPEC): Likewise. | |
4120 | * config/sparc/sp64-elf.h (ASM_SPEC): Likewise. | |
4121 | * config/sparc/sysv4.h (ASM_SPEC): Likewise. | |
4122 | * config/sparc/netbsd-elf.h (ASM_SPEC): Likewise. | |
4123 | * config/sparc/openbsd64.h (ASM_SPEC): Likewise. | |
4124 | * config/cris/linux.h (CRIS_ASM_SUBTARGET_SPEC): Likewise. | |
4125 | * config/linux.h (STARTFILE_SPEC, ENDFILE_SPEC): Handle -pie. | |
4126 | Simplify. | |
4127 | * config/alpha/elf.h (STARTFILE_SPEC, ENDFILE_SPEC): Likewise. | |
4128 | * config/i386/linux64.h (STARTFILE_SPEC, ENDFILE_SPEC): Likewise. | |
4129 | * config/ia64/linux.h (STARTFILE_SPEC, ENDFILE_SPEC): Likewise. | |
4130 | * config/rs6000/sysv4.h (STARTFILE_SPEC, ENDFILE_SPEC): Likewise. | |
4131 | * config/rs6000/linux64.h (STARTFILE_SPEC, ENDFILE_SPEC): Likewise. | |
4132 | * config/sparc/linux.h (STARTFILE_SPEC, ENDFILE_SPEC): Likewise. | |
4133 | * config/sparc/linux64.h (STARTFILE_SPEC, ENDFILE_SPEC): Likewise. | |
4134 | * doc/invoke.texi: Document -pie, -fpie and -fPIE options. | |
4135 | ||
8fd3cf4e JJ |
4136 | 2003-06-03 Jakub Jelinek <jakub@redhat.com> |
4137 | ||
4138 | * builtins.c (expand_builtin_memcpy): Remove endp argument and endp | |
4139 | != 0 handling. Pass 0 to store_by_pieces. | |
4140 | (expand_builtin_mempcpy): Add endp argument. Don't call | |
4141 | expand_builtin_memcpy, call store_by_pieces resp. move_by_pieces | |
4142 | directly. If ignoring result, only do expand_call. | |
4143 | (expand_builtin_stpcpy): Likewise. Call expand_builtin_mempcpy | |
4144 | otherwise. | |
4145 | (expand_builtin_strncpy, expand_builtin_memset): Adjust | |
4146 | store_by_pices callers. | |
4147 | (expand_builtin): Adjust expand_builtin_memcpy and | |
4148 | expand_builtin_mempcpy callers. | |
4149 | * expr.c (can_move_by_pieces): New function. | |
4150 | (move_by_pieces): Add endp argument, return to resp. memory at end | |
4151 | or one byte earlier depending on endp. | |
4152 | (store_by_pieces): Likewise. | |
4153 | (emit_block_move): Adjust call to move_by_pieces. | |
4154 | (emit_push_insn): Adjust move_by_pieces caller. | |
4155 | * expr.h (can_move_by_pieces): New prototype. | |
4156 | (store_by_pieces): Adjust prototypes. | |
4157 | * rtl.h (move_by_pieces): Adjust prototype. | |
4158 | * config/mips/mips.c (expand_block_move): Adjust move_by_pieces | |
4159 | caller. | |
4160 | ||
cc6a602b BE |
4161 | 2003-06-03 Ben Elliston <bje@wasabisystems.com> |
4162 | ||
4163 | * doc/md.texi (Processor pipeline description): Improve wording. | |
4164 | ||
f75d3e11 NB |
4165 | 2003-06-03 Neil Booth <neil@daikokuya.co.uk> |
4166 | ||
4167 | * c-opts.c (c_common_handle_option): New, pulled out of | |
4168 | c_common_decode_option. Substitute uses of argv. | |
4169 | (c_common_decode_option): Broken into two. | |
4170 | ||
4c2da7f2 RS |
4171 | 2003-06-02 Roger Sayle <roger@eyesopen.com> |
4172 | Zack Weinberg <zack@codesourcery.com> | |
4173 | ||
4174 | * emit-rtl.c (gen_complex_constant_part): Remove unnecessary | |
4175 | test of TREE_CONSTANT_POOL_ADDRESS_P. | |
4176 | ||
e91e4f6c KG |
4177 | 2003-06-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
4178 | ||
4179 | * mips.c: Don't include output.h twice. | |
4180 | * stormy16.c: Likewise. | |
4181 | * xtensa.c: Likewise. | |
4182 | * output.h: Protect against multiple inclusion. | |
4183 | ||
b38a5244 R |
4184 | 2003-06-02 J"orn Rennecke <joern.rennecke@superh.com> |
4185 | ||
4186 | * sh.h (OLD_ARG_MODE): New macro. | |
4187 | (FUNCTION_ARG_ADVANCE, FUNCTION_ARG_PASS_BY_REFERENCE): Use it. | |
4188 | (FUNCTION_ARG_1): Break out of: | |
4189 | (FUNCTION_ARG). Use OLD_ARG_MODE. | |
4190 | ||
cc6a602b | 4191 | 2003-06-02 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com> |
250315f7 | 4192 | |
1072ec3f | 4193 | * gcc/config.gcc Add support multilib parts for m32rx processor. |
250315f7 | 4194 | |
e7aba4cd KG |
4195 | 2003-06-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
4196 | ||
4197 | * Makefile.in (c-options.c): Pass in $(AWK) to opts.sh. | |
4198 | (mostlyclean): Delete c-options.c and c-options.h. | |
4199 | ||
c83857ff NB |
4200 | 2003-06-02 Neil Booth <neil@daikokuya.co.uk> |
4201 | ||
4202 | * c-opts.c (CL_REJECT_NEGATIVE): New. | |
4203 | (c_common_decode_option): Update to use it. | |
4204 | * c.opt: Update documentation; use RejectNegative. | |
4205 | * opts.sh: Handle RejectNegative. | |
4206 | ||
c770ac2b ZW |
4207 | 2003-06-01 Zack Weinberg <zack@codesourcery.com> |
4208 | ||
4209 | * ggc-page.c (init_ggc): Give better diagnostics on failure to | |
4210 | open /dev/zero. | |
4211 | * toplev.c (crash_signal): Reset handling for received signal | |
4212 | to SIG_DFL. | |
4213 | ||
103fc15d BE |
4214 | 2003-06-02 Ben Elliston <bje@wasabisystems.com> |
4215 | ||
4216 | * config/arm/arm.c (arm_use_dfa_pipeline_interface): Declare. | |
d48b7f2a | 4217 | (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE): Define if not already. |
103fc15d BE |
4218 | (arm_use_dfa_pipeline_interface): Implement. |
4219 | * config/arm/arm.md (arm): New automaton. | |
4220 | (write_buf): Remove function units; new cpu unit. | |
4221 | (write_blockage): Remove function units; new cpu unit. | |
4222 | (core): Remove function units; new cpu unit. | |
4223 | (r_mem_f_wbuf): New instruction reservation. | |
4224 | (store1_wbuf, store2_wbuf, store3_wbuf, store4_wbuf): Likewise. | |
4225 | (store1_ldsched, store2, store3, store4): Likewise. | |
4226 | (load_ldsched, load_ldsched_xscale, load_or_store): Likewise. | |
4227 | (mult, mult_ldsched, mult_ldsched_strongarm): Likewise. | |
4228 | (multi_cycle, single_cycle): Likewise. | |
4229 | * config/arm/fpa.md (armfp): New automaton. | |
4230 | (fpa): Remove function units; new cpu unit. | |
4231 | (fpa_mem): Remove function unit; new cpu unit. | |
4232 | (fdivx, fdivd, fdivs, fmul, ffmul, farith, ffarith): New reservations. | |
4233 | (r_2_f, f_2_r, f_load, f_store, r_mem_f, f_mem_r): Likewise. | |
4234 | ||
3ae1d4c2 KG |
4235 | 2003-06-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
4236 | ||
4237 | * builtin-attrs.def (ATTR_ASM_FPRINTF): New. | |
4238 | * c-format.c (enum format_type): Add asm_fprintf_format_type. | |
4239 | (NOARGUMENTS, asm_fprintf_length_specs, asm_fprintf_flag_specs, | |
4240 | asm_fprintf_flag_pairs, asm_fprintf_char_table): New. | |
4241 | (format_types_orig): Renamed from format_types. Add new data. | |
4242 | (format_types): Declare as pointer. | |
4243 | (handle_format_attribute): Move later in file so we have all | |
4244 | necessary declarations. Add section to capture HOST_WIDE_INT. | |
4245 | * output.h (ATTRIBUTE_ASM_FPRINTF, __gcc_host_wide_int__): New. | |
4246 | (asm_fprintf): Mark with ATTRIBUTE_ASM_FPRINTF. | |
4247 | ||
fd66c4e3 AJ |
4248 | 2003-06-01 Andreas Jaeger <aj@suse.de> |
4249 | ||
8842a5e5 AJ |
4250 | * doc/tm.texi (Storage Layout): Remove ROUND_TYPE_SIZE and |
4251 | ROUND_TYPE_SIZE_UNIT. | |
4252 | ||
4253 | * stor-layout.c (finalize_record_size): Remove usages of | |
4254 | ROUND_TYPE_SIZE and ROUND_TYPE_SIZE_UNIT. | |
4255 | (finalize_type_size): Likewise. | |
4256 | (layout_type): Likewise. | |
4257 | ||
4258 | * system.h: Poison ROUND_TYPE_SIZE and ROUND_TYPE_SIZE_UNIT. | |
4259 | ||
e0945432 AJ |
4260 | * loop.c (check_insn_for_givs): Remove DONT_REDUCE_ADDR macro. |
4261 | ||
fd66c4e3 AJ |
4262 | * config/d30v/d30v.h: Remove text copied from the manual. |
4263 | ||
14ca333d RS |
4264 | 2003-06-01 Roger Sayle <roger@eyesopen.com> |
4265 | John David Anglin <dave.anglin@nrc-cnrc.gc.ca> | |
4266 | Geoffrey Keating <geoffk@apple.com> | |
4267 | ||
4268 | * emit-rtl.c (gen_lowpart_common): Handle interpreting integer | |
4269 | constants as condition code values. | |
4270 | ||
0cc261bc | 4271 | 2003-06-01 DJ Delorie <dj@redhat.com> |
a7f36da3 DD |
4272 | |
4273 | * cppmacro.c (warn_of_redefinition): Handle cases where the two | |
4274 | definitions have different numbers of tokens. | |
4275 | ||
8e2b6930 AJ |
4276 | 2003-06-01 Andreas Jaeger <aj@suse.de> |
4277 | ||
4278 | * gen-protos.c (main): Readd unused attribute for argc. | |
4279 | ||
e11a4ae5 NB |
4280 | 2003-06-01 Neil Booth <neil@daikokuya.co.uk> |
4281 | ||
4282 | * Makefile.in (c-options.c, c-options.h): Parallel make safe. | |
4283 | * c.opt: End in blank line. | |
4284 | * opts.sh: Take AWK from environment if available; use C locale. | |
4285 | ||
6fc9e67e AS |
4286 | 2003-06-01 Andreas Schwab <schwab@suse.de> |
4287 | ||
4288 | * config/m68k/linux.h: Remove code protected by USE_GNULIBC_1. | |
4289 | ||
fa10d367 AJ |
4290 | 2003-06-01 Andreas Jaeger <aj@suse.de> |
4291 | ||
4292 | * gen-protos.c (main): Revert patch to check for argument. | |
4293 | ||
a3033f34 EB |
4294 | 2003-06-01 Eric Botcazou <ebotcazou@libertysurf.fr> |
4295 | ||
4296 | PR target/11044 | |
4297 | * config/i386/i386.md (length attribute): Set length to 4 | |
4298 | for instructions of type "fcmp". | |
4299 | ||
cef2bd3e AJ |
4300 | 2003-06-01 Andreas Jaeger <aj@suse.de> |
4301 | ||
c770ac2b | 4302 | * toplev.c: Use ISO C90 prototypes. |
e25a75e6 | 4303 | |
c770ac2b | 4304 | * toplev.h: Use ISO C90 prototypes. |
e25a75e6 | 4305 | |
3d7aafde AJ |
4306 | * genrecog.c: Use ISO C90 prototypes. |
4307 | (nodes_identical): Correct declaration to match prototype. | |
4308 | (maybe_both_true): Likewise. | |
4309 | (merge_trees): Likewise. | |
4310 | ||
4311 | * genpeep.c (gen_peephole): Remove #if 0 code. | |
4312 | Use ISO C90 prototypes. | |
4313 | ||
4314 | * genattrtab.c (copy_rtx_unchanging): Remove #if 0'ed code. | |
4315 | Remove #if 0'ed function simplify_by_alternatives. | |
4316 | (optimize_attrs): Remove #if 0'ed code. | |
4317 | Remove ^L. | |
4318 | Use ISO C90 prototypes. | |
4319 | (make_canonical): Remove #if 0'ed code. | |
4320 | (convert_const_symbol_ref): Remove #if 0'ed function. | |
4321 | ||
4322 | * gen-protos.c (main): Check for argument. | |
4323 | ||
4324 | * rtl.h: Use ISO C90 prototypes for functions from lists.c. | |
4325 | ||
4326 | * params.h: Use ISO C90 prototypes. | |
4327 | * params.c: Likewise. | |
4328 | * intl.c: Likewise. | |
4329 | * intl.h: Likewise. | |
4330 | * lists.c: Likewise. | |
4331 | * errors.c: Likewise. | |
4332 | * errors.h: Likewise. | |
4333 | * gencodes.c: Likewise. | |
4334 | * genpreds.c: Likewise. | |
4335 | * genattr.c: Likewise. | |
4336 | * gen-protos.c: Likewise. | |
4337 | * genflags.c: Likewise | |
4338 | * genconditions.c: Likewise. | |
4339 | * genautomata.c: Likewise. | |
4340 | * gencheck.c: Likewise. | |
4341 | * genconfig.c: Likewise. | |
4342 | * genconstants.c: Likewise. | |
4343 | * genemit.c: Likewise. | |
4344 | * genextract.c: Likewise. | |
4345 | * gengenrtl.c: Likewise. | |
4346 | * gengtype.c: Likewise. | |
4347 | * gengtype.h: Likewise. | |
4348 | * genopinit.c: Likewise. | |
4349 | * genoutput.c: Likewise. | |
4350 | * gensupport.c: Likewise. | |
4351 | * gensupport.h: Likewise. | |
4352 | ||
cef2bd3e AJ |
4353 | * sdbout.h: Use ISO C90 prototypes. |
4354 | ||
4355 | * sdbout.c (CONTIN): Removed empty macro. | |
4356 | (sdbout_one_type): Remove CONTIN usages. | |
4357 | Remove ^Ls. | |
4358 | (tag_of_ru_type): Remove #if 0'ed function. | |
4359 | (sdbout_symbol): Remove #if 0'ed code. | |
4360 | (sdbout_one_type): Remove a #if 1. | |
4361 | (sdbout_one_type): Remove #if 0'ed code. | |
4362 | (sdbout_init): Remove RMS_QUICK_HACK_1 code. | |
4363 | Remove PARAMS, use ISO C90 prototypes for all functions. | |
4364 | ||
43194145 JZ |
4365 | 2003-06-01 Josef Zlomek <zlomekj@suse.cz> |
4366 | ||
4367 | * rtl.def (CONST_DOUBLE): Update comment. | |
4368 | ||
cea8d816 NB |
4369 | 2003-06-01 Neil Booth <neil@daikokuya.co.uk> |
4370 | ||
4371 | * opts.sh: Remove path from sort. | |
4372 | ||
28636c6e AH |
4373 | 2003-06-01 Aldy Hernandez <aldyh@redhat.com> |
4374 | ||
965f3913 | 4375 | PR/9680 |
c770ac2b ZW |
4376 | * config/rs6000/rs6000.h (CANNOT_CHANGE_MODE_CLASS): Require |
4377 | TARGET_SPE for SPE_VECTOR_MODE. | |
28636c6e | 4378 | |
ddc9542b AH |
4379 | 2003-05-31 Aldy Hernandez <aldyh@redhat.com> |
4380 | ||
c770ac2b ZW |
4381 | * toplev.c (botch): Remove. |
4382 | (do_abort): Remove. | |
4383 | (set_Wunused): Comment. | |
4384 | (set_Wextra): Comment. | |
4385 | Remove ^L's. | |
4386 | (rest_of_compilation): Factor out common code into functions. | |
4387 | (rest_of_handle_inlining): New. | |
4388 | (rest_of_handle_ssa): New. | |
4389 | (rest_of_handle_cse): New. | |
4390 | (rest_of_handle_gcse): New. | |
4391 | (rest_of_handle_loop_optimize): New. | |
4392 | (rest_of_handle_jump_bypass): New. | |
4393 | (rest_of_handle_sibling_calls): New. | |
4394 | (rest_of_handle_null_pointer): New. | |
4395 | (rest_of_handle_addresof): New. | |
4396 | (rest_of_handle_flow): New. | |
4397 | (rest_of_handle_branch_prob): New. | |
4398 | (rest_of_handle_if_conversion): New. | |
4399 | (rest_of_handle_tracer): New. | |
4400 | (rest_of_handle_loop2): New. | |
4401 | (rest_of_handle_cse2): New. | |
4402 | (rest_of_handle_life): New. | |
4403 | (rest_of_handle_combine): New. | |
4404 | (rest_of_handle_if_after_combine): New. | |
4405 | (rest_of_handle_regmove): New. | |
4406 | (rest_of_handle_sched): New. | |
4407 | (rest_of_handle_old_regalloc): New. | |
4408 | (rest_of_handle_new_regalloc): New. | |
4409 | (rest_of_handle_regrename): New. | |
4410 | (rest_of_handle_reorder_blocks): New. | |
4411 | (rest_of_handle_sched2): New. | |
4412 | (rest_of_handle_new_regalloc): New. | |
4413 | (rest_of_handle_old_regalloc): New. | |
4414 | (rest_of_handle_regrename): New. | |
4415 | (rest_of_handle_reorder_blocks): New. | |
4416 | (rest_of_handle_stack_regs): New. | |
4417 | (rest_of_handle_machine_reorg): New. | |
4418 | (rest_of_handle_delay_slots): New. | |
4419 | (rest_of_handle_final): New. | |
4420 | ||
4421 | * toplev.h (botch): Remove prototype. | |
4422 | (do_abort): Same. | |
ddc9542b | 4423 | |
fef3106c NB |
4424 | 2003-05-31 Neil Booth <neil@daikokuya.co.uk> |
4425 | ||
4426 | * Makefile.in (c-opts.o, c-options.h): Update dependencies. | |
4427 | * c-opts.c: Include c-options.h and c-options.c. | |
4428 | (CL_C_ONLY, CL_OBJC_ONLY, CL_CXX_ONLY, CL_OBJCXX_ONLY): | |
4429 | Rename CL_C, CL_OBJC, CL_CXX, CL_OBJCXX. | |
4430 | (CL_ARG, CL_ALL, COMMAND_LINE_OPTIONS, struct cl_option, | |
4431 | OPT, opt_comp): Remove. | |
4432 | (missing_arg, c_common_init_options, c_common_decode_option, | |
4433 | write_langs): Update for macro redefinitions and enumeration | |
4434 | name changes. | |
4435 | * c.opt, opts.sh: New files. | |
4436 | * doc/passes.texi: Update. | |
4437 | ||
0d569849 AJ |
4438 | 2003-05-31 Andreas Jaeger <aj@suse.de> |
4439 | ||
4440 | * function.c (trampoline_address): Remove ALLOCATE_TRAMPOLINE | |
4441 | usage. | |
4442 | ||
4443 | * doc/tm.texi (Trampolines): Remove ALLOCATE_TRAMPOLINE. | |
4444 | ||
4445 | * config/d30v/d30v.h: Remove traces of ALLOCATE_TRAMPOLINE. | |
4446 | ||
4447 | * system.h: Poison ALLOCATE_TRAMPOLINE. | |
4448 | ||
4449 | * doc/tm.texi (Misc): Remove HANDLE_PRAGMA. | |
4450 | * system.h: Poison HANDLE_PRAGMA. | |
4451 | ||
e0ce2ed2 KH |
4452 | 2003-05-31 Kazu Hirata <kazu@cs.umass.edu> |
4453 | ||
4454 | * doc/invoke.texi: Update dump file names. | |
4455 | ||
2ec29bbf KG |
4456 | 2003-05-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
4457 | ||
4458 | * c-format.c (format_length_info, format_char_info, | |
4459 | format_flag_spec, format_flag_pair, format_kind_info): | |
4460 | De-const-ify structure members. | |
4461 | ||
4fa26a60 RS |
4462 | 2003-05-31 Roger Sayle <roger@eyesopen.com> |
4463 | ||
4464 | * flags.h (flag_wrapv): New flag controlling overflow semantics. | |
4465 | * toplev.c (flag_wrapv): Declare the variable with default false. | |
4466 | (lang_independent_options): New option "-fwrapv" to set the above. | |
4467 | ||
0d569849 | 4468 | * fold-const.c (extract_muldiv_1): Disable optimization of (2*x)/2 |
4fa26a60 RS |
4469 | as x, when signed arithmetic overflow wraps around. |
4470 | (fold): Optimize "-A - B" as "-B - A" if overflow wraps around. | |
4471 | * loop.c (basic_induction_var): Ignore BIVs that rely on undefined | |
4472 | overflow when flag_wrapv is true. | |
4473 | ||
4474 | * doc/invoke.texi: Document new -fwrapv command line option. | |
4475 | * doc/c-tree.texi: Mention that the overflow semantics of | |
4476 | NEGATE_EXPR, PLUS_EXPR, MINUS_EXPR and MULT_EXPR is dependent | |
4477 | upon both flag_wrapv and flag_trapv. | |
4478 | ||
5fb57097 EB |
4479 | 2003-05-31 Eric Botcazou <ebotcazou@libertysurf.fr> |
4480 | ||
4481 | * doc/install.texi (mips-sgi-irix5): Add missing | |
4482 | HTML <hr> marker. | |
4483 | ||
8a69f99f EB |
4484 | 2003-05-31 Eric Botcazou <ebotcazou@libertysurf.fr> |
4485 | ||
4486 | * doc/md.texi (Machine Constraints): Document | |
4487 | missing SPARC constraints. | |
4488 | ||
68e4d4c5 EB |
4489 | 2003-05-31 Eric Botcazou <ebotcazou@libertysurf.fr> |
4490 | ||
4491 | * doc/md.texi (Automaton pipeline description): Use | |
4492 | "type" instead of "cpu" as the attribute in the examples. | |
4493 | ||
e5bcbd89 SS |
4494 | 2003-05-30 Stan Shebs <shebs@apple.com> |
4495 | ||
4496 | * system.h: Poison OBJC_PROLOGUE. | |
4497 | ||
b1d673be RS |
4498 | 2003-05-30 Roger Sayle <roger@eyesopen.com> |
4499 | ||
4500 | * emit-rtl.c (gen_complex_constant_part): New function for getting | |
4501 | the constant real or imaginary part of a complex constant. | |
4502 | (gen_realpart): Use it. | |
4503 | (gen_imagpart): Likewise. | |
4504 | ||
65d2d764 KH |
4505 | 2003-05-30 Kazu Hirata <kazu@cs.umass.edu> |
4506 | ||
4507 | * doc/invoke.texi: Fix typos. | |
4508 | * doc/rtl.texi: Likewise. | |
4509 | ||
5c29d24c DD |
4510 | 2003-05-30 Dhananjay Deshpande <dhananjayd@kpitcummins.com> |
4511 | ||
4512 | * config/h8300/crti.asm: Use .h8300hn and .h8300sn for normal | |
4513 | mode. | |
4514 | * config/h8300/crtn.asm: Likewise. | |
4515 | * config/h8300/lib1funcs.asm: Likewise. | |
4516 | * config/h8300/h8300.c (asm_file_start): Likewise. | |
4517 | * config/h8300/elf.h (LINK_SPEC): Use h8300hnelf and | |
4518 | h8300snelf emulations for normal mode. | |
4519 | * config/h8300/h8300.h (LINK_SPEC): Use h8300hn and h8300sn | |
4520 | emulations for normal mode. | |
4521 | ||
6d7d3112 DD |
4522 | 2003-05-30 Dhananjay Deshpande <dhananjayd@kpitcummins.com> |
4523 | ||
4524 | * config/h8300/h8300.c (h8300_tiny_constant_address_p): Return | |
4525 | true if TARGET_NORMAL_MODE. | |
4526 | ||
0c19a26f RS |
4527 | 2003-05-30 Roger Sayle <roger@eyesopen.com> |
4528 | ||
4529 | * cse.c (cse_insn): Simplify REG_EQUAL note on libcalls when | |
4530 | making a substitution. | |
4531 | (dead_libcall_p): If directly replacing a libcall with a | |
4532 | constant value produces an invalid instruction, also try forcing | |
4533 | the constant into the constant pool. | |
4534 | * expr.c (emit_move_insn): Add a REG_EQUAL note when it is not | |
4535 | obvious that the source is a constant. | |
4536 | (compress_float_constant): Use set_unique_reg_note to place | |
4537 | REG_EQUAL notes on instructions. | |
4538 | ||
9a38893a EC |
4539 | 2003-05-30 Eric Christopher <echristo@redhat.com> |
4540 | ||
4541 | * config/mips/mips.c (extern_list): Add GTY marker. | |
4542 | (extern_head): Separate out definition. Add marker. | |
4543 | (mips_output_external): Use ggc_alloc for extern_list | |
4544 | allocation. | |
4545 | (mips_output_external_libcall): Ditto. | |
4546 | ||
3e98a119 FW |
4547 | 2003-05-30 Florian Weimer <fw@deneb.enyo.de> |
4548 | ||
4549 | * doc/install.texi: Ada-enabled bootstrap requires GNAT 3.14 or | |
4550 | later. | |
4551 | ||
ace49484 KG |
4552 | 2003-05-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
4553 | ||
4554 | * vax.h (ASM_GENERATE_INTERNAL_LABEL): Fix format specifier | |
4555 | warnings. | |
4556 | (PRINT_OPERAND): Likewise. | |
4557 | ||
3bd4f460 RO |
4558 | 2003-05-30 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
4559 | ||
4560 | * config/mips/mips.h (SUBTARGET_ASM_DEBUGGING_SPEC): Move | |
4561 | -mdebug/-no-mdebug switches ... | |
4562 | (MDEBUG_ASM_SPEC): ... here. | |
4563 | Use only with gas. | |
4564 | (EXTRA_SPECS): Initialize mdebug_asm_spec. | |
4565 | ||
8fdf7668 MK |
4566 | 2003-05-29 Matt Kraai <kraai@alumni.cmu.edu> |
4567 | ||
4568 | * gthr-gnat.c: Remove #undef UNUSED. | |
4569 | (__gnat_default_lock, __gnat_default_unlock): Prototype. | |
4570 | (__gnat_task_lock, __gnat_task_unlock): Make declarations | |
4571 | prototypes. | |
4572 | (__gnat_install_locks): Convert declaration to ISO C90, make | |
4573 | parameter declarations prototypes, and remove blank line. | |
4574 | * gthr-gnat.h (__gnat_install_locks): Make parameter | |
4575 | declarations prototypes. | |
4576 | ||
a7db751a JM |
4577 | 2003-05-29 Jason Merrill <jason@redhat.com> |
4578 | ||
4579 | * Makefile.in (unstrap): Remove stage_last after make unstage1. | |
4580 | ||
af7387ca RS |
4581 | 2003-05-29 Roger Sayle <roger@eyesopen.com> |
4582 | ||
4583 | * mips-tfile.c (PAGE_SIZE): Increase page size to 32K. | |
4584 | ||
d90f9882 RS |
4585 | 2003-05-29 Roger Sayle <roger@eyesopen.com> |
4586 | Kaveh Ghazi <ghazi@caip.rutgers.edu> | |
4587 | ||
4588 | PR bootstrap/10169 | |
4589 | * mips-tfile.c (main): Use getopt_long instead of getopt. | |
4590 | Add new command line option --version to display version. | |
4591 | Treat --verbose like -v to report a single line version. | |
4592 | (options): New global variable for getopt_long. | |
4593 | * mips-tdump.c (main): Use getopt_long instead of getopt. | |
4594 | New command line options -v, --version and -verbose to display | |
4595 | the program version number (to match mips-tfile's behavior). | |
4596 | (options): New global variable for getopt_long. | |
4597 | ||
4598 | * gcov.c (options): Zero-terminate getopt_long array. | |
4599 | * gcov-dump.c (options): Likewise. | |
4600 | ||
4601 | * Makefile.in (mips-tdump.o): Add dependency on version.h. | |
4602 | ||
1c36b2f9 SS |
4603 | 2003-05-29 Stan Shebs <shebs@apple.com> |
4604 | ||
4605 | Remove OBJC_PROLOGUE everywhere. | |
4606 | * objc/objc-act.c (finish_objc): Remove use of OBJC_PROLOGUE. | |
4607 | * config/avr/avr.h: Remove no-op ref to OBJC_PROLOGUE. | |
4608 | * config/d30v/d30v.h: Similarly. | |
4609 | * config/ip2k/ip2k.h: Similarly. | |
4610 | * doc/tm.texi: Remove doc of OBJC_PROLOGUE. | |
4611 | ||
0b82d59c RS |
4612 | 2003-05-29 Roger Sayle <roger@eyesopen.com> |
4613 | ||
4614 | * c-semantics.c (genrtl_do_stmt_1): New function split out from... | |
4615 | (gen_rtl_do_stmt): ... here. Call genrtl_do_stmt_1. | |
4616 | (expand_unreachable_stmt): Expand unreachable while statements | |
4617 | using genrtl_do_stmt_1. | |
4618 | ||
c8520e56 RS |
4619 | 2003-05-29 Richard Sandiford <rsandifo@redhat.com> |
4620 | ||
4621 | * config/mips/mips-protos.h (mips_output_load_label): Declare. | |
4622 | * config/mips/mips.c (mips_output_load_label): New function. | |
4623 | (mips_output_conditional_branch): Use it. | |
4624 | * config/mips/mips.md (jump): And here. | |
4625 | ||
633e4eb4 BW |
4626 | 2003-05-28 Bob Wilson <bob.wilson@acm.org> |
4627 | ||
4628 | * config/xtensa/xtensa-protos.h (smalloffset_double_mem_p): Delete. | |
4629 | (xtensa_split_operand_pair): New proto. | |
4630 | * config/xtensa/xtensa.c (move_operand): Handle DFmode and DImode. | |
4631 | (smalloffset_double_mem_p): Delete. | |
4632 | (gen_float_relational, printx, print_operand, xtensa_va_arg): | |
4633 | Fix whitespace. | |
4634 | (xtensa_split_operand_pair): New. | |
4635 | (xtensa_dbx_register_number): Fix formatting. | |
4636 | * config/xtensa/xtensa.h (EXTRA_CONSTRAINT): Remove 'S' constraint. | |
4637 | * config/xtensa/xtensa.md (movdi, movdf): Force constants to memory | |
4638 | instead of splitting them into single-word moves. Remove unnecessary | |
4639 | checks for reload_in_progress and reload_completed. | |
4640 | (movdi_internal, movdf_internal): Change to post-reload split patterns. | |
4641 | Add constraints to allow constant operands. | |
4642 | (movsf_internal): Allow CONST_INT operands. | |
4643 | ||
02c67fd1 DS |
4644 | 2003-05-27 Danny Smith <dannysmith@users.sourceforge.net> |
4645 | ||
358bdeee DS |
4646 | * config.gcc (i[34567]86-*-mingw32*): Add host makefile |
4647 | fragment i386/x-mingw32. | |
02c67fd1 DS |
4648 | * config/i386/x-mingw32: New file. Make local_includedir |
4649 | relative to EXEC_PREFIX. | |
4650 | ||
0bcbfabb AL |
4651 | 2003-05-27 Aaron W. LaFramboise <awlaframboise@aol.com> |
4652 | ||
4653 | * config/i386/mingw32.h (STANDARD_INCLUDE_DIR): Update. | |
4654 | (MD_STARTFILE_PREFIX): Define. | |
4655 | ||
291aac59 DC |
4656 | 2003-05-27 Denis Chertykov <denisc@overta.ru> |
4657 | ||
4658 | * cselib.c (cselib_invalidate_regno): Abort if hardreg have a | |
4659 | VOIDmode. | |
4660 | * cselib.c (cselib_process_insn): Pass reg_raw_mode for hardreg in | |
4661 | call of cselib_invalidate_regno. | |
4662 | ||
0d2a303e DJ |
4663 | 2003-05-28 Daniel Jacobowitz <drow@mvista.com> |
4664 | ||
4665 | * config/mips/linux.h (LIB_SPEC): Add missing -lc and correct | |
4666 | -lthread to -lpthread. | |
4667 | ||
6bf1ffe1 | 4668 | 2003-05-28 Eric Botcazou <ebotcazou@libertysurf.fr> |
c770ac2b ZW |
4669 | Bruce Korb <bkorb@gnu.org> |
4670 | Arno Klaassen <arno@heho.snv.jussieu.fr> | |
6bf1ffe1 EB |
4671 | |
4672 | * fixinc/inclhack.def: Add missing declaration of getpagesize() | |
4673 | to unistd.h on Solaris 2.5.1. | |
4674 | Fix prototype of recv() and send() in sys/socket.h on | |
4675 | Solaris 2.5.1 and 2.6. | |
4676 | * fixinc/tests/base/unistd.h: Add solaris_unistd fix test. | |
4677 | * fixinc/tests/base/sys/socket.h: Add solaris_socket test. | |
4678 | * fixinc/check.tpl: Use 'diff -c', not 'diff -u'. | |
4679 | * fixinc/fixincl.x: Regenerate. | |
4680 | ||
066f50a9 JM |
4681 | 2003-05-27 Jason Merrill <jason@redhat.com> |
4682 | ||
4683 | * tree.c (expr_first, expr_length): New fns. | |
4684 | * tree.h: Declare them. | |
4685 | ||
4686 | * tree.c (iterative_hash_expr): Hash commutative expressions | |
4687 | consistently. | |
4688 | ||
6bf1ffe1 | 4689 | 2003-05-27 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
7a6cdb44 RK |
4690 | |
4691 | * tree.h (contains_placeholder_p): Now returns bool. | |
4692 | (CONTAINS_PLACEHOLDER_P): New macro. | |
4693 | (type_contains_placeholder_p): New function. | |
4694 | * tree.c (save_expr): Remove code avoiding folding COMPONENT_REF. | |
4695 | (contains_placeholder_p): Now returns bool. | |
4696 | Rework to use CONTAINS_PLACEHOLDER_P macro. | |
4697 | (type_contains_placeholder_p): New function. | |
4698 | * fold-const.c (fold, case COMPONENT_REF): Don't fold if | |
4699 | type_contains_placeholder_p. | |
9a38893a | 4700 | (fold_range_test, fold_mathfn_compare, fold_inf_compare, fold): |
7a6cdb44 RK |
4701 | Use CONTAINS_PLACEHOLDER_P macro. |
4702 | * builtins.c (fold_builtin): Likewise. | |
4703 | * calls.c (initialize_argument_information): Likewise. | |
4704 | * emit-rtl.c (set_mem_attributes_minus_bitpos): Likewise. | |
4705 | * explow.c (expr_size): Likewise. | |
4706 | * expr.c (store_constructor, get_inner_reference): Likewise. | |
4707 | * function.c (assign_parms): Likewise. | |
4708 | * stor-layout.c (variable_size): Likewise. | |
4709 | ||
d576d043 GDR |
4710 | 2003-05-25 Gabriel Dos Reis <gdr@integrable-solutions.net> |
4711 | ||
4712 | * diagnostic.h (output_verbatim, verbatim): Remove printf | |
9a38893a | 4713 | attribute. |
d576d043 | 4714 | |
65878937 GP |
4715 | 2003-05-25 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
4716 | ||
4717 | * doc/contrib.texi (Contributors): Update Kean Johnston. | |
4718 | ||
e033a023 DE |
4719 | 2003-05-24 David Edelsohn <edelsohn@gnu.org> |
4720 | ||
4721 | * config/rs6000/rs6000.md (save_fpregs_{si,di}): Add length attribute. | |
4722 | ||
4dedfc09 NN |
4723 | 2003-05-24 Nathanael Nerode <neroden@gcc.gnu.org> |
4724 | ||
4725 | * config/rs6000/440.md, config/stormy16/stormy16protos.h, | |
4726 | config/stormy16/stormy16.c, config/stormy16/stormy16.md: | |
4727 | Replace "GNU CC" with "GCC". | |
4728 | ||
9589325f MK |
4729 | 2003-05-24 Matt Kraai <kraai@alumni.cmu.edu> |
4730 | ||
4731 | * builtins.c (expand_builtin_memcpy): Use mode of dest_addr for | |
4732 | intermediate computation. | |
4733 | ||
5299653d EC |
4734 | 2003-05-23 Eric Christopher <echristo@redhat.com> |
4735 | ||
4736 | * config/mips/mips.md (clzsi, clzdi): New patterns. | |
4737 | ||
0de12fcc GK |
4738 | 2003-05-23 Geoffrey Keating <geoffk@apple.com> |
4739 | ||
4740 | * gcc.c (default_compilers): Use -o to specify preprocessor's output | |
4741 | file. Make -no-integrated-cpp work when building PCH files. | |
4742 | * objc/lang-specs.h: Likewise. | |
4743 | ||
6e6a1681 NN |
4744 | 2003-05-23 Nathanael Nerode <neroden@gcc.gnu.org> |
4745 | ||
4746 | * fixinc/Makefile.in: Correct description. | |
5299653d | 4747 | * fixinc/Makefile.in, fixinc/fixfixes.c, fixinc/fixincl.c, |
6e6a1681 NN |
4748 | fixinc/fixlib.c, fixinc/fixlib.h, fixinc/fixtests.c, |
4749 | fixinc/genfixes: Replace "GNU CC" with "GCC". | |
4750 | ||
29f523be RS |
4751 | 2003-05-23 Roger Sayle <roger@eyesopen.com> |
4752 | ||
65f48a0a | 4753 | * builtins.def: Define atan, atanf, atanl, tan, tanf and tanl |
29f523be RS |
4754 | builtin functions (and their __builtin_* variants). |
4755 | * builtins.c (mathfn_built_in): Handle tan{,f,l} and atan{,f,l}. | |
4756 | (expand_builtin): Don't expand tan{,f,l} or atan{,f,l} when not | |
4757 | optimizing. | |
4758 | ||
4759 | * doc/extend.texi: Document new tan and atan builtins, and | |
4760 | their float and long double variants. | |
4761 | ||
27a701c2 JT |
4762 | 2003-05-23 Jason Thorpe <thorpej@wasabisystems.com> |
4763 | ||
4764 | * config/sparc/netbsd-elf.h (TARGET_OS_CPP_BUILTINS): Define | |
4765 | __sparcv9 in the TARGET_ARCH64 case. | |
4766 | ||
25f57a0e JH |
4767 | Fri May 23 22:17:32 CEST 2003 Jan Hubicka <jh@suse.cz> |
4768 | ||
4769 | * i386.c (ix86_reorg): Calls are also jumps. | |
4770 | ||
839844be R |
4771 | 2003-05-23 J"orn Rennecke <joern.rennecke@superh.com> |
4772 | ||
4773 | * cse.c (count_reg_usage): When processing an INSNs REG_EQUAL | |
4774 | note containing an EXPR_LIST, process all the arguments. | |
4775 | ||
97242ddc JH |
4776 | Fri May 23 21:19:31 CEST 2003 Jan Hubicka <jh@suse.cz> |
4777 | Andreas Jaeger <aj@suse.de> | |
4778 | ||
4779 | * i386.h (TARGET_CPU_CPP_BUILTINS): Define __amd64 and __amd64__; | |
4780 | do not use assertion. | |
4781 | ||
973a43f6 MS |
4782 | 2003-05-23 Mike Stump <mrs@apple.com> |
4783 | ||
4784 | * tlink.c (scan_linker_output): Add support for darwin linker, as it | |
4785 | emits unresolved symbols one per line, consuming the entire line. | |
4786 | ||
a27b2b71 LH |
4787 | 2003-05-23 Larin Hennessy <larin@science.oregonstate.edu> |
4788 | Zack Weinberg <zack@codesourcery.com> | |
4789 | ||
4790 | * explow.c (allocate_dynamic_stack_space): Remove call to gen_probe. | |
4791 | * config/m68k/m68k.c (m68k_output_function_prologue): | |
4792 | Remove code under #if NEED_PROBE. | |
4793 | * config/m68k/m68k.h: Don't define NEED_PROBE. | |
4794 | * config/m68k/m68k.md: Remove "probe" insn. | |
4795 | * doc/md.texi: Remove documentation of "probe" pattern. | |
4796 | ||
d3971161 DN |
4797 | 2003-05-23 Dorit Naishlos <gcchaifa@il.ibm.com> |
4798 | ||
4799 | * config/rs6000/rs6000.md (save_fpregs_{si,di}): Add branch attribute. | |
4800 | ||
0dc7ee3c EB |
4801 | 2003-05-23 Eric Botcazou <ebotcazou@libertysurf.fr> |
4802 | ||
4803 | * doc/install.texi: Remove sparc64-*-*. Add sparc64-*-solaris2*. | |
4804 | Document sparcv9-*-solaris2* as a synonym for sparc64-*-solaris2*. | |
4805 | ||
18c2511c RS |
4806 | 2003-05-22 Roger Sayle <roger@eyesopen.com> |
4807 | ||
4808 | * real.c (real_maxval): New function to return the largest finite | |
4809 | value representable in a given mode (i.e. FLT_MAX and DBL_MAX). | |
4810 | * real.h (real_maxval): Prototype here. | |
4811 | * fold-const.c (fold_inf_compare): Transform comparisons against | |
4812 | +-Infinity into comparisons against DBL_MAX (or equivalent). | |
4813 | ||
5f875c8f MS |
4814 | 2003-05-22 Mike Stump <mrs@apple.com> |
4815 | ||
4816 | * config.gcc (*-*-darwin*): Remove use_collect2=no, as it is the | |
4817 | default. | |
4818 | ||
d892f288 DD |
4819 | 2003-05-22 DJ Delorie <dj@redhat.com> |
4820 | ||
4821 | * calls.c (expand_call): If the arg block is going to grow | |
4822 | downward, we need argblock to point to the top of the block, | |
4823 | not the bottom. | |
4824 | ||
29495994 RK |
4825 | 2003-05-22 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
4826 | ||
4827 | * c-decl.c (duplicate_decls): Test DECL for ERROR_MARK. | |
4828 | ||
f59700f9 RK |
4829 | * expr.c (expand_expr, case CONSTRUCTOR): Put into memory if |
4830 | constant and EXPAND_CONST_ADDRESS, not just EXPAND_INITIALIZER. | |
4831 | ||
1f85a612 KG |
4832 | 2003-05-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
4833 | ||
4834 | * m68hc11.c: Don't use the `0' flag for asm_fprintf specifiers. | |
4835 | * m68k.c: Likewise. | |
4836 | * m68k.h: Likewise. | |
4837 | ||
5ded58d0 ZW |
4838 | 2003-05-22 Zack Weinberg <zack@codesourcery.com> |
4839 | ||
4840 | PR other/2873 | |
4841 | * fixinc/inclhack.def (avoid_wchar_t_type): Add bypass | |
4842 | expressions to prevent triggering on recent curses.h, | |
4843 | linux/nls.h, or X11/Xlib.h. | |
4844 | (stdio_va_list): Add _G_va_list to bypass pattern. | |
4845 | (strict_ansi_not): Add bypass pattern for __SCO_VERSION__. | |
4846 | * fixinc/fixincl.x: Regenerate. | |
4847 | ||
04213688 RB |
4848 | 2003-05-22 Rekha Bhintade <rekhad@kpitcummins.com> |
4849 | ||
4850 | * gcc/config/sh/sh.h (TARGET_SWITCHES): Display all the target | |
5ded58d0 | 4851 | switches when --target-help option is specified. |
04213688 | 4852 | |
fdbf04c8 EB |
4853 | 2003-05-22 Eric Botcazou <ebotcazou@libertysurf.fr> |
4854 | ||
4855 | PR bootstrap/10805 | |
4856 | * doc/install.texi (sparc-sun-solaris2.7): Document bootstrap | |
4857 | failure with Sun assembler 5.0 Alpha 03/27/98. | |
4858 | ||
d3d2e8f0 | 4859 | 2003-05-21 Loren James Rittle <ljrittle@acm.org> |
d45d08f7 LR |
4860 | |
4861 | * config/sparc/freebsd.h (CPP_CPU64_DEFAULT_SPEC): Add -D__sparcv9 | |
1490fbc1 | 4862 | to match system compiler convention. |
d45d08f7 | 4863 | |
81888fcd DS |
4864 | 2003-05-21 Danny Smith <dannysmith@users.sourceforge.net> |
4865 | ||
6356f892 | 4866 | * gthr-win32.h (__GTHREAD_HIDE_WIN32API): Test for nonzero |
81888fcd DS |
4867 | value, not just if defined. |
4868 | Update copyright year. | |
4869 | ||
f48758e4 JDA |
4870 | 2003-05-21 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
4871 | ||
4872 | PR target/6428 | |
4873 | * pa-hpux10.h (LINK_SPEC, LIB_SPEC): Move -L options for profiling | |
4874 | directories from LIB_SPEC to LINK_SPEC. Emit warning if `-p' or `-pg' | |
4875 | option is used without `-static'. | |
4876 | * pa-hpux11.h (LINK_SPEC, LIB_SPEC): Likewise. | |
4877 | * pa64-hpux.h (LINK_SPEC, LIB_SPEC): Likewise. | |
4878 | ||
7a29f483 BW |
4879 | 2003-05-21 Bob Wilson <bob.wilson@acm.org> |
4880 | ||
4881 | * config/xtensa/xtensa.h (MASK_SERIALIZE_VOLATILE, | |
4882 | TARGET_SERIALIZE_VOLATILE): Delete. | |
4883 | (MASK_CONST16, MASK_ABS, MASK_ADDX): Renumber flag bits. | |
4884 | (TARGET_DEFAULT): Remove MASK_SERIALIZE_VOLATILE. | |
4885 | (TARGET_SWITCHES): Remove "-mserialize-volatile" and | |
4886 | "-mno-serialize-volatile". | |
4887 | * config/xtensa/xtensa.c (print_operand): Remove checks of | |
4888 | TARGET_SERIALIZE_VOLATILE. | |
4889 | * config/xtensa/xtensa.md (*lsiu, *ssiu): Likewise. | |
4890 | * doc/invoke.texi (Option Summary, Xtensa Options): Remove | |
4891 | "-mserialize-volatile" and "-mno-serialize-volatile" options. | |
4892 | ||
b190f239 NS |
4893 | 2003-05-21 Nathan Sidwell <nathan@codesourcery.com> |
4894 | ||
4895 | * c-parse.in (fndef): Set DECL_SOURCE_LINE and FILE earlier. | |
4896 | (nested_function): Likewise. | |
4897 | (notype_nested_function): Likewise. | |
4898 | ||
278566a2 NC |
4899 | 2003-05-21 Nick Clifton <nickc@redhat.com> |
4900 | ||
4901 | * config/stormy16/stormy-abi: Update overflow type for | |
4902 | R_XSTORMY16_16 reloc. | |
4903 | ||
66804d9e NS |
4904 | 2003-05-21 Nathan Sidwell <nathan@codesourcery.com> |
4905 | ||
4906 | * c-common.h (enum rid): Remove RID_BOUNDED, RID_UNBOUNDED. | |
4907 | * c-parse.in (reswords): Remove __bounded__ and __unbounded__. | |
4908 | (rid_to_yy): Remove RID_BOUNDED, RID_UNBOUNDED slots. | |
4909 | * print-tree.c (print_node): Remove ambient-boundedness. | |
4910 | * tree.h (tree_common): Remove bounded_flag. | |
4911 | (BOUNDED_INDIRECT_YPE_P, BOUNDED_POINTER_TYPE_P, | |
4912 | BOUNDED_REFERENCE_TYPE_P, MAYBE_BOUNDED_INDIRECT_TYPE_P, | |
4913 | MAYBE_BOUNDED_POINTER_TYPE_P, MAYBE_BOUNDED_REFERENCE_TYPE_P, | |
4914 | TREE_BOUNDED, TYPE_MAIN_VARIANTS_PHYSICALLY_EQUAL_P, | |
4915 | TYPE_MAIN_PHYSICAL_VARIANT, TYPE_BOUNDED, TYPE_QUAL_BOUNDED): | |
4916 | Remove. | |
4917 | (TYPE_QUALS): Remove BOUNDED. | |
4918 | (TREE_EXPR_QUALS, TREE_FUNC_QUALS): Remove. | |
4919 | (TYPE_BOUNDED_VALUE, TYPE_BOUNDED_BASE, TYPE_BOUNDED_EXTENT, | |
4920 | TYPE_BOUNDED_SUBTYPE, TYPE_UNBOUNDED_VARIANT, TYPE_POINTER_DEPTH, | |
4921 | TYPE_AMBIENT_BOUNDEDNESS, MAX_POINTER_DEPT, | |
4922 | VA_LIST_POINTER_DEPTH): Remove. | |
4923 | (struct tree_type): Remove pointer_depth. | |
4924 | ||
58228df6 KG |
4925 | 2003-05-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
4926 | ||
4927 | * c-pretty-print.c (pp_c_integer_literal): Use | |
4928 | HOST_WIDE_INT_PRINT_DOUBLE_HEX. | |
4929 | ||
bc6688b4 RS |
4930 | 2003-05-20 Roger Sayle <roger@eyesopen.com> |
4931 | Kazu Hirata <kazu@cs.umass.edu> | |
4932 | Joern Rennecke <joern.rennecke@superh.com> | |
4933 | ||
4934 | * gcse.c (cprop_jump): Make use of REG_EQUAL notes on both | |
4935 | setcc and jump, if they exist. If substituted instruction | |
4936 | fails to validate, store current effort in a REG_EQUAL note. | |
4937 | (cprop_insn): Don't attempt further substitutions if the | |
4938 | current instruction has been deleted. | |
4939 | (local_cprop_pass): Likewise. | |
4940 | ||
4941 | * jump.c (redirect_jump): Also update REG_EQUAL note, if | |
4942 | one is attached to the jump instruction. | |
4943 | (invert_jump): Delete REG_EQUAL note on jump, if one exists. | |
4944 | ||
16e31964 DS |
4945 | 2003-05-21 Danny Smith <dannysmith@users.sourceforge.net> |
4946 | ||
4947 | PR c++/9738 | |
4948 | * config/i386/winnt.c (i386_pe_encode_section_info): Enable | |
4949 | even if not first. | |
4950 | ||
1e29b8d7 KG |
4951 | 2003-05-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
4952 | ||
4953 | * genautomata.c (output_description, output_automaton_units, | |
4954 | output_state_arcs): Add missing specifiers. | |
4955 | ||
6c2e8d1c BW |
4956 | 2003-05-20 Bob Wilson <bob.wilson@acm.org> |
4957 | ||
4958 | * config/xtensa/lib1funcs.asm: Avoid use of .Lfe* in .size directives. | |
4959 | (do_abs, do_addx2, do_addx4, do_addx8): New assembler macros. | |
4960 | (__mulsi3): Use do_addx* instead of ADDX* instructions. Formatting. | |
4961 | (nsau): Rename to do_nsau. Provide alternate version for use when | |
4962 | the NSAU instruction is available. | |
4963 | (__udivsi3, __divsi3, __umodsi3, __modsi3): Use do_nsau macro. | |
4964 | (__divsi3, __modsi3): Use do_abs macro instead of ABS instruction. | |
4965 | * config/xtensa/xtensa-config.h: Update comments to match binutils. | |
4966 | (XCHAL_HAVE_ABS, XCHAL_HAVE_ADDX): Define. | |
4967 | * config/xtensa/xtensa.h (MASK_ABS, MASK_ADDX): Define. | |
4968 | (TARGET_ABS, TARGET_ADDX): Define. | |
4969 | (TARGET_DEFAULT): Conditionally add MASK_ABS and MASK_ADDX. | |
4970 | (TARGET_SWITCHES): Add "abs", "no-abs", "addx", and "no-addx". | |
4971 | * config/xtensa/xtensa.md (*addx2, *addx4, *addx8, *subx2, *subx4, | |
4972 | *subx8): Set predicate condition to TARGET_ADDX. | |
4973 | (abssi2): Set predicate condition to TARGET_ABS. | |
4974 | * doc/invoke.texi (Option Summary): Document new "-mabs", "-mno-abs", | |
4975 | "-maddx", and "-mno-addx" options. | |
4976 | (Xtensa Options): Likewise. Also tag some opcode names with @code. | |
4977 | ||
5d34c8e9 KR |
4978 | 2003-05-20 Kevin Ryde <user42@zip.com.au> |
4979 | Wolfgang Bangerth <bangerth@dealii.org> | |
4980 | ||
4981 | PR/10355 | |
4982 | * doc/extend.texi: Put a warning into the documentation | |
4983 | of attribute regparm. | |
4984 | ||
1cd69e2b JM |
4985 | 2003-05-20 Jason Merrill <jason@redhat.com> |
4986 | ||
4987 | * tree.c (expr_last): New fn. | |
4988 | * tree.h: Declare it. | |
4989 | * objc/objc-act (expr_last): Rename to objc_expr_last. | |
4990 | ||
a60a9553 R |
4991 | 2003-05-20 J"orn Rennecke <joern.rennecke@superh.com> |
4992 | ||
4993 | * sh.c (sh_register_move_cost): Add clase for moving between | |
4994 | FP registers and MAC registers. | |
4995 | ||
12df72e8 JDA |
4996 | 2003-05-19 John David Anglin <dave.anglin@nrc-gnrc.gc.ca> |
4997 | ||
4998 | * pa/milli64.S ($$mulI): Fix typo. | |
4999 | ||
07b7c979 MK |
5000 | 2003-05-19 Matt Kraai <kraai@alumni.cmu.edu> |
5001 | ||
5002 | * alias.c (nonlocal_mentioned_p, nonlocal_referenced_p) | |
5003 | (nonlocal_set_p): Remove initial blank line. | |
5004 | * dwarf2out.c (simple_type_size_in_bits): Likewise. | |
5005 | * et-forest.c (et_forest_create): Likewise. | |
5006 | * explow.c (stabilize): Likewise. | |
5007 | * fix-header.c (write_lbrac): Likewise. | |
5008 | * graph.c (start_fct, node_data): Likewise. | |
5009 | * jump.c (only_sets_cc0_p, sets_cc0_p): Likewise. | |
5010 | * rtlanal.c (global_reg_mentioned_p): Likewise. | |
5011 | * tree.c (bit_position): Likewise. | |
5012 | ||
fb9fc9f9 AO |
5013 | 2003-05-19 Alexandre Oliva <aoliva@redhat.com> |
5014 | ||
5015 | * config/mips/linux64.h (LIB_SPEC): Add missing -lc and correct | |
5016 | -lthread to -lpthread. | |
5017 | ||
42ad6c9e NB |
5018 | 2003-05-19 Neil Booth <neil@daikokuya.co.uk> |
5019 | ||
5020 | * c-opts.c (c_common_decode_option): Don't accept dollars | |
5021 | as identifier characters in assembly. | |
5022 | * doc/cpp.texi: Document this. | |
5023 | ||
4b6fe6b6 SA |
5024 | 2003-05-19 Seth Arnold <sarnold@wirex.com> |
5025 | Aldy Hernandez <aldyh@redhat.com> | |
5026 | ||
5ded58d0 ZW |
5027 | * config/rs6000/rs6000.c (rs6000_stack_info): Do not add |
5028 | vrsave_size twice. | |
4b6fe6b6 | 5029 | |
ce376beb AH |
5030 | 2003-05-19 Aldy Hernandez <aldyh@redhat.com> |
5031 | ||
5ded58d0 | 5032 | * doc/tm.texi (function_arg): Fix typo. |
ce376beb | 5033 | |
a01fff59 MA |
5034 | 2003-05-19 Matt Austern <austern@apple.com> |
5035 | ||
5036 | * c-opts.c (COMMAND_LINE_OPTIONS): Add -Winvalid-offsetof option. | |
5037 | * c-common.h (warn_invalid_offsetof): Declare. | |
5038 | * c-common.c (warn_invalid_offsetof): Define. | |
5039 | * doc/invoke.texi: Document -Winvalid-offsetof. | |
5040 | * testsuite/g++.dg/other/offsetof3.C: New. | |
5041 | * testsuite/g++.dg/other/offsetof4.C: New. | |
5ded58d0 | 5042 | |
025d9908 | 5043 | 2003-05-19 Kevin B. Hendricks <kevin.hendricks@sympatico.ca> |
5ded58d0 | 5044 | David Edelsohn <edelsohn@gnu.org> |
025d9908 KH |
5045 | |
5046 | * config/rs6000/rs6000.c (rs6000_alignment_string, | |
5047 | rs6000_alignment_flags): New variables. | |
5048 | (rs6000_parse_alignment_option): New function. | |
5049 | (rs6000_override_options): Call it. | |
5050 | * config/rs6000/rs6000.h (TARGET_OPTIONS): Add -malign-XXX option. | |
5051 | (MASK_ALIGN_POWER, MASK_ALIGN_NATURAL, TARGET_ALIGN_NATURAL): New | |
5052 | macros. | |
5053 | * config/rs6000/aix.h (ADJUST_FIELD_ALIGN): Always use COMPUTED | |
5054 | natural alignment if TARGET_NATURAL_ALIGNMENT | |
5055 | (ROUND_TYPE_ALIGN): Always use default record alignment if | |
5056 | TAGET_NATURAL_ALIGNMENT. | |
5057 | * config/rs6000/darwin.h (ADJUST_FIELD_ALIGN): Same | |
5058 | (ROUND_TYPE_ALIGN): Same. | |
5059 | * config/rs6000/linux64.h (ADJUST_FIELD_ALIGN): Same | |
5060 | (ROUND_TYPE_ALIGN): Same. | |
6184e8a4 KH |
5061 | * doc/invoke.texi (Option Summary, PowerPC Options): Document |
5062 | new options. | |
025d9908 | 5063 | |
52a8b7b8 R |
5064 | 2003-05-19 J"orn Rennecke <joern.rennecke@superh.com> |
5065 | ||
5066 | * c-decl.c (finish_decl): When setting the DECL_ASSEMBLER_NAME | |
5067 | of a function using ASMSPEC, prepend a star. | |
5068 | ||
68594ce7 JM |
5069 | 2003-05-19 Jason Merrill <jason@redhat.com> |
5070 | ||
5071 | * tree-inline.c (copy_body_r): Avoid generating &* during inline | |
5072 | substitution. | |
5073 | ||
6208b55d AM |
5074 | 2003-05-19 Andrew Macleod <amacleod@redhat.com> |
5075 | ||
5076 | * config/stormy16/stormy16.c (xstormy16_expand_prologue): Do | |
5077 | not mark assignments to the hard frame pointer as being stack | |
5078 | frame related. | |
5079 | (xstormy16_expand_epilogue): Mark adjustments to the stack | |
5080 | pointer as being stack frame related. | |
5081 | ||
21c9500d RS |
5082 | 2003-05-19 Richard Sandiford <rsandifo@redhat.com> |
5083 | ||
5084 | * config/mips/mips.h (ISA_HAS_LOAD_DELAY, ISA_HAS_XFER_DELAY, | |
5085 | ISA_HAS_FCMP_DELAY, ISA_HAS_HILO_INTERLOCKS): New macros. | |
5086 | (PREDICATE_CODES): Add hilo_operand. | |
5087 | * config/mips/mips.c (hilo_operand): New predicate. | |
5088 | (mips_adjust_insn_length): Account for the number nops that might | |
5089 | be needed to avoid hardware hazards. | |
5090 | * config/mips/mips.md (dslot): Remove attribute. | |
5091 | (hazard): New attribute. | |
5092 | (can_delay): Use it. Check for calls, branches & jumps. | |
5093 | (muldi3): Use the standard dmult pattern for mips16 code. | |
5094 | (muldi3_internal, muldi3_internal2): Adjust conditions accordingly. | |
5095 | ||
f29d1b66 RS |
5096 | 2003-05-19 Richard Sandiford <rsandifo@redhat.com> |
5097 | ||
5098 | * config/mips/mips-protos.h (final_prescan_insn, | |
5099 | mips_count_memory_refs, mips_fill_delay_slot): Remove. | |
5100 | * config/mips/mips.h (delay_type, dslots_load_total, | |
5101 | dslots_load_filled, dslots_jump_total, dslots_jump_filled, | |
5102 | dslots_number_nops, num_refs, mips_load_reg, mips_load_reg2, | |
5103 | mips_load_reg3, mips_load_reg4): Remove. | |
5104 | (MASK_STATS): Remove. | |
5105 | (MASK_EXPLICIT_RELOCS): Reuse its value. | |
5106 | (TARGET_STATS): Remove. | |
5107 | (TARGET_SWITCHES): Turn -mstats and -mno-stats into no-ops. | |
5108 | Warn that -mstats is now ignored. | |
5109 | (FINAL_PRESCAN_INSN): Undefine. | |
5110 | (DBR_OUTPUT_SEQEND): Remove handling of dslot statistics. | |
5111 | (ASM_OUTPUT_REG_POP): Likewise. | |
5112 | * config/mips/mips.c (dslots_load_total, dslots_load_filled, | |
5113 | dslots_jump_total, dslots_jump_filled, dslots_number_nops, num_refs, | |
5114 | mips_load_reg, mips_load_reg2, mips_load_reg3, mips_load_reg4, | |
5115 | mips_fill_delay_slot, mips_count_memory_refs, | |
5116 | final_prescan_insn): Remove. | |
5117 | (output_block_move): Remove calls to mips_count_memory_refs. | |
5118 | (print_operand): Remove printing of #nop for TARGET_STATS. | |
5119 | (mips_output_function_epilogue): Remove TARGET_STATS code. | |
5120 | Reorganize setting of fnnmae. | |
5121 | * config/mips/mips.md: Remove handling of dslot statistics | |
5122 | throughout file. Change all fcmp patterns into normal asm | |
5123 | templates, removing calls to mips_fill_delay_slot. | |
5124 | * doc/invoke.texi: Remove documentation of -mstats. | |
5125 | ||
30a38382 RS |
5126 | 2003-05-19 Richard Sandiford <rsandifo@redhat.com> |
5127 | ||
5128 | * config/mips/mips.c (mips_class_max_nregs): Return the number of | |
5129 | words in the mode. | |
5130 | ||
beb14bd5 RS |
5131 | 2003-05-19 Richard Sandiford <rsandifo@redhat.com> |
5132 | ||
5133 | * config/mips/mips.c (override_options): Disable explicit | |
5134 | relocs for old ABIs unless using gas. | |
5135 | ||
1c745a02 EC |
5136 | 2003-05-18 Eric Christopher <echristo@redhat.com> |
5137 | ||
5138 | * config/mips/mips.h: Remove definition of g_switch_value. | |
5139 | ||
307b599c MK |
5140 | 2003-05-18 Matt Kraai <kraai@alumni.cmu.edu> |
5141 | ||
5142 | * flags.h (g_switch_value): Change to an unsigned | |
5143 | HOST_WIDE_INT. | |
5144 | * toplev.c (g_switch_value): Likewise. | |
5145 | ||
5146 | * config/alpha/alpha.c (small_symbolic_operand): Remove | |
1c745a02 | 5147 | g_switch_value cast. |
307b599c MK |
5148 | (alpha_in_small_data_p): Cast size to an unsigned |
5149 | HOST_WIDE_INT. | |
5150 | ||
5151 | * config/frv/frv.c (frv_in_small_data_p): Cast size to an | |
5152 | unsigned HOST_WIDE_INT. | |
5153 | * config/frv/frv.h (g_switch_value, g_switch_set): Remove. | |
5154 | (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Declare g_switch_set. | |
5155 | ||
5156 | * config/m32r/m32r.c (m32r_in_small_data_p): Cast size to an | |
5157 | unsigned HOST_WIDE_INT. | |
5158 | (m32r_asm_file_start): Use HOST_WIDE_INT_PRINT_UNSIGNED. | |
5159 | * config/m32r/m32r.h (g_switch_value, g_switch_set): Remove. | |
5160 | (ASM_OUTPUT_ALIGNED_COMMON): Declare g_switch_value. | |
5161 | ||
5162 | * config/rs6000/rs6000.c (rs6000_file_start): Use | |
5163 | HOST_WIDE_INT_PRINT_UNSIGNED. | |
5164 | (small_data_operand): Cast summand to unsigned HOST_WIDE_INT. | |
5165 | (rs6000_elf_in_small_data_p): Cast size to unsigned | |
5166 | HOST_WIDE_INT. | |
5167 | * config/rs6000/sysv4.h (g_switch_value, g_switch_set): | |
5168 | Remove. | |
5169 | (SUBTARGET_OVERRIDE_OPTIONS): Declare g_switch_value and | |
5170 | g_switch_set. | |
5171 | (ASM_OUTPUT_ALIGNED_LOCAL): Declare g_switch_value and remove | |
5172 | g_switch_value cast. | |
5173 | ||
731ae8dd RS |
5174 | 2003-05-18 Roger Sayle <roger@eyesopen.com> |
5175 | Zack Weinberg <zack@codesourcery.com> | |
5176 | ||
5177 | PR middle-end/10472 | |
5178 | * builtins.c (expand_builtin_memcpy): Call force_operand on | |
5179 | expressions and use simplify_gen_binary to create the addition. | |
5180 | ||
d1b3178b AS |
5181 | 2003-05-18 Andreas Schwab <schwab@suse.de> |
5182 | ||
5183 | * config/m68k/m68k.md: Use define_constants for unspec numbers. | |
5184 | ||
094a51ff NB |
5185 | 2003-05-18 Neil Booth <neil@daikokuya.co.uk> |
5186 | ||
5187 | * config/sparc/sparc.h: Define sparc for now. | |
7d4f6041 NN |
5188 | 2003-05-18 Nathanael Nerode <neroden@gcc.gnu.org> |
5189 | ||
6a38414a NN |
5190 | * config.gcc: Clear xm_file, md_file at the beginning of each pass. |
5191 | ||
1c745a02 | 5192 | * config/stormy16/stormy16.h: Remove about 3000 lines of |
595cac16 NN |
5193 | target-independent comments. Update copyright notice. |
5194 | ||
7d4f6041 NN |
5195 | * doc/collect2.texi: GNU CC -> GCC. |
5196 | * doc/headerdirs.texi: GNU CC -> GCC. | |
5197 | ||
5e0c54e5 GDR |
5198 | 2003-05-18 Gabriel Dos Reis <gdr@integrable-solutions.net> |
5199 | ||
5200 | * hashtable.h (struct ht_identifier): Add data member "hash_value". | |
1c745a02 | 5201 | * hashtable.c (ht_lookup): Use it when searching, remember. |
5e0c54e5 GDR |
5202 | (ht_expand): Do not recompute. |
5203 | * tree.h (IDENTIFIER_HASH_VALUE): New macro. | |
5204 | ||
dc1f1d7f NS |
5205 | 2003-05-18 Nathan Sidwell <nathan@codesourcery.com> |
5206 | ||
5207 | * gcov-io.c (gcov_read_bytes): Fix fread thinko. | |
5208 | ||
4e2e315f NB |
5209 | 2003-05-18 Neil Booth <neil@daikokuya.co.uk> |
5210 | ||
5211 | * c-cppbuiltin.c (TARGET_OS_CPP_BUILTINS, TARGET_OBJFMT_CPP_BUILTINS): | |
5212 | Default here. | |
5213 | (c_cpp_builtins): Invoke TARGET_OBJFMT_CPP_BUILTINS(). | |
5214 | * defaults.h: Don't default TARGET_OS_CPP_BUILTINS here. | |
5215 | * config/elfos.h (TARGET_OBJFMT_CPP_BUILTINS): Define __ELF__. | |
5216 | * config/freebsd-spec.h, config/netbsd-elf.h, config/alpha/gnu.h, | |
5217 | config/arm/linux-elf.h, config/arm/rtems-elf.h, | |
5218 | config/arm/unknown-elf.h, config/cris/cris.h, config/cris/linux.h, | |
5219 | config/h8300/elf.h, config/i370/linux.h, config/i386/beos-elf.h, | |
5220 | config/i386/gnu.h, config/i386/linux.h, config/i386/linux64.h, | |
5221 | config/i386/moss.h, config/i386/rtemself.h, config/ia64/ia64.h, | |
5222 | config/m68k/rtemself.h, config/mcore/mcore-elf.h, config/mips/linux.h, | |
5223 | config/pa/pa-linux.h, config/rs6000/linux.h, config/rs6000/linux64.h, | |
5224 | config/rs6000/sysv4.h, config/rs6000/vxworks.h, config/s390/linux.h, | |
5225 | config/sh/coff.h, config/sh/elf.h, config/sh/rtemself.h, | |
5226 | config/sh/sh.h, config/sparc/linux.h, config/sparc/linux64.h, | |
5227 | config/sparc/openbsd64.h, config/sparc/sp64-elf.h, | |
5228 | config/sparc/sp86x-elf.h, config/xtensa/elf.h, config/xtensa/linux.h: | |
5229 | Don't define __ELF__. | |
5230 | * config/alpha.h, config/m68k/linux.h (TARGET_OBJFMT_CPP_BUILTINS): | |
5231 | Define __ELF__. | |
5232 | * doc/cpp.texi: Document __ELF__. | |
1c745a02 | 5233 | * doc/tm.texi: Document TARGET_OBJFMT_CPP_BUILTINS. * |
4e2e315f | 5234 | |
e34d07f2 KG |
5235 | 2003-05-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
5236 | ||
5237 | * builtins.c (validate_arglist): Eliminate libiberty VA_ macros, | |
5238 | always use stdarg. | |
5239 | * c-errors.c (pedwarn_c99): Likewise. | |
5240 | * c-format.c (status_warning): Likewise. | |
5241 | * c-semantics.c (build_stmt): Likewise. | |
5242 | * calls.c (emit_library_call, emit_library_call_value): Likewise. | |
5243 | * collect2.c (notice, fatal_perror, fatal, error): Likewise. | |
5244 | * cpperror.c (cpp_error, cpp_error_with_line): Likewise. | |
5245 | * diagnostic.c (build_message_string, output_printf, | |
5246 | output_verbatim, verbatim, inform, warning, pedwarn, error, sorry, | |
5247 | fatal_error, internal_error, warning_with_decl, pedwarn_with_decl, | |
5248 | error_with_decl, fnotice): Likewise. | |
5249 | * dwarf2asm.c (dw2_asm_output_data, dw2_asm_output_delta, | |
5250 | dw2_asm_output_offset, dw2_asm_output_pcrel, dw2_asm_output_addr, | |
5251 | dw2_asm_output_addr_rtx, dw2_asm_output_nstring, | |
5252 | dw2_asm_output_data_uleb128, dw2_asm_output_data_sleb128, | |
5253 | dw2_asm_output_delta_uleb128, dw2_asm_output_delta_sleb128, | |
5254 | dw2_asm_output_encoded_addr_rtx): Likewise. | |
5255 | * emit-rtl.c (gen_rtx, gen_rtvec): Likewise. | |
5256 | * errors.c (warning, error, fatal, internal_error): Likewise. | |
5257 | * final.c (output_operand_lossage, asm_fprintf): Likewise. | |
5258 | * fix-header.c (fatal): Likewise. | |
5259 | * gcc.c (fatal, error, notice): Likewise. | |
5260 | * gcov.c (fnotice): Likewise. | |
5261 | * genattrtab.c (attr_rtx, attr_printf): Likewise. | |
5262 | * gengtype.c (error_at_line, xasprintf, oprintf): Likewise. | |
5263 | * gensupport.c (message_with_line): Likewise. | |
5264 | * mips-tfile.c (fatal, error): Likewise. | |
5265 | * protoize.c (notice): Likewise. | |
5266 | * ra-debug.c (ra_debug_msg): Likewise. | |
5267 | * read-rtl.c (fatal_with_file_and_line): Likewise. | |
5268 | * rtl-error.c (error_for_asm, warning_for_asm): Likewise. | |
5269 | * tree.c (build, build_nt, build_function_type_list): Likewise. | |
5270 | ||
c08f71aa NB |
5271 | 2003-05-17 Neil Booth <neil@daikokuya.co.uk> |
5272 | ||
5273 | * defaults.h (TARGET_CPU_CPP_BUILTINS, CPP_PREDEFINES): Remove. | |
5274 | * gcc.c (cpp_predefines): Remove. | |
5275 | (cpp_unique_options, do_spec_1): Remove handling of CPP_PREDEFINES. | |
5276 | (static_specs): Remove predefines. | |
5277 | * system.h: Poison CPP_PREDEFINES. | |
5278 | * config/freebsd.h, config/openbsd.h, config/ptx4.h, config/svr3.h, | |
5279 | config/svr4.h, doc/tm.texi: Remove references to CPP_PREDEFINES. | |
5280 | ||
a7fbe404 NB |
5281 | 2003-05-17 Neil Booth <neil@daikokuya.co.uk> |
5282 | ||
5283 | * config/m68k/hp320.h, config/m68k/linux.h, config/m68k/m68k-none.h, | |
5284 | config/m68k/m68k.h, config/m68k/m68kemb.h, config/m68k/m68kv4.h, | |
5285 | config/m68k/openbsd.h, config/m68k/rtemself.h: Remove CPP_PREDEFINES, | |
5286 | use TARGET_OS_CPP_BUILTINS and TARGET_CPU_CPP_BUILTINS instead. | |
5287 | ||
b1822ccc NB |
5288 | 2003-05-17 Neil Booth <neil@daikokuya.co.uk> |
5289 | ||
3af15d58 | 5290 | PR c/9209 |
b1822ccc NB |
5291 | * c-common.c, c-common.h (dollars_in_ident): Remove. |
5292 | * c-opts.c (DOLLARS_IN_IDENTIFIERS): Default to true. | |
5293 | (c_common_init_options, c_common_decode_option): Set dollars_in_ident. | |
5294 | * cpphash.h (warned_dollar): Rename warn_dollars. | |
5295 | * cppinit.c (struct lang_flags, lang_defaults, cpp_set_lang) | |
5296 | Permit dollars regardless of -std=. | |
5297 | (post_options): Set warn_dollars. | |
5298 | * cpplex.c (forms_identifier_p): Use warn_dollars. | |
5299 | * config/darwin.h, config/alpha/vms.h, config/m68hc11/m68hc11.h: | |
5300 | Remove redundant definitions of DOLLARS_IN_IDENTIFIERS. | |
5301 | * doc/cpp.texi, doc/cppopts.texi, doc/invoke.texi, doc/tm.texi: | |
5302 | Update documentation. | |
5303 | ||
a69e127b AS |
5304 | 2003-05-17 Andreas Schwab <schwab@suse.de> |
5305 | ||
5306 | * config/m68k/m68k.c (m68k_output_function_prologue): Use | |
5307 | HOST_WIDE_INT_PRINT_DEC for fprintf and %wd for asm_fprintf when | |
5308 | formatting a HOST_WIDE_INT. | |
5309 | (m68k_output_function_epilogue): Likewise. | |
5310 | ||
2aea0b53 ZW |
5311 | 2003-05-17 Zack Weinberg <zack@codesourcery.com> |
5312 | ||
5313 | * doc/install.texi: Remove information about desupported targets. | |
5314 | ||
1a8965c4 AS |
5315 | 2003-05-17 Andreas Schwab <schwab@suse.de> |
5316 | ||
5317 | * config/m68k/coff.h: Remove support for Sun FPA and Sun SKY board. | |
5318 | * config/m68k/linux.h: Likewise. | |
5319 | * config/m68k/m68k-none.h: Likewise. | |
5320 | * config/m68k/netbsd-elf.h: Likewise. | |
5321 | * config/m68k/sgs.h: Likewise. | |
5322 | * config/m68k/m68k.h: Likewise. | |
5323 | * config/m68k/m68k.md: Likewise. | |
5324 | * config/m68k/m68k.c: Likewise. | |
5325 | * doc/md.texi (Machine Constraints): Remove Sun FPA specific | |
5326 | constraints. | |
5327 | * doc/invoke.texi (Option Summary): Remove -mfpa. | |
5328 | (M680x0 Options): Likewise. | |
5329 | ||
2a8fa26c DE |
5330 | 2003-05-17 David Edelsohn <edelsohn@gnu.org> |
5331 | ||
5332 | * rs6000.c (rs6000_function_value): Simplify REAL_TYPE logic. | |
5333 | ||
6508bdd5 NB |
5334 | 2003-05-17 Neil Booth <neil@daikokuya.co.uk> |
5335 | ||
5336 | * config/sol2.h: Add TARGET_SUB_OS_CPP_BUILTINS. | |
5337 | * config/sparc/liteelf.h, config/sparc/openbsd64.h, | |
5338 | config/sparc/rtemself.h, config/sparc/sol2-64.h, | |
5339 | config/sparc/sp64-elf.h, config/sparc/sp86x-elf.h: | |
5340 | Update for use of TARGET_SUB_OS_CPP_BUILTINS. | |
5341 | ||
8d55c164 NB |
5342 | 2003-05-17 Neil Booth <neil@daikokuya.co.uk> |
5343 | ||
5344 | * i960/i960.h, i960/rtems.h: Use TARGET_OS_CPP_BUILTINS and | |
5345 | TARGET_CPU_CPP_BUILTINS in preference to CPP_PREDEFINES. | |
5346 | ||
9b8466f4 NB |
5347 | 2003-05-17 Neil Booth <neil@daikokuya.co.uk> |
5348 | ||
5349 | * config.gcc (sparc-*-sysv4*): Add sparc/sysv4-only.h. | |
5350 | * sparc/aout.h, sparc/elf.h, sparc/freebsd.h, sparc/linux.h, | |
5351 | sparc/linux64.h, sparc/lite.h, sparc/litecoff.h, sparc/liteelf.h, | |
5352 | sparc/netbsd-elf.h, sparc/openbsd.h, sparc/openbsd64.h, | |
5353 | sparc/pbd.h, sparc/rtemself.h, sparc/sol2-64.h, sparc/sol2-bi.h, | |
5354 | sparc/sol2.h, sparc/sp64-elf.h, sparc/sp86-elf.h, sparc/sparc.h, | |
5355 | sparc/sysv4.h, | |
5356 | * sparc/sysv4-only.h: New. | |
5357 | ||
5c07bd7a AM |
5358 | 2003-05-17 Alan Modra <amodra@bigpond.net.au> |
5359 | ||
5360 | * function.c (assign_parms): Check for zero size args. | |
5361 | ||
7e53359d KG |
5362 | 2003-05-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
5363 | ||
90ff44cf KG |
5364 | * cfgloopanal.c (test_for_iteration): Use string concatentation on |
5365 | HOST_WIDE_INT_PRINT_* format specifier to collapse multiple | |
5366 | function calls into one. | |
5367 | * dbxout.c (dbxout_symbol): Likewise. | |
5368 | * defaults.h (ASM_OUTPUT_SIZE_DIRECTIVE): Likewise. | |
5369 | * dwarf2asm.c (dw2_asm_output_data_uleb128, | |
5370 | dw2_asm_output_data_sleb128): Likewise. | |
5371 | * genrecog.c (debug_decision_2): Likewise. | |
5372 | * loop.c (emit_prefetch_instructions): Likewise. | |
5373 | * print-rtl.c (print_rtx): Likewise. | |
5374 | * print-tree.c (print_node_brief, print_node): Likewise. | |
5375 | * ra-debug.c (dump_igraph, dump_graph_cost, | |
5376 | dump_static_insn_cost): Likewise. | |
5377 | * ra-rewrite.c (dump_cost): Likewise. | |
5378 | * sdbout.c (PUT_SDB_INT_VAL, PUT_SDB_SIZE): Likewise. | |
5379 | * sreal.c (dump_sreal): Likewise. | |
5380 | * unroll.c (unroll_loop, precondition_loop_p): Likewise. | |
5381 | * varasm.c (assemble_vtable_entry): Likewise. | |
5382 | ||
7e53359d KG |
5383 | * avr.c (avr_output_function_prologue, |
5384 | avr_output_function_epilogue, print_operand): Fix format specifier | |
5385 | warnings. | |
5386 | (init_cumulative_args): Mark parameter with ATTRIBUTE_UNUSED. | |
5387 | * avr.h (FUNCTION_VALUE_REGNO_P): Fix signed/unsigned warnings. | |
5388 | ||
79406520 GK |
5389 | 2003-05-16 Geoffrey Keating <geoffk@apple.com> |
5390 | ||
cabfd258 GK |
5391 | * config/rs6000/rs6000.c (expand_block_move): Unify the TARGET_STRING |
5392 | and ! TARGET_STRING cases. | |
5393 | ||
79406520 GK |
5394 | * doc/cppopts.texi (-undef): Fix texinfo warning. |
5395 | ||
5396 | * doc/cppopts.texi (-H): Document that -H works for PCH files too. | |
5397 | * cppfiles.c (validate_pch): When -H is used, print some information | |
5398 | about PCH files found. | |
5399 | ||
190162de RK |
5400 | 2003-05-16 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
5401 | ||
5402 | * config/mips/t-elf: Remove obsolete rules adding dependencies on tm.h. | |
5403 | * config/mips/t-isa3264, config/mips/t-r3900: Likewise. | |
5404 | * config/mips/t-sr71k: Likewise. | |
5405 | ||
69487202 KG |
5406 | 2003-05-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
5407 | ||
15a5dddc KG |
5408 | * arc.c (arc_output_function_prologue, |
5409 | arc_output_function_epilogue): Fix format specifier warnings. | |
2aea0b53 | 5410 | * arc.h (LARGE_INT): Fix signed/unsigned warnings. |
15a5dddc | 5411 | |
e0b3adcb KG |
5412 | * v850.c (print_operand): Fix format specifier warnings. |
5413 | ||
8745765a | 5414 | * ns32k.c (ADJSP, ns32k_output_function_prologue): Fix format |
2aea0b53 | 5415 | specifier warnings. |
8745765a | 5416 | |
fd7b8952 KG |
5417 | * mcore.c (mcore_print_operand_address, mcore_print_operand): Fix |
5418 | format specifier warnings. | |
5419 | ||
f5a1c99c KG |
5420 | * ip2k.c (function_prologue, function_epilogue, print_operand): |
5421 | Fix format specifier warnings. | |
5422 | * ip2k.md: Likewise. | |
5423 | ||
0c6b830b KG |
5424 | * i960.c (i960_output_function_prologue, i960_print_operand, |
5425 | i960_print_operand_addr): Fix format specifier warnings. | |
5426 | ||
94c5db54 KG |
5427 | * i370.c (ascebc, ebcasc): Wrap in macros controlling usage. |
5428 | (i370_output_function_prologue): Fix format specifier warnings. | |
5429 | * i370.h (PRINT_OPERAND): Likewise. | |
5430 | ||
1bdfacf6 KG |
5431 | * fr30.c (fr30_print_operand): Fix format specifier warnings. |
5432 | ||
5f1ed3b2 KG |
5433 | * dsp16xx.c (print_operand_address): Fix format specifier warning. |
5434 | * dsp16xx.h (INCLUDE_DEFAULTS): Add missing initializers. | |
5435 | ||
13a8b496 KG |
5436 | * c4x.c (c4x_print_operand, c4x_print_operand_address): Fix format |
5437 | specifier warnings. | |
5438 | ||
4a0a75dd KG |
5439 | * alpha.c (print_operand_address, alpha_start_function, |
5440 | unicosmk_output_ssib): Use string concatentation on | |
5441 | HOST_WIDE_INT_PRINT_* format specifier to collapse multiple | |
5442 | function calls into one. | |
5443 | * arm.c (arm_print_operand): Likewise. | |
5444 | * cris.c (cris_asm_output_mi_thunk): Likewise. | |
5445 | * frv.c (frv_asm_output_mi_thunk): Likewise. | |
5446 | * ia64.c (ia64_print_operand, process_set): Likewise. | |
5447 | * m68k.c (m68k_output_function_epilogue, m68k_output_mi_thunk): | |
5448 | Likewise. | |
5449 | * mips/iris5gas.h (PUT_SDB_SIZE): Likewise. | |
5450 | * mips.h (PUT_SDB_INT_VAL, PUT_SDB_SIZE): Likewise. | |
5451 | * pa.c (output_div_insn, pa_asm_output_mi_thunk): Likewise. | |
5452 | * pa.h (PRINT_OPERAND_ADDRESS): Likewise. | |
5453 | * rs6000.c (rs6000_va_start, print_operand_address): Likewise. | |
5454 | * s390.c (s390_assemble_integer): Likewise. | |
5455 | * sparc.c (sparc_flat_function_prologue, | |
2aea0b53 | 5456 | sparc_flat_function_epilogue): Likewise. |
4a0a75dd KG |
5457 | * stormy16.c (xstormy16_print_operand_address, xstormy16_print_operand): Likewise. |
5458 | * vax.c (vax_output_mi_thunk): Likewise. | |
5459 | ||
6f562bc6 KG |
5460 | * frv.c (frv_print_operand_memory_reference): Fix format specifier |
5461 | warning. | |
5462 | (frv_rtx_costs): Mark parameter with ATTRIBUTE_UNUSED. | |
5463 | ||
c8f4b20f KG |
5464 | * m68k.c (m68k_output_function_epilogue): Fix format specifier |
5465 | warnings. | |
5466 | ||
804a0655 KG |
5467 | * stormy16-protos.h (xs_hi_general_operand, |
5468 | xs_hi_nonmemory_operand): Prototype. | |
5469 | * stormy16.c (xstormy16_output_shift): Fix format specifier | |
5470 | warnings. | |
5471 | ||
69487202 KG |
5472 | * cris.c: Fix format specifier warnings. |
5473 | ||
ba2f4247 NC |
5474 | 2003-05-16 Nick Clifton <nickc@redhat.com> |
5475 | ||
5476 | * config/arm/lib1funcs.asm: Fix typo: LSM instead of LSYM. | |
5477 | ||
674e9baa WB |
5478 | 2003-05-16 Wolfgang Bangerth <bangerth@dealii.org> |
5479 | ||
5480 | * doc/bugreport.texi: Remove most of the of the preface of the | |
5481 | bugs section. | |
5482 | ||
b80c0987 JJ |
5483 | 2003-05-16 Jakub Jelinek <jakub@redhat.com> |
5484 | ||
5485 | * config/ia64/unwind-ia64.c (uw_update_reg_address): Handle | |
5486 | .save XX, r0. | |
5487 | ||
ad14dc5c RS |
5488 | 2003-05-15 Roger Sayle <roger@eyesopen.com> |
5489 | ||
5490 | * config/alpha/alpha.h (ASM_OUTPUT_SKIP): Fix typo. | |
5491 | ||
10d6c0d0 EC |
5492 | 2003-05-15 Eric Christopher <echristo@redhat.com> |
5493 | ||
5494 | * cfgcleanup.c (merge_blocks): Fix return value. | |
5495 | ||
3dcd7d45 EC |
5496 | 2003-05-15 Eric Christopher <echristo@redhat.com> |
5497 | ||
2aea0b53 ZW |
5498 | * combine.c (expand_compound_operation): Make sure |
5499 | that zero_extend operation is profitable. | |
3dcd7d45 | 5500 | |
36b9c271 RH |
5501 | 2003-05-15 Richard Henderson <rth@redhat.com> |
5502 | ||
5503 | * config/alpha/linux.h, config/alpha/linux-elf.h: Remove | |
5504 | code protected by USE_GNULIBC_1. | |
5505 | ||
7c942e17 ZW |
5506 | 2003-05-15 Zack Weinberg <zack@codesourcery.com> |
5507 | ||
5508 | * config.gcc: Purge all targets obsoleted in GCC 3.3. Also | |
5509 | remove hppa*-*-mpeix* which could not be built, and prune | |
5510 | files from tmake_file= or tm_file= lists that don't exist. | |
5511 | ||
5512 | * config/alpha/alpha-interix.h, config/alpha/alpha32.h | |
5513 | * config/alpha/t-interix, config/arm/conix-elf.h | |
5514 | * config/arm/t-arm-aout, config/arm/t-strongarm-coff | |
5515 | * config/arm/unknown-elf-oabi.h, config/i386/win32.h | |
5516 | * config/m68k/3b1.h, config/m68k/3b1g.h, config/m68k/amix.h | |
5517 | * config/m68k/atari.h, config/m68k/ccur-GAS.h, config/m68k/crds.h | |
5518 | * config/m68k/hp2bsd.h, config/m68k/hp3bsd.h | |
5519 | * config/m68k/hp3bsd44.h, config/m68k/linux-aout.h | |
5520 | * config/m68k/m68k-psos.h, config/m68k/mot3300.h | |
5521 | * config/m68k/pbb.h, config/m68k/plexus.h, config/m68k/sun2.h | |
5522 | * config/m68k/sun2o4.h, config/m68k/sun3.h, config/m68k/sun3mach.h | |
5523 | * config/m68k/sun3n.h, config/m68k/sun3n3.h, config/m68k/sun3o3.h | |
5524 | * config/m68k/t-mot3300, config/m68k/t-mot3300-gald | |
5525 | * config/m68k/t-mot3300-gas, config/m68k/t-mot3300-gld | |
5526 | * config/m68k/tower-as.h, config/m68k/tower.h | |
5527 | * config/m88k/aout-dbx.h, config/m88k/m88k-aout.h | |
5528 | * config/m88k/m88k-modes.def, config/m88k/m88k-move.sh | |
5529 | * config/m88k/m88k-protos.h, config/m88k/m88k.c | |
5530 | * config/m88k/m88k.h, config/m88k/m88k.md, config/m88k/openbsd.h | |
5531 | * config/m88k/sysv4.h, config/m88k/t-luna, config/m88k/t-luna-gas | |
5532 | * config/m88k/t-m88k, config/m88k/t-sysv4, config/mcore/gfloat.h | |
5533 | * config/mips/rtems64.h, config/mips/sni-gas.h | |
5534 | * config/mips/sni-svr4.h, config/mips/t-ecoff | |
5535 | * config/mn10200/lib1funcs.asm, config/mn10200/mn10200-protos.h | |
5536 | * config/mn10200/mn10200.c, config/mn10200/mn10200.h | |
5537 | * config/mn10200/mn10200.md, config/mn10200/t-mn10200 | |
5538 | * config/pa/pa-hiux.h, config/pa/pa-hpux7.h, config/pa/pa-hpux9.h | |
5539 | * config/pa/pa-oldas.h, config/pa/t-mpeix, config/psos.h | |
5540 | * config/romp/romp-protos.h, config/romp/romp.c | |
5541 | * config/romp/romp.h, config/romp/romp.md, config/rs6000/aix31.h | |
5542 | * config/rs6000/aix3newas.h, config/rs6000/mach.h | |
5543 | * config/sparc/bsd.h, config/sparc/hal.h | |
5544 | * config/sparc/linux-aout.h, config/sparc/lynx-ng.h | |
5545 | * config/sparc/lynx.h, config/sparc/netbsd.h | |
5546 | * config/sparc/sp86x-aout.h, config/sparc/splet.h | |
5547 | * config/sparc/sun4gas.h, config/sparc/sun4o3.h | |
5548 | * config/sparc/sunos4.h, config/sparc/t-chorus-elf | |
5549 | * config/sparc/t-halos, config/sparc/t-sparcbare | |
5550 | * config/sparc/t-splet, config/sparc/t-sunos41 | |
5551 | * config/v850/rtems.h: Delete file. | |
5552 | ||
a6ebc39a AH |
5553 | 2003-05-15 Aldy Hernandez <aldyh@redhat.com> |
5554 | ||
7c942e17 | 5555 | * config/rs6000/rs6000-protos.h (function_value): Protoize. |
a6ebc39a | 5556 | |
7c942e17 | 5557 | * config/rs6000/rs6000.h (FUNCTION_VALUE): Call function. |
a6ebc39a | 5558 | |
7c942e17 | 5559 | * config/rs6000/rs6000.c (rs6000_function_value): New. |
a6ebc39a | 5560 | |
4b3c2e48 PB |
5561 | 2003-05-15 Philip Blundell <philb@gnu.org> |
5562 | ||
5563 | * config/arm/arm.c (arm_is_xscale): Rename to arm_arch_xscale. | |
5564 | All uses updated. | |
5565 | (arm_tune_xscale): New variable. | |
5566 | (arm_override_options): Set it. | |
5567 | (arm_adjust_cost): Use it in place of arm_arch_xscale. | |
5568 | (arm_gen_load_multiple): Likewise. | |
5569 | (arm_gen_store_multiple): Likewise. | |
5570 | * config/arm/arm.md (is_xscale): Likewise. | |
5571 | * config/arm/arm.h (arm_tune_xscale): Declare. | |
5572 | ||
c75a3ddc PB |
5573 | 2003-05-15 Philip Blundell <philb@gnu.org> |
5574 | ||
5575 | PR target/10730 | |
5576 | * config/arm/arm.c (adjacent_mem_locations): Reject offsets | |
5577 | involving invalid constants. | |
5578 | ||
411f7850 JDA |
5579 | 2003-05-15 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
5580 | ||
5581 | * pa.c (hppa_expand_prologue): Remove blockage. | |
5582 | ||
486772b1 WB |
5583 | 2003-05-15 Wolfgang Bangerth <bangerth@dealii.org> |
5584 | ||
5585 | * doc/bugreport.texi: Remove most of the bug reporting | |
5586 | instructions and merge them into bugs.html. | |
5587 | ||
c1fefa09 MK |
5588 | 2003-05-14 Matt Kraai <kraai@alumni.cmu.edu> |
5589 | ||
5590 | * config/rs6000/sysv4.h (ASM_OUTPUT_ALIGNED_LOCAL): Cast | |
5591 | g_switch_value to unsigned HOST_WIDE_INT. | |
5592 | ||
72531479 EC |
5593 | 2003-05-14 Eric Christopher <echristo@redhat.com> |
5594 | ||
5595 | * combine.c: Fix header comments. | |
5596 | (distribute_notes): Remove usage of elim_i1, elim_i2. Propagate | |
5597 | to all calls and prototype. | |
5598 | ||
e43736ad RS |
5599 | 2003-05-14 Roger Sayle <roger@eyesopen.com> |
5600 | ||
5601 | PR optimization/10764 | |
72531479 | 5602 | * config/i386/i386.md (atan2df3, atan2sf3, atan2xf3, atan2tf3): |
e43736ad RS |
5603 | Add an explicit clobber to show that UNSPEC_FPATAN clobbers st(1). |
5604 | (*fyl2x_sfxf3, *fyl2x_dfxf3, *fyl2x_xf3, *fyl2x_tfxf3): Likewise, | |
5605 | add an explicit clobber to show that UNSPEC_FYL2X clobbers st(1). | |
5606 | (logsf2, logdf2, logxf2, logtf2): Update expander patterns to match | |
5607 | the corresponding *fyl2x_?fxf3 instructions. | |
5608 | ||
49e57ab0 BW |
5609 | 2003-05-14 Bob Wilson <bob.wilson@acm.org> |
5610 | ||
5611 | * config/xtensa/lib2funcs.S (TRAMPOLINE_SIZE): Change from 49 to 59. | |
5612 | * config/xtensa/xtensa-config.h (XCHAL_HAVE_CONST16, | |
5613 | XCHAL_HAVE_L32R): New. | |
5614 | * config/xtensa/xtensa-protos.h (non_const_move_operand, | |
5615 | xtensa_load_constant, xtensa_function_prologue, | |
5616 | xtensa_function_epilogue): Delete prototypes. | |
5617 | (xtensa_expand_prologue): New. | |
5618 | * config/xtensa/xtensa.c (frame_size_const, | |
5619 | TARGET_ASM_FUNCTION_PROLOGUE, TARGET_MACHINE_DEPENDENT_REORG, | |
5620 | non_const_move_operand, xtensa_load_constant, xtensa_reorg, | |
5621 | xtensa_function_prologue): Delete. | |
5622 | (add_operand, xtensa_mem_offset): Formatting. | |
5623 | (move_operand): If the const16 option is available, allow any SFmode | |
5624 | and SImode constants. | |
5625 | (xtensa_emit_move_sequence): Inline the former contents of | |
5626 | xtensa_load_constant with modifications to handle the const16 option. | |
5627 | (override_options): Add xtensa_char_to_class['W'] and set it to | |
5628 | the general register class only if the const16 option is enabled. | |
5629 | Fix formatting. Disallow PIC when using the const16 option. | |
5630 | (print_operand): Reorganize to switch on "letter" instead of the | |
5631 | RTL code. Add output_operand_lossage calls for invalid cases. | |
5632 | Add support for 't' and 'b' letters. | |
5633 | (xtensa_expand_prologue): New function to replace | |
5634 | xtensa_function_prologue and xtensa_reorg. | |
5635 | (xtensa_function_epilogue): Declare this as static. Delete code | |
5636 | to print the retw.n or retw instruction. | |
5637 | (xtensa_return_addr): Use A0_REG instead of 0. | |
5638 | (xtensa_rtx_costs): Add costs for using the const16 option. | |
5639 | * config/xtensa/xtensa.h (MASK_CONST16, TARGET_CONST16): New. | |
5640 | (TARGET_DEFAULT): Add CONST16 if L32R instructions not available. | |
5641 | (TARGET_SWITCHES): Add "const16" and "no-const16". | |
5642 | (REG_CLASS_FROM_LETTER): Add comment about new 'W' letter. | |
5643 | (EXTRA_CONSTRAINT): Change 'T' constraint to only apply when not | |
5644 | using the const16 option. | |
5645 | (TRAMPOLINE_TEMPLATE): Rewrite to avoid hardwired use of l32r insn. | |
5646 | (TRAMPOLINE_SIZE): Change from 49 to 59. | |
5647 | (INITIALIZE_TRAMPOLINE): Adjust offsets to match new trampoline. | |
5648 | (GO_IF_LEGITIMATE_ADDRESS): Do not allow constant pool addresses | |
5649 | when using the const16 option. | |
5650 | (PREDICATE_CODES): Delete non_const_move_operand. | |
5651 | * config/xtensa/xtensa.md (define_constants): Add A1_REG, A8_REG, and | |
5652 | UNSPECV_ENTRY. | |
5653 | (movdi, movdf): If the source is a constant, always expand to a | |
5654 | sequence of movsi insns. | |
5655 | (movdi_internal, movdf_internal): Remove alternative using l32r insns. | |
5656 | (movsi_internal, movsf_internal): Add alternative using const16 insns. | |
5657 | (movsf): Add const16 support. | |
5658 | (entry, prologue, epilogue): New. | |
5659 | (set_frame_ptr): Add missing mode for unspec_volatile operation. | |
5660 | Likewise for subsequent split pattern. | |
5661 | * doc/invoke.texi (Option Summary, Xtensa Options): Document new | |
5662 | "-mconst16" and "-mno-const16" options. | |
5663 | ||
ae49d6e5 RH |
5664 | 2003-05-14 Richard Henderson <rth@redhat.com> |
5665 | ||
5666 | * config/ia64/ia64.c (ia64_expand_load_address): Force destination | |
5667 | to be DImode register. Merge load_symptr. | |
5668 | * config/ia64/ia64.md (load_symptr): Remove. | |
5669 | ||
2adb9af1 RH |
5670 | 2003-05-14 Richard Henderson <rth@redhat.com> |
5671 | ||
5672 | * rtl.h (TREE_CONSTANT_POOL_ADDRESS_P): Rename from | |
5673 | DEFERRED_CONSTANT_P. | |
5674 | * integrate.c (copy_rtx_and_substitute): Update use. | |
5675 | * varasm.c (build_constant_desc): Set SYMBOL_REF_DECL | |
5676 | to the copy generated. | |
5677 | (maybe_output_constant_def_contents): Examine TREE_ASM_WRITTEN | |
5678 | of the constant to see if we should emit. | |
5679 | (mark_constant): Similarly. | |
5680 | (output_constant_def_contents): Set TREE_ASM_WRITTEN. | |
5681 | ||
bb84cb12 DE |
5682 | 2003-05-14 David Edelsohn <edelsohn@gnu.org> |
5683 | ||
5684 | * config/rs6000/rs6000.md (movsi_internal2): Use compare for self | |
5685 | move record condition. | |
5686 | (movdi_internal2): Same. | |
5687 | ||
3ec6c6ee NS |
5688 | 2003-05-14 Nathan Sidwell <nathan@codesourcery.com> |
5689 | ||
7d63a2fa NS |
5690 | * gcov-io.h (gcov_write_bytes, gcov_read_bytes): Remove here. |
5691 | (GCOV_TAG_*) Force type to gcov_unsigned_t. | |
5692 | (GCOV_CHECK, GCOV_CHECK_READING, GCOV_CHECK_WRITING): New. | |
5693 | (struct gcov_var): Remove modified. Add start, length, offset, | |
5694 | overread. Have buffer array for libgcov. | |
5695 | (gcov_sync, gcov_seek): Definitions moved to gcov-io.c. | |
5696 | (gcov_position, gcov_rewrite, gcov_is_eof): Adjust. | |
5697 | * gcov-io.c (gcov_open): Set mode, do not read anything. | |
5698 | (gcov_close): Write final block. | |
5699 | (gcov_write_block, gcov_allocate): New. | |
5700 | (gcov_write_bytes): Make static. Write or allocate buffer. | |
5701 | (gcov_write_unsigned, gcov_write_counter): Buffer can never be | |
5702 | null. | |
5703 | (gcov_write_string): Adjust. | |
5704 | (gcov_write_tag) | |
5705 | (gcov_write_length): Adjust. Flush the block. | |
5706 | (gcov_write_tag_length): Buffer can never be null. | |
5707 | (gcov_read_bytes): Make static. Read in block. | |
5708 | (gcov_sync): Moved here. Adjust. | |
5709 | (gcov_seek): Moved here. Adjust. | |
5710 | * coverage.c (read_counts_file): Adjust. | |
5711 | * gcov-dump.c (print_prefix): Add position parameter. | |
5712 | (flag_dump_positions): New flag. | |
5713 | (options, main, print_usage): Add it. | |
5714 | (dump_file, tag_blocks, tag_arcs, tag_lines, tag_counters, | |
5715 | tag_summary): Adjust. | |
5716 | * gcov.c (read_graph_file, read_count_file): Adjust. | |
5717 | * libgcov.c (gcov_exit): Adjust. | |
5718 | ||
990f4800 NS |
5719 | * Makefile.in (LIBGCC_DEPS): Use $(srcdir) on gcov files |
5720 | (libgcov.a): Depend on libgcc.a. | |
5721 | (gcov.o, gcov-dump.o): Add gcov-io.c. | |
5722 | * mklibgcc.in (libgcov_c_dep): Use $(srcdir). | |
72531479 | 5723 | |
3ec6c6ee NS |
5724 | * loop.c (check_dbra_loop): Factor common test. |
5725 | ||
c62347f0 BE |
5726 | 2003-05-14 Ben Elliston <bje@wasabisystems.com> |
5727 | ||
5728 | * doc/md.texi (Automaton pipeline description): Grammar fixes. | |
5729 | ||
18dbd950 RS |
5730 | 2003-05-14 Richard Sandiford <rsandifo@redhat.com> |
5731 | ||
5732 | * target-def.h (TARGET_MACHINE_DEPENDENT_REORG): Define. | |
5733 | (TARGET_INITIALIZER): Include it. | |
5734 | * target.h (struct gcc_target): Add machine_dependent_reorg field. | |
5735 | * toplev.c (rest_of_compilation): Use targetm.machine_dependent_reorg. | |
2f9bb7c5 | 5736 | * system.h: Poison MACHINE_DEPENDENT_REORG. |
18dbd950 RS |
5737 | |
5738 | * config/alpha/alpha-protos.h (alpha_reorg): Remove declaration. | |
5739 | * config/alpha/alpha.h (MACHINE_DEPENDENT_REORG): Remove. | |
5740 | * config/alpha/alpha.c (TARGET_MACHINE_DEPENDENT_REORG): Define. | |
5741 | (alpha_handle_trap_shadows): Remove "first insn" parameter. | |
5742 | (alpha_align_insns): Likewise. | |
5743 | (alpha_reorg): Likewise. Make static. Update calls to above | |
5744 | functions. | |
5745 | ||
5746 | * config/arm/arm-protos.h (arm_reorg): Remove declaration. | |
5747 | * config/arm/arm.h (MACHINE_DEPENDENT_REORG): Remove. | |
5748 | * config/arm/arm.c (TARGET_MACHINE_DEPENDENT_REORG): Define. | |
5749 | (arm_reorg): Remove parameter. Make static. | |
5750 | ||
5751 | * config/avr/avr-protos.h (machine_dependent_reorg): Remove. | |
5752 | * config/avr/avr.h (MACHINE_DEPENDENT_REORG): Remove. | |
5753 | * config/avr/avr.c (TARGET_MACHINE_DEPENDENT_REORG): Define. | |
5754 | (avr_reorg): Renamed from machine_dependent_reorg. Make static. | |
5755 | Remove parameter. | |
5756 | ||
5757 | * config/c4x/c4x-protos.h (c4x_process_after_reload): Remove. | |
5758 | * config/c4x/c4x.h (MACHINE_DEPENDENT_REORG): Remove. | |
5759 | * config/c4x/c4x.c (TARGET_MACHINE_DEPENDENT_REORG): Define. | |
5760 | (c4x_reorg): Renamed from c4x_process_after_reload. Make static. | |
5761 | Remove parameter. | |
5762 | ||
5763 | * config/d30v/d30v-protos.h (d30v_machine_dependent_reorg): Remove. | |
5764 | * config/d30v/d30v.h (MACHINE_DEPENDENT_REORG): Remove. | |
5765 | * config/d30v/d30v.c (d30v_machine_dependent_reorg): Remove. | |
5766 | ||
5767 | * config/frv/frv-protos.h (frv_machine_dependent_reorg): Remove. | |
5768 | * config/frv/frv.c: Remove orphaned comment. | |
5769 | ||
5770 | * config/i386/i386-protos.h (x86_machine_dependent_reorg): Remove. | |
5771 | * config/i386/i386.h (MACHINE_DEPENDENT_REORG): Remove. | |
5772 | * config/i386/i386.c (TARGET_MACHINE_DEPENDENT_REORG): Define. | |
5773 | (ix86_reorg): Renamed from x86_machine_dependent_reorg. Make static. | |
5774 | Remove parameter. | |
5775 | ||
5776 | * config/ia64/ia64-protos.h (ia64_reorg): Remove declaration. | |
5777 | * config/ia64/ia64.h (MACHINE_DEPENDENT_REORG): Remove. | |
5778 | * config/ia64/ia64.c (TARGET_MACHINE_DEPENDENT_REORG): Define. | |
5779 | (emit_insn_group_barriers): Remove "first insn" parameter. | |
5780 | (emit_all_insn_group_barriers): Likewise. | |
5781 | (ia64_reorg): Likewise. Make static. Update calls to above functions. | |
5782 | (ia64_output_mi_thunk): Update call to emit_all_insn_group_barriers. | |
5783 | ||
5784 | * config/ip2k/ip2k-protos.h (machine_dependent_reorg): Remove. | |
5785 | * config/ip2k/ip2k.h (MACHINE_DEPENDENT_REORG): Remove. | |
5786 | * config/ip2k/ip2k.c (TARGET_MACHINE_DEPENDENT_REORG): Define. | |
5787 | (ip2k_reorg): Renamed from machine_dependent_reorg. Make static. | |
5788 | Remove parameter. | |
5789 | ||
5790 | * config/m68hc11/m68hc11-protos.h (m68hc11_reorg): Remove declaration. | |
5791 | * config/m68hc11/m68hc11.h (MACHINE_DEPENDENT_REORG): Remove. | |
5792 | * config/m68hc11/m68hc11.c (TARGET_MACHINE_DEPENDENT_REORG): Define. | |
5793 | (m68hc11_reorg): Make static. Remove parameter. | |
5794 | ||
5795 | * config/mcore/mcore-protos.h (mcore_dependent_reorg): Remove. | |
5796 | * config/mcore/mcore.h (MACHINE_DEPENDENT_REORG): Remove. | |
5797 | * config/mcore/mcore.c (TARGET_MACHINE_DEPENDENT_REORG): Define. | |
5798 | (conditionalize_optimization): Remove parameter. | |
5799 | (mcore_reorg): Renamed from mcore_dependent_reorg. Remove parameter. | |
5800 | Make static. Update call to conditionalize_optimization. | |
5801 | ||
5802 | * config/mips/mips-protos.h (machine_dependent_reorg): Remove. | |
5803 | * config/mips/mips.h (MACHINE_DEPENDENT_REORG): Remove. | |
5804 | * config/mips/mips.c (TARGET_MACHINE_DEPENDENT_REORG): Define. | |
5805 | (mips_reorg): Renamed from machine_dependent_reorg. Remove parameter. | |
5806 | Make static. | |
5807 | ||
5808 | * config/mmix/mmix-protos.h (mmix_machine_dependent_reorg): Remove. | |
5809 | * config/mmix/mmix.h (MACHINE_DEPENDENT_REORG): Remove. | |
5810 | * config/mmix/mmix.c (TARGET_MACHINE_DEPENDENT_REORG): Define. | |
5811 | (mmix_reorg): Renamed from mmix_machine_dependent_reorg. Make static. | |
5812 | Remove parameter. | |
5813 | ||
5814 | * config/pa/pa-protos.h (pa_reorg): Remove declaration. | |
5815 | * config/pa/pa.h (MACHINE_DEPENDENT_REORG): Remove. | |
5816 | * config/pa/pa.c (TARGET_MACHINE_DEPENDENT_REORG): Define. | |
5817 | (pa_combine_instructions): Remove "first insn" parameter. | |
5818 | (remove_useless_addtr_insns): Likewise. | |
5819 | (pa_reorg): Likewise. Make static. Update calls to above functions. | |
5820 | ||
5821 | * config/rs6000/rs6000.h (MACHINE_DEPENDENT_REORG): Remove | |
5822 | commented-out definition. | |
5823 | ||
5824 | * config/s390/s390-protos.h (s390_machine_dependent_reorg): Remove. | |
5825 | * config/s390/s390.h (MACHINE_DEPENDENT_REORG): Remove. | |
5826 | * config/s390/s390.c (TARGET_MACHINE_DEPENDENT_REORG): Define. | |
5827 | (s390_reorg): Renamed from s390_machine_dependent_reorg. Make static. | |
5828 | Remove parameter. | |
5829 | ||
5830 | * config/sh/sh-protos.h (machine_dependent_reorg): Remove. | |
5831 | * config/sh/sh.h (MACHINE_DEPENDENT_REORG): Remove. | |
5832 | * config/sh/sh.c (TARGET_MACHINE_DEPENDENT_REORG): Define. | |
5833 | (sh_reorg): Renamed from machine_dependent_reorg. Make static. | |
5834 | Remove parameter. | |
5835 | (sh_output_mi_thunk): Call sh_reorg directly. | |
5836 | * config/sh/sh.md: Update comment. | |
5837 | ||
5838 | * config/stormy16/stormy16.h (MACHINE_DEPENDENT_REORG): Remove | |
5839 | commented-out definition. | |
5840 | ||
5841 | * config/v850/v850-protos.h (v850_reorg): Remove declaration. | |
5842 | * config/v850/v850.h (MACHINE_DEPENDENT_REORG): Remove. | |
5843 | * config/v850/v850.c (TARGET_MACHINE_DEPENDENT_REORG): Define. | |
5844 | (v850_reorg): Make static. Remove parameter. | |
5845 | ||
5846 | * config/xtensa/xtensa-protos.h (xtensa_reorg): Remove declaration. | |
5847 | * config/xtensa/xtensa.h (MACHINE_DEPENDENT_REORG): Remove. | |
5848 | * config/xtensa/xtensa.c (TARGET_MACHINE_DEPENDENT_REORG): Define. | |
5849 | (xtensa_reorg): Make static. Remove parameter. | |
5850 | ||
5851 | * doc/tm.texi (MACHINE_DEPENDENT_REORG): Remove. | |
5852 | (TARGET_MACHINE_DEPENDENT_REORG): Document. | |
5853 | ||
2306d91c RH |
5854 | 2003-05-13 Richard Henderson <rth@redhat.com> |
5855 | ||
5856 | * c-decl.c (duplicate_decls): Re-invoke make_decl_rtl if | |
5857 | the old decl had instantiated DECL_RTL. | |
5858 | ||
c2d635bc MS |
5859 | 2003-05-13 Mike Stump <mrs@apple.com> |
5860 | ||
5861 | * doc/invoke.texi (Option Summary): Kill off documentation for -$. | |
5862 | ||
7aabff18 JJ |
5863 | 2003-05-13 Janis Johnson <janis187@us.ibm.com> |
5864 | ||
5865 | * config/rs6000/sysv4.h (OUTPUT_ASM_ALIGNED_LOCAL): Expect | |
5866 | HOST_WIDE_INT argument. | |
5867 | ||
03307888 JM |
5868 | 2003-05-13 Jason Merrill <jason@redhat.com> |
5869 | ||
5870 | * tree.h (STRIP_MAIN_TYPE_NOPS): New macro. | |
5871 | ||
5872 | * tree.c (iterative_hash_expr): New fn. | |
5873 | ||
5874 | * c-semantics.c (emit_local_var): Don't mess with temp slots if | |
5875 | there's no initializer. | |
5876 | ||
d660cefe RS |
5877 | 2003-05-13 Richard Sandiford <rsandifo@redhat.com> |
5878 | ||
5879 | * final.c (final_scan_insn): Apply the effects of frame-related | |
5880 | delay slot insns before emitting a delayed branch. | |
5881 | ||
c1f1978f NC |
5882 | 2003-05-13 Nick Clifton <nickc@redhat.com> |
5883 | ||
5884 | * config/mcore/mcore.md (jump): Use emit_jump_insn. | |
5885 | ||
7641be90 UW |
5886 | 2003-05-13 Ulrich Weigand <uweigand@de.ibm.com> |
5887 | ||
5888 | * config/s390/s390.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Second | |
5889 | parameter of ASM_OUTPUT_SKIP must have type unsigned HOST_WIDE_INT. | |
5890 | ||
f26aca6d DD |
5891 | 2003-05-12 DJ Delorie <dj@redhat.com> |
5892 | ||
5893 | * expr.c (move_by_pieces): Honor the alignment of TO and FROM. | |
5894 | (emit_push_insn): Don't use push when the source alignment is less | |
5895 | than the stack's push rounding. | |
5896 | ||
fa6ef813 ZW |
5897 | 2003-05-13 Zack Weinberg <zack@codesourcery.com> |
5898 | ||
5899 | * diagnostic.c (output_format): Add support for %m. | |
5900 | (output_printf, output_verbatim, diagnostic_set_info, | |
5901 | verbatim): Set err_no field of the text_info structure being | |
5902 | initialized. | |
5903 | (fatal_io_error): Delete function. | |
5904 | * diagnostic.h (text_info): Add err_no field. | |
5905 | * toplev.h (fatal_io_error): Delete prototype. | |
5906 | ||
5907 | * c-opts.c, c-pch.c, dwarfout.c, ggc-common.c, ggc-page.c, graph.c | |
5908 | * toplev.c, config/mips/mips.c, config/rs6000/host-darwin.c | |
5909 | * objc/objc-act.c: Replace all calls to fatal_io_error with | |
5910 | calls to fatal_error; add ": %m" to the end of all the affected | |
5911 | error messages. | |
5912 | ||
a2a6a79b ZW |
5913 | 2003-05-13 Zack Weinberg <zack@codesourcery.com> |
5914 | ||
5915 | * varasm.c (notice_rtl_inlining_of_deferred_constant): New function. | |
5916 | * rtl.h: Prototype it. | |
5917 | * integrate.c (copy_rtx_and_substitute <SYMBOL_REF>): Call it | |
5918 | when appropriate. | |
5919 | ||
c707d0b0 UW |
5920 | 2003-05-13 Ulrich Weigand <uweigand@de.ibm.com> |
5921 | ||
5922 | * config/s390/s390.md ("*iordi3_oi"): Do not mark commutative. | |
5923 | ("*iorsi3_oi"): Likewise. | |
5924 | ||
9af66e58 RE |
5925 | 2003-05-13 Richard Earnshaw <rearnsha@arm.com> |
5926 | ||
5927 | * arm.md (compare_scc): Use shorter sequence for EQ case. | |
5928 | (ior_scc_scc_cmp, and_scc_scc_cmp): New insn-and-split patterns. | |
5929 | (and_scc_scc): Ensure split only applies when there is a dominance | |
5930 | of the comparisons. | |
5931 | (and_scc_scc_nodom): New insn-and-split pattern. | |
5932 | ||
7f68692f RS |
5933 | 2003-05-13 Richard Sandiford <rsandifo@redhat.com> |
5934 | ||
5935 | * unwind-dw2.c (uw_init_context_1): Don't pass &outer_cfa directly | |
5936 | to _Unwind_SetGRPtr(). | |
5937 | ||
88e80294 ME |
5938 | 2003-05-13 Michael Eager <eager@mvista.com> |
5939 | ||
5940 | * Makefile.in: Initialize program_transform_cross_name from | |
5941 | @program_transform_name@ instead of target_alias. | |
5942 | ||
c4501e62 JJ |
5943 | 2003-05-12 Janis Johnson <janis187@us.ibm.com> |
5944 | Alan Modra <amodra@bigpond.net.au> | |
5945 | Jakub Jelinek <jakub@redhat.com> | |
5946 | ||
5947 | * configure.in (HAVE_AS_TLS): Add powerpc and powerpc64 tests. | |
5948 | * configure: Rebuild. | |
5949 | * config/rs6000/rs6000-protos.h: Update. | |
5950 | * config/rs6000/rs6000.c (rs6000_tls_size): New. | |
5951 | (rs6000_tls_size_string): New. | |
5952 | (rs6000_parse_tls_size_option): New. | |
5953 | (rs6000_legitimize_tls_address): New. | |
5954 | (rs6000_tls_get_addr): New. | |
5955 | (rs6000_got_sym): New. | |
5956 | (rs6000_tls_symbol_ref): New. | |
5957 | (rs6000_tls_symbol_ref_1): New. | |
5958 | (rs6000_get_some_local_dynamic_name): New. | |
5959 | (rs6000_get_some_local_dynamic_name_1): New. | |
5960 | (TARGET_HAVE_TLS): New. | |
5961 | (TARGET_CANNOT_FORCE_CONST_MEM): New. | |
5962 | (rs6000_override_options): Handle -mtls-size option. | |
5963 | (constant_pool_expr_1): Handle TLS symbols. | |
5964 | (rs6000_legitimize_address): Handle TLS symbols. | |
5965 | (rs6000_tls_referenced_p): New. | |
5966 | (rs6000_legitimate_address): Handle TLS symbols. | |
5967 | (rs6000_emit_move): Handle TLS symbols. | |
5968 | (print_operand): Handle TLS symbols. | |
5969 | (uses_TOC): Handle TLS symbols. | |
5970 | (rs6000_emit_prologue): Use symbol for unspec constant. | |
5971 | * config/rs6000/rs6000.h (HAVE_AS_TLS): New. | |
5972 | (some_ld_name): New. | |
5973 | (LEGITIMATE_CONSTANT_P): Handle TLS symbols. | |
5974 | (PRINT_OPERAND_PUNCT_VALID_P): Handle TLS symbols. | |
5975 | (PREDICATE_CODES): Add rs6000_tls_symbol_ref. | |
5976 | * config/rs6000/rs6000.md (load_toc_v4_PIC_1, load_toc_v4_PIC_1b): | |
5977 | Support TLS. | |
5978 | (tls_gd_32, tls_gd_64, tls_ld_32, tls_ld_64, tls_dtprel_32, | |
5979 | tls_dtprel_64, tls_dtprel_ha_32, tls_dtprel_ha_64, tls_dtprel_lo_32, | |
5980 | tls_dtprel_lo_64, tls_got_dtprel_32, tls_got_dtprel_64, tls_tprel_32, | |
5981 | tls_tprel_64, tls_tprel_ha_32, tls_tprel_ha_64, tls_tprel_lo_32, | |
5982 | tls_tprel_lo_64, tls_got_tprel_32, tls_got_tprel_64, tls_tls_32, | |
5983 | tls_tls_64): New. | |
5984 | * config/rs6000/sysv4.h (SUBTARGET_OPTIONS): Add tls_size. | |
5985 | ||
6cfae22a NB |
5986 | 2003-05-12 Neil Booth <neil@cat.daikokuya.co.uk> |
5987 | ||
5988 | * Makefile.in (stage2_build, stage3_build, stage4_build): | |
5989 | Set BUILD_CC to the same as CC. | |
5990 | ||
517958ba NB |
5991 | 2003-05-12 Neil Booth <neil@daikokuya.co.uk> |
5992 | ||
5993 | * alloc-pool.c (last_id): Put in ENABLE_CHECKING guards. | |
5994 | ||
74601584 AS |
5995 | 2003-05-12 Andreas Schwab <schwab@suse.de> |
5996 | ||
5997 | * config/ia64/ia64.c (ia64_function_ok_for_sibcall): Mark 'exp' | |
5998 | as unused. | |
5999 | (bundling): Initialize 'pos'. | |
6000 | (ia64_expand_builtin): Initialize 'rmode'. | |
6001 | ||
f08b4d88 DE |
6002 | 2003-05-12 David Edelsohn <edelsohn@gnu.org> |
6003 | ||
6004 | * config/rs6000/xcoff.h (ASM_OUTPUT_SKIP): Accept HOST_WIDE_INT. | |
6005 | (ASM_OUTPUT_ALIGNED_COMMON): Same. | |
6006 | (ASM_OUTPUT_LOCAL): Same. | |
6007 | ||
d3e0dffb JH |
6008 | Mon May 12 21:53:29 CEST 2003 Jan Hubicka <jh@suse.cz> |
6009 | ||
6010 | * varasm.c (output_constant): Fix underflow. | |
6011 | ||
96ef4bdc MM |
6012 | 2003-05-12 Mark Mitchell <mark@codesourcery.com> |
6013 | ||
6014 | PR other/10745 | |
6015 | * configure.in: Correct detection of GNU ld version number. | |
6016 | * configure: Regenerated. | |
6017 | ||
9804f5fb ZW |
6018 | 2003-05-12 Zack Weinberg <zack@codesourcery.com> |
6019 | ||
6020 | * diagnostic.c (diagnostic_for_decl): Take a | |
6021 | diagnostic_context argument. Restructure to be consistent | |
6022 | with diagnostic_report_diagnostic. | |
6023 | (diagnostic_count_diagnostic): Now static. Take a | |
6024 | diagnostic_info argument, not just a diagnostic_t. Some code | |
6025 | moved here from internal_error. Move a case label for | |
6026 | clarity. | |
6027 | (diagnostic_action_after_output): New function. Code moved | |
6028 | here from internal_error and fatal_error. | |
6029 | (bug_report_request): New #define so that this text appears in | |
6030 | only one place. | |
6031 | (diagnostic_report_diagnostic): Update to match changes to | |
6032 | diagnostic_count_diagnostic. Call diagnostic_action_after_output. | |
6033 | (diagnostic_set_info): Call gettext here. | |
6034 | ||
6035 | (pedwarn): Update comment. Don't call gettext here. | |
6036 | (sorry): Use report_diagnostic. Don't call gettext here. | |
6037 | (fatal_error): Remove final fnotice and exit, but call | |
6038 | real_abort to prevent warnings about noreturn function returning. | |
6039 | (internal_error): Likewise. Don't do ICE suppression here nor | |
6040 | call context->internal_error. | |
6041 | (warning_with_decl): Suppress for decls in system headers. | |
6042 | Adjust call to diagnostic_for_decl. | |
6043 | (pedwarn_with_decl): Likewise. | |
6044 | (error_with_decl): Adjust call to diagnostic_for_decl. | |
6045 | (error_recursion): Use bug_report_request. | |
6046 | ||
6047 | * diagnostic.h: Remove prototype of diagnostic_count_diagnostic. | |
6048 | * objc/objc-act.c (error_with_ivar, warn_with_method): Don't call | |
6049 | diagnostic_count_diagnostic. | |
6050 | ||
f64f0687 JDA |
6051 | 2003-05-12 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
6052 | ||
6053 | * pa64-hpux.h (ASM_OUTPUT_ALIGNED_COMMON): Correct last patch. | |
6054 | ||
c394cdb7 JH |
6055 | Mon May 12 15:57:54 CEST 2003 Jan Hubicka <jh@suse.cz> |
6056 | ||
212e2065 | 6057 | * rs6000/darwin.h (ASM_OUTPUT_COMMON): Accept HOST_WIDE_INT |
c394cdb7 JH |
6058 | * mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Fix warning. |
6059 | * mips/mips.h (ASM_OUTPUT_SKIP): Fix typo in the previous patch. | |
6060 | ||
70498da3 RS |
6061 | 2003-05-12 Roger Sayle <roger@eyesopen.com> |
6062 | ||
6063 | * doc/rtl.texi: Document zero_extract as a valid destination | |
6064 | of a set insn. | |
6065 | ||
ce250a20 RE |
6066 | 2003-05-12 Richard Earnshaw <rearnsha@arm.com> |
6067 | ||
6068 | * arm/lib1funcs.asm (LSYM): Define -- on ELF prefix a local symbol with | |
6069 | '.'. Change all local symbol definitions and references to use LSYM. | |
6070 | ||
58e15542 JH |
6071 | Mon May 12 11:32:53 CEST 2003 Jan Hubicka <jh@suse.cz> |
6072 | ||
6073 | * expr.h (assemble_static_space): Update prototype. | |
6074 | * output.h (assemble_zeros, output_constant): Likewise. | |
6075 | * elfos.h (ASM_OUTPUT_SKIP, ASM_OUTPUT_COMMON): Make it 64bit clean | |
6076 | * alpha.h (ASM_OUTPUT_SKIP, ASM_OUTPUT_COMMON, ASK_OUTPUT_LOCAL): Make | |
6077 | it 64bit clean. | |
6078 | * elf.h (ASM_OTUPUT_SKIP): Likewise. | |
6079 | * unicosmk.h (ASM_OUTPUT_SKIP, ASM_OUTPUT_COMM): Likewise. | |
6080 | * arm.h (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL, ASM_OUTPUT_SKIP): | |
6081 | Expect HOST_WIDE_INT operand. | |
6082 | * aout.h (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL, ASM_OUTPUT_SKIP): | |
6083 | Expect HOST_WIDE_INT operand. | |
6084 | * unknown-elf.h (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL, ASM_OUTPUT_SKIP): | |
6085 | Expect HOST_WIDE_INT operand. | |
6086 | * avr.h (ASM_OUTPUT_COMMON, ASM_OUTPUT_SKIP): Expect | |
6087 | HOST_WIDE_INT operand. | |
6088 | * c4x.h (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL, ASM_OUTPUT_SKIP, | |
6089 | ASM_OUTPUT_BSS): Expect HOST_WIDE_INT operand. | |
6090 | * aout.h (ASM_OTUPUT_SKIP): Likewise. | |
6091 | * cris.h (ASM_OTUPUT_SKIP, ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL): Likewise. | |
6092 | * darwin.h (ASM_OTUPUT_SKIP, ASM_OUTPUT_COMMON): Likewise. | |
6093 | * dsp16xx.h (ASM_OTUPUT_SKIP): Likewise. | |
6094 | * frv.h (ASM_OTUPUT_SKIP): Likewise. | |
6095 | * h8300.h (ASM_OTUPUT_SKIP, ASM_OUTPUT_LOCAL): Likewise. | |
6096 | * 370.h (ASM_OTUPUT_SKIP, ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL): | |
6097 | Make it 64bit | |
6098 | clean. | |
6099 | * att.h (ASM_OUTPUT_SKIP): Expect HOST_WIDE_INT operand. | |
6100 | * bsd.h (ASM_OUTPUT_SKIP, ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL): | |
6101 | Make it 64bit clean. | |
6102 | * darwin.h (ASM_OUTPUT_SKIP): Make it 64bit clean.. | |
6103 | * sco5.h (ASM_OUTPUT_SKIP, ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL): Expect | |
6104 | HOST_WIDE_INT operand | |
6105 | * svr3gas.h (ASM_OUTPUT_SKIP, ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL): | |
6106 | Expect HOST_WIDE_INT operand | |
6107 | * sysv3.h (ASM_OUTPUT_SKIP): Expect HOST_WIDE_INT operand | |
6108 | * i960.h (ASM_OUTPUT_SKIP, ASM_OUTPUT_COMMON, | |
6109 | ASM_OUTPUT_ALIGNED_LOCAL): Expect HOST_WIDE_INT operand | |
6110 | * ip2k.h (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL, ASM_OUTPUT_SKIP): | |
6111 | Likewise. | |
6112 | * m32r.h (ASM_OUTPUT_COMMON): Likewise. | |
6113 | * 3b1.h (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL, ASM_OUTPUT_SKIP): | |
6114 | Likewise. | |
6115 | * amix.h (ASM_OUTPUT_ALIGNED_LOCAL): Likewise. | |
6116 | * crds.h (ASM_OUTPUT_SKIP, ASM_OUTPUT_ALIGNED_LOCAL): Likewise. | |
6117 | * hp320.h (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL, | |
6118 | ASM_OUTPUT_SKIP): Likewise. | |
6119 | * m68k.h (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL, ASM_OUTPUT_SKIP): | |
6120 | Likewise. | |
6121 | * m68kelf.h (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL, | |
6122 | ASM_OUTPUT_SKIP): Likewise. | |
6123 | * m68kv4.h (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL, | |
6124 | ASM_OUTPUT_SKIP): Likewise. | |
6125 | * mot3300.h (ASM_OUTPUT_LOCAL, ASM_OUTPUT_SKIP): Likewise. | |
6126 | * netbsd-elf.h (ASM_OUTPUT_LOCAL, ASM_OUTPUT_COMMON, | |
6127 | ASM_OUTPUT_SKIP): Likewise. | |
6128 | * sgs.h (ASM_OUTPUT_SKIP): Likewise. | |
6129 | * tower-as.h (ASM_OUTPUT_LOCAL, ASM_OUTPUT_COMMON, | |
6130 | ASM_OUTPUT_SKIP): Likewise. | |
6131 | * m88k.h (ASM_OUTPUT_LOCAL, ASM_OUTPUT_COMMON, ASM_OUTPUT_SKIP): | |
6132 | Likewise. | |
6133 | * mcore.h (ASM_OUTPUT_LOCAL, ASM_OUTPUT_BSS, ASM_OUTPUT_SKIP): Likewise. | |
6134 | * iris.h (ASM_OUTPUT_LOCAL): Likewise. | |
6135 | * mips.h (ASM_OUTPUT_LOCAL, ASM_OUTPUT_SKIP): Likewise. | |
6136 | * ns32k.h (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL, | |
6137 | ASM_OUTPUT_SKIP): Make it 64bit clean. | |
6138 | * pa-pro-end.h (ASM_OUTPUT_LOCAL, ASM_OUTPUT_ALIGNED_LOCAL): | |
6139 | Make it 64bit clean. | |
6140 | * pa.h (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL, ASM_OUTPUT_ALIGNED_LOCAL, | |
6141 | ASM_OUTPUT_SKIP): Make it 64bit clean. | |
6142 | * hpux.h (ASM_OUTPUT_LOCAL, ASM_OUTPUT_ALIGNED_LOCAL): Make it | |
6143 | 64bit clean. | |
6144 | * romp.h (ASM_OUTPUT_SKIP, ASM_OUTPUT_LOCAL, ASM_OUTPUT_COMMON): Expect | |
6145 | HOST_WIDE_INT argument | |
6146 | * s390.h (ASM_OUTPUT_SKIP): Expect HOST_WIDE_INT argument. | |
6147 | * sh.h (ASM_OUTPUT_SKIP, ASM_OUTPUT_LOCAL, ASM_OUTPUT_COMMON): Expect | |
6148 | HOST_WIDE_INT argument | |
6149 | * sol2.h (ASM_OUTPUT_SKIP): HOST_WIDE_INT argument | |
6150 | * sparc.h (ASM_OUTPUT_SKIP, ASM_OUTPUT_COMMON): HOST_WIDE_INT argument | |
6151 | * svr3.h (ASM_OUTPUT_SKIP): HOST_WIDE_INT argument | |
6152 | * vax.h (ASM_OUTPUT_SKIP, ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL): | |
6153 | HOST_WIDE_INT argument | |
6154 | * vaxv.h (ASM_OUTPUT_LOCAL): HOST_WIDE_INT argument | |
6155 | * xtensa.h (ASM_OUTPUT_LOCAL): HOST_WIDE_INT argument | |
6156 | * varasm.c (asm_output_bss, asm_output_aligned_bss, | |
6157 | asm_emit_uninitialized, assemble_zeros, assemble_static_space): | |
6158 | HOST_WIDE_INT argument | |
6159 | ||
9804f5fb | 6160 | 2003-05-10 Steven Bosscher <steven@gcc.gnu.org> |
7660e67e SB |
6161 | |
6162 | * cgraphunit.c (cgraph_create_edges): Drop walk_tree in | |
6163 | favor of walk_tree_without_duplicates. Add comments. | |
6164 | ||
76abd4c6 JZ |
6165 | 2003-05-12 Josef Zlomek <zlomekj@suse.cz> |
6166 | ||
6167 | * alloc-pool.h (ALLOC_POOL_ID_TYPE): New type. | |
9804f5fb | 6168 | (struct alloc_pool_def): New element 'id'. |
76abd4c6 JZ |
6169 | * alloc-pool.c (fancy_abort): Extern function prototype. |
6170 | (abort): Macro which uses fancy_abort. | |
6171 | (struct allocation_object_def): New structure. | |
6172 | (ALLOCATION_OBJECT_PTR_FROM_USER_PTR): New macro. | |
6173 | (USER_PTR_FROM_ALLOCATION_OBJECT_PTR): New macro. | |
6174 | (last_id): New variable. | |
6175 | (create_alloc_pool): Add the offset of u.data to size of element, | |
6176 | increase and use last_id. | |
6177 | (free_alloc_pool): Do the checking only when ENABLE_CHECKING. | |
6178 | (pool_alloc): Likewise. Set ID for elements. | |
6179 | (pool_free): Check whether the PTR was allocated from POOL. | |
6180 | ||
66ea6f4c RH |
6181 | 2003-05-11 Richard Henderson <rth@redhat.com> |
6182 | ||
6183 | PR c/10675 | |
6184 | * c-decl.c: Include hashtab.h. | |
6185 | (detect_field_duplicates): New. | |
6186 | (finish_struct): Use it. | |
6187 | * Makefile.in (c-decl.o): Update. | |
6188 | * c-parse.in (structsp_attr): Nreverse component_decl_list results. | |
6189 | (component_decl_list, component_decl_list2, | |
6190 | components, components_notype): Build list in reverse order. | |
6191 | (enumlist): Clarify docs. Use TREE_CHAIN not chainon. | |
6192 | ||
9804f5fb | 6193 | * tree.c (chainon): Special case op2 null as well. |
66ea6f4c RH |
6194 | Reorg for clarity. |
6195 | ||
358997e2 RS |
6196 | 2003-05-11 Roger Sayle <roger@eyesopen.com> |
6197 | ||
6198 | * config/i386/i386.md (logsf2, logdf2, logxf2, logdf2): New patterns | |
6199 | to implement log, logf and logl built-ins as inline x87 intrinsics. | |
6200 | (UNSPEC_FYL2X): New unspec to represent x87's "fyl2x" instruction. | |
6201 | (*fyl2x_sfxf3, *fyl2x_dfxf3, *fyl2x_xf3, *fyl2x_tfxf3): New insn | |
6202 | patterns for x87's "fyl2x" instruction, used by log?f2 patterns. | |
6203 | ||
6204 | * reg-stack.c (subst_stack_regs_pat): Handle UNSPEC_FYL2X like | |
6205 | UNSPEC_FPATAN, i.e. replaces two stack operands with single result. | |
6206 | ||
ffa916ba KG |
6207 | 2003-05-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
6208 | ||
9804f5fb | 6209 | * Makefile.in (out_object_file): Don't set -Wno-error for ${cpu}.o. |
04f3680d | 6210 | |
ffa916ba KG |
6211 | * sparc.c (print_operand): Fix uninitialized warning. |
6212 | ||
91f4cfe3 ZD |
6213 | 2003-05-12 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
6214 | ||
6215 | * cfgloopanal.c (num_loop_insns, average_num_loop_insns): Count only | |
6216 | real insns. | |
6217 | * loop-unroll.c (unroll_loop_runtime_iterations): Remove superfluous | |
6218 | condition. | |
6219 | ||
ac38d8da NB |
6220 | 2003-05-11 Neil Booth <neil@cat.daikokuya.co.uk> |
6221 | ||
6222 | * doc/cpp.texi: Fix typos. | |
6223 | ||
82b1c974 UW |
6224 | 2003-05-11 Ulrich Weigand <uweigand@de.ibm.com> |
6225 | ||
6226 | * config/s390/s390.c (s390_function_arg_float): New function. | |
6227 | (s390_function_arg_pass_by_reference): Use it. | |
6228 | (s390_function_arg_advance): Likewise. | |
6229 | (s390_function_arg): Likewise. | |
6230 | (s390_va_arg): Likewise | |
6231 | ||
6d70e6be NS |
6232 | 2003-05-11 Nathan Sidwell <nathan@codesourcery.com> |
6233 | ||
6234 | * coverage.h (coverage_counter_alloc): New function. | |
6235 | * function.h (struct function): Remove arc_profile flag. | |
6236 | * coverage.c (fn_ident): Remove. | |
6237 | (fn_b_ctrs, no_coverage): New. | |
6238 | (get_coverage_counts): Use current_function_funcdef_no. | |
6239 | (coverage_counter_alloc): New. | |
6240 | (coverage_counter_ref): Adjust. | |
6241 | (coverage_begin_output): Check no_coverage. Use | |
6242 | current_function_funcdef_no. | |
6243 | (coverage_end_function): Likewise. | |
6244 | (create_coverage): Set no_coverage. Set DECL_UNINLINEABLE rather | |
6245 | than clearing flag_inline_functions. Do not clear arc_profile | |
6246 | flag. | |
6247 | * function.c (prepare_function_start): Do not set arc_profile | |
6248 | flag. | |
6249 | * profile.c (instrument_edges): Return number of instrumented | |
6250 | edges. Use a for loop. | |
6251 | (branch_prob): Call coverage_counter_alloc. Make BB_TO_GCOV_INDEX | |
6252 | local to here and simplify. Use profile_arc_flag not arc_profile | |
6253 | flag. | |
6254 | (find_spanning_tree): Reformat. | |
6255 | * toplev.c (rest_of_compilation): Use profile_arc_flags and | |
6256 | flag_test_coverage rather than arc_profile flag. | |
6257 | ||
78d0a54d GDR |
6258 | 2003-05-11 Gabriel Dos Reis <gdr@integrable-solutions.net> |
6259 | ||
6260 | * doc/invoke.texi (Wctor-dtor-privacy): Update documentation. | |
6261 | ||
a71c8ddc RK |
6262 | 2003-05-11 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
6263 | ||
6264 | * varasm.c (copy_constant, case VIEW_CONVERT_EXPR): New case. | |
6265 | ||
6e270179 | 6266 | 2003-05-11 Bruno Haible <bruno@clisp.org> |
9804f5fb | 6267 | |
6e270179 NB |
6268 | * cppfiles.c (find_or_create_entry): Preserve errno. |
6269 | ||
6270 | 2003-05-11 Neil Booth <neil@cat.daikokuya.co.uk> | |
6271 | ||
6272 | * c-cppbuiltin.c (c_cpp_builtins): Move __STDC_HOSTED__ into | |
6273 | cpplib as it's a Standard Predefined Macro. | |
6274 | * c-opts.c (finish_options): Pass flag_hosted to cpp_init_builtins. | |
6275 | * cppinit.c (_cpp_init_builtins): Take HOSTED. Define | |
6276 | __STDC_HOSTED__ appropriately. | |
6277 | * cpplib.h (_cpp_init_builtins): Update. | |
6278 | * fix-header.c (read_scan_file): Update. | |
6279 | * doc/cpp.texi, doc/cppopts.texi: Update documentation. | |
6280 | ||
f333504d GDR |
6281 | 2003-05-11 Gabriel Dos Reis <gdr@integrable-solutions.net> |
6282 | ||
6283 | PR C++/689 | |
6284 | PR C++/9257 | |
6285 | * c-opts.c (c_common_decode_option): Don't set | |
6286 | warn_ctor_dtor_privacy wen -Wall. | |
6287 | * c-common.c (warn_ctor_dtor_privacy): Don't turn on by default. | |
6288 | ||
6e5d72ba AO |
6289 | 2003-05-10 Alexandre Oliva <aoliva@redhat.com> |
6290 | ||
6291 | * reload1.c (reload_cse_move2add): Revert part of my 2003-05-09's | |
6292 | patch. | |
6293 | ||
59650e48 ZW |
6294 | 2003-05-10 Zack Weinberg <zack@codesourcery.com> |
6295 | ||
6296 | * diagnostic.c: Reorder functions for clarity, putting all the | |
6297 | functions in the "error" family next to each other, and | |
6298 | likewise all the functions in the "error_with_decl" family. | |
6299 | Some other routines were moved too. Add comments. | |
6300 | (vbuild_message_string): Fold into sole caller. | |
6301 | ||
6302 | ||
34dc173c UW |
6303 | 2003-05-11 Ulrich Weigand <uweigand@de.ibm.com> |
6304 | ||
6305 | * except.c (EH_RETURN_STACKADJ_RTX): Do not define. | |
6306 | (EH_RETURN_HANDLER_RTX): Likewise. | |
6307 | (expand_builtin_eh_return): Do not copy stack adjustment | |
6308 | if EH_RETURN_STACKADJ_RTX is not defined. | |
6309 | (expand_eh_return): Likewise. Also, do not pass stack | |
6310 | adjustment as argument to the eh_return pattern. | |
6311 | * except.h (MUST_USE_SJLJ_EXCEPTIONS): Do not define just | |
6312 | because EH_RETURN_STACKADJ_RTX is not defined. | |
6313 | * unwind-dw.c (uw_update_context_1): If EH_RETURN_STACKADJ_RTX | |
6314 | is not defined, treat stack pointer like a regular register. | |
6315 | (uw_init_context_1): Set up fake initial stack pointer register. | |
6316 | (uw_install_context_1): Do not compute stack adjustment if | |
6317 | EH_RETURN_STACKADJ_RTX is not defined. | |
6318 | ||
6319 | * config/i386/i386.md ("eh_return"): Remove first argument. | |
6320 | * config/mips/mips.md ("eh_return"): Likewise. | |
6321 | * config/rs6000/rs6000.md ("eh_return"): Likewise. | |
6322 | * config/sh/sh.md ("eh_return"): Likewise. | |
6323 | ||
6324 | * config/s390/s390.h (EH_RETURN_STACKADJ_RTX): Remove. | |
6325 | ||
a64d0bc6 AA |
6326 | 2003-05-10 Alexander Aganichev <aaganichev@yandex.ru> |
6327 | ||
6328 | * config/i386/i386.h (MODES_TIEABLE_P): Fix typo. | |
6329 | ||
9b514d25 NS |
6330 | 2003-05-10 Nathan Sidwell <nathan@codesourcery.com> |
6331 | ||
6332 | * defaults.h (GCOV_TYPE_SIZE): Remove. | |
6333 | * gcov-io.h (gcov_type): Set to specific mode int on target. | |
6334 | (gcov_unsigned_t, gcov_position_t): New. | |
6335 | (GCOV_TYPE_NODE): New. | |
6336 | (GCOV_TAG_SUMMARY_LENGTH): Adjust. | |
6337 | (GCOV_COUNTERS_SUMMABLE): New. | |
6338 | (gcov_ctr_summary, gcov_sumary, gcov_fn_info, gcov_merge_fn, | |
6339 | gcov_ctr_info, gcov_info): Adjust types. | |
6340 | (gcov_var): Adjust types. | |
6341 | (gcov_write_unsigned, gcov_write_tag, | |
6342 | gcov_write_length, gcov_write_tag_length, gcov_write_summary, | |
6343 | gcov_read_unsigned, gcov_read_summary): Adjust gcov types. | |
6344 | (gcov_position, gcov_sync, gcov_seek): Adjust gcov types. | |
6345 | * gcov-io.c (gcov_write_unsigned, gcov_write_tag, | |
6346 | gcov_write_length, gcov_write_tag_length, gcov_write_summary, | |
6347 | gcov_read_unsigned, gcov_read_summary): Adjust gcov types. | |
6348 | * libgcov.c (gcov_crc32, gcov_version_mismatch, gcov_exit, | |
6349 | __gcov_init, __gcov_merge_add): Adjust gcov types. | |
6350 | * coverage.c (ctr_merge_functions): Constify. | |
6351 | (ctr_names): New. | |
6352 | (read_counts_file): Adjust gcov types. Only summarize & merge | |
6353 | summable counters. | |
6354 | (coverage_counter_ref): Use GCOV_TYPE_NODE. | |
6355 | (build_fn_info_type, build_fn_info_value, build_ctr_info_type, | |
6356 | build_ctr_info_value, build_gcov_info): Adjust types. | |
6357 | * profile.c (branch_prob): Adjust gcov types. | |
6358 | * gcov_dump (dump_file): Adjust gcov types. | |
6359 | ||
03f1640c RE |
6360 | 2003-05-10 Richard Earnshaw <rearnsha@arm.com> |
6361 | ||
59650e48 | 6362 | * arm.md (DOM_CC_X_AND_Y, DOM_CC_NX_OR_Y, DOM_CC_X_OR_Y): New |
03f1640c RE |
6363 | constants. |
6364 | (ior_scc_scc, and_scc_scc): New insn_and_split patterns. | |
59650e48 | 6365 | * arm.c (arm_select_dominance_cc_mode): Renamed from |
03f1640c RE |
6366 | select_dominance_cc_mode, no-longer static. Use DOM_CC... constants. |
6367 | Callers updated. | |
6368 | * arm-protos.h (arm_select_dominance_cc_mode): Add prototype. | |
6369 | ||
3ee10665 RS |
6370 | 2003-05-09 Roger Sayle <roger@eyesopen.com> |
6371 | ||
6372 | * config/alpha/alpha.c (alpha_start_function): Declare frame_size | |
6373 | as unsigned to avoid signed/unsigned comparison warnings. | |
6374 | ||
0bd0703d BW |
6375 | 2003-05-09 Bob Wilson <bob.wilson@acm.org> |
6376 | ||
6377 | * config/xtensa/xtensa.c (xtensa_emit_loop_end): Only use "nop.n" | |
6378 | instruction if the Xtensa density option is enabled. | |
6379 | ||
1476c9d9 MK |
6380 | 2003-05-09 Matt Kraai <kraai@alumni.cmu.edu> |
6381 | ||
6382 | * mklibgcc.in: Remove extra quotes. | |
6383 | ||
36e8d515 MM |
6384 | 2003-05-09 Mark Mitchell <mark@codesourcery.com> |
6385 | ||
6386 | * config/rs6000/rs6000.c (spe_init_builtins): Fix typo in creation | |
6387 | of int_ftype_void. | |
6388 | ||
f8a30250 AO |
6389 | 2003-05-09 Alexandre Oliva <aoliva@redhat.com> |
6390 | ||
6391 | * reload1.c (reload_cse_move2add): Don't turn an implicit | |
6392 | truncation into a self-set in the narrow mode. | |
6393 | ||
e912eadf RE |
6394 | 2003-05-09 Richard Earnshaw <rearnsha@arm.com> |
6395 | ||
6396 | * arm.md (clzsi2): The CLZ instruction is predicable. | |
6397 | ||
638db43e BW |
6398 | 2003-05-09 Bob Wilson <bob.wilson@acm.org> |
6399 | ||
6400 | * config/xtensa/xtensa.c: Formatting. | |
6401 | ||
5675294b DN |
6402 | 2003-05-09 Diego Novillo <dnovillo@redhat.com> |
6403 | ||
6404 | * tree-dump.c (dequeue_and_dump): Use CONSTRUCTOR_ELTS, | |
6405 | instead of TREE_OPERAND to access the operand of a | |
6406 | CONSTRUCTOR node. | |
6407 | ||
ec0f4995 DN |
6408 | 2003-05-09 Diego Novillo <dnovillo@redhat.com> |
6409 | ||
6410 | * tree-dump.c (dequeue_and_dump): CONSTRUCTOR nodes contain only | |
6411 | one operand. | |
6412 | ||
3c4b6438 GDR |
6413 | 2003-05-09 Gabriel Dos Reis <gdr@integrable-solutions.net> |
6414 | ||
6415 | * toplev.h (warning_with_file_and_line): Don't declare. | |
6416 | (error_with_file_and_line): Likewise. | |
6417 | * diagnostic.c (error_with_file_and_line): Remove. | |
6418 | (warning_with_file_and_line): Likewise. | |
6419 | ||
49468c8b GDR |
6420 | 2003-05-09 Gabriel Dos Reis <gdr@integrable-solutions.net> |
6421 | ||
6422 | * c-parse.in (if_stmt_locus): New object. | |
6423 | (if_prefix rule): Use it. Don't use warning_with_file_and_line. | |
6424 | (select_or_iter_stmt rule): Likewise. | |
6425 | (if_stmt_file): Remove. | |
6426 | (if_stmt_line): Likewise. | |
6427 | * jump.c: include "diagnostic.h" | |
59650e48 | 6428 | (never_reached_warning): Don't use warning_with_file_and_line. |
49468c8b GDR |
6429 | * Makefile.in (jump.o): Add dependce on diagnostic.h |
6430 | ||
c6b97fac AM |
6431 | 2003-05-09 Alan Modra <amodra@bigpond.net.au> |
6432 | ||
6433 | * expr.c (move_block_from_reg): Remove "size" parm. Localize vars. | |
6434 | Move code handling pieces not larger than a word to.. | |
6435 | * function.c (assign_parms): ..here, but use change_address instead | |
6436 | of adjust_address and operand_subword, and expand_binop instead of | |
6437 | expand_shift. Adjust calls to move_block_from_reg. | |
6438 | * expr.h (move_block_from_reg): Update declaration. | |
6439 | (copy_blkmode_from_reg): Formatting. | |
6440 | * Makefile.in (function.o): Add $(OPTABS_H) to deps. | |
6441 | * config/alpha/alpha.c (alpha_setup_incoming_varargs): Adjust | |
6442 | move_block_from_reg calls. | |
6443 | * config/arc/arc.c (arc_setup_incoming_varargs): Likewise. | |
6444 | * config/i960/i960.c (i960_setup_incoming_varargs): Likewise. | |
6445 | * config/m32r/m32r.c (m32r_setup_incoming_varargs): Likewise. | |
6446 | * config/m88k/m88k.c (m88k_builtin_saveregsk): Likewise. | |
6447 | * config/mips/mips.c (mips_setup_incoming_varargs): Likewise. | |
6448 | * config/pa/pa.c (hppa_builtin_saveregs): Likewise. | |
6449 | * config/romp/romp.h (SETUP_INCOMING_VARARGS): Likewise. | |
6450 | * config/rs6000/rs6000.c (setup_incoming_varargs): Likewise. | |
6451 | * config/sh/sh.c (sh_builtin_saveregs): Likewise. | |
6452 | ||
06d22853 DD |
6453 | 2003-05-08 DJ Delorie <dj@redhat.com> |
6454 | ||
6455 | * config/stormy16/stormy16.c (xstormy16_expand_builtin_va_arg): Fix | |
6456 | to handle arguments for which MUST_PASS_IN_STACK is true (e.g., | |
6457 | variable-sized types). | |
6458 | (xstormy16_function_arg): New. Pass them that way too. | |
6459 | * config/stormy16/stormy16-protos.h (xstormy16_function_arg): New. | |
6460 | * config/stormy16/stormy16.h (FUNCTION_ARG): Call it. | |
6461 | ||
d0affb9f AH |
6462 | 2003-05-08 Aldy Hernandez <aldyh@redhat.com> |
6463 | ||
59650e48 ZW |
6464 | * mklibgcc.in: Use mkinstalldirs when installing multilib |
6465 | directories. | |
d0affb9f | 6466 | |
ddf8ec7e R |
6467 | 2003-05-08 J"orn Rennecke <joern.rennecke@superh.com> |
6468 | ||
6469 | * sh.c (gen_block_redirect, split_branches): Use CODE_FOR_jump_compact | |
6470 | instead of CODE_FOR_jump | |
6471 | ||
67f7893c GDR |
6472 | 2003-05-08 Gabriel Dos Reis <gdr@integrable-solutions.net> |
6473 | ||
6474 | * objc/objc-act.c (error_with_ivar): Don't use | |
59650e48 | 6475 | error_with_file_and_line. |
67f7893c GDR |
6476 | (warn_with_method): Don't use warning_with_file_and_line. |
6477 | ||
c8608cd6 GDR |
6478 | 2003-05-08 Gabriel Dos Reis <gdr@integrable-solutions.net> |
6479 | ||
6480 | * stmt.c (emit_locus): New macro. | |
6481 | (emit_filename): Remove. | |
6482 | (emit_lineno): Likewise. | |
6483 | (struct stmt_status): Replace members x_emit_filename and | |
6484 | x_emit_lineno with x_emit_locus. | |
6485 | (set_file_and_line_for_stmt): Adjust. | |
67f7893c | 6486 | (expand_expr_stmt_value): Don't use warning_with_file_and_line. |
c8608cd6 GDR |
6487 | (warn_if_unused_value): Likewise. |
6488 | (check_seenlabel): Likewise. | |
6489 | ||
95035b6f GDR |
6490 | 2003-05-08 Gabriel Dos Reis <gdr@integrable-solutions.net> |
6491 | ||
6492 | * c-decl.c (define_label): Tidy. Don't use any of | |
6493 | error_with_file_and_line or warning_with_file_and_file. | |
6494 | (pending_xref_error): Likewise. | |
6495 | (store_parm_decls): Likewise. | |
6496 | (current_function_prototype_locus): New object. Package from | |
6497 | current_function_prototype_file and current_function_prototype_line. | |
6498 | (start_function): Use it. | |
6499 | (current_function_prototype_file): Remove. | |
6500 | (current_function_prototype_line): Remove; | |
6501 | ||
7dc61d6c KG |
6502 | 2003-05-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
6503 | ||
6504 | * builtins.c (readonly_data_expr): New function. | |
6505 | (expand_builtin_memmove): Optimize any rodata source, not just | |
6506 | strings. | |
6507 | ||
044075ac DM |
6508 | 2003-05-07 David Mosberger <davidm@hpl.hp.com> |
6509 | ||
59650e48 | 6510 | * unwind-libunwind.c (_Unwind_FindEnclosingFunction): New. |
044075ac | 6511 | |
8231b3f9 RH |
6512 | 2003-05-07 Richard Henderson <rth@redhat.com> |
6513 | ||
6514 | * config/i386/i386.c (ix86_split_long_move): Fix base register | |
6515 | mode for XFmode splits for TARGET_64BIT. | |
6516 | ||
0212907f RH |
6517 | 2003-05-07 Richard Henderson <rth@redhat.com> |
6518 | ||
6519 | * sched-ebb.c (schedule_ebb): Supply the correct starting | |
6520 | block number to save_line_notes. | |
6521 | ||
c079e6fe RH |
6522 | 2003-05-07 Richard Henderson <rth@redhat.com> |
6523 | ||
6524 | * toplev.c (enum dump_file_index): Swap DFI_ce3, DFI_bbro. | |
6525 | (dump_file): Likewise. | |
6526 | ||
c35b64c2 DM |
6527 | 2003-05-07 David Mosberger <davidm@hpl.hp.com> |
6528 | ||
59650e48 | 6529 | * config/ia64/crtbegin.asm (__do_jv_register_classes): Don't |
c35b64c2 | 6530 | forget to preserve gp. |
59650e48 ZW |
6531 | * config/ia64/crtend.asm (__do_global_ctors_au): Ditto. |
6532 | ||
6533 | * config/ia64/crtbegin.asm (__do_jv_register_classes): Add missing | |
6534 | .prologue directive. | |
6535 | Use .skip instead of data8 for .bss section to make Intel | |
6536 | Assembler (ias) happy. Minor whitespace fixups. Make "nop 0" | |
6537 | explicit in the .mib bundles and remove the unnecessary stop | |
6538 | bits. Replace local labels with normal labels, to make ias | |
6539 | happy. Don't register __do_global_ctors_aux here, do it in | |
6540 | crtend.asm instead. | |
6541 | ||
6542 | * config/ia64/crtend.asm [HAVE_INIT_FINI_ARRAY]: Register | |
6543 | __do_global_ctors_aux in .init_array section instead of | |
6544 | declaring it as a hidden global. Replace local labels with | |
6545 | ordinary labels to make ias happy. | |
c35b64c2 | 6546 | |
a944ceb9 RH |
6547 | 2003-05-07 Richard Henderson <rth@redhat.com> |
6548 | ||
59650e48 ZW |
6549 | PR c++/10570 |
6550 | * except.c: Revert 04-01 and 04-02 forced-unwind changes. | |
6551 | * flags.h, toplev.c, doc/invoke.texi: Likewise. | |
a944ceb9 | 6552 | |
59650e48 ZW |
6553 | * unwind-dw2.c (_Unwind_GetCFA): Fix ptr->int conversion warning. |
6554 | * unwind.inc (_Unwind_DeleteException): Check for null | |
6555 | exception_cleanup. | |
a944ceb9 | 6556 | |
59650e48 ZW |
6557 | * unwind-sjlj.c (_Unwind_SjLj_Resume_or_Rethrow): New. |
6558 | * unwind.inc (_Unwind_Resume_or_Rethrow): New. | |
6559 | * unwind.h: Declare them. | |
6560 | * libgcc-std.ver (GCC_3.3): Export them. | |
a944ceb9 | 6561 | |
9330e977 RH |
6562 | 2003-05-07 Richard Henderson <rth@redhat.com> |
6563 | ||
a21d83cd | 6564 | * unwind-dw2.c (_Unwind_GetCFA): Cast pointer to _Unwind_Ptr, |
9330e977 RH |
6565 | not _Unwind_Word. |
6566 | ||
046e4e36 ZW |
6567 | 2003-05-07 Zack Weinberg <zack@codesourcery.com> |
6568 | ||
6569 | * stmt.c (force_label_rtx): New function, based on logic | |
6570 | formerly found in expand_expr. | |
6571 | * expr.h: Prototype it. | |
6572 | * expr.c (expand_expr <LABEL_DECL>): Use force_label_rtx if | |
6573 | appropriate. | |
6574 | * varasm.c (decode_addr_const <LABEL_DECL>): Use force_label_rtx. | |
6575 | ||
6576 | * print-tree.c (debug_tree): Free the table after we're done | |
6577 | with it. Use putc. | |
6578 | ||
12850cf2 AH |
6579 | 2003-05-07 Aldy Hernandez <aldyh@redhat.com> |
6580 | ||
046e4e36 ZW |
6581 | * config/rs6000/spe.h: Reverse arguments for __ev_subfw. |
6582 | Unreverse arguments for __ev_subw. | |
12850cf2 | 6583 | |
046e4e36 | 6584 | * config/rs6000/spe.md (evsubfw): Reverse arguments of assembly. |
12850cf2 | 6585 | |
54350d48 NC |
6586 | 2003-05-07 Nick Clifton <nickc@redhat.com> |
6587 | ||
6588 | * config/stormy16/stormy-abi: Update to include | |
6589 | R_XSTORMY16_FPTR16, R_XSTORMY16_LO16, R_XSTORMY16_HI16 and | |
6590 | R_XSTORMY16_12 relocs. | |
6591 | ||
ffea5d1e AM |
6592 | 2003-05-07 Alan Modra <amodra@bigpond.net.au> |
6593 | ||
6594 | * function.c (assign_parms): Correct reversed reg_parm_stack_space | |
6595 | test. Add partial in-regs size to stack_args_size. | |
6596 | ||
da635858 GP |
6597 | 2003-05-07 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
6598 | ||
6599 | * doc/invoke.texi (Warning Options): Mark -Wmissing-declarations | |
6600 | as a C only option. | |
6601 | ||
474f141e NS |
6602 | 2003-05-07 Nathan Sidwell <nathan@codesourcery.com> |
6603 | ||
6604 | * gcov-io.h (GCOV_LOCKED): New #define. | |
6605 | (GCOV_LINKAGE): Make sure it is #defined. | |
6606 | (gcov_write_string, gcov_write_tag, gcov_write_length, | |
6607 | gcov_read_string, gcov_time): Poison in libgcov. | |
6608 | (gcov_seek_end): Remove. | |
6609 | (gcov_write_tag_length, gcov_sync, gcov_rewrite): New. | |
6610 | (GCOV_TAG_FUNCTION_LENGTH, GCOV_TAG_BLOCKS_LENGTH, | |
6611 | GCOV_TAG_ARCS_LENGTH, GCOV_TAG_COUNTER_LENGTH, | |
6612 | GCOV_TAG_SUMMARY_LENGTH): New #defines. | |
6613 | (gcov_write_tag, gcov_write_length): Not in libgcov. | |
6614 | * gcov-io.c (gcov_open): Use GCOV_LOCKED. | |
6615 | (gcov_write_tag, gcov_write_length): Not in libgcov. | |
6616 | (gcov_write_tag_length): New. | |
6617 | (gcov_write_summary): Use gcov_write_tag_length. | |
6618 | * libgcov.c: Always #include gcov-io.h. | |
6619 | (IN_LIBGCOV): -1 for inhibit_libc, +1 otherwise. | |
6620 | (GCOV_LINKAGE): Define to nothing for L_gcov. | |
6621 | (gcov_exit): Replace gcov_write_tag, gcov_write_length with | |
6622 | gcov_write_tag_length. Use gcov_rewrite & gcov_seek. | |
6623 | * gcov.c (read_graph_file): Replace gcov_seek by gcov_sync. | |
6624 | (read_count_file): Likewise. | |
6625 | * gcov-dump.c (dump_file): Likewise. | |
6626 | * coverag.c (read_counts_file): Likewise. | |
6627 | ||
6cbeaa7e MM |
6628 | 2003-05-06 Mark Mitchell <mark@codesourcery.com> |
6629 | ||
6630 | PR other/10658 | |
6631 | * gcc.c (process_command): Update copyright date. | |
6632 | ||
26979a17 PE |
6633 | 2003-05-06 Phil Edwards <pme@gcc.gnu.org> |
6634 | ||
6635 | * doc/install.texi (mips-*-*): Add note about libstdc++. | |
6636 | ||
14b56832 DD |
6637 | 2003-05-06 DJ Delorie <dj@redhat.com> |
6638 | ||
6639 | * config/stormy16/stormy16.c (xstormy16_function_profiler): New. | |
6640 | * config/stormy16/stormy16.h (FUNCTION_PROFILER): Call it. | |
6641 | * config/stormy16/stormy16-protos.h (xstormy16_function_profiler): New. | |
6642 | ||
2c2bc09b NB |
6643 | 2003-05-06 <neil@cat.daikokuya.co.uk> |
6644 | ||
6645 | * c-opts.c (COMMAND_LINE_OPTIONS): Reject -Wmissing-prototypes | |
6646 | and -Wstrict-prototypes if C++. | |
6647 | ||
2f3f95e9 AH |
6648 | 2003-05-06 Aldy Hernandez <aldyh@redhat.com> |
6649 | ||
046e4e36 | 6650 | * config/rs6000/linuxspe.h: New file. |
2f3f95e9 | 6651 | |
046e4e36 | 6652 | * config.gcc: Add powerpc-*-linux-gnuspe* target. |
2f3f95e9 | 6653 | |
8b689196 RH |
6654 | 2003-05-06 Richard Henderson <rth@redhat.com> |
6655 | ||
046e4e36 | 6656 | * unwind-dw2.c (uw_update_context_1): Only set cfa as sp if |
8b689196 RH |
6657 | previous frame didn't save sp. Clear sp for next frame. |
6658 | (uw_install_context_1): Honor saved sp from frame. | |
6659 | ||
5b0f0db6 RS |
6660 | 2003-05-06 Richard Sandiford <rsandifo@redhat.com> |
6661 | ||
6662 | * config/mips/mips-protos.h (mips_subword, mips_output_move): Declare. | |
6663 | (mips_move_1word, mips_move_2words): Remove declaration. | |
6664 | (mips_split_64bit_move_p, mips_split_64bit_move): Declare. | |
6665 | (mips_restore_gp): Remove insn argument. | |
6666 | * config/mips/mips.h (FP_REG_RTX_P): New macro. | |
6667 | * config/mips/mips.c (volatile_buffer): Remove. | |
6668 | (mips_subword, mips_split_64bit_move_p, mips_split_64bit_move): New. | |
6669 | (mips_move_1word, mips_move_2words): Remove, replacing with... | |
6670 | (mips_output_move): ...this new function. | |
6671 | (mips_restore_gp): Remove insn argument. Adjust for above changes. | |
6672 | (print_operand): Make '%h' print %hi(op) for HIGH operands. Remove | |
6673 | handling of floating-point constants. Handle zero CONST_DOUBLE | |
6674 | arguments. | |
6675 | (mips_annotate_frame_insn): Replace with... | |
6676 | (mips_set_frame_expr): ...this, which just takes one argument. | |
6677 | (mips_frame_set): Change the register argument to an rtx. | |
6678 | (mips_emit_frame_related_store): Use mips_split_64bit_move_p to | |
6679 | check whether moves should be split. Use mips_split_64bit_move | |
6680 | to split them. Use mips_subword to generate the high and low | |
6681 | parts of a paired FPR. Adjust calls to frame_set and | |
6682 | mips_set_frame_expr. | |
6683 | (mips_expand_prologue): Simplify due to above changes. | |
6684 | * config/mips/mips.md: Add splitters for 64-bit moves on 32-bit | |
6685 | targets, replacing xisting register-only versions. | |
6686 | (UNSPEC_STORE_DF_HIGH): New unspec. | |
6687 | (UNSPEC_LOAD_DF_LOW, UNSPEC_LOAD_DF_HIGH): New unspecs. | |
6688 | (mulsi3_r4000, muldi3_internal2): Avoid use of mips_move_1word. | |
6689 | (*paradoxical_extendhidi2): Remove. | |
6690 | (movdi_internal, movdi_internal2): Use mips_output_move. | |
6691 | (*movdi_internal2_mips16, movsi_internal, movcc): Likewise. | |
6692 | (movsf_internal1, movsf_internal2): Likewise. | |
6693 | (movdf_internal1a): Likewise. Fix length and type of f <- G case. | |
6694 | (movdf_internal1b): Use mips_output_move. Fix type of f <- G case. | |
6695 | (movdf_internal2): Use mips_output_move. Fix lengths of FPR moves. | |
6696 | Add m <- G alternative. | |
6697 | (load_df_low, load_df_high, store_df_low): New patterns. | |
6698 | (movhi_internal): Use @ template instead of calling a function. | |
6699 | Remove unnecessary 'z' alternatives. | |
6700 | (movqi_internal): Likewise. | |
6701 | (exception_receiver): Update call to mips_restore_gp. | |
6702 | ||
e8b84d3d RS |
6703 | 2003-05-06 Richard Sandiford <rsandifo@redhat.com> |
6704 | ||
6705 | * config/mips/mips-protos.h (mips_simplify_dwarf_addr): Remove. | |
6706 | (mips_delegitimize_address): Declare. | |
6707 | * config/mips/mips.h (ASM_SIMPLIFY_DWARF_ADDR): Undefine. | |
6708 | (FIND_BASE_TERM): Define. | |
6709 | * config/mips/mips.c (TARGET_DELEGITIMIZE_ADDRESS): Define. | |
6710 | (mips_delegitimize_address): Renamed from mips_simplify_dwarf_addr. | |
6711 | Handle small-data addresses. | |
6712 | ||
e82a312b RS |
6713 | 2003-05-05 Roger Sayle <roger@eyesopen.com> |
6714 | ||
6715 | * real.c (real_powi): New function to calculate the value of | |
6716 | a real raised to an integer power, i.e. pow(x,n) for int n. | |
6717 | (real_sqrt): Convert to using the faster do_add, do_multiply | |
6718 | and do_divide API for consistency with the rest of real.c. | |
6719 | * real.h (real_powi): Prototype here. | |
6720 | * builtins.c (fold_builtin): Avoid local variable mode when | |
6721 | evaluating sqrt at compile time. Attempt to evaluate pow at | |
6722 | compile-time, by checking for an integral exponent. | |
6723 | ||
905e8651 RH |
6724 | 2003-05-05 Richard Henderson <rth@redhat.com> |
6725 | ||
6726 | * doc/extend.texi (Variable Attributes): Re-sort table and tidy. | |
6727 | ||
88467101 DB |
6728 | 2003-05-05 David O'Brien <obrien@FreeBSD.org> |
6729 | ||
6730 | * config/rs6000/sysv4.h (CPP_OS_FREEBSD_SPEC): Add __ELF__ to mirror | |
6731 | other FreeBSD ports. | |
6732 | (LINK_OS_FREEBSD_SPEC): Mirror conventions on other FreeBSD ports. | |
cb1f476f | 6733 | (_LITTLE_ENDIAN): Use __LITTLE_ENDIAN__ instead. |
88467101 | 6734 | |
6ccfe27c JJ |
6735 | 2003-05-05 Janis Johnson <janis187@us.ibm.com> |
6736 | ||
6737 | * Makefile.in: (site.exp): Add ALT_CC_UNDER_TEST, add quotes around | |
6738 | expanded variables. | |
6739 | * doc/sourcebuild.texi (C tests): Describe gcc.dg/compat tests. | |
6740 | ||
10b6a274 ZW |
6741 | 2003-05-05 Zack Weinberg <zack@codesourcery.com> |
6742 | ||
6743 | * rtl.h (STRING_POOL_ADDRESS_P): Rename to DEFERRED_CONSTANT_P. | |
6744 | * varasm.c (struct varasm_status): Add deferred_constants field. | |
6745 | (n_deferred_strings): Delete variable. | |
6746 | (n_deferred_constants): New #define. | |
6747 | (struct constant_descriptor_tree): Kill next and label fields. | |
6748 | (const_hash_table, MAX_HASH_TABLE): Delete. | |
6749 | (const_desc_htab): New static variable. | |
6750 | (const_hash): Rename const_desc_hash, and make it fit the | |
6751 | hashtab.h interface. | |
6752 | (const_desc_eq): New. | |
6753 | (const_hash_1, compare_constant): Const-ify arguments. | |
6754 | (build_constant_desc): Set DEFERRED_CONSTANT_P on all new | |
6755 | SYMBOL_REFs. Clarify comments. Don't set desc->label. | |
6756 | (output_constant_def): Do the lookup/insert using the | |
6757 | hashtab.h interface. Don't muck with n_deferred_constants or | |
6758 | DEFERRED_CONSTANT_P here. | |
6759 | Always call maybe_output_constant_def_contents. | |
6760 | (maybe_output_constant_def_contents): Take a pointer to the | |
6761 | descriptor, not the EXP and RTL separately. Return | |
6762 | immediately if this constant is not deferred. Defer output of | |
6763 | everything, except writable string constants. Update | |
6764 | n_deferred_constants here. | |
6765 | (output_constant_def_contents): Now takes just one argument, | |
6766 | an rtx. Clear DEFERRED_CONSTANT_P here. | |
6767 | (mark_constant_pool): Update for rename of n_deferred_strings. | |
6768 | (mark_constant): Don't clear DEFERRED_CONSTANT_P here. | |
6769 | ||
6770 | (init_varasm_status): Clear p->deferred_constants. | |
6771 | (init_varasm_once): Call htab_create_ggc for const_desc_htab. | |
6772 | ||
68ef8841 KG |
6773 | 2003-05-05 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
6774 | ||
6775 | * builtins.c (expand_builtin_stpcpy): Only expand when the length | |
6776 | of the source string can be evaluated at compile-time. | |
6777 | ||
9938b5d9 AH |
6778 | 2003-05-05 Aldy Hernandez <aldyh@redhat.com> |
6779 | ||
10b6a274 | 6780 | * testsuite/gcc.c-torture/compile/simd-6.c: New. |
9938b5d9 | 6781 | |
10b6a274 | 6782 | * c-typeck.c (digest_init): Handle arrays of vector constants. |
9938b5d9 | 6783 | |
e3e9f108 JJ |
6784 | 2003-05-05 Jakub Jelinek <jakub@redhat.com> |
6785 | ||
6786 | * builtins.c (expand_builtin_mempcpy): New function. | |
6787 | (expand_builtin_stpcpy): Optimize stpcpy whose return value is | |
6788 | ignored into strcpy no matter what arguments it has. | |
6789 | (expand_builtin) <case BUILT_IN_MEMPCPY>: Call | |
6790 | expand_builtin_mempcpy. | |
6791 | ||
6035d635 AH |
6792 | 2003-05-05 Aldy Hernandez <aldyh@redhat.com> |
6793 | ||
10b6a274 | 6794 | * testsuite/gcc.dg/20030505.c: New. |
6035d635 | 6795 | |
10b6a274 ZW |
6796 | * c-typeck.c (convert_for_assignment): Opaque pointers can |
6797 | interconvert. | |
6035d635 | 6798 | |
10b6a274 ZW |
6799 | * config/rs6000/rs6000.c: New global opaque_p_V2SI_type_node. |
6800 | (rs6000_init_builtins): Initialize opaque_p_V2SI_type_node. | |
6801 | (spe_init_builtins): Rename all pv2si_type_node to | |
6802 | opaque_p_V2SI_type_node. | |
6803 | Remove declaration of pv2si_type_node. | |
6804 | (is_ev64_opaque_type): Accept opaque pointers. | |
6035d635 | 6805 | |
36b29d7d GK |
6806 | 2003-05-05 Geoffrey Keating <geoffk@apple.com> |
6807 | ||
bc9ec0e0 GK |
6808 | * config/rs6000/rs6000.c (validate_condition_mode): Use |
6809 | flag_finite_math_only. | |
6810 | (rs6000_reverse_condition): Never return UNKNOWN; use | |
6811 | flag_finite_math_only. | |
6812 | (rs6000_generate_compare): Use flag_finite_math_only. | |
6813 | (rs6000_emit_cmove): Handle UNLE. Support UNEQ under -ffast-math. | |
6814 | Use HONOR_* rather than flag_unsafe_math_optimizations. Correct | |
10b6a274 | 6815 | UNGE and GT cases. Handle UNEQ and LTGT when ! HONOR_NANS. |
bc9ec0e0 | 6816 | |
36b29d7d GK |
6817 | * toplev.c (check_global_declarations): Suppress not-used warning |
6818 | for volatile variables. | |
6819 | ||
9e5f281f OH |
6820 | 2003-05-05 Olivier Hainque <hainque@act-europe.fr> |
6821 | ||
10b6a274 ZW |
6822 | * expr.c (expand_expr, case BIT_FIELD_REF): Refine the test forcing |
6823 | usage of bitfield instructions for mode1 != BLKmode, only ignoring | |
6824 | SLOW_UNALIGNED_ACCESS if the field is not byte aligned. | |
6825 | (store_field): Likewise. | |
9e5f281f | 6826 | |
f5119d10 AH |
6827 | 2003-05-05 Aldy Hernandez <aldyh@redhat.com> |
6828 | ||
10b6a274 ZW |
6829 | * config/rs6000/rs6000.c (rs6000_expand_binop_builtin): Add |
6830 | evsubifw to builtins accepting 5-bit unsigned constants. | |
6831 | (easy_vector_constant): Return if V1DImode. Fix typo. | |
f5119d10 | 6832 | |
25ecd459 AH |
6833 | 2003-05-05 Aldy Hernandez <aldyh@redhat.com> |
6834 | ||
10b6a274 | 6835 | * config/rs6000/spe.h: Revert licensing change from last patch. |
25ecd459 | 6836 | |
9be13211 DD |
6837 | 2003-05-05 DJ Delorie <dj@redhat.com> |
6838 | ||
6839 | * config/stormy16/stormy16.md (negsi2): Allocate the pseudos | |
6840 | before reload, but defer the split until after. | |
6841 | * config/stormy16/stormy16.c (xstormy16_expand_arith): Modify | |
6842 | to match. | |
6843 | ||
2c9d95ef DE |
6844 | 2003-05-05 David Edelsohn <edelsohn@gnu.org> |
6845 | ||
6846 | * config/rs6000/rs6000.h (ASM_CPU_SPEC): Add 440 support. | |
6847 | * config/rs6000/vxworks.h (CC1_SPEC): Use -mcpu=440 for t440. | |
6848 | ||
1e77e673 ZD |
6849 | 2003-05-05 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
6850 | ||
6851 | * libgcov.c (__gcov_merge_add): Do not use gcov_type when inhibit_libc | |
10b6a274 | 6852 | is defined. |
1e77e673 | 6853 | |
00362064 KG |
6854 | 2003-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
6855 | ||
6856 | * builtin-attrs.def (ATTR_NOTHROW_NONNULL_1, | |
6857 | ATTR_NOTHROW_NONNULL_2, ATTR_NOTHROW_NONNULL_3): Renamed from | |
6858 | ATTR_NONNULL_1, ATTR_NONNULL_2 and ATTR_NONNULL_3. | |
6859 | ||
6860 | (ATTR_NOTHROW_NONNULL_1_2, ATTR_NOTHROW_NONNULL_1_4, | |
6861 | ATTR_CONST_NOTHROW_NONNULL_1, ATTR_PURE_NOTHROW_NONNULL_1, | |
6862 | ATTR_PURE_NOTHROW_NONNULL_1_2, ATTR_MALLOC_NOTHROW_NONNULL_1): | |
6863 | New. | |
6864 | ||
6865 | * builtins.def (DEF_EXT_FALLBACK_BUILTIN): Accept ATTRS argument. | |
6866 | (BUILT_IN_BZERO, BUILT_IN_BCOPY, BUILT_IN_BCMP): Update comment | |
6867 | ||
6868 | (BUILT_IN_INDEX, BUILT_IN_RINDEX, BUILT_IN_MEMCPY, | |
6869 | BUILT_IN_MEMMOVE, BUILT_IN_MEMCMP, BUILT_IN_MEMSET, | |
6870 | BUILT_IN_MEMPCPY, BUILT_IN_STRCAT, BUILT_IN_STRNCAT, | |
6871 | BUILT_IN_STPCPY, BUILT_IN_STRCPY, BUILT_IN_STRNCPY, | |
6872 | BUILT_IN_STRCMP, BUILT_IN_STRNCMP, BUILT_IN_STRLEN, | |
6873 | BUILT_IN_STRSTR, BUILT_IN_STRPBRK, BUILT_IN_STRSPN, | |
6874 | BUILT_IN_STRCSPN, BUILT_IN_STRCHR, BUILT_IN_STRRCHR, BUILT_IN_NAN, | |
6875 | BUILT_IN_NANF, BUILT_IN_NANL, BUILT_IN_NANS, BUILT_IN_NANSF, | |
6876 | BUILT_IN_NANSL, BUILT_IN_PUTS, BUILT_IN_FPUTC, BUILT_IN_FPUTS, | |
6877 | BUILT_IN_FWRITE, BUILT_IN_PUTS_UNLOCKED, BUILT_IN_FPUTC_UNLOCKED, | |
6878 | BUILT_IN_FPUTS_UNLOCKED, BUILT_IN_FWRITE_UNLOCKED, | |
6879 | BUILT_IN_STRDUP): Add "nonnull" attribute. | |
6880 | ||
ad26fb41 RK |
6881 | 2003-05-04 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
6882 | ||
c1853da7 RK |
6883 | * expr.c (store_field): Don't clobber TEMP in shift: it might be |
6884 | a variable. | |
6885 | (get_inner_reference): Don't go through a VIEW_CONVERT_EXPR | |
6886 | whose purpose is to step up the alignment. | |
6887 | (expand_expr, case ADDR_EXPR): Force LO_SUM into memory, just like REG. | |
6888 | ||
ad26fb41 RK |
6889 | * stor-layout.c (compute_record_mode): Relax restriction |
6890 | on fields crossing word boundaries forcing BLKmode. | |
6891 | ||
1fecc266 NB |
6892 | 2003-05-04 Neil Booth <neil@daikokuya.co.uk> |
6893 | ||
6894 | * cppinit.c (cpp_create_reader, post_options): Warn about | |
6895 | trigraphs unless explicity set or -trigraphs. | |
6896 | * cpplex.c (warn_in_comment): New. | |
6897 | (_cpp_process_line_notes): Better handling of -Wtrigraphs. | |
6898 | (_cpp_skip_block_comment): Add call to _cpp_process_line_notes. | |
6899 | * doc/cppopts.texi, doc/cpp.texi: Update. | |
6900 | ||
09780dfb ZD |
6901 | 2003-05-04 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
6902 | ||
6903 | * Makefile.in (LIBGCOV): Add _gcov_merge_add. | |
6904 | * gcov-io.h: Make GCOV_LINKAGE extern in libgcov and prevent resulting | |
6905 | namespace clash. | |
6906 | (GCOV_MERGE_FUNCTIONS): New. | |
6907 | (gcov_merge_fn): Declare. | |
6908 | (struct gcov_ctr_info): New field "merge". | |
6909 | (__gcov_merge_add): Declare. | |
6910 | * coverage.c (ctr_merge_functions): New. | |
6911 | (build_ctr_info_type, build_ctr_info_value): Initialize merge field | |
6912 | of gcov_ctr_info type. | |
6913 | * libgcov.c (__gcov_merge_add): New. | |
6914 | (gcov_exit): Call a hook to merge values of counters. | |
6915 | ||
c71f2ffd GDR |
6916 | 2003-05-04 Gabriel Dos Reis <gdr@integrable-solutions.net> |
6917 | ||
6918 | * toplev.h (pedwarn_with_file_and_line): Don't declare. | |
6919 | * diagnostic.c (pedwarn_with_file_and_line): Remove. | |
6920 | ||
3d885683 GDR |
6921 | 2003-05-04 Gabriel Dos Reis <gdr@integrable-solutions.net> |
6922 | ||
6923 | * varasm.c (assemble_variable): Don't use error_with_file_and_line. | |
6924 | ||
8c9b38d7 KG |
6925 | 2003-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
6926 | ||
6927 | * builtins.c (expand_builtin_constant_p, expand_builtin_strlen, | |
6928 | expand_builtin_frame_address): Update prototypes. | |
6929 | (expand_builtin_constant_p, expand_builtin_strlen, | |
6930 | expand_builtin_strcpy, expand_builtin_memset, | |
6931 | expand_builtin_bzero, expand_builtin_args_info, | |
6932 | expand_builtin_frame_address): Pass in just the argument(s) | |
6933 | needed, not the entire expression `exp'. | |
6934 | (expand_builtin): Update all calls to these functions. | |
6935 | ||
9c80ff25 RH |
6936 | 2003-05-03 Richard Henderson <rth@redhat.com> |
6937 | ||
6938 | * builtins.c (expand_builtin) <BUILT_IN_DWARF_FP_REGNUM>: Remove. | |
6939 | <BUILT_IN_DWARF_SP_COLUMN>: New. | |
6940 | * builtins.def (BUILT_IN_DWARF_FP_REGNUM): Remove. | |
6941 | (BUILT_IN_DWARF_SP_COLUMN): New. | |
6942 | * dwarf2out.c (expand_builtin_dwarf_fp_regnum): Remove. | |
6943 | (expand_builtin_dwarf_sp_column): New. | |
6944 | * except.h: Update to match. | |
6945 | * unwind-dw2.c (execute_stack_op): Correct stack push typo. | |
6946 | (execute_cfa_program): Record location expression address | |
6947 | before extracting length. | |
6948 | (uw_update_context_1): Install old CFA into stack pointer column. | |
6949 | (uw_init_context_1): Set cfa_reg to stack pointer column. | |
6950 | ||
4d588c14 RH |
6951 | 2003-05-03 Richard Henderson <rth@redhat.com> |
6952 | ||
6953 | * config/rs6000/rs6000.c (constant_pool_expr_p): Make static and | |
6954 | return bool. | |
6955 | (toc_relative_expr_p): Likewise. | |
6956 | (SPE_CONST_OFFSET_OK): Move from rs6000.h. | |
6957 | (legitimate_constant_pool_address_p): Move from rs6000.h, change | |
6958 | into a function, downcase all users. | |
6959 | (legitimate_small_data_p): Likewise. | |
6960 | (legitimate_offset_address_p): Likewise. | |
6961 | (legitimate_indexed_address_p): Likewise. | |
6962 | (legitimate_indirect_address_p): Likewise. | |
6963 | (legitimate_lo_sum_address_p): Likewise. | |
6964 | (rs6000_mode_dependent_address): Likewise. | |
6965 | * rs6000.h (CONSTANT_POOL_EXPR_P, TOC_RELATIVE_EXPR_P): Remove. | |
6966 | (SPE_CONST_OFFSET_OK, LEGITIMATE_CONSTANT_POOL_ADDRESS_P, | |
6967 | LEGITIMATE_SMALL_DATA_P, LEGITIMATE_OFFSET_ADDRESS_P, | |
6968 | LEGITIMATE_INDEXED_ADDRESS_P, LEGITIMATE_INDIRECT_ADDRESS_P, | |
6969 | LEGITIMATE_LO_SUM_ADDRESS_P): Move into rs6000.c. | |
6970 | (LEGITIMATE_ADDRESS_INTEGER_P): Remove. | |
6971 | (GO_IF_MODE_DEPENDENT_ADDRESS): Use rs6000_mode_dependent_address. | |
6972 | * config/rs6000/rs6000-protos.h: Update. | |
6973 | ||
8d90f9c0 GK |
6974 | 2003-05-03 Geoffrey Keating <geoffk@apple.com> |
6975 | ||
b39358e1 GK |
6976 | * config/rs6000/rs6000.h (REVERSIBLE_CC_MODE): Define. |
6977 | (REVERSE_CONDITION): Define. | |
6978 | ||
b7053a3f GK |
6979 | * config/rs6000/rs6000.c (scc_comparison_operator): Make equivalent |
6980 | to branch_positive_comparison_operator. | |
6981 | (ccr_bit): Check that sCOND conditions are actually a positive bit. | |
6982 | (print_operand): Remove %D substitution. | |
6983 | (rs6000_emit_sCOND): Generate complement operation to ensure that | |
6984 | sCOND input is a positive bit. | |
6985 | * config/rs6000/rs6000.md: Rearrange sCOND templates to be in the | |
6986 | same order as bCOND, and add the missing ones. Remove the %D | |
6987 | substitutions from the scc patterns. | |
6988 | ||
8d90f9c0 GK |
6989 | * simplify-rtx.c (simplify_relational_operation): Add case for |
6990 | ! (fabs(x) < 0.0). | |
6991 | ||
8882ac3a BK |
6992 | 2003-05-03 Bruce Korb <bkorb@gnu.org> |
6993 | ||
6994 | * gcc/fixinc/fixincl.tpl(dne): restore this to force merge conflicts | |
6995 | in fixincl.x | |
6996 | * gcc/fixinc/inclhack.def(bsd_stdio_attrs_conflict): fix placement | |
6997 | ||
bd879e9a AH |
6998 | 2003-05-03 Aldy Hernandez <aldyh@redhat.com> |
6999 | ||
4d588c14 | 7000 | * config/rs6000/spe.h: Remove unecessary casts. Misc cleanups. |
bd879e9a | 7001 | |
87f85ea0 ZW |
7002 | 2003-05-03 Zack Weinberg <zack@codesourcery.com> |
7003 | ||
7004 | PR c/10604 | |
7005 | * c-common.c (warn_sign_compare): Initialize to -1. | |
7006 | * c-opts.c (c_common_init_options): Don't set warn_sign_compare here. | |
7007 | (c_common_decode_option <OPT_Wall>): Set warn_sign_compare | |
7008 | for C++ only. | |
7009 | (c_common_post_options): Set warn_sign_compare from extra_warnings | |
7010 | if it's still -1 at this point. | |
7011 | ||
7012 | * toplev.c (maybe_warn_unused_parameter): New static variable. | |
7013 | (set_Wextra): New static function. | |
7014 | (W_options): Remove "extra". | |
7015 | (decode_W_option): Call set_Wextra. | |
7016 | (independent_decode_option): Likewise. | |
7017 | (set_Wunused): Cooperate with set_Wextra in setting | |
7018 | warn_unused_parameter. | |
7019 | (rest_of_compilation): No need to check extra_warnings as | |
7020 | well as warn_uninitialized. | |
7021 | ||
7022 | * c-typeck.c (build_binary_op, build_conditional_expr): | |
7023 | No need to check extra_warnings as well as warn_sign_compare. | |
7024 | (internal_build_compound_expr): No need to check extra_warnings | |
7025 | as well as warn_unused_value. | |
7026 | * function.c (expand_function_end): No need to check extra_warnings | |
7027 | as well as warn_unused_parameter. | |
7028 | * stmt.c (expand_expr_stmt_value): No need to check extra_warnings | |
7029 | as well as warn_unused_value. | |
7030 | ||
7031 | * doc/invoke.texi: Clarify documentation of -Wsign-compare. | |
7032 | ||
7033 | * Makefile.in: Disable -Werror for gengtype-lex.o. | |
7034 | ||
ee960939 OH |
7035 | 2003-05-03 Olivier Hainque <hainque@act-europe.fr> |
7036 | ||
7037 | * emit-rtl.c (last_call_insn, add_function_usage_to): New functions. | |
7038 | * rtl.h (last_call_insn, add_function_usage_to): New prototypes. | |
7039 | * builtins.c (expand_builtin_apply): Use the new emit-rtl functions. | |
7040 | * calls.c (emit_call_1): Likewise. | |
87f85ea0 | 7041 | (expand_call): For calls initializing constant memory, replace |
ee960939 OH |
7042 | emission of standalone mem /u clobber with function usage entry. |
7043 | * expr.c (emit_block_move_via_libcall): Likewise. | |
7044 | * cse.c (count_reg_usage, case EXPR_LIST): New case. | |
7045 | * flow.c (propagate_one_insn): Pass entire operand of | |
7046 | CALL_INSN_FUNCTION_USAGE to mark_used_regs. | |
7047 | * integrate.c (try_constants): For CALL_INSNs, substitute constants | |
7048 | within the FUNCTION_USAGE also. | |
7049 | * loop.c (prescan_loop): Note clobbers of const mem mentioned in | |
7050 | FUNCTION_USAGE lists. | |
7051 | * reload1.c (replace_pseudos_in): Renamed. | |
7052 | (reload): Use it for clobbers surviving until the end of the reload. | |
7053 | ||
3923e410 RK |
7054 | 2003-05-03 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
7055 | ||
13cf99ec RK |
7056 | * expr.c (expand_expr, case VIEW_CONVERT_EXPR): Don't use |
7057 | gen_lowpart on non-integer modes. | |
7058 | ||
3923e410 RK |
7059 | * stor-layout.c (place_field): When adjusting offset_align, use |
7060 | desired_align, not DECL_ALIGN. | |
7061 | ||
070588f0 NS |
7062 | 2003-05-03 Nathan Sidwell <nathan@codesourcery.com> |
7063 | ||
7064 | * c-decl.c (pending_invalid_xref_file): Remove. | |
7065 | (pending_invalid_xref_line): Remove. | |
7066 | (pending_invalid_xref_location): New. | |
7067 | (lookup_label): Use location_t and input_location directly. | |
7068 | (lookup_tag): Likewise. | |
7069 | (pending_xref_error): Likewise. | |
7070 | (c_expand_body_1): Likewise. | |
7071 | * c-common.c (x_expand_start_cond): Likewise. | |
7072 | * c-semantics.c (genrtl_for_stmt): Likewise. | |
7073 | (find_reachable_label): Likewise. | |
7074 | * expr.c (expand_expr): Likewise. | |
7075 | * integrate.c (output_inline_function): Likewise. | |
7076 | * tree-inline.c (find_alloca_call): Likewise. | |
7077 | (find_builtin_longjmp_call): Likewise. | |
7078 | * gcc.c (input_filename): Make static. | |
87f85ea0 | 7079 | |
b259a9a6 RS |
7080 | 2003-05-03 Richard Sandiford <rsandifo@redhat.com> |
7081 | ||
969c6c43 RS |
7082 | * config/mips/mips.md: Fix comment typo. |
7083 | ||
b259a9a6 RS |
7084 | * config/mips/mips.c (mips_integer_op): New structure. |
7085 | (MIPS_MAX_INTEGER_OPS): Define. | |
7086 | (mips_const_insns): Use mips_build_integer to determine the number | |
7087 | of instructions needed to load a CONST_INT. | |
7088 | (move_operand): Reject compound CONST_INTs. | |
7089 | (mips_build_shift, mips_build_lower, mips_build_integer): New fns. | |
7090 | (mips_move_integer): New fn. | |
7091 | (mips_legitimize_const_move): Pass CONST_INTs to mips_move_integer. | |
7092 | (mips_legitimize_move): Only legitimize constants when moving | |
7093 | word or subword values. | |
7094 | ||
28068c2c MK |
7095 | 2003-05-02 Matt Kraai <kraai@alumni.cmu.edu> |
7096 | ||
7097 | * Makefile.in (gcov-iov.h): Use move-if-change and a stamp. | |
7098 | ||
685828f7 KG |
7099 | 2003-05-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
7100 | ||
7101 | * builtins.c (expand_builtin_stpcpy): Copy `arglist' before | |
7102 | modifying it. | |
7103 | ||
d9e95c63 FH |
7104 | 2003-05-03 Falk Hueffner <falk.hueffner@student.uni-tuebingen.de> |
7105 | Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> | |
7106 | ||
7107 | * doc/contrib.texi (Contributors): Add Zdenek Dvorak, Aldy | |
7108 | Hernandez, and Kazu Hirata. Update Richard Henderson. | |
7109 | ||
7454096f GK |
7110 | 2003-05-02 Geoffrey Keating <geoffk@apple.com> |
7111 | ||
b86fe7b4 GK |
7112 | * config/rs6000/rs6000.c (rs6000_attribute_table): Add 'extern' |
7113 | to tentative declaration. | |
87f85ea0 | 7114 | |
20bfcd69 GK |
7115 | * config/rs6000/sysv4.h (SYMBOL_FLAG_SMALL_V4): Delete. |
7116 | (SYMBOL_FLAG_SMALL_V4): Delete. | |
7117 | * config/rs6000/rs6000.c (small_data_operand): Use SYMBOL_REF_SMALL_P. | |
7118 | (rs6000_elf_encode_section_info): Don't set SYMBOL_FLAG_SMALL_V4. | |
7119 | (rs6000_elf_in_small_data_p): Add extra section names. Add | |
7120 | comment about TREE_PUBLIC test. | |
7121 | ||
7454096f GK |
7122 | * c-semantics.c (genrtl_switch_stmt, genrtl_if_stmt): Call |
7123 | expand_stmt on result of expand_unreachable_stmt. | |
7124 | ||
3f4a3170 GP |
7125 | 2003-05-02 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
7126 | ||
7127 | * doc/contrib.texi (Contributors): Add Daniel Berlin. | |
7128 | ||
473f51b6 DE |
7129 | 2003-05-02 David Edelsohn <edelsohn@gnu.org> |
7130 | ||
7131 | * config/rs6000/{603.md,6xx.md,7450.md,7xx.md,rs64.md}: Decrease | |
7132 | number of automata. | |
7133 | ||
7134 | * config/rs6000/rs6000.c (symbol_ref_operand): Check | |
7135 | SYMBOL_REF_FUNCTION_P on AIX. | |
7136 | (current_file_function_operand): Same. | |
7137 | * config/rs6000/rs6000.md (call,call_value): Force non-function | |
7138 | symbol_ref into register on AIX. | |
7139 | ||
e7949876 AM |
7140 | 2003-05-02 Alan Modra <amodra@bigpond.net.au> |
7141 | ||
7142 | * calls.c (struct arg_data): Move offset, slot_offset, size and | |
7143 | alignment_pad to struct locate_and_pad_arg_data. Update all refs. | |
7144 | (initialize_argument_information): Adjust call to locate_and_pad_parm. | |
7145 | Delete alignment_pad var. Don't calculate slot_offset here. | |
7146 | (emit_library_call_value_1): Delete alignment_pad, offset and size | |
7147 | vars. Use struct locate_and_pad_arg_data instead. Adjust refs. | |
7148 | Adjust call to locate_and_pad_parm. Don't tweak arg size for | |
7149 | partial in-regs here. Formatting fixes. | |
7150 | * expr.h (struct locate_and_pad_arg_data): New struct. | |
7151 | (locate_and_pad_parm): Adjust declaration. | |
7152 | * function.c (assign_parms): Localize vars. Use "locate" instead of | |
7153 | other arg location vars. Don't invoke FUNCTION_ARG or | |
7154 | FUNCTION_INCOMING_ARG unless pretend_named is different from | |
7155 | named_arg. Heed MUST_PASS_IN_STACK and set up "partial" before | |
7156 | calling locate_and_pad_parm. Adjust locate_and_pad_parm call. | |
7157 | Use slot_offset for stack home of reg parms. Correct test for | |
7158 | parm passed in memory. Formatting fixes. | |
7159 | (locate_and_pad_parm): Add "partial" to params. Replace offset_ptr | |
7160 | arg_size_ptr and alignment pad with "locate". Set slot_offset here. | |
7161 | Correct initial_offset_ptr handling. Localize vars. Always pad | |
7162 | locate->offset even when in_regs. | |
7163 | ||
6060edcb NS |
7164 | 2003-05-02 Nathan Sidwell <nathan@codesourcery.com> |
7165 | ||
7166 | * Makefile.in (TREE_H): Replace location.h with input.h. | |
7167 | (GTFILES) Remove location.h | |
7168 | (gt-lists.h): Replace gt-location.h with gt-input.h | |
7169 | * input.h (input_filename, input_line): Remove variables. | |
7170 | (location_s, location_t): Move from location.h. | |
7171 | (input_location): New. | |
7172 | (input_filename, input_line): New #defines. | |
7173 | * location.h: Remove. | |
7174 | * tree.h: Replace location.h with input.h. | |
7175 | (input_filename, input_line): Remove. | |
7176 | * diagnostic.h: Replace location.h with input.h. | |
7177 | * gcc.h (input_filename, input_filename_length): Remove declarations. | |
7178 | * toplev.c (input_filename, input_line): Remove. | |
7179 | (input_location): Define. | |
7180 | (push_srcloc, pop_srcloc): Adjust. | |
7181 | * diagnostic.c (diagnostic_report_current_module): Adjust. | |
7182 | ||
f8000836 NC |
7183 | 2003-05-02 Nick Clifton <nickc@redhat.com> |
7184 | ||
7185 | * configure.in: Add xstormy16 to list of targets that has a nop | |
7186 | instruction and hence which can be tested to see if the | |
7187 | assembler supports the --gdwarf2 switch. | |
7188 | * configure: Regenerate. | |
7189 | ||
409f52d3 | 7190 | 2003-05-01 Falk Hueffner <falk.hueffner@student.uni-tuebingen.de> |
87f85ea0 ZW |
7191 | |
7192 | PR target/8257 | |
7193 | * config/alpha/alpha.c (alpha_sa_mask, alpha_expand_prologue, | |
7194 | alpha_start_function, alpha_expand_epilogue, unicosmk_gen_dsib): | |
7195 | Avoid undefined shifts by making the shift operand unsigned. | |
7196 | ||
57458e8a DD |
7197 | 2003-05-01 DJ Delorie <dj@redhat.com> |
7198 | ||
7199 | * reload.c (find_reloads): Also check that all of a multi-reg | |
7200 | value is in the class. | |
7201 | ||
774cb6d1 NS |
7202 | 2003-05-01 Nathan Sidwell <nathan@codesourcery.com> |
7203 | ||
7204 | * scan.h (lineno): Revert the rename here. | |
7205 | ||
e1a4211d SS |
7206 | 2003-05-01 Stan Shebs <shebs@apple.com> |
7207 | ||
7208 | * config/darwin.c (darwin_encode_section_info): Call | |
7209 | default_encode_section_info. | |
7210 | ||
02ca7595 DE |
7211 | 2003-05-01 David Edelsohn <edelsohn@gnu.org> |
7212 | ||
7213 | * config/rs6000/rs6000.md (define_attr "type"): Add mfjmpr. | |
7214 | (movsi_internal1): Use new mfjmpr attribute. | |
7215 | (movhi_internal): Same. | |
7216 | (movqi_internal): Same. | |
7217 | (movcc_internal1): Same. | |
7218 | (movdi_internal64): Same. | |
7219 | * config/rs6000/{40x.md,603.md,6xx.md,7450.md,7xx.md,mpc.md, | |
7220 | power4.md,rios1.md,rios2.md,rs64.md}: Add mfjmpr. | |
7221 | * config/rs6000/40x.md: Add fpu_405. | |
7222 | * config/rs6000/power4.md: Merge power4lsu and power4disp automata | |
7223 | into power4misc automata. Remove extraneous parentheses. | |
7224 | * config/rs6000/440.md: New file. | |
7225 | * config/rs6000/rs6000.c (processor_target_table): Add 440, | |
7226 | 440fp. Rename 405f to 405fp. | |
7227 | (function_arg_padding): Correct formatting. | |
7228 | (rs6000_rtx_costs): Add PROCESSOR_PPC440 cases. | |
7229 | ||
3b895f8e NS |
7230 | 2003-05-01 Nathan Sidwell <nathan@codesourcery.com> |
7231 | ||
d479d37f NS |
7232 | * input.h (lineno): Rename to ... |
7233 | (input_line): ... here. | |
7234 | * tree.h (lineno): Rename to ... | |
7235 | (input_line): ... here. | |
7236 | * scan.h (lineno): Rename to ... | |
7237 | (input_line): ... here. | |
7238 | * toplev.c (lineno): Rename to ... | |
7239 | (input_line): ... here. | |
7240 | (push_srcloc, pop_srcloc): Rename lineno to input_line. | |
7241 | * c-common.c (c_expand_start_cond, fname_decl): Likewise. | |
7242 | * c-decl.c (poplevel, pop_label_level, lookup_label, lookup_tag, | |
7243 | store_parm_decls, c_expand_body_1): Likewise. | |
7244 | * c-errors.c (pedwarn_c99): Likewise. | |
7245 | * c-format.c (status_warning): Likewise. | |
7246 | * c-lex.c (fe_file_change, cb_def_pragma, c_lex): Likewise. | |
7247 | * c-opts.c (c_common_post_options, c_common_parse_file): Likewise. | |
7248 | * c-parse.in (save_filename, maybe_type_qual, ifc): Likwise. | |
7249 | * c-semantics.c (finish_stmt_tree, build_stmt, emit_local_var, | |
7250 | gentrtl_goto_stmt, genrtl_expr_stmt_value, genrtl_decl_stmt, | |
7251 | genrtl_if_stmt, genrtl_while_stmt, genrtl_do_stmt, | |
7252 | genrtl_return_stmt, genrtl_for_stmt, build_break_stmt, | |
7253 | build_continue_stmt, genrtl_switch_stmt, genrtl_asm_stmt, | |
7254 | prep_stmt, find_reachable_label, expand_unreachable_stmt): Likewise. | |
7255 | * coverage.c (create_coverage): Likewise. | |
7256 | * diagnostic.c (pedwarn, sorry, error, fatal_error, | |
7257 | internal_error, warning, diagnostic_report_current_module, | |
7258 | inform): Likewise. | |
7259 | * expr.c (expand_expr): Likewise. | |
7260 | * integrate.c (expand_inline_function, | |
7261 | output_inline_function): Likewise. | |
7262 | * rtl-error.c (file_and_line_for_asm): Likewise. | |
7263 | * tree-inline.c (find_alloca_call, find_builtin_longjmp_call, | |
7264 | walk_tree): Likewise. | |
7265 | * tree.c (make_node): Likewise. | |
7266 | * ada, cp, f, java, objc, treelang: Likewise. | |
7267 | * objc/objc-act.c (objc_init): Rename lineno to input_line. | |
7268 | (build_module_descriptor, build_selector_translation_table, | |
7269 | build_protocol_template, build_method_prototype_list_template, | |
7270 | build_category_template, build_selector_table, | |
7271 | build_class_template, build_super_template, build_ivar_template, | |
7272 | build_ivar_list_template, build_method_list_template, | |
7273 | build_method_template, add_instance_variable): Likewise. | |
7274 | ||
3b895f8e NS |
7275 | * dwarf2out.c (dwarf2out_init, dwarf2out_finish): Change parameter |
7276 | name from input_filename. | |
7277 | ||
cafe096b EC |
7278 | 2003-04-30 Eric Christopher <echristo@redhat.com> |
7279 | Richard Sandiford <rsandifo@redhat.com> | |
7280 | ||
7281 | * configure: Regenerate from patches below. | |
7282 | * combine.c (gen_lowpart_for_combine): Fix comment and add tests | |
7283 | for all symbolic operands. | |
7284 | * config/mips/mips.c: Migrate RTX_COSTS and CONST_COSTS | |
7285 | to function. | |
7286 | * config/mips/linux.h: Fix typo. | |
7287 | * Merge from mips-3_4-rewrite branch: | |
7288 | ||
7289 | 2003-04-07 Richard Sandiford <rsandifo@redhat.com> | |
7290 | ||
87f85ea0 ZW |
7291 | * config/mips/mips.c (mips_classify_symbol): Add catch-all case for |
7292 | handling local labels when TARGET_ABICALLS. | |
cafe096b EC |
7293 | |
7294 | 2003-04-04 Richard Sandiford <rsandifo@redhat.com> | |
7295 | ||
87f85ea0 ZW |
7296 | * config/mips/mips-protos.h (mips_expand_epilogue): Add an |
7297 | integer argument. | |
7298 | (mips_expand_call): Likewise. | |
7299 | * config/mips/mips.h (TARGET_SIBCALLS): New macro. | |
7300 | (FIXED_REGISTERS): Clear $31 entry. | |
7301 | (CALL_USED_REGISTERS, CALL_REALLY_USED_REGISTER): Likewise. | |
7302 | (EPILOGUE_USES): Define. | |
7303 | * config/mips/mips.c (mips_function_ok_for_sibcall): New function. | |
7304 | (TARGET_FUNCTION_OK_FOR_SIBCALL): Use it. | |
7305 | (override_options): Add a 'j' register class. | |
7306 | (mips_expand_call): Handle sibcalls | |
7307 | (mips_expand_epilogue): Handle epilogues for sibcalls. | |
7308 | * config/mips/mips.md (epilogue): Adjust call to mips_expand_epilogue. | |
7309 | (sibcall_epilogue): New pattern. | |
7310 | (call, call_value): Adjust calls to mips_expand_call. | |
7311 | (sibcall, sibcall_value): New expanders. | |
7312 | (sibcall_internal, sibcall_value_internal): New patterns. | |
7313 | (sibcall_value_multiple_internal): New pattern. | |
cafe096b EC |
7314 | |
7315 | 2003-03-25 Richard Sandiford <rsandifo@redhat.com> | |
7316 | ||
87f85ea0 ZW |
7317 | * config/mips/mips.md (extended_mips16): New attribute. |
7318 | (define_attr length): Default to 8 if extended_mips16 == yes. | |
7319 | (truncdisi2): Set extended_mips16 to yes for the sll alternative. | |
7320 | (truncdihi2, truncdiqi2, *extendsidi2): Likewise. | |
7321 | (call_internal): Set extended_mips16 to yes for direct jumps. | |
7322 | Remove redundant mode attribute. | |
7323 | (call_value_internal, call_value_multiple_internal): Likewise. | |
7324 | (call_split): Remove redundant mode attribute. | |
7325 | (call_value_split, call_value_multiple_split): Likewise. | |
cafe096b | 7326 | |
87f85ea0 ZW |
7327 | * config/mips/mips.c (mips_symbol_insns): Rework. Fix handling |
7328 | of unaligned offsets. | |
cafe096b | 7329 | |
0d569849 | 7330 | * config/mips/mips.c (mips_splittable_symbol_p): Fix handling |
87f85ea0 | 7331 | of SYMBOL_GENERAL. |
cafe096b EC |
7332 | |
7333 | 2003-03-22 Richard Sandiford <rsandifo@redhat.com> | |
7334 | ||
87f85ea0 ZW |
7335 | * config/mips/mips.h (TARGET_EXPLICIT_RELOCS): Add commentary. |
7336 | * config/mips/mips.c (override_options): Disable -mexplicit-relocs | |
7337 | for mips16 code. | |
cafe096b EC |
7338 | |
7339 | 2003-03-22 Richard Sandiford <rsandifo@redhat.com> | |
7340 | ||
87f85ea0 | 7341 | * config/mips/mips.h (ADDRESS_COST): Define. |
cafe096b EC |
7342 | |
7343 | 2003-03-20 Richard Sandiford <rsandifo@redhat.com> | |
7344 | ||
87f85ea0 ZW |
7345 | * config/mips/mips.h (EXTRA_CONSTRAINT): Give existing meaning of |
7346 | 'R' to 'U'. Make 'R' mean a single-instruction memory reference. | |
7347 | * config/mips/mips.md: Replace 'R' constraints with 'U'. | |
cafe096b EC |
7348 | |
7349 | 2003-03-18 Richard Sandiford <rsandifo@redhat.com> | |
7350 | ||
87f85ea0 ZW |
7351 | * config/mips/mips.md (truncdisi2): Add commentary. Use sll instead |
7352 | of a two-instruction sequence. Add register->memory alternative. | |
7353 | (truncdihi2, truncdiqi2): Likewise. | |
7354 | Rework shift/truncate instructions so that they only handle right | |
7355 | shifts of 32 (or more, in the case of arithmetic shifts). | |
7356 | Add patterns for truncate/sign-extend. | |
cafe096b EC |
7357 | |
7358 | 2003-03-13 Richard Sandiford <rsandifo@redhat.com> | |
7359 | ||
87f85ea0 ZW |
7360 | * configure.in (mips*-*-*): Check for explicit relocation support. |
7361 | * configure: Regenerate. | |
cafe096b EC |
7362 | |
7363 | 2003-03-13 Richard Sandiford <rsandifo@redhat.com> | |
7364 | ||
87f85ea0 ZW |
7365 | * config/mips/mips.h (TARGET_SWITCHES): Add -mexplicit-relocs |
7366 | and -mno-explicit-relocs. | |
7367 | (MASK_EXPLICIT_RELOCS): Define. | |
7368 | (TARGET_EXPLICIT_RELOCS): Use it. | |
7369 | (mips_split_addresses): Remove declaration. | |
7370 | * config/mips/mips.c (override_options): Update comment for | |
7371 | mips_split_addresses. Clear MASK_EXPLICIT_RELOCS for non-PIC n64. | |
cafe096b EC |
7372 | |
7373 | 2003-03-13 Richard Sandiford <rsandifo@redhat.com> | |
7374 | ||
87f85ea0 ZW |
7375 | * combine.c (gen_lowpart_for_combine): Treat the lowpart Pmode of |
7376 | a CONST as identity. Check the return value of gen_lowpart_common. | |
cafe096b EC |
7377 | |
7378 | 2003-03-13 Richard Sandiford <rsandifo@redhat.com> | |
7379 | ||
87f85ea0 ZW |
7380 | * config/mips/mips.c (mips_legitimize_symbol): Handle small data |
7381 | references for TARGET_EXPLICIT_RELOCS. | |
7382 | (mips_reloc_string): Return "%gp_rel(" for RELOC_GPREL16 if | |
7383 | !TARGET_MIPS16. | |
cafe096b EC |
7384 | |
7385 | 2003-03-13 Richard Sandiford <rsandifo@redhat.com> | |
7386 | ||
87f85ea0 ZW |
7387 | * config/mips/mips.md: Replace 'IQ' mips16 constraints with just 'Q'. |
7388 | (addsi3): Remove redundant constraints. | |
7389 | (addsi3_internal): Use separate register & constant alternatives. | |
7390 | Use a 'Q' constraint and "addiu" insn for the latter. | |
7391 | (adddi3_internal_3, addsi3_internal_2): Likewise. | |
cafe096b EC |
7392 | |
7393 | 2003-03-13 Richard Sandiford <rsandifo@redhat.com> | |
7394 | ||
87f85ea0 ZW |
7395 | * config/mips/mips-protos.h (mips_expand_unaligned_load): Declare. |
7396 | (mips_expand_unaligned_store): Declare. | |
7397 | * config/mips/mips.c (mips_get_unaligned_mem): New fn. | |
7398 | (mips_expand_unaligned_load, mips_expand_unaligned_store): New fns. | |
7399 | * config/mips/mips.md (UNSPEC_ULW, UNSPEC_USW): Remove. | |
7400 | (UNSPEC_ULD, UNSPEC_USD): Remove. | |
7401 | (UNSPEC_LWL, UNSPEC_LWR, UNSPEC_SWL, UNSPEC_SWR): New. | |
7402 | (UNSPEC_LDL, UNSPEC_LDR, UNSPEC_SDL, UNSPEC_SDR): New. | |
7403 | (extv, extzv): Use mips_expand_unaligned_load. | |
7404 | (insv): Use mips_expand_unaligned_store. Use a reg_or_0_operand | |
7405 | predicate for operand 3. | |
7406 | (movsi_ulw, movsi_usw): Replace with... | |
7407 | (mov_lwl, mov_lwr, mov_swl, move_swr): ...these new insns. | |
7408 | (movdi_uld, movdi_usd): Likewise replace with... | |
7409 | (mov_ldl, mov_ldr, mov_sdl, move_sdr): ...these insns. | |
cafe096b EC |
7410 | |
7411 | 2003-02-26 Richard Sandiford <rsandifo@redhat.com> | |
7412 | ||
87f85ea0 ZW |
7413 | * config/mips/mips-protos.h (mips_global_pic_constant_p): Declare. |
7414 | * config/mips/mips.h (LEA_REGS): New register class. | |
7415 | (REG_CLASS_NAMES, REG_CLASS_CONTENTS): Add entries for it. | |
7416 | (GR_REG_CLASS_P): Include LEA_REGS. | |
7417 | (DANGEROUS_FOR_LA25_P): New macro. | |
7418 | (EXTRA_CONSTRAINT): Add !DANGEROUS_FOR_LA25_P to R's condition. | |
7419 | Add a T constraint for the DANGEROUS_FOR_LA25_P case. | |
7420 | * config/mips/mips.c (mips_regno_to_class): Change GR_REGS | |
7421 | entries to LEA_REGS. | |
7422 | (mips_global_pic_constant_p): New function. | |
7423 | (override_options): Add 'e' register constraint. | |
7424 | (mips_secondary_reload_class): Return LEA_REGS when reloading | |
7425 | a dangerous constant into a class containing $25. | |
7426 | * config/mips/mips.md (movdi_internal2): Add an e <- T alternative. | |
7427 | (movsi_internal): Likewise. | |
cafe096b EC |
7428 | |
7429 | 2003-02-23 Richard Sandiford <rsandifo@redhat.com> | |
7430 | ||
87f85ea0 ZW |
7431 | * config/mips/mips.h (TARGET_SPLIT_CALLS): New macro. |
7432 | * config/mips/mips.md (call_split): New insn. | |
7433 | (call_value_split, call_value_multiple_split): New insns. | |
7434 | (call_internal): Turn into a define_insn_and_split. Split the | |
7435 | instruction into a call and $gp load if TARGET_SPLIT_CALLS. | |
7436 | (call_value_internal, call_value_multiple_internal): Likewise. | |
cafe096b EC |
7437 | |
7438 | 2003-02-23 Richard Sandiford <rsandifo@redhat.com> | |
7439 | ||
87f85ea0 ZW |
7440 | * config/mips/mips.c (mips_reloc_string): Return "%got(" for |
7441 | RELOC_GOT_PAGE and RELOC_GOT_DISP if !TARGET_NEWABI. | |
7442 | (mips_encode_section_info): Don't take symbol visibility into | |
7443 | account if TARGET_ABICALLS. Add more commentary. | |
7444 | * config/mips/mips.md: Add commentary above reloc constants. | |
cafe096b EC |
7445 | |
7446 | 2003-02-12 Richard Sandiford <rsandifo@redhat.com> | |
7447 | ||
87f85ea0 ZW |
7448 | * config/mips/mips.c (mips_legitimize_const_move): New, extracted |
7449 | from mips_legitimize_move. Legitimize constant pool references. | |
7450 | (mips_legitimize_move): Call mips_legitimize_const_move. Attach | |
7451 | a REG_EQUAL note to the last instruction. | |
cafe096b EC |
7452 | |
7453 | 2003-02-11 Richard Sandiford <rsandifo@redhat.com> | |
7454 | ||
87f85ea0 ZW |
7455 | * config/mips/mips-protos.h (mips_simplify_dwarf_addr): Declare. |
7456 | * config/mips/mips.h (TARGET_EXPLICIT_RELOCS, TARGET_NEWABI): New. | |
7457 | (ASM_SIMPLIFY_DWARF_ADDR): Define to mips_simplify_dwarf_addr. | |
7458 | (EXTRA_CONSTRAINT): Allow symbolic call addresses for TARGET_ABICALLS. | |
7459 | * config/mips/mips.md (UNSPEC_HIGH): New constant. | |
7460 | (UNSPEC_RELOC_GPREL16): Rename to... | |
7461 | (RELOC_GPREL16): ...this. | |
7462 | (RELOC_GOT_HI, RELOC_GOT_LO, RELOC_GOT_PAGE, RELOC_GOT_DISP): New. | |
7463 | (RELOC_CALL16, RELOC_CALL_HI, RELOC_CALL_LO): New. | |
7464 | (macro_calls): New attribute. | |
7465 | (length): Use it to set the default length of calls. Don't allow | |
7466 | calls to have delay slots if macro_calls is "yes". | |
7467 | (luisi, luidi): New patterns. | |
7468 | (lowsi, lowdi): Use '%R' to print the relocation. | |
7469 | (lowdi_extend): Remove. | |
7470 | (loadgp): Remove mode from operand 0. Use '%0' instead of '%a0'. | |
7471 | (call_internal): Merge alternatives. Always use "jal". | |
7472 | (call_value_internal, call_value_multiple_internal): Likewise. | |
7473 | (reloc_gprel16): Remove. | |
7474 | * config/mips/mips.c (mips_got_alias_set): New variable. | |
7475 | (mips_classify_constant): Handle the new relocation constants. | |
7476 | (mips_classify_symbol): Reverse the sense of SYMBOL_REF_FLAG for PIC. | |
7477 | (mips_symbolic_address_p): Return false if generating explicit relocs. | |
7478 | Otherwise allow local PIC symbols to have an offset. | |
7479 | (mips_splittable_symbol_p): New function. | |
7480 | (mips_classify_address): Use it to check whether a LO_SUM is valid. | |
7481 | (mips_const_insns): Always accept HIGH. | |
7482 | (call_insn_operand): Don't accept global symbols if using explicit | |
7483 | relocs. | |
7484 | (move_operand): Don't accept HIGH when generating PIC. | |
7485 | (mips_reloc, mips_lui_reloc): New functions. | |
7486 | (mips_force_temporary): Remove MODE argument. Expect VALUE to | |
7487 | be a valid right-hand-side for a SET pattern. | |
7488 | (mips_load_got, mips_load_got16, mips_load_got32): New functions. | |
7489 | (mips_emit_high): New function. | |
7490 | (mips_legitimize_symbol): Use mips_reloc for the mips16 gp-relative | |
7491 | case. Use mips_splittable_symbol_p to check whether a LO_SUM | |
7492 | address should be used. Use mips_emit_high to generate the | |
7493 | high part of such an address. Adjust the global symbol + offset | |
7494 | case to match the change to mips_force_temprorary. | |
7495 | (mips_legitimize_move): Shuffle call to mips_legitimize_symbol. | |
7496 | If generating explicit-reloc PIC, load the address of global | |
7497 | symbols from the GOT. Use mips_emit_high to emit the high part | |
7498 | of an address. | |
7499 | (mips_simplify_dwarf_addr): New function. | |
7500 | (mips_move_1word): Use lwc1 instead of l.s and swc1 instead of s.s. | |
7501 | (mips_move_2words): Likewise ldc1/l.d and sdc1/s.d if TARGET_64BIT. | |
7502 | (mips_expand_call): Load the addresses of global functions using | |
7503 | %call* relocs if generating explicit-reloc PIC. Don't generate | |
7504 | an exception_receiver pattern. | |
7505 | (override_options): Initialize mips_got_alias_set. | |
6356f892 | 7506 | (print_relocation): Remove in favor of... |
87f85ea0 ZW |
7507 | (mips_reloc_string): ...this new function. |
7508 | (print_operand): Handle '%R'. Use mips_reloc_string. | |
7509 | (print_operand_address): Use print_operand to print the symbolic | |
7510 | part of a LO_SUM address. | |
7511 | (mips_output_function_prologue): Use .cprestore, reverting last patch. | |
7512 | (mips_encode_section_info): Factor out DECL_RTL accesses. Reverse | |
7513 | sense of SYMBOL_REF_FLAG for PIC, using binds_local_p to check | |
7514 | for local symbols. | |
cafe096b EC |
7515 | |
7516 | 2003-02-02 Eric Christopher <echristo@redhat.com> | |
7517 | ||
0d569849 | 7518 | * config/mips/mips.c (mips_sign_extend): Remove. |
87f85ea0 ZW |
7519 | * config/mips/mips-protos.h: Ditto. |
7520 | * config/mips/mips.md (movdi_internal2_extend): Remove. | |
7521 | (extendsidi2): Fix mode of convert_memory_address. | |
cafe096b EC |
7522 | |
7523 | 2003-01-24 Eric Christopher <echristo@redhat.com> | |
7524 | ||
87f85ea0 ZW |
7525 | * config/mips/mips.md: Rewrite zero_extend* and extend* |
7526 | patterns. Use explicit instructions and split after reload | |
7527 | for register extensions. | |
7528 | (ashlsi3_internal1_extend): New combiner pattern for | |
7529 | shift and extend combinations. | |
7530 | * config/mips/mips.h: Change Pmode back to ptr_mode | |
7531 | for performance enhancement. | |
7532 | * combine.c (expand_compound_operation): Make sure | |
7533 | that zero_extend operation is profitable. | |
cafe096b EC |
7534 | |
7535 | 2003-01-14 Richard Sandiford <rsandifo@redhat.com> | |
7536 | ||
87f85ea0 ZW |
7537 | * config/mips/mips.h (TRAMPOLINE_TEMPLATE): Make size of stored |
7538 | addresses depend on ptr_mode rather than Pmode. | |
7539 | (TRAMPOLINE_SIZE, TRAMPOLINE_ALIGNMENT): Update acoordingly. | |
7540 | (INITIALIZE_TRAMPOLINE): Rework to handle Pmode != ptr_mode. | |
7541 | (CASE_VECTOR_MODE): Use ptr_mode for !TARGET_MIPS16. | |
7542 | (ASM_OUTPUT_ADDR_VEC_ELT): Update accordingly. | |
7543 | * config/mips/mips.md (tablejump): Likewise. Remove Pmode | |
7544 | condition for selecting cpaddsi or cpadddi: use cpadd instead. | |
7545 | (tablejump_internal1): Remove condition. | |
7546 | (tablejump_internal2): Change condition to TARGET_64BIT. | |
7547 | (cpaddsi): Rename to... | |
7548 | (cpadd): ...this. | |
7549 | (cpadddi): Remove. | |
cafe096b EC |
7550 | |
7551 | 2003-01-09 Richard Sandiford <rsandifo@redhat.com> | |
7552 | ||
87f85ea0 ZW |
7553 | * config/mips/mips-protos.h (mips16_constant_after_function_p, |
7554 | mips_address_cost, mips_check_split, double_memory_operand, | |
7555 | mips16_gp_offset, mips16_gp_offset_p, mips16_constant, | |
7556 | pic_address_needs_scratch, symbolic_operand): Remove declarations. | |
7557 | (mips_legitimate_address_p): Return bool. | |
7558 | (mips_address_insns, mips_fetch_insns, mips_const_insns, | |
7559 | mips_legitimize_address, mips_legitimize_move, | |
7560 | mips_expand_call): Declare. | |
7561 | (mips_return_addr): Move outside #ifdef RTX_CODE. | |
7562 | ||
7563 | * config/mips/mips.h (ABI_HAS_64BIT_SYMBOLS): New macro. | |
7564 | (PIC_FN_ADDR_REG): New reg_class. | |
7565 | (REG_CLASS_NAMES, REG_CLASS_CONTENTS): Add corresponding entries. | |
7566 | (GR_REG_CLASS_P): True for PIC_FN_ADDR_REG. | |
7567 | (SMALL_OPERAND, SMALL_OPERAND_UNSIGNED, LUI_OPERAND, | |
7568 | CONST_HIGH_PART, CONST_LOW_PART, LUI_INT): New macros. | |
7569 | (SMALL_INT, SMALL_INT_UNSIGNED, CONST_OK_FOR_LETTER_P): Use new macros. | |
7570 | (EXTRA_CONSTRAINTS): Give new meanings to Q, R and S. | |
7571 | (CONSTANT_ADDRESS_P): Use mips_legitimate_address_p. | |
7572 | (LEGITIMATE_PIC_OPERAND): Undefine. | |
7573 | (LEGITIMATE_CONSTANT_P): Use mips_const_insns. | |
7574 | (LEGITIMIZE_ADDRESS): Use mips_legitimize_address. | |
7575 | (CONSTANT_AFTER_FUNCTION_P): Remove definition in #if 0 block. | |
7576 | (FUNCTION_MODE): Change to SImode. | |
7577 | (CONST_COSTS): Use mips_const_insns to calculate the cost of | |
7578 | most constants. Treat const_artih_operands specially if they | |
7579 | occur in a PLUS or MINUS. | |
7580 | (CONSTANT_POOL_COST): New macro. | |
7581 | (RTX_COSTS): Use mips_address_insns for MEMs, with a base cost of 2. | |
7582 | Add LO_SUM handling. | |
7583 | (ADDRESS_COST): Undefine. | |
7584 | (PREDICATE_CODES): Add symbolic_operand and const_arith_operand. | |
7585 | Add CONST to the list of codes for arith_operand. Add LABEL_REF | |
7586 | to call_insn_operand and remove CONST_INT. | |
7587 | ||
7588 | * config/mips/mips.c: Include integrate.h. | |
7589 | (SINGLE_WORD_MODE_P): New macro. | |
7590 | (mips_constant_type, mips_symbol_type, mips_address_type): New enums. | |
7591 | (mips_constant_info, mips_address_info): New structs. | |
7592 | (mips_regno_to_class): Map $25 to PIC_FN_ADDR_REG. | |
7593 | (mips_classify_constant, mips_classify_symbol, | |
7594 | mips_valid_base_register_p, mips_symbolic_address_p, | |
7595 | mips_classify_address, mips_symbol_insns, | |
7596 | mips16_unextended_reference_p, mips_address_insns, mips_const_insns, | |
7597 | mips_fetch_insns, mips_force_temporary, mips_add_offset, | |
7598 | mips_legitimize_symbol, mips_legitimize_address, mips_legitimize_move, | |
7599 | mips_print_relocation): New functions. | |
7600 | (const_arith_operand): New operand predicate. | |
7601 | (arith_operand): Use it. | |
7602 | (mips_const_double_ok, mips16_simple_memory_operand, | |
7603 | simple_memory_operand, double_memory_operand, mips_check_split, | |
7604 | mips_address_cost, pic_address_needs_scratch, mips16_gp_offset, | |
7605 | mips16_gp_offset_p, mips16_output_gp_offset, | |
0d569849 | 7606 | mips16_constant_after_function_p, mips16_constant): Remove. |
87f85ea0 ZW |
7607 | (call_insn_operand): Be more fussy about symbolic constants. |
7608 | Use register_operand. | |
7609 | (move_operand): Use mips_symbolic_address_p to check symbolic | |
7610 | operands and general_operand to check the rest. | |
7611 | (symbolic_operand): Use mips_classify_constant. | |
7612 | (mips_legitimate_address_p): Use mips_classify_address. | |
7613 | (mips_move_1word): Combine handling of symbolic addresses. | |
7614 | Remove special treatment of gp-relative loads for TARGET_MIPS16. | |
7615 | (move_move_2words): Likewise. Assume addresses are offsettable | |
7616 | if they need to refer to more than one word. Add HIGH handling. | |
7617 | (mips_restore_gp): Use ptr_mode for the GP save slot. | |
7618 | (mips_expand_call): New function, combining the old mips.md | |
7619 | call and call_internal define_expands. If the address isn't | |
7620 | a call_insn_operand, force it into a register. For SVR4 PIC, | |
7621 | emit an exception_receiver instruction after the call. | |
7622 | (override_options): Only override flag_pic for TARGET_ABICALLS | |
7623 | if it is currently zero. Allow mips_split_addresses when | |
7624 | Pmode == DImode too, except when ABI_HAS_64BIT_SYMBOLS. | |
7625 | Add new register class letter, 'c'. | |
7626 | (print_operand): Use mips_classify_constant for constant operands. | |
7627 | (print_operand_address): Use mips_classify_address. | |
7628 | (mips_output_function_prologue): Don't use .cprestore. | |
7629 | (mips_expand_epilogue): For TARGET_MIPS16, only adjust the stack | |
7630 | via the frame pointer if current_function_calls_eh_return. | |
7631 | (mips_encode_section_info): For TARGET_ABICALLS, use SYMBOL_REF_FLAG | |
7632 | to mark whether a symbol is local or global. | |
7633 | (build_mips16_call_stub): Expect the address of the function rather | |
7634 | than a MEM reference to it. Update call generation sequences. | |
7635 | (mips16_optimize_gp): Remove Pmode checks. Temporarily disable | |
7636 | small-data adjustments. | |
7637 | ||
7638 | * config/mips/mips.md: Remove 'R'/'m' memory distinction. Use default | |
7639 | length for loads and stores. | |
7640 | (UNSPEC_CPADD, UNSPEC_RELOC_GPREL16): New constants. | |
7641 | (define_attr type): Add const and prefetch. | |
7642 | (define_attr length): Use mips_const_insns for const instructions. | |
7643 | Use mips_fetch_insns for load and store instructions. | |
7644 | (define_attr single_insn): New. | |
7645 | (define_attr can_delay): Use it. | |
7646 | (define_attr abicalls): Remove. | |
7647 | (define_delay): Use can_delay. Always allow calls to have delay slots. | |
7648 | (addsi3_internal_2): Add 'Q' constraint. | |
7649 | (movsi_ulw, movsi_usw, movdi_uld, movdi_usd): Set length to 8. | |
7650 | (high): Remove. | |
7651 | (lowsi): Renamed from low. | |
7652 | (lowdi): New pattern. | |
7653 | (movdi, movsi): Use mips_legitimize_move. Remove define_split. | |
7654 | (lwxc1, ldxc1, swxc1, sdxc1): Set length to 4. | |
7655 | (loadgp): Change operand 0 to an immediate_operand. | |
7656 | (tablejump): Use the same patterns for SVR4 PIC but emit a cpadd | |
7657 | beforehand. | |
7658 | (cpaddsi, cpadddi): New patterns. | |
7659 | (tablejump_internal3, tablejump_internal4): Remove define_expands | |
7660 | and associated define_splits. | |
7661 | (call, call_value): Use mips_expand_call. | |
7662 | (call_internal): New, replacing all existing call_internal* insns. | |
7663 | (call_value_internal): Likewise call_value_internal*. | |
7664 | (call_value_multiple_internal): Likewise call_value_multiple_internal*. | |
7665 | (untyped_call): Remove if (operands[0]) magic. | |
7666 | (prefetch_si_address, prefetch_si): Change type to "prefetch". | |
7667 | (prefetch_di_address, prefetch_di): Likewise. | |
7668 | (leasi, leadi): Remove. | |
7669 | (reloc_gprel16): New. | |
7670 | ||
7671 | * config/mips/5400.md (ir_vr54_hilo): Include const type. | |
7672 | * config/mips/5500.md (ir_vr55_hilo): Likewise. | |
7673 | * config/mips/sr71k.md (ir_sr70_hilo): Likewise. | |
cafe096b EC |
7674 | |
7675 | 2003-01-08 Eric Christopher <echristo@redhat.com> | |
7676 | ||
87f85ea0 ZW |
7677 | * config.gcc (mipsisa32*): Change ABI_MEABI to ABI_EABI. |
7678 | * config/mips/elf.h (STARTFILE_SPEC): Remove ABI_MEABI references and | |
7679 | configure check for libgloss. | |
7680 | * config/mips/elf64.h: Ditto. | |
7681 | * config/mips/mips.c: Remove ABI_MEABI. | |
7682 | * config/mips/mips.h: Ditto. | |
cafe096b EC |
7683 | |
7684 | 2002-11-05 Richard Sandiford <rsandifo@redhat.com> | |
7685 | ||
87f85ea0 ZW |
7686 | Fix merge fallout. |
7687 | * config/mips/mips.md (mul_acc_si): Reapply 2002-10-16 change. | |
7688 | (muldi3_internal): Remove outdated comment. | |
7689 | (*muls_di, *umuls_di): Fix comment and 64-bitness. | |
7690 | (*smsac_di, *umsac_di): Likewise. Reformat. | |
7691 | (umulsi3_highpart): Minor formatting tweaks. | |
7692 | (umulsi3_highpart_internal): Use only if !ISA_HAS_MULHI. Remove | |
7693 | redundant scratch operand. Minor formatting tweak. | |
7694 | (umulsi3_highpart_mulhi_internal): Use for !TARGET_64BIT as well. | |
7695 | (umulsi3_highpart_neg_mulhi_internal): Likewise. Fix asm template. | |
7696 | (smulsi3_highpart): As for the unsigned version. | |
7697 | (smulsi3_highpart_internal): Likewise. | |
7698 | (smulsi3_highpart_mulhi_internal): Likewise. | |
7699 | (smulsi3_highpart_neg_mulhi_internal): Likewise. | |
7700 | (smuldi3_highpart, umuldi3_highpart): Minor formatting tweaks. | |
7701 | (*smul_acc_di): Remove duplicated pattern. | |
7702 | (*umul_acc_di, *smul_acc_di): Reapply 2002-10-16 change. | |
7703 | (anddi3) [unnamed mips16 pattern]: Remove reintroduced length. | |
7704 | (zero_extendsidi2_internal2): Remove new, but commented-out pattern. | |
cafe096b EC |
7705 | |
7706 | 2002-10-22 Eric Christopher <echristo@redhat.com> | |
7707 | ||
87f85ea0 ZW |
7708 | * config/mips/mips-protos.h (mips_return_addr): New. |
7709 | * config/mips/mips.c (mips_return_addr): New. | |
7710 | (movdi_operand): Remove. | |
7711 | (se_register_operand): Ditto. | |
7712 | (se_reg_or_0_operand): Ditto. | |
7713 | (se_uns_arith_operand): Ditto. | |
7714 | (se_arith_operand): Ditto. | |
7715 | (se_nonmemory_operand): Ditto. | |
7716 | (extend_operator): Ditto. | |
7717 | (highpart_shift_operator): Ditto. | |
7718 | (mips_initial_elimination_offset): Remove return address pointer | |
7719 | elimination. | |
7720 | (mips_reg_names): Remove $ra. | |
7721 | (mips_regno_to_class): Ditto. | |
7722 | * config/mips/mips.h (POINTER_SIZE): Define based on TARGET_LONG64 | |
7723 | and TARGET_64BIT. | |
7724 | (POINTER_BOUNDARY): Remove. | |
7725 | (POINTERS_EXTEND_UNSIGNED): Define to 0. | |
7726 | (PROMOTE_MODE): Promote to Pmode. | |
7727 | (SHORT_IMMEDIATES_SIGN_EXTEND): Define. | |
7728 | (Pmode): Define to TARGET_64BIT. | |
7729 | (FUNCTION_MODE): Define as Pmode. | |
7730 | (mips_args): Remove deleted functions. | |
7731 | (SIZE_TYPE): Depend on POINTER_SIZE. | |
7732 | (PTRDIFF_TYPE): Ditto. | |
7733 | (FIXED_REGISTERS): Fix extra registers. | |
7734 | (CALL_USED_REGISTERS): Ditto. | |
7735 | (CALL_REALLY_USED_REGISTERS): Ditto. | |
7736 | (RAP_REG_NUM): Remove. | |
7737 | (RETURN_ADDRESS_POINTER_REGNUM): Ditto. | |
7738 | (RETURN_ADDR_RTX): Define to mips_return_addr. | |
7739 | (ELIMINABLE_REGS): Remove RETURN_ADDRESS_POINTER_REGNUM. | |
7740 | (CAN_ELIMINATE): Ditto. | |
7741 | * config/mips/mips.md: For DImode patterns, take into account | |
7742 | deletions above. Split mulsidi patterns into sign_extend and | |
7743 | zero_extend. | |
cafe096b EC |
7744 | |
7745 | 2002-10-16 Richard Sandiford <rsandifo@redhat.com> | |
87f85ea0 ZW |
7746 | Michael Meissner <meissner@redhat.com> |
7747 | ||
7748 | * config/mips/mips.h (ISA_HAS_MACC): True for normal-mode vr4120 code. | |
7749 | * config/mips/mips.md (mulsi3_mult3): Add a define_peephole2 to | |
7750 | mop up unnecessarly moves through LO. | |
7751 | (*mul_acc_si): Remove vr5400 and vr5500 handling from here. | |
7752 | (*macc): New pattern for ISA_HAS_MACC. Add define_peephole2s to | |
7753 | change mtlo/macc sequences into mul/add sequences when a three- | |
7754 | address mul is available. | |
7755 | (*macc2): New pattern. Add a define_peephole2 to generate it. | |
7756 | (*mul_sub_si): Fix contraint for operand 5. | |
7757 | (*muls): Use in 32-bit code as well. | |
7758 | (*msac): Likewise. Use msub instead of msac in vr5500 code | |
7759 | if the destination is LO. Remove duplicate define_split. | |
7760 | (*muls_di): Use only in 32-bit code. Adjust rtl accordingly. | |
7761 | (*msac_di): Likewise. Fix formatting. | |
7762 | (smulsi3_highpart, umulsi3_highpart): Use mulhi in 32-bit code too. | |
7763 | (*xmulsi3_highpart_internal): Use only if !ISA_HAS_MULHI. | |
7764 | (*xmulsi3_highpart_mulhi): Use even if !TARGET_64BIT. | |
7765 | (*xmulsi3_neg_highpart_mulhi): Likewise. | |
7766 | (*mul_acc_64bit_di): Remove. | |
7767 | (*mul_acc_di): Use only in 32-bit code. Handle ISA_HAS_MACC as well. | |
cafe096b EC |
7768 | |
7769 | 2002-10-14 Richard Sandiford <rsandifo@redhat.com> | |
7770 | ||
87f85ea0 ZW |
7771 | * config/mips/vr.h (DRIVER_SELF_SPECS): Define. |
7772 | * config/mips/t-vr (MULTILIB_OPTIONS): Remove mlong32. | |
7773 | (MULTILIB_DIRNAMES): Remove long32. | |
7774 | (MULTILIB_EXCEPTIONS): Don't build -mabi=32 -mgp32 multilibs. | |
7775 | (MULTILIB_REDUNDANT_DIRS): Remove. | |
cafe096b EC |
7776 | |
7777 | 2002-10-14 Richard Sandiford <rsandifo@redhat.com> | |
7778 | ||
87f85ea0 ZW |
7779 | * doc/tm.texi (DRIVER_SELF_SPECS): Document. |
7780 | * gcc.c (driver_self_specs): New variable. | |
7781 | (do_self_spec): New function. | |
7782 | (main): Use it to process driver_self_specs. | |
cafe096b EC |
7783 | |
7784 | 2002-10-09 Richard Sandiford <rsandifo@redhat.com> | |
7785 | ||
87f85ea0 ZW |
7786 | * config/mips/mips.md (one_cmpldi2): Use only if TARGET_64BIT. |
7787 | Remove DImode define_split for !TARGET_64BIT. | |
7788 | (anddi3): Remove !TARGET_64BIT support from here as well. | |
7789 | Change operand 2's predicate to se_uns_arith_operand. | |
7790 | Add constant alternatives to define_insn. | |
7791 | (iordi3, xordi3, *nordi3): Likewise. | |
7792 | (anddi3_internal1, xordi3_immed): Remove. | |
cafe096b EC |
7793 | |
7794 | 2002-10-01 Richard Sandiford <rsandifo@redhat.com> | |
7795 | ||
87f85ea0 ZW |
7796 | * config/mips/mips.h (PROCESSOR_R4121): Rename to PROCESSOR_R4120. |
7797 | (TARGET_MIPS4121): Rename to TARGET_MIPS4120. | |
7798 | * config/mips/mips.c (mips_cpu_info): Rename vr4121 to vr4120. | |
7799 | * config/mips/mips.md: Apply same renaming here. | |
cafe096b EC |
7800 | |
7801 | 2002-10-01 Richard Sandiford <rsandifo@redhat.com> | |
7802 | ||
87f85ea0 ZW |
7803 | * config/mips/mips.c (PROCESSOR_R4320, TARGET_MIPS4320): Remove. |
7804 | (GENERATE_MULT3_SI): Remove use of TARGET_MIPS4320. | |
7805 | * config/mips/mips.c (mips_cpu_info): Remove vr4320 entry. | |
7806 | * config/mips/mips.md (define_attr cpu): Remove r4320. | |
7807 | Remove vr4320 scheduler and uses of TARGET_MIPS4320. | |
cafe096b EC |
7808 | |
7809 | 2002-10-01 Richard Sandiford <rsandifo@redhat.com> | |
7810 | ||
87f85ea0 ZW |
7811 | * config/mips/mips.c (mips16_strings): New variable. |
7812 | (mips_output_function_epilogue): Clear the SYMBOL_REF_FLAG of every | |
7813 | symbol in mips16_strings. Free the list. | |
7814 | (mips_encode_section_info): Keep track of local strings. | |
cafe096b EC |
7815 | |
7816 | 2002-10-01 Richard Sandiford <rsandifo@redhat.com> | |
7817 | ||
87f85ea0 ZW |
7818 | * config/mips/mips.md (bunge, bltgt, bungt): New define_expands. |
7819 | (sordered_df, sordered_sf): Remove. | |
7820 | * config/mips/mips.c (get_float_compare_codes): New fn. | |
7821 | (gen_int_relational, gen_conditional_move): Use it. | |
cafe096b EC |
7822 | |
7823 | 2002-10-01 Richard Sandiford <rsandifo@redhat.com> | |
7824 | ||
87f85ea0 ZW |
7825 | * config/mips/mips-protos.h (mips_emit_fcc_reload): Declare. |
7826 | * config/mips/mips.h (PREDICATE_CODES): Add fcc_register_operand. | |
7827 | * config/mips/mips.c (fcc_register_operand): New function. | |
7828 | (mips_emit_fcc_reload): New function, extracted from reload_incc. | |
7829 | (override_options): Allow TFmode values in float registers | |
7830 | if ISA_HAS_8CC. | |
7831 | * cnfig/mips/mips.md (reload_incc): Change destination prediate | |
7832 | to fcc_register_operand. Remove misleading source constraint. | |
7833 | Use mips_emit_fcc_reload. | |
0d569849 | 7834 | (reload_outcc): Duplicate reload_incc. |
cafe096b EC |
7835 | |
7836 | ||
44c8a5f8 DN |
7837 | 2003-04-30 Diego Novillo <dnovillo@redhat.com> |
7838 | ||
7839 | * builtins.def (BUILTIN_CONSTANT_P): Mark as constant. | |
7840 | ||
5d638f70 GK |
7841 | 2003-04-30 Geoffrey Keating <geoffk@apple.com> |
7842 | ||
7843 | * tree-inline.c (inlinable_function_p): Back out last change, it's | |
7844 | unnecessary. | |
7845 | ||
5e26df64 SB |
7846 | 2003-04-30 Steven Bosscher <steven@gcc.gnu.org> |
7847 | ||
7848 | * ggc-page.c (TREE_EXP_SIZE): Define. | |
7849 | (extra_order_size_table): New entry for expr trees with | |
7850 | two operands. | |
7851 | ||
fba020b1 GDR |
7852 | 2003-04-30 Gabriel Dos Reis <gdr@integrable-solutions.net> |
7853 | ||
7854 | * c-common.c (if_elt): Use location_t in lieu of "file, line" pair. | |
7855 | (c_expand_start_cond): Adjust. | |
7856 | (c_expand_end_cond): Don't use warning_with_file_and_file. | |
7857 | (shadow_warning): Likewise. | |
7858 | ||
62216ea0 NS |
7859 | 2003-04-30 Nathan Sidwell <nathan@codesourcery.com> |
7860 | ||
7861 | * tree.h (DECL_POINTER_DEPTH): Remove. | |
7862 | (struct tree_decl): Remove pointer_depth. | |
cafe096b | 7863 | |
d1908feb JJ |
7864 | 2003-04-30 Janis Johnson <janis187@us.ibm.com> |
7865 | ||
7866 | * config/rs6000/linux64.h (ASM_OUTPUT_LABELREF): Remove. | |
7867 | * config/rs6000/rs6000.c (rs6000_elf_strip_name_encoding): Remove. | |
7868 | (rs6000_xcoff_encode_section_info): Remove. | |
7869 | (current_file_function_operand): Use SYMBOL_REF_FLAGS; fix latent bug. | |
7870 | (rs6000_output_mi_thunk): Remove dead code; use SYMBOL_REF_FLAGS. | |
7871 | (small_data_operand, rs6000_emit_move, rs6000_elf_in_small_data_p,): | |
7872 | Use SYMBOL_REF_FLAGS. | |
7873 | (rs6000_elf_encode_section_info): Call default_encode_section_info for | |
7874 | generic flags, use SYMBOL_REF_FLAGS; code cleanups. | |
7875 | * sysv4.h (TARGET_STRIP_NAME_ENCODING, ASM_OUTPUT_LABELREF): Remove. | |
7876 | (SYMBOL_FLAG_SMALL_V4, SYMBOL_REF_SMALL_V4_P): New. | |
7877 | * xcoff.h (TARGET_ENCODE_SECTION_INFO): Remove. | |
7878 | (ASM_DECLARE_FUNCTION_NAME): Remove setting of SYMBOL_REF_FLAG. | |
7879 | ||
0e42348d GDR |
7880 | 2003-04-30 Gabriel Dos Reis <gdr@integrable-solutions.net> |
7881 | ||
7882 | * diagnostic.c (output_pointer): Use HOST_PTR_PRINTF. | |
7883 | ||
dad78426 AS |
7884 | 2003-04-30 Andreas Schwab <schwab@suse.de> |
7885 | ||
7886 | * doc/extend.texi (Other Builtins): Enclose multiple word data | |
7887 | type in braces for @deftypefn. | |
7888 | ||
4c80872c RK |
7889 | 2003-04-30 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
7890 | ||
5826955d RK |
7891 | * stor-layout.c (mode_for_size_tree): Use BLKmode if SIZE overflows. |
7892 | ||
4c80872c RK |
7893 | * doc/install.texi (--enable-threads): Document "gnat" option. |
7894 | ||
10256cf5 GDR |
7895 | 2003-04-30 Gabriel Dos Reis <gdr@integrable-solutions.net> |
7896 | ||
7897 | * diagnostic.h (output_formatted_scalar): Tweak. | |
7898 | * diagnostic.c (output_long_decimal): Likewise. | |
7899 | (output_unsigned_decimal): Likewise. | |
7900 | (output_long_unsigned_decimal): Likewise. | |
7901 | (output_octal): Likewise. | |
7902 | (output_long_octal): Likewise. | |
7903 | (output_hexadecimal): Likewise. | |
7904 | (output_long_hexadecimal): Likewise. | |
7905 | (output_pointer): New function. | |
7906 | (output_format): Use it. Recognize "%p" format specifier. | |
7907 | ||
b2a7fa89 ZD |
7908 | 2003-04-30 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
7909 | ||
7910 | * function.c (purge_addressof_1): Postpone insn in fewer cases. | |
7911 | ||
a6fdc086 GK |
7912 | 2003-04-29 Geoffrey Keating <geoffk@apple.com> |
7913 | ||
505b0fd6 GK |
7914 | * config/rs6000/host-darwin.c (segv_handler): When -dH is used, |
7915 | call abort() after running out of stack space. | |
7916 | ||
a6fdc086 GK |
7917 | * c-typeck.c (function_types_compatible_p): Ignore incompatible |
7918 | 'volatile' qualifiers on a function's return type in GNU mode. | |
7919 | ||
9c0631a7 AH |
7920 | 2003-04-29 Aldy Hernandez <aldyh@redhat.com> |
7921 | ||
87f85ea0 ZW |
7922 | * expr.c (emit_group_load): Dump parallels of simd types to |
7923 | memory. | |
9c0631a7 | 7924 | |
74719742 VM |
7925 | 2003-04-29 Vladimir Makarov <vmakarov@redhat.com> |
7926 | ||
7927 | * genautomata.c (add_vect): Check undefined value for range type | |
7928 | too. | |
7929 | ||
baade80b PE |
7930 | 2003-04-29 Phil Edwards <pme@gcc.gnu.org> |
7931 | ||
7932 | * configure.in: More general test for cmp --ignore-initial. | |
7933 | * configure: Regenerate. | |
7934 | ||
84d8756d RK |
7935 | 2003-04-29 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
7936 | ||
0384674e RK |
7937 | * stor-layout.c (mode_for_size_tree): Use tree_low_cst. |
7938 | (layout_decl, place_field): Likewise. | |
7939 | Also make minor type and whitespace changes. | |
7940 | ||
84d8756d RK |
7941 | * tree.c (save_expr): Don't fold a COMPONENT_REF. |
7942 | ||
0219237c OH |
7943 | 2003-04-29 Olivier Hainque <hainque@act-europe.fr> |
7944 | ||
7945 | * calls.c (expand_call): When modes of target and valreg match, force | |
7946 | sibcall failure when target is a MEM. | |
7947 | ||
b9538b2e GK |
7948 | 2003-04-29 Geoffrey Keating <geoffk@apple.com> |
7949 | ||
b3d627e2 GK |
7950 | * tree-inline.c (inlinable_function_p): Don't support inlining |
7951 | functions using varargs. | |
7952 | ||
f4ddb75b GK |
7953 | * doc/invoke.texi (Overall Options): Mention -x objective-c-header. |
7954 | ||
0366359a GK |
7955 | * dwarf2out.c (output_call_frame_info): No need to output EH |
7956 | unwind information if all_throwers_are_sibcalls. | |
7957 | ||
e55614ca GK |
7958 | * c-semantics.c (expand_unreachable_stmt): Return a tree. |
7959 | (expand_stmt): Update for change to expand_unreachable_stmt. | |
7960 | (expand_unreachable_if_stmt): Likewise. | |
7961 | ||
b9538b2e GK |
7962 | * Makefile.in (quickstrap): Pass BOOT_CFLAGS to submake. |
7963 | ||
72e940d2 JM |
7964 | 2003-04-29 Jason Merrill <jason@redhat.com> |
7965 | ||
7966 | PR middle-end/10336 | |
cafe096b | 7967 | * jump.c (never_reached_warning): Really stop looking if we reach |
72e940d2 JM |
7968 | the beginning of the function. |
7969 | ||
9193479f BW |
7970 | 2003-04-29 Bob Wilson <bob.wilson@acm.org> |
7971 | ||
7972 | * config/xtensa/elf.h (SIZE_TYPE, PTRDIFF_TYPE, USER_LABEL_PREFIX): | |
7973 | Remove redundant macros. | |
7974 | (WCHAR_TYPE, WCHAR_TYPE_SIZE): Change to "short unsigned int". | |
7975 | (LOCAL_LABEL_PREFIX): Define unconditionally. | |
7976 | (NO_DOT_IN_LABEL): Clarify comment. | |
7977 | * config/xtensa/linux.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Add explicit | |
7978 | definition to "long int". | |
7979 | ||
b0501ec1 AK |
7980 | 2003-04-29 Alexander Kabaev <kan@FreeBSD.ORG> |
7981 | ||
7982 | bootstrap/10452 | |
7983 | * gengtype-yacc.y: Improve portability. | |
7984 | ||
8e720e8b ZW |
7985 | 2003-04-29 Zack Weinberg <zack@codesourcery.com> |
7986 | ||
7987 | * config.gcc: Install obsolete target list for GCC 3.3. | |
7988 | * doc/install.texi: Mention in specific-target instructions | |
7989 | that certain configurations are deprecated. | |
7990 | ||
1be3f80f ZW |
7991 | 2003-04-29 Zack Weinberg <zack@codesourcery.com> |
7992 | ||
7993 | * tree.h: Delete no-checking definition of CST_OR_CONSTRUCTOR_CHECK. | |
7994 | ||
8e854b76 KL |
7995 | 2003-04-29 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net> |
7996 | ||
7997 | * c-pragma.c (maybe_apply_renaming_pragma): Fix typo. | |
7998 | * gcc.c (display_help): Likewise. | |
7999 | * toplev.c (f_options): Likewise. | |
8000 | * params.def (PARAM_MAX_INLINE_SCOPE): Likewise. | |
8001 | * config/c4x/c4x.h (TARGET_SWITCHES): Likewise. | |
8002 | * config/mcore/mcore.h (TARGET_SWITCHES): Likewise. | |
8003 | * config/s390/s390.h (TARGET_SWITCHES): Likewise. | |
8004 | * config/v850/v850.h (TARGET_SWITCHES): Likewise. | |
8005 | ||
267594f3 R |
8006 | 2003-04-29 J"orn Rennecke <joern.rennecke@superh.com> |
8007 | ||
8008 | * varasm.c (default_assemble_visibility): Use assemble_name. | |
8009 | ||
667b43dd DB |
8010 | 2003-04-29 David O'Brien <obrien@FreeBSD.org> |
8011 | ||
8012 | * config/i386/freebsd64.h (LINK_SPEC): Mirror FreeBSD linker. | |
5b51b1f5 DB |
8013 | * config/rs6000/freebsd.h (LINK_SHLIB_SPEC): New macro. |
8014 | (SIZE_TYPE): New macro. | |
fbf17dab DB |
8015 | * config/i386/freebsd-aout.h (NO_PROFILE_COUNTERS): New macro. |
8016 | (SET_ASM_OP): New macro. | |
8017 | (HANDLE_SYSV_PRAGMA): New macro. | |
8018 | (ASM_WEAKEN_LABEL): New macro. | |
667b43dd | 8019 | |
a833faa5 MM |
8020 | 2003-04-28 Mark Mitchell <mark@codesourcery.com> |
8021 | ||
8022 | PR c++/10180 | |
8023 | * tree-inline.c (expand_call_inline): Call push_srcloc when | |
8024 | encountering EXPR_WITH_FILE_LOCATION. Honor warn_inline. | |
8025 | ||
a72bf3e9 MS |
8026 | 2003-04-28 Mike Stump <mrs@apple.com> |
8027 | ||
8028 | * gdbinit.in: Update to reflect new identifier structure. | |
8029 | ||
0864034e ZW |
8030 | 2003-04-28 Zack Weinberg <zack@codesourcery.com> |
8031 | ||
8032 | * tree.h (TREE_CST_RTL, CST_OR_CONSTRUCTOR_CHECK): Delete. | |
8033 | (struct tree_int_cst, struct tree_real_cst, struct tree_string, | |
8034 | struct tree_complex, struct tree_vector): Remove RTL field. | |
8035 | (CONSTRUCTOR_ELTS): Use elt 0. | |
8036 | * tree.def (CONSTRUCTOR): Delete first of its two operands. | |
8037 | * varasm.c (output_constant_def): Remove early exit if | |
8038 | TREE_CST_RTL is set. Don't set TREE_CST_RTL. | |
8039 | (decode_addr_const): Don't mention TREE_CST_RTL in comment. | |
8040 | * target.h (select_section): Don't mention TREE_CST_RTL in comment. | |
8041 | * doc/tm.texi (encode_section_info): Don't talk about TREE_CST_RTL. | |
8042 | ||
9661b15f JJ |
8043 | 2003-04-28 Jakub Jelinek <jakub@redhat.com> |
8044 | ||
8045 | * c-decl.c (finish_decl): When prototype with asmspec is found | |
8046 | for built-in, adjust built_in_decls as well as expr.c decls. | |
8047 | * expr.c (init_block_move_fn, init_block_clear_fn): New functions. | |
8048 | (emit_block_move_libcall_fn, clear_storage_libcall_fn): Use it. | |
8049 | * expr.c (init_block_move_fn, init_block_clear_fn): New prototypes. | |
8050 | ||
8707fe93 RH |
8051 | 2003-04-28 Richard Henderson <rth@redhat.com> |
8052 | ||
0864034e ZW |
8053 | * config/sparc/sparc.c (print_operand): Add 's' to sign-extend. |
8054 | * config/sparc/sparc.md (const_mulsidi3_v8plus): Fix mode of | |
8055 | integral constant mult operand. | |
8056 | (const_mulsidi3_sp32, const_mulsidi3_sp64): Likewise. | |
8057 | (const_smulsi3_highpart_v8plus): Likewise. | |
8058 | (const_smulsi3_highpart): Likewise. | |
8059 | (const_umulsidi3_sp32): Likewise; sign-extend it in the output. | |
8060 | (const_umulsidi3_sp64, const_umulsidi3_v8plus): Likewise. | |
8061 | (const_umulsi3_highpart_v8plus): Likewise. | |
8062 | (const_umulsi3_highpart): Likewise. | |
8707fe93 | 8063 | |
ff4cb2e7 DB |
8064 | 2003-04-28 David O'Brien <obrien@FreeBSD.org> |
8065 | ||
8066 | * config/i386/x86-64.h (NO_PROFILE_COUNTERS, HAVE_AS_DWARF2_DEBUG_LINE): | |
8067 | Define as 1. | |
8068 | ||
495d8dd6 DB |
8069 | 2003-04-28 David O'Brien <obrien@FreeBSD.org> |
8070 | ||
8071 | * config/i386/i386.h (builtin_define): Add __amd64 and __amd64__. | |
8072 | ||
e31603c4 JJ |
8073 | 2003-04-28 Jakub Jelinek <jakub@redhat.com> |
8074 | ||
8075 | * builtins.def (BUILT_IN_BCOPY, BUILT_IN_MEMMOVE): New. | |
8076 | * builtin-types.def (BT_FN_VOID_CONST_PTR_PTR_SIZE): New. | |
8077 | * builtins.c (expand_builtin_memmove, expand_builtin_bcopy): New | |
8078 | functions. | |
8079 | (expand_builtin): Handle BUILT_IN_BCOPY and BUILT_IN_MEMMOVE. | |
8080 | ||
dbe983a8 NC |
8081 | 2003-04-28 Nick Clifton <nickc@redhat.com> |
8082 | ||
8083 | * config/arm/elf.h (ASM_OUTPUT_ALIGNED_COMMON): Remove definition. | |
8084 | ||
afc6aaab ZW |
8085 | 2003-04-27 Zack Weinberg <zack@codesourcery.com> |
8086 | ||
8087 | * expr.c (expand_expr <COMPLEX_CST, STRING_CST>): Always call | |
8088 | output_constant_def, use its result instead of TREE_CST_RTL (exp). | |
8089 | Can assume it has the form (mem (symbol_ref ".LCxxx")). | |
8090 | (expand_expr <COMPONENT_REF>): Can always just extract the | |
8091 | relevant field of a CONSTRUCTOR. | |
8092 | (expand_expr <ARRAY_REF, COMPONENT_REF, BIT_FIELD_REF, | |
8093 | ARRAY_RANGE_REF>): Make control flow explicit. | |
8094 | * varasm.c (output_constant_def): Can look at TREE_CST_RTL of | |
8095 | an INTEGER_CST. | |
8096 | ||
860992e6 KH |
8097 | 2003-04-27 Kazu Hirata <kazu@cs.umass.edu> |
8098 | ||
8099 | * reload1.c (reg_set_luid): Fix a comment typo. | |
8100 | ||
32a61907 ZW |
8101 | 2003-04-27 Zack Weinberg <zack@codesourcery.com> |
8102 | ||
8103 | * varasm.c (const_str_htab_hash, const_str_htab_eq, STRHASH, | |
8104 | struct deferred_string, const_str_htab): Kill. | |
8105 | (n_deferred_strings): New static variable. | |
8106 | (build_constant_desc): Set SYMBOL_REF_DECL of the new | |
8107 | symbol_ref to point to the constant. | |
8108 | (output_constant_def): When a deferred string is forced out, | |
8109 | just clear STRING_POOL_ADDRESS_P and decrement n_deferred_strings. | |
8110 | (mark_constant): Likewise. | |
8111 | (maybe_output_constant_def_contents): When deferring a string | |
8112 | constant, just set STRING_POOL_ADDRESS_P and increment | |
8113 | n_deferred_strings. | |
8114 | (mark_constant_pool): Check n_deferred_strings, not the size | |
8115 | of const_str_htab. | |
8116 | (init_varasm_once): No need to create const_str_htab. | |
8117 | ||
8118 | * rtl.def, rtl.h, doc/rtl.texi: Document possibility that | |
8119 | SYMBOL_REF_DECL points to a constant. | |
8120 | ||
293107d1 ZW |
8121 | 2003-04-26 Zack Weinberg <zack@codesourcery.com> |
8122 | ||
8123 | * varasm.c (output_constant_def): Split out two new static | |
8124 | functions, build_constant_desc and maybe_output_constant_def_contents. | |
8125 | Restructure for comprehensibility. Don't call | |
8126 | output_addressed_constants. Treat defstr being non-NULL for | |
8127 | STRING_POOL_ADDRESS_P constants as an invariant. | |
8128 | (struct deferred_string): Remove labelno field. | |
8129 | (output_constant_def_contents): Kill labelno argument. Call | |
8130 | output_addressed_constants here. Use ASM_OUTPUT_LABEL, not | |
8131 | asm_out.internal_label. | |
8132 | (mark_constant): Update call to output_constant_def_contents. | |
8133 | Treat defstr being non-NULL for STRING_POOL_ADDRESS_P | |
8134 | constants as an invariant. | |
8135 | ||
12969f45 RH |
8136 | 2003-04-26 Richard Henderson <rth@redhat.com> |
8137 | ||
8138 | * config/i386/i386.c (output_pic_addr_const): Use SYMBOL_REF_LOCAL_P. | |
8139 | (ix86_expand_call, ix86_rtx_consts): Likewise. | |
8140 | ||
5cc2f4f3 KG |
8141 | 2003-04-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
8142 | ||
8143 | * doc/md.texi (cmpstr): Document additional restrictions. | |
8144 | ||
09b04f2d NB |
8145 | 2003-04-26 Neil Booth <neil@daikokuya.co.uk> |
8146 | ||
8147 | * flags.h (time_report): Remove. | |
8148 | * timevar.c (timevar_enable): New. | |
8149 | (TIMEVAR_ENABLE): Remove, use timevar_enable. | |
8150 | (timevar_init): Rename from init_timevar. | |
8151 | * timevar.h (timevar_init): Rename from init_timevar. | |
8152 | * toplev.c (time_report): Make static. | |
8153 | (do_compile): Conditionally call init_timevar first. | |
8154 | (preprocess_options): Move some code to do_compile. | |
8155 | ||
3e35d143 SC |
8156 | 2003-04-26 Stephane Carrez <stcarrez@nerim.fr> |
8157 | ||
8158 | * doc/install.texi (Binaries): Mention binaries for HC11/HC12. | |
8159 | ||
e6dc0cc6 NB |
8160 | 2003-04-26 Neil Booth <neil@daikokuya.co.uk> |
8161 | ||
8162 | * _cpp_lex_direct: Remove pointless code. | |
8163 | ||
5936c7e7 SC |
8164 | 2003-04-26 Stephane Carrez <stcarrez@nerim.fr> |
8165 | ||
8166 | * doc/extend.texi (Function Attributes): Document "near" and "far" | |
8167 | for 68HC11 and 68HC12. | |
8168 | ||
85a43a2f RK |
8169 | 2003-04-25 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
8170 | ||
8171 | * expr.c (store_field): When making temporary for store, don't | |
8172 | make it TYPE_QUAL_CONST. | |
8173 | ||
09e4ab56 PE |
8174 | 2003-04-25 Phil Edwards <pme@gcc.gnu.org> |
8175 | ||
8176 | * toplev.c (read_integral_parameter): Use "argument" in error | |
8177 | message to distinguish it from actual invalid options. | |
8178 | ||
ab409f1b BW |
8179 | 2003-04-25 Bob Wilson <bob.wilson@acm.org> |
8180 | ||
8181 | * config/xtensa/linux.h (TARGET_OS_CPP_BUILTINS): Back out previous | |
8182 | addition of __PIC__ and __pic__ macros. | |
8183 | * config/xtensa/xtensa.h: Clean up indentation. | |
8184 | ||
6a2b287f BW |
8185 | 2003-04-25 Bob Wilson <bob.wilson@acm.org> |
8186 | ||
8187 | * config/xtensa/linux.h (TARGET_OS_CPP_BUILTINS): Remove definition of | |
8188 | _GNU_SOURCE. Add definitions of __PIC__ and __pic__. | |
8189 | (SUBTARGET_CPP_SPEC): Define. | |
8190 | (LIB_SPEC): Delete. | |
8191 | * config/xtensa/xtensa-protos.h (xtensa_declare_object): Delete. | |
8192 | * config/xtensa/xtensa.c (xtensa_declare_object): Delete. | |
8193 | * config/xtensa/xtensa.h (CPP_SPEC, SUBTARGET_CPP_SPEC, EXTRA_SPECS): | |
8194 | Define. | |
8195 | (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL): Delete. | |
8196 | (ASM_OUTPUT_ALIGNED_BSS, BSS_SECTION_ASM_OP): Define. | |
8197 | ||
60986d64 L |
8198 | 2003-04-25 H.J. Lu <hjl@gnu.org> |
8199 | ||
8200 | * config/ia64/ia64.c (ia64_expand_compare_and_swap): Add rmode | |
8201 | for return mode. | |
8202 | (ia64_expand_builtin): Set rmode to SImode for | |
8203 | IA64_BUILTIN_BOOL_COMPARE_AND_SWAP_SI, | |
8204 | IA64_BUILTIN_VAL_COMPARE_AND_SWAP_SI and | |
8205 | IA64_BUILTIN_BOOL_COMPARE_AND_SWAP_DI. Set remode to DImode | |
8206 | for IA64_BUILTIN_VAL_COMPARE_AND_SWAP_DI. | |
8207 | ||
c7a5cf61 PE |
8208 | 2003-04-25 Phil Edwards <pme@gcc.gnu.org> |
8209 | ||
8210 | * configure.in (make_compare_target): Test for GNU cmp and set this | |
8211 | variable appropriately. | |
8212 | * Makefile.in (compare, compare3, compare4, compare-lean, compare3-lean, | |
8213 | compare4-lean): Rename actual targets to slowcompare*. New compare* | |
8214 | targets depend on names based on make_compare_target. | |
8215 | * configure: Regenerated. | |
8216 | ||
f5bdba44 RH |
8217 | 2003-04-25 Richard Henderson <rth@redhat.com> |
8218 | ||
8219 | * config/ia64/ia64.c (ia64_compute_frame_size): Allow inline asm | |
8220 | to clobber ar.pfs and ar.unat. | |
8221 | (ia64_expand_prologue): Force alloc instruction if ar.pfs saved; | |
8222 | fix test for spilling ar.pfs to the stack. | |
8223 | ||
8224 | 2003-04-25 Richard Henderson <rth@redhat.com> | |
8f4e6caf | 8225 | |
293107d1 ZW |
8226 | PR opt/10315 |
8227 | * config/rs6000/rs6000.c (rs6000_emit_move): Only elide proper | |
8228 | checks during reload; use validize_mem instead of adjust_address. | |
8f4e6caf | 8229 | |
eda833e3 BE |
8230 | 2003-04-26 Ben Elliston <bje@wasabisystems.com> |
8231 | ||
8232 | * config/arm/arm.c (arm_adjust_cost): Correct logic that tests the | |
8233 | return values from recog_memoized(). | |
8234 | ||
9feff114 JDA |
8235 | 2003-04-24 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
8236 | ||
8237 | PR opt/8705 | |
8238 | * gcse.c (try_replace_reg): On a successful substitution of a constant | |
8239 | into a single set, try to simplify the source of the set. | |
8240 | * loop.c (scan_loop): Don't try to optimize a MODE_CC set with a | |
8241 | constant source. | |
8242 | ||
59325650 NB |
8243 | 2003-04-24 Neil Booth <neil@daikokuya.co.uk> |
8244 | ||
8245 | * cpplex.c (cpp_token_len): Tighten up. | |
8246 | (cpp_token_as_text): Need extra byte now. | |
8247 | * cpplib.c (glue_header_name): Need extra 2 bytes. | |
8248 | * cppmacro.c (cpp_macro_definition): Need extra byte. | |
8249 | ||
b746b8cb AK |
8250 | 2003-04-24 Alexander Kabaev <kan@FreeBSD.ORG> |
8251 | ||
8252 | * config/sparc/sparc.md (umulsidi3, mulsidi3): Avoid using | |
293107d1 | 8253 | const_umulsidi3_sp32 and const_mulsidi3_sp32 on 64bit targets |
b746b8cb AK |
8254 | where they might be not present. Use their _sp64 equivalent |
8255 | instead. | |
8256 | ||
019238b7 JH |
8257 | Thu Apr 24 20:42:12 CEST 2003 Jan Hubicka <jh@suse.cz> |
8258 | ||
8259 | * i386.md (cvtsi2sdq): Fix typo in previous patch. | |
293107d1 | 8260 | |
39f6c4c8 KW |
8261 | 2003-04-24 Krister Walfridsson <cato@df.lth.se> |
8262 | ||
8263 | * configure.in: Check whether mbstowcs works. | |
8264 | * configure, config.in: Regenerate. | |
8265 | * intl.c: Use HAVE_WORKING_MBSTOWCS. | |
8266 | ||
0c79f08b L |
8267 | 2003-04-24 H.J. Lu <hjl@gnu.org> |
8268 | ||
8269 | * config/ia64/ia64.c (ia64_init_builtins): Add si_ftype_pdi_di_di | |
8270 | for __sync_bool_compare_and_swap_di for int return type. | |
8271 | ||
8272 | * config/ia64/ia64intrin.h (__sync_bool_compare_and_swap_di): | |
8273 | Change return type to int. | |
8274 | (__sync_bool_compare_and_swap): Likewise. | |
8275 | ||
26f74aa3 JH |
8276 | Thu Apr 24 16:55:26 CEST 2003 Jan Hubicka <jh@suse.cz> |
8277 | ||
8278 | * cfgbuild.c (make_edges): Do not use next_nonnote_insn when | |
8279 | looking for fallthru edge. | |
8280 | ||
8281 | * athlon.md (athlon-agu, athlon-store, athlon-fany, athlon-faddmul): | |
8282 | Fix. | |
8283 | (athlon-load2, athlon-store2, athlon-fpsched, athlon-fpload, | |
8284 | athlon-fvector): New. | |
8285 | (athlon_*): Revisit to match new optimization guide. | |
8286 | * i386.c (ix86_adjust_cost): Fix memory operand costs on Athlon/k8 | |
8287 | * i386.md (cvt??2?? patterns): Fix modes. | |
8288 | (fistp patterns): Set modes. | |
8289 | ||
8290 | Accidentaly commited with my earlier reload patch: | |
8291 | PR c/10308 | |
8292 | * reload.c (find_reloads_address_1): Reload plus at the place of | |
8293 | index register. | |
293107d1 | 8294 | |
796621e8 NS |
8295 | 2003-04-24 Nathan Sidwell <nathan@codesourcery.com> |
8296 | ||
8297 | New GCOV_TAG_FUNCTION layout | |
8298 | * coverage.c (struct function_list): Replace name with ident. | |
8299 | (struct counts_entry): Likewise. | |
8300 | (fn_ident): New. | |
8301 | (htab_counts_entry_hash, htab_counts_entry_eq, | |
8302 | htab_counts_entry_del): Adjust. | |
8303 | (reads_count_file, get_coverage_counts, | |
8304 | coverage_begin_output, coverage_end_function): Adjust. | |
8305 | (build_fn_info_type, build_fn_info_value): Likewise. | |
8306 | * gcov-dump.c (tag_function): Adjust. | |
8307 | * gcov-io.c (gcov_write_string, gcov_read_string): Not in LIBGCOV. | |
8308 | * gcov-io.h (gcov_write_string, gcov_read_string): Not in LIBGCOV. | |
8309 | * gcov.c (struct function_info): Add ident. | |
8310 | (read_graph_file, read_count_file): Adjust. | |
8311 | * libgcov.c (gcov_exit): Adjust. | |
8312 | ||
6ff76c36 RH |
8313 | 2003-04-23 Richard Henderson <rth@redhat.com> |
8314 | ||
8315 | PR opt/8300 | |
8316 | * toplev.c (rest_of_compilation): Delay no_new_pseudos until | |
8317 | after initialize_uninitialized_subregs; update reg info assuming | |
8318 | new pseudos were created. | |
8319 | ||
6338b358 NB |
8320 | 2003-04-23 Neil Booth <neil@daikokuya.co.uk> |
8321 | ||
8322 | * Makefile.in (c-lex.o, LIBCPP_OBJS, cpplex.o): Update. | |
8323 | * c-lex.c (MULTIBYTE_CHARS): Remove conditionals. | |
8324 | (lex_string): Take cpp_string with full spelling. | |
8325 | (cb_ident): Update. | |
8326 | (c_lex): Update diagnostics. | |
8327 | * cpplex.c (SPELL_NUMBER, SPELL_STRING): Combine into SPELL_LITERAL. | |
8328 | (create_literal): New. | |
8329 | (lex_string): Unterminated literals have type CPP_OTHER. | |
8330 | (_cpp_lex_direct): Update calls to lex_string. Use create_literal | |
8331 | for CPP_OTHER. | |
8332 | (cpp_token_len, cpp_spell_token, cpp_output_token): Simplify. | |
8333 | (_cpp_equiv_tokens, cpp_interpret_charconst): Update. | |
8334 | * cpplib.c (parse_include, do_line, do_linemarker, | |
8335 | destringize_and_run): Update for token storing full spelling. | |
8336 | * cpplib.h: Update token spelling types. | |
8337 | * cppmacro.c (stringify_arg, check_trad_stringification): | |
8338 | Update for token storing full spelling. | |
8339 | ||
011fd56b UW |
8340 | 2003-04-23 Ulrich Weigand <uweigand@de.ibm.com> |
8341 | ||
8342 | * config/s390/s390.c (s390_expand_cmpstr): Disable CLC loop. | |
8343 | ||
7052a099 RE |
8344 | 2003-04-23 Richard Earnshaw <rearnsha@arm.com> |
8345 | ||
8346 | * arm.h (TARGET_OPTIONS): Add value field. | |
8347 | ||
f0ddce84 MM |
8348 | 2003-04-23 Mark Mitchell <mark@codesourcery.com> |
8349 | ||
8350 | * doc/extend.texi: Remove duplicate 2003 copyright date. | |
8351 | ||
cdb23767 NS |
8352 | 2003-04-23 Nathan Sidwell <nathan@codesourcery.com> |
8353 | ||
8354 | * Makefile.in (LIBGCC_DEPS): Add gcov headers. | |
8355 | (libgcov.a): Depends on LIBGCC_DEPS. | |
8356 | * basic-block.h (profile_info): Moved here from coverage.h. Made | |
8357 | a pointer. | |
8358 | * coverage.c (struct function_list): Fixed array of counter types. | |
8359 | (struct counts_entry): Keyed by counter type, contains summary. | |
8360 | (profile_info): Moved to profile.c. | |
8361 | (prg_ctr_mask, prg_n_ctrs, fn_ctr_mask, fn_n_ctrs): New global | |
8362 | vars. | |
8363 | (profiler_label): Remove. | |
8364 | (ctr_labels): New. | |
8365 | (set_purpose, label_for_tag, build_counter_section_fields, | |
8366 | build_counter_section_value, build_counter_section_data_fields, | |
8367 | build_counter_section_data_values, build_function_info_fields, | |
8368 | build_function_info_value, gcov_info_fields, gcov_info_value): Remove. | |
8369 | (build_fn_info_type, build_fn_info_value, build_ctr_info_type, | |
8370 | build_ctr_info_value, build_gcov_info): New. | |
8371 | (htab_counts_entry_hash, htab_counts_entry_eq): Adjust. | |
8372 | (reads_counts_file): Adjust. | |
8373 | (get_coverage_counts): Takes counter number. Add summary | |
8374 | parameter. Adjust. | |
8375 | (coverage_counter_ref): Tkaes counter number. Adjust. Lazily | |
8376 | create counter array labels. | |
8377 | (coverage_end_function): Adjust. | |
8378 | (create_coverage): Adjust. | |
8379 | (find_counters_section): Remove. | |
8380 | * coverage.h (MAX_COUNTER_SECTIONS): Remove. | |
8381 | (struct section_info, struct profile_info): Remove. | |
8382 | (profile_info): Moved to basic-block.h. | |
8383 | (coverage_counter_ref): Takes a counter number. | |
8384 | (get_coverage_counts): Takes a counter number. Added summary | |
8385 | parameter. | |
8386 | (find_counters_section): Remove. | |
8387 | * gcov-dump.c (tag_arc_counts): Rename to ... | |
8388 | (tag_counters): ... here. Adjust. | |
8389 | (tag_table): Move tag_counters to 3rd entry. Remove | |
8390 | PROGRAM_PLACEHOLDER and PROGRAM_INCORRECT entries. | |
8391 | (dump_file): Check for counter tag values here. | |
8392 | (tag_summary): Adjust. | |
8393 | * gcov-io.c (gcov_write_summary, gcov_read_summary): Adjust. | |
8394 | * gcov-io.h (GCOV_LOCKED): New. | |
8395 | (GCOV_TAG_ARC_COUNTS): Rename to ... | |
8396 | (GCOV_TAG_COUNTS_BASE): ... here. | |
8397 | (GCOV_TAG_PLACEHOLDER_SUMMARY, GCOV_TAG_INCORRECT_SUMMARY): | |
8398 | Remove. | |
8399 | (GCOV_COUNTER_ARCS, GCOV_COUNTERS, GCOV_NAMES): New. | |
8400 | (GCOV_TAG_FOR_COUNTER, GCOV_COUNTER_FOR_TAG, | |
8401 | GCOV_TAG_IS_COUNTER): New. | |
8402 | (struct gcov_ctr_summary): New. | |
8403 | (struct gcov_summary): Adjust. | |
8404 | (struct gcov_counter_section): Remove. | |
8405 | struct gcov_counter_section_data): Remove. | |
8406 | (struct gcov_function_info): Rename to ... | |
8407 | (struct gcov_fn_info): ... here. Adjust. | |
8408 | (struct gcov_ctr_info): New. | |
8409 | (struct gcov_info): Adjust. | |
8410 | * gcov.c (read_count_file): Adjust. | |
8411 | (output_lines): Adjust. | |
8412 | * libgcov.c (gcov_exit): Adjust. | |
8413 | (__gcov_flush): Adjust. | |
8414 | * mklibgcc.in (libgcc2_c_dep): Add gcov headers. | |
8415 | * predict.c (maybe_hot_bb_p, probably_cold_bb_p, | |
8416 | probably_never_executed_bb_p, compute_frequency_function): Adjust | |
8417 | profile_info use. | |
8418 | * profile.c (struct counts_entry): Remove. | |
8419 | (profile_info): Define here. | |
8420 | (get_exec_counts): Adjust get_coverage_counts call. | |
8421 | (compute_branch_probablilities): Remove find_counters_section | |
8422 | call. | |
8423 | (gen_edge_profiler): Adjust coverage_counter_ref call. | |
8424 | * tracer.c (tail_duplicate): Adjust profile_info use. | |
8425 | ||
2be3b5ce RS |
8426 | 2003-04-23 Roger Sayle <roger@eyesopen.com> |
8427 | ||
8428 | PR optimization/10339 | |
8429 | * builtins.c (expand_builtin_strcmp): Try to emit cmpstrsi insn | |
8430 | directly instead of unsafely transforming call into a memcmp. | |
8431 | (expand_builtin_strncmp): Likewise. | |
8432 | ||
c57ddcf1 RS |
8433 | 2003-04-22 Roger Sayle <roger@eyesopen.com> |
8434 | ||
8435 | * alias.c (mark_constant_function): Check for constancy and | |
8436 | purity even of void functions. Update both the function decl | |
8437 | and the cgraph RTL info with the results. | |
8438 | ||
c1a19acb RS |
8439 | 2003-04-22 Roger Sayle <roger@eyesopen.com> |
8440 | ||
8441 | * real.c (do_add): Change to return a bool indicating that the | |
8442 | result of the operation may be inexact due to loss of precision. | |
8443 | (do_multiply): Likewise. | |
8444 | (do_divide): Likewise. | |
8445 | ||
c2e9147c GK |
8446 | 2003-04-22 Geoffrey Keating <geoffk@apple.com> |
8447 | Loren James Rittle <ljrittle@acm.org> | |
8448 | ||
8449 | * dwarf2out.c (fde_table_allocated): Mark with GTY. | |
8450 | (decl_die_table_allocated): Likewise. | |
8451 | (abbrev_die_table_allocated): Likewise. | |
8452 | (line_info_table_allocated): Likewise. | |
8453 | (separate_line_info_table_allocated): Likewise. | |
8454 | (pubname_table_allocated): Likewise. | |
8455 | (arange_table_allocated): Likewise. | |
8456 | (ranges_table_allocated): Likewise. | |
8457 | (decl_die_table_in_use): Unconditionalize; mark with GTY. | |
8458 | (abbrev_die_table_in_use): Likewise. | |
8459 | (line_info_table_in_use): Likewise. | |
8460 | (separate_line_info_table_in_use): Likewise. | |
8461 | (pubname_table_in_use): Likewise. | |
8462 | (arange_table_in_use): Likewise. | |
8463 | (ranges_table_in_use): Likewise. | |
8464 | (have_location_lists): Likewise. | |
8465 | (emitcount): New GTY-marked static, moved... | |
8466 | (maybe_emit_file): ...from here. | |
8467 | (label_num): New GTY-marked static, moved... | |
8468 | (gen_internal_sym): ...from here. | |
8469 | ||
4da2eb6b RH |
8470 | 2003-04-22 Richard Henderson <rth@redhat.com> |
8471 | ||
293107d1 ZW |
8472 | PR 8866 |
8473 | * rtl.h (MEM_NOTRAP_P): New. | |
8474 | (MEM_COPY_ATTRIBUTES): Copy it. | |
8475 | * rtlanal.c (may_trap_p): Check it. | |
8476 | * expr.c (do_tablejump): Set it. | |
4da2eb6b RH |
8477 | * doc/rtl.texi (Flags): Document it. |
8478 | ||
293107d1 | 8479 | * cfgrtl.c (try_redirect_by_replacing_jump): Revert last three changes. |
4da2eb6b | 8480 | |
c1238896 OH |
8481 | 2003-04-22 Olivier Hainque <hainque@act-europe.fr> |
8482 | ||
8483 | * config/alpha/alpha.c (alpha_expand_prologue [OPEN_VMS_ABI]): Don't | |
8484 | set FRP on stack adjustment for outgoing args if frame_pointer_needed. | |
8485 | ||
6d412a7b VC |
8486 | 2003-04-22 Vincent Celier <celier@gnat.com> |
8487 | ||
293107d1 ZW |
8488 | * gthr-gnat.h, gthr-gnat.c: new sources for implementation of |
8489 | --enable-threads=gnat. | |
8490 | * Makefile.in: Add gthr-gnat.c to LIB2ADDEH. | |
8491 | * configure.in: Add gnat to the list of thread packages | |
8492 | * configure: Rebuild. | |
8493 | * config/t-linux: Add gthr-gnat.c to LIB2ADDEH and LIB2ADDEHDEP | |
6d412a7b | 8494 | |
b78f9414 NB |
8495 | 2003-04-22 Neil Booth <neil@daikokuya.co.uk> |
8496 | ||
8497 | * cpplex.c (_cpp_get_fresh_line): Pop the buffer if return_at_eof. | |
f945b4e0 DP |
8498 | |
8499 | 2003-04-22 Devang Patel <dpatel@apple.com> | |
8500 | ||
b78f9414 NB |
8501 | * cpptrad.c (_cpp_replacement_text_len): Add check for macro |
8502 | parameter count. | |
f945b4e0 | 8503 | (_cpp_copy_replacement_text): Same. |
293107d1 | 8504 | |
1067694a NB |
8505 | 2003-04-22 Neil Booth <neil@daikokuya.co.uk> |
8506 | ||
8507 | * c-lex.c (c_lex): Handle CPP_OTHER differently. | |
8508 | * cppexp.c (_cpp_parse_expr): Similarly. | |
8509 | * cpplex.c (SPELL_CHAR): Remove. | |
8510 | (_cpp_lex_direct): Stray chars are saved as byte strings. | |
8511 | (cpp_spell_token, cpp_output_token, _cpp_equiv_token): Don't | |
8512 | handle SPELL_CHAR. | |
8513 | (cpp_avoid_paste): Update handling of CPP_OTHER. | |
8514 | * cpplib.h: Spell CPP_OTHER like a number. | |
8515 | (struct cpp_token): Remove member c. | |
8516 | * cppmacro.c (stringify_arg): Update handling of CPP_OTHER. | |
8517 | ||
77c915d8 DT |
8518 | 2003-04-22 David Turner <novalis@gnu.org> |
8519 | ||
8520 | * gbl-ctors.h: Add special license exception. | |
8521 | * libgcc2.h: Likewise. | |
8522 | * tsystem.h: Likewise. | |
8523 | * gcov-io.h: Likewise. | |
8524 | ||
85e50b6b DE |
8525 | 2003-04-22 David Edelsohn <edelsohn@gnu.org> |
8526 | ||
8527 | * fold-const.c (fold_range_test): Use RANGE_TEST_NON_SHORT_CIRCUIT | |
8528 | macro defaulting to original BRANCH_COST heuristic. | |
8529 | * doc/tm.texi (RANGE_TEST_NON_SHORT_CIRCUIT): Document. | |
8530 | ||
8531 | * config/rs6000/rs6000.h (RANGE_TEST_NON_SHORT_CIRCUIT): Define. | |
8532 | ||
00c060a4 AH |
8533 | 2003-04-22 Aldy Hernandez <aldyh@redhat.com> |
8534 | ||
293107d1 | 8535 | * config/rs6000/t-spe: Merge in t-fprules into file. |
00c060a4 | 8536 | |
293107d1 | 8537 | * config.gcc: Add t-spe to powerpc-eabispe. |
00c060a4 | 8538 | |
e4d72771 KJ |
8539 | 2003-04-22 Kean Johnston <jkj@sco.com> |
8540 | ||
8541 | * tlink.c (recompile_files): Add missing '=' to putenv calls | |
8542 | ||
ad27e65a NS |
8543 | 2003-04-22 Nathan Sidwell <nathan@codesourcery.com> |
8544 | ||
8545 | * ginclude/stddef.h: Provide C++ safe offsetof. | |
8546 | ||
277b3b18 R |
8547 | 2003-04-22 J"orn Rennecke <joern.rennecke@superh.com> |
8548 | ||
8549 | * function.c (purge_addressof_1): In (mem (addressof (reg))) case | |
8550 | for reg notes, if there are no substitutions, just use a SUBREG. | |
8551 | ||
b2dd096b MM |
8552 | 2003-04-21 Mark Mitchell <mark@codesourcery.com> |
8553 | ||
8554 | * Makefile.in (calls.o): Depend on except.h. | |
8555 | * calls.c: Include except.h. | |
8556 | (emit_call_1): Call note_eh_region_may_contain_throw if | |
8557 | appropriate. | |
8558 | * except.c (eh_region): Add may_contain_throw. | |
8559 | (expand_eh_region_end_cleanup): Do not include handler code when | |
8560 | it cannot be reached. | |
8561 | (note_eh_region_may_contain_throw): New function. | |
8562 | * except.h (note_eh_region_may_contain_throw): New function. | |
8563 | ||
bfc6c67e MM |
8564 | 2003-04-21 Mark Mitchell <mark@codesourcery.com> |
8565 | ||
8566 | * config/i386/winnt.c (i386_pe_mark_dllimport): Revert previous | |
8567 | changes. | |
8568 | ||
95b1c7b6 AH |
8569 | 2003-04-21 Aldy Hernandez <aldyh@redhat.com> |
8570 | ||
293107d1 ZW |
8571 | * config/rs6000/rs6000.c (rs6000_override_options): No SPE means |
8572 | 64-bit long doubles. | |
95b1c7b6 | 8573 | |
6a48df45 OH |
8574 | 2003-04-21 Olivier Hainque <hainque@act-europe.fr> |
8575 | ||
3cd58fd7 OH |
8576 | * fold-const.c (fold, case PLUS_EXPR and case MULT_EXPR): Restore |
8577 | a number of conversions required for type consistency and previously | |
8578 | stripped off by STRIP_NOPS. | |
8579 | ||
6a48df45 OH |
8580 | * calls.c (expand_call): Prevent sibcall optimization for calls to |
8581 | nested subprograms. | |
8582 | ||
0d2f38ee | 8583 | * expmed.c (extract_bit_field): Reverse operands of && condition to |
293107d1 | 8584 | prevent a potential division by zero in the previously first branch. |
0d2f38ee OH |
8585 | * config/pa/pa.md (extv, extzv): FAIL if the bitfield length is zero. |
8586 | ||
c3cdeef4 JB |
8587 | 2003-04-21 Joel Brobecker <brobecker@gnat.com> |
8588 | ||
8589 | * dwarf2out.c (is_ada, is_ada_subrange_type): New functions. | |
8590 | (subrange_type_die): Likewise. | |
8591 | (modified_type_die): Emit a subrange_type DIE for Ada subrange types. | |
8592 | (is_c_family, is_cxx, is_java, is_fortran): Return bool and clean up. | |
8593 | ||
ca29da43 NS |
8594 | 2003-04-21 Nathan Sidwell <nathan@codesourcery.com> |
8595 | ||
293107d1 ZW |
8596 | Break out coverage routines to new file. |
8597 | * Makefile.in (COVERAGE_H): New variable | |
8598 | (C_OBJS): Add coverage.o | |
8599 | (coverage.o): New target. | |
8600 | (profile.o, loop-init.o, sched-ebb.o, predict.o, tracer.o): Adjust | |
8601 | dependencies. | |
8602 | (GTFILES): Adjust. | |
8603 | (gt-coverage.h): New target. | |
8604 | (gt-profile.h): Remove. | |
8605 | * profile.h: Remove. Move to ... | |
8606 | * coverage.h: ... here. New. #include gcov-io.h. | |
8607 | * gcov-io.h: Move function definitions to ... | |
8608 | * gcov-io.c: ... here. New. | |
8609 | * profile.c: Move coverage routines to coverage.c. | |
8610 | (instrument_edges, get_exec_counts, branch_prob, init_branch_prob, | |
8611 | end_branch_prob): Adjust. | |
8612 | * coverage.c: New. Coverage routines from profile.c | |
8613 | (coverage_counter_ref, coverage_init, coverage_finish, | |
8614 | coverage_end_function, coverage_begin_output, | |
8615 | coverage_counter_ref, get_coverage_counts): Define. | |
8616 | * gcov-dump.c, gcov.c: #include gcov-io.c. | |
8617 | * libgcov.c: Likewise. Adjust. | |
8618 | * loop-init.c: Don't #include profile.h | |
8619 | * tracer.c, predict.c, sched-ebb.c: Adjust #includes. | |
8620 | * rtl.h: Add coverage prototypes. | |
8621 | * toplev.c (compile_file): Init coverage, not branch_prob. | |
8622 | Always call coverage_finish. | |
8623 | (rest_of_compilation): Call coverage_end_function. | |
ca29da43 | 8624 | |
1774b213 | 8625 | 2003-04-21 Matt Kraai <kraai@alumni.cmu.edu> |
dd0fbae2 MK |
8626 | |
8627 | * config/rs6000/rs6000.md (*movsf_softfloat): Add "h" <- "0" case. | |
8628 | ||
74eb4b3e NB |
8629 | 2003-04-21 Neil Booth <neil@daikokuya.co.uk> |
8630 | ||
8631 | * c-ppoutput.c (cb_include): Don't take a cpp_token. | |
8632 | * cppfiles.c: Don't undef strcmp. | |
8633 | (find_include_file): Don't take a cpp_token. Check for empty | |
8634 | file names. | |
8635 | (_cpp_execute_include, _cpp_compare_file_date): Don't take a cpp_token. | |
8636 | (cpp_push_include): Simplify. | |
8637 | * cpphash.h (_cpp_execute_include, _cpp_compare_file_date): Update. | |
8638 | * cpplib.c (glue_header_name): Return the file name, not a cpp_token. | |
8639 | (parse_include): Similary. Don't check for zero-length filenames. | |
8640 | (do_include_common, do_pragma_dependency): Update accordingly. | |
8641 | * cpplib.h (struct cpp_callbacks): Change prototype of include. | |
8642 | ||
337f4314 | 8643 | 2003-04-21 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
293107d1 | 8644 | |
9e91ce11 RK |
8645 | * doc/rtl.texi (RTX_UNCHANGING_P): Point to true_dependence for |
8646 | details of conflict handling. | |
293107d1 | 8647 | |
26b84487 RK |
8648 | * fold-const.c (extract_muldiv, case CONVERT_EXPR): Detect case |
8649 | when conversion overflows. | |
8650 | ||
1a96dc46 RK |
8651 | * stor-layout.c (layout_decl): Don't set DECL_SIZE_UNIT if already set. |
8652 | ||
337f4314 RK |
8653 | * expr.c (store_constructor): Set RTX_UNCHANGING_P if readonly_field_p |
8654 | before clearing. | |
8655 | ||
3819b963 MM |
8656 | 2003-04-21 Mark Mitchell <mark@codesourcery.com> |
8657 | ||
8658 | * config/i386/winnt.c (i386_pe_mark_dllimport): Make the new RTL | |
8659 | have the same form as the old RTL. | |
8660 | ||
0e7a8c4b AJ |
8661 | 2003-04-21 Andreas Jaeger <aj@suse.de> |
8662 | ||
293107d1 | 8663 | * cppcharset.c (_cpp_valid_ucn): Cast field precision to int. |
0e7a8c4b | 8664 | |
b39b8084 CL |
8665 | 2003-04-20 Chris Lattner <sabre@nondot.org> |
8666 | Zack Weinberg <zack@codesourcery.com> | |
8667 | ||
8668 | * c-common.h, c-semantics.c: Rename genrtl_decl_cleanup to | |
8669 | genrtl_cleanup_stmt. Correct comment at head of | |
8670 | genrtl_cleanup_stmt (no such thing as a DECL_CLEANUP). | |
8671 | ||
8672 | * stmt.c (struct nesting): Kill n_function_calls. | |
8673 | (expand_start_bindings): Don't set | |
8674 | thisblock->data.block.n_function_calls. | |
8675 | (expand_end_bindings): Compare function_call_count against 0. | |
8676 | (expand_cleanups): Kill DONT_DO argument; all callers passed | |
8677 | NULL_TREE. All callers updated to match. | |
8678 | ||
b20cbca2 ZW |
8679 | 2003-04-20 Zack Weinberg <zack@codesourcery.com> |
8680 | ||
8681 | * varasm.c (struct deferred_constant, defer_addressed_constants_flag) | |
8682 | (defer_addressed_constants, output_deferred_addressed_constants): Kill. | |
8683 | (output_constant_def): Remove code predicated on | |
8684 | defer_addressed_constants_flag. | |
8685 | ||
8686 | * output.h: Remove prototypes of deleted functions. | |
8687 | * c-typeck.c (constructor_subconstants_deferred): Kill. | |
8688 | (struct initializer_stack): Remove 'deferred' field. | |
8689 | (start_init): Remove all references to the above. | |
8690 | (finish_init): Likewise. Also remove never-executed call to | |
8691 | output_deferred_addressed_constants. Pull assignment to | |
8692 | defstr out of if expression. | |
8693 | ||
41c32c98 NB |
8694 | 2003-04-20 Neil Booth <neil@daikokuya.co.uk> |
8695 | ||
8696 | * cpphash.h (NOTE_ESC_NL, NOTE_ESC_SPACE_NL, NOTE_TRIGRAPH, | |
8697 | NOTE_NEWLINE): Remove. | |
8698 | * cpplex.c (_cpp_clean_line, _cpp_process_line_notes): Update | |
8699 | to handle new form of line note type. | |
8700 | ||
c6a2438a ZW |
8701 | 2003-04-20 Zack Weinberg <zack@codesourcery.com> |
8702 | ||
8703 | * target.h (encode_section_info): Add new argument carrying | |
8704 | the RTL to be modified by the hook. | |
8705 | ||
8706 | * varasm.c (make_decl_rtl, output_constant_def): Update calls | |
8707 | to encode_section_info. | |
8708 | (default_encode_section_info): Take and use RTL argument, | |
8709 | don't use TREE_CST_RTL or DECL_RTL. | |
8710 | * output.h: Update prototype of default_encode_section_info. | |
8711 | * config/darwin.h (ASM_DECLARE_OBJECT_NAME) | |
8712 | (ASM_DECLARE_FUNCTION_NAME, ASM_OUTPUT_ALIGNED_DECL_LOCAL): | |
8713 | Update calls to encode_section_info. | |
8714 | ||
8715 | * config/darwin.c, config/arm/arm.c, config/arm/pe.c | |
8716 | * config/h8300/h8300.c, config/i386/winnt.c, config/m32r/m32r.c | |
8717 | * config/m68hc11/m68hc11.c, config/m88k/m88k.c, config/mcore/mcore.c | |
8718 | * config/mips/mips.c, config/mmix/mmix.c, config/pa/pa.c | |
8719 | * config/romp/romp.c, config/rs6000/rs6000.c, config/s390/s390.c | |
8720 | * config/v850/v850.c (TARGET_ENCODE_SECTION_INFO definitions): | |
8721 | Take and use RTL argument, don't use TREE_CST_RTL or DECL_RTL, | |
8722 | except for PE dllimport/dllexport. Update calls to | |
8723 | default_encode_section_info. | |
8724 | ||
8725 | * config/darwin-protos.h, config/arm/arm-protos.h, config/i386-protos.h: | |
8726 | Update prototypes. | |
8727 | ||
8728 | * doc/tm.texi (TARGET_ENCODE_SECTION_INFO): Update. | |
8729 | ||
8c7d377f JDA |
8730 | 2003-04-20 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
8731 | ||
8732 | PR/8705 | |
8733 | * pa.md (movccfp): New expander. | |
8734 | (setccfp0, setccfp1): Rename to movccfp0 and movccfp1, respectively. | |
8735 | Reverse fcmp conditions. | |
8736 | ||
1052bb09 MM |
8737 | 2003-04-20 Marek Michalkiewicz <marekm@amelek.gda.pl> |
8738 | ||
8739 | * config/avr/avr.md (*cmpqi_sign_extend): Handle negative values | |
8740 | of operand 1 correctly. | |
8741 | ||
299f79b5 NS |
8742 | 2003-04-20 Nathan Sidwell <nathan@codesourcery.com> |
8743 | ||
8744 | * cpplex.c (_cpp_lex_direct): Set BOL for CPP_EOF tokens. | |
8745 | * gcov.c (output_lines): Don't be so fussy about going past EOF. | |
8746 | ||
1613e52b NB |
8747 | 2003-04-20 Neil Booth <neil@daikokuya.co.uk> |
8748 | ||
8749 | * Makefile.in (LIBCPP_OBJS): Add cppcharset.o. | |
8750 | (cppcharset.o): New target. | |
8751 | * c-lex.c (is_extended_char): Move to cppcharset.c. | |
8752 | (utf8_extend_token): Delete. | |
8753 | * cppcharset.c: New file. | |
8754 | * cpphash.h (_cpp_valid_ucn): New. | |
8755 | * cpplex.c (lex_identifier): Update prototype. | |
8756 | (continues_identifier_p): Rename forms_identifier_p. Handle UCN | |
8757 | escapes. | |
8758 | (maybe_read_ucs): Rename maybe_read_ucn. Update to use code | |
8759 | in cppcharset.c. | |
8760 | (lex_number, lex_identifier, cpp_parse_escape): Update. | |
8761 | (_cpp_lex_direct): Update to handle UCNs. | |
8762 | (cpp_avoid_paste): Don't paste to form a UCN. | |
8763 | ||
0a45ec5c RS |
8764 | 2003-04-19 Roger Sayle <roger@eyesopen.com> |
8765 | ||
8766 | * builtins.c (expand_builtin): Don't expand a pure or const | |
8767 | built-in function if the result will be ignored and none of | |
8768 | its arguments are volatile. | |
8769 | ||
16477cc5 KJ |
8770 | 2003-04-19 Kean Johnston <jkj@sco.com> |
8771 | ||
8772 | * unwind-dw2.c (_Unwind_GetCFA): cast return to avoid warning | |
8773 | * config.gcc: make SCO use dbxelf.h and elfos.h; only use one | |
8774 | target fragment now: t-sco5; dont compile crti.o. | |
8775 | * config/i386/sco5.h: major overhaul to remove all COFF remnants | |
8776 | and to use elfos.h for most definitions. | |
8777 | (BSS_SECTION_ASM_OP): set correct segment attributes. | |
8778 | (PREFERED_DEBUGGING_TYPE): set to DWARF-2. | |
8779 | (DWARF2_UNWIND_INFO): Always set to 1. | |
8780 | (MD_STARTFILE_PREFIX): Make /usr/gnu/lib the default. | |
8781 | (MD_STARTFILE_PREFIX_1): Define. | |
8782 | (MD_EXEC_PREFIX): Adjust to /usr/gnu/bin if using GAS. | |
8783 | (DEFAULT_LINKER): Define if not specified to configure. | |
8784 | (CTORS_SECTION_ASM_OP): Remove COFF crud. | |
8785 | (DTORS_SECTION_ASM_OP): Remove COFF crud. | |
8786 | (WINT_TYPE): Define. | |
8787 | (SDB_DEBUGGING_INFO): Remove. | |
8788 | (EXTRA_SECTIONS): Likewise. | |
8789 | (EXTRA_SECTION_FUNCTIONS): Likewise. | |
8790 | (CTOR_LIST_BEGIN): Likewise. | |
8791 | (CTOR_LIST_END): Likewise. | |
8792 | (INIT_SECTION_FUNCTION): Likewise. | |
8793 | (FINI_SECTION_FUNCTION): Likewise. | |
8794 | (SUBTARGET_FRAME_POINTER_REQUIRED): Likewise. | |
8795 | (LOCAL_LABEL_PREFIX): Likewise. | |
8796 | (NON_SAVING_SETJMP): Likewise. | |
8797 | (RETURN_POPS_ARGS): Likewise. | |
8798 | (ASM_OUTPUT_SKIP): Likewise. | |
8799 | (TARGET_ASM_NAMED_SECTION): Likewise. | |
8800 | (ASM_OUTPUT_INTERNAL_LABEL): Likewise. | |
8801 | (ASM_OUTPUT_EXTERNAL_LIBCALL): Likewise. | |
8802 | (ASM_OUTPUT_IDENT): Likewise. | |
8803 | (ASM_OUTPUT_CASE_LABEL): Likewise. | |
8804 | (ASM_OUTPUT_ASCII): Likewise. | |
8805 | (ASM_OUTPUT_LIMITED_STRING): Likewise. | |
8806 | (ASM_OUTPUT_ALIGNED_LOCAL): Likewise. | |
8807 | (ASM_OUTPUT_ALIGNED_COMMON): Likewise. | |
8808 | (ASM_GENERATE_INTERNAL_LABEL): Likewise. | |
8809 | (ASM_FINISH_DECLARE_OBJECT): Likewise. | |
8810 | (ASM_DECLARE_OBJECT_NAME): Likewise. | |
8811 | (ASM_DECLARE_FUNCTION_SIZE): Likewise. | |
8812 | (ASM_DECLARE_FUNCTION_NAME): Likewise. | |
8813 | (ASM_DECLARE_RESULT): Likewise. | |
8814 | (ASM_WEAKEN_LABEL): Likewise. | |
8815 | (SUPPORTS_WEAK): Likewise. | |
8816 | (APPLY_RESULT_SIZE): Likewise. | |
8817 | (LPREFIX): Likewise. | |
8818 | (ALIGN_ASM_OP): Likewise. | |
8819 | (ASCII_DATA_ASM_OP): Likewise. | |
8820 | (IDENT_ASM_OP): Likewise. | |
8821 | (ASM_SHORT): Likewise. | |
8822 | (ASM_LONG): Likewise. | |
8823 | (TYPE_ASM_OP): Likewise. | |
8824 | (SIZE_ASM_OP): Likewise. | |
8825 | (STRING_ASM_OP): Likewise. | |
8826 | (SKIP_ASM_OP): Likewise. | |
8827 | (EH_FRAME_SECTION_ASM_OP): Likewise. | |
8828 | (READONLY_DATA_SECTION_ASM_OP): Likewise. | |
8829 | (INIT_SECTION_ASM_OP): Likewise. | |
8830 | (FINI_SECTION_ASM_OP): Likewise. | |
8831 | (TEXT_SECTION_ASM_OP): Likewise. | |
8832 | (DATA_SECTION_ASM_OP): Likewise. | |
8833 | (TYPE_OPERANT_FORMAT): Likewise. | |
8834 | (ASM_SPEC): Remove COFF code. | |
8835 | (STARTFILE_SPEC): Likewise. Always use crti.o; add -p and -pp support; | |
8836 | cause -pg to emit an error; use pcrt1elf.o with -pp | |
8837 | (ENDFILE_SPEC): Likewise. | |
8838 | (TARGET_OS_CPP_BUILTINS): Add _SCO_DS_LL. | |
8839 | (CPP_SPEC): Remove COFF crud; always look in /usr/gnu/include first. | |
8840 | (LINK_SPEC): Remove COFF crud; use -E for environment switch not -R; | |
8841 | add -z alt_resolve to support weak symbols the way GCC wants them. | |
8842 | (LIB_SPEC): Use the profiler libraries in -p or -pp mode. | |
8843 | (LIBGCC_SPEC): Dont use -lgcc in -G mode. | |
8844 | (ASM_PREFERED_EH_DATA_FORMAT): Remove. | |
8845 | * config/i386/t-sco5 (TARGET_LIBGCC2_CFLAGS): Remove. | |
8846 | (CRTSTUFF_T_CFLAGS_S): Define. | |
8847 | (MULTILIB_OPTIONS): Likewise. | |
8848 | (MULTILIB_DIRNAMES): Likewise. | |
8849 | (MULTILIB_MATCHES): Likewise. | |
8850 | (MULTILIB_EXTRA_OPTS): Likewise. | |
8851 | (LIBGCC): Likewise. | |
8852 | (INSTALL_LIBGCC): Likewise. | |
8853 | (crti.o): Remove. | |
8854 | * config/i386/t-sco5gas: Remove. | |
8855 | * doc/install.texi: Updated for new OpenServer instructions. | |
8856 | * testsuite/gcc.dg/nest.c: Allow failure on SCO (-pg not supported) | |
8857 | ||
de0656cf KJ |
8858 | 2003-04-19 Kean Johnston <jkj@sco.com> |
8859 | ||
8860 | * fixinc/check.tpl: Allow user to over-ride diff program. | |
8861 | * fixinc/inclhack.def: Removed extraneous #ifndef SVR5. | |
8862 | (sco_math): Added test for SCO math header files. | |
8863 | (sco_regset): Added check for conflicts with ieeefp.h. | |
8864 | (svr4_disable_opt): Removed extraneous #ifdef SVR4. | |
8865 | * fixinc/fixincl.x: Regenerated | |
8866 | * fixinc/tests/base/math.h: Added sco_math tests. | |
8867 | * fixinc/tests/base/string.h: New file. | |
8868 | * fixinc/tests/base/sys/regset.h: New file. | |
8869 | ||
6f572ac2 NB |
8870 | 2003-04-19 Neil Booth <neil@daikokuya.co.uk> |
8871 | ||
8872 | * cpphash.h (struct cpp_buffer): Remove backup_to. | |
8873 | * cpplex.c (BACKUP, get_effective_char): Die. | |
8874 | (_cpp_skip_block_comment): Assume '*' is location on entry. | |
8875 | (continues_identifier_p): Respect -fno-dollars-in-identifiers. | |
8876 | (IF_NEXT_IS): Update. | |
8877 | (_cpp_lex_direct): Don't use backup_to; look ahead directly. | |
8878 | ||
ced2ad76 MK |
8879 | 2003-04-19 Matt Kraai <kraai@alumni.cmu.edu> |
8880 | ||
8881 | * README.Portability: Move to a new section and obsolete K+R | |
8882 | portability issues. | |
8883 | ||
07015444 JH |
8884 | Sat Apr 19 14:56:17 CEST 2003 Jan Hubicka <jh@suse.cz> |
8885 | ||
8886 | * rtlanal.c (subreg_offset_representable_p): Fix call of | |
8887 | subreg_lowpart. | |
8888 | ||
bced6edf NB |
8889 | 2003-04-19 Neil Booth <neil@daikokuya.co.uk> |
8890 | ||
8891 | * cpphash.h (struct cpp_reader): New member warned_dollar. | |
8892 | * cpplex.c (continues_identifier_p): New function. | |
8893 | (parse_identifier, parse_number, parse_string): Rename lex_identifer, | |
8894 | lex_number and lex_string, and simplify. | |
8895 | (parse_slow, unescaped_terminator_p): Die. | |
8896 | (_cpp_lex_direct): Update. | |
8897 | ||
a259f218 RK |
8898 | 2003-04-19 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
8899 | ||
8900 | * calls.c (expand_call): Provide init for old_stack_pointer_delta. | |
8901 | ||
8555daff NS |
8902 | 2003-04-19 Nathan Sidwell <nathan@codesourcery.com> |
8903 | ||
8904 | * doc/invoke.texi (-fprofile-arcs): Mention -lgcov, locking and | |
6356f892 | 8905 | fork behavior. |
8555daff | 8906 | |
4e1f0f8e NB |
8907 | 2003-04-19 Neil Booth <neil@daikokuya.co.uk> |
8908 | ||
8909 | * cppexp.c (eval_token): Permit true and false even if pedantic. | |
8910 | ||
bf805def NB |
8911 | 2003-04-19 Neil Booth <neil@daikokuya.co.uk> |
8912 | ||
8913 | * cpplex.c (skip_whitespace): Rearrange to avoid stage1 ICE. | |
8914 | ||
26aea073 NB |
8915 | 2003-04-19 Neil Booth <neil@daikokuya.co.uk> |
8916 | ||
8917 | * cppfiles.c (ENABLE_VALGRIND_CHECKING, VALGRIND_DISCARD, | |
8918 | MMAP_THRESHOLD, TEST_THRESHOLD, SHOULD_MMAP): Remove. | |
8919 | (struct include_file): Remove fefcnt, mapped members. | |
8920 | (open_file, stack_include_file, _cpp_pop_file_buffer): Disable caching. | |
8921 | (read_include_file): Don't use mmap, terminate buffers in '\r'. | |
8922 | (purge_cache): Don't use munmap. | |
8923 | * cpphash.h (CPP_BUF_COLUMN): Update. | |
8924 | (lexer_state): Remove lexing_comment. | |
8925 | (struct _cpp_line_note): New. | |
8926 | (struct cpp_buffer): New members cur_note, notes_used, notes_cap, | |
8927 | next_line and need_line. Remove col_adjust and saved_flags. | |
8928 | (_cpp_process_line_notes, _cpp_clean_line, _cpp_get_fresh_line, | |
8929 | _cpp_skip_block_comment, scan_out_logical_line): New. | |
8930 | (_cpp_init_mbchar): Remove. | |
8931 | * cppinit.c (init_library): Remove call to _cpp_init_mbchar. | |
8932 | (cpp_read_main_file): Set line to 1 earlier. | |
8933 | (post_options): -traditional-cpp doesn't want trigraphs. | |
8934 | * cpplex.c (MULTIBYTE_CHARS): Remove code predicated on this. | |
8935 | (add_line_note, _cpp_clean_line, _cpp_process_line_notes, | |
8936 | _cpp_get_fresh_line): New. | |
8937 | (handle_newline, skip_escaped_newlines, trigraph_p, | |
8938 | continue_after_nul, _cpp_init_mbchar): Remove. | |
8939 | (get_effective_char): Update. | |
8940 | (_cpp_skip_block_comment): Rename from skip_block_comment, simplify. | |
8941 | (skip_line_comment): Simplify. | |
8942 | (skip_whitespace, parse_identifier, parse_slow, parse_number, | |
8943 | parse_string): Update. | |
8944 | (cpp_lex_direct): Use clean lines and process line notes. Update. | |
8945 | (cpp_interpret_charconst): No MULTIBYTE_CHARS. | |
8946 | * cpplib.c (prepare_directive_trad): Call scan_out_logical_line | |
8947 | directly. | |
8948 | (_cpp_handle_directive): Don't set saved_flags. | |
8949 | (run_directive, destringize_and_run, cpp_define, cpp_define_builtin, | |
8950 | cpp_undef, handle_assertion, cpp_push_buffer): Update. | |
8951 | (_cpp_pop_buffer): Free notes. | |
8952 | * cppmacro.c (builtin_macro, paste_tokens): \n terminate buffer. | |
8953 | * cpppch.c (cpp_read_state): \n terminate buffer. | |
8954 | * cpptrad.c (skip_escaped_newlines, handle_newline): Remove. | |
8955 | (copy_comment): Use _cpp_skip_block_comment. | |
8956 | (skip_whitespace, lex_identifier, _cpp_read_logical_line_trad): | |
8957 | Simplify. | |
8958 | (_cpp_overlay_buffer, _cpp_remove_overlay, push_replacement_text, | |
8959 | save_replacement_text): Update. | |
8960 | (scan_out_logical_line): Update to use clean lines and process | |
8961 | line notes. | |
8962 | * fix-header.c (read_scan_file): Update. | |
8963 | ||
7008a11b DR |
8964 | 2003-04-18 Douglas B Rupp <rupp@gnat.com> |
8965 | ||
8966 | * unwind-dw2-fde.c (__register_frame_info_bases): Check for | |
8967 | null begin parameter (as well as pointer to null). | |
8968 | (__deregister_frame_info_bases): Likewise. | |
8969 | ||
21102f25 RK |
8970 | 2003-04-18 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
8971 | ||
34d21fe3 RK |
8972 | * function.c (purge_addressof_1): For ADDRESSOF, see if SUB is a |
8973 | hard or virtual register and copy into pseudo if replacement fails. | |
8974 | ||
8975 | * cfgcleanup.c (flow_find_cross_jump): Use INSN_P, not active_insn_p. | |
dd4ff203 | 8976 | |
21102f25 RK |
8977 | * expmed.c (mask_rtx): Avoid undefined shifts for BITSIZE of 0. |
8978 | ||
e59baa1f OH |
8979 | 2003-04-18 Olivier Hainque <hainque@act-europe.fr> |
8980 | ||
38afb23f OH |
8981 | * calls.c (expand_call): Move special case for constructor calls |
8982 | to right place. Ensures constructor calls used to initialize | |
c6a2438a | 8983 | arguments get a clean outgoing argument block for themselves. |
38afb23f OH |
8984 | Move check for stack deallocation completeness until after last |
8985 | deallocation. Add stack_pointer_delta to set of state | |
8986 | variables saved and restored along with current stack_level. | |
c6a2438a ZW |
8987 | |
8988 | * integrate.c (expand_inline_function): Ensure non-const actuals | |
8989 | don't end up const in the caller's flow after conversion to possibly | |
8990 | const formal type. | |
e59baa1f | 8991 | |
8dcea3f3 VC |
8992 | 2003-04-18 Vincent Celier <celier@gnat.com> |
8993 | ||
c6a2438a ZW |
8994 | * dwarf2out.c (loc_descriptor_from_tree): Treat all *_MOD_EXPR |
8995 | and *_DIV_EXPR as TRUNC_*_EXPR. | |
8dcea3f3 | 8996 | |
3e378f14 MM |
8997 | 2003-04-18 Mark Mitchell <mark@codesourcery.com> |
8998 | ||
8999 | * cfgrtl.c (try_redirect_by_replacing_jump): Create a basic block | |
9000 | for orphaned jump tables. | |
9001 | ||
1b0d0e84 KH |
9002 | 2003-04-18 Kazu Hirata <kazu@cs.umass.edu> |
9003 | ||
9004 | * reload1.c: Revert my previous patch on 2002-04-17. | |
9005 | ||
906042f5 GP |
9006 | 2003-04-18 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
9007 | ||
9008 | * doc/contrib.texi (Contributors): Prefer "bug fix" over "bugfix". | |
9009 | Add Segher Boessenkool. | |
9010 | ||
38a31425 AS |
9011 | 2003-04-18 Alexander Sotirov <sluncho@mirizma.org> |
9012 | ||
9013 | PR c/9177 | |
9014 | * c-decl.c (c_expand_body): Don't garbage collect the function | |
9015 | body if we are going to dump it later. | |
9016 | ||
59c60a98 RH |
9017 | 2003-04-18 Richard Henderson <rth@redhat.com> |
9018 | ||
9019 | * config/alpha/alpha.c (SYMBOL_FLAG_NEAR, SYMBOL_FLAG_SAMEGP): Remove. | |
9020 | (alpha_end_function): Don't set them. | |
9021 | (decl_in_text_section): Remove. | |
9022 | (alpha_encode_section_info): Remove. | |
9023 | (samegp_function_operand): Use SYMBOL_REF LOCAL_P and EXTERNAL_P. | |
9024 | (direct_call_operand): Use SYMBOL_REF_DECL and compare actual | |
9025 | sections, rather than decl_in_text_section results. | |
9026 | ||
c553b702 RS |
9027 | 2003-04-18 Roger Sayle <roger@eyesopen.com> |
9028 | ||
9029 | * rtlanal.c (reg_overlap_mentioned_p): Handle ZERO_EXTRACT | |
9030 | and SIGN_EXTRACT. | |
9031 | ||
6a29edea EB |
9032 | 2003-04-18 Eric Botcazou <ebotcazou@libertysurf.fr> |
9033 | ||
9034 | PR optimization/7675 | |
9035 | * c-typeck.c (build_external_ref): Set the DECL_NONLOCAL flag | |
9036 | on VAR_DECL, PARM_DECL and FUNCTION_DECL from within | |
9037 | nested functions if they refer to declarations from parent functions. | |
9038 | * stmt.c (expand_decl): Don't put automatic variables in registers | |
9039 | if the DECL_NONLOCAL flag is set. | |
9040 | ||
4d3eb89a HPN |
9041 | 2003-04-18 Hans-Peter Nilsson <hp@bitrange.com> |
9042 | ||
9043 | * gcse.c (compute_ld_motion_mems): For MEM destinations, only | |
9044 | consider those to be movable where the source matches | |
9045 | want_to_gcse_p. | |
9046 | (update_ld_motion_stores): In comment, refer to | |
9047 | compute_ld_motion_mems for validity of replacement. | |
9048 | ||
04c5580f JH |
9049 | Fri Apr 18 01:28:51 CEST 2003 Jan Hubicka <jh@suse.cz> |
9050 | ||
d101590b | 9051 | * gcov-dump.c (tag_summary): Remove max_sum |
ca29da43 NS |
9052 | * gcov-io.h (gcov_summary, gcov_write_summary, |
9053 | gcov_read_summary): Kill max_sum. | |
9054 | * libgcov.c (gcov_exit): Do one pass over the data. Make error | |
9055 | message more verbose. | |
9056 | ||
9057 | * emit-rtl.c (subreg_hard_regno): Check that register is | |
9058 | representable. | |
293107d1 | 9059 | |
04c5580f JH |
9060 | * reload.c (reload_inner_reg_of_subreg): When register is not |
9061 | representable, reload the whole thing. | |
9062 | (find_reloads): Likewsie. | |
9063 | * rtlanal.c (subreg_representable_p): New function. | |
9064 | ||
9065 | * profile.c (compute_branch_probabilities): Cleanup sanity checking; | |
9066 | allow negative probabilities for edges from the call to exit. | |
ca29da43 NS |
9067 | (branch_prob): Do not add fake edges for functions that may return |
9068 | twice. | |
04c5580f | 9069 | |
c409ea0d DD |
9070 | 2003-04-17 DJ Delorie <dj@redhat.com> |
9071 | ||
9072 | * toplev.c (target_options): Add value field. | |
9073 | (set_target_switch): Handle target options with values. | |
9074 | * doc/tm.texi: Document how fixed vs variable target | |
9075 | options work. | |
9076 | * config/alpha/alpha.h, config/arc/arc.h, config/avr/avr.h, | |
9077 | config/c4x/c4x.h, config/cris/aout.h, config/cris/cris.h, | |
9078 | config/d30v/d30v.h, config/dsp16xx/dsp16xx.h, | |
9079 | config/frv/frv.h, config/i386/i386.h, config/ia64/ia64.h, | |
9080 | config/m32r/m32r.h, config/m68hc11/m68hc11.h, | |
9081 | config/m68k/m68k.h, config/m88k/m88k.h, config/mcore/mcore.h, | |
9082 | config/mips/mips.h, config/mmix/mmix.h, config/pa/pa.h, | |
9083 | config/rs6000/rs6000.h, config/rs6000/sysv4.h, | |
9084 | config/s390/s390.h, config/sparc/sparc.h, config/v850/v850.h: | |
9085 | Add value initializer to target options. | |
9086 | ||
36801818 LR |
9087 | 2003-04-07 Loren James Rittle <ljrittle@acm.org> |
9088 | ||
9089 | * cpppch.c (cpp_valid_state): Unconditionally initialize nl. | |
9090 | ||
a211395b KH |
9091 | 2003-04-17 Kazu Hirata <kazu@cs.umass.edu> |
9092 | ||
9093 | * reload1.c (move2add_last_cc0): New. | |
9094 | (reload_cse_move2add): Detect implicit sets. | |
9095 | (move2add_note_store): Notice a store into cc0. | |
9096 | ||
220a35cc RS |
9097 | 2003-04-17 Roger Sayle <roger@eyesopen.com> |
9098 | ||
9099 | PR c/10375 | |
9100 | * c-decl.c (duplicate_decls): Preserve "const" and "noreturn" | |
9101 | function attributes. | |
9102 | ||
7ed0620a | 9103 | 2003-04-17 Janis Johnson <janis187@us.ibm.com> |
46b2356d JJ |
9104 | |
9105 | * doc/sourcebuild.texi (Test Suites): Document support for testing | |
9106 | binary compatibility (moved from testsuite/README.compat). | |
9107 | ||
3907500b RH |
9108 | 2003-04-17 Richard Henderson <rth@redhat.com> |
9109 | ||
9110 | * config/ia64/ia64.c (ia64_in_small_data_p): Disallow strings. | |
9111 | ||
d22b2e54 SL |
9112 | 2003-04-17 Simon Law <sfllaw@engmail.uwaterloo.ca> |
9113 | ||
c6a2438a ZW |
9114 | * doc/include/gpl.texi: Fix double-spacing after "MA" to match |
9115 | the one provided by the FSF. | |
d22b2e54 | 9116 | |
616de62f GP |
9117 | 2003-04-17 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
9118 | ||
9119 | * doc/install.texi (Binaries): Update URL and list of platforms | |
9120 | provided by ftp.thewrittenword.com. | |
9121 | ||
f2dd0c42 RH |
9122 | 2003-04-17 Richard Henderson <rth@redhat.com> |
9123 | ||
9124 | * config/xtensa/xtensa.c (xtensa_encode_section_info): Remove. | |
9125 | (call_insn_operand): Use SYMBOL_REF_LOCAL_P. | |
9126 | * config/xtensa/xtensa.md (call, call_value): Likewise. | |
9127 | ||
50d1ff6a RH |
9128 | 2003-04-17 Richard Henderson <rth@redhat.com> |
9129 | ||
9130 | * config/v850/v850.c (print_operand): Use SYMBOL_REF_[ZST]DA. | |
9131 | (print_operand_address): Likewise. | |
9132 | (ep_memory_operand): Likewise. | |
9133 | (special_symbolref_operand): Likewise. | |
9134 | (v850_encode_data_area): Use SYMBOL_REF_FLAGS. | |
9135 | (v850_encode_section_info): Call default_encode_section_info. | |
9136 | (v850_strip_name_encoding): Remove. | |
9137 | * config/v850/v850.h (EXTRA_CONSTRAINT): Use SYMBOL_REF_[ZST]DA. | |
9138 | (ASM_OUTPUT_LABELREF): Remove. | |
9139 | (ZDA_NAME_FLAG_CHAR, ZDA_NAME_P): Remove. | |
9140 | (SDA_NAME_FLAG_CHAR, SDA_NAME_P): Remove. | |
9141 | (TDA_NAME_FLAG_CHAR, TDA_NAME_P): Remove. | |
9142 | (ENCODED_NAME_P): Remove. | |
9143 | (SYMBOL_FLAG_ZDA, SYMBOL_REF_ZDA_P): New. | |
9144 | (SYMBOL_FLAG_SDA, SYMBOL_REF_SDA_P): New. | |
9145 | (SYMBOL_FLAG_TDA, SYMBOL_REF_TDA_P): New. | |
9146 | ||
e7d687bb RH |
9147 | 2003-04-17 Richard Henderson <rth@redhat.com> |
9148 | ||
9149 | * config/stormy16/stormy16.c (xstormy16_encode_section_info): Kill. | |
9150 | * config/stormy16/stormy16.h (ASM_OUTPUT_SYMBOL_REF): Use | |
9151 | SYMBOL_REF_FUNCTION_P. | |
9152 | ||
72628c61 RH |
9153 | 2003-04-17 Richard Henderson <rth@redhat.com> |
9154 | ||
9155 | * config/sparc/sparc.c (sparc_encode_section_info): Remove. | |
9156 | (data_segment_operand): Use SYMBOL_REF_FUNCTION_P. | |
9157 | (text_segment_operand): Likewise. | |
9158 | ||
675ff4c7 RH |
9159 | 2003-04-17 Richard Henderson <rth@redhat.com> |
9160 | ||
9161 | * config/sh/sh.c (gen_datalabel_ref): Don't add SH_DATALABEL_ENCODING. | |
9162 | (tls_symbolic_operand): Use SYMBOL_REF_TLS_MODEL. | |
9163 | (legitimize_pic_address): Use SYMBOL_REF_LOCAL_P. | |
9164 | (sh_encode_section_info): Remove. | |
9165 | (sh_strip_name_encoding): Remove. | |
9166 | * config/sh/sh.h (SH_DATALABEL_ENCODING): Remove. | |
9167 | (DATALABEL_SYMNAME_P, STRIP_DATALABEL_ENCODING): Remove. | |
9168 | (SH_TLS_ENCODING, TLS_SYMNAME_P, STRIP_TLS_ENCODING): Remove. | |
9169 | (ASM_OUTPUT_LABELREF): Remove. | |
9170 | (ASM_OUTPUT_SYMBOL_REF): Use SYMBOL_REF_FUNCTION_P. | |
9171 | * config/sh/sh.md (*): Use SYMBOL_REF_LOCAL_P. | |
9172 | ||
114278e7 RH |
9173 | 2003-04-17 Richard Henderson <rth@redhat.com> |
9174 | ||
9175 | * config/s390/s390.c (SYMBOL_FLAG_ALIGN1): New. | |
9176 | (tls_model_chars): Remove. | |
9177 | (larl_operand): Use SYMBOL_REF_FLAGS. | |
9178 | (tls_symbolic_operand): Use SYMBOL_REF_TLS_MODEL. | |
c6a2438a | 9179 | (legitimize_pic_address): Use SYMBOL_REF_LOCAL_P. |
114278e7 RH |
9180 | (s390_output_mi_thunk): Likewise. |
9181 | (s390_emit_prologue): Set SYMBOL_FLAG_LOCAL as needed. | |
9182 | (s390_function_profiler): Likewise. | |
9183 | (s390_encode_section_info): Use default_encode_section_info | |
9184 | and SYMBOL_FLAG_ALIGN1. | |
9185 | (s390_strip_name_encoding): Remove. | |
9186 | * config/s390/s390.h (ASM_OUTPUT_LABELREF): Remove. | |
9187 | * config/s390/s390.md (call, call_value): Use SYMBOL_REF_LOCAL_P. | |
9188 | (builtin_setjmp_receiver): Set SYMBOL_FLAG_LOCAL as needed. | |
9189 | ||
e95ef187 RH |
9190 | 2003-04-17 Richard Henderson <rth@redhat.com> |
9191 | ||
9192 | * config/ns32k/ns32k.c (ns32k_encode_section_info): Remove. | |
9193 | (global_symbolic_reference_mentioned_p): Use SYMBOL_REF_LOCAL_P. | |
9194 | (print_operand_address): Likewise. | |
9195 | ||
9196 | * config/ns32k/ns32k.h (CANNOT_CHANGE_MODE_CLASS): Add CLASS argument. | |
9197 | * config/ns32k/ns32k.c (expand_block_move): Don't check | |
9198 | flag_unroll_loops. | |
9199 | ||
6cd4a764 RH |
9200 | 2003-04-17 Richard Henderson <rth@redhat.com> |
9201 | ||
9202 | * config/mcore/mcore.c (mcore_encode_section_info): Don't set | |
9203 | SYMBOL_REF_FLAG. | |
9204 | ||
89e6b702 RH |
9205 | 2003-04-17 Richard Henderson <rth@redhat.com> |
9206 | ||
9207 | * rtl.h (SYMBOL_FLAG_MACH_DEP_SHIFT): New. | |
9208 | ||
9209 | * config/m32r/m32r.c (SYMBOL_FLAG_MODEL_SHIFT): New. | |
9210 | (SYMBOL_REF_MODEL): New. | |
9211 | (LIT_NAME_P): Move from m32r.h. | |
9212 | (m32r_select_section): Remove. | |
9213 | (m32r_encode_section_info): Use SYMBOL_REF_FLAGS. | |
9214 | (m32r_strip_name_encoding): Remove. | |
9215 | (m32r_in_small_data_p): New. | |
9216 | (small_data_operand): Use SYMBOL_REF_SMALL_P. | |
9217 | (addr24_operand): Use SYMBOL_REF_MODEL. | |
9218 | (call26_operand): Likewise. | |
9219 | (addr32_operand): Tidy. | |
9220 | (m32r_print_operand): Use HOST_WIDE_INT_PRINT_HEX. | |
9221 | * config/m32r/m32r.h (RODATA_SECTION_ASM_OP): Remove. | |
9222 | (SDATA_SECTION_ASM_OP, SBSS_SECTION_ASM_OP): Remove. | |
9223 | (READONLY_DATA_SECTION_ASM_OP): Remove. | |
9224 | (EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS): Remove. | |
9225 | (SDATA_SECTION_FUNCTION, SBSS_SECTION_FUNCTION): Remove. | |
9226 | (TARGET_ASM_SELECT_SECTION): Remove. | |
9227 | (SDATA_FLAG_CHAR, MEDIUM_FLAG_CHAR, LARGE_FLAG_CHAR): Remove. | |
9228 | (SDATA_NAME_P, SMALL_NAME_P, MEDIUM_NAME_P): Remove. | |
9229 | (LARGE_NAME_P, ENCODED_NAME_P): Remove. | |
9230 | (ASM_OUTPUT_LABELREF): Remove. | |
9231 | ||
ec94fc00 RH |
9232 | 2003-04-17 Richard Henderson <rth@redhat.com> |
9233 | ||
9234 | * config/ip2k/ip2k.c (is_regfile_address): Use SYMBOL_REF_FUNCTION_P. | |
9235 | (encode_section_info): Remove. | |
9236 | * config/ip2k/ip2k-protos.h: Update. | |
9237 | ||
1b8135a4 RH |
9238 | 2003-04-17 Richard Henderson <rth@redhat.com> |
9239 | ||
c6a2438a | 9240 | * varasm.c (default_encode_section_info): Don't set |
1b8135a4 RH |
9241 | SYMBOL_FLAG_EXTERNAL if not TREE_PUBLIC. |
9242 | * config/i370/i370.c (i370_encode_section_info): Remove. | |
9243 | * config/i370/i370.h (CONSTANT_ADDRESS_P): Use SYMBOL_REF_EXTERNAL_P. | |
9244 | (PRINT_OPERAND, PRINT_OPERAND_ADDRESS): Likewise. | |
9245 | * config/i370/i370.md (movsi): Likewise. | |
9246 | ||
9247 | * config/i370/t-i370: Add missing backslash. | |
9248 | ||
6d7fe8b3 EB |
9249 | 2003-04-17 Eric Botcazou <ebotcazou@libertysurf.fr> |
9250 | ||
9251 | * doc/invoke.texi (inline-limit): Fix pasto. | |
9252 | ||
dc66a1c4 RH |
9253 | 2003-04-17 Richard Henderson <rth@redhat.com> |
9254 | ||
9255 | * config/h8300/h8300.c (SYMBOL_FLAG_FUNCVEC_FUNCTION): New. | |
9256 | (small_call_insn_operand): Use it. | |
9257 | (SYMBOL_FLAG_EIGHTBIT_DATA): New. | |
9258 | (h8300_eightbit_constant_address_p): Use it. | |
9259 | (SYMBOL_FLAG_TINY_DATA): New. | |
9260 | (h8300_tiny_constant_address_p): Use it. | |
9261 | (h8300_encode_label, h8300_strip_name_encoding): Remove. | |
9262 | (h8300_encode_section_info): Set SYMBOL_REF_FLAGS. | |
9263 | * config/h8300/h8300.h (TINY_DATA_NAME_P): Remove. | |
9264 | (ASM_OUTPUT_LABELREF): Remove. | |
9265 | ||
90a63880 RH |
9266 | 2003-04-16 Richard Henderson <rth@redhat.com> |
9267 | ||
0f6e5d45 RH |
9268 | * config/frv/frv.c (symbol_ref_small_data_p): Remove. Replace |
9269 | all users with SYMBOL_REF_SMALL_P. | |
9270 | (const_small_data_p): Use SYMBOL_REF_SMALL_P. | |
9271 | (frv_encode_section_info): Remove. | |
9272 | (frv_strip_name_encoding): Remove. | |
9273 | (frv_in_small_data_p): Merge tests from encode_section_info. | |
9274 | (frv_print_operand): Use '@' not SDATA_FLAG_CHAR. | |
9275 | * config/frv/frv.h (SDATA_FLAG_CHAR): Remove. | |
9276 | (SDATA_NAME_P): Remove. | |
9277 | (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Use SIZE not SDATA_NAME_P. | |
9278 | (ASM_OUTPUT_LABELREF): Remove. | |
9279 | (PRINT_OPERAND_PUNCT_VALID_P): Use '@' not SDATA_FLAG_CHAR. | |
9280 | ||
90a63880 RH |
9281 | * config/frv/frv.c (frv_asm_out_constructor): New. |
9282 | (frv_asm_out_destructor): New. | |
9283 | * config/frv/frv.h (CTORS_SECTION_ASM_OP): New. | |
9284 | (DTORS_SECTION_ASM_OP): New. | |
9285 | (ASM_OUTPUT_CONSTRUCTOR): Remove. | |
9286 | (ASM_OUTPUT_DESTRUCTOR): Remove. | |
9287 | ||
5c93e01b RH |
9288 | 2003-04-16 Richard Henderson <rth@redhat.com> |
9289 | ||
9290 | * config/cris/cris.c (cris_gotless_symbol, cris_got_symbol): Use | |
9291 | SYMBOL_REF_LOCAL_P; abort if not pic. | |
9292 | (cris_encode_section_info): Remove. | |
9293 | ||
11467df2 RH |
9294 | 2003-04-16 Richard Henderson <rth@redhat.com> |
9295 | ||
9296 | * config/c4x/c4x.c (c4x_encode_section_info): Remove. | |
9297 | (c4x_T_constraint): Use SYMBOL_REF_FUNCTION_P. | |
9298 | ||
9299 | * config/c4x/c4x.h (TARGET_CPU_CPP_BUILTINS): Declare | |
9300 | flag_inline_trees. | |
9301 | ||
74b66b3c RH |
9302 | 2003-04-16 Richard Henderson <rth@redhat.com> |
9303 | ||
9304 | * config/avr/avr.c (avr_encode_section_info): Remove. | |
9305 | (avr_insert_attributes): New. | |
9306 | (print_operand_address): Use SYMBOL_REF_FUNCTION_P. | |
9307 | (avr_assemble_integer): Likewise. | |
9308 | ||
8cbd5ce0 RH |
9309 | 2003-04-16 Richard Henderson <rth@redhat.com> |
9310 | ||
9311 | * arc.c (arc_encode_section_info): Remove. | |
c6a2438a | 9312 | (arc_assemble_integer): Use SYMBOL_REF_FUNCTION_P. |
8cbd5ce0 RH |
9313 | (arc_print_operand, arc_print_operand_address): Likewise. |
9314 | * arc.h (EXTRA_CONSTRAINT): Likewise. | |
9315 | ||
96c6931d RS |
9316 | 2003-04-16 Roger Sayle <roger@eyesopen.com> |
9317 | ||
9318 | * c-semantics.c (find_reachable_label): New function to find a | |
9319 | potentially reachable label in an expression. | |
9320 | (expand_unreachable_if_stmt): Similar to expand_if_stmt but | |
9321 | assumes the start of the IF_STMT is unreachable (dead) code. | |
9322 | (expand_unreachable_stmt): Similar to expand_stmt but assumes | |
9323 | the start of the statement list is unreachable (dead) code. | |
9324 | (genrtl_if_stmt): If the controlling expression of the IF | |
9325 | is constant, use expand_unreachable_stmt for the THEN or ELSE | |
9326 | clause as appropriate. | |
9327 | (genrtl_switch_stmt): Use expand_unreachable_stmt to expand | |
9328 | the body of a SWITCH statement. | |
9329 | (expand_stmt): The code immediately following a "return", | |
9330 | "break", "continue" or "goto" is unreachable. | |
9331 | * Makefile.in (c-semantics.o): Depend upon tree-inline.h. | |
9332 | ||
3568b0ef RH |
9333 | 2003-04-16 Richard Henderson <rth@redhat.com> |
9334 | ||
9335 | * rtl.h (MEM_ALIAS_SET): Update documentation. | |
9336 | * doc/rtl.texi (Special Accessors): New node. | |
9337 | (SYMBOL_REF_FLAG): Note relationship with SYMBOL_REF_FLAGS. | |
9338 | ||
60fa6660 AO |
9339 | 2003-04-16 Alexandre Oliva <aoliva@redhat.com> |
9340 | ||
9341 | * reload1.c (reload_cse_noop_set_p): Return false if mode of | |
9342 | SET_DEST is not the same as that returned by... | |
9343 | * cselib.h (cselib_reg_set_mode): ... new function. | |
9344 | * cselib.c (cselib_reg_set_mode): Define it. | |
9345 | (REG_VALUES): Document semantics of first element as set mode. | |
9346 | (cselib_subst_to_values): Skip first element if ELT is NULL. | |
9347 | (cselib_lookup): Likewise. Insert past the first element. | |
9348 | (cselib_invalidate_regno): NULLify first element. | |
9349 | (cselib_record_set): Set first element. | |
9350 | ||
15b19a7d OH |
9351 | 2003-04-16 Olivier Hainque <hainque@act-europe.fr> |
9352 | ||
c6a2438a ZW |
9353 | * tree.c (skip_simple_arithmetics_at, saved_expr_p): New functions. |
9354 | (save_expr): Replace loop by call to skip_simple_arithmetics_at. | |
9355 | * tree.h: Add prototypes for the two new functions. | |
9356 | * fold-const.c (fold_binary_op_with_conditional_arg): Replace test | |
9357 | updates introduced in the previous revision by call to saved_expr_p. | |
9358 | * stor-layout.c (put_pending_size): Use skip_simple_arithmetics_at. | |
a9ecacf6 | 9359 | |
c6a2438a ZW |
9360 | * expr.c (store_field): Force usage of bitfield instructions when |
9361 | the field position requires it, whatever SLOW_UNALIGNED_ACCESS. | |
9362 | (expand_expr, case BIT_FIELD_REF): likewise. | |
15b19a7d | 9363 | |
f2d80e7e MM |
9364 | 2003-04-16 Mark Mitchell <mark@codesourcery.com> |
9365 | ||
9366 | PR middle-end/8866 | |
9367 | * cfgtrl.c (try_redirect_by_replacing_jump): Do not delete | |
9368 | jumptables. | |
9369 | ||
1cdbd630 RH |
9370 | 2003-04-16 Richard Henderson <rth@redhat.com> |
9371 | ||
9372 | * config/ia64/ia64.c (sdata_symbolic_operand): Use | |
9373 | SYMBOL_REF_SMALL_P and SYMBOL_REF_LOCAL_P. | |
9374 | (tls_symbolic_operand): Use SYMBOL_REF_TLS_MODEL. | |
9375 | (function_operand): Use SYMBOL_REF_FUNCTION_P. | |
9376 | (ia64_expand_load_address): Likewise. | |
9377 | (ia64_assemble_integer): Likewise. | |
9378 | (ia64_encode_section_info): Remove. | |
9379 | (ia64_strip_name_encoding): Remove. | |
9380 | * config/ia64/ia64.h (ENCODE_SECTION_INFO_CHAR): Remove. | |
9381 | * config/ia64/sysv4.h (ASM_OUTPUT_LABELREF): Don't strip it. | |
9382 | ||
d055668e RH |
9383 | 2003-04-16 Richard Henderson <rth@redhat.com> |
9384 | ||
9385 | * config/alpha/alpha.c (SYMBOL_FLAG_NEAR, SYMBOL_FLAG_SAMEGP): New. | |
9386 | (samegp_function_operand): Use SYMBOL_FLAG_SAMEGP. | |
9387 | (direct_call_operand): Use SYMBOL_FLAG_NEAR. | |
9388 | (local_symbolic_operand): Use SYMBOL_REF_LOCAL_P. | |
9389 | (small_symbolic_operand): Use SYMBOL_REF_SMALL_P. | |
9390 | (global_symbolic_operand): Similarly. | |
9391 | (tls_symbolic_operand_1): Use SYMBOL_REF_TLS_MODEL. | |
9392 | (tls_symbolic_operand_type): Likewise. | |
9393 | (alpha_encode_section_info): Use default_encode_section_info. | |
9394 | (alpha_strip_name_encoding): Remove. | |
9395 | (get_tls_get_addr): Split out from ... | |
9396 | (alpha_legitimize_address): ... here. | |
9397 | (alpha_emit_xfloating_libcall): Use init_one_libfunc. | |
9398 | (get_some_local_dynamic_name_1): Use SYMBOL_REF_TLS_MODEL. | |
9399 | (alpha_initialize_trampoline): Use init_one_libfunc. | |
9400 | (alpha_setup_incoming_varargs): Mark unused parameters. | |
9401 | (alpha_initial_elimination_offset): Likewise. | |
9402 | (alpha_end_function): Use SYMBOL_FLAG_NEAR, SYMBOL_FLAG_SAMEGP. | |
9403 | (unicosmk_unique_section): Use default_strip_name_encoding. | |
9404 | (unicosmk_ssib_name, unicosmk_output_externs): Likewise. | |
9405 | ||
ffd25996 AH |
9406 | 2003-04-16 Aldy Hernandez <aldyh@redhat.com> |
9407 | ||
c6a2438a | 9408 | * config.gcc: Add t-spe for eabispe. |
ffd25996 | 9409 | |
c6a2438a | 9410 | * config/rs6000/t-spe: New. |
ffd25996 | 9411 | |
7f0ea82e R |
9412 | 2003-04-16 J"orn Rennecke <joern.rennecke@superh.com> |
9413 | ||
9414 | Re-apply this patch: | |
9415 | ||
9416 | 2002-05-16 Dale Johannesen <dalej@apple.com> | |
9417 | * combine.c (cant_combine_insn_p): Reenable combinations | |
9418 | involving hard regs unless CLASS_LIKELY_SPILLED_P. | |
9419 | ||
c328adfa JDA |
9420 | 2003-04-16 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
9421 | ||
9422 | PR/10271 | |
9423 | * pa-protos.h (function_arg): Remove last argument. | |
9424 | * pa.c (function_arg): Likewise. Use CUMULATIVE_ARGS struct instead. | |
c6a2438a | 9425 | * pa.h (struct hppa_args): Add member incoming. |
c328adfa JDA |
9426 | (INIT_CUMULATIVE_ARGS, INIT_CUMULATIVE_INCOMING_ARGS): Initialize |
9427 | member incoming. | |
9428 | (FUNCTION_ARG): Revise call to function_arg. | |
9429 | (FUNCTION_INCOMING_ARG): Delete. | |
9430 | ||
f9c1196a ZW |
9431 | 2003-04-15 Zack Weinberg <zack@codesourcery.com> |
9432 | ||
9433 | * configure.in: Unify the code which creates symlinks to a | |
9434 | just-built as, ld, objdump, and nm with the code that detects | |
9435 | their presence for purposes of feature tests. | |
9436 | * configure: Regenerate. | |
9437 | ||
0b78a9b6 ZW |
9438 | 2003-04-15 Zack Weinberg <zack@codesourcery.com> |
9439 | ||
9440 | * varasm.c (output_constant_def): Do not consult | |
9441 | CONSTANT_AFTER_FUNCTION_P. Remove all code predicated on it. | |
9442 | (after_function_constants, output_after_function_constants): Delete. | |
9443 | * doc/tm.texi: Delete documentation of CONSTANT_AFTER_FUNCTION_P. | |
9444 | * config/mips/mips-protos.h, config/mips/mips.c | |
9445 | (mips16_constant_after_function_p): Delete. | |
9446 | * config/mips/mips.h: Delete #if-0-ed definition of | |
9447 | CONSTANT_AFTER_FUNCTION_P. | |
9448 | * config/d30v/d30v.h, config/stormy16/stormy16.h: Remove | |
9449 | mention of CONSTANT_AFTER_FUNCTION_P in comment. | |
9450 | ||
03907fbd GK |
9451 | 2003-04-15 Geoffrey Keating <geoffk@apple.com> |
9452 | ||
9453 | * tree.c (next_decl_uid): Mark with GTY. | |
9454 | (next_type_uid): Likewise. | |
9455 | ||
9959c8c7 R |
9456 | 2003-04-15 J"orn Rennecke <joern.rennecke@superh.com> |
9457 | ||
9458 | PR target/9594: | |
9459 | * sh.c (barrier_align): Also recognize stuff_delay_slot as | |
9460 | an indicator that a barrier was created by branch splitting. | |
9461 | ||
c8b718ba MM |
9462 | 2003-04-15 Mark Mitchell <mark@codesourcery.com> |
9463 | ||
9464 | * c-decl.c (implicitly_declare): Copy declarations that are going | |
9465 | to be placed in a local scope. | |
9466 | ||
f5034c5e JM |
9467 | 2003-04-15 James A. Morrison <ja2morri@uwaterloo.ca> |
9468 | ||
9469 | * invoke.texi (Spec Files): Wrap if-exists-else example. | |
9470 | (MCore): Remove duplicate @itemx entries and @opindex entries. | |
9471 | ||
7344f3d7 UW |
9472 | 2003-04-15 Ulrich Weigand <uweigand@de.ibm.com> |
9473 | ||
9474 | * unwind.inc (_Unwind_Backtrace): New function. | |
9475 | * unwind.h (_Unwind_Backtrace): Declare it. | |
9476 | * libgcc-std.ver (_Unwind_Backtrace): Export it. | |
9477 | ||
9547e8fd JM |
9478 | 2003-04-14 Jason Merrill <jason@redhat.com> |
9479 | ||
9480 | PR middle-end/10336, c++/10401 | |
0b78a9b6 | 9481 | * jump.c (never_reached_warning): Also stop looking if we reach the |
9547e8fd JM |
9482 | beginning of the function. |
9483 | ||
55adc7bd KG |
9484 | 2003-04-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
9485 | ||
9486 | PR target/10338 | |
9487 | PR bootstrap/10198 | |
9488 | PR bootstrap/10140 | |
9489 | * fixinc/gnu-regex.c (regerror): Use mempcpy not __mempcpy. | |
9490 | ||
d2b54839 R |
9491 | 2003-04-15 J"orn Rennecke <joern.rennecke@superh.com> |
9492 | ||
9493 | * i386.md (abssf2_if+1): Make condition agree with abssf2_1 . | |
9494 | ||
d0ccc658 RK |
9495 | 2003-04-15 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
9496 | ||
9497 | * optabs.c (expand_binop): In multi-word add cases, ensure | |
9498 | XTARGET is copied to TARGET if they are different. | |
9499 | ||
29921faf OH |
9500 | 2003-04-15 Olivier Hainque <hainque@act-europe.fr> |
9501 | ||
9502 | * except.c (resolve_fixup_regions): Avoid dereferencing null pointer | |
9503 | to region, possible after integration of function with unreachable | |
9504 | regions that were optimized away. | |
9505 | ||
ff3867ae JJ |
9506 | 2003-04-15 Jakub Jelinek <jakub@redhat.com> |
9507 | ||
9508 | * config/rs6000/rs6000.h (EPILOGUE_USES): Use register 2, | |
9509 | instead of TOC_REGISTER in epilogue in | |
9510 | current_function_calls_eh_return functions. | |
9511 | ||
f4e92987 MM |
9512 | 2003-04-14 Mark Mitchell <mark@codesourcery.com> |
9513 | ||
db0b376e MM |
9514 | * doc/extend.texi (Empty Structures): Correct description of G++'s |
9515 | handling of these structures. | |
9516 | ||
f4e92987 MM |
9517 | * c-decl.c (grokdeclarator): Reject extern redeclarations of |
9518 | static variables. | |
9519 | ||
629f6514 JJ |
9520 | 2003-04-14 Janis Johnson <janis287@us.ibm.com> |
9521 | ||
615158e2 JJ |
9522 | * config/rs6000/rs6000.md (define_constants): Define constants for |
9523 | all UNSPEC usage, including new values for TLS support. | |
9524 | (aux_truncdfsf2, fctiwz, movsi_got, movsi_got_internal, | |
9525 | load_toc_aix_si, load_toc_aix_di, load_toc_v4_pic_si, | |
9526 | load_toc_v4_PIC_1, load_toc_v4_PIC_1b, load_macho_picbase, | |
9527 | macho_correct_pic, blockage, move_from_CR_ov_bit, movesi_from_cr, | |
9528 | stack_tie, movsi_to_cr_one, movsi_to_cr, mtcrfsi, eh_set_lr_si, | |
9529 | eh_set_lr_di): Use them. | |
9530 | * rs6000.c: (mtcrf_operation, uses_TOC, rs6000_emit_prologue, | |
9531 | rs6000_emit_epilogue) Use them. | |
9532 | ||
629f6514 JJ |
9533 | * rtl.h (SYMBOL_REF_TLS_MODEL): Fix mask value. |
9534 | ||
8951a635 NB |
9535 | 2003-04-14 Neil Booth <neil@daikokuya.co.uk> |
9536 | ||
9537 | * Makefile.in (c-opts.o): Use custom action. | |
9538 | ||
798a3935 DR |
9539 | 2003-04-14 Douglas B Rupp <rupp@gnat.com> |
9540 | ||
9541 | * ifcvt.c (noce_process_if_block): Fail on BLKmode move. | |
9542 | ||
2443af37 RK |
9543 | 2003-04-14 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
9544 | ||
0d3c8800 RK |
9545 | * stor-layout.c (layout_type, case ARRAY_TYPE): Add missing code to |
9546 | handle "superflat arrays" in Ada. | |
9547 | ||
2443af37 RK |
9548 | * integrate.c (expand_inline_function): Don't inline if would |
9549 | lose /u on a BLKmode TARGET. | |
9550 | ||
8cb5fbbf JB |
9551 | 2003-04-14 Joel Brobecker <brobecker@gnat.com> |
9552 | ||
39d658e3 JB |
9553 | * dbxout.c (print_int_cst_bounds_in_octal_p): New function, |
9554 | extracted from dbxout_type. | |
9555 | (dbxout_range_type): print large bounds in octal format. | |
9556 | (dbxout_type): Replace extracted code by call to | |
9557 | print_int_cst_bounds_in_octal_p. | |
9558 | ||
0b78a9b6 ZW |
9559 | * dwarf2out.c (gen_compile_unit_die): Emit DW_LANG_Ada95 instead |
9560 | of DW_LANG_Ada83 for Ada units. | |
8cb5fbbf | 9561 | |
9ceca302 OH |
9562 | 2003-04-14 Olivier Hainque <hainque@act-europe.fr> |
9563 | ||
41ee3204 OH |
9564 | * explow.c (round_push): Use HOST_WIDE_INT instead of int for the |
9565 | temporary used to round CONST_INT sizes. | |
9566 | ||
4694840a OH |
9567 | * tree.c (int_fits_type_p): Extract generic checks from the case |
9568 | of constant type bounds. Refine the checks against constant type | |
9569 | bounds to allow for possible decisions against each of these bounds | |
9570 | without requiring both bounds to be constant. | |
9571 | (tree_int_cst_msb): Put back. | |
9572 | * tree.h (tree_int_cst_msb): Likewise. | |
9573 | ||
4147232b OH |
9574 | * global.c (global_conflicts): Prevent allocation of call clobbered |
9575 | hard regs to pseudos live across abnormal edges, as later passes are | |
9576 | not ready to handle them. | |
9577 | ||
0b78a9b6 ZW |
9578 | * fold-const.c (fold): Reorder tests for conditional expressions. |
9579 | ||
9580 | * expr.c (highest_pow2_factor): Return unsigned. | |
9581 | * expr.h (offset_address): Likewise. | |
9582 | * emit-rtl.c (offset_address): POW2 argument now unsigned. | |
cbcafd35 | 9583 | |
712b7a05 RS |
9584 | 2003-04-14 Roger Sayle <roger@eyesopen.com> |
9585 | ||
9586 | * builtins.c (expand_builtin_strlen): Evaluate the lengths of | |
9587 | string literals at compile-time. | |
9588 | ||
15d4fd98 RS |
9589 | 2003-04-14 Roger Sayle <roger@eyesopen.com> |
9590 | ||
9591 | * fold-const.c (fold): Transform (c1 - x) cmp c2, where cmp is a | |
9592 | comparison operation and c1/c2 are floating point constants into | |
9593 | x swap(cmp) (c1 - c2). | |
9594 | ||
2fcb395c VM |
9595 | 2003-04-14 Vladimir Makarov <vmakarov@redhat.com> |
9596 | ||
9597 | * genautomata.c (output_translate_vect): Fix a typo in loop | |
9598 | condition. | |
9599 | ||
747a0d9d HPN |
9600 | 2003-04-14 Hans-Peter Nilsson <hp@axis.com> |
9601 | ||
9602 | PR target/10377 | |
9603 | * config/cris/cris.md ("*mov_sideqi", "*mov_sidehi") | |
9604 | ("*mov_sidesi", "*mov_sideqi_mem", "*mov_sidehi_mem") | |
9605 | ("*mov_sidesi_mem", "*clear_sidesi", "*clear_sidehi") | |
9606 | ("*clear_sideqi", "*ext_sideqihi", "*ext_sideqisi") | |
9607 | ("*ext_sidehisi", "*op_sideqi", "*op_sidehi", "*op_sidesi") | |
9608 | ("*op_swap_sideqi", "*op_swap_sidehi", "*op_swap_sidesi") | |
9609 | ("*extopqihi_side", "*extopqisi_side", "*extophisi_side") | |
9610 | ("*extopqihi_swap_side", "*extopqisi_swap_side") | |
9611 | ("*extophisi_swap_side", 8th, 9th, 10th, 11th, 14th peepholes): | |
9612 | When next to constraint R, replace constraint i with n. | |
9613 | ||
58e6ae30 JH |
9614 | Mon Apr 14 16:18:37 CEST 2003 Jan Hubicka <jh@suse.cz> |
9615 | ||
9616 | PR opt/10024 | |
9617 | * cfgrtl.c (force_nonfallthru_and_redirect): Use unchecked_make_edge. | |
9618 | ||
88657a26 KL |
9619 | 2003-04-14 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net> |
9620 | ||
9621 | * doc/contrib.texi (Contributors): Correct my entry. | |
9622 | ||
7f685e17 RS |
9623 | 2003-04-13 Roger Sayle <roger@eyesopen.com> |
9624 | ||
9625 | * tree.h (DECL_BUILT_IN_NONANSI): Remove. | |
9626 | * c-common.c (builtin_function_2): Don't set DECL_BUILT_IN_NONANSI. | |
9627 | * c-decl.c (duplicate_decls): Use invariant DECL_BUILT_IN_NONANSI | |
9628 | implies DECL_BUILT_IN to simplify logic. | |
9629 | * print-tree.c (print_node): Don't dump DECL_BUILT_IN_NONANSI. | |
9630 | ||
1331d16f RS |
9631 | 2003-04-13 Roger Sayle <roger@eyesopen.com> |
9632 | ||
9633 | * builtin-types.def (BT_FN_STRING_CONST_STRING): New builtin type. | |
9634 | (BT_FN_PTR_SIZE_SIZE): Likewise. | |
9635 | * builtins.def (BUILT_IN_MALLOC, BUILT_IN_CALLOC, BUILT_IN_STRDUP): | |
9636 | New built-in functions for malloc, calloc and strdup respectively. | |
9637 | * calls.c (special_function_p): No need to handle malloc-like | |
9638 | functions any longer. ECF_MALLOC is set via built-in attributes. | |
9639 | ||
9640 | * c-decl.c (duplicate_decls): Preserve pure and malloc attributes. | |
9641 | ||
9642 | * doc/extend.texi: Document these new built-in functions. | |
9643 | ||
9cb65f92 KG |
9644 | 2003-04-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
9645 | ||
9646 | * builtins.c (expand_builtin_memcpy): Add `endp' argument, use it. | |
9647 | (expand_builtin_stpcpy): New. | |
9648 | (expand_builtin): Add BUILT_IN_MEMPCPY & BUILT_IN_STPCPY. | |
9649 | * builtins.def: Add mempcpy & stpcpy support. | |
9650 | * doc/extend.texi (mempcpy, stpcpy): Document new builtins. | |
9651 | ||
5de601cf NC |
9652 | 2003-04-13 Nick Clifton <nickc@redhat.com> |
9653 | ||
9654 | * config/rs6000/rs6000.c: Replace occurrences of "GNU CC" with | |
9655 | "GCC". | |
9656 | * config/rs6000/40x.md, config/rs6000/603.md, | |
9657 | config/rs6000/6xx.md, config/rs6000/7450.md, config/rs6000/7xx.md, | |
9658 | config/rs6000/8540.md, config/rs6000/aix.h, config/rs6000/aix31.h, | |
9659 | config/rs6000/aix3newas.h, config/rs6000/aix41.h, | |
9660 | config/rs6000/aix43.h, config/rs6000/aix51.h, | |
9661 | config/rs6000/aix52.h, config/rs6000/altivec-defs.h, | |
9662 | config/rs6000/altivec.h, config/rs6000/altivec.md, | |
9663 | config/rs6000/beos.h, config/rs6000/darwin.h, | |
9664 | config/rs6000/eabi.h, config/rs6000/eabialtivec.h, | |
9665 | config/rs6000/eabisim.h, config/rs6000/eabispe.h, | |
9666 | config/rs6000/freebsd.h, config/rs6000/gnu.h, | |
9667 | config/rs6000/host-darwin.c, config/rs6000/linux.h, | |
9668 | config/rs6000/linux64.h, config/rs6000/linuxaltivec.h, | |
9669 | config/rs6000/lynx.h, config/rs6000/mach.h, config/rs6000/mpc.md, | |
9670 | config/rs6000/netbsd.h, config/rs6000/power4.md, | |
9671 | config/rs6000/rios1.md, config/rs6000/rios2.md, | |
9672 | config/rs6000/rs6000-c.c, config/rs6000/rs6000-modes.def, | |
9673 | config/rs6000/rs6000-protos.h, config/rs6000/rs6000.c, | |
9674 | config/rs6000/rs6000.h, config/rs6000/rs6000.md, | |
9675 | config/rs6000/rs64.md, config/rs6000/rtems.h, config/rs6000/spe.h, | |
9676 | config/rs6000/spe.md, config/rs6000/sysv4.h, | |
9677 | config/rs6000/sysv4le.h, config/rs6000/vxworks.h, | |
0b78a9b6 | 9678 | config/rs6000/windiss.h, config/rs6000/xcoff.h: Likewise. |
5de601cf | 9679 | |
50d440bc NC |
9680 | 2003-04-13 Nick Clifton <nickc@redhat.com> |
9681 | ||
9682 | * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Delete | |
9683 | support for -mcall-aix switch. | |
9684 | * config/rs6000/eabiaix.h: Delete. | |
9685 | * config/rs6000/rs6000.h (rs6000_abi): Remove ABI_AIX_NODESC. | |
9686 | (RS6000_REG_SAVE, RS6000_SAVE_AREA, FP_ARGS_MAX_REG, | |
9687 | RETURN_ADDRESS_OFFSET): Remove use of ABI_AIX_NODESC. | |
9688 | * config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Likewise. | |
9689 | * config/rs6000/rs6000.c (print_operand, rs6000_stack_info, | |
9690 | debug_stack_info, output_function_profiler, | |
9691 | rs6000_trampoline_size, rs6000_initialise_trampoline): Likewise. | |
9692 | * config/rs6000/rs6000.md (call, call_value, call_nonlocal_sysv, | |
9693 | call_indirect_nonlocal_sysv, call_value_indirect_nonlocal_sysv, | |
9694 | call_value_nonlocal_sysv, sibcall_value_nonlocal_sysv, | |
9695 | sibcall_nonlocal_sysv, sibcall_value_local64): Likewise. | |
9696 | * config/rs6000/t-ppcgas (MULTILIB_OPTIONS): Remove mcall-aix | |
9697 | multilibs. | |
9698 | (MULTILIB_DIRNAMES): Remove mcall-aix directories. | |
9699 | (MULTILIB_EXCEPTIONS): Delete. | |
9700 | (MULTILIB_MATCHES): Remove mcall-aix matches. | |
9701 | ||
9702 | * doc/fragments.texi: Replace -mcall-aix example with an ARM | |
9703 | one. | |
9704 | * doc/install.texi: Delete powerpc-*-eabiaix target. | |
9705 | * doc/invoke.texi: Remove documentation of mcall-aix switch. | |
9706 | * doc/tm.texi: Remove mcall-aix from example CPP_SPEC. | |
9707 | * config.gcc: Delete powerpc-*-eabiaix target. | |
9708 | ||
62b9c42c KH |
9709 | 2003-04-13 Kazu Hirata <kazu@cs.umass.edu> |
9710 | ||
9711 | * doc/invoke.texi: Fix typos. | |
9712 | * doc/tm.texi: Likewise. | |
9713 | ||
6d0c8bb1 ZW |
9714 | 2003-04-12 Zack Weinberg <zack@codesourcery.com> |
9715 | ||
9716 | * c-typeck.c (digest_init, push_init_level): Use CONSTRUCTOR_ELTS. | |
9717 | ||
dcf92453 ZW |
9718 | 2003-04-12 Zack Weinberg <zack@codesourcery.com> |
9719 | ||
9720 | * tree.c (build_constructor): New function. | |
9721 | * tree.h: Prototype it. | |
9722 | ||
9723 | * c-typeck.c (build_c_cast, pop_init_level) | |
9724 | * profile.c (build_function_info_value, build_gcov_info_value) | |
9725 | (create_profiler): | |
9726 | Use build_constructor. | |
9727 | ||
9728 | * builtins.c (expand_builtin_args_info): Remove #if 0 blocks. | |
9729 | ||
9730 | * objc/objc-act.c (build_constructor): | |
9731 | Rename objc_build_constructor. Use build_constructor. | |
9732 | (build_objc_string_object, objc_add_static_instance) | |
9733 | (init_def_list, init_objc_symtab, init_module_descriptor) | |
9734 | (generate_static_references, build_selector_translation_table) | |
9735 | (build_descriptor_table_initializer, generate_descriptor_table) | |
9736 | (build_protocol_initializer, build_ivar_list_initializer) | |
9737 | (generate_ivars_list, build_dispatch_table_initializer) | |
9738 | (generate_dispatch_table, generate_protocol_list) | |
9739 | (build_category_initializer, build_shared_structure_initializer): | |
9740 | Update to match. | |
9741 | ||
c85b28e8 ZW |
9742 | 2003-04-12 Zack Weinberg <zack@codesourcery.com> |
9743 | ||
9744 | * intl.h: #define gcc_gettext_width to strlen when !ENABLE_NLS. | |
9745 | ||
cebcfdc8 SC |
9746 | 2003-04-12 Stephane Carrez <stcarrez@nerim.fr> |
9747 | ||
dcf92453 | 9748 | * config/m68hc11/m68hc11-protos.h |
cebcfdc8 SC |
9749 | (m68hc11_eq_compare_operator): Declare |
9750 | * config/m68hc11/m68hc11.h (PREDICATE_CODES): Register new predicate. | |
9751 | * config/m68hc11/m68hc11.c (m68hc11_eq_compare_operator): New predicate | |
9752 | (d_register_operand): Check the operand mode. | |
9753 | (hard_addr_reg_operand): Likewise. | |
9754 | ||
0ae32ec0 SC |
9755 | 2003-04-12 Stephane Carrez <stcarrez@nerim.fr> |
9756 | ||
9757 | * config/m68hc11/m68hc11.md ("decrement_and_branch_until_zero"): New | |
9758 | pattern for dbcc/ibcc generation for 68HC12. | |
9759 | ("doloop_end"): New pattern. | |
9760 | ("m68hc12_dbcc_dec_hi"): New pattern for dbeq/dbne. | |
9761 | ("m68hc12_dbcc_inc_hi"): New pattern for ibeq/ibne. | |
9762 | ("m68hc12_dbcc_dec_qi"): New pattern. | |
9763 | ("m68hc12_dbcc_inc_qi"): New pattern. | |
9764 | (split): Add split for the above when we can't use dbcc/ibcc due to | |
9765 | reloading. | |
9766 | (peephole2): Add peephole2 to generate the above when possible. | |
9767 | ||
a67bac5f SC |
9768 | 2003-04-12 Stephane Carrez <stcarrez@nerim.fr> |
9769 | ||
9770 | * config/m68hc11/m68hc11.md ("bitcmpqi" split): No need to test the | |
9771 | mode of operand 0. | |
9772 | (peephole2 optimize const load): Likewise for operand 2. | |
9773 | ("*rotlhi3_with_carry"): Change pattern to a const 1 rotate which | |
9774 | clobbers CC_REGNUM. | |
9775 | ("*rotrhi3_with_carry"): Likewise. | |
9776 | (ashift:DI 1 split): Update pattern to create the above rotate. | |
9777 | (lshiftrt:DI 1 split): Likewise. | |
9778 | ||
09214424 SC |
9779 | 2003-04-12 Stephane Carrez <stcarrez@nerim.fr> |
9780 | ||
9781 | * config/m68hc11/m68hc11.md (SOFT_Z_REGNUM): New constant. | |
9782 | ("tstqi_z_used" split): Use it. | |
9783 | ("cmphi_z_used"): Likewise. | |
9784 | ("bitcmpqi_z_used"): Likewise; also use SP_REGNUM constant. | |
9785 | ("cmpqi_z_used"): Likewise. | |
9786 | ||
355b81d5 MM |
9787 | 2003-04-12 Mark Mitchell <mark@codesourcery.com> |
9788 | ||
9789 | PR c++/7910 | |
9790 | * config/i386/winnt.c (i386_pe_mark_dllimport): Fix thinko. | |
9791 | ||
2bd02043 ZW |
9792 | 2003-04-12 Zack Weinberg <zack@codesourcery.com> |
9793 | ||
9794 | * configure.in: Check for wchar.h, mbstowcs, and wcswidth. | |
9795 | * configure, config.in: Regenerate. | |
9796 | * intl.c (gcc_gettext_width): New function. | |
9797 | * intl.h: Prototype it. | |
9798 | ||
96cd9069 SC |
9799 | 2003-04-12 Stephane Carrez <stcarrez@nerim.fr> |
9800 | ||
9801 | * config/m68hc11/m68hc11.h (TARGET_SWITCHES): Fix -mnominmax option; | |
9802 | recognize -mnorelax. | |
9803 | (reg_class): Add Z_OR_S_REGS to represent soft registers with Z | |
9804 | (REG_CLASS_NAMES): Add its name. | |
9805 | (REG_CLASS_CONTENTS): Define its content. | |
9806 | ||
c364c3a6 SC |
9807 | 2003-04-12 Stephane Carrez <stcarrez@nerim.fr> |
9808 | ||
9809 | * config/m68hc11/larith.asm (memcpy): Use ARG macro to access stack | |
9810 | parameters so that offsets are valid for far definition. | |
9811 | (__mulsi3): Likewise and use ret to return. | |
9812 | (___adddi3, ___subdi3, ___notdi2, ): Don't use it to save the result. | |
9813 | ||
09501938 DE |
9814 | 2003-04-12 David Edelsohn <edelsohn@gnu.org> |
9815 | ||
9816 | * config/rs6000/rs6000.c (rs6000_hash_constant): Skip '0' fields. | |
9817 | ||
ff3d4e83 AO |
9818 | 2003-04-12 Alexandre Oliva <aoliva@redhat.com> |
9819 | ||
17a15c67 AO |
9820 | * mklibgcc.in (libgcc-stage-start): For every multilib directory |
9821 | containing a libgcc.a, move lib* to the corresponding stage dir. | |
9822 | ||
ff3d4e83 AO |
9823 | * Makefile.in (stage1-start, stage2-start, stage3-start, |
9824 | stage4-start): Move $(SPECS) to specs in stage dir. | |
9825 | (unstage1 unstage2 unstage3 unstage4): Move specs in stage dir | |
9826 | back as $(SPECS). | |
9827 | ||
9e6ccb98 AO |
9828 | * mklibgcc.in (libgcc-stage-start): Move into the stage directory |
9829 | object files from the non-libgcc/ multilib directories as well. | |
9830 | ||
ba05abd3 GK |
9831 | 2003-04-11 Geoffrey Keating <geoffk@apple.com> |
9832 | ||
0aaafe73 GK |
9833 | * profile.c (read_counts_file): Initialise 'checksum'. |
9834 | ||
d5b9108c GK |
9835 | * emit-rtl.c (gen_rtx): Really correct typo. |
9836 | ||
a37db56b GK |
9837 | PR c++/9393 |
9838 | * doc/invoke.texi (Debugging Options): Document -frandom-seed. | |
9839 | * configure.in: Check for gettimeofday. | |
9840 | * tree.c (flag_random_seed): Define. | |
9841 | (default_flag_random_seed): New. | |
9842 | (append_random_chars): Use flag_random_seed rather than trying | |
9843 | to acquire randomness here. | |
9844 | * tree.h (default_flag_random_seed): Declare. | |
9845 | * toplev.c (display_help): Add -frandom-seed and -fstack-limit-* | |
9846 | descriptions. | |
9847 | (decode_f_option): Handle -frandom-seed. | |
9848 | (print_switch_values): Call default_flag_random_seed. | |
9849 | * flags.h (flag_random_seed): Declare. | |
9850 | * configure: Regenerate. | |
9851 | * config.in: Regenerate. | |
9852 | * config/alpha/t-crtfm: Use -frandom-seed. | |
2bd02043 | 9853 | |
ba05abd3 GK |
9854 | * doc/extend.texi (Empty Structures): New. |
9855 | ||
df026186 GK |
9856 | * c-pch.c: Include flags.h. Add comments to routines. |
9857 | (struct c_pch_validity): New. | |
9858 | (get_ident): Update PCH file version number. | |
9859 | (pch_init): Output current debugging type. | |
9860 | (c_common_valid_pch): Check debugging type. | |
9861 | * Makefile.in (c-pch.o): Update dependencies. | |
9862 | * flags.h (debug_type_names): Declare. | |
9863 | * toplev.c (debug_type_names): Move out of decode_g_option. | |
9864 | ||
15c812e3 EC |
9865 | 2003-04-11 Eric Christopher <echristo@redhat.com> |
9866 | ||
9867 | * emit-rtl.c (gen_rtx): Fix typos. | |
9868 | ||
a73071bc RH |
9869 | 2003-04-11 Richard Henderson <rth@redhat.com> |
9870 | ||
9871 | * emit-rtl.c (gen_rtx): Zero '0' fields. | |
9872 | ||
ca06cfe6 RH |
9873 | 2003-04-11 Richard Henderson <rth@redhat.com> |
9874 | ||
9875 | PR c++/10202 | |
9876 | * expr.c (expand_expr): Use COMPLETE_OR_UNBOUND_ARRAY_TYPE_P | |
9877 | not COMPLETE_TYPE_P for re-invoking layout_decl. | |
9878 | ||
d2d42a91 SL |
9879 | 2003-04-11 Simon Law <sfllaw@engmail.uwaterloo.ca> |
9880 | ||
9881 | * doc/bugreport.texi: Fix paragraph breaking between sections | |
9882 | in preparation for TeXinfo's paragraph indentation fixes. | |
9883 | * doc/extend.texi: Ditto. | |
9884 | * doc/invoke.texi: Ditto. | |
9885 | * doc/objc.texi: Ditto. | |
9886 | * doc/gcov.texi: Wrap 'gcov' in @command{}. | |
9887 | * doc/invoke.texi (Darwin Options): Add a preamble. | |
9888 | ||
2ae5ae57 RH |
9889 | 2003-04-11 Richard Henderson <rth@redhat.com> |
9890 | ||
9891 | * config/i386/i386.c (tls_model_chars): Remove. | |
9892 | (ix86_encode_section_info, ix86_strip_name_encoding): Remove. | |
9893 | (local_symbolic_operand): Use SYMBOL_REF_LOCAL_P. | |
9894 | (tls_symbolic_operand): Use SYMBOL_REF_TLS_MODEL. | |
9895 | (tls_symbolic_operand_1): Likewise. | |
9896 | (legitimate_pic_address_disp_p): Use SYMBOL_REF_LOCAL_P. | |
9897 | * config/i386/i386.h (TARGET_ENCODE_SECTION_INFO): Remove. | |
9898 | (TARGET_STRIP_NAME_ENCODING, ASM_OUTPUT_LABELREF): Remove. | |
9899 | * config/i386/winnt.c (i386_pe_encode_section_info): Replace | |
9900 | bits "copied from i386.h" with default_encode_section_info. | |
9901 | ||
52859c77 RH |
9902 | 2003-04-11 Richard Henderson <rth@redhat.com> |
9903 | ||
9904 | * rtl.def (SYMBOL_REF): Add two 0 fields. | |
9905 | * gengtype.c (adjust_field_rtx_def): Handle them. | |
9906 | * print-rtl.c (print_rtx): Print them. | |
9907 | * rtl.h (SYMBOL_REF_DECL, SYMBOL_REF_FLAGS): New. | |
9908 | (SYMBOL_FLAG_FUNCTION, SYMBOL_REF_FUNCTION_P): New. | |
9909 | (SYMBOL_FLAG_LOCAL, SYMBOL_REF_LOCAL_P): New. | |
9910 | (SYMBOL_FLAG_SMALL, SYMBOL_REF_SMALL_P): New. | |
9911 | (SYMBOL_FLAG_TLS_SHIFT, SYMBOL_REF_TLS_MODEL): New. | |
9912 | (SYMBOL_FLAG_EXTERNAL, SYMBOL_REF_EXTERNAL_P): New. | |
9913 | (SYMBOL_FLAG_MACH_DEP): New. | |
9914 | * optabs.c (init_one_libfunc): Zap fake SYMBOL_REF_DECL. | |
9915 | * varasm.c (make_decl_rtl): Set SYMBOL_REF_DECL. | |
9916 | (assemble_static_space): Set SYMBOL_REF_FLAGS. | |
9917 | (assemble_trampoline_template): Likewise. | |
9918 | (output_constant_def, force_const_mem): Likewise. | |
9919 | (default_encode_section_info): New. | |
9920 | * output.h: Declare it. | |
9921 | * target-def.h (TARGET_ENCODE_SECTION_INFO): Use it. | |
9922 | ||
68d28100 RH |
9923 | 2003-04-11 Richard Henderson <rth@redhat.com> |
9924 | ||
9925 | * libfuncs.h (LTI_setbits, LTI_gcov_flush, LTI_gcov_init): New. | |
9926 | (setbits_libfunc, gcov_flush_libfunc, gcov_init_libfunc): New. | |
9927 | * optabs.c (init_optabs): Initialize them. | |
9928 | (init_libfuncs): Use init_one_libfunc. | |
9929 | * calls.c (expand_call): Use gcov_flush_libfunc. | |
9930 | * expr.c (store_constructor): Use setbits_libfunc. | |
9931 | * function.c (expand_main_function): Use init_one_libfunc. | |
9932 | * profile.c (create_profiler): Use gcov_init_libfunc and DECL_RTL. | |
9933 | ||
11fe27a5 MM |
9934 | 2003-04-11 Mark Mitchell <mark@codesourcery.com> |
9935 | ||
9936 | * doc/c-tree.texi (Functions): Remove DECL_REAL_CONTEXT | |
9937 | documentation; add DECL_FRIEND_CONTEXT. | |
9938 | ||
f401d0f5 JDA |
9939 | 2003-04-11 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
9940 | ||
9941 | * doc/install.texi (hppa): Update links for HP-UX patches. Revise | |
9942 | notes on linker selection and configuration for 64-bit HP-UX port. | |
9943 | * doc/invoke.texi (hppa): Remove hppa text from description for | |
9944 | -ffunction-sections and -fdata-sections. Document -static, -nolibdld | |
9945 | and -threads options. | |
9946 | ||
9947 | * pa-hpux10.h (LIB_SPEC): Add link options to resolve dependency of | |
9948 | libc.a on libdld.sl when -static is specified and -nolibdld is not | |
9949 | specified. | |
9950 | * pa64-hpux.h (LIB_SPEC): Likewise. | |
9951 | * pa-hpux11.h (LIB_SPEC): Likewise. | |
9952 | (LINK_SPEC): Add __gcc_plt_call as an undefined symbol when -shared | |
9953 | is not specified. | |
9954 | ||
43451169 ZW |
9955 | 2003-04-11 Zack Weinberg <zack@codesourcery.com> |
9956 | ||
9957 | * config/darwin-c.c (darwin_pragma_unused): Use lookup_name, | |
9958 | not IDENTIFIER_LOCAL_VALUE. | |
9959 | ||
a46666a9 RH |
9960 | 2003-04-11 Richard Henderson <rth@redhat.com> |
9961 | ||
9962 | PR c/10201 | |
9963 | * expr.c (expand_expr): Move DECL_RTL frobbing ... | |
9964 | * stor-layout.c (layout_decl): ... here. | |
9965 | ||
6d2f9dd3 JM |
9966 | 2003-04-11 James A. Morrison <ja2morri@uwaterloo.ca> |
9967 | ||
9968 | * doc/invoke.texi: Eliminate extra white-space caused by | |
9969 | @gccoptlist{ on its own line. | |
9970 | * doc/invoke.texi: Ensured there are two spaces between each option. | |
9971 | * doc/invoke.texi: Re-wrapped option lines that were too wide. | |
9972 | Added @gol to options that didn't have them. | |
9973 | ||
94de45d9 NS |
9974 | 2003-04-11 Nathan Sidwell <nathan@codesourcery.com> |
9975 | ||
9976 | * Makefile.in (loop-init.o): Do not depend on gcov-io.h, | |
9977 | gcov-iov.h. | |
9978 | ||
9979 | Simplify interface to gcov reading and writing. | |
9980 | * gcov-io.h (gcov_file, gcov_position, gcov_length, gcov_buffer, | |
9981 | gcov_alloc, gcov_modified, gcov_errored): Move into ... | |
9982 | (struct gcov_var gcov_var): ... this static structure. | |
9983 | (gcov_write_unsigned, gcov_write_counter, gcov_write_string): | |
9984 | Return void. | |
9985 | (gcov_read_unsigned, gcov_read_couter, gcov_read_string): Return | |
9986 | read object. | |
9987 | (gcov_read_bytes, gcov_write_bytes): Set error flag on error. | |
9988 | (gcov_reserve_length): Remove. | |
9989 | (gcov_write_tag): New. | |
9990 | (gcov_write_length): Adjust. | |
9991 | (gcov_read_summary, gcov_write_summary): Adjust. | |
9992 | (gcov_eof, gcov_ok): Rename to ... | |
9993 | (gcov_is_eof, gcov_is_error): ... here. Return error code. | |
9994 | (gcov_save_position, gcov_resync): Rename to ... | |
9995 | (gcov_position, gcov_seek): ... here. | |
9996 | (gcov_skip, gcov_skip_string): Remove. | |
9997 | (gcov_error): Remove. | |
9998 | (gcov_open, gcov_close): Adjust. | |
9999 | * gcov.c (find_source): Take const char *, copy it on allocation. | |
10000 | (read_graph_file): Adjust. | |
10001 | (read_count_file): Adjust. | |
10002 | * libgcov.c (gcov_exit): Adjust. | |
10003 | * gcov-dump.c (tag_function, tag_blocks, tag_arcs, tag_lines, | |
10004 | tag_arc_counts, tag_summary): Return void. Adjust. | |
10005 | (struct tag_format): Adjust proc member. | |
10006 | (dump_file): Adjust gcov calls. | |
10007 | ||
7a615b25 AO |
10008 | 2003-04-11 Alexandre Oliva <aoliva@redhat.com> |
10009 | ||
10010 | * Makefile.in (fixinc.sh): Pass BUILD_LIBERTY as LIBERTY to | |
10011 | mkfixinc.sh. | |
10012 | * fixinc/mkfixinc.sh (defs): Add LIBERTY. | |
10013 | * configure.in (STMP_FIXINC, STMP_FIXPROTO): Don't disable on | |
10014 | build != host sysrooted builds. | |
10015 | * configure.in (SYSTEM_HEADER_DIR): Make sure it contains | |
10016 | TARGET_SYSTEM_ROOT even on sysrooted natives. | |
10017 | * configure: Rebuilt. | |
10018 | ||
339a28b9 ZW |
10019 | 2003-04-10 Zack Weinberg <zack@codesourcery.com> |
10020 | ||
10021 | * c-decl.c (struct binding_level): Add shadowed_tags and | |
10022 | function_body; remove this_block, tag_transparent, and | |
10023 | subblocks_tag_transparent; update comments. | |
10024 | (clear_binding_level, lookup_tag_reverse): Kill. | |
10025 | (make_binding_level): Use ggc_alloc_cleared or memset. | |
10026 | (lookup_tag): Remove struct binding_level* parameter. All | |
10027 | callers changed. Just look at IDENTIFIER_TAG_VALUE, and | |
10028 | current_binding_level->tags if asked for thislevel_only or if | |
10029 | we might have to diagnose "struct foo; union foo;" | |
10030 | (pushlevel): Ignore argument. Do not push another binding | |
10031 | level on the transition from the parameters to the top level | |
10032 | of the function body; just tweak the flags and proceed. | |
10033 | (poplevel): Overhaul. Clear IDENTIFIER_TAG_VALUEs; on exiting | |
10034 | a function body, separate the parameter list from the | |
10035 | top-level local variables. | |
10036 | (set_block): Do nothing. | |
10037 | (pushtag): Set IDENTIFIER_TAG_VALUE and add an entry to | |
10038 | shadowed_tags if necessary. | |
10039 | (warn_if_shadowing): Nuke the special case for local shadowing | |
10040 | parameter. | |
10041 | (pushdecl): Do not create a shadow entry if we are replacing | |
10042 | an older decl in the same binding level. | |
10043 | (pushdecl_function_level): Tweak for new way of indicating | |
10044 | function scope. | |
10045 | (shadow_tag_warned): Use TYPE_NAME, not lookup_tag_reverse. | |
10046 | (start_function): Don't set subblocks_tag_transparent. | |
10047 | (finish_function): Fix up the binding_level stack for totally | |
10048 | empty functions. Otherwise, don't call poplevel. | |
10049 | ||
10050 | * c-common.c (shadow_warning): MANDATORY argument is no longer | |
10051 | necessary. Always use plain warning. | |
10052 | * c-common.h: Update to match. | |
10053 | ||
10054 | * cfglayout.c (scope_to_insns_initialize): Clear block when we | |
10055 | hit the FUNCTION_DECL. | |
10056 | * function.c: Do not create cyclic tree structure. | |
10057 | ||
10058 | 2003-04-10 Zack Weinberg <zack@codesourcery.com> | |
10059 | ||
10060 | * c-tree.h (struct lang_identifier): Replace global_value, | |
10061 | local_value members with symbol_value, tag_value. Kill | |
10062 | implicit_decl and limbo_value. | |
10063 | (IDENTIFIER_GLOBAL_VALUE, IDENTIFIER_LOCAL_VALUE, | |
10064 | IDENTIFIER_LIMBO_VALUE, IDENTIFIER_IMPLICIT_DECL, | |
10065 | C_MISSING_PROTOTYPE_WARNED): Kill. | |
10066 | (IDENTIFIER_SYMBOL_VALUE, IDENTIFIER_TAG_VALUE, | |
10067 | C_DECL_IMPLICIT, C_DECL_ISNT_PROTOTYPE): New. | |
10068 | (C_DECL_ANTICIPATED): Rename to C_DECL_INVISIBLE. | |
10069 | (implicit_decl_warning, lookup_name_current_level, | |
10070 | record_function_scope_shadow): Don't prototype. | |
10071 | (pushdecl_function_level): Prototype. | |
10072 | ||
10073 | * c-decl.c (truly_local_externals): New variable. | |
10074 | (struct binding_level): Adjust commentary. | |
10075 | (get_function_binding_level, clear_limbo_values, | |
10076 | record_function_scope_shadow): Kill. | |
10077 | (lookup_name_current_level, implicit_decl_warning): Are now static. | |
10078 | (any_external_decl, record_external_decl): New static functions. | |
10079 | (clone_underlying type): Split out of pushdecl. | |
10080 | (c_print_identifier): Update to match changes to struct | |
10081 | lang_identifier. | |
10082 | (poplevel): Delete #if 0 block. Make externals invisible | |
10083 | instead of clearing their IDENTIFIER_SYMBOL_VALUEs. Don't | |
10084 | call clear_limbo_values. Refer to IDENTIFIER_SYMBOL_VALUE not | |
10085 | IDENTIFIER_GLOBAL_VALUE or IDENTIFIER_LOCAL_VALUE. | |
10086 | (duplicate-decls): For real parm decl after a forward decl, | |
10087 | set TREE_ASM_WRITTEN here. Allow void foo(...) followed by | |
10088 | foo(...) { } with only a warning. Say whether a previous | |
10089 | declaration was implicit. | |
10090 | (warn_if_shadowing): Now handles all shadowing, not just | |
10091 | local-over-local. Clarify comments. | |
10092 | (pushdecl): Rewritten. There is no longer a distinction | |
10093 | between global and local symbol values; they're all | |
10094 | IDENTIFIER_SYMBOL_VALUE. Call record_external_decl on all | |
10095 | DECL_EXTERNAL decls, and use any_external_decl to check | |
10096 | against previous externals. Kill #if 0 blocks. Don't | |
10097 | tolerate error_mark_node being NULL. | |
10098 | (pushdecl_top_level): Handle only those cases which | |
10099 | Objective C (the only user) needs. | |
10100 | (pushdecl_function_level): New function. | |
10101 | (implicitly_declare): Create ordinary decls with | |
10102 | C_DECL_IMPLICIT set. Recycle old decls, however they got | |
10103 | created. | |
10104 | (lookup_name): It's always IDENTIFIER_SYMBOL_VALUE. Return 0 | |
10105 | for C_DECL_INVISIBLE symbols. | |
10106 | (lookup_name_current_level): Likewise. Use chain_member. | |
10107 | (c_make_fname_decl): Don't muck with DECL_CONTEXT. | |
10108 | Use pushdecl_function_level. | |
10109 | (builtin_function): Use C_DECL_INVISIBLE. | |
10110 | (start_function): Don't muck with IDENTIFIER_IMPLICIT_DECL. | |
10111 | Use C_DECL_ISNT_PROTOTYPE and C_DECL_IMPLICIT. | |
10112 | (store_parm_decls): It's IDENTIFIER_SYMBOL_VALUE now. | |
10113 | (identifier_global_value): Same. Must scan | |
10114 | global_binding_level in extremis. | |
10115 | ||
10116 | * c-typeck.c (undeclared_variable): New static function, split | |
10117 | from build_external_ref. | |
10118 | (build_external_ref): Use DECL_CONTEXT, not | |
10119 | IDENTIFIER_LOCAL_VALUE, to decide whether a local hides | |
10120 | an instance variable. Restructure for clarity. | |
10121 | * objc/objc-act.c: Use identifier_global_value, not | |
10122 | IDENTIFIER_GLOBAL_VALUE. | |
10123 | ||
6d9c4c83 JW |
10124 | 2003-04-08 Jonathan Wakely <redi@gcc.gnu.org> |
10125 | ||
10126 | * doc/extend.texi (Template Instantiation): Refer to ISO standard, | |
10127 | not Working Paper. | |
10128 | * doc/invoke.texi (C++ Dialect Options): Same. | |
10129 | ||
06790e5f ZW |
10130 | 2003-04-10 Zack Weinberg <zack@codesourcery.com> |
10131 | ||
10132 | * tree.c (tree_operand_check_failed): New function. | |
10133 | * tree.h (TREE_OPERAND_CHECK, TREE_OPERAND_CHECK_CODE, | |
10134 | TREE_RTL_OPERAND_CHECK): New checking macros. | |
10135 | (TREE_OPERAND, SAVE_EXPR_CONTEXT, SAVE_EXPR_RTL, | |
10136 | RTL_EXPR_SEQUENCE, RTL_EXPR_RTL, WITH_CLEANUP_EXPR_RTL, | |
10137 | CONSTRUCTOR_ELTS, LABELED_BLOCK_LABEL, LABELED_BLOCK_BODY, | |
10138 | EXIT_BLOCK_RETURN, LOOP_EXPR_BODY, EXPR_WFL_NODE, | |
10139 | EXPR_WFL_FILENAME_NODE, EXPR_WFL_FILENAME, TARGET_EXPR_SLOT, | |
10140 | TARGET_EXPR_INITIAL, TARGET_EXPR_CLEANUP): Use the new | |
10141 | checking macros. | |
10142 | ||
f90e4dea JH |
10143 | Thu Apr 10 23:52:30 CEST 2003 Jan Hubicka <jh@suse.cz> |
10144 | ||
10145 | PR inline-asm/8803 | |
10146 | * function.c (instantate_virtual_regs): Verify that all ASM statements | |
10147 | match after the virutal regs instantiation. | |
10148 | ||
08744705 SE |
10149 | 2003-04-10 Steve Ellcey <sje@cup.hp.com> |
10150 | ||
10151 | * ia64-protos.h (addp4_optimize_ok): New. | |
10152 | * ia64.c (addp4_optimize_ok): New. | |
10153 | * ia64.md (*ptr_extend_plus_1): Use addp4_optimize_ok. | |
10154 | (*ptr_extend_plus_2): Ditto. | |
10155 | ||
267b28bd SE |
10156 | 2003-04-10 Steve Ellcey <sje@cup.hp.com> |
10157 | ||
10158 | * expr.c (expand_assignment): Extend offset_rtx with convert_to_mode | |
10159 | not with convert_memory_address. | |
10160 | (store_constructor): Ditto, and same for copy_size_rtx. | |
10161 | (expand_expr): Ditto. | |
10162 | ||
021bad8e DR |
10163 | 2003-04-10 Douglas B Rupp <rupp@gnat.com> |
10164 | ||
10165 | * config/i386/i386.c (ix86_ms_bitfield_layout_p): Fix formatting. | |
10166 | ||
1839841c BW |
10167 | 2003-04-10 Bob Wilson <bob.wilson@acm.org> |
10168 | ||
10169 | * config/xtensa/lib2funcs.S (__xtensa_sync_caches): Flush data cache | |
10170 | even if it is configured to be write-through. | |
10171 | ||
e23795ea UW |
10172 | 2003-04-10 Ulrich Weigand <uweigand@de.ibm.com> |
10173 | ||
10174 | * config/s390/s390.c (larl_operand): Do not allow symbols | |
10175 | marked with '@'. | |
10176 | (s390_encode_section_info): Mark symbols with forced 1-byte | |
10177 | alignment with '@'. | |
10178 | (s390_strip_name_encoding): Strip '@'. | |
10179 | (legitimize_pic_address): Handle symbols that are not valid | |
10180 | LARL operands in 64-bit mode. | |
10181 | ||
0bb7378d AH |
10182 | 2003-04-10 Andrew Haley <aph@redhat.com> |
10183 | ||
10184 | * tree-inline.c (inlinable_function_p): Disable inlining for | |
10185 | synchronized methods. | |
10186 | ||
009ed910 SB |
10187 | 2003-04-09 Steven Bosscher <steven@gcc.gnu.org> |
10188 | ||
10189 | * c-common.h (lang_statement_code_p): Remove declaration. | |
10190 | (statement_code_p): Ditto. | |
10191 | (c_common_stmt_codes): Define; list of c-common statement codes. | |
10192 | (statement_code_p): New extern declaration. | |
10193 | (STATEMENT_CODE_P): Define. | |
10194 | (INIT_STATEMENT_CODES): Define. | |
10195 | * c-common.c (statement_code_p): Kill the function, declare | |
10196 | as an array of bools instead. | |
10197 | (lang_statement_code_p): Remove. | |
10198 | (walk_stmt_tree): Use STATEMENT_CODE_P not statement_code_p. | |
10199 | (c_safe_from_p): Ditto. | |
10200 | * c-objc-common.c (c_objc_common_init): Use INIT_STATEMENT_CODES | |
10201 | to initialize the statement_code_p array. | |
10202 | * tree-inline.c (walk_tree): Use STATEMENT_CODE_P instead of | |
10203 | statement_code_p. | |
10204 | (copy_tree_r): Ditto. | |
10205 | * cp/cp-tree.h (cp_stmt_codes): Define; list of C++ specific | |
10206 | statement tree codes. | |
10207 | * cp/lex.c (cxx_init): Add missing print line break. Use | |
10208 | INIT_STATEMENT_CODES to initialize the statement_code_p array. | |
10209 | * cp/parser.c (cp_parser_statement): Use STATEMENT_CODE_P | |
10210 | instead of statement_code_p. | |
10211 | * cp/pt.c (tsubst_expr): Ditto. | |
10212 | * cp/tree.c (verify_stmt_tree_r): Ditto. | |
10213 | (cp_statement_code_p): Remove. | |
10214 | (init_tree): Don't set lang_statement_code_p, it's gone. | |
10215 | ||
496324d0 DN |
10216 | 2003-04-09 Dan Nicolaescu <dann@ics.uci.edu> |
10217 | Zack Weinberg <zack@codesourcery.com> | |
10218 | ||
10219 | * regrename.c (struct du_chain): Use a bitfield for reg_class. | |
10220 | * cse.c (struct qty_table_elem, struct table_elt, struct set): | |
10221 | Use bitfields for fields holding enum rtx_code or | |
10222 | enum machine_mode values. Add comments explaining size choices. | |
10223 | ||
9c951124 AO |
10224 | 2003-04-09 Alexandre Oliva <aoliva@redhat.com> |
10225 | ||
10226 | * config/fp-bit.c (unpack_d): Handle pair of doubles with | |
10227 | different signs correctly. | |
10228 | ||
d1c9693e VM |
10229 | 2003-04-09 Vladimir Makarov <vmakarov@redhat.com> |
10230 | ||
10231 | * sched-deps.c (reg_pending_barrier_mode): New enumeration. | |
10232 | (reg_pending_barrier): Make it of the enumeration type. | |
10233 | (sched_analyze_2): Define the barrier as MOVE_BARRIER or | |
10234 | TRUE_BARRIER. | |
10235 | (sched_analyze): Ditto. | |
10236 | (sched_analyze_insn): Ditto. Use anti-dependencies for | |
10237 | MOVE_BARRIER and true-dependencies as TRUE_BARRIER. | |
10238 | (init_deps_global): Initialize the barrier as NO_BARRIER. | |
06790e5f | 10239 | |
f32360c7 VM |
10240 | 2003-04-09 Vladimir Makarov <vmakarov@redhat.com> |
10241 | ||
10242 | * config/ia64/ia64.c (issue_nops_and_insn): Add new parameter. | |
10243 | Check that asm insn starts on a new cycle. Add nops after asm | |
10244 | insn to end bundle. | |
10245 | (bundling): Move insn type evaluation from the loop. Call | |
10246 | issue_nops_and_insn with the new parameter. Ignore changing | |
10247 | position for nops after asm insn. | |
10248 | ||
0913e4b4 AO |
10249 | 2003-04-09 Alexandre Oliva <aoliva@redhat.com> |
10250 | ||
10251 | * optabs.c: Comment that gen_add2_insn and others may actually | |
10252 | return emitted insns, if the gen functions turn out to return | |
10253 | emitted insns. | |
10254 | * reload1.c (reload_cse_move2add): Cope with emitted insns from | |
10255 | gen_add2_insn. | |
10256 | ||
21515593 RH |
10257 | 2003-04-09 Richard Henderson <rth@redhat.com> |
10258 | ||
10259 | * config/ia64/ia64.c (move_operand): Allow symbolic_operand, | |
10260 | but not tls_symbolic_operand. | |
10261 | (ia64_expand_load_address): Remove scratch operand. | |
10262 | (ia64_expand_tls_address): Split out from ia64_expand_move. | |
10263 | (ia64_expand_move): Split symbolics only after reload. | |
10264 | (ia64_emit_cond_move): New. | |
10265 | * config/ia64/ia64-protos.h: Update. | |
10266 | * config/ia64/ia64.md (movsi_symbolic, movdi_symbolic): Remove. | |
10267 | (symbolic splitter): Accept SImode operands too. | |
10268 | (cmove splitter): Use ia64_emit_cond_move. | |
10269 | ||
66d6bf1f NC |
10270 | 2003-04-09 Nick Clifton <nickc@redhat.com> |
10271 | ||
10272 | * doc/install.texi: Note that ARM toolchains need binutils 2.13 or | |
10273 | newer. | |
10274 | * config/arm/elf.h (SUBTARGET_ASM_FLOAT_SPEC): Pass -mfpu=softfpa | |
10275 | instead of -mno-fpu. | |
10276 | * config/arm/semi.h (ASM_SPEC): Likewise. | |
10277 | * config/arm/xscale-elf.h (SUBTARGET_EXTRA_ASM_SPEC): Likewise, | |
10278 | but only if -msoft-float is specified pass. Otherwise pass | |
10279 | -mfpu=softvfp. | |
06790e5f | 10280 | |
22659ac9 ZD |
10281 | 2003-04-09 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
10282 | ||
10283 | * function.c (purge_addressof): Use free_INSN_LIST_node instead of | |
10284 | free_EXPR_LIST_node. | |
10285 | ||
5fce2c65 RS |
10286 | 2003-04-08 Roger Sayle <roger@eyesopen.com> |
10287 | ||
10288 | * fold-const.c (fold): Use "fold" following build in more places. | |
10289 | Optimize sqrt(x)*sqrt(x) as x, pow(x,y)*pow(z,y) as pow(x*z,y), | |
10290 | pow(x,y)*pow(x,z) as pow(x,y+z) and x/pow(y,z) as x*pow(y,-z). | |
10291 | ||
531878a6 RS |
10292 | 2003-04-08 Roger Sayle <roger@eyesopen.com> |
10293 | ||
10294 | * builtins.c (fold_builtin): Constant fold expressions as x*0.5 | |
10295 | instead of x/2.0. Optimize sqrt(pow(x,y)) as pow(x,y*0.5), | |
10296 | log(pow(x,y)) as y*log(x), pow(exp(x),y) as exp(x*y), | |
10297 | pow(sqrt(x),y) as pow(x,y*0.5) and pow(pow(x,y),z) as pow(x,y*z). | |
10298 | Delete function scope "fcode" variable to avoid shadowing. | |
10299 | ||
c583e7c3 KB |
10300 | 2003-04-08 Kevin Buettner <kevinb@redhat.com> |
10301 | ||
10302 | * dwarf2out.c (DWARF_ARANGES_HEADER_SIZE, DWARF_ARANGES_PAD_SIZE): | |
10303 | Take into account DWARF_INITIAL_LENGTH_SIZE. | |
10304 | ||
5a82c0b1 HPN |
10305 | 2003-04-08 Hans-Peter Nilsson <hp@axis.com> |
10306 | ||
10307 | * reorg.c (fill_slots_from_thread): When considering changing the | |
10308 | insn following a reg-to-reg copy insn to use the source reg of the | |
10309 | copy, bail out if there's overlap between the registers. | |
10310 | ||
8a5275eb ZD |
10311 | 2003-04-08 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
10312 | ||
10313 | * function.c (postponed_insns): New. | |
10314 | (purge_addressof_1): Postpone processing of insns if addressofs | |
10315 | are not put into stack. | |
06790e5f | 10316 | (purge_addressof): Process postponed insns. |
8a5275eb | 10317 | |
ac55736a R |
10318 | 2003-04-08 J"orn Rennecke <joern.rennecke@superh.com> |
10319 | ||
10320 | * sh.h (NORMAL_MODE): If interrupt handler and TARGET_FMOVD, | |
10321 | this is FP_MODE_DOUBLE . | |
10322 | * sh.c (ra.h): #include. | |
10323 | (push_regs): Add second parameter. Changed all callers. | |
10324 | If necessary, set fpscr before saving floating point registers. | |
10325 | (calc_live_regs): If interrupt handler and TARGET_FMOVD, always | |
10326 | do saves / restores with SZ == 1. | |
10327 | (sh_expand_prologue): If interrupt handler, don't use gen_toggle_sz. | |
10328 | (sh_expand_epilogue): Likewise. For TARGET_FMOVD, if floating point | |
10329 | registers are being restored, restore FPSCR only after restoring them. | |
10330 | ||
3fdaa45a AH |
10331 | 2003-04-08 Aldy Hernandez <aldyh@redhat.com> |
10332 | ||
496324d0 DN |
10333 | * config/rs6000/rs6000.c (rs6000_init_builtins): Set opaque types |
10334 | regardless of architecture. | |
10335 | (spe_init_builtins): Change V2SI and V2SF types to opaque types. | |
3fdaa45a | 10336 | |
490dbac7 R |
10337 | 2003-04-08 J"orn Rennecke <joern.rennecke@superh.com> |
10338 | ||
10339 | * sh.c (push_regs, calc_live_regs): Return int. Take single | |
10340 | HARD_REG_SET * parameter. Changed all callers. | |
10341 | ||
799b33a0 JH |
10342 | Tue Apr 8 11:12:07 CEST 2003 Jan Hubicka <jh@suse.cz> |
10343 | ||
10344 | * i386.c (legitimate_pic_address_disp_p): Do not accept PLUS in the | |
10345 | GOTOFF operand. | |
10346 | (legitimize_pic_address): Move plus outside the unspec. | |
10347 | * i386.c (legitimate_constant_p): Check (CONST (PLUS (UNSPEC ... | |
10348 | for validity. | |
10349 | ||
3e71e002 NS |
10350 | 2003-04-08 Nathan Sidwell <nathan@codesourcery.com> |
10351 | ||
10352 | * gcov-io.h (gcov_save_position): Remove __inline__ from | |
10353 | declaration. | |
10354 | ||
7ba4ca63 MK |
10355 | 2003-04-07 Matt Kraai <kraai@alumni.cmu.edu> |
10356 | ||
10357 | * doc/install.texi: Use @command and @samp for single- and | |
10358 | multi-word commands respectively. | |
10359 | * doc/makefile.texi: Likewise. | |
10360 | * doc/sourcebuild.texi: Likewise. | |
10361 | ||
f8d4be57 | 10362 | 2003-04-07 Christian Ehrhardt <ehrhardt@mathematik.uni-ulm.de> |
496324d0 | 10363 | Richard Henderson <rth@redhat.com> |
f8d4be57 | 10364 | |
496324d0 DN |
10365 | PR c/9516 |
10366 | * expr.c (safe_from_p): Rearrange to avoid deep recursion in | |
6356f892 | 10367 | favor of looping and tail recursion for TREE_LIST and binops. |
f8d4be57 | 10368 | |
760e8e42 ZD |
10369 | 2003-04-08 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
10370 | ||
10371 | * loop.h (REGNO_FIRST_LUID, REGNO_LAST_LUID): Provide defaults | |
10372 | for insns without luid. | |
10373 | ||
b0a3412c GN |
10374 | 2003-04-07 Glen Nakamura <glen@imodulo.com> |
10375 | ||
10376 | PR opt/8634 | |
10377 | * explow.c (maybe_set_unchanging): Don't flag non-static const | |
10378 | aggregate type initializers with RTX_UNCHANGING_P. | |
10379 | ||
c5a1e3d6 RH |
10380 | 2003-04-07 Richard Henderson <rth@redhat.com> |
10381 | ||
496324d0 DN |
10382 | PR opt/8634 |
10383 | * function.c (purge_addressof_1): Don't try arithmetics for | |
10384 | unchanging memories. | |
c5a1e3d6 | 10385 | |
138d4703 JJ |
10386 | 2003-04-07 Janis Johnson <janis187@us.ibm.com> |
10387 | ||
10388 | * doc/sourcebuild.texi (Test Suites): Document testing support for | |
10389 | gcov and profile-directed optimizations; describe gcc.misc-tests. | |
10390 | ||
1d5b4e0b JH |
10391 | Mon Apr 7 22:19:59 CEST 2003 Jan Hubicka <jh@suse.cz> |
10392 | ||
10393 | PR target/10077 | |
10394 | * i386.md (movsi_1, movsi_nointerunit_1): Fix SSEMOV alternative. | |
10395 | ||
60ba917e EB |
10396 | 2003-04-07 Eric Botcazou <ebotcazou@libertysurf.fr> |
10397 | ||
10398 | * doc/rtl.texi (Comparison operations): Update to | |
10399 | record the allowed comparison modes. | |
10400 | ||
2abe3e28 AH |
10401 | 2003-04-07 Aldy Hernandez <aldyh@redhat.com> |
10402 | ||
496324d0 DN |
10403 | * config/rs6000/rs6000.c (rs6000_common_init_builtins): Rename all |
10404 | V2SI_type_node to opaque_V2SI_type_node. Rename all | |
10405 | V2SF_type_node to opaque_V2SF_type_node. | |
10406 | (rs6000_init_builtins): Define opaque_V2SI_type_node and | |
10407 | opaque_V2SF_type_node. | |
10408 | (is_ev64_opaque_type): The types opaque_V2SI_type_node and | |
10409 | opaque_V2SF_type_node are opaque types. | |
2abe3e28 | 10410 | |
9a318d30 R |
10411 | 2003-04-07 J"orn Rennecke <joern.rennecke@superh.com> |
10412 | ||
10413 | * gcse.c (replace_store_insn): Use single_set. | |
10414 | ||
546d2adb NS |
10415 | 2003-04-07 Nathan Sidwell <nathan@codesourcery.com> |
10416 | ||
10417 | Change gcov file interface to single file at a time. | |
10418 | * gcov-io.h: Replace IN_LIBGCC1 with IN_LIBGCOV. Use IN_GCOV. | |
10419 | Convert to C89 prototypes. | |
10420 | (gcov_file, gcov_length, gcov_position, gcov_buffer, gcov_alloc, | |
10421 | gcov_error, gcov_modified): New static variables. | |
10422 | (gcov_open, gcov_close, gcov_read_bytes, gcov_write_bytes): New | |
10423 | functions. | |
10424 | (gcov_write_unsigned, gcov_write_counter, gcov_write_string, | |
10425 | gcov_read_unsigned, gcov_read_counter, gcov_read_string): Adjust. | |
10426 | (gcov_read_summary, gcov_write_summary): Adjust. | |
10427 | (gcov_save_position, gcov_reserve_length, gcov_write_length): | |
10428 | Adjust. | |
10429 | (gcov_resync, gcov_skip, gcov_skip_string): Adjust. | |
10430 | (da_file_open, da_file_close, da_file_eof, da_file_error): Remove. | |
10431 | (da_file_position, da_file_seek, da_file_write, da_file_read): | |
10432 | Remove. | |
10433 | (gcov_error, gcov_eof, gcov_ok, gcov_time): New functions. | |
10434 | * gcov.c (gcov_type): Don't typedef here. | |
10435 | (IN_GCOV): #define | |
10436 | (read_graph_file, read_count_file): Adjust. | |
10437 | * gcov-dump.c (gcov_type): Don't typedef here. | |
10438 | (IN_GCOV): #define. | |
10439 | (tag_function, tag_blocks, tag_arcs, tag_lines, tag_arc_counts): | |
10440 | Remove FILE parameter, adjust. | |
10441 | (struct tag_format): Adjust proc member. | |
10442 | (dump_file): Adjust. | |
10443 | * libgcov.c (IN_LIBGCOV): #define. | |
10444 | (gcov_exit): Adjust. | |
10445 | * loop-init.c: Don't #include gcov-io.h | |
10446 | * profile.c (struct counts_entry): New structure to hold counter | |
10447 | values. | |
10448 | (struct section_reference, struct da_index_entry): Remove. | |
10449 | (bbg_file, da_file): Remove. | |
10450 | (htab_counts_index_hash, htab_counts_index_eq, | |
10451 | htab_counts_index_del): Replace with ... | |
10452 | (htab_counts_entry_hash, htab_counts_entry_eq, | |
10453 | htab_counts_entry_del): ... these. | |
10454 | (cleanup_counts_index, index_counts_file): Remove. | |
10455 | (read_counts_file): New function. | |
10456 | (get_exec_counts): Adjust. | |
10457 | (compute_branch_probabilities): Don't free the exec counts here. | |
10458 | (branch_prob): Adjust. | |
10459 | (init_branch_prob): Adjust. | |
10460 | (end_branch_prob): Adjust. | |
10461 | ||
5da702b1 AH |
10462 | 2003-04-07 Aldy Hernandez <aldyh@redhat.com> |
10463 | ||
496324d0 DN |
10464 | * doc/invoke.texi (RS/6000 and PowerPC Options): Document |
10465 | -mfloat-gprs. | |
5da702b1 | 10466 | |
496324d0 DN |
10467 | * config/rs6000/rs6000.c: Delete rs6000_fprs. |
10468 | Declare rs6000_float_gprs. | |
10469 | Declare rs6000_float_gprs_string. | |
10470 | (rs6000_parse_float_gprs_option): New. | |
10471 | (rs6000_override_options): Genericize rs6000_parse_* calls to use | |
10472 | rs6000_parse_yes_no_option. | |
10473 | Change check for cpu=8540, to use TARGET_E500. | |
10474 | (rs6000_parse_isel_option): Delete. | |
10475 | (rs6000_parse_spe_option): Delete. | |
10476 | (rs6000_parse_vrsave_option): Delete. | |
5da702b1 | 10477 | |
496324d0 DN |
10478 | * config/rs6000/rs6000.h: Rename rs6000_fprs to rs6000_float_gprs. |
10479 | Define rs6000_float_gprs_string. | |
10480 | (TARGET_OPTIONS): Add rs6000_float_gprs option. | |
5da702b1 | 10481 | |
496324d0 | 10482 | * config/rs6000/eabi.h (TARGET_FPRS): Change to use rs6000_float_gprs. |
5da702b1 | 10483 | |
496324d0 | 10484 | * config/rs6000/eabispe.h: Set rs6000_float_gprs. |
5da702b1 | 10485 | |
cde1d5bf JH |
10486 | Mon Apr 7 14:36:24 CEST 2003 Jan Hubicka <jh@suse.cz> |
10487 | ||
10488 | PR opt/10024 | |
10489 | * cfglayout.c (cfg_layout_redirect_edge): | |
10490 | Redirect any branch edges unified with the fallthru one. | |
10491 | * cfgrtl.c (force_nonfallthru_and_redirect): Do not special | |
10492 | case fallthru edges when called via cfglayout.c | |
10493 | ||
d5019ba3 R |
10494 | 2003-04-07 J"orn Rennecke <joern.rennecke@superh.com> |
10495 | ||
10496 | * c-typeck.c (output_init_element): Check for type == error_mark_node. | |
10497 | ||
093b05b6 KH |
10498 | 2003-04-07 Kazu Hirata <kazu@cs.umass.edu> |
10499 | ||
10500 | * config/h8300/h8300.md (*zero_extendqisi2_h8300hs): Always | |
10501 | split. | |
10502 | (a splitter): Do zero-extension via HImode. | |
10503 | ||
9a94f7f3 JM |
10504 | 2003-04-07 James A. Morrison <ja2morri@uwaterloo.ca> |
10505 | ||
10506 | * doc/invoke.texi: Eliminate extra white-space caused by | |
10507 | @gccoptlist{ on its own line. | |
10508 | * doc/invoke.texi: Ensured there are two spaces between each option. | |
10509 | * doc/invoke.texi: Re-wrapped option lines that were too wide. | |
10510 | Added @gol to options that didn't have them. | |
10511 | ||
85ebf0c6 JM |
10512 | 2003-04-07 James A Morrison <ja2morri@student.math.uwaterloo.ca> |
10513 | ||
10514 | * doc/extend.texi (Darwin Pragmas): Fix spelling of Mac OS. | |
10515 | ||
d78e771d ZW |
10516 | 2003-04-06 Zack Weinberg <zack@codesourcery.com> |
10517 | ||
10518 | * tree.c (tree_size): For all 'c' and 'x' nodes, look directly | |
10519 | at the sizes of the relevant structures, rather than relying | |
10520 | on TREE_CODE_LENGTH. Call lang_hooks.tree_size to get the | |
10521 | sizes of any such we don't know about. Use | |
10522 | lang_hooks.identifier_size for IDENTIFIER_NODE. | |
10523 | ||
10524 | (initializer_zerop): Use CONSTRUCTOR_ELTS. | |
10525 | * tree.def: Update commentary. Make fourth element of | |
10526 | the definition for all 'c' and 'x' nodes zero. | |
10527 | ||
10528 | * langhooks.h: New hook, tree_size / LANG_HOOKS_TREE_SIZE. | |
10529 | * langhooks-def.h: Update to match. | |
10530 | * langhooks.c: New default, lhd_tree_size. | |
10531 | ||
10532 | * c-common.def (SRCLOC): Kill. | |
10533 | * c-pretty-print.c (pp_c_postfix_expression [case SRCLOC]): | |
10534 | Remove entirely - was already #if-ed out. | |
10535 | ||
10536 | ||
48a79342 ZW |
10537 | 2003-04-06 Zack Weinberg <zack@codesourcery.com> |
10538 | ||
10539 | * mklibgcc.in: Use a here document to avoid running afoul of | |
10540 | shells that generate control-A from "echo \1". | |
10541 | ||
993f19a8 AH |
10542 | 2003-04-06 Aldy Hernandez <aldyh@redhat.com> |
10543 | ||
d78e771d ZW |
10544 | * doc/invoke.texi (RS/6000 and PowerPC Options): Document -mspe |
10545 | option. | |
993f19a8 | 10546 | |
d78e771d ZW |
10547 | * config/rs6000/eabispe.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Set |
10548 | rs6000_spe. | |
993f19a8 | 10549 | |
d78e771d | 10550 | * config/rs6000/eabi.h (TARGET_E500): Define. |
993f19a8 | 10551 | |
d78e771d ZW |
10552 | * config/rs6000/rs6000.h (TARGET_E500): Define. |
10553 | (TARGET_OPTIONS): Add spe= option. | |
10554 | Declare rs6000_spe and rs6000_spe_string extern. | |
993f19a8 | 10555 | |
d78e771d ZW |
10556 | * config/rs6000/rs6000.c (branch_positive_comparison_operator): |
10557 | Change TARGET_SPE to TARGET_E500. | |
10558 | (ccr_bit): Change TARGET_SPE to TARGET_E500. Check for | |
10559 | !TARGET_FPRS. | |
10560 | (print_operand): Same. | |
10561 | (rs6000_generate_compare): Same. | |
10562 | (output_cbranch): Same. | |
10563 | (rs6000_spe): Declare. | |
10564 | (rs6000_spe_string): Declare. | |
10565 | (rs6000_override_options): Call rs6000_parse_spe_option. | |
10566 | (rs6000_parse_spe_option): New. | |
993f19a8 | 10567 | |
95ec27aa SB |
10568 | 2003-04-06 Steven Bosscher <steven@gcc.gnu.org> |
10569 | ||
10570 | * hashtable.c (gcc_obstack_init): Delete this function | |
10571 | and everything related to it. | |
10572 | * hashtable.h: Remove prototype. | |
10573 | * bitmap.c (bitmap_element_allocate): Cleanup redundant | |
10574 | defines. Cleanup some unnecessary whitespace. | |
10575 | * defaults.h (obstack_chunk_alloc): Redefine with | |
10576 | appropriate casts for libiberty obstacks. | |
10577 | (obstack_chunk_free): Ditto. | |
10578 | (OBSTACK_CHUNK_SIZE): Define, default to 0. | |
10579 | (gcc_obstack_init): Define as a call to _obstack_begin. | |
10580 | * tree.c (print_obstack_statistics): Delete this unused | |
10581 | function. | |
10582 | * tree.h (obstack): Don't forward-declare. | |
10583 | (print_obstack_statistics): Delete prototype. | |
10584 | (print_obstack_name): Ditto. | |
10585 | (gcc_obstack_init): Ditto. | |
10586 | * rtl.h (gcc_obstack_init): Ditto. | |
10587 | * java/jv-scan.c (gcc_obstack_init): Delete this | |
10588 | function, its prototype and related defines. | |
10589 | * java/jvgenmain.c (gcc_obstack_init): Delete this | |
10590 | function, and related defines. | |
10591 | * java/parse-scan.y (obstack_chunk_alloc): Don't define. | |
10592 | (obstack_chunk_free): Ditto | |
10593 | ||
62e64b0b GK |
10594 | 2003-04-06 Geoffrey Keating <geoffk@apple.com> |
10595 | ||
10596 | * dbxout.c (dbxout_handle_pch): Move prototype out from | |
10597 | #if defined DBX_DEBUGGING_INFO. | |
10598 | ||
10b7602f NS |
10599 | 2003-04-05 Nathan Sidwell <nathan@codesourcery.com> |
10600 | ||
10601 | * gcov.c (struct arc_info): Replace local_span with cycle. | |
10602 | (struct block_info): Replace u.span with u.cycle. Add is_call_return. | |
10603 | (solve_flow_graph): Set is_call_return. | |
10604 | (add_line_counts): Adjust. In block mode, blocks attach to last line. | |
10605 | (accumulate_line_counts): Find graph cycles, not spanning tree. | |
10606 | (output_branch_count): Adjust. | |
10607 | (output_lines): Adjust. | |
10608 | * doc/gcov.texi: Update. | |
10609 | ||
910c46b5 KH |
10610 | 2003-04-06 Kazu Hirata <kazu@cs.umass.edu> |
10611 | ||
10612 | * config/h8300/h8300.md (*zero_extendqisi2_h8300hs): Change | |
10613 | the second alternative to "#". | |
10614 | ||
ef378bbe KH |
10615 | 2003-04-05 Kazu Hirata <kazu@cs.umass.edu> |
10616 | ||
10617 | * config/h8300/h8300.c (single_one_operand): Use GET_MODE_MASK. | |
10618 | (single_zero_operand): Likewise. | |
10619 | ||
873ceaab DB |
10620 | 2003-04-05 Daniel Berlin <dberlin@dberlin.org> |
10621 | ||
10622 | * Makefile.in (df.o): Depend on alloc-pool.h, not obstack.h. | |
10623 | * df.c: Include alloc-pool.h, not obstack.h. | |
10624 | (df_ref_obstack): Remove. | |
10625 | (df_ref_pool, df_link_pool): Add pools. | |
10626 | (df_alloc): Init the new pools. | |
10627 | (df_free): And free them. | |
10628 | (df_link_create): Use the pools. | |
10629 | (df_ref_create): Ditto. | |
10630 | ||
5be86fec KH |
10631 | 2003-04-05 Kazu Hirata <kazu@cs.umass.edu> |
10632 | ||
10633 | * simplify-rtx.c: Fix formatting. | |
10634 | ||
984e25ac DE |
10635 | 2003-04-05 Andrew Pinski <apinski@apple.com> |
10636 | ||
10637 | * config/rs6000/rs6000.c (addrs_ok_for_quad_peep): Allow addr2 | |
10638 | reg with reg1 == reg2 and offset1 = -8. | |
10639 | ||
10640 | 2003-04-05 David Edelsohn <edelsohn@gnu.org> | |
10641 | ||
10642 | * config/rs6000/rs6000.c (rs6000_rtx_costs): Halve Power4 | |
10643 | multiply costs. Correct Power4 divide costs. | |
10644 | * config/rs6000/power4.md: Restore multiply and FP latency. | |
10645 | ||
94f24ddc ZD |
10646 | 2003-04-05 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
10647 | ||
10648 | * alias.c (find_base_term): Export. | |
10649 | * rtl.h (find_base_term): Declare. | |
10650 | * gcse.c (find_moveable_store): Test for flag_non_call_exceptions | |
10651 | instead of flag_exceptions. Move test for parameter passing ... | |
10652 | (store_killed_in_insn): ... here. | |
10653 | ||
92441f83 GP |
10654 | 2003-04-05 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
10655 | ||
10656 | PR bootstrap/10267 | |
10657 | * doc/install.texi (*-*-solaris2): /bin/ksh is not just recommended | |
10658 | for configuring. | |
10659 | ||
33b49800 GK |
10660 | 2003-04-04 Geoffrey Keating <geoffk@apple.com> |
10661 | ||
10662 | * dbxout.c (scope_labelno): Add GTY. | |
10663 | (have_used_extensions): Add GTY. | |
10664 | (source_label_number): Add GTY. | |
10665 | (lastfile): Add GTY. | |
10666 | (lastfile_is_base): New. | |
10667 | (base_input_file): New. | |
10668 | (dbxout_handle_pch): New. | |
10669 | (dbx_debug_hooks): Add handle_pch. | |
10670 | (xcoff_debug_hooks): Likewise. | |
10671 | (dbxout_function_end): Remove scope_labelno. | |
10672 | (dbxout_init): Set base_input_file. | |
10673 | (dbxout_handle_pch): New. | |
10674 | (dbxout_source_file): Honour lastfile_is_base. | |
10675 | * dwarfout.c (dwarf_debug_hooks): Add dummy handle_pch. | |
10676 | * sdbout.c (sdb_debug_hooks): Add dummy handle_pch. | |
10677 | * vmsdbgout.c (vmsdbg_debug_hooks): Add dummy handle_pch. | |
10678 | * dwarf2out.c (dwarf2_debug_hooks): Add dummy handle_pch. | |
10679 | * debug.c (do_nothing_debug_hooks): Add dummy handle_pch. | |
10680 | * debug.h (struct gcc_debug_hooks): Add handle_pch. | |
10681 | * c-pch.c (pch_init): Don't call start_source_file, but do call | |
10682 | handle_pch. | |
10683 | (c_common_write_pch): Call handle_pch. | |
10684 | (c_common_read_pch): Don't call start_source_file, | |
06790e5f | 10685 | or end_source_file. |
33b49800 | 10686 | |
bb056a77 OH |
10687 | Fri Apr 4 17:43:52 2003 Olivier Hainque <hainque@act-europe.fr> |
10688 | ||
d78e771d ZW |
10689 | * emit-rtl.c (get_mem_attrs): Adjust alignment tests determining |
10690 | use of default attributes to agree MEM_ALIGN macro. | |
bb056a77 | 10691 | |
08b0f5f9 JB |
10692 | Fri Apr 4 17:33:24 2003 Joel Brobecker <brobecker@gnat.com> |
10693 | ||
d78e771d | 10694 | * dbxout.c (dbxout_type): When printing type index of range type |
08b0f5f9 JB |
10695 | whose bounds are printed in octal format, print type of parent type if |
10696 | it exists so enumerated type descriptions are not transformed | |
d78e771d | 10697 | into unsigned types. |
08b0f5f9 | 10698 | |
45ca2106 KH |
10699 | 2003-04-04 Kazu Hirata <kazu@cs.umass.edu> |
10700 | ||
10701 | * config/h8300/h8300-protos.h: Add a prototype for | |
10702 | compute_a_shift_cc. | |
10703 | * config/h8300/h8300.c (shift_one): Update the CC status. | |
10704 | (shift_two): Likewise. | |
10705 | (output_a_shift_cc): Set cc_inline and cc_special. | |
10706 | (compute_a_shift_cc): New. | |
10707 | * config/h8300/h8300.md (shift insns): Use compute_a_shift_cc. | |
10708 | ||
7c2aa9d7 RH |
10709 | 2003-04-04 Richard Henderson <rth@redhat.com> |
10710 | ||
10711 | * cse.c (fold_rtx): Fix 03-30 change; do check insn non-null. | |
10712 | ||
0705a2a2 LR |
10713 | 2003-04-04 Loren James Rittle <ljrittle@acm.org> |
10714 | ||
10715 | * fixinc/inclhack.def (bsd_stdio_attrs_conflict): New. | |
10716 | * fixinc/fixincl.x: Rebuilt. | |
10717 | * fixinc/tests/base/stdio.h: Regenerated. | |
10718 | ||
1a482881 NS |
10719 | 2003-04-04 Nathan Sidwell <nathan@codesourcery.com> |
10720 | ||
10721 | * gcov.c (accumulate_line_counts): Fix span tree merge bug. | |
10722 | ||
5d806217 R |
10723 | Fri Apr 4 15:58:52 2003 J"orn Rennecke <joern.rennecke@superh.com> |
10724 | ||
10725 | * sh.h (ACTUAL_NORMAL_MODE): New macro, broken out of | |
10726 | (NORMAL_MODE). | |
10727 | * sh.c (fpscr_set_from_mem): Use ACTUAL_NORMAL_MODE. | |
10728 | ||
0dc5ac92 | 10729 | 2003-04-04 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
06790e5f | 10730 | |
0dc5ac92 GP |
10731 | * doc/contrib.texi (Contributors): Add entries for Wolfgang |
10732 | Bangerth, DJ Delorie, Christian Ehrhardt, Christopher Faylor, | |
10733 | Nathanael Nerode, Diego Novillo, Hartmut Penner, Volker Reichelt, | |
10734 | Danny Smith, and Ulrich Weigand. | |
10735 | Update Kriang Lerdsuwanakij and fix a typo in Janis Johnson's | |
10736 | entry. | |
10737 | ||
5eb7ad07 NC |
10738 | 2003-04-04 Nick Clifton <nickc@redhat.com> |
10739 | ||
10740 | * config/sparc/sol2-bi.h: Revert previous delta. | |
10741 | * config/sparc/sol2-gas-bi.h (AS_SPARC64_FLAG): Prepend -TSO | |
10742 | ||
fdf3bb57 NC |
10743 | 2003-04-04 Nick Clifton <nickc@redhat.com> |
10744 | ||
10745 | * config/v850/v850.c (expand_prologue): Only use register save | |
10746 | helper functions if long calls are not being used. | |
10747 | Add a clobber of r11 id using long calls. | |
10748 | (pattern_is_ok_for_prologue): Account for the extra clobber. | |
10749 | (construct_save_jarl): Likewise. | |
10750 | * config/v850/v850.md (prolog pattern): Do not use this pattern | |
10751 | for v850e's. | |
10752 | ||
ad3f5759 AS |
10753 | 2003-04-04 Andreas Schwab <schwab@suse.de> |
10754 | ||
10755 | * stor-layout.c (layout_decl): Avoid syntax error in last change | |
10756 | when PCC_BITFIELD_TYPE_MATTERS is defined but not | |
10757 | EMPTY_FIELD_BOUNDARY. | |
10758 | ||
ed2e5902 JM |
10759 | 2003-04-03 Jason Merrill <jason@redhat.com> |
10760 | ||
10761 | PR c/10175 | |
10762 | * jump.c (never_reached_warning): Revert patch of 2002-11-02. | |
10763 | Look backwards for a line note. | |
10764 | ||
7b43d104 NB |
10765 | 2003-04-03 Neil Booth <neil@daikokuya.co.uk> |
10766 | ||
10767 | * fix-header.c (read_scan_file): Defer switch processing. | |
10768 | ||
d24ecd21 MA |
10769 | 2003-04-03 Matt Austern <austern@apple.com> |
10770 | ||
10771 | * cpppch.c (reset_ht): Remove. | |
10772 | (cpp_read_state): Remove loop to reset hashtable identifiers. | |
10773 | * ggc-common.c (gt_pch_save): Add call to gt_pch_fixup_stringpool | |
10774 | after pch file is written. | |
10775 | * ggc.h (gt_pch_fixup_stringpool): Declare. | |
10776 | * stringpool.c (ht_copy_and_clear): Define. Callback. Copy | |
10777 | hashnode's value to another hashtable, then clear the original. | |
10778 | (saved_ident_hash): Define. | |
10779 | (gt_pch_save_stringpool): Create saved_ident_hash, use it to | |
10780 | store definitions in ident_hash, and clear ident_hash. | |
10781 | (gt_pch_fixup_stringpool): Define. Restore definitions from | |
10782 | saved_ident_hash to ident_hash, then destroy saved_ident_hash. | |
10783 | ||
bcc53e2a JH |
10784 | Thu Apr 3 22:27:40 CEST 2003 Jan Hubicka <jh@suse.cz> |
10785 | ||
10786 | * cfgrtl.c (update_bb_for_insn): Do not set block for barriers. | |
10787 | ||
773eae39 EB |
10788 | 2003-04-03 Eric Botcazou <ebotcazou@libertysurf.fr> |
10789 | ||
10790 | PR optimization/10157 | |
10791 | * gcse.c (can_copy_p): Rename it to can_copy. | |
10792 | (can_copy_init_p): Remove. | |
10793 | (compute_can_copy): Use can_copy instead of can_copy_p. | |
10794 | (can_copy_p): New exported function. Call compute_can_copy. | |
10795 | (hash_scan_set): Use it. | |
10796 | (gcse_main): Don't call compute_can_copy. | |
10797 | (bypass_jumps): Don't call compute_can_copy. | |
10798 | * rtl.h (can_copy_p): Declare. | |
10799 | * loop.c (scan_loop): Don't move the source and add a reg-to-reg | |
10800 | copy if the mode doesn't support copy operations. | |
10801 | ||
78d55cc8 JM |
10802 | 2003-04-03 Jason Merrill <jason@redhat.com> |
10803 | ||
613fa146 JM |
10804 | * Makefile.in (unstrap): Also remove stage_last. |
10805 | ||
7bf6b23d JM |
10806 | * dwarf2out.c (lookup_filename): Don't check for "<internal>". |
10807 | (dwarf2out_source_line): Don't do anything if line==0. | |
10808 | ||
78d55cc8 | 10809 | * stor-layout.c (do_type_align): New fn, split out from... |
06790e5f | 10810 | (layout_decl): ...here. Do all alignment calculations for |
78d55cc8 JM |
10811 | FIELD_DECLs here. |
10812 | (update_alignment_for_field): Not here. | |
10813 | (start_record_layout, debug_rli): Remove unpadded_align. | |
10814 | * tree.h (struct record_layout_info_s): Remove unpadded_align. | |
10815 | * c-decl.c (finish_enum): Don't set DECL_SIZE, DECL_ALIGN | |
10816 | or DECL_MODE on the CONST_DECLs. | |
10817 | (finish_struct): Don't mess with DECL_ALIGN. | |
10818 | ||
d10f5ecf JH |
10819 | Thu Apr 3 18:57:19 CEST 2003 Jan Hubicka <jh@suse.cz> |
10820 | ||
10821 | * i386.c (print_operand): Do not bypass output_addr_const at flag_pic. | |
10822 | ||
10823 | Thu Apr 3 17:08:09 2003 J"orn Rennecke <joern.rennecke@superh.com> | |
8d3b0953 | 10824 | |
70aadfcc R |
10825 | * sh.c (sh_function_ok_for_sibcall): Return 0 if the current |
10826 | function is an interrupt handler. | |
10827 | ||
10828 | * sh.c (sh_expand_epilogue): Avoid clash of temp register for | |
10829 | restoring target registers with EH_RETURN_STACKADJ_RTX; use | |
10830 | multiple registers in round-robin fashion. | |
8d3b0953 | 10831 | |
de94b46c KG |
10832 | 2003-04-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
10833 | ||
10834 | * gengtype-lex.l (IWORD): Add CHAR_BITFIELD. | |
10835 | * system.h (CHAR_BITFIELD): New. | |
10836 | ||
203dcb74 KH |
10837 | 2003-04-03 Kazu Hirata <kazu@cs.umass.edu> |
10838 | ||
10839 | * config/h8300/h8300.md (a peephole2): Generalize to accept GT | |
10840 | and LE. | |
10841 | (another peephole2): Likewise. | |
10842 | ||
dc00aebd NC |
10843 | 2003-04-03 Nick Clifton <nickc@redhat.com> |
10844 | ||
10845 | * config/sparc/sol2-bi.h (ASM_CPU64_DEFAULT_SPEC): Add -TSO. | |
d78e771d | 10846 | (DEF_ARCH64_SPEC): Likewise. |
dc00aebd | 10847 | |
a94f136b JH |
10848 | Thu Apr 3 09:53:40 CEST 2003 Jan Hubicka <jh@suse.cz> |
10849 | ||
10850 | * i386.c (constant_address_p): Use legitimate_constant_p. | |
10851 | (legitimate_address_p): Do not use CONSTANT_ADDRESS_P. | |
10852 | ||
9a2dd2dd KH |
10853 | 2003-04-02 Kazu Hirata <kazu@cs.umass.edu> |
10854 | ||
10855 | * config/h8300/h8300-protos.h: Add a prototype for | |
10856 | gtle_operator. | |
10857 | * config/h8300/h8300.c (gtle_operator): New. | |
10858 | * config/h8300/h8300.h (PREDICATE_CODES): Add an entry for | |
10859 | gtle_operator. | |
10860 | * config/h8300/h8300.md (a peephole2): Generalize to accept GT | |
10861 | and LE. | |
10862 | ||
378683cf RH |
10863 | 2003-04-02 Richard Henderson <rth@redhat.com> |
10864 | ||
10865 | * libgcc-std.ver (_Unwind_GetCFA): New. | |
10866 | * unwind-dw2.c (_Unwind_GetCFA): New. | |
10867 | * unwind-libunwind.c (_Unwind_GetCFA): New. | |
10868 | * unwind-sjlj.c (_Unwind_GetCFA): New. | |
10869 | * unwind.h: Declare it. | |
10870 | ||
a67a3220 JH |
10871 | Thu Apr 3 00:31:21 CEST 2003 Jan Hubicka <jh@suse.cz> |
10872 | ||
10873 | PR inline-asm/8088 | |
10874 | * i386.c (ix86_hard_regno_mode_ok): Return 0 for MMX/SSE registers | |
10875 | when MMX/SSE is not available. | |
10876 | ||
11292480 MS |
10877 | 2003-04-02 Mike Stump <mrs@apple.com> |
10878 | ||
10879 | * doc/install.texi (Specific): Update pointers to apple.com. | |
10880 | ||
a94f136b | 10881 | Thu Apr 3 00:18:49 CEST 2003 Jan Hubicka <jh@suse.cz> |
a5b378d6 JH |
10882 | |
10883 | * i386.c (override_options): Disable red zone by default on i386. | |
06790e5f | 10884 | (compute_frame_layout, ix86_force_to_memory, ix86_free_from_memory): |
a5b378d6 JH |
10885 | Do not test TARGET_64BIT together with TARGET_RED_ZONE |
10886 | ||
8fc9a7ba KH |
10887 | 2003-04-02 Kazu Hirata <kazu@cs.umass.edu> |
10888 | ||
10889 | * config/h8300/h8300.md (a peephole2): Tighten the condition. | |
10890 | ||
496e1c4b RH |
10891 | 2003-04-02 Richard Henderson <rth@redhat.com> |
10892 | ||
10893 | * longlong.h (umul_ppmm) [alpha]: Use __builtin_alpha_umulh. | |
10894 | ||
d98cd543 KH |
10895 | 2003-04-02 Kazu Hirata <kazu@cs.umass.edu> |
10896 | ||
10897 | * config/h8300/h8300.md (a peephole2): New. | |
10898 | ||
b30abdf2 RH |
10899 | 2003-04-02 Richard Henderson <rth@redhat.com> |
10900 | ||
10901 | * except.c (sjlj_find_directly_reachable_regions): Recognize when | |
10902 | must-not-throw region has been deleted. | |
10903 | ||
ad5eeaa9 RH |
10904 | 2003-04-02 Richard Henderson <rth@redhat.com> |
10905 | ||
d78e771d ZW |
10906 | * dwarf2out.c (output_call_frame_info): Ignore fde->nothrow as an |
10907 | optimization when flag_exceptions not enabled. | |
ad5eeaa9 | 10908 | |
be12c2b0 VM |
10909 | 2003-04-02 Vladimir Makarov <vmakarov@redhat.com> |
10910 | ||
10911 | * config/rs6000/rs6000.c | |
10912 | (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD): Redefine the | |
10913 | macros. | |
10914 | (rs6000_issue_rate): Add case for 8540. | |
10915 | (rs6000_use_sched_lookahead): New function. | |
10916 | ||
10917 | * config/rs6000/8540.md: Rename SIU units into SU ones and MIU | |
10918 | units into MU ones. | |
10919 | (ppc8540_branch, ppc8540_cr_logical): Add one cycle in the | |
10920 | reservation before retirement. | |
10921 | (ppc8540_multiply, ppc8540_load, ppc8540_store, | |
10922 | ppc8540_simple_float, ppc8540_vector_load, ppc8540_vector_store): | |
10923 | Remove additional cycle in the reservation before retirement. | |
10924 | (ppc8540_mfcr, ppc8540_mtcrf, ppc8540_mtjmpr): Add missed | |
10925 | reservation of ppc8540_issue. | |
06790e5f | 10926 | |
f875310e AS |
10927 | 2003-04-02 Andreas Schwab <schwab@suse.de> |
10928 | ||
10929 | * real.c (decode_ieee_single): Fix decoding of SNaN bit. | |
10930 | ||
125ca8fd RH |
10931 | 2003-04-01 Richard Henderson <rth@redhat.com> |
10932 | ||
d78e771d ZW |
10933 | * except.c (convert_from_eh_region_ranges_1): Smash REG_EH_REGION |
10934 | notes for nothrow calls if flag_forced_unwind_exceptions. | |
10935 | (build_post_landing_pads): Mind flag_forced_unwind_exceptions. | |
10936 | (sjlj_find_directly_reachable_regions): Likewise. | |
10937 | (reachable_handlers): Likewise. | |
10938 | (can_throw_external): Likewise. | |
10939 | (collect_one_action_chain): Record cleanups after catch-all and | |
10940 | must-not-throw if flag_forced_unwind_exceptions. | |
10941 | * flags.h (flag_forced_unwind_exceptions): Declare. | |
10942 | * toplev.c (flag_forced_unwind_exceptions): New. | |
10943 | (lang_independent_options): Add it. | |
125ca8fd RH |
10944 | * doc/invoke.text: Add it. |
10945 | ||
8f744ea9 DM |
10946 | 2003-04-01 David Mosberger <davidm@hpl.hp.com> |
10947 | ||
d78e771d ZW |
10948 | * config/ia64/crti.asm: Clean up trailing whitespace. |
10949 | Remove trailing hashes (#) from identifiers. | |
8f744ea9 | 10950 | |
d78e771d | 10951 | * config/ia64/crtn.asm: Ditto. |
8f744ea9 | 10952 | |
d78e771d ZW |
10953 | * config/ia64/crtend.asm: Remove trailing hashes (#) from |
10954 | identifiers. | |
10955 | (__do_global_ctors_aux): Align to 32-byte boundary. Add unwind | |
10956 | directives. Drop explicit bundling---it just makes the code | |
10957 | harder to read. Don't save/restore gp needlessly. | |
8f744ea9 | 10958 | |
d78e771d ZW |
10959 | * config/ia64/crtbegin.asm: Remove trailing hashes (#) from |
10960 | identifiers (they're only needed if the identifier would clash | |
10961 | with a register name otherwise). | |
10962 | (__do_global_dtors_aux): Align to 32-byte boundary. Add unwind | |
10963 | directives. Drop explicit bundling---it just makes the code | |
10964 | harder to read. | |
10965 | (__do_jv_register_classes): Ditto. | |
10966 | (.fini_array): Remove "progbits" (newer | |
10967 | assemblers don't like wrong section-types). | |
10968 | (.init_array): Ditto. | |
8f744ea9 | 10969 | |
e129b3f9 RS |
10970 | 2003-04-01 Roger Sayle <roger@eyesopen.com> |
10971 | ||
10972 | PR fortran/9974 | |
15d4fd98 | 10973 | * gcse.c (reg_killed_on_edge): New function to test whether the |
e129b3f9 RS |
10974 | given reg is overwritten by any instruction queued on an edge. |
10975 | (bypass_block): Ignore substitutions killed on incoming edges. | |
10976 | Don't bypass outgoing edges that have queued instructions. | |
10977 | ||
fe0002ee AO |
10978 | 2003-04-01 Alexandre Oliva <aoliva@redhat.com> |
10979 | ||
10980 | * real.h (EXP_BITS): Make room for... | |
10981 | (struct real_value): ... added canonical bit. | |
10982 | (struct real_format): Added pnan. | |
10983 | (mips_single_format, mips_double_format, mips_extended_format, | |
10984 | mips_quad_format): New. | |
10985 | * real.c: Copy p to pnan in all formats. | |
10986 | (get_canonical_qnan, get_canonical_snan): Set canonical bit. | |
10987 | (real_nan): Use pnan to compute significand's shift. | |
10988 | (real_identical): Disregard significand in canonical | |
10989 | NaNs. | |
10990 | (real_hash): Likewise. Take signalling into account. | |
10991 | (encode_ieee_single, encode_ieee_double, encode_ieee_quad): | |
10992 | Disregard significand bits in canonical NaNs. Set all bits of | |
10993 | canonical NaN if !qnan_msb_set. | |
10994 | (encode_ibm_extended, decode_ibm_extended): Likewise. Use | |
10995 | qnan_msb_set to tell the base double format. | |
10996 | (ibm_extended_format): Use 53 as pnan. | |
10997 | (mips_single_format, mips_double_format, mips_extended_format, | |
10998 | mips_quad_format): Copied from the corresponding ieee/ibm | |
10999 | formats, with qnan_msb_set false. | |
11000 | * config/mips/iris6.h (MIPS_TFMODE_FORMAT): Use mips_extended_format. | |
11001 | * config/mips/linux64.h (MIPS_TFMODE_FORMAT): Use mips_quad_format. | |
11002 | * config/mips/mips.c (override_options): Use mips_single_format | |
11003 | and mips_double_format. Default TFmode to mips_quad_format. | |
11004 | * config/mips/t-linux64 (tp-bit.c): Define QUIET_NAN_NEGATED. | |
11005 | * config/mips/t-irix6: Likewise. | |
11006 | * config/mips/t-mips (fp-bit.c, dp-bit.c): Likewise. | |
11007 | * config/fp-bit.c (pack_d, unpack_d): Obey it. | |
11008 | ||
481a8181 GK |
11009 | 2003-04-01 Geoffrey Keating <geoffk@apple.com> |
11010 | ||
11011 | * unwind-dw2-fde-darwin.c (DESTRUCTOR_MAY_BE_CALLED_LIVE): New. | |
11012 | (live_image_destructor): Reset image to initial state. | |
11013 | (examine_objects): Set DESTRUCTOR_MAY_BE_CALLED_LIVE. | |
11014 | ||
375ffbe6 EB |
11015 | 2003-04-01 Eric Botcazou <ebotcazou@libertysurf.fr> |
11016 | ||
11017 | * config/sparc/sparc.c (input_operand): Accept bare | |
11018 | CONSTANT_P_RTX operands. | |
11019 | ||
47a3dae1 ZD |
11020 | 2003-04-01 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
11021 | ||
11022 | * gcse.c (struct ls_expr): Added pattern_regs field. | |
11023 | (ldst_entry): Initialize it. | |
11024 | (extract_mentioned_regs, extract_mentioned_regs_helper): New. | |
11025 | (store_ops_ok): Use regs precomputed by them. | |
11026 | (find_loads, store_killed_in_insn, load_kills_store): Change return | |
11027 | type to bool. | |
11028 | (store_killed_before, store_killed_after): Take position of register | |
11029 | set in account. | |
11030 | (reg_set_info): Store position of the setter. | |
11031 | (gcse_main): Enable store motion. | |
11032 | (mems_conflict_for_gcse_p): Enable load motion of non-symbol mems. | |
11033 | (pre_insert_copy_insn, update_ld_motion_stores, insert_store): Prevent rtl | |
11034 | sharing. | |
11035 | (simple_mem): Enable store motion of non-symbol mems. | |
11036 | (regvec): Type changed. | |
11037 | (LAST_AVAIL_CHECK_FAILURE): New. | |
11038 | (compute_store_table_current_insn): New. | |
11039 | (build_store_vectors): Computation of availability and anticipatability | |
11040 | moved ... | |
11041 | (compute_store_table, find_moveable_store): ... here. | |
11042 | (delete_store): Remove senseless comment. | |
11043 | (store_motion): Reorganize. | |
11044 | ||
77d4f3a4 KB |
11045 | 2003-04-01 Kevin Buettner <kevinb@redhat.com> |
11046 | ||
11047 | * config/mips/mips.c (override_options): Provide mappings for | |
11048 | HI_REGNUM and LO_REGNUM. | |
11049 | * config/mips/mips.h (MD_DBX_FIRST): Define. | |
11050 | ||
7d4444ea FS |
11051 | 2003-04-01 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
11052 | ||
11053 | * combine.c (merge_outer_ops): Fix typo. | |
11054 | ||
11055 | * varasm.c (make_decl_one_only): Revert 2003-03-09 patch. | |
11056 | ||
9259f3b0 DE |
11057 | 2003-04-01 David Edelsohn <edelsohn@gnu.org> |
11058 | ||
11059 | * config/rs6000/{40x.md,603.md,6xx.md,7450.md,7xx.md,mpc.md, | |
11060 | power4.md,rios1.md,rios2.md,rs64.md}: Change mult_compare to | |
11061 | imul_compare. Add lmul_compare. | |
11062 | * config/rs6000/power4.md: Bump some latencies. Model extra cycle | |
11063 | in second pair of dispatch slots. Model stores more accurately. | |
11064 | Tweak multiply model. Add bypasses for CR instructions dependent | |
11065 | on complicated compares. | |
11066 | * config/rs6000/rs6000.md (mulsi3): Name imul_compare patterns. | |
11067 | (muldi3): Add lmul_compare patterns. | |
11068 | * config/rs6000/rs6000.c (rs6000_variable_issue): Move FPLOAD_UX | |
11069 | and FPSTORE_UX to split instructions and add COMPARE, | |
11070 | DELAYED_COMPARE, IMUL_COMPARE, LMUL_COMPARE, IDIV, LDIV. | |
11071 | (rs6000_adjust_cost): Add IMUL_COMPARE and LMUL_COMPARE. | |
11072 | (rs6000_rtx_costs): Separate POWER4 multiply case. | |
11073 | ||
7fe317e4 UW |
11074 | 2003-04-01 Ulrich Weigand <uweigand@de.ibm.com> |
11075 | ||
11076 | * config/s390/s390.c (s390_fixup_clobbered_return_reg): | |
11077 | Do nothing if __builtin_return_address was not used. | |
11078 | ||
e1fea6ee JH |
11079 | Tue Apr 1 18:18:23 CEST 2003 Jan Hubicka <jh@suse.cz> |
11080 | ||
11081 | * i386.md (test patterns): Allow memory operand in operand1. | |
11082 | ||
d744e06e AH |
11083 | 2003-02-31 Aldy Hernandez <aldyh@redhat.com> |
11084 | ||
d78e771d ZW |
11085 | * testsuite/gcc.c-torture/execute/simd-3.c: New. |
11086 | ||
11087 | * expr.c (expand_expr): Handle VECTOR_CST. | |
11088 | (const_vector_from_tree): New. | |
11089 | ||
11090 | * varasm.c (output_constant): Handle VECTOR_CST. | |
11091 | ||
11092 | * c-typeck.c (digest_init): Build a vector constant from a | |
11093 | VECTOR_TYPE. | |
11094 | ||
11095 | * config/rs6000/rs6000.c: Remove prototype for | |
11096 | easy_vector_constant. | |
11097 | (easy_vector_constant): Add mode parameter. Rewrite to handle | |
11098 | more easy constants. | |
11099 | (rs6000_emit_move): Pass mode to easy_vector_constant. | |
11100 | Call emit_easy_vector_insn for SPE V2SI vector constant moves. | |
11101 | (emit_easy_vector_insn): New. | |
11102 | (easy_vector_same): New. | |
11103 | (EASY_VECTOR_15): New macro. | |
11104 | (EASY_VECTOR_15_ADD_SELF): New macro. | |
11105 | (bdesc_2arg): Rename to xorv2si3. | |
11106 | (easy_vector_constant_add_self): New. | |
11107 | (input_operand): Allow vector constants. | |
11108 | ||
11109 | * config/rs6000/rs6000.h (PREDICATE_CODES): Add | |
11110 | easy_vector_constant, easy_vector_constant_add_self. | |
11111 | (EXTRA_CONSTRAINT): Add 'W'. | |
11112 | ||
11113 | * config/rs6000/rs6000-protos.h: Add prototype for | |
11114 | easy_vector_constant, emit_easy_vector_insn. | |
11115 | ||
11116 | * config/rs6000/altivec.md (xorv8hi3): New. | |
11117 | (xorv16qi3): New. | |
11118 | Remove all _const0 patterns. | |
11119 | (movv4si_internal): Rewrite to use code. Add vector constant to | |
11120 | vector alternative. Add splitter. | |
11121 | (movv8hi_internal): Same. | |
11122 | (movv16qi_internal): Same. | |
11123 | (movv4sf_internal): Same. | |
11124 | Change the unspecs for vspltis* to use constants. | |
11125 | ||
11126 | * config/rs6000/spe.md ("xorv4hi3"): New. | |
11127 | ("spe_evxor"): Rename to xorv2si3. | |
11128 | ("xorv1di3"): New. | |
11129 | Remove all _const0 patterns. | |
11130 | (movv2si_internal): Rewrite to use code. Add vector constant to | |
11131 | alternatives. Add splitter. | |
11132 | (movv4hi_internal): Add vector constant to alternatives. | |
11133 | (movv1di_internal): Same. | |
11134 | (movv2sf_internal): Same. | |
d744e06e | 11135 | |
46e33d43 MM |
11136 | 2003-03-31 Mark Mitchell <mark@codesourcery.com> |
11137 | ||
11138 | PR c/9936 | |
11139 | * c-decl.c (grokdeclarator): Clear SAVE_EXPR_CONTEXT for | |
11140 | variably-sized arrays in parameters. | |
11141 | (set_save_expr_context): New function. | |
11142 | (c_expand_body): Use it, via walk_tree. | |
11143 | ||
73a39fc4 EC |
11144 | 2003-03-31 Eric Christopher <echristo@redhat.com> |
11145 | ||
11146 | * combine.c (can_combine_p): Allow ZERO_EXTRACT and STRICT_LOW_PART. | |
11147 | (combinable_i3pat): Remove call to expand_field_assignment and | |
11148 | #if 0'd code. | |
11149 | ||
6b665219 MM |
11150 | 2003-03-31 Mark Mitchell <mark@codesourcery.com> |
11151 | ||
11152 | PR c++/10278 | |
11153 | * c-common.c (finish_label_address_expr): Handle the | |
11154 | error_mark_node. | |
11155 | ||
6c06208f RH |
11156 | 2003-03-31 Richard Henderson <rth@redhat.com> |
11157 | ||
11158 | * real.c (real_identical): Reorg so as to not compare | |
11159 | signalling for normals. | |
11160 | ||
11789584 SC |
11161 | 2003-03-31 Stephane Carrez <stcarrez@nerim.fr> |
11162 | ||
11163 | * config/m68hc11/m68hc11.c (hard_reg_operand): Check the mode. | |
11164 | ||
c25292ce SC |
11165 | 2003-03-31 Stephane Carrez <stcarrez@nerim.fr> |
11166 | ||
11167 | * config/m68hc11/m68hc11.c (m68hc11_gen_movhi): Don't rely on REG_WAS_0 | |
11168 | notes as they are boggus. | |
11169 | (m68hc11_gen_movqi): Likewise. | |
11170 | ||
07faf2d6 SC |
11171 | 2003-03-31 Stephane Carrez <stcarrez@nerim.fr> |
11172 | ||
11173 | * config/m68hc11/m68hc11.c (expand_prologue): For an interrupt handler | |
11174 | save the soft registers after the frame pointer so that gdb can unwind | |
11175 | the frame more easily. | |
11176 | (expand_epilogue): Likewise in opposite order; allow to use X register | |
11177 | as scratch if the return value is by reference. | |
11178 | ||
adff28c3 JM |
11179 | 2003-03-31 Jason Merrill <jason@redhat.com> |
11180 | ||
11181 | PR java/10145 | |
11182 | * stor-layout.c (update_alignment_for_field): Respect | |
11183 | DECL_USER_ALIGN for zero-length bitfields, too. | |
11184 | * c-decl.c (finish_struct): Don't set DECL_ALIGN for normal | |
11185 | fields. | |
11186 | ||
c419b113 MA |
11187 | 2003-03-31 Matt Austern <austern@apple.com> |
11188 | ||
11189 | * cpppch.c (struct cpp_savedstate): Add defs and n_defs members. | |
11190 | (count_defs): Keep track of number of defs as well as total size. | |
11191 | (write_defs): Put every definition in cpp_savedstate's defs array. | |
11192 | (comp_hashnode): Define. Comparison function for qsort. | |
11193 | (cpp_write_pch_deps): Sort definitions before writing them. | |
11194 | (struct ht_node_list): Define. Like cpp_savedstate but simpler. | |
11195 | (collect_ht_nodes): Define. | |
11196 | (cpp_valid_state): When verifying that undefined identifiers in | |
11197 | the pch file are still undefined, read a sorted list of undefined | |
11198 | identifiers, collect all defined identifiers into a sorted list, | |
11199 | and walk through both lists to make sure there's no match. | |
73a39fc4 | 11200 | |
ef3a7d56 KH |
11201 | 2003-03-31 Kazu Hirata <kazu@cs.umass.edu> |
11202 | ||
11203 | * config/h8300/h8300.md (a peephole2): New. | |
11204 | ||
5ccd517a MM |
11205 | 2003-03-31 Michael Matz <matz@suse.de> |
11206 | ||
11207 | * config/i386/i386.h (TARGET_FLT_EVAL_METHOD): Change 1 into 0. | |
11208 | ||
11209 | 2003-03-31 Segher Boessenkool <segher@koffie.nl> | |
c8ae788f SB |
11210 | |
11211 | PR target/10177 | |
11212 | * config/rs6000/rs6000.h (HARD_REGNO_RENAME_OK): New. | |
11213 | * config/rs6000/rs6000.c (compute_vrsave_mask): Don't mark | |
11214 | all call-clobbered registers as used. | |
11215 | ||
7f1fc38e MM |
11216 | 2003-03-31 Michael Matz <matz@suse.de> |
11217 | ||
11218 | * cppexp.c (cpp_classify_number): Accept '.' after "0x". | |
11219 | * testsuite/gcc.dg/cpp/c99-hexfloat-3.c: New file. | |
11220 | ||
27283c73 NS |
11221 | 2003-03-31 Nathan Sidwell <nathan@codesourcery.com> |
11222 | ||
11223 | * gcov.c: Add -a & -u options. | |
11224 | (struct arc_info): Add local_span, is_call_non_return, | |
11225 | is_nonlocal_return, is_unconditional flags, remove is_call flag. | |
11226 | (struct block_info): Add flags, is_call_site, is_nonlocal_return | |
11227 | members. Make encodings a union with span member. | |
11228 | (struct function_info): Add blocks_executed, line, src, line_next | |
11229 | members. | |
11230 | (struct coverage_info): Make branches a union with blocks member. | |
11231 | (struct source_info): Add functions member. | |
11232 | (object_summary, program_count): New global variables. | |
11233 | (flag_all_blocks, flag_unconditional): New flags. | |
11234 | (find_source, output_branch_count): New functions. | |
11235 | (print_usage): Adjust. | |
11236 | (options): Adjust. | |
11237 | (process_args): Adjust. | |
11238 | (read_graph_file) <GCOV_TAG_FUNCTION>: Adjust. | |
11239 | <GCOV_TAG_BLOCKS>: Read flags. | |
11240 | <GCOV_TAG_LINES>: Adjust. | |
11241 | (read_count_file): Process SUMMARY tags. | |
11242 | (solve_flow_graph): Set is_unconditional and clear is_call_site | |
11243 | appropriately. | |
11244 | (add_branch_counts): Adjust. Don't count unconditional branches. | |
11245 | (add_line_counts): Deal with all-blocks mode, accumulate block | |
11246 | coverage. | |
11247 | (accumulate_line_counts): Adjust, generate local spanning tree for | |
11248 | all-blocks mode. | |
11249 | (output_lines): Adjust. | |
11250 | * profile.c (branch_prob): Alter GCOV_FUNCTION_TAG record. | |
11251 | * doc/gcov.texi: Document. | |
11252 | ||
212d9313 KH |
11253 | 2003-03-31 Kazu Hirata <kazu@cs.umass.edu> |
11254 | ||
63855aa6 | 11255 | * config/h8300/h8300.md: Organize peephole2's that transform |
212d9313 KH |
11256 | (compare (reg:HI) (const_int)). |
11257 | ||
03f2ea93 RS |
11258 | 2003-03-31 Roger Sayle <roger@eyesopen.com> |
11259 | ||
11260 | * emit-rtl.c (dconstm2, dconsthalf): New real constants. | |
11261 | (init_emit_once): Initialize dconstm2 and dconsthalf here. | |
11262 | * real.h (dconstm2, dconsthalf): Add prototypes here. | |
11263 | * real.c (real_sqrt): Use dconsthalf rather than local copy. | |
11264 | * builtins.c (fold_builtin): When optimizing sqrt(exp(x)) as | |
11265 | exp(x/2.0) remember to fold the division if possible. | |
11266 | Fold sin(0.0) as 0.0, cos(0.0) as 1.0, pow(x,1.0) as x, | |
11267 | pow(x,-1.0) as 1.0/x, pow(x,2.0) as x*x, pow(x,-2.0) as | |
11268 | 1.0/(x*x) and pow(x,0.5) as sqrt(x). | |
11269 | ||
155de338 KH |
11270 | 2003-03-31 Kazu Hirata <kazu@cs.umass.edu> |
11271 | ||
11272 | * config/h8300/h8300.md (a new peephole2): New. | |
11273 | ||
98d3d336 RS |
11274 | 2003-03-31 Richard Sandiford <rsandifo@redhat.com> |
11275 | ||
11276 | * gcse.c (simple_mem): Return false for floating-point accesses | |
11277 | if flag_float_store is true. | |
11278 | ||
6b2d1c9e RS |
11279 | 2003-03-30 Roger Sayle <roger@eyesopen.com> |
11280 | ||
11281 | * gcse.c (gcse_constant_p): New function to identify constants | |
11282 | suitable for constant propagation, including COMPARE with two | |
11283 | integer constant arguments. | |
11284 | (hash_scan_set): Use gcse_constant_p. | |
11285 | (find_avail_set): Likewise. | |
11286 | (cprop_insn): Likewise. | |
11287 | (do_local_cprop): Likewise. | |
11288 | (find_implicit_sets): Likewise. | |
11289 | (find_bypass_set): Likewise. | |
11290 | ||
af829441 MK |
11291 | 2003-03-30 Matt Kraai <kraai@alumni.cmu.edu> |
11292 | ||
11293 | * except.h: Remove definition of varray_type. | |
11294 | ||
3d1f4922 RH |
11295 | 2003-03-30 Richard Henderson <rth@redhat.com> |
11296 | ||
11297 | PR opt/10011, opt/10252: | |
d78e771d ZW |
11298 | * toplev.c (rest_of_compilation): Run purge_builtin_constant_p |
11299 | before post-gcse cse pass. | |
3d1f4922 | 11300 | |
9311f3f6 RS |
11301 | 2003-03-30 Roger Sayle <roger@eyesopen.com> |
11302 | ||
11303 | * dojump.c (do_jump): Copy SUBREGs into a pseudo for comparison. | |
11304 | ||
ececa172 DD |
11305 | 2003-03-30 DJ Delorie <dj@redhat.com> |
11306 | ||
11307 | * profile.c (instrument_edges): Make sure any newly created | |
11308 | jump insns have correct jump label info. | |
11309 | ||
e1233a7d RH |
11310 | 2003-03-30 Richard Henderson <rth@redhat.com> |
11311 | ||
11312 | * cfgbuild.c (make_edges): Use tablejump_p. | |
11313 | * cfgcleanup.c (label_is_jump_target_p): Likewise. | |
11314 | * cfglayout.c (cfg_layout_can_duplicate_bb_p): Likewise. | |
11315 | * cfgrtl.c (flow_delete_block_noexpunge): Likewise. | |
11316 | (try_redirect_by_replacing_jump): Likewise. | |
11317 | (redirect_edge_and_branch): Likewise. | |
11318 | * cse.c (fold_rtx): Likewise. | |
11319 | * jump.c (delete_related_insns): Likewise. | |
11320 | * rtlanal.c (get_jump_table_offset): Likewise. | |
11321 | * ssa-ccp.c (ssa_ccp_df_delete_unreachable_insns): Likewise. | |
11322 | ||
78e68f88 GDR |
11323 | 2003-03-30 Gabriel Dos Reis <gdr@integrable-solutions.net> |
11324 | ||
d78e771d ZW |
11325 | * Makefile.in (STRICT_WARN): Don't warn for ISO C constructs. |
11326 | (STRICT2_WARN): Likewise. | |
73a39fc4 | 11327 | |
15dda4d3 KG |
11328 | 2003-03-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
11329 | ||
11330 | PR other/6955 | |
11331 | * collect2.c (collect_wait): Use WCOREDUMP and fix output message. | |
11332 | * system.h (WCOREDUMP, WCOREFLG): Define if necessary. | |
11333 | ||
5bf92e20 RH |
11334 | 2003-03-30 Richard Henderson <rth@redhat.com> |
11335 | ||
11336 | PR c/10083 | |
11337 | * config/alpha/alpha.md (umuldi3_highpart): Change to expander; | |
11338 | don't zero_extend const inputs. | |
11339 | ||
9a8075a1 KH |
11340 | 2003-03-30 Kazu Hirata <kazu@cs.umass.edu> |
11341 | ||
11342 | * reload1.c (reload_cse_move2add): Fix a comment typo. | |
11343 | ||
f3926c48 KH |
11344 | 2003-03-30 Kazu Hirata <kazu@cs.umass.edu> |
11345 | ||
11346 | * config/h8300/h8300.md (a peephole2): Remove useless code. | |
11347 | ||
39ecf301 KH |
11348 | 2003-03-29 Kazu Hirata <kazu@cs.umass.edu> |
11349 | ||
11350 | * config/h8300/h8300.md (*iorsi3_and_ashift): New. | |
11351 | (*iorsi3_and_lshiftrt): Likewise. | |
11352 | (*iorsi3_zero_extract): Likewise. | |
11353 | ||
d4048ff6 KH |
11354 | 2003-03-29 Kazu Hirata <kazu@cs.umass.edu> |
11355 | ||
11356 | * config/h8300/h8300.md (*insv_si_8_8): New. | |
11357 | (*insv_si_8_8_lshiftrt_8): Likewise. | |
11358 | (a peephole2): Likewise. | |
11359 | ||
62d08205 GP |
11360 | 2003-03-29 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
11361 | ||
60ef8bdd | 11362 | * doc/contrib.texi: Add Eric Botcazou and Roger Sayle. |
73a39fc4 | 11363 | Uniformly use bugfix instead of bug fix. |
60ef8bdd GP |
11364 | |
11365 | 2003-03-29 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> | |
73a39fc4 | 11366 | |
62d08205 GP |
11367 | PR doc/895 |
11368 | * ONEWS: Remove those items that already appear in the EGCS | |
11369 | release notes on our web pages. | |
11370 | ||
e87a88d3 AM |
11371 | 2003-03-29 Alan Modra <amodra@bigpond.net.au> |
11372 | ||
11373 | * config/rs6000/rs6000.h (FUNCTION_VALUE_REGNO_P): Respect | |
11374 | TARGET_HARD_FLOAT. Reformat. | |
11375 | (FUNCTION_ARG_REGNO_P): Likewise, and remove unneeded casts. | |
11376 | ||
ce4a8f7d ACY |
11377 | 2003-03-28 Albert Chin-A-Young <china@thewrittenword.com> |
11378 | ||
11379 | * gcc/fixinc/inclhack.def: Update solaris_mutex_init_1 to | |
11380 | work on Solaris 2.5.1. | |
11381 | ||
12f76820 KH |
11382 | 2003-03-28 Kazu Hirata <kazu@cs.umass.edu> |
11383 | ||
11384 | * config/h8300/h8300.md (*addsi3_and_r_1): Put under plus:SI | |
11385 | section of h8300.md | |
11386 | (*addsi3_and_nor_r_1): Likewise. | |
11387 | ||
7d798969 UW |
11388 | 2003-03-29 Ulrich Weigand <uweigand@de.ibm.com> |
11389 | ||
11390 | * config/s390/s390.c (s390_emit_prologoue): Make sure backchain is | |
11391 | set up before any trapping memory access if flag_non_call_exceptions. | |
11392 | ||
00dcfe80 AM |
11393 | 2003-03-29 Alan Modra <amodra@bigpond.net.au> |
11394 | ||
11395 | * reload1.c (reload_as_needed): Allow a USE in asm reloads. | |
11396 | ||
11397 | * loop.c: (find_mem_in_note_1, find_mem_in_note): Comment. | |
11398 | ||
d869a8c4 NN |
11399 | 2003-03-28 Nathanael Nerode <neroden@gcc.gnu.org> |
11400 | ||
11401 | * configure.in: Clarify comments. | |
11402 | * configure: Regenerate. | |
11403 | ||
5c033b9f UW |
11404 | 2003-03-28 Ulrich Weigand <uweigand@de.ibm.com> |
11405 | ||
73a39fc4 | 11406 | * config/s390/s390.md ("literal_pool_31"): Output pool anchor |
5c033b9f UW |
11407 | label even if pool empty when generating PIC. |
11408 | ("literal_pool_31", "literal_pool_64"): Coding style cleanup. | |
11409 | ||
d18ad191 KH |
11410 | 2003-03-28 Kazu Hirata <kazu@cs.umass.edu>, |
11411 | Dhananjay Deshpande <dhananjayd@kpit.com> | |
11412 | ||
11413 | PR target/10205 | |
11414 | * config/h8300/h8300.c (h8300_initial_elimination_offset): | |
11415 | Correct the offset computation when TARGET_NORMAL. | |
11416 | ||
0c85dbfd EB |
11417 | 2003-03-28 Eric Botcazou <ebotcazou@libertysurf.fr> |
11418 | ||
11419 | PR target/10067 | |
11420 | * config/sparc/sparc.md (jump pattern): Correct order | |
11421 | when issuing the annuling marker. | |
11422 | ||
f7670e7b EB |
11423 | 2003-03-28 Eric Botcazou <ebotcazou@libertysurf.fr> |
11424 | ||
11425 | PR c/8281 | |
11426 | * config/sparc/sparc.md (movdi_insn_sp32_v9): Remove 'f-f' alternative. | |
11427 | (movdi reg/reg split): Match only on sparc32, and v9 when int regs. | |
11428 | ||
c9280dfe AM |
11429 | 2003-03-28 Alan Modra <amodra@bigpond.net.au> |
11430 | ||
11431 | * config/alpha/elf.h (ASM_OUTPUT_ALIGNED_BSS): Remove unnecessary | |
11432 | globalize_label. | |
11433 | * config/arm/unknown-elf.h (ASM_OUTPUT_ALIGNED_BSS): Likewise. | |
73a39fc4 | 11434 | * config/i960/i960.h (ASM_OUTPUT_ALIGNED_BSS): Likewise. |
c9280dfe AM |
11435 | * config/m32r/m32r.h (ASM_OUTPUT_ALIGNED_BSS): Likewise. |
11436 | * config/mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Likewise. | |
11437 | * config/mips/linux.h (ASM_OUTPUT_ALIGNED_BSS): Likewise. | |
11438 | * config/sparc/sparc.h (ASM_OUTPUT_ALIGNED_BSS): Likewise. | |
11439 | * config/v850/v850.c (v850_output_aligned_bss): Likewise. | |
11440 | ||
e81eb37f AM |
11441 | 2003-03-28 Alan Modra <amodra@bigpond.net.au> |
11442 | ||
11443 | * loop.c: (find_mem_in_note_1, find_mem_in_note): New functions. | |
11444 | (replace_loop_mems): Add "written" param. Remove invalid REG_EQUAL | |
11445 | notes after hoisting. | |
11446 | (load_mems): Adjust replace_loop_mems call. | |
11447 | ||
1ce324c3 | 11448 | 2003-03-28 Eric Botcazou <ebotcazou@libertysurf.fr> |
d78e771d | 11449 | Richard Henderson <rth@redhat.com> |
1ce324c3 EB |
11450 | |
11451 | PR target/10114 and PR target/10084 | |
11452 | * dwarf2out.c (mem_loc_descriptor): Handle LO_SUM. | |
11453 | ||
c6cf19a8 RH |
11454 | 2003-03-27 Richard Henderson <rth@redhat.com> |
11455 | ||
11456 | * config/alpha/alpha.md (adddi_er_high_l): Valid only after reload. | |
11457 | ||
9ddae796 RS |
11458 | 2003-03-27 Roger Sayle <roger@eyesopen.com> |
11459 | ||
11460 | * fold-const.c (fold_inf_compare): New function to simplify FP | |
11461 | comparisons against +Infinity or -Infinity. | |
11462 | (fold): Optimize floating point comparisons against Infs and NaNs. | |
11463 | ||
01e60c33 JJ |
11464 | 2003-03-27 Janis Johnson <janis187@us.ibm.com> |
11465 | ||
11466 | * libgcov.c: Provide only dummy functions if libc is not available. | |
11467 | ||
ad59ba20 RH |
11468 | 2003-03-27 Richard Henderson <rth@redhat.com> |
11469 | ||
11470 | * real.h (struct real_value): Add signalling. | |
11471 | (EXP_BITS): Decrement. | |
11472 | * real.c (get_canonical_qnan): Don't set MSB-1. | |
11473 | (get_canonical_snan): Likewise. Set signalling. | |
11474 | (real_identical): Compare signalling. | |
11475 | (round_for_format): Remove force-one-bit on code. | |
11476 | (real_nan): Likewise. Set signalling. | |
11477 | (encode_ieee_single): Add force-one-bit code; honor signalling. | |
11478 | (encode_ieee_double, encode_ieee_extended, encode_ieee_quad): Likewise. | |
11479 | (decode_ieee_single): Set signalling. | |
11480 | (decode_ieee_double, decode_ieee_extended, decode_ieee_quad): Likewise. | |
11481 | ||
940bbb74 OH |
11482 | 2003-03-27 Olivier Hainque <hainque@act-europe.fr> |
11483 | ||
11484 | PR ada/9953 | |
11485 | * ada/Makefile.in (gnatlib configuration for HPUX): Split | |
11486 | the general section for HPUX into specific sections for | |
11487 | HPUX 10 and HPUX 11. Fix the setting of TGT_LIB in the HPUX | |
11488 | 11 case. | |
11489 | ||
c7d325c8 GN |
11490 | 2003-03-27 Glen Nakamura <glen@imodulo.com> |
11491 | ||
11492 | PR opt/10087 | |
11493 | * loop.c (loop_givs_reduce): Skip bivs with duplicate locations | |
11494 | while incrementing giv. | |
11495 | (record_biv): Check for duplicate biv locations and | |
11496 | set (struct induction *) v->same if found. | |
11497 | ||
f18ab437 DM |
11498 | 2003-03-27 David Mosberger <davidm@hpl.hp.com> |
11499 | ||
d78e771d ZW |
11500 | * unwind-libunwind.c (uw_frame_state_for): Adjust for libunwind |
11501 | v0.9 API change: replace read of UNW_REG_HANDLER with | |
11502 | unw_get_proc_info(). | |
11503 | (_Unwind_GetLanguageSpecificData): Replace read of UNW_REG_LSDA | |
11504 | with unw_get_proc_info(). | |
11505 | (_Unwind_GetRegionStart): Replace UNW_REG_PROC_START with | |
11506 | unw_get_proc_info(). | |
f18ab437 | 11507 | |
eaff4b90 VM |
11508 | 2003-03-27 Vladimir Makarov <vmakarov@redhat.com> |
11509 | ||
11510 | * config/rs6000/8540.md: Use presence_set instead of absence_set. | |
11511 | ||
3684a055 RH |
11512 | 2003-03-26 Richard Henderson <rth@redhat.com> |
11513 | ||
11514 | * c-decl.c (finish_function): Always defer if DECL_DECLARED_INLINE_P. | |
11515 | ||
de132314 RS |
11516 | 2003-03-26 Roger Sayle <roger@eyesopen.com> |
11517 | ||
11518 | PR bootstrap/10051, PR bootstrap/10169. | |
11519 | * mips-tfile.c (init_file): Don't provide a static initializer. | |
11520 | (initialize_init_file): Initialize the contents of init_file. | |
11521 | (add_file): Call initialize_init_file if not already initialized. | |
11522 | ||
6f84708a UW |
11523 | 2003-03-26 Ulrich Weigand <uweigand@de.ibm.com> |
11524 | ||
11525 | * config/s390/s390.c (s390_optimize_prolog): Do not save/restore | |
11526 | registers used for global asm variables. | |
11527 | (s390_frame_info, s390_arg_frame_offset): Likewise. | |
11528 | (s390_emit_prologue, s390_emit_epilogue): Likewise. | |
11529 | ||
5e8006fa VM |
11530 | 2003-03-26 Vladimir Makarov <vmakarov@redhat.com> |
11531 | ||
d78e771d | 11532 | * config/rs6000/8540.md: New file. |
73a39fc4 | 11533 | |
5e8006fa VM |
11534 | * config/rs6000/{40x.md, 603.md, 6xx.md, 7450.md, 7xx.md, mpc.md, |
11535 | power4.md, rios1.md, rios2.md, rs64.md}: Add mult_compare to | |
11536 | reservations for imul. | |
11537 | ||
11538 | * config/rs6000/rs6000.md: Include 8540.md. Change | |
11539 | delayed_compare onto mult_compare for insns generating | |
11540 | multiplication. | |
11541 | (mult_compare, fpsimple, brinc, vecdiv, veccmpsimple, vecfdiv): | |
11542 | New type attribute values. | |
11543 | ||
11544 | * config/rs6000/spe.md (*negsf2_gp, *abssf2_gpr): Use type | |
11545 | fpsimple instead of fp. | |
11546 | (*divsf3_gpr): Use type vecfdiv instead of fp. | |
11547 | (spe_evfsabs, spe_evfsnabs, spe_evfsneg): Use type vecsimple | |
11548 | instead of vecfloat. | |
11549 | (spe_evfsdive): Use type vecfdiv instead of vecfloat. | |
11550 | (spe_brinc): Use type brinc instead of veccomplex. | |
11551 | (spe_evaddw, spe_evaddiw): Use type vecsimple instead of | |
11552 | veccomplex. | |
11553 | (spe_evdivws, spe_evdivwu): Use type vecdiv instead of veccomplex. | |
11554 | (*movv2si_internal, *movv1di_internal, *movv4hi_internal, | |
11555 | *movv2sf_internal): Define type attribute values for all | |
11556 | alternatives. | |
11557 | (cmpsfeq_gpr, cmpsfgt_gpr, cmpsflt_gpr): Use type veccmp instead | |
11558 | of fpcompare. | |
11559 | (tstsfeq_gpr, tstsfgt_gpr, tstsflt_gpr): Use type veccmpsimple | |
11560 | instead of fpcompare. | |
73a39fc4 | 11561 | |
29ae9364 DE |
11562 | 2003-03-26 David Edelsohn <edelsohn@gnu.org> |
11563 | ||
11564 | * config/rs6000/power4.md: Allow delay between dispatch and | |
11565 | function units for simple instructions. Correct store units. | |
11566 | Allow branch to occupy as many dispatch slots as necessary. | |
11567 | ||
be565ad7 JJ |
11568 | 2003-03-26 Jakub Jelinek <jakub@redhat.com> |
11569 | ||
11570 | * config/ia64/ia64.c (ia64_expand_op_and_fetch): Fix comment. | |
11571 | (ia64_expand_compare_and_swap): Use always DImode ar.ccv, | |
11572 | zero extend old to it. | |
11573 | * config/ia64/ia64.md (cmpxchg_acq_si): Remove mode from ccv | |
11574 | operand. | |
11575 | ||
27e484bc EB |
11576 | 2003-03-26 Eric Botcazou <ebotcazou@libertysurf.fr> |
11577 | ||
11578 | PR target/7784 | |
11579 | * reload.c (find_reloads_address): Handle | |
11580 | (PLUS (PLUS (REG) (REG)) (CONST_INT)) form for | |
11581 | all base registers. | |
11582 | ||
b47161ec MA |
11583 | 2003-03-25 Marcelo Abreu <mmabreu@inf.ufrgs.br> |
11584 | ||
11585 | PR other/10203 | |
11586 | * version.c: Reference the GCC web site in the URL. | |
11587 | ||
611f0729 AM |
11588 | 2003-03-26 Alan Modra <amodra@bigpond.net.au> |
11589 | ||
11590 | * c-incpath.c (add_standard_paths): Add both "translated" and | |
11591 | non-translated header paths. | |
11592 | ||
e4e7d312 LR |
11593 | 2003-03-25 Loren James Rittle <ljrittle@acm.org> |
11594 | ||
11595 | * doc/install.texi (*-*-freebsd*): Update with known status. | |
11596 | ||
2e2255ff JM |
11597 | 2003-03-21 Jason Merrill <jason@redhat.com> |
11598 | ||
11599 | PR optimization/10171 | |
11600 | * unroll.c (unroll_loop): Don't delete the jump at the end unless | |
11601 | we also delete a jump at the beginning. | |
11602 | ||
8725a499 SC |
11603 | 2003-03-25 Stephane Carrez <stcarrez@nerim.fr> |
11604 | ||
11605 | * doc/contrib.texi (Contributors): Mention self as 68HC11/68HC12 | |
11606 | contributor. | |
11607 | ||
3504dad3 JH |
11608 | Tue Mar 25 20:35:51 CET 2003 Jan Hubicka <jh@suse.cz> |
11609 | ||
11610 | * i386.c (ix86_rtx_costs): For -fpic and x86-64 local symbolic | |
11611 | constants are not expensive. | |
11612 | ||
cb9a1d9b JH |
11613 | Mon Mar 24 20:03:03 CET 2003 Jan Hubicka <jh@suse.cz> |
11614 | ||
11615 | PR opt/10056 | |
11616 | * cfglayout.c (fixup_reorder_chain): Fix dealing with the conditional | |
11617 | jump jumping to the next instruction. | |
11618 | * cfgrtl.c (force_nonfallthru_and_redirect): Likewise. | |
11619 | ||
d6d05f8d GP |
11620 | 2003-03-25 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
11621 | ||
11622 | * doc/passes.texi (Passes): Properly document that we do not | |
11623 | perform jump2 any longer; remove command-line option -dJ. | |
11624 | ||
d2fc7725 EB |
11625 | 2003-03-25 Eric Botcazou <ebotcazou@libertysurf.fr> |
11626 | ||
11627 | PR optimization/8746 | |
11628 | * config/i386/i386.md (and promoting splitters): Disable HImode to | |
11629 | SImode promoting when the sign bit matters and is not preserved, or | |
11630 | when TARGET_FAST_PREFIX is true. Disable promoting when optimizing | |
11631 | for size. | |
11632 | ||
beb14cfe KH |
11633 | 2003-03-24 Kazu Hirata <kazu@cs.umass.edu> |
11634 | ||
11635 | * config/h8300/h8300.md (a peephole2): Extend to support loads | |
11636 | in QImode and HImode. | |
11637 | ||
dbcedbc4 SC |
11638 | 2003-03-24 Stephane Carrez <stcarrez@nerim.fr> |
11639 | ||
11640 | * config/m68hc11/t-m68hc11-gas (LIB1ASMFUNCS): Add _call_far and | |
11641 | _return_far | |
11642 | (MULTILIB_OPTIONS): Don't multilib on -mlong-calls. | |
11643 | (MULTILIB_EXCEPTIONS): Likewise. | |
11644 | * config/m68hc11/m68hc11.md ("call"): Support far calls for 68HC11 | |
11645 | by calling some board support routine. | |
11646 | ("call_value"): Likewise. | |
11647 | ("*return_void"): Likewise for return. | |
11648 | ("*return_16bit"): Likewise. | |
11649 | ("*return_32bit"): Likewise. | |
11650 | * config/m68hc11/m68hc11.h (ASM_DECLARE_FUNCTION_NAME): Generate .far | |
11651 | for 68HC11 too. | |
73a39fc4 | 11652 | (DWARF2_ADDR_SIZE): Use 4 so that addresses can |
dbcedbc4 SC |
11653 | * config/m68hc11/m68hc11.c (m68hc11_override_options): Accept |
11654 | -mlong-calls for 68HC11. | |
11655 | * config/m68hc11/larith.asm (declare_near): New macro. | |
11656 | (__premain, ___negsi2, ___one_cmplsi2, ___ashlsi3): Use it. | |
11657 | (___ashrsi3, ___lshrsi3, ___lshrhi3, ___lshlhi3): Likewise. | |
11658 | (___rotrhi3, ___rotlhi3, ___ashrhi3, ___ashrqi3): Likewise. | |
11659 | (___lshlqi3, __divmodhi4, ___mulqi3, ___mulhi3): Likewise. | |
11660 | (__mulhi32): Likewise. | |
11661 | (ret): Update macro for 68HC11. | |
11662 | (__far_trampoline): Implement for 68HC11. | |
11663 | (__call_a16, __call_a32, __return_void, __return_16): New support | |
11664 | routines for 68HC11 memory bank switching calling support. | |
11665 | (__return_32): Likewise. | |
11666 | ||
696fe23c NB |
11667 | 2003-03-24 Neil Booth <neil@daikokuya.co.uk> |
11668 | ||
11669 | * toplev.c (independent_decode_option): Don't skip a 'Y' prefix. | |
11670 | ||
05253aed JJ |
11671 | 2003-03-24 Janis Johnson <janis187@us.ibm.com> |
11672 | ||
11673 | * doc/install.texi (Testing): Mention test result links from build | |
11674 | status pages. | |
11675 | ||
f8928391 MM |
11676 | 2003-03-24 Mark Mitchell <mark@codesourcery.com> |
11677 | ||
11678 | * function.c (put_var_into_stack): Change bool parameter to int. | |
11679 | (gen_mem_addressof): Likewise. | |
11680 | * rtl.h (gen_mem_addressof): Likewise. | |
11681 | * tree.h (put_var_into_stack): Likewise. | |
11682 | * config/alpha/alpha.c (alpha_gp_save_rtx): Adjust call to | |
11683 | gen_mem_addressof or put_var_into_stack. | |
11684 | * config/c4x/c4x.c (c4x_expand_builtin): Likewise. | |
11685 | * config/ia64/ia64.c (spill_tfmode_operand): Likewise. | |
11686 | ||
b980d725 KH |
11687 | 2003-03-24 Kazu Hirata <kazu@cs.umass.edu> |
11688 | ||
11689 | * config/h8300/h8300.md (a peephole2): New. | |
11690 | ||
2ff1fb45 JJ |
11691 | 2003-03-24 Jakub Jelinek <jakub@redhat.com> |
11692 | ||
11693 | * dojump.c (do_jump): Handle UNSAVE_EXPR specially. | |
11694 | ||
8b5777db GP |
11695 | 2003-03-24 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
11696 | ||
11697 | * doc/contrib.texi (Contributors): Update Janis Johnson. | |
11698 | ||
02484af9 EB |
11699 | 2003-03-23 Eric Botcazou <ebotcazou@libertysurf.fr> |
11700 | ||
11701 | PR target/10072 | |
11702 | * combine.c (simplify_if_then_else): Check that the mode | |
11703 | has MODE_INT class before applying the (OP Z (mult COND C2)) | |
11704 | transformation. | |
11705 | ||
941bc659 EB |
11706 | 2003-03-23 Eric Botcazou <ebotcazou@libertysurf.fr> |
11707 | ||
11708 | PR optimization/9414 | |
11709 | * config/sparc/sparc.md (widening peepholes): Use | |
11710 | widen_memory_access instead of change_address. | |
11711 | ||
f29a2bd1 MM |
11712 | 2003-03-23 Mark Mitchell <mark@codesourcery.com> |
11713 | ||
11714 | PR c++/7086 | |
11715 | * c-typeck.c (c_mark_addressable): Adjust calls to | |
11716 | put_var_into_stack. | |
11717 | * expr.c (expand_expr): Likewise. | |
11718 | * function.c (put_var_into_stack): Add rescan parameter. Do not | |
11719 | call fixup_var_refs when rescan is false. | |
11720 | (gen_mem_addressof): Likewise. | |
11721 | (assign_parms): Adjust calls to put_var_into_stack. | |
11722 | (setjmp_protect): Likewise. | |
11723 | (setjmp_protect_args): Likewise. | |
11724 | * rtl.h (gen_mem_addressof): Change prototype. | |
11725 | * stmt.c (expand_decl): Adjust calls to put_var_into_stack. | |
11726 | * tree.h (put_var_into_stack): Change prototype. | |
11727 | ||
fa9b4904 AB |
11728 | 2003-03-23 Arpad Beszedes <beszedes@cc.u-szeged.hu> |
11729 | ||
b099daeb | 11730 | PR middle-end/9967 |
fa9b4904 AB |
11731 | * builtins.c (expand_builtin_fputs): When optimizing for size, |
11732 | don't transform fputs into fwrite. | |
11733 | ||
068d2c9d MM |
11734 | 2003-03-23 Glen Nakamura <glen@imodulo.com> |
11735 | ||
11736 | PR c/8224 | |
11737 | * fold-const.c (extract_muldiv_1): Don't pass through type conversions | |
11738 | when signedness changes for division or modulus. | |
11739 | ||
c967e28c AM |
11740 | 2003-03-24 Alan Modra <amodra@bigpond.net.au> |
11741 | ||
11742 | * config/rs6000/sysv4.h (ASM_OUTPUT_ALIGNED_BSS): Remove unnecessary | |
11743 | globalize_label. | |
11744 | ||
766dec0e RS |
11745 | 2003-03-23 Roger Sayle <roger@eyesopen.com> |
11746 | ||
11747 | PR c/10178 | |
11748 | * stmt.c (expand_end_case_type): Check for overflow in range when | |
11749 | determining whether to use a bit-test implementation. | |
11750 | ||
ef3e9886 RH |
11751 | 2003-03-23 Richard Henderson <rth@redhat.com> |
11752 | ||
11753 | * cfgcleanup.c (try_optimize_cfg): Allow merging of tablejumps | |
11754 | before flow2. | |
11755 | * cfgrtl.c (try_redirect_by_replacing_jump): Similarly. | |
11756 | ||
bd2eae18 RH |
11757 | 2003-03-23 Richard Henderson <rth@redhat.com> |
11758 | ||
11759 | PR opt/10116 | |
11760 | * ifcvt.c (find_if_block): Disallow tablejump insns outgoing | |
11761 | from then_bb or else_bb after flow2. | |
11762 | ||
62c9aa5f ZW |
11763 | 2003-03-23 Zack Weinberg <zack@codesourcery.com> |
11764 | ||
11765 | * configure.in: Check whether it is necessary to link against | |
11766 | libm to use ldexp. | |
11767 | * configure: Regenerate. | |
11768 | * Makefile.in: Add LDEXP_LIB substitution variable. | |
11769 | ||
4d1da12a KH |
11770 | 2003-03-23 Kazu Hirata <kazu@cs.umass.edu> |
11771 | ||
11772 | * config/h8300/h8300.md: Fix comment typos. | |
11773 | ||
7772f0a9 JDA |
11774 | 2003-03-22 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
11775 | ||
11776 | * pa.c (output_cbranch): Fix typo in comment. | |
11777 | ||
3ce6bef0 RH |
11778 | 2003-03-22 Richard Henderson <rth@redhat.com> |
11779 | ||
11780 | * cfgcleanup.c (insns_match_p): Do not do EQUIV substitution | |
11781 | after reload. | |
11782 | ||
7a9cdb10 DD |
11783 | 2003-03-22 DJ Delorie <dj at redhat dot com>, |
11784 | Bruce Korb <bkorb at gnu dot org> | |
11785 | ||
11786 | * fixinc/inclhack.def (solaris_mutex_init_1): New; Fix | |
11787 | buggy Solaris 2.6 mutex/cond initializers. | |
11788 | (solaris_mutex_init): Rename to solaris_mutex_init_2. | |
11789 | * fixinc/fixincl.x: Regenerate. | |
11790 | * fixinc/tests/base/pthread.h: Update. | |
00af168c BK |
11791 | * fixinc/fixincl.c(initialize): be explicit about the default case |
11792 | and indicate verbose level when being very, very verbose. | |
11793 | * fixinc/check.tpl(VERBOSE): provide a means for passing the value in | |
7a9cdb10 | 11794 | |
8330e2c6 AJ |
11795 | 2003-03-22 Andreas Jaeger <aj@suse.de> |
11796 | ||
11797 | * config/i386/i386.c (ix86_init_machine_status): Return value. | |
11798 | ||
02a57c73 JDA |
11799 | 2003-03-22 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
11800 | ||
11801 | * pa.c (output_cbranch, output_bb, output_bvb): Output nop for | |
11802 | conditional branch to the following instruction. Use next_real_insn | |
11803 | instead of next_active_insn. | |
11804 | (output_dbra, output_movb, jump_in_call_delay): Use next_real_insn | |
11805 | instead of next_active_insn. | |
11806 | ||
97c6f7ad UW |
11807 | 2003-03-22 Ulrich Weigand <uweigand@de.ibm.com> |
11808 | ||
c967e28c AM |
11809 | * config/s390/s390.md ("movti", "*movdi_31", "*movdf_31"): Use 'o' |
11810 | instead of 'm' constraint in forced-split alternatives. | |
97c6f7ad UW |
11811 | ("*adddi3_31", "*subdi3_31"): Likewise. Also, pass 0 instead of 1 as |
11812 | VALIDATE_ADDRESS parameter to operand_subword. | |
11813 | ||
c8fcf20c KH |
11814 | 2003-03-22 Kazu Hirata <kazu@cs.umass.edu> |
11815 | ||
11816 | * config/h8300/h8300.c (notice_update_cc): Correctly handle | |
11817 | the case where the set destination is STRICT_LOW_PART. | |
11818 | ||
21c0e624 SS |
11819 | 2003-03-22 Svein E. Seldal <Svein.Seldal@solidas.com> |
11820 | ||
11821 | * config/c4x/t-c4x (INSTALL_LIBGCC): Make gcc recognize a c33 as a | |
11822 | c30 instead of a c40 processor. | |
11823 | ||
70e1b8fc AM |
11824 | 2003-03-22 Alan Modra <amodra@bigpond.net.au> |
11825 | ||
11826 | * combine.c (simplify_comparison <AND>): Use gen_int_mode. Tidy. | |
11827 | ||
d9b2742a ZW |
11828 | 2003-03-21 Zack Weinberg <zack@codesourcery.com> |
11829 | ||
11830 | * c-common.c: Include intl.h. | |
11831 | (shadow_warning): Rewrite to allow better diagnostic translations. | |
11832 | * c-common.h: Update prototype of shadow_warning. Declare sw_kind enum. | |
11833 | * c-decl.c (warn_if_shadowing): Update calls to shadow_warning; | |
11834 | use it throughout. | |
11835 | * Makefile.in (c-common.o): Add intl.h. | |
11836 | ||
cbbf876b NN |
11837 | 2003-03-21 Nathanael Nerode <neroden@gcc.gnu.org> |
11838 | ||
bea41393 NN |
11839 | * config.gcc: Remove 'float_format'. |
11840 | ||
cbbf876b NN |
11841 | * fixproto: Define NULL and size_t in generated stdlib.h and |
11842 | unistd.h. Kill unused required_stdlib_h, required_unistd_h. | |
11843 | Rearrange file generation loop for readability. Generate time.h, | |
11844 | string.h if missing. | |
11845 | * tsystem.h: Include <string.h>, <time.h> unconditionally. | |
11846 | * config.gcc: Blow away POSIX defines. | |
11847 | ||
84fcbe0a SC |
11848 | 2003-03-22 Stephane Carrez <stcarrez@nerim.fr> |
11849 | ||
11850 | * config/m68hc11/m68hc11.md ("call_value"): Fix trap check. | |
11851 | ||
639a8102 SC |
11852 | 2003-03-22 Stephane Carrez <stcarrez@nerim.fr> |
11853 | ||
11854 | * config/m68hc11/m68hc11.h (ASM_DECLARE_FUNCTION_NAME): Fix typo in | |
11855 | writing .interrupt command. | |
11856 | * config/m68hc11/m68hc11.md ("call"): Look at the symbol to see | |
11857 | if it's a far or near function. | |
11858 | ("call_value"): Likewise. | |
11859 | * config/m68hc11/m68hc11.c (m68hc11_attribute_table): Add far and | |
11860 | near attributes. | |
11861 | (m68hc11_handle_fntype_attribute): Accept attributes on methods. | |
11862 | (m68hc11_override_options): Ignore -mlong-calls for 68HC11. | |
11863 | (m68hc11_initial_elimination_offset): Set current_function_far | |
11864 | according to attributes. | |
11865 | (expand_prologue): Likewise. | |
11866 | (trap_handler_symbol): New global to keep track of trap handlers. | |
11867 | (m68hc11_encode_section_info): Mark symbol as far if needed; set | |
11868 | trap symbol. | |
11869 | (m68hc11_is_far_symbol): New function. | |
11870 | (m68hc11_is_trap_symbol): New function. | |
11871 | * config/m68hc11/m68hc11-protos.h (m68hc11_is_far_symbol): Declare. | |
11872 | (m68hc11_is_trap_symbol): Declare. | |
11873 | ||
62c9aa5f | 11874 | 2003-03-21 Jan Hubicka <jh@suse.cz> |
d7394366 JH |
11875 | |
11876 | * i386.c (ix86_compute_frame_layout): Recompute fast prologues | |
11877 | only when amount of saved regs changed. | |
11878 | (ix86_init_machine_status): Initialize use_fast_prologue_epilgoue_nregs. | |
11879 | * i386.h (machine_function): New fields use_fast_prologue_epilgoue_nregs. | |
11880 | ||
62c9aa5f | 11881 | 2003-03-21 Jan Hubicka <jh@suse.cz> |
5dc96d60 JH |
11882 | |
11883 | PR inline-asm/7916 | |
11884 | * function.c (instantiate_virtual_regs_lossage): New function. | |
11885 | (instantiate_virtual_regs_1): Use it. | |
11886 | (instantiate_virtual_regs): Do not continue in substition when insn has | |
11887 | been deleted. | |
11888 | ||
c5c15353 KH |
11889 | 2003-03-21 Kazu Hirata <kazu@cs.umass.edu> |
11890 | ||
11891 | * combine.c (make_field_assignment): Fix a warning. | |
11892 | ||
5c1c25f0 KH |
11893 | 2003-03-21 Kazu Hirata <kazu@cs.umass.edu> |
11894 | ||
11895 | * config/h8300/h8300.md (*insv_si_1_n_lshiftrt_16): New. | |
11896 | ||
6b13641d DJ |
11897 | 2003-03-21 Dale Johannesen <dalej@apple.com> |
11898 | ||
11899 | * config/rs6000/rs6000.h (REG_ALLOC_ORDER): Increase | |
11900 | priority for R2 on Darwin. | |
11901 | (HARD_REGNO_MODE_OK): Don't accept R31 for DFmode. | |
11902 | ||
6e814b8d KH |
11903 | 2003-03-21 Kazu Hirata <kazu@cs.umass.edu> |
11904 | ||
11905 | * combine.c (make_field_assignment): Remove unnecessary AND | |
11906 | when storing into zero_extract. | |
11907 | ||
2d295af5 ZW |
11908 | 2003-03-21 Zack Weinberg <zack@codesourcery.com> |
11909 | ||
11910 | * aclocal.m4 (gcc_AC_EXAMINE_OBJECT, gcc_AC_C_FLOAT_FORMAT): Delete. | |
11911 | * configure.in: Don't call gcc_AC_C_FLOAT_FORMAT. | |
11912 | * defaults.h: Remove reference to HOST_FLOAT_WORDS_BIG_ENDIAN | |
11913 | in comment. | |
11914 | ||
c0510d84 DD |
11915 | 2003-03-21 DJ Delorie <dj@redhat.com> |
11916 | ||
11917 | * optabs.c (init_integral_libfuncs): Make sure we init at least up | |
11918 | to "long long" size words. | |
11919 | ||
fe86047c UW |
11920 | 2003-03-21 Ulrich Weigand <uweigand@de.ibm.com> |
11921 | ||
11922 | * config/s390/s390.h: Do not include fixdfdi.h on s390x. | |
11923 | (TARGET_64BIT): Define as compile-time constant when IN_LIBGCC2. | |
11924 | (MIN_UNITS_PER_WORD): Do not define when IN_LIBGCC2. | |
11925 | ||
526278c9 VR |
11926 | 2003-03-21 Volker Reichelt <reichelt@igpm.rwth-aachen.de> |
11927 | ||
11928 | PR doc-bug/9813 | |
11929 | * doc/extend.texi: Move misplaced paragraph about underscores in | |
11930 | variables in macros. | |
11931 | ||
731458a4 | 11932 | 2003-03-21 Eric Botcazou <ebotcazou@libertysurf.fr> |
2d295af5 | 11933 | Richard Henderson <rth@redhat.com> |
731458a4 EB |
11934 | |
11935 | PR optimization/8366 | |
11936 | * config/sparc/sparc.h: (SYMBOLIC_CONST): New macro. | |
11937 | (GO_IF_LEGITIMATE_ADDRESS): Use it. Reject the form | |
11938 | PIC+SYMBOLIC_CONST in other modes than Pmode. | |
11939 | (GO_IF_MODE_DEPENDENT_ADDRESS): Use it. Mark | |
11940 | the form PIC+SYMBOLIC_CONST as mode dependent. | |
11941 | ||
f3cd0185 DD |
11942 | 2003-03-21 DJ Delorie <dj@redhat.com> |
11943 | ||
11944 | * config/stormy16/stormy16.c (xstormy16_expand_arith): Make | |
11945 | sure we always emit at least one insn. | |
11946 | ||
70e5e841 CF |
11947 | 2003-03-21 Christopher Faylor <cgf@redhat.com> |
11948 | ||
11949 | * config.gcc (i[34567]86-*-cygwin*): Use new common makefile | |
11950 | stub t-cygming. Use common target header cygming.h. Add extra | |
11951 | c_target_obj and cxx_target_obj file. Default cygwin to posix | |
11952 | threading. Enforce i386 as float format. | |
11953 | (i[34567]86-*-mingw*): Use new common makefile stub t-cygming. | |
11954 | Remove cygwin.h as target header. Use common target header | |
11955 | cygming.h Enforce i386 as float format. Correct typo. | |
11956 | * config/i386/cygming.h: New file, containing definitions | |
11957 | common to mingw32 and cygwin. | |
11958 | * config/i386/cygwin.h: Remove definitions common to cygwin and | |
11959 | mingw. Simplify special spec logic. Define "wrappers" around | |
11960 | certain include path defines to accommodate -mno-cygwin. | |
11961 | Remove some #if 0'ed code. | |
2d295af5 | 11962 | (STANDARD_INCLUDE_DIR) Always define when not cross-compiling. |
70e5e841 CF |
11963 | (LINK_SPEC): Don't use cyg search prefix when -mno-cygwin. |
11964 | (GCC_DRIVER_HOST_INITIALIZATION): Define as call to mingw_scan. | |
11965 | * config/i386/mingw32.h: Remove definitions common to cygwin and | |
11966 | mingw. | |
11967 | (EXTRA_OS_CPP_BUILTINS): Adjust. | |
11968 | (TARGET_VERSION): Define. | |
11969 | * config/i386/crtdll.h (EXTRA_OS_CPP_BUILTINS): Override | |
11970 | mingw32.h definitions. | |
11971 | (LIBGCC_SPEC): Add libmingwex.a as in mingw32.h. | |
11972 | * config/i386/t-cygwin (EXTRA_GCC_OBJS): Define as cygwin1.o. | |
11973 | Add compilation rules for cygwin1.o cygwin2.o. | |
11974 | * config/i386/cygwin1.c: New file. | |
11975 | * config/i386/cygwin2.c: New file. | |
11976 | * config/i386/t-cygming: New makefile stub. | |
11977 | ||
4bddea4c RH |
11978 | 2003-03-20 Richard Henderson <rth@redhat.com> |
11979 | ||
11980 | * fold-const.c (extract_muldiv_1): Revert changing order of | |
11981 | operands in case MULT_EXPR of 2003-02-16 patch. | |
11982 | ||
b3411d7e | 11983 | 2003-03-20 Daniel Berlin <dberlin@dberlin.org> |
06790e5f | 11984 | Merge changes from new-regalloc-branch |
b3411d7e DB |
11985 | |
11986 | From Michael Matz <matz@suse.de> | |
11987 | * df.c (df_ref_record_1): Move init of loc to safe point. | |
11988 | Only recurse on interesting things in parallels. | |
11989 | Handle CLASS_CANNOT_CHANGE_MODE smarter. | |
11990 | (df_uses_record): Ditto. | |
2d295af5 | 11991 | |
b3411d7e DB |
11992 | * df.h (DF_REF_MEM_OK): New enum member, used to mark ref's which |
11993 | it's already okay to use memory operands in (IE doesn't require | |
11994 | adding another insn or anything). | |
11995 | ||
05d482b9 RH |
11996 | 2003-03-20 Richard Henderson <rth@redhat.com> |
11997 | ||
11998 | PR middle-end/6348 | |
11999 | * explow.c (allocate_dynamic_stack_space): Handle STACK_SIZE_MODE | |
12000 | different from word_mode. | |
12001 | ||
86a36a0e KH |
12002 | 2003-03-20 Kazu Hirata <kazu@cs.umass.edu> |
12003 | ||
12004 | * config/h8300/h8300.md (*insv_si_1_n_lshiftrt): Restrict the | |
12005 | source operand to those that can be extracted with bld. | |
12006 | ||
228692e2 RE |
12007 | 2003-03-20 Richard Earnshaw <rearnsha@arm.com> |
12008 | ||
12009 | PR 10066 | |
12010 | * arm.md (UNSPEC_PIC_BASE): New constant. | |
12011 | (pic_add_dot_plus_four): Wrap with unspec. | |
12012 | (pic_add_dot_plus_eight): Likewise. | |
12013 | ||
d0940a55 KH |
12014 | 2003-03-20 Kazu Hirata <kazu@cs.umass.edu> |
12015 | ||
12016 | * config/h8300/h8300.md (*insv_si_1_n): New. | |
12017 | (*insv_si_1_n_lshiftrt): Likewise. | |
12018 | ||
c876997f RS |
12019 | 2003-03-20 Roger Sayle <roger@eyesopen.com> |
12020 | ||
12021 | * fold-const.c (fold_mathfn_compare): New function to simplify | |
12022 | comparisons against built-in math functions. Fold comparisons | |
12023 | of sqrt against constants. | |
12024 | (fold): Call fold_mathfn_compare when appropriate. | |
12025 | ||
952a6df7 RE |
12026 | 2003-03-20 Richard Earnshaw <rearnsha@arm.com> |
12027 | ||
12028 | * ifcvt.c (find_if_case_1): If we add a new bb, update the dominance | |
12029 | information. | |
12030 | ||
8826ff0f PB |
12031 | 2003-03-20 Per Bothner <pbothner@apple.com> |
12032 | ||
12033 | Various cleanups to help compile server. | |
12034 | ||
b4e46cea PB |
12035 | * cppinit.c (cpp_create_reader): Take extra hash_table* argument, |
12036 | and pass that to _cpp_init_hashtable. | |
12037 | (cpp_read_main_file): Drop hash_table* argument; don't call | |
12038 | _cpp_init_hashtable. | |
12039 | * cpplib.h: Update declarations to match. | |
12040 | * c-opts.c (c_common_init_options): Pass ident_hash to | |
12041 | cpp_create_reader. | |
12042 | (c_common_post_options): Don't pass ident_hash to cpp_read_main_file. | |
12043 | * fix-header.c (read_scan_file): Likewise pass NULL table to | |
12044 | cpp_create_reader rather than cpp_read_main_file. | |
12045 | ||
12046 | * cppfiles.c (cpp_rename_file): Generalized and renamed | |
12047 | to cpp_change_file. | |
12048 | * cpplib.h: Update declaration to match. | |
12049 | * c-opts.c (push_command_line_line, finish_options): Change | |
12050 | cpp_rename_file calls to cpp_change_file. | |
2d295af5 | 12051 | |
8826ff0f | 12052 | * line-map.c (add_line_map): Allow leaving the outermost file. |
2d295af5 | 12053 | Allowing entering an outermost-file after the initial time. |
8826ff0f PB |
12054 | |
12055 | * toplev.c (pop_srcloc): Allow popping from initial file. | |
12056 | ||
015c3186 KH |
12057 | 2003-03-20 Kazu Hirata <kazu at cs dot umass dot edu> |
12058 | ||
12059 | * fold-const.c (fold): Fold A - (A & B) into ~B & A. | |
12060 | ||
101cb92a KH |
12061 | 2003-03-20 Kazu Hirata <kazu@cs.umass.edu> |
12062 | ||
12063 | * config/h8300/h8300.md (a peephole2): New. | |
12064 | ||
f4613a2e KH |
12065 | 2003-03-20 Kazu Hirata <kazu@cs.umass.edu> |
12066 | ||
12067 | * config/h8300/h8300.md (*addsi3_and_r_1): New. | |
12068 | (*addsi3_and_not_r_1): Likewise. | |
12069 | ||
31260fb8 LR |
12070 | 2003-03-19 Loren James Rittle <ljrittle@acm.org> |
12071 | ||
12072 | * Makefile.in (STRICT2_WARN): Add @WERROR@. | |
12073 | (GCC_WARN_CFLAGS): Remove $(WERROR). | |
12074 | (fixinc.sh-warn): New. | |
12075 | * ada/Make-lang.in (ada-warn): Add $(WERROR). | |
12076 | * cp/Make-lang.in (cp-warn): Add $(WERROR). | |
12077 | * f/Make-lang.in (f-warn): Add $(WERROR). | |
12078 | * java/Make-lang.in (java-warn): Add $(WERROR). | |
12079 | * treelang/Make-lang.in (treelang-warn): Add $(WERROR). | |
12080 | ||
2bd3ecad NN |
12081 | 2003-03-19 Nathanael Nerode <neroden@gcc.gnu.org> |
12082 | ||
12083 | * c-common.h (c_dump_tree), c-dump.c (c_dump_tree), | |
12084 | langhooks-def.h (lhd_tree_dump_dump_tree), | |
12085 | langhooks.c (lhd_tree_dump_dump_tree), langhooks.h (*dump_tree): | |
12086 | Change return type from 'int' to 'bool'. Replace 0 and 1 with | |
12087 | true and false in return statements. | |
12088 | ||
9eb0ef7a KB |
12089 | 2003-03-19 Kevin Buettner <kevinb@redhat.com> |
12090 | ||
12091 | * dwarf2out.c (DWARF_INITIAL_LENGTH_SIZE): Define. | |
12092 | (DWARF_COMPILE_UNIT_HEADER_SIZE): Take into account | |
12093 | DWARF_INITIAL_LENGTH_SIZE. | |
12094 | (output_compilation_unit_header, output_pubnames, output_aranges) | |
12095 | (output_line_info): Output 0xffffffff escape value for 64-bit | |
12096 | DWARF extension. | |
12097 | * config/mips/iris6.h (DWARF_INITIAL_LENGTH_SIZE): Define. | |
12098 | ||
8b5642e0 | 12099 | 2003-03-19 Ulrich Weigand <uweigand@de.ibm.com> |
0796c16a UW |
12100 | |
12101 | * config/s390/s390.c (s390_preferred_reload_class): Do not | |
12102 | force constants to the pool unless necessary. | |
12103 | (s390_decompose_address): Prefer to use pointer as base, | |
12104 | not index register. | |
12105 | * config/s390/s390.md ("*tsthiCCT_only"): Remove '?' from | |
12106 | Q alternative. | |
2d295af5 | 12107 | ("*movdi_64", "*movsi", "movhi", "movqi_64", "movqi", |
0796c16a UW |
12108 | "*movdf_64", "*movsf"): Add '?' to Q->Q alternatives. |
12109 | ("*extractqi", "*extracthi", "*zero_extendhisi2_31", | |
12110 | "*zero_extendqisi2_31", "*zero_extendqihi2_31", | |
12111 | "*adddi3_31", "*subdi3_31"): Do not set "type" attribute. | |
12112 | ||
62c9aa5f | 12113 | 2003-03-19 Jan Hubicka <jh@suse.cz> |
d9b40e8d JH |
12114 | |
12115 | * i386.h (machine_function): New fields use_fast_prologue_epilogue. | |
12116 | * i386.c (use_fast_prologue_epilogue): Remove. | |
12117 | (ix86_frame): New field save_regs-using_mov; | |
12118 | (ix86_compute_frame_layout): Decide on fast prologues; | |
12119 | allocate saved registers in red zone. | |
12120 | (ix86_expand_epilogue, ix86_expand_prolgoues): Obey new parameters. | |
12121 | ||
31488c64 NC |
12122 | 2003-03-19 Nick Clifton <nickc@redhat.com> |
12123 | ||
12124 | * config/mcore/mcore.h (CPP_SPEC): Remove trailing semi-colon. | |
12125 | ||
685d0e07 JDA |
12126 | 2003-03-18 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
12127 | ||
12128 | PR 10062 | |
12129 | * config/pa/pa-hpux.h (TARGET_HPUX_UNWIND_LIBRARY): Redefine. | |
12130 | * pa-protos.h (output_lbranch): New prototype. | |
12131 | * pa.c (compute_frame_size): Change size of the frame marker on the | |
12132 | 64-bit ports to 48 bytes. | |
12133 | (pa_output_function_prologue): Document why SAVE_SP is set. | |
12134 | (hppa_expand_prologue): Save previous stack pointer into frame marker | |
12135 | on targets which use the hpux unwind library. | |
12136 | (output_cbranch): Use output_lbranch. | |
12137 | (output_lbranch): New function to output long unconditional branches. | |
12138 | * pa.h (TARGET_HPUX_UNWIND_LIBRARY): Define. | |
12139 | (STACK_POINTER_OFFSET): Update offset for 48-byte frame marker on | |
12140 | 64-bit ports. | |
12141 | * pa.md (jump): Use output_lbranch. | |
12142 | (allocate_stack): New expander for dynamic stack allocation. | |
12143 | ||
6a04f4e0 AM |
12144 | 2003-03-19 Alan Modra <amodra@bigpond.net.au> |
12145 | ||
178274da AM |
12146 | * config/rs6000/rs6000.c (rs6000_stack_info): Only require a frame |
12147 | when debugging on XCOFF targets. Delete "abi" temp. | |
12148 | ||
6a04f4e0 AM |
12149 | PR target/10073 |
12150 | * combine.c (force_to_mode <NOT>): Use gen_int_mode. | |
12151 | ||
6b2300b3 JJ |
12152 | 2003-03-18 Jakub Jelinek <jakub@redhat.com> |
12153 | ||
12154 | * config/s390/s390.c (s390_output_dwarf_dtprel): New. | |
12155 | * config/s390/s390-protos.h (s390_output_dwarf_dtprel): New proto. | |
12156 | * config/s390/s390.h (ASM_OUTPUT_DWARF_DTPREL): Define. | |
12157 | ||
12158 | * config/ia64/ia64.c (ia64_output_dwarf_dtprel): New. | |
12159 | * config/ia64/ia64-protos.h (ia64_output_dwarf_dtprel): New proto. | |
12160 | * config/ia64/ia64.h (ASM_OUTPUT_DWARF_DTPREL): Define. | |
12161 | ||
5ba6918e GK |
12162 | 2003-03-18 Geoffrey Keating <geoffk@apple.com> |
12163 | ||
6788f5ca GK |
12164 | * config/rs6000/rs6000.c (rs6000_emit_prologue): Don't clone |
12165 | the result of machopic_function_base_name. | |
12166 | * config/darwin.c (machopic_function_base_name): Use a gc-allocated | |
12167 | string rather than a static array. | |
12168 | ||
5ba6918e GK |
12169 | * Makefile.in (emit-rtl.o): Add gt-emit-rtl.h to dependencies. |
12170 | ||
12171 | * gengtype.c: Include rtl.h. | |
12172 | (enum rtx_code): Don't define. | |
12173 | (rtx_format): Make declaration match rtl.h. | |
12174 | (rtx_next_new): Rename from rtx_next to avoid conflict. Change all | |
12175 | users. | |
12176 | (adjust_field_rtx_def): Describe strings in NOTE_LINE_NUMBER notes. | |
12177 | * Makefile.in (gengtype.o): Update dependencies. | |
12178 | ||
e0ec941e AS |
12179 | 2003-03-18 Andreas Schwab <schwab@suse.de> |
12180 | ||
12181 | * config/m68k/m68k.md (iordi3): Fix setting low half to -1. From | |
12182 | martin@blom.org. | |
12183 | ||
8291cc0e GK |
12184 | 2003-03-18 Geoffrey Keating <geoffk@apple.com> |
12185 | ||
f83b236e GK |
12186 | * function.c (next_block_index): Mark with GTY. |
12187 | ||
8291cc0e GK |
12188 | * config/rs6000/rs6000.md (macho_correct_pic): Correct pattern. |
12189 | ||
b39eb2f9 RH |
12190 | 2003-03-18 Richard Henderson <rth@redhat.com> |
12191 | ||
12192 | * config/ia64/ia64.md (UNSPECV_SETJMP_RECEIVER): New. | |
12193 | (builtin_setjmp_receiver): Delay call to ia64_reload_gp | |
12194 | until after reload. | |
12195 | ||
6c537d03 RH |
12196 | 2003-03-18 Richard Henderson <rth@redhat.com> |
12197 | ||
12198 | * builtins.c (expand_builtin_unop): New target_mode operand; | |
12199 | use it to convert the result to the correct mode. | |
12200 | (expand_builtin): Update all callers. | |
12201 | ||
fe03d631 UW |
12202 | 2003-03-18 Ulrich Weigand <uweigand@de.ibm.com> |
12203 | ||
12204 | * config/s390/s390.md ("movti", "movhi", "movqi"): Add "type" attribute. | |
12205 | ||
62c9aa5f | 12206 | 2003-03-18 Jan Hubicka <jh@suse.cz> |
45183e03 | 12207 | |
75fbf7d9 JH |
12208 | * i386.md: Fix previous commit that mistakely applied the patch |
12209 | twice. | |
12210 | ||
45183e03 JH |
12211 | * alias.c (rtx_equal_for_memref_p): Assume that X and Y has been |
12212 | canonicalized. | |
12213 | (memrefs_conflict_p): Likewise. | |
12214 | (addr_side_effect_eval): Canonicalize the constructed address. | |
12215 | ||
62c9aa5f | 12216 | 2003-03-18 Jan Hubicka <jh@suse.cz> |
8dfa3bb0 JH |
12217 | |
12218 | * i386.md (cvtts?2si peep2): New. | |
12219 | ||
1e788887 KH |
12220 | 2003-03-18 Kazu Hirata <kazu@cs.umass.edu> |
12221 | ||
12222 | * config/h8300/h8300.md (*iorsi3_two_qi_zext): New. | |
12223 | ||
94e001a9 AS |
12224 | 2003-03-18 Andreas Schwab <schwab@suse.de> |
12225 | ||
12226 | * dwarf2out.c (output_file_names): Cast size_t to unsigned long | |
12227 | for format. | |
12228 | ||
bdaa131b JM |
12229 | 2003-03-17 Jason Merrill <jason@redhat.com> |
12230 | ||
12231 | PR c++/10091 | |
12232 | * expr.c (expand_expr) [ADDR_EXPR]: Disallow taking the address of | |
12233 | an unaligned member of TREE_ADDRESSABLE type. | |
12234 | ||
ffcfcb5f AM |
12235 | 2003-03-18 Alan Modra <amodra@bigpond.net.au> |
12236 | ||
12237 | * config/rs6000/linux64.h (MASK_PROFILE_KERNEL): Define. | |
12238 | (TARGET_PROFILE_KERNEL): Define. | |
12239 | (SUBTARGET_SWITCHES): Handle -mprofile-kernel. | |
12240 | (PROFILE_BEFORE_PROLOGUE): Don't define. | |
12241 | (PROFILE_KERNEL): Remove hacks. | |
12242 | * config/rs6000/rs6000.c (TARGET_PROFILE_KERNEL): Define default. | |
12243 | (rs6000_stack_info): No need to save lr if just for profiling when | |
70e1b8fc AM |
12244 | TARGET_PROFILE_KERNEL. |
12245 | (output_profile_hook): Output nothing when TARGET_PROFILE_KERNEL. | |
ffcfcb5f AM |
12246 | (output_function_profiler): Localize label generation. Emit code |
12247 | for kernel profiling. | |
12248 | ||
9b98dc74 KH |
12249 | 2003-03-17 Kazu Hirata <kazu@cs.umass.edu> |
12250 | ||
12251 | * config/h8300/h8300-protos.h: Add a prototype for | |
12252 | byte_accesses_mergeable_p. | |
12253 | * config/h8300/h8300.c (byte_accesses_mergeable_p): New. | |
12254 | * config/h8300/h8300.md (*iorhi3_two_qi_mem): Likewise. | |
12255 | (a splitter): Likewise. | |
12256 | (*iorsi3_ashift_16_ashift_24): Likewise. | |
12257 | (*iorsi3_ashift_16_ashift_24_mem): Likewise. | |
12258 | ||
d41c4351 KG |
12259 | 2003-03-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
12260 | ||
12261 | * dwarf2asm.h: Delete obsolete comment. | |
12262 | (dw2_asm_output_data, dw2_asm_output_delta, dw2_asm_output_offset, | |
12263 | dw2_asm_output_pcrel, dw2_asm_output_addr, | |
12264 | dw2_asm_output_addr_rtx, dw2_asm_output_encoded_addr_rtx, | |
12265 | dw2_asm_output_nstring, dw2_asm_output_data_uleb128, | |
12266 | dw2_asm_output_data_sleb128, dw2_asm_output_delta_uleb128, | |
12267 | dw2_asm_output_delta_sleb128): Add ATTRIBUTE_NULL_PRINTF. | |
12268 | ||
6970c06a ZW |
12269 | 2003-03-17 Zack Weinberg <zack@codesourcery.com> |
12270 | ||
12271 | * c-tree.h (struct lang_identifier): Remove error_locus field. | |
12272 | (IDENTIFIER_ERROR_LOCUS): Kill. | |
12273 | (record_function_scope_shadow): New prototype. | |
12274 | * c-typeck.c (build_external_ref): Don't complain if | |
12275 | decl is error_mark_node. When not at file scope, bind the | |
12276 | decl's local value to error_mark_node to suppress further | |
12277 | warnings, instead of setting IDENTIFIER_ERROR_LOCUS. | |
12278 | ||
12279 | * c-decl.c (get_function_binding_level): New static function. | |
12280 | (record_function_scope_shadow): New exported function. | |
12281 | (c_make_fname_decl): Use get_function_binding_level. | |
12282 | ||
405a98aa SE |
12283 | 2003-03-17 Steve Ellcey <sje@cup.hp.com> |
12284 | ||
12285 | * stmt.c (tail_recursion_args): Call promote_mode to set | |
12286 | unsignedp flag correctly before calling convert_move. | |
12287 | ||
df86c7e2 ZD |
12288 | 2003-03-17 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
12289 | ||
12290 | * loop-unroll.c (decide_peel_completely, | |
12291 | decide_unroll_constant_iterations, decide_unroll_stupid, | |
12292 | decide_unroll_runtime_iterations, decide_peel_simple): Set | |
12293 | loop->has_desc. | |
12294 | ||
62c9aa5f | 12295 | 2003-03-17 Jan Hubicka <jh@suse.cz> |
dbccdc42 JH |
12296 | |
12297 | * ggc-common.c (ggc_mark_roots): Use htab_traverse_noresize. | |
12298 | ||
b36a8cc2 OH |
12299 | 2003-03-17 Olivier Hainque <hainque@act-europe.fr> |
12300 | ||
12301 | * function.c (assign_parms): For a struct value address passed as | |
12302 | first argument, delay the function's result RTL setup code until | |
12303 | after the emission of parameter conversions. | |
6970c06a | 12304 | |
94833648 DL |
12305 | 2003-03-17 Dave Love <fx@gnu.org> |
12306 | Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> | |
aeefc21d DL |
12307 | |
12308 | * config/alpha/osf.h (TARGET_OS_CPP_BUILTINS): Define __digital__, | |
12309 | __arch64__ to match Compaq cc. | |
12310 | ||
783e2989 NB |
12311 | 2003-03-17 Neil Booth <neil@daikokuya.co.uk> |
12312 | ||
12313 | * c-opts.c: Default TARGET_EBCDIC to 0 if not defined. | |
12314 | (c_common_init): Set EBCDIC in cpp options. | |
12315 | * cpplex.c (maybe_read_ucs, cpp_parse_escape): Use EBCDIC option, | |
12316 | not conditional compilation. | |
12317 | * cpplib.h (struct cpp_options): New entry EBCDIC. | |
12318 | ||
72ecfc60 NB |
12319 | 2003-03-17 Neil Booth <neil@daikokuya.co.uk> |
12320 | ||
12321 | * fix-header.c (read_scan_file): Need to malloc arguments to add_path. | |
12322 | ||
47009d11 MH |
12323 | 2003-03-17 Michael Hayes <m.hayes@elec.canterbury.ac.nz> |
12324 | ||
12325 | * function.c (thread_prologue_and_epilogue_insns): Set delete_unused | |
12326 | argument to 0 for redirect_jump. | |
47009d11 | 12327 | |
bafb714b MM |
12328 | 2003-03-16 Mark Mitchell <mark@codesourcery.com> |
12329 | ||
12330 | PR c++/8805 | |
12331 | * except.c (eh_region_u_cleanup): Add prev_try. | |
12332 | (expand_eh_region_end_cleanup): Set it. | |
12333 | (reachable_handlers): Use it to skip over cleanup blocks. | |
12334 | ||
30492adf AJ |
12335 | 2003-03-17 Andreas Jaeger <aj@suse.de> |
12336 | ||
12337 | * Makefile.in (TAGS): Remove obsolete handling of =*.[chy]. | |
12338 | ||
7b3464ee AM |
12339 | 2003-03-17 Alan Modra <amodra@bigpond.net.au> |
12340 | ||
12341 | * config/rs6000/linux64.h (TARGET_64BIT): Redefine. | |
12342 | (TARGET_RELOCATABLE, TARGET_EABI, TARGET_PROTOTYPE): Likewise. | |
12343 | (SUBTARGET_SWITCHES, SUBTARGET_OPTIONS): Likewise. | |
12344 | (SUBTARGET_OVERRIDE_OPTIONS, CPP_SYSV_SPEC): Likewise. | |
12345 | ||
4f5c0f7e RH |
12346 | 2003-03-16 Richard Henderson <rth@redhat.com> |
12347 | ||
6970c06a ZW |
12348 | * simplify-rtx (simplify_binary_operation): Don't abort for |
12349 | SS_PLUS, US_PLUS, SS_MINUS, US_MINUS. | |
4f5c0f7e | 12350 | |
3c298c88 RH |
12351 | 2003-03-16 Richard Henderson <rth@redhat.com> |
12352 | ||
6970c06a ZW |
12353 | * config/i386/i386.md (movstrictqi, movstrictqi_1): Check |
12354 | optimize_size as well. | |
3c298c88 | 12355 | |
fe91bac5 SC |
12356 | 2003-03-16 Stephane Carrez <stcarrez@nerim.fr> |
12357 | ||
12358 | * config/m68hc11/m68hc11.c (print_operand): Handle 'b' modifier | |
12359 | for D register to specify the low part of it, aka B. | |
12360 | (m68hc11_gen_movhi): Use REG_WAS_0 note and increment or decrement | |
12361 | the register if we are loading 1 or -1 to it; avoid using temp | |
12362 | register when moving X/Y to Y/X. | |
12363 | (m68hc11_gen_movqi): Likewise. | |
12364 | (m68hc11_check_z_replacement): Fix last insn setting for compare case. | |
12365 | ||
ddc67067 MM |
12366 | 2003-03-14 Mark Mitchell <mark@codesourcery.com> |
12367 | ||
12368 | PR optimization/9016 | |
12369 | * config/i386/i386.c (ix86_expand_move): Force more CONST_DOUBLEs | |
12370 | into the constant pool. | |
12371 | ||
0a71919d FH |
12372 | 2003-03-16 Falk Hueffner <falk.hueffner@student.uni-tuebingen.de> |
12373 | ||
12374 | PR target/9164 | |
12375 | * tree.c (get_narrower): For extensions with unchanged bit number, | |
12376 | return the unsignedness of the outer mode. | |
12377 | ||
46ea50cb RS |
12378 | 2003-03-16 Roger Sayle <roger@eyesopen.com> |
12379 | ||
12380 | * c-typeck.c (build_component_ref): Turn "for" into "do .. while" | |
12381 | to avoid "may be used uninitialized" warning on ia64-hpux. | |
12382 | * config/ia64/ia64-c.c: Include "tm_p.h" for function prototypes. | |
12383 | ||
012c387f AJ |
12384 | 2003-03-16 Andreas Jaeger <aj@suse.de> |
12385 | ||
12386 | * configure.in: Improve check for memcheck.h. | |
12387 | * configure: Regenerated. | |
12388 | ||
7d1c4aae NB |
12389 | 2003-03-16 Neil Booth <neil@daikokuya.co.uk> |
12390 | ||
12391 | * doc/cppopts.texi: Remove documentation of -A-. | |
12392 | ||
e20798d1 ZW |
12393 | 2003-03-15 Zack Weinberg <zack@codesourcery.com> |
12394 | ||
12395 | * doc/libgcc.texi: Remove @tie. | |
12396 | ||
4af16369 JZ |
12397 | 2003-03-15 Josef Zlomek <zlomekj@suse.cz> |
12398 | ||
12399 | * rtl.h (subrtx_p): Renamed to rtx_referenced_p. | |
12400 | (rtx_pair): Added new element update_label_nuses, renamed to | |
12401 | replace_label_data. | |
12402 | * cfgcleanup.c (outgoing_edges_match, try_crossjump_to_edge): Use | |
12403 | replace_label_data instead of rtx_pair. | |
12404 | * loop.c (load_mems): Likewise. | |
12405 | * rtlanal.c (replace_label): Replace label in pool constants and in | |
12406 | INSN_LIST (in REG_LABEL note). | |
12407 | (subrtx_p): Renamed to rtx_referenced_p. | |
12408 | (subrtx_p_1): Renamed to rtx_referenced_p_1, compare the interior of | |
12409 | LABEL_REF with CODE_LABEL, traverse constants from pool. | |
12410 | ||
d2184e79 AH |
12411 | 2003-03-15 Aldy Hernandez <aldyh@redhat.com> |
12412 | Zack Weinberg <zack@codesourcery.com> | |
12413 | ||
12414 | * Makefile.in (TEXI_GCCINT_FILES): Add libgcc.texi. | |
12415 | * doc/libgcc.texi: New file. | |
12416 | * doc/interface.texi: Delete paragraph about libgcc interface. | |
12417 | * doc/gccint.texi: Add libgcc menu entry and @include libgcc.texi. | |
12418 | ||
8cadae7e JM |
12419 | 2003-03-15 Jason Merrill <jason@redhat.com> |
12420 | ||
ae0e5982 JM |
12421 | PR debug/9039 |
12422 | * dwarf2out.c (gen_decl_die): Ignore frontend tree codes. | |
12423 | ||
8cadae7e JM |
12424 | PR debug/6387 |
12425 | * dwarf2out.c (dwarf2out_decl): If we're at -g1, just stick nested | |
12426 | function DIEs at toplevel. | |
12427 | (decls_for_scope): At -g1, don't descend into subblocks. | |
12428 | ||
2436a91b UW |
12429 | 2003-03-15 Ulrich Weigand <uweigand@de.ibm.com> |
12430 | ||
12431 | * varasm.c (struct rtx_const): Change type of un.addr member | |
12432 | to struct holding an additional 'symbol' member. | |
12433 | (decode_rtx_const): Re-enable optimization to count SYMBOL_REFs | |
12434 | with equal string addresses as equal. | |
12435 | (simplify_subtraction): Adapt to struct rtx_const change. | |
12436 | ||
151c68c3 NB |
12437 | 2003-03-15 Neil Booth <neil@daikokuya.co.uk> |
12438 | ||
12439 | * fix-header.c (read_scan_file): Read main file before handling -D. | |
12440 | ||
6a87d634 RS |
12441 | 2003-03-15 Roger Sayle <roger@eyesopen.com> |
12442 | ||
12443 | * c-cppbuiltin.c (builtin_define_with_value_n): Fix whitespace. | |
12444 | * c-typeck.c (c_tree_expr_nonnegative_p): Likewise. | |
12445 | * cfgbuild.c (find_many_sub_basic_blocks): Likewise. | |
12446 | (find_sub_basic_blocks): Likewise. | |
12447 | * cgraphunit.c (cgraph_expand_functions): Likewise. | |
12448 | * dwarf2out.c (prune_unused_types): Likewise. | |
12449 | * expr.c (store_field): Likewise. | |
12450 | * genextract.c (print_path): Likewise. | |
12451 | * haifa-sched.c (schedule_insn): Likewise. | |
12452 | * lcm.c (compute_antinout_edge): Likewise. | |
12453 | * loop-unroll.c (decide_peel_once_rolling): Likewise. | |
12454 | * ra-colorize.c (ra_colorize_free_all): Likewise. | |
12455 | * ra-debug.c (dump_igraph): Likewise. | |
12456 | (debug_hard_reg_set): Likewise. | |
12457 | * reg-stack.c (reg_to_stack): Likewise. | |
12458 | * rtlanal.c (refers_to_regno_p): Likewise. | |
12459 | * tracer.c (layout_superblocks): Likewise. | |
12460 | ||
49c46444 NB |
12461 | 2003-03-15 Neil Booth <neil@daikokuya.co.uk> |
12462 | ||
12463 | * fix-header.c (read_scan_file): Fix thinko. | |
12464 | ||
1fe668e5 GN |
12465 | 2003-03-15 Glen Nakamura <glen@imodulo.com> |
12466 | ||
12467 | * reload1.c (choose_reload_regs): Use && instead of || | |
12468 | with REG_CANNOT_CHANGE_MODE_P condition. | |
12469 | ||
c1bad961 NB |
12470 | 2003-03-15 Neil Booth <neil@daikokuya.co.uk> |
12471 | ||
12472 | * Makefile.in: Update. | |
12473 | * c-common.h (cb_register_builtins): Rename c_cpp_builtins. | |
12474 | * c-lex.c (init_c_lex): Register builtins hook is dead. | |
12475 | * c-opts.c (COMMAND_LINE_OPTIONS, missing_arg): Handle -A, -D and -U. | |
12476 | (c_common_decode_option): Don't call cpp_handle_option. | |
12477 | Handle -A, -D and -U. | |
12478 | (handle_deferred_opts): Simplify. | |
12479 | (finish_options): Define builtins and command line macros. | |
12480 | * c-ppoutput.c (init_pp_output): Register builtins hook is dead. | |
12481 | * cppinit.c: Don't include intl.h. | |
12482 | (init_builtins): Rename cpp_init_builtins. No hook to call. | |
12483 | (init_library): Don't need to sort options. | |
12484 | (cpp_create_reader): Don't set pending. | |
12485 | (cpp_destroy): Don't free pending. | |
12486 | (struct pending_option, cl_directive_handler, struct cpp_pending, | |
12487 | APPEND, free_chain, new_pending_directive, parse_option, opt_comp, | |
12488 | cpp_finish_options, COMMAND_LINE_OPTIONS, DEF_OPT, struct cl_option, | |
12489 | cl_options, cpp_handle_option): Remove. | |
12490 | * cpplib.h (struct cpp_pending, register_builtins, cpp_handle_option, | |
12491 | cpp_finish_options): Remove. | |
12492 | (cpp_init_builtins): New. | |
12493 | * fix-header.c (read_scan_file): Update to handle -D. Fix | |
12494 | handling of -I. Replace call to cpp_finish_options. | |
12495 | ||
d8eed979 MH |
12496 | 2003-03-15 Michael Hayes <m.hayes@elec.canterbury.ac.nz> |
12497 | ||
12498 | PR optimization/9387 | |
12499 | * function.c (thread_prologue_and_epilogue_insns): Use redirect_jump | |
12500 | for conditional returns. | |
12501 | ||
af75fb67 JM |
12502 | 2003-03-14 Jason Merrill <jason@redhat.com> |
12503 | ||
12504 | PR optimization/6871 | |
12505 | * varasm.c (assemble_variable): Leave constant zeroes in .rodata. | |
12506 | ||
255c10b1 NB |
12507 | 2003-03-14 Neil Booth <neil@daikokuya.co.uk> |
12508 | ||
12509 | * c-opts.c (finish_options): New. | |
12510 | (COMMAND_LINE_OPTIONS, c_common_decode_option): Add -imacros. | |
12511 | (missing_arg): Handle OPT_include and OPT_imacros. | |
12512 | (c_common_init, c_common_parse_file): Use finish_options. | |
12513 | (handle_deferred_opts): Update. | |
12514 | * cppinit.c (struct cpp_pending): Remove imacros_head and imacros_tail. | |
12515 | (cpp_finish_options): Don't handle -imacros here. | |
12516 | (no_fil): Remove. | |
12517 | (COMMAND_LINE_OPTIONS, cpp_handle_option): Don't handle -imacros. | |
12518 | ||
027fbf43 JJ |
12519 | 2003-03-14 Jakub Jelinek <jakub@redhat.com> |
12520 | ||
12521 | * config/rs6000/rs6000.c (rs6000_emit_load_toc_table): Don't call | |
12522 | rs6000_maybe_dead if !fromprolog. | |
12523 | ||
23345bbb NB |
12524 | 2003-03-14 Neil Booth <neil@daikokuya.co.uk> |
12525 | ||
12526 | * Makefile.in: Update. | |
12527 | * c-common.h (fe_file_change, pp_file_change): New. | |
12528 | * c-lex.c (init_c_lex): Don't set cb_file_change. | |
12529 | (c_common_parse_file): Move to c-opts.c. | |
12530 | (cb_file_change): Rename fe_file_change. | |
12531 | * c-opts.c: Include debug.h. | |
12532 | (warn_unused_macros, include_cursor): New. | |
12533 | (push_command_line_include, cb_file_change): New. | |
12534 | (COMMAND_LINE_OPTIONS): Handle -include. | |
12535 | (c_common_decode_option): Use local warn_unused_macros. | |
12536 | Handle OPT_include. | |
12537 | (c_common_post_options): Set file change callback. | |
12538 | (handle_deferred_opts): Skip -include. Don't free the array. | |
12539 | (c_common_init): Call cpp_finish_options here, and push an | |
12540 | initial -include file. | |
12541 | * c-ppoutput.c (cb_file_change): Rename pp_file_change. | |
12542 | (preprocess_file): Don't call cpp_finish_options. | |
12543 | (init_pp_output): Don't set the file change callback. | |
12544 | (pp_file_change): Return if no line commands or no output. | |
12545 | * cpphash.h (next_include_file, first_unused_line): Remove. | |
12546 | * cppinit.c (include_head, include_tail): Remove. | |
12547 | (cpp_destroy): Don't free -include chain. | |
12548 | (cpp_finish_options): Don't handle -include, or worry about | |
12549 | -Wunused-macros. | |
12550 | (_cpp_maybe_push_include_file): Remove. | |
12551 | (COMMAND_LINE_OPTIONS, cpp_handle_option): Don't handle -include. | |
12552 | * cpplib.c (_cpp_pop_buffer): Don't handle -include. | |
12553 | * cppmacro.c (_cpp_warn_if_unused_macro, _cpp_create_definition): | |
12554 | Used flag is set based upon the state of the warn_unused_macros | |
12555 | flag, and so use of first_unused_line is unnecessary. | |
12556 | ||
62c9aa5f | 12557 | 2003-03-13 Jan Hubicka <jh@suse.cz> |
cd648cec JH |
12558 | |
12559 | * cselib.c (clear_table): Do not take argument; always clear just | |
12560 | used slots. | |
12561 | (cselib_process_insn): Update call of clear_table | |
12562 | (cselib_init): Do not call clear_table. | |
12563 | (cselib_finish): Clear table. | |
12564 | ||
12565 | * cse.c (count_reg_usage): Do not check side_effects_p. | |
12566 | * rtlanal.c (set_noop_p): Check side_effects_p only when set looks | |
12567 | like noop. | |
12568 | (find_reg_equal_equiv_note): Do not use find_reg_note. | |
12569 | ||
35d9c403 RH |
12570 | 2003-03-14 Richard Henderson <rth@redhat.com> |
12571 | ||
12572 | PR target/9700 | |
1fe668e5 | 12573 | * config/alpha/alpha.c (alpha_va_start): Account for |
35d9c403 RH |
12574 | current_function_pretend_args_size in the AP offset. |
12575 | ||
12576 | * config/alpha/alpha.h (SETUP_INCOMING_VARARGS): Move out of line. | |
12577 | (INITIAL_ELIMINATION_OFFSET): Move out of line. | |
12578 | * config/alpha/alpha.c (alpha_setup_incoming_varargs): New. | |
12579 | (alpha_initial_elimination_offset) New. | |
12580 | * config/alpha/alpha-protos.h: Update. | |
12581 | ||
f43f4314 JJ |
12582 | 2003-03-14 Jakub Jelinek <jakub@redhat.com> |
12583 | ||
12584 | * stmt.c (expand_start_case): Call emit_queue (). | |
12585 | ||
35d9c403 RH |
12586 | 2003-03-14 Chris Demetriou <cgd@broadcom.com> |
12587 | Alexandre Oliva <aoliva@redhat.com> | |
a0a89ed0 CD |
12588 | |
12589 | * config/mips/mips.h (FUNCTION_PROFILER): _mcount() doesn't pop 2 | |
12590 | words in new abis. | |
12591 | ||
f650843f EB |
12592 | 2003-03-14 Eric Botcazou <ebotcazou@libertysurf.fr> |
12593 | ||
12594 | PR optimization/8396 | |
12595 | * tree-inline.c (initialize_inlined_parameters): Make sure the value | |
12596 | of read-only constant arguments is passed with the right type. | |
12597 | ||
a721a601 SB |
12598 | 2003-03-14 Steven Bosscher <steven@gcc.gnu.org> |
12599 | ||
12600 | * doc/extend.texi (Function Names): Make the example compilable. | |
12601 | ||
a12f8290 DE |
12602 | 2003-03-13 David Edelsohn <edelsohn@gnu.org> |
12603 | ||
12604 | * config/rs6000/rs6000.c (processor_target_table): Really allow | |
12605 | GP optional instructions on Power4. | |
12606 | ||
12607 | 2003-03-13 Roger Sayle <roger@eyesopen.com> | |
36dbb93d RS |
12608 | |
12609 | * calls.c (flags_from_decl_or_type): Factor and remove redundant | |
12610 | conditional tests. | |
12611 | ||
c4775f82 MS |
12612 | 2003-03-13 Mike Stump <mrs@apple.com> |
12613 | ||
12614 | * ggc-page.c (struct page_entry): Remove varray.h header. | |
12615 | Add index_by_depth field. | |
12616 | Remove save_in_use_p field. | |
12617 | (struct globals): Add depth_in_use, depth_max, by_depth_in_use, | |
12618 | by_depth_max, by_depth, and save_in_use fields. | |
12619 | (INITIAL_PTE_COUNT): Add. | |
12620 | (save_in_use_p_i): Add. | |
12621 | (save_in_use_p): Add. | |
12622 | (adjust_depth): Add. | |
12623 | (move_ptes_to_front): Add. | |
12624 | (push_depth): Add. | |
12625 | (push_by_depth): Add. | |
12626 | (prefetch): Add. | |
12627 | (free_page): Add support for and use faster data structures. | |
12628 | (ggc_alloc): Likewise. | |
12629 | (init_ggc): Likewise. | |
12630 | (ggc_recalculate_in_use_p): Likewise. | |
12631 | (ggc_pop_context): Likewise. | |
12632 | (clear_marks): Likewise. | |
12633 | (ggc_pch_read): Likewise. | |
12634 | * Makefile.in (ggc-page.o): Remove varray.h. | |
12635 | ||
3bed2930 NN |
12636 | 2003-03-13 Nathanael Nerode <neroden@gcc.gnu.org> |
12637 | ||
7210d5ae NN |
12638 | * ChangeLog: Rotated last year's entries to... |
12639 | * ChangeLog.8: New. | |
12640 | ||
1fe668e5 | 12641 | * config/ia64/fde-glibc.c, config/ia64/freebsd.h, |
3bed2930 NN |
12642 | config/ia64/hpux.h, config/ia64/hpux_longdouble.h, |
12643 | config/ia64/ia64-c.c, config/ia64/ia64-modes.def, | |
12644 | config/ia64/ia64-protos.h, config/ia64/ia64.c, | |
12645 | config/ia64/ia64.h, config/ia64/ia64.md, | |
12646 | config/ia64/itanium1.md, config/ia64/itanium2.md, | |
12647 | config/ia64/quadlib.c, config/ia64/unwind-ia64.c, | |
12648 | config/ia64/unwind-ia64.h: It's GCC, not GNU CC. | |
12649 | ||
3bd104d1 AH |
12650 | 2003-03-13 Aldy Hernandez <aldyh@redhat.com> |
12651 | ||
d2184e79 AH |
12652 | * config/rs6000/rs6000.c (rs6000_dwarf_register_span): |
12653 | Differentiate endianness. | |
12654 | (s6000_override_options): Use cpu type instead of TARGET_SPE. | |
3bd104d1 | 12655 | |
2ed0b52a NC |
12656 | 2003-03-13 Nick Clifton <nickc@redhat.com> |
12657 | ||
b17fe233 | 12658 | * config/arm/arm.c (print_multi_reg): Do not generate a type 2 |
d2184e79 AH |
12659 | LDM instructions with writeback enabled. |
12660 | (output_return_instruction): Likewise. | |
b17fe233 | 12661 | |
2ed0b52a NC |
12662 | * config/arm/pe.h (FIXED_REGISTERS): Remove definition. |
12663 | (CALL_USED_REGISTERS): Remove definition. | |
12664 | (SUBTARGET_CONDITIONAL_REGISTER_USAGE): Define. | |
12665 | ||
f1384257 AM |
12666 | 2003-03-13 Alan Modra <amodra@bigpond.net.au> |
12667 | ||
12668 | * config/rs6000/rs6000.c (rs6000_flag_pic): Delete. | |
12669 | (rs6000_xcoff_encode_section_info): #ifdef TARGET_XCOFF. | |
12670 | (rs6000_binds_local_p, TARGET_BINDS_LOCAL_P): #if TARGET_MACHO. | |
12671 | (rs6000_override_options): Don't clear flag_pic for ABI_AIX. | |
12672 | (rs6000_legitimize_address): Formatting. | |
12673 | (rs6000_emit_move): Likewise. | |
12674 | (rs6000_return_addr): Test ABI_AIX as well as flag_pic. | |
12675 | (rs6000_emit_prologue <save_LR_around_toc_setup>): Likewise. | |
12676 | (rs6000_elf_select_section): Comment reason for shlib being | |
12677 | set for ABI_AIX. | |
12678 | (rs6000_elf_unique_section): Likewise. | |
12679 | (rs6000_elf_encode_section_info): Test !TARGET_AIX as well as ABI_AIX. | |
12680 | * config/rs6000/rs6000.h (LEGITIMATE_LO_SUM_ADDRESS_P): Test ABI_AIX | |
12681 | as well as flag_pic. | |
12682 | * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Likewise. | |
12683 | (MINIMAL_TOC_SECTION_ASM_OP): Likewise. | |
12684 | * config/rs6000/linux64.h (TARGET_ENCODE_SECTION_INFO): Don't define. | |
12685 | ||
599aedd9 RH |
12686 | 2003-03-13 Richard Henderson <rth@redhat.com> |
12687 | ||
12688 | * emit-rtl.c (try_split): Handle 1-1 splits of call insns properly. | |
12689 | ||
12690 | * config/ia64/ia64.c (TARGET_FUNCTION_OK_FOR_SIBCALL): New. | |
12691 | (ia64_gp_save_reg): Remove. | |
12692 | (struct ia64_frame_info): Move to the beginning of the file; | |
12693 | add reg_save_gp. | |
12694 | (ia64_expand_call): Rearrange for new call patterns. | |
12695 | (ia64_reload_gp): New. | |
12696 | (ia64_split_call): New. | |
12697 | (ia64_compute_frame_size): Allocate reg_save_gp. | |
12698 | (ia64_expand_prologue): Save reg_save_gp. | |
12699 | (ia64_expand_epilogue): Don't restore gp. | |
12700 | (ia64_hard_regno_rename_ok): Remove R4 hack. | |
12701 | (ia64_function_ok_for_sibcall): New. | |
1fe668e5 | 12702 | (ia64_output_mi_thunk): Set reload_completed, no_new_pseudos; |
599aedd9 RH |
12703 | call try_split on sibcall pattern. |
12704 | * config/ia64/ia64-protos.h: Update. | |
12705 | * config/ia64/ia64.md (call_nogp, call_value_nogp, sibcall_nogp): | |
12706 | Rename from nopic versions. Confiscate 2nd argument to call as | |
12707 | a marker. | |
12708 | (call_pic, call_value_pic, sibcall_pic): Remove. | |
12709 | (call_gp, call_value_gp, sibcall_gp): New. | |
12710 | (builtin_setjmp_setup): Remove. | |
12711 | (builtin_setjmp_receiver): Call ia64_reload_gp. | |
12712 | ||
e7d9d16b NN |
12713 | 2003-03-12 Nathanael Nerode <neroden@gcc.gnu.org> |
12714 | ||
1fe668e5 | 12715 | * config/dsp16xx/dsp16xx-protos.h, config/dsp16xx/dsp16xx.c, |
2ff8f7ac NN |
12716 | config/dsp16xx/dsp16xx.h, config/dsp16xx/dsp16xx.md: Replace |
12717 | "GNU CC" with "GCC". | |
12718 | ||
4db9c756 NN |
12719 | * config/c4x/c4x-c.c, config/c4x/c4x-modes.def, |
12720 | config/c4x/c4x-protos.h, config/c4x/c4x.c, config/c4x/c4x.h, | |
12721 | config/c4x/c4x.md, config/c4x/libgcc.S, config/c4x/rtems.h: | |
12722 | GCC, not GNU CC. | |
12723 | ||
63b025a5 NN |
12724 | * genattrtab.h, hosthooks-def.h, hosthooks.h, langhooks-def.h, |
12725 | langhooks.h, tree-inline.h: Replace "GNU CC" with "GCC". | |
12726 | ||
54a7b573 NN |
12727 | * c-pch.c, dummy-conditions.c, genautomata.c, genconditions.c, |
12728 | langhooks.c, tree-inline.c, unwind-dw2-fde-darwin.c, | |
12729 | unwind-dw2-fde-glibc.c, unwind-libunwind.c, vmsdbgout.c: Replace | |
12730 | "GNU CC" with "GCC". | |
12731 | ||
301ee2f3 NN |
12732 | * config/v850/lib1funcs.asm, config/v850/rtems.h, |
12733 | config/v850/v850-c.c, config/v850/v850-protos.h, | |
12734 | config/v850/v850.c, config/v850/v850.h, config/v850/v850.md: | |
12735 | GCC, not GNU CC. | |
12736 | ||
e7d9d16b NN |
12737 | * config/vax/bsd.h, config/vax/elf.h, config/vax/netbsd-elf.h, |
12738 | config/vax/netbsd.h, config/vax/openbsd.h, config/vax/openbsd1.h, | |
12739 | config/vax/ultrix.h, config/vax/vax-protos.h, config/vax/vax.c, | |
12740 | config/vax/vax.h, config/vax/vax.md, config/vax/vaxv.h: GCC, not | |
12741 | GNU CC. | |
12742 | ||
93c98498 BK |
12743 | 2003-03-12 Benjamin Kosnik <bkoz@redhat.com> |
12744 | ||
12745 | * cpppch.c (cpp_valid_state): Use DL_WARNING_SYSHDR, not DL_WARNING. | |
12746 | ||
e531258e NN |
12747 | 2003-03-12 Nathanael Nerode <neroden@gcc.gnu.org> |
12748 | ||
706ae11c NN |
12749 | * fixinc/fixinc.interix: Remove dead code (most of it). |
12750 | * fixinc/fixinc.dgux: Remove. | |
12751 | ||
e531258e NN |
12752 | * ginclude/float.h, ginclude/iso646.h, ginclude/stdarg.h, |
12753 | ginclude/stdbool.h, ginclude/stddef.h: GCC, not GNU CC. | |
12754 | ||
eab9e742 JDA |
12755 | 2003-03-12 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
12756 | ||
12757 | * pa.c (pa_init_builtins): Fix warning. | |
12758 | ||
03d0dce1 SE |
12759 | 2003-03-12 Steve Ellcey <sje@cup.hp.com> |
12760 | ||
12761 | * config/ia64/ia64.h (ASM_OUTPUT_XDATA_CHAR): Remove. | |
12762 | (ASM_OUTPUT_XDATA_SHORT): Remove. | |
12763 | (ASM_OUTPUT_XDATA_INT): Remove. | |
12764 | (ASM_OUTPUT_XDATA_DOUBLE_INT): Remove. | |
12765 | (ASM_OUTPUT_ADDR_DIFF_ELT): Handled 32 bit address diffs. | |
12766 | (ASM_PREFERRED_EH_DATA_FORMAT): Handle 32 bit EH pointers. | |
12767 | (CASE_VECTOR_MODE): Handle 32 bit pointers in case statement. | |
12768 | ||
847311f4 AL |
12769 | 2003-03-12 Andrew Lewycky <andrew@mxc.ca> |
12770 | ||
12771 | PR c++/7050 | |
12772 | * expr.c (store_expr): Don't attempt to store void-typed trees, | |
12773 | just evaluate them for side effects. | |
12774 | ||
c19b12cb NB |
12775 | 2003-03-12 Neil Booth <neil@daikokuya.co.uk> |
12776 | ||
12777 | * cppfiles.c (cpp_rename_file, cpp_push_include): New. | |
12778 | * cppinit.c (push_include): Move with changes to cppfiles.c. | |
12779 | (cpp_read_main_file): Mark named operators here... | |
12780 | (cpp_finish_options): ...not here. Update. | |
12781 | (_cpp_maybe_push_include_file): Update. | |
12782 | * cpplib.h (cpp_push_include, cpp_rename_file): New. | |
12783 | ||
ad9c4d9f NN |
12784 | 2003-03-12 Nathanael Nerode <neroden@gcc.gnu.org> |
12785 | ||
847311f4 AL |
12786 | * aclocal.m4: Introduce gcc_GAS_VERSION_GTE_IFELSE, |
12787 | _gcc_COMPUTE_GAS_VERSION. | |
12788 | * configure.in: Use them. | |
12789 | * configure: Regenerate. | |
ad9c4d9f | 12790 | |
8d49831d BW |
12791 | 2003-03-12 Bob Wilson <bob.wilson@acm.org> |
12792 | ||
d2184e79 | 12793 | * config/xtensa/xtensa.md (adddi3): Don't clobber source operand used |
8d49831d | 12794 | to detect carry. |
d2184e79 | 12795 | (subdi3): Reorder emitted instructions. |
8d49831d | 12796 | |
bfa2615f AJ |
12797 | 2003-03-12 Andreas Jaeger <aj@suse.de> |
12798 | ||
12799 | * config/i386/netbsd64.h (TARGET_OS_CPP_BUILTINS): Remove call to | |
12800 | NETBSD_OS_CPP_BUILTINS_LP64. | |
12801 | ||
73458fb7 NN |
12802 | 2003-03-12 Nathanael Nerode <neroden@gcc.gnu.org> |
12803 | ||
12804 | * Makefile.in: Eliminate all.indirect. Update and clean up comments. | |
12805 | Rearrange. Reorganize. | |
12806 | * configure.in: Rearrange. | |
12807 | * configure: Regenerate. | |
12808 | ||
00530a21 AJ |
12809 | 2003-03-12 Andreas Jaeger <aj@suse.de> |
12810 | ||
d2184e79 AH |
12811 | * c-cppbuiltin.c (cb_register_builtins): Define LP64 builtins for |
12812 | LP64 targets. | |
00530a21 | 12813 | |
d2184e79 AH |
12814 | * doc/cpp.texi (Common Predefined Macros): Document __LP64__ and |
12815 | _LP64. | |
00530a21 | 12816 | |
d2184e79 AH |
12817 | * config/ia64/ia64.h (TARGET_CPU_CPP_BUILTINS): Do not define |
12818 | _LP64 macros here. | |
12819 | * config/pa/pa.h (TARGET_CPU_CPP_BUILTINS): Likewise. | |
00530a21 | 12820 | |
d2184e79 AH |
12821 | * config/alpha/netbsd.h (TARGET_OS_CPP_BUILTINS): Remove call to |
12822 | NETBSD_OS_CPP_BUILTINS_LP64. | |
12823 | * config/sh/netbsd-elf.h (TARGET_OS_CPP_BUILTINS): Likewise. | |
12824 | * config/sparc/netbsd-elf.h (TARGET_OS_CPP_BUILTINS): Likewise. | |
00530a21 | 12825 | |
d2184e79 | 12826 | * config/netbsd.h (NETBSD_OS_CPP_BUILTINS_LP64): Remove. |
00530a21 | 12827 | |
62c9aa5f | 12828 | 2003-03-12 Jan Hubicka <jh@suse.cz> |
5474eed5 JH |
12829 | |
12830 | * i386.c (ix86_setup_incoming_varargs): Set stack_alignment_needed to 128. | |
12831 | ||
8c35a61a | 12832 | 2003-03-12 Daniel Jacobowitz <drow@mvista.com> |
59a7f9bf DJ |
12833 | |
12834 | Fix PR target/9797 and PR c/9853. | |
12835 | * stmt.c (expand_decl_init): Call push_temp_slots () and | |
12836 | pop_temp_slots (). | |
12837 | ||
62c9aa5f | 12838 | 2003-03-12 J"orn Rennecke <joern.rennecke@superh.com> |
1aa03f38 R |
12839 | |
12840 | * sh.c: Include basic-block.h. | |
12841 | (sh_output_mi_thunk, emit_load_ptr): New functions. | |
12842 | (TARGET_ASM_OUTPUT_MI_THUNK, TARGET_ASM_CAN_OUTPUT_MI_THUNK): Redefine. | |
12843 | ||
6f8c9bd1 NC |
12844 | 2003-03-12 Nick Clifton <nickc@redhat.com> |
12845 | ||
12846 | * config/arm/pe.h (FIXED_REGISTERS): Add Maverick registers. | |
12847 | (CALL_USED_REGISTERS): Likewise. | |
12848 | * config/arm/arm.h (FIRST_PSEUDO_REGISTER): Update comment | |
12849 | describing how this value is calculated. | |
12850 | ||
b2522d2b HPN |
12851 | 2003-03-12 Hans-Peter Nilsson <hp@bitrange.com> |
12852 | ||
12853 | * configure.in (rlim_t): Define to long if no valid definition | |
12854 | found in sys/resource.h. | |
12855 | * config.in, configure: Regenerate. | |
12856 | ||
f7248b51 NB |
12857 | 2003-03-12 Neil Booth <neil@daikokuya.co.uk> |
12858 | ||
12859 | * config/mcore/mcore-elf.h (CPP_PREDEFINES): Replace with | |
12860 | TARGET_OS_CPP_BUILTINS. | |
12861 | * config/mcore/mcore-pe.h: Similarly. | |
12862 | * config/mcore/mcore.h: Replace CPP_PREDEFINES and part of | |
12863 | CPP_SPEC with TARGET_CPU_CPP_BUILTINS. | |
12864 | ||
8a7d6cb3 EB |
12865 | 2003-03-12 Eric Botcazou <ebotcazou@libertysurf.fr> |
12866 | ||
12867 | PR c/9928 | |
12868 | * c-decl.c (duplicate_decls): Discard the initializer of the new decl | |
12869 | only if it is a VAR_DECL. | |
12870 | ||
db1077d3 EB |
12871 | 2003-03-12 Eric Botcazou <ebotcazou@libertysurf.fr> |
12872 | ||
12873 | PR optimization/9888 | |
12874 | * config/i386/i386.md (jcc_1): Fix range. | |
12875 | (jcc_2): Likewise. | |
12876 | (jump): LIkewise. | |
12877 | (doloop_end_internal): Likewise. | |
12878 | ||
6ca23bff | 12879 | 2003-03-12 Danny Smith <dannysmith@users.sourceforge.net> |
1fe668e5 | 12880 | |
6ca23bff DS |
12881 | * config/i386/winnt.c (DLL_IMPORT_PREFIX): New define. |
12882 | Use throughout instead of DLL_IMPORT_EXPORT_PREFIX and "e." | |
12883 | (DLL_EXPORT_PREFIX): New define. Use throughout instead of | |
12884 | DLL_IMPORT_EXPORT_PREFIX and "i." | |
12885 | (i386_pe_dllexport_name_p): Here. | |
12886 | (i386_pe_dllimport_name_p): Here. | |
d2184e79 | 12887 | (i386_pe_mark_dllexport): Here. Remove DLL_IMPORT_PREFIX, |
6ca23bff DS |
12888 | not 9 chars when getting identifier name. |
12889 | (i386_pe_mark_dllimport): Here. | |
12890 | (i386_pe_encode_section_info): Here. Remove DLL_IMPORT_PREFIX, | |
12891 | not 9 chars when getting identifier name. Correct comment. | |
12892 | (i386_pe_strip_name_encoding): Here. Add comments for different | |
12893 | cases. | |
12894 | (gen_fastcall_suffix): Break down xmalloc() argument to | |
12895 | components. | |
12896 | (gen_stdcall_suffix): Likewise. | |
12897 | Update copyright year. | |
12898 | ||
9b73c90a EB |
12899 | 2003-03-12 Eric Botcazou <ebotcazou@libertysurf.fr> |
12900 | ||
12901 | PR optimization/9888 | |
12902 | * config/i386/i386.md (movsi_1): Remove special alternatives | |
12903 | for %eax register. | |
12904 | (movsi_1_nointernunit): Likewise. | |
12905 | (movhi_1): Likewise. | |
12906 | * config/i386/i386.c (memory_address_length): Do not use | |
12907 | short displacement when there is no base. | |
12908 | (ix86_attr_length_address_default): Handle LEA instructions. | |
12909 | ||
21282b1e NB |
12910 | 2003-03-12 Neil Booth <neil@daikokuya.co.uk> |
12911 | ||
12912 | * c-cppbuiltin.c (builtin_define_std): Make non-static. | |
12913 | ||
7358f10d LR |
12914 | 2003-03-11 Loren James Rittle <ljrittle@acm.org> |
12915 | ||
12916 | * config/freebsd-spec.h (FBSD_CPP_PREDEFINES): Remove. | |
12917 | (FBSD_TARGET_OS_CPP_BUILTINS): New port-specific macro. | |
12918 | (FBSD_TARGET_CPU_CPP_BUILTINS): New port-specific macro. | |
12919 | * config/freebsd.h (CPP_PREDEFINES): Remove. | |
12920 | (TARGET_OS_CPP_BUILTINS): New. | |
12921 | * config/alpha/freebsd.h: Use overridden FBSD_TARGET_CPU_CPP_BUILTINS | |
12922 | instead of TARGET_OS_CPP_BUILTINS. | |
12923 | * config/sparc/freebsd.h (CPP_PREDEFINES): Remove. | |
12924 | ||
d00bc0a2 GK |
12925 | 2003-03-11 Geoffrey Keating <geoffk@apple.com> |
12926 | ||
12927 | * c-cppbuiltin.c (builtin_define_std): Add ATTRIBUTE_UNUSED. | |
12928 | ||
9b7b447f AH |
12929 | 2003-03-11 Aldy Hernandez <aldyh@redhat.com> |
12930 | ||
d2184e79 AH |
12931 | * config/rs6000/rs6000.c (rs6000_stack_info): Remove |
12932 | insn_chain_scanned. Use insn_chain_scanned_p in machine_function. | |
9b7b447f | 12933 | |
d2184e79 | 12934 | * config/rs6000/rs6000.h (machine_function): Add insn_chain_scanned_p. |
9b7b447f | 12935 | |
62c9aa5f | 12936 | 2003-03-11 Alexandre Oliva <aoliva@redhat.com> |
18a47d21 AO |
12937 | |
12938 | * toplev.c (independent_decode_option): Return success for --help, | |
12939 | --target-help and --version. | |
12940 | ||
62c9aa5f | 12941 | 2003-03-11 Alexandre Oliva <aoliva@redhat.com> |
c0a579df AO |
12942 | |
12943 | * config/mips/linux64.h (DRIVER_SELF_SPECS): Add endian_spec. | |
12944 | Default to -mips3 on -mabi=64. Don't add -mips* flag if -march is | |
12945 | specified. | |
12946 | (SUBTARGET_ASM_SPEC): Remove -mips*-adding code obviated by | |
12947 | DRIVER_SELF_SPECS. | |
12948 | (LINK_SPEC): Let endian options affect the linker emulation name. | |
12949 | ||
62c9aa5f | 12950 | 2003-03-11 J"orn Rennecke <joern.rennecke@superh.com> |
ea45c4b0 R |
12951 | |
12952 | * sh.md (reload_inqi): Fix mode for source in second set. | |
12953 | ||
62c9aa5f | 12954 | 2003-03-11 Jan Hubicka <jh@suse.cz> |
7101fb18 JH |
12955 | |
12956 | * cselib.c (cselib_invalidate_mem_1): Move too ... | |
12957 | (cselib_invalidate_mem): ... here; use new list | |
12958 | (dummy_val, first_containing_mem): New static variables. | |
12959 | (clear_table): Initialize first_containing_mem. | |
12960 | (discard_useless_values): Compact the containing_mem list. | |
12961 | (add_mem_for_addr): Add to the list. | |
12962 | * cselib.h (cselib_val): Add next_containing_mem. | |
12963 | ||
b5044283 AH |
12964 | 2003-03-11 Aldy Hernandez <aldyh@redhat.com> |
12965 | ||
d2184e79 AH |
12966 | * config/rs6000/rs6000.c (rs6000_override_options): Disable string |
12967 | instructions for e500. | |
b5044283 | 12968 | |
cd6a5007 NB |
12969 | 2003-03-11 Neil Booth <neil@daikokuya.co.uk> |
12970 | ||
12971 | * Makefile.in: Update. | |
12972 | * c-cppbuiltin.c: Include tm_p.h. | |
12973 | ||
41f3a930 AH |
12974 | 2003-03-11 Aldy Hernandez <aldyh@redhat.com> |
12975 | ||
d2184e79 | 12976 | * doc/tm.texi (Frame Registers): Document DWARF_REG_TO_UNWIND_COLUMN. |
41f3a930 | 12977 | |
d2184e79 AH |
12978 | * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Define. |
12979 | (_Unwind_GetGR): Use DWARF_REG_TO_UNWIND_COLUMN. | |
12980 | (_Unwind_SetGR): Same. | |
12981 | (_Unwind_GetGRPtr): New. | |
12982 | (_Unwind_SetGRPtr): New. | |
12983 | (uw_update_context_1): Use accesor functions instead of accessing | |
12984 | context->reg[] directly. | |
12985 | (uw_install_context_1): Same. | |
12986 | (execute_cfa_program): Same. | |
12987 | (__frame_state_for): Same. | |
41f3a930 | 12988 | |
d2184e79 AH |
12989 | * config/rs6000/rs6000.c (spe_synthesize_frame_save): Use 1200 as |
12990 | the synthetic register offset. | |
41f3a930 | 12991 | |
d2184e79 | 12992 | * config/rs6000/rs6000.h (DWARF_REG_TO_UNWIND_COLUMN): New. |
41f3a930 | 12993 | |
d2f55c5c HPN |
12994 | 2003-03-11 Hans-Peter Nilsson <hp@axis.com> |
12995 | ||
12996 | * config/cris/cris.md: Remove lingering EGCS reference. | |
12997 | ("*extopqihi_side_biap"): For HI operation, match | |
12998 | cris_additive_operand_extend_operator, not | |
12999 | cris_operand_extend_operator. Adjust condition. | |
13000 | ("*extopqihi_side", "*extopqihi"): Ditto. | |
13001 | ("*extopqisi_side_biap"): Correct operand numbers in condition. | |
13002 | ("*extophisi_side_biap", "*extopqisi_swap_side_biap"): Ditto. | |
13003 | ("*extophisi_swap_side_biap", "*extopqisi_swap"): Ditto. | |
13004 | ("*extophisi_swap"): Ditto. | |
13005 | ("*extopqihi_swap_side_biap"): For HI operation, match a simple | |
13006 | PLUS, not cris_operand_extend_operator. Adjust condition and | |
13007 | output template. | |
13008 | ("*extopqihi_swap_side", "*extopqihi_swap"): Ditto. | |
13009 | * config/cris/cris.h (PREDICATE_CODES): Add | |
13010 | cris_additive_operand_extend_operator. | |
13011 | * config/cris/cris.c (cris_additive_operand_extend_operator): | |
13012 | New predicate. | |
13013 | ||
37bd08f8 HP |
13014 | 2003-03-11 Hartmut Penner <hpenner@de.ibm.com> |
13015 | ||
13016 | * df.c (read_modify_subreg_p): Change from static to global. | |
13017 | * df.h (read_modify_subreg_p): Add prototype. | |
13018 | * sched-deps.c (sched_analyze_1): Generate true dependency for | |
1fe668e5 | 13019 | strict_low_part, certain subregs and zero/sign_extract. |
37bd08f8 | 13020 | |
cb60f38d NB |
13021 | 2003-03-11 Neil Booth <neil@daikokuya.co.uk> |
13022 | ||
13023 | * Makefile.in: Update. | |
13024 | * c-common.c: Don't include real.h or except.h. | |
13025 | (REGISTER_PREFIX): Remove. | |
13026 | (builtin_define_std, builtin_define_with_value, | |
13027 | builtin_define_with_int_value, builtin_define_with_hex_fp_value, | |
13028 | builtin_define_type_max, builtin_define_type_precision, | |
13029 | builtin_define_float_constants): Move to c-cppbuiltin.c. | |
13030 | (c_stddef_cpp_builtins): New. | |
13031 | * c-common.h (builtin_define_with_value, c_stddef_cpp_builtins): New. | |
13032 | * c-cppbuiltin.c: New, extracted from c-common.c. | |
13033 | (define__GNUC__): New. | |
13034 | * cppspec.c (lang_specific_driver): Remove support of -no-gcc. | |
13035 | * gcc.c: Remove support of %v1, %v2 and %v3 specs. | |
13036 | (cpp_unique_options): Don't support no-gcc. | |
13037 | (do_spec_1): Remove support of version specs. | |
13038 | * doc/invoke.texi: Remove documentation of %v1, %v2 and %v3. | |
13039 | * doc/passes.texi: Update. | |
13040 | * doc/tm.texi: Update. | |
13041 | ||
31ca3635 AH |
13042 | 2003-03-10 Aldy Hernandez <aldyh@redhat.com> |
13043 | ||
d2184e79 | 13044 | * dwarf2out.c (multiple_reg_loc_descriptor): Fix thinko. |
31ca3635 | 13045 | |
ab82a49f AP |
13046 | 2003-03-10 Andrew Pinski <apinski@apple.com> |
13047 | ||
13048 | * config/darwin.c (machopic_function_base_name): If dynamic-no-pic | |
13049 | is on should not get here. | |
13050 | (machopic_indirect_data_reference): If dynamic-no-pic is on just | |
13051 | generate high/low parts of the address. | |
13052 | (machopic_legitimize_pic_address): Change MACHOPIC_PURE to | |
13053 | MACHOPIC_INDIRECT. Dynamic-no-pic uses 0 as the pic base. Generate | |
13054 | symbol and labels with a new reg. Dynamic-no-pic does not have a | |
13055 | pic_offset_table_rtx. | |
13056 | (machopic_select_section): Change references of flag_pic to | |
1fe668e5 | 13057 | MACHOPIC_INDIRECT. |
ab82a49f AP |
13058 | (machopic_asm_out_destructor): Likewise. |
13059 | * config/darwin.h (ASM_DECLARE_UNRESOLVED_REFERENCE): Change | |
13060 | reference of flag_pic to MACHOPIC_INDIRECT. | |
13061 | (MACHO_DYNAMIC_NO_PIC_P): Define as TARGET_DYNAMIC_NO_PIC. | |
13062 | (MACHOPIC_INDIRECT): Is also true when dynamic-no-pic is on. | |
13063 | (MACHOPIC_JUST_INDIRECT): Is also true when dynamic-no-pic is on. | |
13064 | (MACHOPIC_PURE): Is not pure when dynamic-no-pic is on. | |
13065 | * config/i386/darwin.h (MASK_MACHO_DYNAMIC_NO_PIC): Define as | |
13066 | 0 for right now as dynamic-no-pic is not implemented on Darwin/ia32. | |
13067 | * config/rs6000/darwin.h (MASK_MACHO_DYNAMIC_NO_PIC): Define. | |
13068 | (TARGET_DYNAMIC_NO_PIC): Define. | |
13069 | (SUBTARGET_SWITCHES): Define, have sub-target switches for | |
1fe668e5 | 13070 | dynamic-no-pic. |
ab82a49f AP |
13071 | (SUBTARGET_OVERRIDE_OPTIONS): Move check for -fpic from |
13072 | rs6000_override_options to here. Dynamic-no-pic overrides | |
13073 | pic. | |
13074 | (CC1_SPEC): Change from not static then pic to not static and not | |
13075 | dynamic-no-pic then pic. | |
13076 | * config/rs6000/rs6000.c (rs6000_override_options): Move the | |
13077 | check for -fpic and DARWIN_ABI to config/rs6000/darwin.h | |
13078 | (rs6000_legitimize_reload_address): Add case for loading floating in | |
13079 | dynamic-no-pic. | |
13080 | (rs6000_emit_move): Add case for dynamic-no-pic. Change reference | |
13081 | of flag_pic to MACHOPIC_INDIRECT. | |
13082 | (secondary_reload_class): Conditional change the reference of | |
13083 | flag_pic to MACHOPIC_INDIRECT. | |
13084 | (rs6000_output_mi_thunk): Change reference of flag_pic to | |
13085 | MACHOPIC_INDIRECT. | |
13086 | (output_profile_hook): Likewise. | |
13087 | (machopic_output_stub): Non-pure (dynamic-no-pic) is now supported. | |
13088 | * config/rs6000/rs6000.md (movdf_low): Add the case for | |
13089 | MACHO_DYNAMIC_NO_PIC_P. | |
13090 | (call): Change references for flag_pic in TARGET_MACHO to | |
13091 | MACHOPIC_INDIRECT. | |
13092 | (SUBTARGET_OVERRIDE_OPTIONS): Add case where -fpic is on and | |
13093 | -mdynamic-no-pic is on. Also move case for -fpic from rs6000.c. | |
13094 | * doc/invoke.texi (-mdynamic-no-pic): Document. | |
87d7d780 DP |
13095 | |
13096 | 2003-03-10 Devang Patel <dpatel@apple.com> | |
1fe668e5 | 13097 | |
87d7d780 DP |
13098 | PR c++/9394 |
13099 | * gcc.c (DEFAULT_SWITCH_TAKES_ARG): Remove. | |
13100 | (DEFAULT_WORD_SWITCH_TAKES_ARG): Remove. | |
13101 | * gcc.h (DEFAULT_SWITCH_TAKES_ARG): Add. | |
13102 | (DEFAULT_WORD_SWITCH_TAKES_ARG): Add. | |
13103 | * cppspec.c (DEFAULT_SWITCH_TAKES_ARG): Remove. | |
13104 | (DEFAULT_WORD_SWITCH_TAKES_ARG): Remove. | |
1fe668e5 | 13105 | |
6b856d15 SB |
13106 | 2003-03-10 Steven Bosscher <s.bosscher@student.tudelft.nl> |
13107 | ||
13108 | PR optimization/7189 | |
13109 | * toplev.c (rest_of_compilation): Move | |
13110 | check_function_return_warnings up to just after | |
13111 | delete_unreachable_blocks. | |
13112 | ||
2d8d15b7 SC |
13113 | 2003-03-10 Stephane Carrez <stcarrez@nerim.fr> |
13114 | ||
13115 | * config/m68hc11/m68hc11.h (HARD_REGNO_RENAME_OK): Define. | |
13116 | * config/m68hc11/m68hc11-protos.h (m68hc11_hard_regno_rename_ok): | |
13117 | Declare. | |
13118 | * config/m68hc11/m68hc11.c (m68hc11_hard_regno_rename_ok): New function | |
13119 | for reg rename optimization to avoid using Z and Y registers. | |
13120 | ||
0e01d661 SC |
13121 | 2003-03-10 Stephane Carrez <stcarrez@nerim.fr> |
13122 | ||
13123 | * config/m68hc11/m68hc11.md ("*addhi3_68hc12"): Accept any constant | |
13124 | when adding to X and Y since leax/leay are fast. | |
13125 | ("*addhi3"): Accept 'I' constraint when adding to address register. | |
13126 | ("rotlhi3"): Operand 1 must be a register_operand. | |
13127 | (peephole2): New peephole to optimize some adds. | |
13128 | * config/m68hc11/m68hc11.h (CONST_OK_FOR_LETTER_P): Use 'I' constraint | |
13129 | to represent -2 .. 2 small integer range. | |
13130 | ||
ae5b570e SC |
13131 | 2003-03-10 Stephane Carrez <stcarrez@nerim.fr> |
13132 | ||
13133 | * config/m68hc11/m68hc11.c (m68hc11_gen_rotate): Set carry before | |
13134 | each 16-bit rotation. | |
13135 | ||
52999738 ZW |
13136 | 2003-03-10 Zack Weinberg <zack@codesourcery.com> |
13137 | ||
13138 | * c-opts.c (add_prefixed_path): Don't use concat. When | |
13139 | prefixing with cpp_GCC_INCLUDE_DIR, copy only the first | |
13140 | cpp_GCC_INCLUDE_DIR_len characters. | |
13141 | ||
5c242421 SB |
13142 | 2003-03-10 Segher Boessenkool <segher@koffie.nl> |
13143 | ||
52999738 | 13144 | * testsuite/gcc.dg/altivec-9.c: New file. |
5c242421 | 13145 | |
52999738 ZW |
13146 | * config/rs6000/rs6000.c (altivec_frame_fixup): Remove. |
13147 | (rs6000_emit_prologue): Use rs6000_frame_related instead. | |
5c242421 | 13148 | |
b4053702 AH |
13149 | 2003-03-10 Aldy Hernandez <aldyh@redhat.com> |
13150 | ||
52999738 ZW |
13151 | * config/rs6000/spe.h: Define __ev64_*64__ to use single element |
13152 | vectors. | |
13153 | (__ev_convert_u64): Remove macro. Define as inline. | |
13154 | (__ev_convert_s64): Same. | |
b4053702 | 13155 | |
c19de7aa AH |
13156 | 2003-03-10 Aldy Hernandez <aldyh@redhat.com> |
13157 | ||
52999738 ZW |
13158 | * config/rs6000/rs6000.h (DWARF_FRAME_REGISTERS): Define. |
13159 | (rs6000_stack_t): Add spe_64bit_regs_used. | |
c19de7aa | 13160 | |
52999738 ZW |
13161 | * config/rs6000/rs6000.c (rs6000_stack_info): Calculate |
13162 | spe_64bit_regs_used, and use it to determine the size of the | |
13163 | frame. | |
13164 | (spe_func_has_64bit_regs_p): New. | |
13165 | (spe_synthesize_frame_save): New. | |
13166 | (rs6000_frame_related): Handle SPE synthetic registers. | |
13167 | (rs6000_emit_prologue): Only save in 64-bits if the function used | |
13168 | any registers in 64-bit mode. | |
13169 | (rs6000_emit_epilogue): Same, but for restore. | |
c19de7aa | 13170 | |
29ad9694 RE |
13171 | 2003-03-10 Richard Earnshaw <rearnsha@arm.com> |
13172 | ||
13173 | * arm.h (enum floating_point_type): Delete. Replace with... | |
13174 | (enum fputype): ... new. | |
13175 | (FPUTYPE_DEFAULT): Renamed from FP_DEFAULT. Values reworked. | |
13176 | * linux-elf.h (FPUTYPE_DEFAULT): Likewise. | |
13177 | * arm.md (attr fpu): Reworked for new underlying enum values. | |
13178 | * arm.c (arm_fpu_arch): Now enum fputype. | |
13179 | (arm_fpu_tune): Renamed from arm_fpu. Now enum fputype. | |
13180 | (arm_override_options, arm_output_epilogue, arm_expand_prologue): | |
13181 | Update uses of arm_fpu_arch and arm_fpu_tune. | |
13182 | ||
39811184 JZ |
13183 | 2003-03-10 Josef Zlomek <zlomekj@suse.cz> |
13184 | ||
52999738 | 13185 | * cfgcleanup.c (outgoing_edges_match): Compare the jump tables. |
39811184 JZ |
13186 | (try_crossjump_to_edge): Replace refereces to one jump table by |
13187 | references to identical jump table. | |
13188 | * loop.c (load_mems): Moved setting the JUMP_LABEL to replace_label. | |
13189 | (replace_label): Moved to rtlanal.c. | |
13190 | (struct rtx_pair): Moved to rtl.h. | |
52999738 | 13191 | * rtl.h (struct rtx_pair): Moved from loop.c. |
39811184 JZ |
13192 | (replace_label): New extern function. |
13193 | (subrtx_p): New extern function. | |
13194 | (tablejump_p): New extern function. | |
52999738 | 13195 | * rtlanal.c (replace_label): Moved from loop.c. |
39811184 JZ |
13196 | (subrtx_p_1): New static function. |
13197 | (subrtx_p): New function. | |
13198 | (tablejump_p): New function. | |
13199 | ||
62c9aa5f | 13200 | 2003-03-10 Jan Hubicka <jh@suse.cz> |
ec3ae3da | 13201 | |
912b79e7 JH |
13202 | * cfgcleanup.c (try_optimize_cfg): Fix thinko in previous patch. |
13203 | ||
ec3ae3da JH |
13204 | * cfgcleanup.c (merge_blocks): Return where to iterate next. |
13205 | (try_optimize_cfg): Use return value of merge_blocks | |
13206 | ||
e0fd3e7a MM |
13207 | 2003-03-10 Michael Matz <matz@suse.de> |
13208 | ||
13209 | * cfg.c (unchecked_make_edge): New. | |
13210 | (cached_make_edge): Use it. | |
13211 | * basic-block.h (unchecked_make_edge): Declare. | |
13212 | * cfglayout.c (cfg_layout_duplicate_bb): Use it. | |
13213 | ||
82955615 RE |
13214 | 2003-03-10 Richard Earnshaw <rearnsha@arm.com> |
13215 | ||
13216 | * fpa.md: New file. Move all patterns relating to FPA co-processor | |
13217 | to here... | |
13218 | * arm.md: ... from here. | |
13219 | (cirrus.md, fpa.md): Include at end of description. | |
13220 | (divsf3, divdf3, modsf3, movdf3, sqrtsf2, sqrtdf2): New expands. | |
13221 | (pic_load_addr_based): Remove register constraint from expander. | |
13222 | (seq, sne, sgt, sle, slt, sge, sgeu, sleu, sgtu, sltu, sunordered) | |
13223 | (sordered, sungt, sunle, sunge, sunlt): Likewise. | |
13224 | (eh_epilogue, tablejump): Likewise. | |
13225 | ||
22672fc4 RK |
13226 | 2003-03-09 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
13227 | ||
13228 | * tree.c (substitute_in_expr, case 'e'): Only make recursive call | |
13229 | on operands if it has a PLACEHOLDER_EXPR. | |
13230 | ||
f7b3ab8a DE |
13231 | 2003-03-09 David Edelsohn <edelsohn@gnu.org> |
13232 | Mostafa Hagog | |
13233 | ||
13234 | * config/rs6000/rs6000.md (movsi_update1): Add TARGET_UPDATE final | |
13235 | condition. | |
13236 | ||
cc956ba2 NB |
13237 | 2003-03-09 Neil Booth <neil@daikokuya.co.uk> |
13238 | ||
13239 | * config/frv/frv.h: Use TARGET_CPU_CPP_BUILTINS, not CPP_PREDEFINES. | |
13240 | * config/ip2k/ip2k.h: Similarly. | |
13241 | * config/m32r/m32r.h: Similarly. | |
13242 | * config/m68hc11/m68hc11.h: Similarly. | |
13243 | * config/mn10200/mn10200.h: Similarly. | |
13244 | * config/mn10300/mn10300.h: Similarly. | |
13245 | * config/pdp11/pdp11.h: Similarly. | |
13246 | * config/v850/v850.h: Similarly. | |
13247 | * config/rs6000/vxworks.h: Similarly for TARGET_OS_CPP_BUILTINS. | |
13248 | * config/v850/retms.h: Similarly for TARGET_OS_CPP_BUILTINS. | |
13249 | * config/mips/iris3.h: Remove #if 0 block. | |
13250 | ||
13251 | 2003-03-09 Roger Sayle <roger@eyesopen.com> | |
13252 | Joern Rennecke <joern.rennecke@superh.com> | |
13253 | ||
13254 | * gcc.c (do_spec_1) ['{']: Revert 2003-02-24 patch. Don't handle | |
13255 | pending argument upon return from handle_braces here. | |
13256 | (do_spec_2): Instead handle it upon return from do_spec_1 here. | |
13257 | ||
6544fbcb RS |
13258 | 2003-03-09 Roger Sayle <roger@eyesopen.com> |
13259 | Joern Rennecke <joern.rennecke@superh.com> | |
13260 | ||
13261 | * gcc.c (do_spec_1) ['{']: Revert 2003-02-24 patch. Don't handle | |
13262 | pending argument upon return from handle_braces here. | |
13263 | (do_spec_2): Instead handle it upon return from do_spec_1 here. | |
13264 | ||
e1a04212 FS |
13265 | 2003-03-09 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
13266 | ||
13267 | * varasm.c (make_decl_one_only): Use declare_weak(). | |
13268 | ||
4677862a JDA |
13269 | 2003-03-09 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
13270 | ||
13271 | PR middle-end/9986 | |
13272 | * c-common.c (c_common_nodes_and_builtins): Initialize target builtins | |
13273 | after the common builtins. | |
13274 | * pa-hpux.h (DONT_HAVE_FPUTC_UNLOCKED): Define. | |
13275 | * pa.c (TARGET_INIT_BUILTINS): Define. | |
13276 | (pa_init_builtins): New function. | |
13277 | ||
13278 | * pa.md (call, call_value, sibcall, sibcall_value): When sufficient | |
13279 | space has been allocated for the outgoing arguments, set the arg | |
13280 | pointer for a call emitted after virtuals have been instantiated | |
13281 | using the stack pointer offset, otherwise abort. | |
13282 | ||
2de12bc4 DD |
13283 | 2003-03-09 DJ Delorie <dj@redhat.com> |
13284 | ||
13285 | * config/stormy16/stormy16.h (DWARF_LINE_MIN_INSTR_LENGTH): Revert. | |
13286 | ||
17136dde RE |
13287 | 2003-03-09 Richard Earnshaw <rearnsha@arm.com> |
13288 | ||
13289 | * arm.md (fix_truncsfsi2, fix_truncdfsi2, arm_fix_truncsfsi2) | |
13290 | (arm_fix_truncdfsi2): Add missing fix in floating point mode before | |
13291 | conversion to integer. | |
13292 | * cirrus.md (cirrus_truncsfsi2, cirrus_truncdfsi2): Likewise. | |
13293 | ||
f937d5e6 RS |
13294 | 2003-03-09 Roger Sayle <roger@eyesopen.com> |
13295 | ||
13296 | * builtins.def: Fix typo and improve grammar. | |
13297 | * loop-unroll.c (decide_peel_completely): Tidy log message. | |
13298 | ||
c5979bc6 KH |
13299 | 2003-03-09 Kazu Hirata <kazu@cs.umass.edu> |
13300 | ||
13301 | * config/h8300/h8300.md (*tstsi_upper_bit): New. | |
13302 | (*iorsi3_e2f): Likewise. | |
13303 | ||
4f4ebda3 KH |
13304 | 2003-03-08 Kazu Hirata <kazu@cs.umass.edu> |
13305 | ||
13306 | * config/h8300/h8300.c (h8300_and_costs): Return the number of | |
13307 | assembly instructions needed. | |
13308 | (h8300_shift_costs): Likewise. | |
13309 | ||
c366ade5 HPN |
13310 | 2003-03-09 Hans-Peter Nilsson <hp@bitrange.com> |
13311 | ||
02af0d9b HPN |
13312 | * config/cris/aout.h (ENDFILE_SPEC): Undef. |
13313 | ||
a3600c71 HPN |
13314 | * optabs.c (gen_move_insn): Move logic for synthesizing MODE_CC |
13315 | moves from here ... | |
13316 | * expr.c (emit_move_insn_1): ... to here. | |
13317 | ||
a6e464ae HPN |
13318 | * config/cris/aout.h (CRIS_CPP_SUBTARGET_SPEC): Move -D__AOUT__ to... |
13319 | (TARGET_OS_CPP_BUILTINS): New macro. | |
13320 | * config/cris/cris.h (CRIS_CPP_SUBTARGET_SPEC): Move -D__ELF__ to... | |
13321 | (TARGET_OS_CPP_BUILTINS): New macro. | |
13322 | (CPP_PREDEFINES): Don't define. Move old definitions and... | |
13323 | (CPP_SPEC): ...move -D__CRIS_ABI_version=2 to... | |
13324 | (TARGET_CPU_CPP_BUILTINS): New macro. | |
13325 | * config/cris/linux.h (CRIS_CPP_SUBTARGET_SPEC): Move constant | |
13326 | definitions and the optional __PIC__, __pic__ and | |
13327 | __NO_UNDERSCORES__ definitions to... | |
13328 | (TARGET_OS_CPP_BUILTINS): New macro. | |
13329 | ||
d8a25128 HPN |
13330 | * flags.h (flag_leading_underscore): Declare. |
13331 | ||
c366ade5 HPN |
13332 | * c-opts.c (c_common_post_options): On fopen failure, return |
13333 | false, not NULL. | |
13334 | ||
32b0bbaa HPN |
13335 | 2003-03-08 Hans-Peter Nilsson <hp@bitrange.com> |
13336 | ||
13337 | * config/cris/cris_abi_symbol.c: #include tconfig.h and tm.h, not | |
13338 | config.h. | |
13339 | * config/cris/cris.h (HAVE_GAS_HIDDEN): Don't define here. | |
13340 | * config/cris/aout.h (HAVE_GAS_HIDDEN): Undef. | |
13341 | ||
ad220576 NB |
13342 | 2003-03-08 Neil Booth <neil@daikokuya.co.uk> |
13343 | ||
13344 | * config/sh/rtemself.h (TARGET_OS_CPP_BUILTINS): Use instead of | |
13345 | CPP_PREDEFINES. | |
13346 | * config/sh/rtems.h (TARGET_OS_CPP_BUILTINS): Use instead of | |
13347 | CPP_PREDEFINES. | |
13348 | ||
4bfec483 NB |
13349 | 2003-03-08 Neil Booth <neil@daikokuya.co.uk> |
13350 | ||
13351 | * c-common.h (c_common_init, c_common_post_options): Update. | |
13352 | * c-objc-common.c (c_objc_common_init): Update for new prototype. | |
13353 | * c-opts.c (saved_lineno): New. | |
13354 | (c_common_post_options, c_common_init): Update prototypes, | |
13355 | move call to cpp_read_main_file from latter to former. | |
13356 | * c-tree.h (c_ojbc_common_init): Update. | |
13357 | * langhooks-def.h (lhd_post_options): New. | |
13358 | (LANG_HOOKS_INIT, LANG_HOOKS_POST_OPTIONS): Update. | |
13359 | * langhooks.c (lhd_post_options): New. | |
13360 | * langhooks.h (struct lang_hooks): Update post_options and init hooks. | |
13361 | * toplev.c (no_backend): New. | |
13362 | (process_options): Call post_options hook and set main_input_filename | |
13363 | and input_filename here. | |
13364 | (lang_dependent_init, do_compile): post_options hook moved to | |
13365 | process_options. | |
13366 | * objc/objc-act.c (objc_init): Update prototype. | |
13367 | * objc/objc-act.h (objc_init): Update prototype. | |
13368 | ||
9dd04ab5 RS |
13369 | 2003-03-08 Roger Sayle <roger@eyesopen.com> |
13370 | ||
13371 | * emit-rtl.c (gen_lowpart): Don't attempt to load a part of | |
13372 | a complex or vector type, using a load in the original mode. | |
13373 | ||
62c9aa5f | 13374 | 2003-03-08 Jan Hubicka <jh@suse.cz> |
988d1653 JH |
13375 | |
13376 | * Makefile.in (cgraph.o): Depend on gt-cgraph.h and varray.h. | |
13377 | * gt-cgraph.h: New GC file. | |
13378 | * cgraph.c (known_fns): New static variable. | |
13379 | (cgraph_node): Add the decl into varray. | |
13380 | ||
73ba39fc HPN |
13381 | 2003-03-08 Hans-Peter Nilsson <hp@bitrange.com> |
13382 | ||
13383 | * config/mmix/mmix.md ("*movcc_expanded"): Add missing alternatives. | |
13384 | ||
3b684012 RE |
13385 | 2003-03-08 Richard Earnshaw <rearnsha@arm.com> |
13386 | ||
13387 | * arm.c (fpa_rhs_operand, fpa_add_operand, const_double_rtx_ok_for_fpa) | |
13388 | (neg_const_double_ok_for_fpa, output_mov_long_double_fpa_from_arm) | |
13389 | (output_mov_long_double_arm_from_fpa, output_mov_double_fpa_from_arm) | |
13390 | (output_mov_double_arm_from_fpa): Renamed to use fpa instead of fpu. | |
13391 | All callers changed. | |
13392 | * arm.md, arm.h, arm-protos.h: Updated. | |
13393 | ||
13394 | * arm.h (enum reg_class FPA_REGS): Renamed from FPU_REGS. | |
13395 | (CLASS_MAX_NREGS, REGISTER_MOVE_COST, REG_CLASS_FROM_LETTER): Updated. | |
13396 | * arm.c (arm_regno_class, f_register_operand): Updated. | |
13397 | ||
fa5848c7 HPN |
13398 | 2003-03-08 Hans-Peter Nilsson <hp@bitrange.com> |
13399 | ||
13400 | * config/cris/cris.h: Remove EGCS references. | |
1fe668e5 | 13401 | (CPP_SPEC): Remove "-$". |
fa5848c7 HPN |
13402 | (INIT_CUMULATIVE_ARGS): Adjust parameter name to FNDECL. |
13403 | ||
4555be98 NB |
13404 | 2003-03-08 Neil Booth <neil@daikokuya.co.uk> |
13405 | ||
13406 | * config/stormy16/stormy16.h (TARGET_CPU_CPP_BUILTINS): Use in | |
13407 | preference to CPP_PREDEFINES. | |
13408 | ||
39a91264 NB |
13409 | 2003-03-08 Neil Booth <neil@daikokuya.co.uk> |
13410 | ||
13411 | * cppinit.c (cpp_finish_options): Set first_unused_line to -1. | |
13412 | ||
9571a6b9 KH |
13413 | 2003-03-08 Kazu Hirata <kazu@cs.umass.edu> |
13414 | ||
13415 | * config/h8300/h8300.md (*extzv_16_8): New. | |
13416 | ||
62c9aa5f | 13417 | 2003-03-08 Jan Hubicka <jh@suse.cz> |
18d13f34 JH |
13418 | |
13419 | * c-decl.c: (finish_function): Update call of tree_inlinable_function_p. | |
13420 | * cgraph.h: (cgraph_local_info): Add can_inline_once | |
13421 | (cgraph_global_info): Add inline_once. | |
13422 | (cgraph_node): Add previous. | |
13423 | (cgraph_remove_node): New. | |
13424 | * cgraphunit.c (cgraph_mark_functions_to_inline_once): New static | |
13425 | function. | |
13426 | (cgraph_optimize): Call it. | |
13427 | (cgraph_finalize_function): Set inlinable flags. | |
13428 | (cgraph_finalize_compilation_unit): Actually remove the reclaimed nodes. | |
13429 | (cgraph_mark_functions_to_output): Use new inlining heuristics flags. | |
13430 | (cgraph_expand_function): Likewise. | |
52999738 | 13431 | * cgraph.c |
18d13f34 JH |
13432 | (cgraph_node): Put nodes into doubly linked chain. |
13433 | (cgraph_remove_node): New function. | |
13434 | * flags.h (flag_inline_functions_called_once): Declare. | |
13435 | * tree-inline.c: Include cgraph.h | |
13436 | (inlinable_functions_p): Add extra argument to bypass limits. | |
13437 | (expand_call_inline): Obey cgraph flag. | |
13438 | * tree-inline.h (tree_inlinable_function_p): Update prototype. | |
13439 | ||
72b8d451 ZD |
13440 | 2003-03-08 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
13441 | ||
13442 | * gcse.c (bypass_block, bypass_conditional_jumps): Do not create | |
13443 | irreducible loops. | |
13444 | ||
13445 | * loop-unroll.c (unroll_loop_runtime_iterations): Update irreducible | |
13446 | loops info correctly. | |
13447 | ||
ed97aa66 EB |
13448 | 2003-03-08 Eric Botcazou <ebotcazou@libertysurf.fr> |
13449 | ||
13450 | PR middle-end/7796 | |
13451 | * unroll.c (calculate_giv_inc): Handle constants being | |
13452 | loaded with LSHIFTRT. | |
13453 | ||
d7b53ca4 DE |
13454 | 2003-03-07 David Edelsohn <edelsohn@gnu.org> |
13455 | ||
13456 | * config/rs6000/rs6000.c (processor_target_table): Do not disable | |
13457 | GP optional instructions on Power3, Power4, 620, and 630. | |
13458 | ||
3dc575ff KH |
13459 | 2003-03-07 Kazu Hirata <kazu@cs.umass.edu> |
13460 | ||
13461 | * calls.c: Fix comment formatting. | |
13462 | * cfgloopanal.c: Likewise. | |
13463 | * cfgloopmanip.c: Likewise. | |
13464 | * combine.c: Likewise. | |
13465 | * dwarf2out.c: Likewise. | |
13466 | * ggc-common.c: Likewise. | |
13467 | * langhooks.c: Likewise. | |
13468 | * loop-unroll.c: Likewise. | |
13469 | * loop.c: Likewise. | |
13470 | * ra-build.c: Likewise. | |
13471 | * sbitmap.c: Likewise. | |
13472 | * toplev.c: Likewise. | |
13473 | ||
9bcd9715 JW |
13474 | 2003-03-07 James E Wilson <wilson@tuliptree.org> |
13475 | ||
ed97aa66 | 13476 | * config/sh/sh.h (HARD_REGNO_NREGS): Round up the XD register count. |
9bcd9715 | 13477 | |
6e5c4eaf GK |
13478 | 2003-03-07 Geoffrey Keating <geoffk@apple.com> |
13479 | ||
13480 | * objc/lang-specs.h (objective-c-header): Use .gch not .pch; | |
13481 | support -no-integrated-cpp. | |
13482 | ||
13483 | * c-pch.c (get_ident): Use c_language_kind and flag_objc rather | |
13484 | than langhooks.name. | |
13485 | ||
50aac998 MM |
13486 | 2003-03-07 Michael Matz <matz@suse.de> |
13487 | ||
13488 | * df.h (enum df_ref_flags.DF_REF_STRIPPED): New. | |
13489 | (DF_FOR_REGALLOC): New. | |
13490 | * df.c (df_ref_record): Set DF_REF_STRIPPED. | |
13491 | (read_modify_subreg_p): Simplify. | |
13492 | (df_def_record_1, df_uses_record): Set DF_REF_MODE_CHANGE more often. | |
13493 | Use DF_FOR_REGALLOC. | |
13494 | * ra.h (struct web): New member subreg_stripped. | |
13495 | (invalid_mode_change_regs): Declare. | |
13496 | * ra.c (invalid_mode_change_regs): New. | |
13497 | (init_ra): Initialize it. | |
13498 | * ra-build.c (init_one_web_common, remember_web_was_spilled): Use it. | |
13499 | Use CANNOT_CHANGE_MODE_CLASS as ifdef guard. | |
13500 | (reinit_one_web, parts_to_web_1): Deal with subreg_stripped. | |
13501 | * ra-colorize.c (colorize_one_web): Use invalid_mode_change_regs. | |
13502 | Use CANNOT_CHANGE_MODE_CLASS as ifdef guard. | |
13503 | ||
37f74dcf RE |
13504 | 2003-03-07 Richard Earnshaw <rearnsha@arm.com> |
13505 | ||
13506 | * arm.md (addsf3, adddf3, subsf3, subdf3, mulsf3, muldf3, negsf2) | |
13507 | (negdf2, abssi2, abssf2, absdf2, floatsisf2, floatsidf2) | |
13508 | (fix_truncsfsi2, fix_truncdfsi2, truncdfsf2): Moved back into main | |
13509 | machine description file from ... | |
13510 | * cirrus.md: ... here. | |
13511 | ||
203b3521 KH |
13512 | 2003-03-06 Kazu Hirata <kazu@cs.umass.edu> |
13513 | ||
13514 | * config/h8300/h8300.md (a peephole2): Don't use | |
13515 | reg_overlap_mentioned_p. | |
13516 | ||
8643e92d GK |
13517 | 2003-03-06 Geoffrey Keating <geoffk@apple.com> |
13518 | ||
13519 | * c-pch.c: Include langhooks.h. | |
13520 | (IDENT_LENGTH): New. | |
13521 | (get_ident): New. | |
13522 | (pch_ident): Delete. | |
13523 | (pch_init): Use get_ident, IDENT_LENGTH. | |
13524 | (c_common_valid_pch): Likewise. Also, use actual language | |
13525 | in warning message. | |
13526 | * Makefile.in (c-pch.o): Add langhooks.h to dependencies. | |
13527 | ||
13528 | * objc/config-lang.in (gtfiles): Add objc-act.c. Remove duplicate | |
13529 | c-parse.in. | |
13530 | * objc/Make-lang.in (objc/objc-act.o): Add dependency on | |
13531 | gt-objc-objc-act.h. | |
13532 | (gt-objc-objc-act.h): New rule. | |
13533 | * objc/lang-specs.h: Support PCH. | |
13534 | * objc/objc-act.c: Include gt-objc-objc-act.h. | |
13535 | (objc_add_static_instance): Move num_static_inst out, mark for PCH. | |
13536 | (build_selector_reference_decl): Move idx out, mark for PCH. | |
13537 | (build_class_reference_decl): Likewise. | |
13538 | (build_objc_string_decl): Move *_idx out, mark for PCH. | |
13539 | (build_tmp_function_decl): Move xxx out, mark for PCH. | |
13540 | ||
7f3d8013 DJ |
13541 | 2003-03-06 Dale Johannesen <dalej@apple.com> |
13542 | ||
13543 | * config/rs6000/rs6000.c (rs6000_binds_local_p): Consider | |
13544 | global functions for inlining on Darwin. | |
13545 | ||
14484a78 VM |
13546 | 2003-03-06 Vladimir Makarov <vmakarov@redhat.com> |
13547 | ||
13548 | * haifa-sched.c (schedule_block): Don't call reorder when sorting | |
13549 | is prohibited. | |
13550 | ||
9d10c9a9 NB |
13551 | 2003-03-06 Neil Booth <neil@daikokuya.co.uk> |
13552 | ||
13553 | * Makefile.in (c-ppoutput.o): Update. | |
13554 | * c-common.h (init_pp_output): New. | |
13555 | (preprocess_file): Update. | |
13556 | * c-lex.c (init_c_lex): Move mbchar initialization to cpplib. | |
13557 | Register builtins. | |
13558 | * c-opts.c (c_common_init): Call init_pp_output if preprocessing. | |
13559 | Make call to cpp_read_main_file common to whether preprocessing | |
13560 | or not. Don't register builtins. | |
13561 | * c-ppoutput.c: Include c-pragma.h. | |
13562 | (setup_callbacks): Rename init_pp_output. | |
13563 | (preprocess_file): No longer setup callbacks or call | |
13564 | cpp_read_main_file. | |
13565 | * cpphash.h (_cpp_init_mbchar): New. | |
13566 | * cppinit.c (init_library): Call _cpp_init_mbchar. | |
13567 | * cpplex.c (_cpp_init_mbchar): New. | |
13568 | ||
37f5242b RS |
13569 | 2003-03-06 Roger Sayle <roger@eyesopen.com> |
13570 | ||
13571 | * emit-rtl.c (gen_lowpart): When requesting the low-part of a | |
13572 | MEM, try loading the MEM into a register and taking the low-part | |
13573 | of that, to help CSE see the use of the MEM in its true mode. | |
13574 | ||
c876997f | 13575 | 2003-03-05 Tom Tromey <tromey@redhat.com> |
f3922fd2 DD |
13576 | |
13577 | * config/stormy16/stormy16.h (DWARF_LINE_MIN_INSTR_LENGTH): | |
13578 | Define. | |
13579 | ||
c876997f | 13580 | 2003-03-05 Nick Clifton <nickc@cambridge.redhat.com> |
f3922fd2 DD |
13581 | |
13582 | * config/stormy16/stormy16.md ("*eqbranchsi"): Remove '+' on | |
13583 | operand 2. | |
13584 | ("*ineqbranchsi"): Likewise. | |
13585 | ||
c876997f | 13586 | 2003-03-05 Andrew Haley <aph@cambridge.redhat.com> |
f3922fd2 DD |
13587 | |
13588 | * config/stormy16/stormy16.c (xstormy16_expand_prologue): Delete | |
13589 | mem_fake_push_rtx. Instead construct a SEQUENCE to show the | |
13590 | register store followed by a stack increment. | |
13591 | ||
c876997f | 13592 | 2003-03-05 Chris Moller <cmoller@redhat.com> |
f3922fd2 DD |
13593 | |
13594 | * config/stormy16/stormy16.c (REG_NEEDS_SAVE): added a term | |
13595 | to inhibit saving CARRY_REGS. | |
13596 | ||
13597 | * config/stormy16/stormy16.c (xs_hi_general_operand): | |
13598 | added predicate to detect and error-out on out-of-range | |
13599 | const_ints for movhi. | |
52999738 | 13600 | * config/stormy16/stormy16.md (movhi): use |
f3922fd2 DD |
13601 | xs_hi_general_operand. |
13602 | ||
13603 | * config/stormy16/stormy16.c (xstormy16_expand_prologue): | |
13604 | added a check for local vbl size overflow. | |
13605 | * config/stormy16/stormy16.c (xs_hi_nonmemory_operand): | |
13606 | added predicate to detect and error-out on out-of-range | |
13607 | const_ints for addhi and subhi. | |
52999738 | 13608 | * config/stormy16/stormy16.md (addhi3, addchi4, addchi5, |
f3922fd2 DD |
13609 | subhi3, subchi4, subchi5): used xs_hi_nonmemory_operand. |
13610 | ||
13611 | * config/stormy16/stormy16.c (xstormy16_legitimate_address_p): | |
13612 | add a term to accept PRE_MODIFY addresses. | |
13613 | * config/stormy16/stormy16.c (xstormy16_expand_move): | |
13614 | add code to expand PRE_MODIFY addresses to an add followed | |
13615 | by a move. | |
13616 | ||
4c28216d JM |
13617 | 2003-03-06 Jason Merrill <jason@redhat.com> |
13618 | ||
13619 | * tree-inline.c (inlinable_function_p): Revert earlier change | |
13620 | pending investigation. | |
13621 | ||
0135f343 KH |
13622 | 2003-03-06 Kazu Hirata <kazu@cs.umass.edu> |
13623 | ||
13624 | * config/h8300/h8300.md (a new peephole2): New. | |
13625 | ||
62c9aa5f | 13626 | 2003-03-06 Jan Hubicka <jh@suse.cz> |
5c2e00ee JH |
13627 | |
13628 | * cgraph.c (cgraph_node): Do not confuse nested functions and methods. | |
13629 | ||
323658ea ZD |
13630 | 2003-03-06 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
13631 | ||
13632 | * dwarf2out.c (size_of_die): Compute size of external reference to | |
13633 | die correctly. | |
13634 | ||
2b18b49b HPN |
13635 | 2003-03-06 Hans-Peter Nilsson <hp@bitrange.com> |
13636 | ||
13637 | * config/mmix/mmix.md ("*movcc_expanded"): New pattern. | |
13638 | ("movcc", "movcc_uns", "movcc_fp", "movcc_fpeq", "movcc_fun"): New | |
13639 | expanders. | |
13640 | ||
1a71a5b0 RS |
13641 | 2003-03-05 Roger Sayle <roger@eyesopen.com> |
13642 | ||
13643 | * expr.h (lang_expand_expr): Delete obsolete prototype. | |
13644 | ||
26d249eb KH |
13645 | 2003-03-05 Kazu Hirata <kazu@cs.umass.edu> |
13646 | ||
13647 | * emit-rtl.c (gen_highpart_mode): Fix a comment typo. | |
13648 | ||
8b41a8da KH |
13649 | 2003-03-05 Kazu Hirata <kazu@cs.umass.edu> |
13650 | ||
13651 | * config/h8300/h8300.md (a peephole2): Generalize to | |
13652 | accept a memory operand. | |
13653 | ||
62c9aa5f | 13654 | 2003-03-05 Olivier Hainque <hainque@act-europe.fr> |
39ee7fa9 OH |
13655 | |
13656 | * config/alpha/alpha.h (PRINT_OPERAND_PUNCT_VALID_P): Add '+'. | |
13657 | * config/alpha/alpha.c (print_operand, case '+'): New. | |
13658 | * config/alpha/alpha.md (call_osf_1_noreturn): Document and use. | |
13659 | (call_value_osf_1_noreturn): Likewise. | |
13660 | ||
62c9aa5f | 13661 | 2003-03-05 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
cda26058 RK |
13662 | |
13663 | * stmt.c (fixup_gotos): Change meaning of DONT_JUMP_IN. | |
13664 | (expand_end_bindings): Likewise. | |
13665 | ||
98857de8 JDA |
13666 | 2003-03-05 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
13667 | ||
13668 | * pa.md (return_external_pic): Add !TARGET_PA_20 to constraint. | |
13669 | (epilogue): Don't generate return_external_pic when emitting PA 2.0 | |
13670 | code. | |
13671 | ||
96714395 AH |
13672 | 2003-03-05 Aldy Hernandez <aldyh@redhat.com> |
13673 | ||
52999738 | 13674 | * doc/tm.texi: Document TARGET_DWARF_REGISTER_SPAN. |
96714395 | 13675 | |
52999738 | 13676 | * config/rs6000/rs6000.c (rs6000_dwarf_register_span): New. |
96714395 | 13677 | |
52999738 | 13678 | * hooks.c (hook_rtx_rtx_null): New. |
96714395 | 13679 | |
52999738 | 13680 | * hooks.h (hook_rtx_rtx_null): Protoize. |
96714395 | 13681 | |
52999738 ZW |
13682 | * target-def.h (TARGET_DWARF_REGISTER_SPAN): New macro. |
13683 | (TARGET_INITIALIZER): Add TARGET_DWARF_REGISTER_SPAN. | |
96714395 | 13684 | |
52999738 | 13685 | * target.h (struct gcc_target): Add dwarf_register_span. |
96714395 | 13686 | |
52999738 ZW |
13687 | * dwarf2out.c (multiple_reg_loc_descriptor): New. |
13688 | (one_reg_loc_descriptor): New. | |
13689 | (reg_loc_descriptor): Add support for values that span more than | |
13690 | one register. | |
96714395 | 13691 | |
62c9aa5f | 13692 | 2003-03-05 Jan Hubicka <jh@suse.cz> |
b255a036 JH |
13693 | |
13694 | * Makefile.in (calls.o, toplev.o alias.o): Depend on cgraph.h | |
13695 | * alias.c: Include cgraph.h | |
13696 | (mark_constant_function): Use cgraph_rtl_info. | |
13697 | * calls.c: Include cgraph.h | |
13698 | (flags_from_decl_or_type): Use cgraph_rtl_info to find pure and const | |
13699 | calls. | |
13700 | (expand_call): Use cgraph_rtl_info to set preferred stack boundary. | |
13701 | * cgraph.c (cgraph_rtl_info): New function. | |
13702 | * cgraph.h (cgraph_rtl_info): Declare | |
13703 | (cgraph_rtl_info): Likewise. | |
13704 | * function.h (struct function): Add recursive_call_emit. | |
13705 | * toplev.c: Include cgraph.h. | |
13706 | (rest_of_compilation): Set preferred_incoming_stack_boundary. | |
13707 | ||
0eb933a0 KH |
13708 | 2003-03-05 Kazu Hirata <kazu@cs.umass.edu> |
13709 | ||
13710 | * config/h8300/h8300.c (output_simode_bld): Clear the | |
13711 | destination first if possible. | |
13712 | * config/h8300/h8300.md (extzv_1_r_h8300hs): Add an | |
13713 | alternative. | |
13714 | (extzv_1_r_inv_h8300hs): Likewise. | |
13715 | ||
35b07080 ZD |
13716 | 2003-03-05 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
13717 | ||
13718 | * basic-block.h (EDGE_IRREDUCIBLE_LOOP, EDGE_ALL_FLAGS): New. | |
13719 | * cfg.c (dump_edge_info): Add EDGE_IRREDUCIBLE_LOOP flag dump. | |
13720 | * cfgloop.c (flow_loop_free): Made global. | |
13721 | (establish_preds): New static function. | |
13722 | (flow_loop_tree_node_add): Handle subloops of added loop correctly. | |
13723 | (get_loop_exit_edges): New. | |
13724 | (verify_loop_structure): Verify EDGE_IRREDUCIBLE_LOOP flags. | |
13725 | * cfgloop.h (flow_loop_free, get_loop_exit_edges, unloop): Declare. | |
13726 | * cfgloopanal.c (mark_irreducible_loops): Mark edges in irreducible | |
13727 | loops. | |
13728 | * cfgloopmanip.c (loop_delete_branch_edge): Allow to test for | |
13729 | removability of an edge. | |
13730 | (fix_irreducible_loops): New static function. | |
13731 | (find_path, remove_path): Add ability to remove enclosing loops. | |
13732 | (unloop): New. | |
13733 | (copy_bbs, duplicate_loop_to_header_edge): Use EDGE_IRREDUCIBLE_LOOP | |
13734 | flags. | |
13735 | * cfgrtl.c (verify_flow_info): Handle EDGE_IRREDUCIBLE_LOOP flag. | |
13736 | * loop-unroll.c (peel_loops_completely): Do not duplicate loop if | |
13737 | not neccessary. | |
13738 | (decide_peel_completely, peel_loops_completely): Allow complete peeling | |
13739 | of non-duplicable once rolling loops. | |
13740 | * loop-unswitch.c (unswitch_loop): Update EDGE_IRREDUCIBLE_LOOP flags. | |
13741 | ||
62c9aa5f | 13742 | 2003-03-05 J"orn Rennecke <joern.rennecke@superh.com> |
bb182d23 R |
13743 | |
13744 | * sh.h (OVERRIDE_OPTIONS): For TARGET_SHMEDIA, the minimum value | |
13745 | for align_jumps is 4. | |
13746 | ||
13747 | (SECONDARY_INPUT_RELOAD_CLASS): If reloading a PLUS into FPUL, | |
13748 | use GENERAL_REGS. | |
13749 | ||
f2d0440f SC |
13750 | 2003-03-05 Stephane Carrez <stcarrez@nerim.fr> |
13751 | ||
13752 | * config/m68hc11/m68hc11.h (PAD_VARARGS_DOWN): Define and return | |
13753 | according to va_arg type. | |
13754 | (EXPAND_BUILTIN_VA_ARG): Remove. | |
13755 | * config/m68hc11/m68hc11.c (m68hc11_va_arg): Remove. | |
13756 | * config/m68hc11/m68hc11-protos.h (m68hc11_va_arg): Remove. | |
13757 | ||
165b263e DE |
13758 | 2003-03-05 David Edelsohn <edelsohn@gnu.org> |
13759 | ||
13760 | * config/rs6000/rs6000.c (rs6000_variable_issue): Remove unnecessary | |
13761 | else clauses. | |
13762 | ||
8c38a24f MM |
13763 | 2003-03-05 Michael Matz <matz@suse.de> |
13764 | ||
13765 | * i386/i386.c (ix86_save_reg): Also test | |
13766 | current_function_uses_const_pool. | |
13767 | ||
336d0d96 MM |
13768 | 2003-03-05 Michael Matz <matz@suse.de> |
13769 | ||
13770 | * unwind.h: Add the GPL exception. | |
13771 | * Makefile.in (USER_H): Add unwind.h. | |
13772 | ||
be2fa211 EB |
13773 | 2003-03-05 Eric Botcazou <ebotcazou@libertysurf.fr> |
13774 | ||
13775 | PR c/9799 | |
13776 | * c-typeck.c (push_init_level): Add sanity check. | |
13777 | ||
62c9aa5f | 13778 | 2003-03-05 Jan Hubicka <jh@suse.cz> |
dafc5b82 JH |
13779 | |
13780 | * toplev.c (rest_of_compilation): Deffer RTL compilation only when | |
13781 | RTL inlining is done. | |
13782 | ||
13783 | * cgraphunit.c (cgraph_mark_local_functions): New local function. | |
13784 | (cgraph_optimize): Mark local functions. | |
13785 | * i386-protos.h (init_cumulative_args): Update prototype. | |
13786 | * i386.c (init_cumulative_args): Use register passing convention for | |
13787 | local functions. | |
13788 | ||
13789 | * cgraph.c (cgraph_global_info_ready): New global variable | |
13790 | (cgraph_local_info, cgraph_global_info): New functions. | |
13791 | * cgraph.h (struct cgraph_local_info, cgraph_global_info): New | |
13792 | structures. | |
13793 | (cgraph_local_info, cgraph_global_info, cgraph_global_info_ready): | |
13794 | Declare. | |
13795 | * cgraphunit.c (cgraph_finalize_function): Set inline_many. | |
13796 | (cgraph_mark_functions_to_output): Use inline_many. | |
13797 | (cgraph_expand_function): Free DECL_SAVED_TREE uncondtionally. | |
13798 | (cgraph_expand_functions): Expand inline functions last. | |
13799 | (cgraph_optimize): Do not emit uneeded functions. | |
13800 | ||
006c9f4a SE |
13801 | 2003-03-04 Steve Ellcey <sje@cup.hp.com> |
13802 | ||
13803 | * expr.c (convert_modes): Check for legal hard register. | |
13804 | ||
65ebbf81 TT |
13805 | 2003-03-04 Tom Tromey <tromey@redhat.com> |
13806 | ||
13807 | * doc/sourcebuild.texi (Front End Directory): Document tags. | |
13808 | * configure: Rebuilt. | |
13809 | * configure.in (target_list): Added tags. | |
13810 | * Makefile.in (TAGS): Depend on lang.clean. Include subdirectory | |
13811 | TAGS files by reference. | |
13812 | * objc/Make-lang.in (objc.tags): New target. | |
13813 | ||
ec4a0419 ZD |
13814 | 2003-03-04 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
13815 | ||
13816 | * gcov-io.h (gcov_save_position, gcov_reserve_length, gcov_resync, | |
13817 | gcov_skip, gcov_skip_string, gcov_write_unsigned, gcov_write_counter, | |
13818 | gcov_write_string, gcov_read_unsigned, gcov_read_counter, | |
13819 | gcov_read_string, gcov_write_length): Modified to enable reading/ | |
13820 | writing of whole .da file just once. | |
13821 | (da_file_open, da_file_close, da_file_eof, da_file_error, | |
13822 | da_file_position, da_file_seek, da_file_write, da_file_read): New | |
13823 | functions. | |
13824 | (actual_da_file, actual_da_file_position, actual_da_file_length, | |
13825 | actual_da_file_buffer, actual_da_file_buffer_size): New static | |
13826 | functions. | |
13827 | * libgcov.c (gcov_exit): Modified to read/write the whole .da file at | |
13828 | just once. | |
13829 | ||
13830 | ||
79dbeefc AS |
13831 | 2003-03-04 Andreas Schwab <schwab@suse.de> |
13832 | ||
13833 | * config/m68k/m68k.c (m68k_output_function_prologue): Fix CFA | |
13834 | offset without frame pointer. | |
13835 | ||
3ac1a319 SE |
13836 | 2003-03-04 Steve Ellcey <sje@cup.hp.com> |
13837 | ||
13838 | * expr.c (expand_expr): Call promote_mode to set unsignedp. | |
13839 | ||
db720d9a DJ |
13840 | 2003-03-04 Daniel Jacobowitz <drow@mvista.com> |
13841 | ||
13842 | * configure.in: Don't always define TARGET_SYSTEM_ROOT. | |
13843 | * configure: Regenerated. | |
13844 | * gcc.c: Check whether TARGET_SYSTEM_ROOT is defined. | |
13845 | ||
9a79ab7e AJ |
13846 | 2003-03-04 Andreas Jaeger <aj@suse.de> |
13847 | ||
13848 | * configure.in: Check for <memcheck.h>. | |
52999738 | 13849 | * configure: Regenerated. |
9a79ab7e AJ |
13850 | |
13851 | * config.in: Define HAVE_MEMCHECK_H. | |
13852 | ||
13853 | * ggc-common.c: Use <memcheck.h> if available instead of | |
13854 | <valgrind.h>. | |
13855 | * ggc-page.c: Likewise. | |
13856 | * cppfiles.c: Likewise. | |
13857 | ||
a8f0e848 KH |
13858 | 2003-03-04 Kazu Hirata <kazu@cs.umass.edu> |
13859 | ||
13860 | * config/h8300/h8300.md (*extzv_8_8): Fix cc and lengths. | |
13861 | ||
2ad1815d EB |
13862 | 2003-03-04 Eric Botcazou <ebotcazou@libertysurf.fr> |
13863 | ||
13864 | PR c/9262 | |
13865 | * c-typeck.c (do_case): Attach the first case label to the SWITCH_BODY. | |
13866 | (c_finish_case): Rechain the next statements to the SWITCH_STMT. | |
13867 | ||
62c9aa5f | 13868 | 2003-03-04 Jan Hubicka <jh@suse.cz> |
e2483ef7 JH |
13869 | |
13870 | * doc/invoke.texi: Document that unit-at-a-time is enabled for -O3 | |
13871 | * toplev.c (parse_options_and_default_flags): Enable flag_unit_at_a_time | |
13872 | for -O3. | |
13873 | ||
34a86c2b NN |
13874 | 2003-03-04 Nathanael Nerode <neroden@gcc.gnu.org> |
13875 | ||
13876 | * configure.in: Delete three unused variables. Move a variable | |
13877 | definition closer to its use. Simplify use_collect2 logic. Start to | |
13878 | organize. Simplify tests for in-tree gas and ld. | |
13879 | * configure: Regenerate. | |
13880 | ||
63973df3 NB |
13881 | 2003-03-04 Neil Booth <neil@daikokuya.co.uk> |
13882 | ||
13883 | * Makefile.in: Update. | |
13884 | * c-common.c (flag_no_line_commands, flag_no_output, | |
13885 | flag_dump_macros, flag_dump_includes): New. | |
13886 | * c-common.h (flag_no_line_commands, flag_no_output, | |
13887 | flag_dump_macros, flag_dump_includes, preprocess_file): New. | |
13888 | (init_c_lex): Update prototype. | |
13889 | * c-lex.c (init_c_lex): Update prototype; move some code to | |
13890 | c_common_init. | |
13891 | * c-opts.c (preprocess_file): Subsume into c_common_init. | |
13892 | (c_common_decode_option): Update flags. | |
13893 | (c_common_init): Move code from preprocess_file and init_c_lex. | |
13894 | (sanitize_cpp_opts): Update. | |
13895 | * c-ppoutput.c: New, cppmain.c almost verbatim. | |
13896 | * cpphash.h (struct printer): Remove. | |
13897 | (struct cpp_reader): Remove print. | |
13898 | * cpplib.h (dump_none, dump_only, dump_names, dump_definitions, | |
13899 | cpp_preprocess_file): Remove. | |
13900 | (struct cpp_options): Remove no_output, no_line_commands, dump_macros | |
13901 | and dump_includes. | |
13902 | * cppmain.c: Remove. | |
13903 | * doc/passes.texi: Update. | |
13904 | ||
95f3f59e JDA |
13905 | 2003-03-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
13906 | ||
13907 | * function.c (STACK_ALIGNMENT_NEEDED): New macro. Default to 1. | |
13908 | (assign_stack_local_1): Perform overall stack alignment only when | |
6356f892 | 13909 | STACK_ALIGNMENT_NEEDED is nonzero. |
95f3f59e JDA |
13910 | * doc/tm.texi (STACK_ALIGNMENT_NEEDED): Document. |
13911 | ||
13912 | * pa.c (compute_frame_size): Rename fsize to size. Account for | |
13913 | alignment to a word boundary before general register save block. Only | |
13914 | account for double-word alignment before floating point register save | |
13915 | block if one or more are saved. Don't allocate space for %r3 when | |
13916 | frame pointer is needed. | |
13917 | (hppa_expand_prologue): Include alignment to word boundary in local | |
13918 | frame size. | |
13919 | * pa.h (STARTING_FRAME_OFFSET): Define to 8 on both 32 and 64-bit ports. | |
13920 | (STACK_ALIGNMENT_NEEDED): Define. | |
13921 | ||
234c071b KB |
13922 | 2003-03-04 Kevin Buettner <kevinb@redhat.com> |
13923 | ||
13924 | * dwarf2out.c (rtl_for_decl_location): Don't return NULL_RTX for | |
13925 | global register variables. | |
13926 | ||
f12448c8 AO |
13927 | 2003-03-04 Alexandre Oliva <aoliva@redhat.com> |
13928 | ||
13929 | * reload.c (reload_adjust_reg_for_mode): New function. | |
13930 | (subst_reloads): Call it. | |
13931 | (operands_match_p): Adjust registers using HARD_REGNO_NREGS. | |
13932 | * reload.h (reload_adjust_reg_for_mode): Declare. | |
13933 | * reload1.c (emit_input_reload_insns, emit_output_reload_insns): | |
13934 | Call it. | |
13935 | ||
f9d36a92 JW |
13936 | 2003-03-03 James E Wilson <wilson@tuliptree.org> |
13937 | ||
13938 | * optabs.c (add_equal_note): Delete SUBREG_REG use. | |
13939 | Fixes PR c/7872. | |
13940 | ||
8dfb356f KH |
13941 | 2003-03-03 Kazu Hirata <kazu@cs.umass.edu> |
13942 | ||
13943 | * config/h8300/h8300.md (*ixorsi3_ashift_16): New. | |
13944 | (*ixorsi3_lshiftrt_16): New. | |
13945 | (*iorsi3_ashift_16): Remove. | |
13946 | ||
0d9bf032 KH |
13947 | 2003-03-03 Kazu Hirata <kazu@cs.umass.edu> |
13948 | ||
13949 | * config/h8300/h8300.md (*extzv_8_8): Use '?' to simplify the | |
13950 | pattern. | |
13951 | ||
b89a3806 GK |
13952 | 2003-03-03 Geoffrey Keating <geoffk@apple.com> |
13953 | ||
13954 | * doc/install.texi (Specific): Update entry for powerpc-darwin. | |
13955 | ||
568d661d RH |
13956 | 2003-03-03 Richard Henderson <rth@redhat.com> |
13957 | ||
13958 | * config/ia64/ia64.h (HAVE_AS_LTOFFX_LDXMOV_RELOCS): Default to 0. | |
13959 | ||
3317bab1 DE |
13960 | 2003-03-03 David Edelsohn <edelsohn@gnu.org> |
13961 | ||
13962 | * config/rs6000/rs6000.c (rs6000_multipass_dfa_lookahead): Delete. | |
13963 | (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD): Delete. | |
13964 | (rs6000_variable_issue): Do not return negative value. | |
13965 | (rs6000_issue_rate): Uniformly set issue rate to 1 for first | |
13966 | scheduling pass. | |
13967 | ||
03275f81 ZD |
13968 | 2003-03-03 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
13969 | ||
13970 | * dwarf2out.c (dwarf2out_finish): Swap order of break_out_includes and | |
13971 | prune_unused_types calls. | |
13972 | ||
d1a74aa7 JM |
13973 | 2003-03-03 Jason Merrill <jason@redhat.com> |
13974 | ||
13975 | * tree-inline.c (find_builtin_longjmp_call): Save and restore | |
13976 | lineno and input_filename. | |
13977 | (find_alloca_call): Likewise. | |
13978 | (inlinable_function_p): Run the langhook earlier. | |
13979 | ||
13980 | * calls.c (compute_argument_addresses): Give the new MEMs a | |
13981 | minimum alignment of PARM_BOUNDARY. | |
13982 | ||
62c9aa5f | 13983 | 2003-03-03 J"orn Rennecke <joern.rennecke@superh.com> |
d44cc404 R |
13984 | |
13985 | * config/sh/sh.h (EXTRA_SPECS): Add subtarget_asm_relax_spec and | |
13986 | subtarget_asm_isa_spec. | |
13987 | (SUBTARGET_ASM_RELAX_SPEC, SUBTARGET_ASM_ISA_SPEC): Define. | |
13988 | (ASM_SPEC): Define as SH_ASM_SPEC. | |
13989 | (SH_ASM_SPEC): New; take the role of ASM_SPEC, but safe from svr4.h. | |
13990 | Use subtarget_asm_relax_spec and subtarget_asm_isa_spec. | |
13991 | * config/sh/elf.h (ASM_SPEC): Use SH_ASM_SPEC. | |
13992 | (SUBTARGET_ASM_ISA_SPEC): Undef / define. | |
10f4f635 R |
13993 | |
13994 | * sh.h (OVERRIDE_OPTIONS): Set default values for align_loops | |
13995 | and align_jumps if not set. | |
13996 | Force align_jumps to be at least 2. | |
13997 | When relaxing, force align_functions to be at least the maximum of | |
13998 | align_loops, align_jumps and 4. | |
13999 | * sh.c (find_barrier, barrier_align): Honour align_jumps_log. | |
14000 | (sh_loop_align): Honour align_loops_log. | |
14001 | ||
14002 | * sh.md (length attribute): Use prev_nonnote_insn instead of PREV_INSN | |
14003 | to check for indirect_jump_scratch. | |
14004 | (indirect_jump_scratch): Add second set. | |
14005 | * sh.c (output_far_jump): Use prev_nonnote_insn instead of PREV_INSN | |
14006 | when looking for indirect_jump_scratch. | |
14007 | Extract scratch register taking new structure of indirect_jump_scratch | |
14008 | into account. | |
14009 | (gen_block_redirect): Set INSN_SCOPE for indirect_jump_scratch. | |
14010 | ||
62c9aa5f | 14011 | 2003-03-03 Jan Hubicka <jh@suse.cz> |
f7da1e9a | 14012 | |
09e2bf48 JH |
14013 | * calls.c (rtx_for_function_call): Take the address as an argument |
14014 | (expand_call): Do not modify the expression. | |
14015 | ||
f7da1e9a JH |
14016 | * toplev.c (rest_of_compilation): Avoid cfg_cleanup calls when not |
14017 | optimizing. | |
14018 | ||
426ace7f KH |
14019 | 2003-03-03 Kazu Hirata <kazu@cs.umass.edu> |
14020 | ||
14021 | * config/h8300/h8300.md (*ixorsi3_zext_hi): Restrict to | |
14022 | TARGET_H8300H and TARGET_H8300S. | |
14023 | ||
6967a126 KH |
14024 | 2003-03-03 Kazu Hirata <kazu@cs.umass.edu> |
14025 | ||
14026 | * config/h8300/h8300.md (a peephole2): New. | |
14027 | ||
1f7e8790 KH |
14028 | 2003-03-03 Kazu Hirata <kazu@cs.umass.edu> |
14029 | ||
14030 | * config/h8300/h8300.md (*extzv_8_8): Use shorter code when | |
14031 | operands[0] and operands[1] are different. | |
14032 | ||
14033 | 2003-03-03 Kazu Hirata <kazu@cs.umass.edu> | |
2807791e KH |
14034 | |
14035 | * reload1.c (reload_cse_move2add): Remove variable success. | |
14036 | ||
a2581175 KG |
14037 | 2003-03-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
14038 | ||
14039 | * ggc-common.c (ggc_rlimit_bound): Cast RLIM_INFINITY to avoid | |
14040 | warnings. | |
14041 | ||
ef1ecf87 RH |
14042 | 2003-03-02 Richard Henderson <rth@redhat.com> |
14043 | ||
14044 | * configure.in (HAVE_AS_LTOFFX_LDXMOV_RELOCS): New ia64 test. | |
14045 | * config.in, configure: Rebuild. | |
14046 | * config/ia64/ia64.c (ia64_ld_address_bypass_p): Accept lo_sum. | |
9a79ab7e | 14047 | * config/ia64/ia64.md (load_symptr): Use high/lo_sum for the |
ef1ecf87 RH |
14048 | paired ldtoffx and ldxmov annotations. |
14049 | (load_symptr_internal1): Remove. | |
14050 | (load_symptr_high, load_symptr_low): New. | |
14051 | ||
82f6e3eb NB |
14052 | 2003-03-02 Neil Booth <neil@daikokuya.co.uk> |
14053 | ||
14054 | * c-incpath.c (add_path): Fix sysp assignment. | |
14055 | ||
bc522472 KG |
14056 | 2003-03-02 Kurt Garloff <garloff@suse.de> |
14057 | ||
14058 | * params.def: Introduce parameter max-inline-insns-rtl for | |
14059 | a separate limit for the RTL inliner. | |
14060 | * params.h: Likewise. | |
14061 | * integrate.c (function_cannot_inline_p): Use it. | |
9a79ab7e | 14062 | * toplev.c (decode_f_option): Set multiple parameters |
bc522472 KG |
14063 | controlling inlining with -finline-limit. |
14064 | * params.def: Fix orthographic and typographic errors. | |
14065 | * doc/invoke.texi: Document parameters controlling inlining | |
14066 | and the way -finline-limit sets multiple of them. | |
14067 | ||
14068 | * tree.h (struct tree_decl): Introduce inlined_function_flag, | |
14069 | recording whether the function became eligible for inlining | |
14070 | by a compiler flag rather than the declaration. | |
14071 | Provide DID_INLINE_FUNC macro to access it. | |
14072 | * c-decl.c (grokdeclarator): Set DID_INLINE_FUNC. | |
14073 | * cp/decl.c (grokfndecl): Likewise. | |
14074 | * toplev.c (rest_of_compilation): Likewise. | |
14075 | * cp/optimize (maybe_clone_body): Copy DID_INLINE_FUNC. | |
14076 | * print-tree.c (print_node): Report it. | |
14077 | * params.def: Introduce new max-inline-insns-auto limit. | |
14078 | * params.h: Likewise. | |
14079 | * tree-inline.c (inlinable_function_p): Apply it to functions | |
14080 | with DID_INLINE_FUNC set. | |
14081 | * toplev.c (decode_f_option): Initialize it from -finline-limit | |
14082 | value. | |
14083 | * doc/invoke.texi: Document new parameter. | |
14084 | ||
b9f4b20a GK |
14085 | 2003-03-02 Geoffrey Keating <geoffk@apple.com> |
14086 | ||
14087 | * fix-header.c (read_scan_file): Don't reference simplify_path. | |
14088 | ||
97d322cc SC |
14089 | 2003-03-02 Stephane Carrez <stcarrez@nerim.fr> |
14090 | ||
14091 | * config/m68hc11/m68hc11.c (m68hc11_override_options): Don't enable | |
14092 | min/max instructions by default as may result in reload errors. | |
14093 | ||
65fb64fe SC |
14094 | 2003-03-02 Stephane Carrez <stcarrez@nerim.fr> |
14095 | ||
14096 | * config/m68hc11/m68hc11.md ("mulqi3"): Allow address register to | |
14097 | avoid reload problems; define split for it. | |
14098 | ||
b45e9837 SC |
14099 | 2003-03-02 Stephane Carrez <stcarrez@nerim.fr> |
14100 | ||
14101 | * config/m68hc11/m68hc11.c (m68hc11_shift_operator): New function. | |
14102 | * config/m68hc11/m68hc11-protos.h (m68hc11_shift_operator): Declare. | |
14103 | * config/m68hc11/m68hc11.h (PREDICATE_CODES): Register. | |
9a79ab7e | 14104 | * config/m68hc11/m68hc11.md ("rotrhi3", "rotlhi3"): New patterns for |
b45e9837 SC |
14105 | rotatert and rotate. |
14106 | ("rotrhi3_const", "rotlhi3_const"): Rename of old 'rotrhi3' insns. | |
14107 | ("*rotrhi3", "*rotlhi3"): New insn pattern for non-const rotatert. | |
14108 | ("*rotrhi3_addr"): New split for shift insns on address register. | |
14109 | ("*lshrhi3", "*ashrhi3", "*ashlhi3_2"): Use new split. | |
14110 | * config/m68hc11/larith.asm (___rotlhi3): New asm function. | |
14111 | (___rotrhi3): Likewise. | |
14112 | * config/m68hc11/t-m68hc11-gas (LIB1ASMFUNCS): Build them. | |
14113 | ||
b1cbe78c NB |
14114 | 2003-03-02 Neil Booth <neil@daikokuya.co.uk> |
14115 | ||
14116 | * toplev.c (aux_base_name): Moved from toplev.h. | |
14117 | (filename): Constify. | |
14118 | (lang_dependent_init): Don't duplicate name. | |
14119 | (process_options): Set aux_base_name here, not... | |
14120 | (do_compile): ...here. Change protoype. | |
14121 | (toplev_main): Move some code from do_compile. | |
14122 | * toplev.h: Remove aux_base_name. | |
14123 | ||
b059c02a KH |
14124 | 2003-03-02 Kazu Hirata <kazu@cs.umass.edu> |
14125 | ||
14126 | * config/h8300/h8300-protos.h: Add a prototype for | |
14127 | iorxor_operator. | |
14128 | * config/h8300/h8300.c (print_operand): Handle 'c'. | |
14129 | (iorxor_operator): New. | |
14130 | * config/h8300/h8300.h (PREDICATE_CODES): Add iorxor_operator. | |
14131 | * config/h8300/h8300.md (*iorhi3_zext): Remove. | |
14132 | (*iorsi3_zexthi): Likewise. | |
14133 | (*iorsi3_zextsi): Likewise. | |
14134 | (*xorhi3_zextqi): Likewise. | |
14135 | (*xorsi3_zexthi): Likewise. | |
14136 | (*xorsi3_zextsi): Likewise. | |
14137 | (*ixorhi3_zext): New. | |
14138 | (*ixorsi3_zext_qi): Likewise. | |
14139 | (*ixorsi3_zext_hi): Likewise. | |
14140 | ||
986b1f13 NB |
14141 | 2003-03-02 Neil Booth <neil@daikokuya.co.uk> |
14142 | ||
14143 | * c-incpath.c (remove_component_p, simplify_path): Move back to | |
14144 | cppfiles.c. | |
14145 | (remove_duplicates): Use cpp_simplify_path. | |
14146 | * c-incpath.h (simplify_path): Remove. | |
14147 | * c-lex.c: Don't include c-incpath.h. | |
14148 | (init_c_lex): Remove simplify_path. | |
14149 | * cppfiles.c (remove_component_p, cpp_simplify_path): Restore. | |
14150 | (find_or_create_entry, validate_pch): Revert. | |
14151 | ||
8a035a6b AH |
14152 | 2003-03-02 Ashif Harji <asharji@uwaterloo.ca> |
14153 | ||
14154 | * gcc.c (default_compilers): Add -no-integrated-cpp flag to invoke | |
14155 | an external cpp during compilation. | |
14156 | (option_map): Likewise. | |
14157 | * objc/lang-specs.h (default_compilers): Similarly. | |
14158 | * doc/invoke.texi: Document -no-integrated-cpp flag. | |
14159 | ||
23cdb465 KH |
14160 | 2003-03-02 Kazu Hirata <kazu@cs.umass.edu> |
14161 | ||
14162 | * config/h8300/h8300.md (zero_extendqisi2): Change to an | |
14163 | expander. | |
14164 | (*zero_extendqisi2_h8300): New. | |
14165 | (*zero_extendqisi2_h8300hs): New. | |
14166 | (two splitters): New. | |
14167 | ||
29efb633 KG |
14168 | 2003-03-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
14169 | ||
14170 | * fp-bit.h (float_to_usi): Fix condition wrapping prototype. | |
14171 | ||
36bf3f1b KH |
14172 | 2003-03-01 Kazu Hirata <kazu@cs.umass.edu> |
14173 | ||
14174 | * config/h8300/h8300.md (a peephole2): Remove dead code. | |
14175 | ||
08291658 RS |
14176 | 2003-03-01 Roger Sayle <roger@eyesopen.com> |
14177 | ||
14178 | PR c++/9367 | |
14179 | * builtin-types.def (DEF_FUNCTION_TYPE_VAR_3): New macro. | |
14180 | (BT_FN_INT_CONST_STRING_VALIST_ARG, | |
14181 | BT_FN_INT_STRING_CONST_STRING_VALIST_ARG, | |
14182 | BT_FN_INT_CONST_STRING_CONST_STRING_VALIST_ARG, | |
14183 | BT_FN_INT_STRING_SIZE_CONST_STRING_VALIST_ARG, | |
14184 | BT_FN_INT_STRING_CONST_STRING_VAR, | |
14185 | BT_FN_INT_CONST_STRING_CONST_STRING_VAR, | |
14186 | BT_FN_INT_STRING_SIZE_CONST_STRING_VAR): New built-in types. | |
14187 | * builtin-attrs.def (ATTR_NONNULL_1, ATTR_NONNULL_2, | |
14188 | ATTR_NONNULL_3): Also include the nothrow attribute. | |
14189 | (sprintf, scanf, sscanf, vprintf, vsprintf, snprintf, | |
14190 | vsnprintf, vscanf, vsscanf): Don't define attributes here. | |
14191 | * builtins.def (putchar, puts): Make full C89 built-ins. | |
14192 | (snprintf, sprintf, scanf, sscanf, vprintf, vscanf, | |
14193 | vsscanf, vsnprintf, vsprintf): New built-ins. | |
14194 | * c-common.c (c_common_nodes_and_builtins): Handle new macro | |
14195 | DEF_FUNCTION_TYPE_VAR_3. | |
14196 | ||
14197 | * doc/extend.texi: Document these new built-in functions. | |
14198 | ||
e5258f85 KH |
14199 | 2003-03-01 Kazu Hirata <kazu@cs.umass.edu> |
14200 | ||
14201 | * config/h8300/h8300.md (a peephole2): New. | |
14202 | ||
85bb9c2a RE |
14203 | 2003-03-01 Richard Earnshaw <rearnsha@arm.com> |
14204 | ||
14205 | * predict.c (estimate_bb_frequencies): Correctly set | |
14206 | real_values_initialized after initialization. | |
14207 | ||
5793b276 NB |
14208 | 2003-03-01 Neil Booth <neil@daikokuya.co.uk> |
14209 | ||
14210 | * Makefile.in (C_AND_OBJC_OBJS, c-incpath.o, c-lex.o, LIBCPP_OBJS, | |
14211 | cppinit.o, cppdefault.o, fix-header): Update. | |
14212 | * c-incpath.c: New file. | |
14213 | * c-incpath.h: New file. | |
14214 | * c-lex.c: Include c-incpath.h. | |
14215 | (init_c_lex): Register path simplifier. | |
14216 | * c-opts.c: Include cppdefault.h and c-incpath.h. | |
14217 | (TARGET_SYSTEM_ROOT, verbose, iprefix, sysroot, std_inc, | |
14218 | std_cxx_inc, quote_chain_split, add_prefixed_path): New. | |
14219 | (COMMAND_LINE_OPTIONS): Add more options from cpplib. | |
14220 | (missing_arg, c_common_decode_option): Handle them. | |
14221 | (c_common_post_options): Register include chains. | |
14222 | (print_help): Update. | |
14223 | * cppdefault.h (struct default include): Update. | |
14224 | Move some macros to ... | |
14225 | * cppdefault.c: ... here. | |
14226 | (cpp_include_defaults): Add extra field add_sysroot. | |
14227 | * cppfiles.c (include_file, search_from, find_or_create_entry, | |
14228 | cpp_included, find_include_file, remap_filename): Update for | |
14229 | renaming of search_path to cpp_path, and of the chain headers. | |
14230 | (remove_component_p, _cpp_simplify_pathname): Move to c-incpath.c. | |
14231 | * cpphash.h (struct search_path): Move to cpplib.h. | |
14232 | (struct cpp_buffer, struct cpp_reader): Update. | |
14233 | (_cpp_simplify_pathname): Remove. | |
14234 | * cppinit.c: Don't include prefix.h and cppdefault.h. | |
14235 | (INO_T_EQ, INO_T_COPY, path_include, append_include_chain, | |
14236 | remove_dup_dir, remove_dup_nonsys_dirs, remove_dup_dirs, | |
14237 | init_standard_includes, BRACKET, SYSTEM, AFTER, no_dir, | |
14238 | no_pth, cpp_handle_options): Remove. | |
14239 | (struct pending_option): Remove chain members. | |
14240 | (cpp_destroy, cpp_read_main_file, COMMAND_LINE_OPTIONS, | |
14241 | cpp_handle_option): Update. | |
14242 | * cpplib.h (struct cpp_path, cpp_set_include_chains): New. | |
14243 | (struct cpp_options): Remove quote_include, bracket_include, | |
14244 | include_prefix, include_prefix_len, verbose, ignore_srcdir, | |
14245 | no_standard_includes, no_standard_cplusplus_includes. | |
14246 | (struct cpp_callbacks): Add simplify_path. | |
14247 | (cpp_handle_options): Remove. | |
14248 | * fix-header.c: Include c-incpath.h. | |
14249 | (read_scan_file): Update to use c-incpath functionality. | |
14250 | * doc/passes.texi: Update. | |
14251 | ||
6620997b KH |
14252 | 2003-03-01 Kazu Hirata <kazu@cs.umass.edu> |
14253 | ||
14254 | * config/h8300/h8300.c (bit_operand): Accept MEM only if it | |
14255 | satisfies EXTRA_CONSTRAINT 'U'. | |
14256 | ||
82b4dc2e KH |
14257 | 2003-03-01 Kazu Hirata <kazu@cs.umass.edu> |
14258 | ||
14259 | * config/h8300/h8300.md (*tst_extzv_bitqi_1_n): Take a scratch | |
14260 | register. | |
14261 | (*tst_extzv_memqi_1_n): Change to a splitter. | |
14262 | (a peephole2): Update. | |
14263 | ||
c4f6b78e RE |
14264 | 2003-03-01 Richard Earnshaw <rearnsha@arm.com> |
14265 | ||
14266 | * predict.c (estimate_bb_frequencies): Initialize the sreal | |
14267 | constants once per compilation. | |
14268 | ||
9552a3e3 RH |
14269 | 2003-02-28 Richard Henderson <rth@redhat.com> |
14270 | ||
14271 | * toplev.c (flag_eliminate_unused_debug_types): Enable by default. | |
14272 | ||
73c68f61 SS |
14273 | 2003-02-28 scott snyder <snyder@fnal.gov> |
14274 | ||
14275 | * flags.h: Add flag_eliminate_unused_debug_types. | |
14276 | * toplev.c: Add flag_eliminate_unused_debug_types. | |
14277 | (f_options): Add -feliminate-unused-debug-types. | |
14278 | * dwarf2out.c (struct file_table): Add emitted member. | |
14279 | (splice_child_die): Fix the parent pointer for the child being | |
14280 | spliced. | |
14281 | (lookup_filename): Maintain file_table.emitted array. Don't | |
14282 | output .file directive here. | |
14283 | (maybe_emit_file): (new) | |
14284 | (init_file_table): Set up file_table.emitted. | |
14285 | (dwarf2out_source_line): Use maybe_emit_file. | |
14286 | (dwarf2out_start_source_file): Use maybe_emit_file. | |
14287 | (dwarf2out_init): Use maybe_emit_file. | |
14288 | (prune_unused_types_walk_attribs): (new) | |
14289 | (prune_unused_types_mark): (new) | |
14290 | (prune_unused_types_walk): (new) | |
14291 | (prune_unused_types_prune): (new) | |
14292 | (prune_unused_types): (new) | |
14293 | (dwarf2out_finish): Call prune_unused_types if | |
14294 | flag_eliminate_unused_debug_types is set. | |
14295 | * doc/invoke.texi (Option Summary): Add | |
14296 | -feliminate-unused-debug-types. | |
14297 | (Debugging Options): Likewise. | |
14298 | ||
d8fad4ea GK |
14299 | 2003-02-28 Geoffrey Keating <geoffk@apple.com> |
14300 | ||
14301 | * doc/invoke.texi: Change .pch to .gch. | |
14302 | * cppfiles.c (open_file_pch): Likewise. | |
14303 | * gcc.c (default_compilers): Likewise. | |
14304 | ||
9855905c AH |
14305 | 2003-02-28 Aldy Hernandez <aldyh@redhat.com> |
14306 | ||
52999738 | 14307 | * floatlib.c: Remove. |
9855905c | 14308 | |
3695c25f JM |
14309 | 2003-02-28 Jason Merrill <jason@redhat.com> |
14310 | ||
14311 | * stor-layout.c (variable_size): Leave a "minus 1" outside the | |
14312 | SAVE_EXPR. | |
14313 | ||
f8f0e566 DE |
14314 | 2003-02-28 David Edelsohn <edelsohn@gnu.org> |
14315 | ||
14316 | * config/rs6000/power4.md: Add compare bypass. | |
14317 | ||
35501efe JT |
14318 | 2003-02-28 Jason Thorpe <thorpej@wasabisystems.com> |
14319 | ||
14320 | * config/netbsd.h: Update copyright years. | |
14321 | (NETBSD_CPP_SPEC): Define _REENTRANT and _PTHREADS if | |
14322 | -pthread is specified on the command line. | |
14323 | ||
8f7ee471 DJ |
14324 | 2003-02-28 Dale Johannesen <dalej@apple.com> |
14325 | ||
52999738 | 14326 | * loop.c (struct movable): Add insert_temp, shrink savemode. |
8f7ee471 | 14327 | (scan_loop): Accept invariants that require copying; mark as |
52999738 | 14328 | insert_temp. |
8f7ee471 DJ |
14329 | (combine_movables): Don't combine insert_temp movables. |
14330 | (move_movables): Insert copies for insert_temp movables. | |
14331 | Don't record the info based on regno for insert_temp's. | |
14332 | ||
67c2b45f JS |
14333 | 2003-02-28 Joel Sherrill <joel@OARcorp.com> |
14334 | ||
14335 | PR 9638/other | |
9a79ab7e | 14336 | * config/i386/i386.c (DEFAULT_PCC_STRUCT_RETURN): Ensure the |
67c2b45f JS |
14337 | this constant defaults to 1. |
14338 | ||
066f1538 BW |
14339 | 2003-02-28 Bob Wilson <bob.wilson@acm.org> |
14340 | ||
14341 | * config.gcc (xtensa-*-linux*): Add t-slibgcc-elf-ver to tmake_file. | |
14342 | ||
b8c53e96 RE |
14343 | 2003-02-28 Richard Earnshaw <rearnsha@arm.com> |
14344 | ||
9a79ab7e | 14345 | * arm.md (mulhisi3, mulhisi3addsi, mulhidi3adddi): Enable for any |
b8c53e96 RE |
14346 | ARMv5e processor, not just for XScale. Instructions are predicable. |
14347 | (mulhisi3tb, mulhisi3bt, mulhisi3tt): New patterns for ARMv5e. | |
14348 | ||
b93828f3 NC |
14349 | 2003-02-28 Nick Clifton <nickc@redhat.com> |
14350 | ||
14351 | * config/arm/arm.c (note_invalid_constants): Change parameter type | |
14352 | from bool to int. | |
14353 | ||
3c042316 KH |
14354 | 2003-02-28 Kazu Hirata <kazu@cs.umass.edu> |
14355 | ||
14356 | * config/h8300/h8300.md (*tst_extzv_bitqi_1_n): Accept the | |
14357 | test of bit 7. | |
14358 | (*tst_extzv_memqi_1_n): Likewise. | |
14359 | (a peephole2): New. | |
14360 | ||
c876997f | 14361 | 2003-02-28 Richard Sandiford <rsandifo@redhat.com> |
28727f1f RS |
14362 | |
14363 | * config/mips/mips.h (CRT_CALL_STATIC_FUNCTION): Wrap in | |
14364 | #ifndef __mips16. | |
14365 | ||
62c9aa5f | 14366 | 2003-02-28 Jan Hubicka <jh@suse.cz> |
10a3fdd9 JH |
14367 | |
14368 | * combine.c (gen_lowpart_for_combine): Update handling of | |
14369 | subregs_of_mode | |
14370 | * flow.c (life_analysis, mark_used_regs): Likewise. | |
14371 | * regclass.c (subregs_of_mode): Turn into single bitmap. | |
14372 | (cannot_change-mode_set_regs, invalid_mode_change_p): Update | |
14373 | dealing with subregs_of_mode | |
14374 | * regs.h (subregs_of_mode): Update prototype. | |
14375 | ||
9d18e06b JZ |
14376 | 2003-02-28 Josef Zlomek <zlomekj@suse.cz> |
14377 | ||
14378 | * emit-rtl.c (set_reg_attrs_for_parm): New function. | |
14379 | * rtl.h (set_reg_attrs_for_parm): New exported function. | |
14380 | * function.c (assign_parms): Use set_reg_attrs_for_parm instead of | |
14381 | set_reg_attrs_from_mem. | |
14382 | ||
95456d43 RS |
14383 | 2003-02-27 Roger Sayle <roger@eyesopen.com> |
14384 | Zack Weinberg <zack@codesourcery.com> | |
14385 | ||
14386 | * gcc.c (do_spec_1): Treat %U like %u for unique associations. | |
14387 | ||
28ae9fed KH |
14388 | 2003-02-27 Kazu Hirata <kazu@cs.umass.edu> |
14389 | ||
14390 | * reload1.c (sext_for_mode): Remove. | |
14391 | (reload_cse_move2add): Use trunc_int_for_mode instead of | |
14392 | sext_for_mode. | |
14393 | (move2add_note_store): Likewise. | |
14394 | Reset register information if we see a set in non-integer | |
14395 | mode. | |
14396 | ||
d47719fd DE |
14397 | 2003-02-27 David Edelsohn <edelsohn@gnu.org> |
14398 | ||
30e7f17e DE |
14399 | * config/rs6000/aix43.h (ASM_SPEC): Only emit -mppc64 if no -mcpu |
14400 | option. | |
14401 | (ASM_CPU_SPEC): Use -m620 for Power3, Power4, 620, 630. | |
14402 | * config/rs6000/aix51.h: Same. | |
14403 | * config/rs6000/aix52.h: Same. | |
d47719fd DE |
14404 | * config/rs6000/power4.md: Additional VMX bypasses. |
14405 | ||
7a69a172 GB |
14406 | 2003-02-27 Geert Bosch <bosch@gnat.com> |
14407 | ||
14408 | * toplev.c (print_version): Add indentation for GGC heuristics and | |
14409 | output after printing version information. | |
14410 | ||
678e68fc JW |
14411 | 2003-02-27 James E Wilson <wilson@tuliptree.org> |
14412 | ||
14413 | * combine.c (simplify_comparison): Require integral mode when | |
14414 | permuting SUBREG with AND. | |
14415 | ||
986704f1 SE |
14416 | 2003-02-27 Steve Ellcey <sje@cup.hp.com> |
14417 | ||
14418 | * config/ia64/hpux.h (STARTFILE_PREFIX_SPEC): Remove. | |
14419 | ||
1e3af7f6 NC |
14420 | 2003-02-27 Nick Clifton <nickc@redhat.com> |
14421 | ||
14422 | * config/arm/arm.md (extendsfdf2): Add pattern accidentally | |
14423 | deleted when cirrus instructions were added. | |
14424 | ||
51b7c247 JT |
14425 | 2003-02-27 Jason Thorpe <thorpej@wasabisystems.com> |
14426 | ||
14427 | * config.gcc (*-*-netbsd[2-9]*, *-*-netbsdelf[2-9]*): Enable | |
14428 | POSIX thread support by default. | |
14429 | ||
3eae722d RS |
14430 | 2003-02-27 Roger Sayle <roger@eyesopen.com> |
14431 | ||
14432 | * config/i386/cygwin.h: Don't include any other files directly. | |
14433 | * config/i386/mingw32.h: Don't include cygwin.h directly. | |
14434 | * config.gcc (cygwin, mingw32, uwin): Instead make these files | |
14435 | explicit in the tm_files variable. | |
14436 | ||
6fc19dc9 AM |
14437 | 2003-02-27 Alan Modra <amodra@bigpond.net.au> |
14438 | ||
14439 | * config/rs6000/rs6000.md: Add TI constant splitter. | |
14440 | ||
c41536f5 AO |
14441 | 2003-02-26 Alexandre Oliva <aoliva@redhat.com> |
14442 | ||
65c04548 AO |
14443 | * builtins.c (purge_builtin_constant_p): Handle subreg of |
14444 | constant_p_rtx too. | |
14445 | ||
c41536f5 AO |
14446 | * function.c (assign_stack_local_1): Truncate constant added to |
14447 | frame_pointer_rtx or virtual_stack_vars_rtx for Pmode. | |
14448 | ||
dccd5213 DE |
14449 | 2003-02-26 David Edelsohn <edelsohn@gnu.org> |
14450 | ||
14451 | * config.gcc: Add power4 to PowerPC with_cpu list. | |
14452 | ||
62c9aa5f | 14453 | 2003-02-26 Jan Hubicka <jh@suse.cz> |
47a5d8e7 JH |
14454 | |
14455 | * objc-act.c: (mark_referenced_methods): Fix compilation problem. | |
14456 | ||
cb9e4555 ZD |
14457 | 2003-02-26 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
14458 | ||
14459 | * gcov-dump.c (print_prefix): Fix signedness warning. | |
14460 | * gcov-io.h (struct counter_section, struct counter_section_data): New. | |
14461 | (struct function_info): n_arc_counts field removed, n_counter_sections, | |
14462 | counter_sections fields added. | |
14463 | (struct gcov_info): arc_counts, n_arc_counts fields removed, | |
14464 | n_counter_sections, counter_sections fields added. | |
14465 | * libgcov.c (gcov_exit, __gcov_flush): Add support for multiple | |
14466 | profile sections. | |
14467 | * profile.h (MAX_COUNTER_SECTIONS): New. | |
14468 | (struct section_info): New. | |
14469 | (struct profile_info): count_instrumented_edges, | |
14470 | count_edges_instrumented_now fields removed, n_sections, section_info | |
14471 | fields added. | |
14472 | (find_counters_section): Declare. | |
14473 | * profile.c (struct function_list): count_edges field removed, | |
14474 | n_counter_sections, counter_sections fields added. | |
14475 | (set_purpose, label_for_tag, build_counter_section_fields, | |
14476 | build_counter_section_value, build_counter_section_data_fields, | |
14477 | build_counter_section_data_value, build_function_info_fields, | |
14478 | build_function_info_value, build_gcov_info_fields, | |
14479 | build_gcov_info_value): New static functions. | |
14480 | (find_counters_section): New function. | |
14481 | (instrument_edges, get_exec_counts, compute_branch_probabilities, | |
14482 | branch_prob, create_profiler): Modified to support multiple profile | |
14483 | sections. | |
14484 | ||
b0d7ef9a JDA |
14485 | 2003-02-26 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
14486 | ||
14487 | * pa.c (compute_frame_size): Don't assume PREFERRED_STACK_BOUNDARY | |
14488 | is 8 * STACK_BOUNDARY. | |
14489 | * pa.h (PREFERRED_STACK_BOUNDARY): Change to 128 on 64-bit port. | |
14490 | ||
f6e91562 MM |
14491 | 2003-02-26 Michael Matz <matz@suse.de> |
14492 | ||
14493 | * ra-colorize.c (merge_moves): Fix list handling. | |
14494 | ||
f0375c66 NC |
14495 | 2003-02-26 Nick Clifton <nickc@redhat.com> |
14496 | ||
14497 | * config/arm/arm.c (is_load_address): Rename to... | |
52999738 ZW |
14498 | (arm_memory_load_p) ... this and make it check for SUBREGs and |
14499 | constant loads that will be converted into loads from the | |
14500 | minipool. | |
14501 | (is_cirrus_insn): Rename to ... | |
14502 | (arm_cirrus_insn_p): ... this, for consistency. Replace test | |
14503 | of CIRRUS_NO with CIRRUS_NOT. | |
14504 | (cirrus_reorg): Use renamed functions. | |
14505 | (note_invalid_constants): Change from a void function to bool. | |
14506 | Add an extra parameter, saying whether the fixups should be | |
14507 | pushed. Return true if fixups are needed. | |
14508 | (arm_reorg): Use renamed functions. Use INSN_P. Replace test | |
14509 | of CIRRUS_NO with CIRRUS_NOT. | |
14510 | * config/arm/arm.h (FLOAT_WORDS_BIG_ENDIAN): Mention that | |
14511 | other floating point co-processors can also affect this. | |
14512 | * config/arm/arm.md ("type" attribute): Add mav_farith and | |
14513 | mav_dmult. Replace references to "cirrus_type" attribute with | |
14514 | "type". | |
14515 | * config/arm/cirrus.md ("cirrus_fpu" attribute): Delete. | |
14516 | ("cirrus_type" attribute): Delete - use "type" instead. | |
14517 | ("cirrus" attribute): Replace 'no' with 'not' and 'yes' with | |
14518 | 'normal'. | |
f0375c66 | 14519 | |
62c9aa5f | 14520 | 2003-02-25 Jan Hubicka <jh@suse.cz> |
0d446150 JH |
14521 | |
14522 | * objc-act.c: Include cgraph.h | |
14523 | (mark_referenced_methods): New function. | |
14524 | (objc_init): Call it. | |
14525 | * objc-lang.c (LANG_HOOKS_CALLGRAPH_EXPAND_FUNCTION): Set. | |
14526 | ||
14527 | * c-decl.c (finish_function): Honor can_defer_p even in unit-at-a-time | |
14528 | mode. | |
14529 | ||
14530 | * optabs.c (expand_fix): Do not widen the input operand. | |
14531 | ||
14532 | * expr.c (emit_group_store): Fix crash when converting single | |
14533 | register into complex register. | |
14534 | ||
14535 | * Makefile.in (jump.o, regclass.o, alias.o): Add dependency on timevar.h | |
14536 | * alias.c: Include timevar.h | |
14537 | (init_alias_analysis): Set timevar | |
14538 | * jump.c: Include timevar.h | |
14539 | (rebuild_jump_labels): Set timevar | |
14540 | * regcalss.c: Include timevar.h | |
14541 | (reg_scan): Set timevar | |
14542 | * timevar.def (TV_ALIAS_ANALYSIS, TV_REG_SCAN, TV_REBUILD_JUMP): New | |
14543 | ||
b17d5d7c ZD |
14544 | 2003-02-26 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
14545 | ||
14546 | * cse.c (count_reg_usage): Fix handling of REG_EQUAL notes. | |
14547 | ||
14548 | * Makefile.in (loop-unroll.o): New. | |
14549 | * cfgloop.h (UAP_PEEL, UAP_UNROLL, UAP_UNROLL_ALL): New. | |
14550 | (unroll_and_peel_loops): Declare. | |
14551 | * alias.c (init_alias_analysis): Flag_unroll_loops renamed to | |
14552 | flag_old_unroll_loops. | |
14553 | * loop.c (loop_invariant_p): Ditto. | |
14554 | * unroll.c (unroll_loop): Flag_unroll_all_loops renamed to | |
14555 | flag_old_unroll_all_loops. | |
14556 | * flags.h (flag_unroll_loops): Renamed to flag_old_unroll_loops. | |
14557 | (flag_unroll_all_loops): Renamed to flag_old_unroll_all_loops. | |
14558 | * params.def (PARAM_MAX_UNROLLED_INSNS): Default value changed. | |
14559 | (PARAM_MAX_AVERAGE_UNROLLED_INSNS, PARAM_MAX_UNROLL_TIMES, | |
14560 | PARAM_MAX_PEELED_INSNS, PARAM_MAX_PEEL_TIMES, | |
14561 | PARAM_MAX_COMPLETELY_PEELED_INSNS, PARAM_MAX_COMPLETELY_PEEL_TIMES, | |
14562 | PARAM_MAX_ONCE_PEELED_INSNS): New. | |
14563 | * toplev.h (flag_old_unroll_loops, flag_old_unroll_all_loops): New. | |
14564 | (flag_unroll_loops, flag_unroll_all_loops): Used for new unroller | |
14565 | instead of old one. | |
14566 | (flag_peel_loops): New. | |
14567 | (lang_independent_options): The new flags added. | |
14568 | (rest_of_compilation): Call new unroller. | |
14569 | (process_options): Setup flags for coexistence of old and new unroller. | |
14570 | * doc/invoke.texi: Document new options. | |
14571 | * doc/passes.texi: Document new unroller pass. | |
14572 | ||
244f7aa9 DB |
14573 | 2003-02-26 David Billinghurst <David.Billinghurst@riotinto.com> |
14574 | ||
14575 | * fixinc/fixincl.x: Regenerate | |
14576 | ||
1d14f992 JZ |
14577 | 2003-02-26 Josef Zlomek <zlomekj@suse.cz> |
14578 | ||
14579 | * function.c (assign_parms): Set reg_attrs for parameters passed in | |
14580 | registers. | |
14581 | ||
8ace9f18 AM |
14582 | 2003-02-26 Alan Modra <amodra@bigpond.net.au> |
14583 | ||
38a84391 | 14584 | PR target/9681 |
8ace9f18 AM |
14585 | * tlink.c (scan_linker_output): Drop leading '.' from symbol names. |
14586 | ||
9a29ee42 DE |
14587 | 2003-02-25 David Edelsohn <edelsohn@gnu.org> |
14588 | ||
14589 | * config/rs6000/xcoff.h (ASM_FILE_START): Do not emit machine | |
14590 | pseudo-op. | |
14591 | ||
8beccec8 RS |
14592 | 2003-02-25 Roger Sayle <roger@eyesopen.com> |
14593 | ||
14594 | * combine.c (combine_simplify_rtx, simplfy_comparison): Use CC0_P. | |
14595 | * cse.c (invalidate_skipped_set): Likewise. | |
14596 | * integrate.c (subst_constants): Likewise. | |
14597 | * jump.c (reversed_comparison_code_parts): Likewise. | |
14598 | * loop.c (canonicalize_condition): Likewise. | |
14599 | * simplify-rtx.c (simplify_relational_operation): Likewise. | |
14600 | ||
b052d8ee RS |
14601 | 2003-02-25 Roger Sayle <roger@eyesopen.com> |
14602 | ||
14603 | * builtins.def (DEF_LIB_ALWAYS_BUILTIN, DEF_UNUSED_BUILTIN): Delete. | |
14604 | (abs, labs, fabs, fabsf, fabsl, abort, exit, _exit, _Exit): Use | |
14605 | the appropriate macro to define built-in function. | |
14606 | (fmod,fmodf,fmodl): New built-in functions. | |
14607 | ||
14608 | * doc/extend.texi (fmod,fmodf,fmodl): Document new built-ins. | |
14609 | ||
8d454008 RH |
14610 | 2003-02-25 Richard Henderson <rth@redhat.com> |
14611 | ||
14612 | * config/i386/i386.c (function_arg): Pass variable sized | |
14613 | structures correctly on the stack. | |
14614 | ||
fc943f55 KH |
14615 | 2003-02-25 Kazu Hirata <kazu@cs.umass.edu> |
14616 | ||
14617 | * reload1.c (reload_cse_move2add): Use STRICT_LOW_PART if PLUS | |
14618 | does not reduce the cost of SET. | |
14619 | ||
14f00213 FS |
14620 | 2003-02-25 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
14621 | ||
14622 | PR target/9732 | |
14623 | * config/rs6000/rs6000.c (first_reg_to_save): Handle | |
14624 | PIC_OFFSET_TABLE_REGNUM for -fPIC too. | |
14625 | (rs6000_emit_prologue): Likewise. | |
14626 | (rs6000_emit_epilogue): Likewise. | |
14627 | * config/rs6000/rs6000.h (CONDITIONAL_REGISTER_USAGE): Make | |
14628 | PIC_OFFSET_TABLE_REGNUM a fixed register for -fPIC. | |
14629 | ||
8164b171 RH |
14630 | 2003-02-25 Richard Henderson <rth@redhat.com> |
14631 | ||
14632 | * real.c (real_to_integer2): Force overflow result only for | |
14633 | unsigned overflow. | |
14634 | ||
9e48c409 KH |
14635 | 2003-02-25 Kazu Hirata <kazu@cs.umass.edu> |
14636 | ||
14637 | * gcse.c (cprop_jump): Revert the 2003-02-23 change. | |
14638 | ||
3044064c | 14639 | 2003-02-25 Vladimir Makarov <vmakarov@toke.toronto.redhat.com> |
52999738 | 14640 | Richard Henderson <rth@redhat.com> |
3044064c VM |
14641 | |
14642 | * sched-ebb.c (add_deps_for_risky_insns): Add the dependence when | |
4e21585b | 14643 | there is no similar load. |
3044064c | 14644 | |
15aab9c0 | 14645 | 2003-02-25 Vladimir Makarov <vmakarov@redhat.com> |
52999738 | 14646 | Richard Henderson <rth@redhat.com> |
15aab9c0 VM |
14647 | |
14648 | * sched-int.h (INSN_TRAP_CLASS, WORST_CLASS): Move them from | |
14649 | sched-rgn.c. | |
14650 | (add_forward_dependence): New function prototype. | |
14651 | ||
14652 | * sched-rgn.c (INSN_TRAP_CLASS, WORST_CLASS): Move them to | |
14653 | sched-init.h. | |
14654 | (CONST_BASED_ADDRESS_P, may_trap_exp, haifa_classify_insn): Move | |
14655 | them to haifa-sched.c. | |
14656 | ||
14657 | * haifa-sched.c (CONST_BASED_ADDRESS_P, may_trap_exp, | |
14658 | haifa_classify_insn): Move them from sched-rgn.c. | |
14659 | ||
14660 | * sched-deps.c (add_dependence): Return flag of creating a new | |
14661 | entry. | |
14662 | (add_forward_dependence): New function. | |
14663 | (compute_forward_dependences): Use the function. | |
9a79ab7e | 14664 | |
15aab9c0 VM |
14665 | * sched-ebb.c (earliest_block_with_similiar_load): New function. |
14666 | (add_deps_for_risky_insns): New function. | |
14667 | (schedule_ebb): Call the function. | |
14668 | ||
14669 | 2003-02-20 Aldy Hernandez <aldyh@redhat.com> | |
c8e4f0e9 | 14670 | |
52999738 ZW |
14671 | * doc/tm.texi: Document Rename TARGET_VECTOR_TYPES_COMPATIBLE to |
14672 | TARGET_VECTOR_OPAQUE_P. Document accordingly. | |
c8e4f0e9 | 14673 | |
52999738 ZW |
14674 | * testsuite/gcc.dg/20030218-1.c: Check that initialization of |
14675 | opaque types fail. | |
c8e4f0e9 | 14676 | |
52999738 ZW |
14677 | * c-typeck.c (comptypes): Change call to vector_types_compatible |
14678 | to vector_opaque_p. | |
14679 | (convert_for_assignment): Call vector_opaque_p instead of | |
14680 | vector_types_compatible. | |
14681 | (really_start_incremental_init): Disallow initialization of opaque | |
14682 | types. | |
c8e4f0e9 | 14683 | |
52999738 ZW |
14684 | * target-def.h: Remove TARGET_VECTOR_TYPES_COMPATIBLE. |
14685 | Define TARGET_VECTOR_OPAQUE_P. | |
14686 | (TARGET_INITIALIZER): Same. | |
c8e4f0e9 | 14687 | |
52999738 ZW |
14688 | * target.h (struct gcc_target): Remove vector_types_compatible. |
14689 | Add vector_opaque_p. | |
c8e4f0e9 | 14690 | |
52999738 ZW |
14691 | * config/rs6000/rs6000.c (rs6000_spe_vector_types_compatible): |
14692 | Remove. | |
14693 | (is_ev64_opaque_type): Check for TARGET_SPE and make sure type is | |
14694 | a vector type. Change return type to bool. | |
14695 | (TARGET_VECTOR_TYPES_COMPATIBLE): Remove. | |
14696 | (TARGET_VECTOR_OPAQUE_P): Define. | |
c8e4f0e9 | 14697 | |
52999738 ZW |
14698 | * cp/parser.c (cp_parser_init_declarator): Call vector_opaque_p |
14699 | target hook. | |
14700 | Include target.h. | |
14701 | (cp_parser_init_declarator): Fix typo in function comments. | |
c8e4f0e9 | 14702 | |
62c9aa5f | 14703 | 2003-02-25 Jan Hubicka <jh@suse.cz> |
fa1a0d02 JH |
14704 | |
14705 | * Makefile.in (lcm.o): Add dependency on function.h | |
14706 | * lcm.c (function.h): Include. | |
14707 | * i386.c (machine_function, ix86_stack_locals, | |
14708 | * ix86_save_varrargs_registers) : Move to | |
14709 | ... | |
14710 | * i386.h (machine_function, ix86_stack_locals, | |
14711 | ix86_save_varrargs_registers): ... here; add optimize_mode_switching | |
14712 | (ix86_optimize_mode_switching): New. | |
14713 | * i386.md (fix patterns): Set ix86_optimize_mode_switching | |
14714 | ||
b103bfef NC |
14715 | 2003-02-25 Nick Clifton <nickc@redhat.com> |
14716 | ||
14717 | * config/d30v/d30v.c (d30v_init_cumulative_args): Fix typo. Name | |
14718 | of fourth arg is 'fndecl' not 'indirect'. Update comment | |
14719 | describing the function's parameters. | |
14720 | ||
62c9aa5f | 14721 | 2003-02-24 Jan Hubicka <jh@suse.cz> |
2d21f7d6 JH |
14722 | |
14723 | * combine.c (simplify_shift_const): Fix previous patch. | |
14724 | ||
2bac97f7 JL |
14725 | 2003-02-24 Jeff Law <law@redhat.com> |
14726 | ||
14727 | * i386.md (testdi_1_rex64): Discourage reload from using the %eax | |
14728 | alternative. | |
14729 | (testsi_1, testhi_1, testqi_1): Likewise. | |
14730 | ||
f8dc212b RO |
14731 | 2003-02-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
14732 | ||
14733 | * config/alpha/osf.h (TARGET_OS_CPP_BUILTINS): Rename | |
14734 | __EXTERN_PREFIX to __PRAGMA_EXTERN_PREFIX. | |
14735 | * doc/extend.texi (Tru64 Pragmas): Reflect this. | |
14736 | ||
14737 | * fixinc/inclhack.def (alpha___extern_prefix): Indicate #pragma | |
9a79ab7e | 14738 | extern_prefix support for Tru64 UNIX V5 <sys/stat.h>. |
f8dc212b RO |
14739 | * fixinc/fixincl.x: Regenerate. |
14740 | * fixinc/tests/base/sys/stat.h [ALPHA___EXTERN_PREFIX_CHECK]: New | |
14741 | testcase. | |
14742 | Fixes PR c/5059, c/6126, other/9671. | |
9a79ab7e | 14743 | |
44ee6e9e RS |
14744 | 2003-02-24 Roger Sayle <roger@eyesopen.com> |
14745 | ||
14746 | * gcc.c (do_spec_1) ['{']: Handle pending argument upon return | |
14747 | from handle_braces in "%{...}". | |
14748 | ||
463f02cd KK |
14749 | 2003-02-24 Kaz Kojima <kkojima@gcc.gnu.org> |
14750 | ||
14751 | * config/sh/sh.c (TARGET_HAVE_TLS): Conditionally define. | |
14752 | (prepare_move_operands): Handle TLS operands. | |
14753 | (tls_symbolic_operand): New. | |
14754 | (nonpic_symbol_mentioned_p): Handle TLS UNSPECs. | |
14755 | (legitimize_pic_address): Do nothing for the TLS symbol. | |
14756 | (sh_encode_section_info): Handle TLS case. | |
14757 | (sh_strip_name_encoding): Drop TLS encoding. | |
14758 | * config/sh/sh-protos.h (tls_symbolic_operand): Add prototype. | |
14759 | * config/sh/sh.h (SH_TLS_ENCODING): Define. | |
14760 | (TLS_SYMNAME_P, STRIP_TLS_ENCODING): Likewise. | |
14761 | (ASM_OUTPUT_LABELREF): Drop TLS encoding. | |
14762 | (OUTPUT_ADDR_CONST_EXTRA): Handle TLS UNSPECs. | |
14763 | * config/sh/sh.md: Define TLS UNSPEC constants. | |
14764 | (type): Add tls_load. | |
14765 | ("tls_global_dynamic", "tls_local_dynamic"): New insns. | |
14766 | ("sym2DTPOFF", "symDTPOFF2reg", "sym2GOTTPOFF"): New expanders. | |
14767 | ("tls_initial_exec"): New insn. | |
14768 | ("sym2TPOFF", "symTPOFF2reg"): New expanders. | |
14769 | ("load_gbr"): New insn. | |
14770 | ||
14771 | * configure.in (HAVE_AS_TLS): Add sh-*-* and sh[34]*-*-* cases. | |
52999738 | 14772 | * configure: Regenerate. |
463f02cd | 14773 | |
8403445a AM |
14774 | 2003-02-24 Alan Modra <amodra@bigpond.net.au> |
14775 | ||
6fc19dc9 | 14776 | PR 9297, PR 9722 |
8403445a AM |
14777 | * calls.c (store_one_arg): Revert 1999-02-16 change. Revert |
14778 | 2000-12-17 change. Pass EXPAND_STACK_PARM to expand_expr. | |
14779 | * expr.h (enum expand_modifier): Define EXPAND_STACK_PARM. | |
14780 | (enum block_op_methods): Reorder for better store_expr optimization. | |
14781 | * expr.c (store_expr): Test bit 1 of "want_value" for call param | |
14782 | stores, test bit 0 for original want_value meaning. Pass | |
14783 | BLOCK_OP_CALL_PARM to emit_block_move when bit 1 set. Adjust | |
14784 | recursive calls, and calls to expand_param. | |
14785 | (expand_expr): Handle EXPAND_STACK_PARM modifier. When cse | |
14786 | expected, set target to 0 rather than to subtarget. Formatting. | |
14787 | ||
ef906381 KH |
14788 | 2003-02-23 Kazu Hirata <kazu@cs.umass.edu> |
14789 | ||
14790 | * gcse.c (cprop_jump): Use the REG_EQUAL note if available. | |
14791 | ||
16226f1e KG |
14792 | 2003-02-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
14793 | ||
14794 | * doc/invoke.texi (ggc-min-expand, ggc-min-heapsize): Document | |
14795 | new default behavior. | |
14796 | * ggc-common.c: Include sys/resource.h. | |
14797 | (ggc_rlimit_bound): New function. | |
14798 | (ggc_min_expand_heuristic, ggc_min_heapsize_heuristic): Update | |
14799 | defaults to account for rlimits. | |
14800 | ||
9e555526 RH |
14801 | 2003-02-22 Richard Henderson <rth@redhat.com> |
14802 | ||
14803 | * i386.c, i386.h (TUNEMASK): Rename from CPUMASK. | |
14804 | ||
14805 | 2003-02-22 Kelley Cook <kelley@dwhoops.info> | |
14806 | ||
52999738 | 14807 | * i386.h, i386.c, i386.md (ix86_tune): Rename from ix86_cpu. |
9e555526 RH |
14808 | (ix86_tune_string): Rename from ix86_cpu_string. |
14809 | ||
9d913bbf KC |
14810 | 2003-02-22 Kelley Cook <kelleycook@comcast.net> |
14811 | ||
52999738 ZW |
14812 | * config/i386/i386.c: Replace "mcpu" with "mtune". |
14813 | * config/i386/i386.h (TARGET_OPTIONS): Likewise. | |
14814 | (CC1_CPU_SPEC): Likewise. New warning for "-mcpu". | |
14815 | * doc/invoke.texi (i386 and x86-64 Options): Replace "mcpu" | |
14816 | with "mtune". Note that "mcpu" is a deprecated synonym for "mtune". | |
9d913bbf | 14817 | |
d2c172bf AS |
14818 | 2003-02-23 Andreas Schwab <schwab@suse.de> |
14819 | ||
14820 | * config.gcc: Delete references to m68k/t-linux and | |
14821 | m68k/t-linux-aout. | |
14822 | * config/m68k/t-linux, config/m68k/t-linux-aout: Removed. | |
14823 | ||
62c9aa5f | 14824 | 2003-02-22 Jan Hubicka <jh@suse.cz> |
b3de7382 JH |
14825 | |
14826 | * toplev.c (rest_of_compilation): Apply fotgotten hunk | |
14827 | of track scheduling patch. | |
14828 | ||
62c9aa5f | 14829 | 2003-02-22 Jan Hubicka <jh@suse.cz> |
90b8be73 JH |
14830 | |
14831 | * config/linux.h (TARGET_HAS_F_SETLKW): Define. | |
14832 | * config/alpha/linux.h (TARGET_HAS_F_SETLKW): Likewise | |
14833 | ||
62c9aa5f | 14834 | 2003-02-22 Jan Hubicka <jh@suse.cz> |
764c4414 JH |
14835 | |
14836 | * c-decl.c (c_expand_body_1): Fix. | |
14837 | ||
62c9aa5f | 14838 | 2003-02-22 Jan Hubicka <jh@suse.cz> |
1c4a429a JH |
14839 | |
14840 | * expmed.c (expand_divmod): Undo sign extensions for unsigned operands | |
14841 | ||
14842 | * cfgcleanup.c (try_forward_edges): Don't check loop structures | |
14843 | when not optimizing. | |
14844 | (cleanup_cfg): Do not iterate trought delete_trivially_dead_insns | |
14845 | when not expensive. | |
14846 | * toplev.c (rest_of_compilation): Duplicate loop headers only when | |
14847 | optimizing; Delete trivially dead insns early; fix optimize check. | |
14848 | ||
14849 | * Makefile.in (c-decl.o, c-objc-common.o, cgraph.o, tree-inline.o): Add | |
14850 | dependency on cgraph.h | |
14851 | * c-decl.c: Include cgraph.h | |
14852 | (finish_function): Update call of tree_inlinable_function_p. | |
14853 | * c-objc-common.c: Include cgraph.h | |
14854 | * cgraph.h: New file. | |
14855 | * cgraphunit.c: New file. | |
14856 | * cgraph.c (cgraph_node, cgraph_edge): Move into cgraph.h | |
14857 | (cgraph_nodes, cgraph_n_nodes): Globalize. | |
14858 | (cgraph_finalize_function, cgraph_finalize_compilation_unit | |
14859 | cgraph_create_edges, cgraph_optimize, cgraph_mark_needed_node): | |
14860 | Move into cgraphunit.c | |
14861 | * tree-inline.c: Include cgraph.h | |
14862 | * tree-inline.c: Include cgraph.h | |
14863 | ||
1e2115dc JZ |
14864 | 2003-02-22 Josef Zlomek <zlomekj@suse.cz> |
14865 | ||
14866 | * config/i386/i386.md: Use gen_lowpart instead of gen_rtx_REG | |
14867 | for copying a register. | |
14868 | ||
26182e15 SB |
14869 | 2003-02-22 Steven Bosscher <s.bosscher@student.tudelft.nl> |
14870 | ||
14871 | PR other/3782 | |
14872 | * toplev.c (process_options): If flag_detailed_statistics is set, | |
14873 | then set time_report as well. | |
14874 | ||
b6553814 SB |
14875 | PR c/8828 |
14876 | * jump.c (never_reached_warning): Don't fall through BARRRIER | |
26182e15 SB |
14877 | insns. Update comments to reflect what the function really does. |
14878 | ||
c0a47a61 RS |
14879 | 2003-02-21 Roger Sayle <roger@eyesopen.com> |
14880 | ||
14881 | * fold-const.c (omit_one_operand): No longer static. | |
14882 | * tree.h (omit_one_operand): Prototype here. | |
14883 | (div_and_round_double): Keep fold-const.c prototypes together. | |
14884 | * builtins.c (builtin_mathfn_code): Handle binary built-in | |
14885 | funtions, such as "pow" and "atan2". | |
14886 | (fold_builtin): Optimize both pow(x,0.0) and pow(1.0,y) to 1.0. | |
14887 | Simplify optimizations using "type" the builtin's return type. | |
14888 | ||
51928907 HPN |
14889 | 2003-02-22 Hans-Peter Nilsson <hp@axis.com> |
14890 | ||
5b296d93 HPN |
14891 | * config/cris/cris.c (cris_rtx_costs): Blockify dangling else. |
14892 | Fix functionalization typo. | |
14893 | ||
51928907 HPN |
14894 | * regmove.c (optimize_reg_copy_1): Do not replace a hard register |
14895 | in an asm. | |
14896 | ||
9ac121af KG |
14897 | 2003-02-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
14898 | ||
14899 | * Makefile.in (ggc-common.o): Depend on $(PARAMS_H) | |
14900 | * doc/invoke.texi (ggc-min-expand, ggc-min-heapsize): Update | |
14901 | documentation. | |
14902 | * ggc-common.c: Include params.h | |
14903 | (ggc_min_expand_heuristic, ggc_min_heapsize_heuristic, | |
14904 | init_ggc_heuristics): New functions. | |
14905 | * ggc.h (ggc_min_expand_heuristic, ggc_min_heapsize_heuristic, | |
14906 | init_ggc_heuristics): Prototype. | |
14907 | * toplev.c (print_version): Output GGC heuristics. | |
14908 | (parse_options_and_default_flags): Call init_ggc_heuristics. | |
14909 | ||
62c9aa5f | 14910 | 2003-02-22 Jan Hubicka <jh@suse.cz> |
453ee231 JH |
14911 | |
14912 | * i386.c (def_builtin): Special case 64bit builtins. | |
14913 | (MASK_SSE164, MASK_SSE264): New constants. | |
14914 | (builtin_description): Add 64bit builtins. | |
14915 | (ix86_init_mmx_sse_builtins): Likewise. | |
14916 | * i386.h (enum ix86_builtins): Likewise. | |
14917 | * i386.md (cvtss2siq, cvttss2siq, cvtsd2siq, cvttsd2siq, cvtsi2sdq, | |
14918 | sse2_movq2dq_rex64, sse2_movsq2q_rex64): New. | |
14919 | (sse2_movq2dq, sse2_movsq2q): Disable for 64bit. | |
14920 | * mmintrin.h (_mm_cvtsi64x_si64, _mm_set_pi64x, _mm_cvtsi64_si64x): New. | |
14921 | * xmmintrin.h (_mm_cvtss_si64x, _mm_cvttss_si64x, _mm_cvtsi64x_ss, | |
14922 | _mm_set_epi64x, _mm_set1_epi64x, _mm_cvtsd_si64x, _mm_cvttsd_si64x, | |
14923 | _mm_cvtsi64x_sd, _mm_cvtsi64x_si128, _mm_cvtsi128_si64x): New. | |
14924 | ||
62c9aa5f | 14925 | 2003-02-22 Jan Hubicka <jh@suse.cz> |
d50672ef JH |
14926 | |
14927 | * i386.c (builtin_description): Add __builtin_ia32_paddq and | |
14928 | __builtin_ia32_psubq. Fix __builtin_ia32_paddq128 | |
14929 | and __builtin_ia32_psubq128. | |
14930 | * i386.h (IX86_BUILTIN_PADDQ, IX86_BUILTIN_PSUBQ): New. | |
14931 | * i386.md (addv*, mmx_ior*, mmx_xoe*, mmx_and*): Add missing '%'. | |
14932 | (mmx_adddi3, mmx_subdi3): New. | |
14933 | * mmintrin.h (_mm_add_si64, _mm_sub_si64): New. | |
14934 | * xmmintrin.h (_mm_movepi64_pi64): New. | |
14935 | (_mm_add_epi64, _mm_sub_epi64): fix. | |
14936 | (_mm_mul_pu16): Rename to... | |
14937 | (_mm_mul_su32): ... this one. | |
14938 | ||
14939 | * builtins.c (expand_builtin_expect): Do not predict | |
14940 | flag_guess_branch_prob is not set. | |
14941 | * c-semantics.c (expand_stmt): Likewise. | |
14942 | * predict.c (predict_insn): Likewise. | |
14943 | * stmt.c (expand_continue_loop): Likewise. | |
14944 | * toplev.c (rest_of_compilation): Do not call | |
14945 | note_prediction_to_br_prob and note_prediction_to_br_prob | |
14946 | when not optimizing. | |
14947 | ||
62c9aa5f | 14948 | 2003-02-21 Jan Hubicka <jh@suse.cz> |
9809a362 JH |
14949 | |
14950 | * cfgrtl.c (commit_edge_insertions): Call | |
14951 | find_many_sub_basic_block only when some code has been emitted. | |
14952 | (commit_edge_insertions_watch_calls): Bring into sync with | |
14953 | commit_edge_insertions | |
14954 | ||
62c9aa5f | 14955 | 2003-02-21 J"orn Rennecke <joern.rennecke@superh.com> |
a93d1ba2 R |
14956 | |
14957 | * sh.h (OVERRIDE_OPTIONS): Fix code that clears 'e' register class. | |
14958 | ||
14959 | * sh.md (binary_sf_op): Use extra constant operand instead of | |
14960 | negating constant operand 4. | |
14961 | * sh.c (sh_expand_binop_v2sf): Supply it. | |
14962 | ||
a8d0ddaf ZW |
14963 | 2003-02-21 Zack Weinberg <zack@codesourcery.com> |
14964 | ||
14965 | * cpphash.h (struct lexer_state): Add directive_wants_padding. | |
14966 | * cpplib.c (_cpp_handle_directive): Set directive_wants_padding | |
14967 | for directives of type INCL. | |
14968 | (glue_header_name, parse_include): Use get_token_no_padding. | |
14969 | * cppmacro.c (replace_args): If directive_wants_padding, | |
14970 | provide padding tokens. | |
14971 | ||
902ac719 KH |
14972 | 2003-02-21 Kazu Hirata <kazu@cs.umass.edu> |
14973 | ||
14974 | * config/h8300/h8300.md (a peephole2): New. | |
14975 | ||
62c9aa5f | 14976 | 2003-02-21 Jan Hubicka <jh@suse.cz> |
9dca2ad5 JH |
14977 | |
14978 | * cfgrtl.c (commit_one_edge_insertion): Only mark BB for splitting. | |
14979 | (commit_edge_insertions): Call find_many_sub_basic_blocks | |
14980 | ||
14981 | * reg-stack.c (convert_regs): Cleax aux for blocks. | |
14982 | ||
62c9aa5f | 14983 | 2003-02-21 Jan Hubicka <jh@suse.cz> |
64465d27 JH |
14984 | |
14985 | * toplev.c (parse_options_and_default_flags): Undo accidental commit. | |
14986 | ||
9e7d0b92 GN |
14987 | 2003-02-21 Glen Nakamura <glen@imodulo.com> |
14988 | ||
14989 | PR optimization/8613 | |
14990 | * builtins.c (expand_builtin): Emit postincrements before expanding | |
14991 | builtin functions. | |
14992 | ||
a7582c8c BE |
14993 | 2003-02-21 Ben Elliston <bje@redhat.com> |
14994 | ||
14995 | PR other/5634 | |
14996 | * doc/install.texi (Configuration): Explain using $HOME instead of | |
14997 | the ~ metacharacter when referring to home directories. | |
14998 | ||
91710e62 AO |
14999 | 2003-02-20 Alexandre Oliva <aoliva@redhat.com> |
15000 | ||
15001 | * configure.in (TARGET_SYSTEM_ROOT): Set default to | |
15002 | ${exec_prefix}/${target_alias}/sys-root. Match explicit | |
15003 | '${exec_prefix}' (in addition to the expansion thereof) as | |
15004 | relocatable. | |
15005 | * configure: Rebuilt. | |
15006 | ||
d64f6f86 KH |
15007 | 2003-02-20 Kazu Hirata <kazu@cs.umass.edu> |
15008 | ||
15009 | * config/h8300/h8300.md (addhi3_incdec): Change the name to | |
15010 | *addhi3_incdec. | |
15011 | (addsi3_incdec): Change the name to *addsi3_incdec. | |
15012 | ||
fd7acc30 RS |
15013 | 2003-02-20 Roger Sayle <roger@eyesopen.com> |
15014 | ||
15015 | * explow.c (force_reg): Avoid useless REG_EQUAL notes. | |
15016 | ||
1c2de642 TM |
15017 | 2003-02-20 Toon Moene <toon@moene.indiv.nluug.nl> |
15018 | ||
15019 | PR fortran/9038 | |
15020 | * c-opts.c (sanitize_cpp_opts): Add Fortran front end | |
15021 | options to be ignored. | |
15022 | (c_common_decode_option): Ignore them when preprocessing. | |
15023 | ||
62c9aa5f | 15024 | 2003-02-20 Jan Hubicka <jh@suse.cz> |
b9422b69 | 15025 | |
fd7acc30 RS |
15026 | * toplev.c (flag_sched2_use_superblocks, flag_sched2_use_traces): New |
15027 | global variables. | |
15028 | (lang_independent_options): Add -fsched2-use-superblocks | |
15029 | -fsced2-use-traces. | |
b9422b69 JH |
15030 | (rest_of_compilation): Deal with it. |
15031 | * invoke.texi (-fsched2-use-traces, fsched2-use-superblocks): Declare. | |
fd7acc30 RS |
15032 | * flags.h (flag_sched2_use_superblocks, flag_sched2_use_traces): |
15033 | Declare. | |
b9422b69 JH |
15034 | * rtl.h (reg_to_stack): Update prototype. |
15035 | * reg-stack.c (reg_to_stack): Return when something has changed; | |
15036 | update liveness when executing after superblock scheduling. | |
15037 | ||
15038 | * combine.c (simplify_shift_const): Simplify few special cases | |
15039 | into constants. | |
15040 | ||
a62bfff2 DE |
15041 | 2003-02-20 David Edelsohn <edelsohn@gnu.org> |
15042 | ||
15043 | * config/rs6000/rs6000.md: (attr "type"): Add fast_compare. | |
15044 | (add.,subf.,neg.): Change attribute to fast_compare. | |
15045 | All DFA descriptions updated. | |
15046 | ||
dbbf88d1 NS |
15047 | 2003-02-20 Nathan Sidwell <nathan@codesourcery.com> |
15048 | ||
15049 | Change base class access representation. | |
15050 | * tree.h (TREE_VIA_PUBLIC, TREE_VIA_PROTECTED, | |
15051 | TREE_VIA_PRIVATE): Remove. | |
15052 | (BINFO_BASEACCESSES): New binfo elt. | |
15053 | (BINFO_BASEACCESS): New accessor. | |
15054 | (BINFO_ELTS): Increase. | |
15055 | (TI_ACCESS_PUBLIC, TI_ACCESS_PROTECTED, TI_ACCESS_PRIVATE): New. | |
15056 | (access_public_node, access_protected_node, | |
15057 | access_private_node): New global nodes. | |
15058 | * tree.c (build_common_tree_nodes_2): Initialize access nodes. | |
15059 | * dbxout.c (dbxout_type): Adjust. | |
15060 | * dwarf2out.c (gen_inheritance_die): Add access parameter. | |
15061 | (gen_member_die): Adjust. | |
15062 | * dwarfout.c (output_inheritance_die): ARG is array of two trees. | |
15063 | (output_type): Adjust. | |
15064 | * tree-dump.c (dequeue_and_dump): Adjust binfo dumping. | |
15065 | ||
15066 | Change base class access representation. Share virtual base | |
15067 | binfos. | |
15068 | * cp/call.c (build_special_member_call): Remove binfo_for_vbase | |
15069 | call. | |
15070 | * cp/class.c (build_base_path): Likewise. | |
15071 | (build_primary_vtable): Adjust BINFO_NEW_VTABLE_MARKED use. | |
15072 | (build_secondary_vtable): Remove FOR_TYPE arg. Adjust. | |
15073 | (make_new_vtable): Adjust. | |
15074 | (force_canonical_binfo_r): Delete. | |
15075 | (force_canonical_binfo): Delete. | |
15076 | (mark_primary_virtual_base): Delete. | |
15077 | (dfs_unshared_virtual_bases): Delete. | |
15078 | (mark_primary_bases): Adjust. | |
15079 | (maybe_warn_about_overly_private_class): Adjust. | |
15080 | (dfs_base_derived_from): Delete. | |
15081 | (base_derived_from): Follow the inheritance chain. | |
15082 | (struct find_final_overrider_data): Add vpath member. | |
15083 | (dfs_find_final_overrider): Adjust. | |
15084 | (dfs_find_final_overrider_q, dfs_find_final_overrider_post): New. | |
15085 | (find_final_overrider): Adjust. | |
15086 | (update_vtable_entry_for_fn): Adjust. | |
15087 | (modify_all_vtables): Adjust. | |
15088 | (walk_subobject_offsets): Adjust. | |
15089 | (layout_nonempty_base_or_field): Adjust. | |
15090 | (layout_empty_base): Remove last parameter. Adjust. | |
15091 | (build_base_field): Adjust. | |
15092 | (build_base_fields): Adjust. | |
15093 | (propagate_binfo_offsets): Remove last parameter. Adjust. | |
15094 | (dfs_set_offset_for_unshared_vbases): Delete. | |
15095 | (layout_virtual_bases): Adjust. | |
15096 | (finish_struct_1): Adjust. | |
15097 | (init_class_processing): Don't init access nodes. | |
15098 | (dfs_get_primary_binfo): Delete. | |
15099 | (get_primary_binfo): Adjust. | |
15100 | (dump_class_hierarchy_r): Remove most derived arg, add IGO | |
15101 | parameter. Adjust. | |
15102 | (dump_class_hierarchy): Adjust. | |
15103 | (finish_vtbls): Adjust. | |
15104 | (get_original_base): Delete. | |
15105 | (build_vtt_inits): Adjust. | |
15106 | (dfs_build_secondary_vptr_vtt_inits): Adjust. | |
15107 | (dfs_ctor_vtable_bases_queue_p): Adjust. | |
15108 | (build_ctor_vtbl_group): Adjust. | |
15109 | (dfs_accumulate_vtbl_inits): Adjust. | |
15110 | (build_vtbl_initializer): Adjust. | |
15111 | (build_vbase_offset_vtbl_entries): Adjust. | |
15112 | (add_vcall_offset_vtbl_entries_1): Adjust. | |
15113 | * cp/cp-tree.h (CPTI_ACCESS_*): Remove. | |
15114 | (access_*_node): Remove. | |
15115 | (CANONICAL_BINFO): Delete. | |
15116 | (BINFO_UNSHARED_MARKED): Remove. | |
15117 | (BINFO_MARKED): Set LANG_FLAG_0 directly. | |
15118 | (SET_BINFO_MARKED, CLEAR_BINFO_MARKED): Delete. | |
15119 | (BINFO_VTABLE_PATH_MARKED): Set LANG_FLAG_3 directly. | |
15120 | (SET_BINFO_VTABLE_PATH_MARKED, CLEAR_BINFO_VTABLE_PATH_MARKED): | |
15121 | Delete. | |
15122 | (BINFO_NEW_VTABLE_MARKED): Set LANG_FLAG_4 directly. | |
15123 | (SET_BINFO_NEW_VTABLE_MARKED): Adjust. | |
15124 | (SET_BINFO_PUSHDECLS_MARKED, CLEAR_BINFO_PUSHDECLS_MARKED): | |
15125 | Delete. | |
15126 | (BINFO_DEPENDENT_BASE_P): New. | |
15127 | (dfs_walk, dfs_walk_real): Queue function takes derived binfo and | |
15128 | index. | |
15129 | (markedp, unmarkedp): Adjust. | |
15130 | (dfs_unmarked_real_bases_queue_p, dfs_marked_real_bases_queue_p, | |
15131 | dfs_skip_vbases, marked_vtable_pathp, unmarked_vtable_pathp, | |
15132 | find_vbase_instance, binfo_for_vbase): Delete. | |
15133 | (copied_binfo, original_binfo): Declare. | |
15134 | (finish_base_specifier): Add virtual_p arg. | |
15135 | (unshare_base_binfos): Delete. | |
15136 | (copy_base_binfos): Declare. | |
15137 | (reverse_path): Delete. | |
15138 | * cp/decl.c (xref_basetypes): Access and virtuality passed | |
15139 | differently. Don't copy direct base binfos here. Call | |
15140 | copy_base_binfos. | |
15141 | * cp/init.c (dfs_initialize_vtbl_ptrs): Adjust. | |
15142 | (initialize_vtbl_ptrs): Adjust. | |
15143 | (expand_member_init): Adjust. | |
15144 | * cp/parser.c (cp_parser_base_specifier): Adjust. | |
15145 | * cp/pt.c (instantiate_class_template): Adjust. | |
15146 | (get_template_base_recursive): Adjust. | |
15147 | * cp/rtti.c (get_pseudo_ti_init): Adjust. | |
15148 | (get_pseudo_ti_desc): Adjust. | |
15149 | * cp/tree.c (unshare_base_binfos): Rename to ... | |
15150 | (copy_base_binfos): ... here, reimplement. | |
15151 | (make_binfo): Set BINFO_DEPENDENT_BASE_P. | |
15152 | (reverse_path): Remove. | |
15153 | * cp/typeck.c (get_delta_difference): Adjust error messages. | |
15154 | * cp/semantics.c (finish_base_specifier): Add virtual arg, adjust. | |
15155 | * cp/search.c (lookup_base_r): Adjust. | |
15156 | (dynamic_cast_base_recurse): Adjust. | |
15157 | (canonical_binfo): Remove. | |
15158 | (dfs_canonical_queue): Remove. | |
15159 | (dfs_assert_unmarked_p): Remove. | |
15160 | (assert_canonical_unmarked): Remove. | |
15161 | (shared_marked_p, shared_unmarked_p): Remove. | |
15162 | (BINFO_ACCESS, SET_BINFO_ACCESS): Use TREE_PUBLIC & TREE_PRIVATE. | |
15163 | (dfs_access_in_type): Adjust. | |
15164 | (access_in_type): Adjust. | |
15165 | (dfs_accessible_queue_p): Adjust. | |
15166 | (dfs_accessible_p): Adjust. | |
15167 | (is_subobject_of_p_1, is_subobject_of_p): Remove. | |
15168 | (struct lookup_field_info): Remove from_dep_base_p field. | |
15169 | (lookup_field_queue_p): Adjust, test BINFO_DEPENDENT_BASE_P. | |
15170 | (lookup_field_r): Remove dependent base code. | |
15171 | (lookup_member): Likewise. | |
15172 | (dfs_walk, dfs_walk_real): Add access arg to queue fn. | |
15173 | (dfs_unmarked_real_bases_queue_p): Remove. | |
15174 | (dfs_marked_real_bases_queue_p): Remove. | |
15175 | (dfs_skip_vbases): Remove. | |
15176 | (dfs_get_pure_virtuals): Adjust. | |
15177 | (markedp, unmarkedp): Adjust. | |
15178 | (marked_vtable_pathp, unmarked_vtable_pathp): Remove. | |
15179 | (marked_pushdecls_p, unmarked_pushdecls_p): Adjust. | |
15180 | (dfs_unmark): Adjust. | |
15181 | (dfs_get_vbase_types):Remove. | |
15182 | (dfs_build_inheritance_graph_order): Remove. | |
15183 | (get_vbase_types): Remove | |
15184 | (dfs_find_vbase_instance): Remove. | |
15185 | (find_vbase_instance): Remove. | |
15186 | (dfs_debug_unmarkedp): Adjust. | |
15187 | (dependent_base_p): Remove. | |
15188 | (dfs_push_type_decls): Adjust. | |
15189 | (dfs_push_decls): Adjust. | |
15190 | (dfs_no_overlap_yet): Adjust. | |
15191 | (copied_binfo): New function. | |
15192 | (original_binfo): New function. | |
15193 | (binfo_for_vbase): Remove. | |
15194 | ||
15195 | Change base class access representation. | |
15196 | * java/class.c (set_super_info): Don't set TREE_VIA_PUBLIC. | |
15197 | (add_interface_do): Likewise. | |
15198 | ||
6d6ab190 DE |
15199 | 2003-02-20 David Edelsohn <edelsohn@gnu.org> |
15200 | ||
a8d0ddaf ZW |
15201 | * config/rs6000/sysv4.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Define. |
15202 | * config/rs6000/power4.md (power4-store,power4-vecstore): New | |
6d6ab190 DE |
15203 | insn reservations. |
15204 | (power4-fpstore): Compact. | |
15205 | ||
2dd5df7c KH |
15206 | 2003-02-20 Kazu Hirata <kazu@cs.umass.edu> |
15207 | ||
15208 | * config/h8300/h8300.md (*iorsi3_w): New. | |
15209 | ||
8fa08316 JZ |
15210 | 2003-02-20 Josef Zlomek <zlomekj@suse.cz> |
15211 | ||
15212 | * combine.c (distribute_notes): Kill REG_EXEC_COUNT. | |
15213 | * rtl.c (reg_note_name): Likewise. | |
15214 | * rtl.h (enum reg_note): Likewise. | |
15215 | * doc/invoke.texi: Likewise. | |
15216 | * doc/rtl.texi: Likewise. | |
15217 | ||
c8717368 JZ |
15218 | 2003-02-20 Josef Zlomek <zlomekj@suse.cz> |
15219 | ||
15220 | * bb-reorder.c (find_traces_1_round): Fix comment typo. | |
15221 | ||
3bc400cd RS |
15222 | 2003-02-19 Roger Sayle <roger@eyesopen.com> |
15223 | ||
15224 | * fold-const.c (fold_real_zero_addition_p): Don't fold a zero | |
15225 | addition in the presence of signaling NaNs. | |
15226 | ||
b5a49c0b KW |
15227 | 2003-02-19 Krister Walfridsson <cato@df.lth.se> |
15228 | ||
15229 | * tm.texi (INIT_CUMULATIVE_ARGS): Fix typo. | |
15230 | ||
472f2723 KH |
15231 | 2003-02-19 Kazu Hirata <kazu@cs.umass.edu> |
15232 | ||
15233 | * config/h8300/h8300.c (output_logical_op): Optimize or.l when | |
15234 | ORing with 0xffff??00 with the highest bit of the ?? part set. | |
15235 | (compute_logical_op_length): Update. | |
15236 | (compute_logical_op_cc): Likewise. | |
15237 | ||
6d9cc15b JZ |
15238 | 2003-02-19 Josef Zlomek <zlomekj@suse.cz> |
15239 | ||
15240 | * bb-reorder.c (find_traces_1_round): Fixed condition for small | |
15241 | destination block with multiple predecessors. | |
15242 | (connect_traces): Check whether the block is a start of trace. | |
15243 | ||
62c9aa5f | 15244 | 2003-02-19 Jan Hubicka <jh@suse.cz> |
563a317a JH |
15245 | |
15246 | * calls.c (expand_call): Update call of INIT_CUMULATIVE_ARGS | |
15247 | * function.c (assign_params): Likewise. | |
15248 | * arm-protos.h (arm_init_cumulative_args): Update prototype. | |
15249 | * arm.c (arm_init_cumulative_args): Update function. | |
15250 | * arm.h (INIT_CUMULATIVE_ARGS): Update. | |
15251 | * avr-protos.h (init_cumulative_args): Update prototype. | |
15252 | * avr.c (init_cumulative_args): Update function. | |
15253 | * avr.h (INIT_CUMULATIVE_ARGS): Update. | |
15254 | * d30v-protos.h (d30v_init_cumulative_args): Update prototype. | |
15255 | * d30v.c (d30v_init_cumulative_args): Update function. | |
15256 | * d30v.h (INIT_CUMULATIVE_ARGS): Update. | |
15257 | * frv-protos.h (frv_init_cumulative_args): Update prototype. | |
15258 | * frv.c (frv_init_cumulative_args): Update function. | |
15259 | * frv.h (INIT_CUMULATIVE_ARGS): Update. | |
15260 | * mips.c (mips_expand_prolgue): Update call of INIT_CUMULATIVE_ARGS. | |
15261 | * pa.h (INIT_CUMULATIVE_ARGS): Update. | |
15262 | * sparc-protos.h (init_cumulative_args): Update prototype. | |
15263 | * sparc.c (init_cumulative_args): Update function. | |
15264 | * sparc.h (INIT_CUMULATIVE_ARGS): Update. | |
15265 | * tm.texi (INIT_CUMULATIVE_ARGS): Update documentation. | |
15266 | ||
be9d08c2 KH |
15267 | 2003-02-19 Kazu Hirata <kazu@cs.umass.edu> |
15268 | ||
15269 | * config/h8300/h8300.md (*iorsi3_two_qi_sext): New. | |
15270 | (*ashiftsi_sextqi_7): Likewise. | |
15271 | ||
f23147fe RO |
15272 | 2003-02-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
15273 | ||
15274 | * config/mips/iris6.h (TARGET_OS_CPP_BUILTINS): Define __c99 for | |
15275 | ISO C99 and C++. | |
15276 | ||
15277 | * fixinc/inclhack.def (irix___restrict): Don't change __restrict | |
15278 | for C++ on IRIX 6.5.1[89]. | |
15279 | * fixinc/tests/base/internal/sgimacros.h: New file. | |
15280 | ||
15281 | * fixinc/inclhack.def (irix_wcsftime): Use XPG5 variant for C99. | |
15282 | * fixinc/tests/base/internal/wchar_core.h: New file. | |
a8d0ddaf | 15283 | |
f23147fe RO |
15284 | * fixinc/inclhack.def (irix_socklen_t): Fix broken IRIX 6.5.1[78] |
15285 | socklen_t definition. | |
15286 | * fixinc/fixincl.x: Regenerate. | |
15287 | * fixinc/tests/base/sys/socket.h: New file. | |
15288 | Fixes PR libgcj/9652. | |
15289 | ||
62c9aa5f | 15290 | 2003-02-19 Jan Hubicka <jh@suse.cz> |
30e4d9d4 JH |
15291 | |
15292 | * i386.md (movsfcc_1, movdfcc_1): Fix constrains. | |
15293 | ||
2792d578 DE |
15294 | 2003-02-19 David Edelsohn <edelsohn@gnu.org> |
15295 | ||
15296 | * config/rs6000/rs6000.c (rs6000_override_options): Initialize | |
15297 | align_jumps_max_skip and align_loops_max_skip. | |
15298 | ||
15299 | 2003-02-19 Thierry Moreau <thierry.moreau@connotech.com> | |
15300 | ||
15301 | * config/rs6000/rs6000.c (rs6000_encode_section_info): Do not | |
15302 | test size if named section. | |
15303 | ||
48a5f2fa DJ |
15304 | 2003-02-19 Daniel Jacobowitz <drow@mvista.com> |
15305 | ||
15306 | * expr.c (expand_expr): Use gen_int_mode for the argument | |
15307 | to gen_rtx_MULT. | |
15308 | ||
62c9aa5f | 15309 | 2003-02-19 Jan Hubicka <jh@suse.cz> |
9e889775 JH |
15310 | |
15311 | * i386.md (cosxf2): Fix conditional. | |
15312 | ||
f4c07fbf KH |
15313 | 2003-02-19 Kazu Hirata <kazu@cs.umass.edu> |
15314 | ||
15315 | * config/h8300/h8300.md (extendqisi2): Change to an expander. | |
15316 | (*extendqisi2_h8300): New. | |
15317 | (*extendqisi2_h8300hs): Likewise. | |
15318 | ||
590734b6 KH |
15319 | 2003-02-19 Kazu Hirata <kazu@cs.umass.edu> |
15320 | ||
15321 | * config/h8300/h8300-protos.h: Update the prototype for | |
15322 | split_adds_subs. Remove the prototypes for | |
15323 | const_int_le_2_operand and const_int_le_6_operand. | |
15324 | * config/h8300/h8300.c (split_adds_sub): Don't output inc/dec. | |
15325 | (const_int_le_2_operand): Remove. | |
15326 | (const_int_le_6_operand): Likewise. | |
15327 | * config/h8300/h8300.h (PREDICATE_CODES): Remove the entries | |
15328 | for const_int_le_2_operand and const_int_le_6_operand. | |
15329 | * config/h8300/h8300.md: Update all uses of split_adds_subs. | |
15330 | (a peephole2): New. | |
15331 | ||
62c9aa5f | 15332 | 2003-02-18 Jan Hubicka <jh@suse.cz> |
c001c39b JH |
15333 | |
15334 | * cgraph.c (NPREDECESORC, SET_NPREDECESORS): Kill. | |
15335 | (cgraph_expand_function): Rewrite. | |
15336 | ||
2f51bb1d | 15337 | 2003-02-18 Matt Austern <austern@apple.com> |
3bc400cd | 15338 | |
2f51bb1d | 15339 | * toplev.c, langhooks.c, langhooks-def.h: Move |
a8d0ddaf | 15340 | write_global_declarations from toplev.c to langhooks.c. |
3bc400cd | 15341 | |
ff6e1a2f KH |
15342 | 2003-02-18 Kazu Hirata <kazu@cs.umass.edu> |
15343 | ||
15344 | * config/h8300/h8300.c (general_operand_src): Always check | |
15345 | MODE. | |
15346 | (general_operand_dst): Likewise. | |
15347 | ||
78bd5210 RS |
15348 | 2003-02-18 Roger Sayle <roger@eyesopen.com> |
15349 | ||
15350 | * convert.c (convert_to_real): Also optimize (float)log(x) into | |
15351 | logf(x) where x is a float, i.e. also handle BUILT_IN_LOG{,L}. | |
15352 | ||
9f3a9a08 KK |
15353 | 2003-02-18 Kaz Kojima <kkojima@gcc.gnu.org> |
15354 | ||
a8d0ddaf | 15355 | * config/sh/sh.c (unspec_caller_rtx_p): New. |
9f3a9a08 | 15356 | (sh_cannot_copy_insn_p): New. |
a8d0ddaf | 15357 | (TARGET_CANNOT_COPY_INSN_P): New. |
9f3a9a08 | 15358 | |
d7ddbe24 RH |
15359 | 2003-02-18 Richard Henderson <rth@redhat.com> |
15360 | ||
15361 | * c-common.c (handle_used_attribute): Accept static data too. | |
15362 | ||
15363 | 2003-02-18 Nick Clifton <nickc@redhat.com> | |
a8d0ddaf | 15364 | Aldy Hernandez <aldyh@redhat.com> |
22d324c1 | 15365 | |
a8d0ddaf | 15366 | * testsuite/gcc.dg/20030218-1.c: New. |
22d324c1 | 15367 | |
a8d0ddaf | 15368 | * doc/tm.texi: Document TARGET_VECTOR_TYPES_COMPATIBLE. |
22d324c1 | 15369 | |
a8d0ddaf ZW |
15370 | * target-def.h (TARGET_INITIALIZER): Add |
15371 | TARGET_VECTOR_TYPES_COMPATIBLE. | |
15372 | (TARGET_VECTOR_TYPES_COMPATIBLE): New macro. | |
22d324c1 | 15373 | |
a8d0ddaf | 15374 | * target.h (struct gcc_target): Add field vector_types_compatible. |
22d324c1 | 15375 | |
a8d0ddaf ZW |
15376 | * c-typeck.c (comptypes): Take into account |
15377 | TARGET_VECTOR_TYPES_COMPATIBLE. | |
15378 | (convert_for_assignment): Same. | |
22d324c1 | 15379 | |
a8d0ddaf ZW |
15380 | * config/rs6000/rs6000.c (is_ev64_opaque_type): New. |
15381 | (rs6000_spe_vector_types_compatible): New. | |
15382 | (TARGET_VECTOR_TYPES_COMPATIBLE): Define. | |
22d324c1 | 15383 | |
e5378e8d AS |
15384 | 2003-02-19 Andreas Schwab <schwab@suse.de> |
15385 | ||
15386 | * Makefile.in (toplev.o): Depend on $(LANGHOOKS_DEF_H). | |
15387 | * toplev.c: Include langhooks-def.h. | |
15388 | ||
fcc11c35 CD |
15389 | 2003-02-18 Chris Demetriou <cgd@broadcom.com> |
15390 | ||
15391 | * config/mips/mips.h (enum processor_type): Sort entries | |
15392 | alphabetically. | |
15393 | * config/mips/mips.md (define_attr cpu): Sync with processor_type | |
15394 | enum values, including adding entries that were missing. | |
15395 | ||
62c9aa5f | 15396 | 2003-02-18 J"orn Rennecke <joern.rennecke@superh.com> |
29db2a1e | 15397 | |
3bc400cd RS |
15398 | * sh.c (calc_live_regs): Also check GET_CODE when checking if |
15399 | initial value for PR_REG is still the PR_REG register. | |
29db2a1e | 15400 | |
582d11e6 JW |
15401 | 2003-02-18 Jim Wilson <wilson@redhat.com> |
15402 | ||
15403 | * config/ia64/ia64.md (floatdidf2, floatdisf2): Add %, before second | |
15404 | instruction in output template. | |
15405 | (bsp_value): Change output template from string to C code, add %, | |
15406 | before actual instruction. | |
15407 | (flushrs): Mark as not predicable. | |
15408 | ||
3edc4b23 KW |
15409 | 2003-02-18 Krister Walfridsson <cato@df.lth.se> |
15410 | ||
15411 | * inclhack.def (netbsd_bogus_semicolon): New fix. | |
15412 | * fixincl.x: Rebuilt. | |
15413 | * tests/base/ctype.h: Update. | |
15414 | ||
080ea642 RS |
15415 | 2003-02-18 Roger Sayle <roger@eyesopen.com> |
15416 | ||
15417 | * fold-const.c (negate_expr_p): New function to determine whether | |
15418 | an expression can be negated cheaply. | |
15419 | (fold) [MINUS_EXPR]: Use it to determine whether to transform | |
15420 | -A - B into -B - A for floating point types. | |
15421 | ||
e360ab39 RS |
15422 | 2003-02-18 Roger Sayle <roger@eyesopen.com> |
15423 | ||
15424 | * sbitmap.c (sbitmap_resize): New function. | |
15425 | * sbitmap.h (sbitmap_resize): Prototype here. | |
15426 | * recog.c (split_all_insns): Use sbitmap_resize. | |
15427 | ||
6b00cbc7 KH |
15428 | 2003-02-18 Kazu Hirata <kazu@cs.umass.edu> |
15429 | ||
15430 | * config/h8300/h8300.md (*zero_extendhisi2_h8300): Fix the | |
15431 | insn length. | |
15432 | (extendqisi2): Likewise. | |
15433 | (*extendhisi2_h8300): Likewise. | |
15434 | ||
2b59501b | 15435 | 2003-02-18 Matt Austern <austern@apple.com> |
a8d0ddaf | 15436 | |
2b59501b MA |
15437 | * langhooks.h, langhooks-def.h: introduce new langhook, |
15438 | final_write_globals, with write_global_declarations as default. | |
15439 | * toplev.c: Move invocation of wrapup_global_declarations from | |
15440 | compile_file to new function, write_global_declarations. Change | |
15441 | compile_file to use final_write_globals hook. Change | |
15442 | wrapup_global_declarations so writing to DECL_DEFER_OUTPUT is | |
a8d0ddaf ZW |
15443 | conditional. |
15444 | ||
131efcd8 JDA |
15445 | 2003-02-18 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
15446 | ||
15447 | * pa.md: Correct and enhance comment. | |
15448 | ||
e17aafd1 GK |
15449 | 2003-02-18 Geoffrey Keating <geoffk@apple.com> |
15450 | ||
15451 | * gcc.c (validate_switches): Don't scan past closing '}'. | |
15452 | ||
f57a2e3a BE |
15453 | 2003-02-18 Ben Elliston <bje@redhat.com> |
15454 | ||
15455 | PR c++/1607 | |
15456 | * doc/extend.texi (Function Attributes): Document the effect of | |
15457 | the C++ "this" parameter on the counting of arguments for the | |
15458 | "format" and "format_arg" attributes. | |
15459 | ||
9b0c0e9f AH |
15460 | 2003-02-17 Aldy Hernandez <aldyh@redhat.com> |
15461 | ||
a8d0ddaf ZW |
15462 | * config/rs6000/spe.h (__ev_stdd): Cast 2nd arg. |
15463 | (__ev_stdw): Same. | |
15464 | (__ev_stdh): Same. | |
9b0c0e9f | 15465 | |
62c9aa5f | 15466 | 2003-02-17 Jan Hubicka <jh@suse.cz> |
35a3fa09 JH |
15467 | |
15468 | * recog.c (split_all_insns): Fix memory overflow. | |
15469 | ||
6dc50366 KH |
15470 | 2003-02-17 Kazu Hirata <kazu@cs.umass.edu> |
15471 | ||
15472 | * config/h8300/h8300.md (cmpqi): Remove mode from compare. | |
15473 | (cmphi): Likewise. | |
15474 | (*cmphi_h8300): Likewise. | |
15475 | (*cmphi_h8300hs): Likewise. | |
15476 | (cmpsi): Likewise. | |
15477 | (7 peephole2): Likewise. | |
15478 | ||
62c9aa5f | 15479 | 2003-02-16 Jan Hubicka <jh@suse.cz> |
096daf41 JH |
15480 | |
15481 | * c-typeck.c (build_c_cast): Fold constant variables into | |
15482 | initial values. | |
15483 | ||
35113fde GP |
15484 | 2003-02-16 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
15485 | ||
15486 | * doc/install.texi (Specific): Fix link for m68k-att-sysv. | |
15487 | (Binaries): Ditto for Sinix/Reliant Unix. | |
15488 | ||
3a1944a6 RE |
15489 | 2003-02-16 Richard Earnshaw <rearnsha@arm.com> |
15490 | ||
15491 | * arm.c (arm_reload_in_hi): Ensure that the scratch register does | |
15492 | not overlap the final result register. | |
15493 | ||
cdd4b0d4 AB |
15494 | 2003-02-16 Arend Bayer <arend.bayer@web.de> |
15495 | Richard Henderson <rth@redhat.com> | |
15496 | ||
ddb9eedd | 15497 | PR c/8068 |
cdd4b0d4 AB |
15498 | * fold-const.c (extract_muldiv_1): Rename from extract_muldiv; |
15499 | rearrange mult arguments for less recursion. | |
15500 | (extract_muldiv): New. Prevent runaway recursion. | |
15501 | ||
616f273a DS |
15502 | 2003-02-16 Danny Smith <dannysmith@users.sourceforge.net> |
15503 | ||
15504 | * config/i386/cygwin.h (TARGET_SUBTARGET_DEFAULT): Set | |
15505 | MASK_ALIGN_DOUBLE. | |
15506 | ||
881b2a96 RS |
15507 | 2003-02-15 Roger Sayle <roger@eyesopen.com> |
15508 | ||
15509 | * config/i386/i386.c (x86_ext_80387_constants): Use 80387 insns | |
15510 | to load mathematical constants on K6, Athlon, Pentium 4 and PPro. | |
15511 | (ext_80387_constants_table): Global table of 80387 special constants | |
15512 | guarded by ext_80387_constants_init flag when not initialized. | |
15513 | (init_ext_80387_constants): New function to initialize this table. | |
15514 | (standard_80387_constant_p): Extend to recognize extra 80387 | |
15515 | constants, in XFmode, on processors where this is a win. | |
15516 | (standard_80387_constant_opcode): New function to return the | |
15517 | opcode associated with standard_80387_constant_p. | |
15518 | (standard_80387_constant_rtx): New function to return the XFmode | |
15519 | CONST_DOUBLE associated with standard_80387_constant_p. | |
15520 | (ix86_rtx_costs): Give the new constants the same cost as 1.0. | |
15521 | ||
15522 | * config/i386/i386-protos.h (standard_80387_constant_opcode): | |
15523 | Prototype here. | |
15524 | (standard_80387_constant_rtx): Likewise. | |
15525 | ||
15526 | * config/i386/i386.md (*movsf1, *movsf1_nointerunit, *movdf_nointeger, | |
15527 | *movdf_integer, *movxf_nointeger, *movtf_nointeger, *movxf_integer, | |
15528 | *movtf_integer): Simplify using new standard_80387_constant_opcode. | |
15529 | ||
d203738b GK |
15530 | 2003-02-15 Geoffrey Keating <geoffk@apple.com> |
15531 | ||
15532 | * doc/invoke.texi (Optimize Options): Correct @option syntax. | |
15533 | ||
0b077eac RH |
15534 | 2003-02-15 Richard Henderson <rth@redhat.com> |
15535 | ||
15536 | * Makefile.in (cfglayout.o): Depend on TARGET_H. | |
15537 | * cfglayout.c: Include target.h. | |
15538 | (cfg_layout_can_duplicate_bb_p): Check targetm.cannot_copy_insn_p. | |
15539 | * target-def.h (TARGET_CANNOT_COPY_INSN_P): New. | |
15540 | * target.h (struct gcc_target): Add cannot_copy_insn_p. | |
15541 | ||
15542 | * config/alpha/alpha.c (alpha_cannot_copy_insn_p): New. | |
15543 | (TARGET_CANNOT_COPY_INSN_P): New. | |
15544 | (override_options): Revert 2003-02-08 hack. | |
15545 | ||
9a71ece1 RH |
15546 | 2003-02-15 Richard Henderson <rth@redhat.com> |
15547 | ||
15548 | * gcse.c (bypass_block): Use BLOCK_FOR_INSN for resolving LABEL_REFs. | |
15549 | (bypass_conditional_jumps): Accept computed_jump_p insns as well. | |
15550 | ||
b54cf83a DE |
15551 | 2003-02-15 David Edelsohn <edelsohn@gnu.org> |
15552 | ||
15553 | * config/rs6000/rs6000.h (processor_type): Add PPC440. | |
15554 | * config/rs6000/rs6000.c (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE, | |
15555 | TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD, | |
15556 | TARGET_SCHED_VARIABLE_ISSUE): Define. | |
15557 | (rs6000_use_dfa_pipeline_interface): New function. | |
15558 | (rs6000_multipass_dfa_lookahead): New Function. | |
15559 | (rs6000_variable_issue): New function. | |
15560 | (rs6000_adjust_cost): Add CMP and DELAYED_CR types. | |
15561 | (rs6000_issue_rate): Add PPC440. | |
15562 | * config/rs6000/rs6000.md (unspec list): Correct typo. | |
15563 | (attr "type"): Add load_ext, load_ext_u, load_ext_ux, load_u, | |
15564 | store_ux, store_u, fpload_ux, fpload_u, fpstore_ux, fpstore_u, | |
15565 | cmp, delayed_cr, mfcr, mtcr. | |
15566 | (automata_option): Set "ndfa". | |
15567 | (extendMMNN2): Update attributes. | |
15568 | (movcc_internal1): Discourage move to non-cr0. Update | |
15569 | attributes. | |
15570 | (movMM_update): Update attributes. | |
15571 | (cmpMM_internal): Update attributes. | |
15572 | (sCC CR materialization): Update attributes. | |
15573 | (branch patterns): Do not discourage non-cr0. | |
15574 | (cr logical patterns): Prefer destructive register allocation. | |
15575 | Update attributes. | |
15576 | (movesi_from_cr): Update attribute. | |
15577 | (mtcrf_operation): Update attribute. | |
15578 | (mtcrfsi): Update attribute. | |
15579 | * config/rs6000/40x.md: New file. | |
15580 | * config/rs6000/603.md: New file. | |
15581 | * config/rs6000/6xx.md: New file. | |
15582 | * config/rs6000/7450.md: New file. | |
15583 | * config/rs6000/7xx.md: New file. | |
15584 | * config/rs6000/mpc.md: New file. | |
15585 | * config/rs6000/power4.md: New file. | |
15586 | * config/rs6000/rios1.md: New file. | |
15587 | * config/rs6000/rios2.md: New file. | |
15588 | * config/rs6000/rs64.md: New file. | |
15589 | [Some DFA descriptions based on work by Michael Hayes] | |
15590 | ||
99dc7277 RH |
15591 | 2003-02-15 Richard Henderson <rth@redhat.com> |
15592 | ||
15593 | * bb-reorder.c (find_traces_1_round): Don't connect easy to copy | |
15594 | successors with multiple predecessors. | |
15595 | (connect_traces): Try harder to copy traces of length 1. | |
15596 | ||
15597 | * function.h (struct function): Add computed_goto_common_label, | |
15598 | computed_goto_common_reg. | |
15599 | * function.c (free_after_compilation): Zap them. | |
a8d0ddaf | 15600 | * stmt.c (expand_computed_goto): Use them to produce one |
99dc7277 RH |
15601 | indirect branch per function. |
15602 | ||
5f24e0dc RH |
15603 | 2003-02-15 Richard Henderson <rth@redhat.com> |
15604 | ||
15605 | * cfgcleanup.c: Include params.h. | |
15606 | (try_crossjump_bb): Use PARAM_MAX_CROSSJUMP_EDGES. Fix test for | |
15607 | too many outgoing edges from a block. | |
15608 | * Makefile.in (cfgcleanup.o): Depend on PARAMS_H. | |
15609 | * params.def (max-crossjump-edges): New. | |
15610 | * doc/invoke.texi: Document it. | |
15611 | ||
9381bbc9 RH |
15612 | 2003-02-15 Richard Henderson <rth@redhat.com> |
15613 | ||
a8d0ddaf ZW |
15614 | * recog.c (split_all_insns): Include new blocks in life update; |
15615 | do a global life update. | |
9381bbc9 | 15616 | |
e898926c DS |
15617 | 2003-02-15 Danny Smith <dannysmith@users.sourceforge.net> |
15618 | ||
15619 | * config/i386/mingw32.h (LIBGCC_SPEC): Add libmingwex.a. | |
15620 | Update copyright. | |
15621 | * config/i386/cygwin.h (LIBGCC_SPEC): Add libmingwex.a for | |
15622 | -mno-cygwin case. | |
15623 | ||
ce65116b FH |
15624 | 2003-02-14 Falk Hueffner <falk.hueffner@student.uni-tuebingen.de> |
15625 | ||
15626 | PR optimization/7702 | |
15627 | * reload1.c (reload_cse_simplify_set): Honor | |
15628 | CANNOT_CHANGE_MODE_CLASS. | |
15629 | ||
fe7496dd AO |
15630 | 2003-02-14 Alexandre Oliva <aoliva@redhat.com> |
15631 | ||
15632 | * config/mn10300/mn10300.c (mn10300_wide_const_load_uses_clr): New | |
15633 | function. | |
15634 | * config/mn10300/mn10300-protos.h: Declare it. | |
15635 | * config/mn10300/mn10300.md (movdi, movdf): Use it to compute | |
15636 | attribute cc of instructions that may use clr. | |
15637 | ||
6017c719 KH |
15638 | 2003-02-14 Kazu Hirata <kazu@cs.umass.edu> |
15639 | ||
15640 | * simplify-rtx.c (simplify_binary_operation): Simplify ~y when | |
15641 | (x - (x & y)) is found. | |
15642 | ||
9fb28a67 RO |
15643 | 2003-02-14 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
15644 | ||
15645 | * configure.in: Fix typo. | |
15646 | * configure: Regenerate. | |
15647 | ||
60f469fa KH |
15648 | 2003-02-14 Kazu Hirata <kazu@cs.umass.edu> |
15649 | ||
15650 | * config/h8300/h8300.md (*iorsi2_and_1_lshiftrt_1): New. | |
15651 | ||
8fd73754 | 15652 | 2003-02-13 Adam Nemet <anemet@lnxw.com> |
60f469fa | 15653 | |
a8d0ddaf | 15654 | PR opt/2391 |
ce65116b FH |
15655 | * combine.c: Fix spelling in comment. |
15656 | (cached_nonzero_bits): New function. | |
15657 | (cached_num_sign_bit_copies): New function. | |
8fd73754 AN |
15658 | (nonzero_bits_with_known): New macro. |
15659 | (num_sign_bit_copies_with_known): New macro. | |
ce65116b | 15660 | (nonzero_bits1): Rename from nonzero_bits. Add three new |
8fd73754 AN |
15661 | arguments. Change calls from nonzero_bits to |
15662 | nonzero_bits_with_known. | |
ce65116b | 15663 | (num_sign_bit_copies1): Rename from num_sign_bit_copies. Add |
8fd73754 AN |
15664 | three new arguments. Change calls from num_sign_bit_copies to |
15665 | num_sign_bit_copies_with_known. | |
ce65116b FH |
15666 | (nonzero_bits): New macro. |
15667 | (num_sign_bit_copies): New macro. | |
15668 | (update_table_tick): Don't traverse identical subexpression more | |
8fd73754 | 15669 | than once. |
ce65116b | 15670 | (get_last_value_validate): Likewise. |
8fd73754 | 15671 | |
ddb0ae00 ZW |
15672 | 2003-02-13 Zack Weinberg <zack@codesourcery.com> |
15673 | ||
15674 | * emit-rtl.c (init_emit): Use ggc_alloc for regno_reg_rtx. | |
15675 | * function.h (struct emit_status): Length of regno_pointer_align | |
15676 | and x_regno_reg_rtx as seen by gengtype is only x_reg_rtx_no, | |
15677 | not regno_pointer_align_length (i.e. length actually used, not | |
15678 | length as allocated) | |
15679 | ||
15680 | * config/i386/i386.c (struct stack_local_entry): New. | |
15681 | (struct machine_function): Replace huge array with alist. | |
15682 | (assign_386_stack_local): Change to match. | |
15683 | ||
c20b55c0 JDA |
15684 | 2003-02-13 John David Anglin <dave.anglin@nrc-crnc.gc.ca> |
15685 | ||
15686 | * inclhack.def (hpux_long_double): Tighten select and add bypass | |
15687 | regexp. | |
15688 | * fixincl.x: Rebuilt. | |
15689 | ||
ffc8f11e JZ |
15690 | 2003-02-13 Josef Zlomek <zlomekj@suse.cz> |
15691 | ||
15692 | * cfgcleanup.c (outgoing_edges_match): When there is single outgoing | |
15693 | edge and block ends with a jump insn it must be simple jump. | |
15694 | ||
047d636f DJ |
15695 | 2003-02-13 Daniel Jacobowitz <drow@mvista.com> |
15696 | ||
15697 | * Makefile.in (PREPROCESSOR_DEFINES): Add | |
15698 | @TARGET_SYSTEM_ROOT_DEFINE@. | |
15699 | * configure.in (PREFIX_INCLUDE_DIR): Don't define if $with_sysroot | |
15700 | is specified or if building a cross compiler. | |
15701 | (TARGET_SYSTEM_ROOT_DEFINE): Add TARGET_SYSTEM_ROOT_RELOCATABLE | |
15702 | if the sysroot is under $exec_prefix. | |
15703 | * configure: Regenerated. | |
15704 | * cppdefault.h: Use native include paths if TARGET_SYSTEM_ROOT is | |
15705 | defined. | |
15706 | (struct default_include): Add add_sysroot field. | |
15707 | (cpp_SYSROOT): Declare. | |
15708 | * cppdefault.c (cpp_include_defaults): Fill in add_sysroot | |
15709 | field. | |
15710 | (cpp_SYSROOT): New variable. | |
15711 | * cppinit.c (cpp_create_reader): Initialize | |
15712 | CPP_OPTION (pfile, sysroot). | |
15713 | (init_standard_includes): Handle add_sysroot. Do not | |
15714 | add unrelocated copies of relocated directories. | |
15715 | (COMMAND_LINE_OPTIONS): Add -isysroot. | |
15716 | (cpp_handle_option): Handle -isysroot. | |
15717 | * cpplib.h (struct cpp_options): Add sysroot member. | |
15718 | * gcc.c (The Specs Language): Update description of %I. | |
15719 | (target_system_root_changed): New variable. | |
15720 | (process_command): Conditionalize make_relative_prefix call | |
15721 | on !VMS and TARGET_SYSTEM_ROOT_RELOCATABLE. Set | |
15722 | target_system_root_changed. | |
15723 | (do_spec_1): Add -isysroot to %I. | |
15724 | * doc/invoke.texi (Spec Files): Update description of %I. | |
15725 | * doc/install.texi (--with-sysroot): Update comment about | |
15726 | relocation. | |
15727 | ||
4302db79 KH |
15728 | 2003-02-13 Kazu Hirata <kazu@cs.umass.edu> |
15729 | ||
15730 | * config/h8300/h8300.md (a peephole2): New. | |
15731 | ||
e0d9cc77 | 15732 | 2003-02-13 Robert Lipe <robertlipe@usa.net> |
ddb0ae00 | 15733 | Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
e0d9cc77 RL |
15734 | |
15735 | * doc/install.texi (Specific): Update three SCO-related URLs. | |
15736 | ||
9fb93b00 AS |
15737 | 2003-02-13 Andreas Schwab <schwab@suse.de> |
15738 | ||
15739 | * cgraph.c (SET_NPREDECESORS): Add intermediate cast to size_t. | |
15740 | Parenthesize properly. | |
15741 | (NPREDECESORS): Parenthesize properly. | |
15742 | ||
22ffcc6f GDR |
15743 | 2003-02-13 Gabriel Dos Reis <gdr@integrable-solutions.net> |
15744 | ||
15745 | * timevar.h (POP_TIMEVAR_AND_RETURN): New macro. | |
15746 | ||
1fb54135 RS |
15747 | 2003-02-12 Roger Sayle <roger@eyesopen.com> |
15748 | ||
15749 | * config/i386/i386.md (UNSPEC_FPATAN): New UNSPEC constant. | |
15750 | (atan2sf3, atan2df3, atan2xf3, atan2tf3): New patterns. | |
15751 | ||
15752 | * reg-stack.c (subst_stack_regs_pat): Add support for binary | |
15753 | UNSPEC instructions (e.g. "fpatan"). | |
15754 | ||
19a7414e MS |
15755 | 2003-02-12 Mike Stump <mrs@apple.com> |
15756 | ||
15757 | * varray.c (element_size): Remove. | |
15758 | (uses_ggc): Remove. | |
15759 | (element): Add. | |
15760 | (varray_init): Use new interface. | |
15761 | (varray_grow): Use new interface. | |
15762 | (varray_clear): Use new interface. | |
15763 | ||
e589cc6e AH |
15764 | 2003-02-12 Aldy Hernandez <aldyh@redhat.com> |
15765 | ||
ddb0ae00 ZW |
15766 | * config/rs6000/spe.h: Add casts to the arguments of the following |
15767 | macros: evfsabs, evfsnabs, evfsneg, evfsadd, evfssub, evfsmul, | |
15768 | evfsdiv, evfscfui, evfscfsi evfscfuf evfscfsf, evfsctui, evfsctsi, | |
15769 | evfsctuf, evfsctsf, evfsctuiz, evfsctsiz, __ev_get_upper*, | |
15770 | __ev_get_lower*, __ev_get_u32, __ev_get_s32, __ev_get_fs, | |
15771 | __ev_get_u16, __ev_get_s16. | |
e589cc6e | 15772 | |
2bbfc542 KH |
15773 | 2003-02-12 Kazu Hirata <kazu@cs.umass.edu> |
15774 | ||
15775 | * config/h8300/h8300.md (a peephole2): New. | |
15776 | ||
62c9aa5f | 15777 | 2003-02-12 Jan Hubicka <jh@suse.cz> |
e72fcfe8 JH |
15778 | |
15779 | * Makefile.in (CRTSTUFF_CFLAGS): Add -fno-unit-at-a-time | |
15780 | (OBJS): Add callgraph.o | |
15781 | (callgraph.o): New. | |
15782 | * c-decl.c (expand_body_1): Break out from ... | |
15783 | (expand_body): This one; change calling convention | |
15784 | (finish_function): Move some of expand_body logic here. | |
15785 | (c_expand_deferred_function): Update call of expand_body | |
15786 | (c_expand_stmt): Use c_expand_body_1. | |
15787 | * c-lang.c (LANG_HOOKS_CALLGRAPH_EXPAND_FUNCTION): Define. | |
15788 | * c-objc-commin.c (c_objc_common_finish_file): Use callgraph code. | |
15789 | * c-tree.h (c_expand_body): Declare. | |
15790 | * callgraph.c: New file. | |
15791 | * flags.h (flag_unit_at_a_time): Declare. | |
15792 | * langhooks.h (LANG_HOOKS_CALLGRAPH_LOWER_FUNCTION, | |
15793 | LANG_HOOKS_CALLGRAPH_EXPAND_FUNCTION, | |
15794 | LANG_HOOKS_CALLGRAPH_INITIALIZER): New macros. | |
15795 | * langhooks.h (struct lang_hooks_for_callgraph): New. | |
15796 | (struct lang_hooks): Add callgraph field. | |
15797 | * toplev.c (flag_unit_at_a_time): New. | |
15798 | (lang_independent_options): Add flag_unit_at_a_time. | |
15799 | (process_options): Disable unit-at-a-time mode for frontends not | |
15800 | supporting callgraph. | |
15801 | * tree-inline.c (typedef struct inline_data): Add "decl" | |
15802 | (expand_call_inline): Update callgraph. | |
15803 | (optimize_inline_calls): Set id.decl. | |
15804 | * tree.h (cgraph_finalize_function, cgraph_finalize_compilation_unit, | |
15805 | cgraph_create_edges, dump_cgraph, cgraph_optimize, cgraph_remove_call | |
15806 | cgraph_calls_p): Declare. | |
15807 | * invoke.texi (-funit-at-a-time): Document | |
15808 | ||
9037b0c7 AH |
15809 | 2003-02-12 Aldy Hernandez <aldyh@redhat.com> |
15810 | ||
ddb0ae00 ZW |
15811 | * config/rs6000/spe.h: Fix misc formatting. |
15812 | (__ev_create_ufix32_fs): Cast ev argument. | |
15813 | (__ev_create_sfix32_fs): Same. | |
15814 | (__ev_get_sfix32_fs_internal): Cast arguments to builtins. | |
15815 | (__ev_get_ufix32_fs_internal): Same. | |
9037b0c7 | 15816 | |
55ae46b1 RM |
15817 | 2003-02-12 Ranjit Mathew <rmathew@hotmail.com> |
15818 | ||
15819 | * doc/tm.texi (MODIFY_JNI_METHOD_CALL): Document. | |
15820 | * config/i386/cygwin.h (MODIFY_JNI_METHOD_CALL): New macro. | |
15821 | ||
3963c2e0 ZW |
15822 | 2003-02-12 Zack Weinberg <zack@codesourcery.com> |
15823 | ||
15824 | * cpplib.c (do_include_common): Move warnings for | |
15825 | #include_next and #import out to callers. Use early-return | |
15826 | instead of nested ifs. Don't do check_eol here. | |
15827 | (parse_include): Do check_eol here with the rest of the | |
15828 | parsing stuff. | |
15829 | (do_include_next, do_import): Now handle warnings. | |
15830 | ||
d1a86812 GP |
15831 | 2003-02-11 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
15832 | ||
15833 | * doc/install.texi (Specific): Update AVR- and Darwin-related URLs. | |
15834 | ||
62c9aa5f | 15835 | 2003-02-12 Jan Hubicka <jh@suse.cz> |
6efcd268 JH |
15836 | |
15837 | * predict.c (estimate_probability): Fix roundoff error. | |
15838 | ||
9083b5da KH |
15839 | 2003-02-12 Kazu Hirata <kazu@cs.umass.edu> |
15840 | ||
15841 | * config/h8300/h8300.md (a peephole2): Don't handle 65535. | |
15842 | (two peephole2): New. | |
15843 | ||
86bc9b19 KH |
15844 | 2003-02-12 Kazu Hirata <kazu@cs.umass.edu> |
15845 | ||
15846 | * config/h8300/h8300.md (several peephole2): Replace | |
15847 | find_regno_note with peep2_reg_dead_p. | |
15848 | ||
ceda50e9 RH |
15849 | 2003-02-11 Richard Henderson <rth@redhat.com> |
15850 | ||
15851 | * gcse.c (lookup_set): Remove unused argument PAT. Update | |
15852 | both callers. | |
15853 | ||
886e0865 GK |
15854 | 2003-02-11 Geoffrey Keating <geoffk@apple.com> |
15855 | ||
15856 | * diagnostic.c (real_abort): New. | |
15857 | (diagnostic_report_diagnostic): Call real_abort on error. | |
15858 | * diagnostic.h (diagnostic_abort_on_error): New. | |
15859 | (struct diagnostic_context): Add abort_on_error field. | |
15860 | * toplev.c (setup_core_dumping): New. | |
15861 | (decode_d_option): Handle 'H' case. | |
15862 | * doc/invoke.texi (Debugging Options): Document -dH. | |
15863 | ||
76438597 NN |
15864 | 2003-02-11 Nathanael Nerode <neroden@gcc.gnu.org> |
15865 | ||
15866 | * Makefile.in: Remove pointless setting of CXXFLAGS for dejagnu | |
15867 | which refers to obsolete directories. | |
15868 | ||
09b568fc RH |
15869 | 2003-02-11 Richard Henderson <rth@redhat.com> |
15870 | ||
15871 | * config/alpha/linux.h (TARGET_C99_FUNCTIONS): New. | |
15872 | ||
62c9aa5f | 15873 | 2002-10-21 Jan Hubicka <jh@suse.cz> |
8b978a57 JH |
15874 | |
15875 | * i386.c (contains_128bit_aligned_vector_p): New function. | |
15876 | (ix86_function_arg_boundary): Properly align vector modes. | |
15877 | ||
a3259be8 BW |
15878 | 2003-02-11 Bob Wilson <bob.wilson@acm.org> |
15879 | ||
15880 | * config/xtensa/xtensa.md (set_frame_ptr): Change rtl to set reg a7. | |
15881 | * config/xtensa/xtensa.c (xtensa_reorg): Search for UNSPECV_SET_FP | |
15882 | as a SET pattern. | |
15883 | ||
da52a069 RS |
15884 | 2003-02-11 Roger Sayle <roger@eyesopen.com> |
15885 | ||
15886 | * builtins.c: Fix failure caused by commiting wrong patch. | |
15887 | ||
d58f6584 DJ |
15888 | 2003-02-11 Dale Johannesen <dalej@apple.com> |
15889 | * ra-build.c (compare_and_free_webs): Relax checking. | |
15890 | * config/rs6000/darwin.h (HOT_TEXT_SECTION_NAME): Define. | |
15891 | (UNLIKELY_EXECUTED_TEXT_SECTION_NAME): Define. | |
15892 | ||
22fd5743 FH |
15893 | 2003-02-11 Falk Hueffner <falk.hueffner@student.uni-tuebingen.de> |
15894 | ||
15895 | PR optimization/9651 | |
15896 | * rtlanal.c (may_trap_p): Handle FIX. | |
15897 | ||
3462df62 DJ |
15898 | 2003-02-11 Dave Jones <davej@codemonkey.org.uk> |
15899 | ||
15900 | * config/i386/i386.c (override_options): Define c3-2 as a 686 with SSE. | |
15901 | * doc/invoke.texi: Extra alias. | |
15902 | ||
a693fbb9 GK |
15903 | 2003-02-11 Geoffrey Keating <geoffk@apple.com> |
15904 | ||
15905 | * config/rs6000/host-darwin.c: Fix comment. | |
15906 | ||
bb157ff4 DE |
15907 | 2003-02-11 David Edelsohn <edelsohn@gnu.org> |
15908 | ||
15909 | * config/rs6000/rs6000.md (divmodsi4): Use register_operand | |
15910 | predicate for mod result. | |
15911 | ||
16ddb599 JDA |
15912 | 2003-02-11 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
15913 | ||
15914 | * inclhack.def (hpux_long_double, hpux10_ctype_declarations1, | |
15915 | hpux10_ctype_declarations2, hpux_ctype_macros): New hacks. | |
15916 | * fixincl.x: Rebuilt. | |
15917 | * tests/base/stdlib.h: Update. | |
15918 | * tests/base/ctype.h: New file. | |
15919 | ||
62c9aa5f | 15920 | 2003-02-11 Jan Hubicka <jh@suse.cz> |
6f0d3566 JH |
15921 | |
15922 | * emit-rtl.c (emit_copy_of_insn_after): Copy insn recog cache too. | |
15923 | ||
d0a5295a RH |
15924 | 2003-02-11 Richard Henderson <rth@redhat.com> |
15925 | ||
15926 | * config/i386/i386.c (ix86_expand_movstr): Fail if esi or edi | |
15927 | appropriated as globals. | |
15928 | (ix86_expand_clrstr): Similarly. | |
15929 | * config/i386/i386.md (cmpstrsi): Similarly. | |
15930 | ||
9672132f KH |
15931 | 2003-02-11 Kazu Hirata <kazu@cs.umass.edu> |
15932 | ||
15933 | * config/h8300/h8300.md (a peephole2): Add a case of 255. | |
15934 | ||
b5e01d4b RS |
15935 | 2003-02-11 Roger Sayle <roger@eyesopen.com> |
15936 | ||
15937 | * optabs.h (enum optab_index): Add new OTI_pow and OTI_atan2. | |
15938 | (pow_optab, atan2_optab): Define corresponding macros. | |
15939 | * optabs.c (init_optabs): Initialize pow_optab and atan2_optab. | |
15940 | * genopinit.c (optabs): Implement pow_optab and atan2_optab | |
15941 | using pow?f3 and atan2?f3 patterns. | |
15942 | * builtins.c (expand_errno_check): New function to update errno | |
15943 | if necessary, split out from expand_builtin_mathfn. | |
15944 | (expand_builtin_mathfn): Use expand_errno_check. | |
15945 | (expand_builtin_mathfn_2): New function to handle expanding binary | |
15946 | math functions, reusing the code in expand_errno_check. | |
15947 | (expand_builtin): Handle the pow and atan2 math built-ins, | |
15948 | BUILT_IN_{POW,POWF,POWL,ATAN2,ATAN2F,ATAN2L} via the new function | |
15949 | expand_builtin_mathfn_2. | |
15950 | ||
15951 | * doc/md.texi: Document new pow?f3 and atan2?f3 patterns. | |
15952 | ||
62c9aa5f | 15953 | 2003-02-11 Jan Hubicka <jh@suse.cz> |
cb119f82 JH |
15954 | |
15955 | * combine.c (combine_simplify_rtx): Fix folding of | |
15956 | nested float_truncates. | |
15957 | ||
a05566a3 KH |
15958 | 2003-02-11 Kazu Hirata <kazu@cs.umass.edu> |
15959 | ||
15960 | * config/h8300/h8300.md (a peephole2): Fix a typo. | |
15961 | ||
20ae4500 RE |
15962 | 2003-02-11 Richard Earnshaw <rearnsha@arm.com> |
15963 | ||
15964 | * arm.mc (return_address_mask): Use CC_REGNUM for the condition code | |
15965 | register number. | |
15966 | ||
717d8b71 KH |
15967 | 2003-02-11 Kazu Hirata <kazu@cs.umass.edu> |
15968 | ||
15969 | * config/h8300/h8300-protos.h: Add a prototype for | |
15970 | gtuleu_operator. | |
15971 | * config/h8300/h8300.c (gtuleu_operator): New. | |
15972 | * config/h8300/h8300.h (PREDICATE_CODES): Add gtuleu_operator. | |
15973 | * config/h8300/h8300.md (a peephole2): New. | |
15974 | ||
62c9aa5f | 15975 | 2003-02-11 Jan Hubicka <jh@suse.cz> |
e36e8f52 JH |
15976 | |
15977 | * sched-ebb.c (schedule_ebbs): Do not verify_flow_info. | |
15978 | ||
62c9aa5f | 15979 | 2003-02-11 Jan Hubicka <jh@suse.cz> |
c728da61 JH |
15980 | |
15981 | * predict.c (choose_function_section): Choose sections correctly. | |
15982 | ||
4cc0fdd2 JDA |
15983 | 2003-02-10 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
15984 | ||
15985 | * reload1.c (first_label_num): New. | |
15986 | (reload): Index offsets_known_at and offsets_at using difference of | |
15987 | label number and first label number. Don't use offset pointers. | |
15988 | (set_label_offsets, set_initial_label_offsets): Likewise. | |
15989 | ||
44b1fa11 RS |
15990 | 2003-02-10 Roger Sayle <roger@eyesopen.com> |
15991 | ||
15992 | * mips-tfile.c (init_file): Add missing initializers in the | |
15993 | "#ifdef __alpha" case. | |
15994 | (file_offset, max_file_offset): Declare as unsigned long. | |
15995 | (write_varray): Cast to "unsigned long" in comparisons against | |
15996 | either file_offset or max_file_offset. | |
15997 | (write_object): Likewise. | |
15998 | (read_seek): Likewise. | |
15999 | (copy_object): Likewise. Declare "ifd" as int to match its use | |
16000 | in add_ext_symbol, and avoid signed/unsigned conditional warning. | |
16001 | ||
2948ade7 | 16002 | 2003-02-10 Nick Clifton <nickc@redhat.com> |
3963c2e0 | 16003 | Aldy Hernandez <aldyh@redhat.com> |
2948ade7 | 16004 | |
3963c2e0 ZW |
16005 | * config/rs6000/eabispe.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Do not |
16006 | override options which have been specified on the command line. | |
2948ade7 | 16007 | |
2a4e6df4 KH |
16008 | 2003-02-10 Kazu Hirata <kazu@cs.umass.edu> |
16009 | ||
16010 | * config/h8300/h8300.md (abssf2): New. | |
16011 | (*abssf2_h8300): Likewise. | |
16012 | (*abssf2_h8300hs): Likewise. | |
16013 | ||
411e2759 PE |
16014 | 2003-02-10 Phil Edwards <pme@gcc.gnu.org> |
16015 | ||
16016 | * tree.c (build_tree_list): Fix parameter names in comment. | |
16017 | ||
2b24fc41 JJ |
16018 | 2003-02-10 Janis Johnson <janis187@us.ibm.com> |
16019 | ||
16020 | * config/rs6000/ppc64-fp.c: New file. | |
16021 | * config/rs6000/t-linux64 (LIB2FUNCS_EXTRA): Add ppc64-fp.c. | |
16022 | ||
aa634f11 JZ |
16023 | 2003-02-10 Josef Zlomek <zlomekj@suse.cz> |
16024 | ||
16025 | * Makefile.in (bb-reorder.o): Add dependency on $(FIBHEAP_H). | |
3963c2e0 | 16026 | * bb-reorder.c (make_reorder_chain): Deleted. |
aa634f11 JZ |
16027 | (make_reorder_chain_1): Deleted. |
16028 | (find_traces): New function. | |
16029 | (rotate_loop): New function. | |
16030 | (mark_bb_visited): New function. | |
16031 | (find_traces_1_round): New function. | |
16032 | (copy_bb): New function. | |
16033 | (bb_to_key): New function. | |
16034 | (better_edge_p): New function. | |
16035 | (connect_traces): New function. | |
16036 | (copy_bb_p): New function. | |
16037 | (get_uncond_jump_length): New function. | |
16038 | (reorder_basic_blocks): Use new functions (Software Trace Cache). | |
16039 | * cfgcleanup.c (outgoing_edges_match): Enable crossjumping across loop | |
16040 | boundaries. | |
16041 | ||
17edbda5 AH |
16042 | 2003-02-10 Aldy Hernandez <aldyh@redhat.com> |
16043 | ||
16044 | * config/rs6000/rs6000.c (bdesc_2arg): Change spe_evxor to xorv2si3. | |
16045 | ||
57116c34 DN |
16046 | 2003-02-09 Dan Nicolaescu <dann@ics.uci.edu> |
16047 | ||
16048 | * tree.h (struct tree_decl): Remove unused live_range_rtl field. | |
3963c2e0 | 16049 | (DECL_LIVE_RANGE_RTL): Remove. |
57116c34 | 16050 | |
4f448245 NC |
16051 | 2003-02-10 Nick Clifton <nickc@redhat.com> |
16052 | ||
16053 | * config/arm/aof.h, config/arm/aout.h, config/arm/arm-modes.def, | |
16054 | config/arm/arm-protos.h, config/arm/arm.c, config/arm/arm.h, | |
16055 | config/arm/arm.md, config/arm/cirrus.md, config/arm/coff.h, | |
16056 | config/arm/conix-elf.h, config/arm/ecos-elf.h, config/arm/elf.h, | |
16057 | config/arm/freebsd.h, config/arm/linux-elf.h, | |
16058 | config/arm/linux-gas.h, config/arm/netbsd-elf.h, | |
16059 | config/arm/netbsd.h, config/arm/pe.c, config/arm/pe.h, | |
16060 | config/arm/rtems-elf.h, config/arm/semi.h, config/arm/semiaof.h, | |
16061 | config/arm/strongarm-coff.h, config/arm/strongarm-elf.h, | |
16062 | config/arm/strongarm-pe.h, config/arm/uclinux-elf.h, | |
16063 | config/arm/unknown-elf-oabi.h, config/arm/unknown-elf.h, | |
16064 | config/arm/xscale-elf.h: Replace occurances of "GNU CC" with "GCC" | |
16065 | and reformat as appropriate. | |
16066 | ||
19190d27 KH |
16067 | 2003-02-10 Kazu Hirata <kazu@cs.umass.edu> |
16068 | ||
16069 | * config/h8300/clzsi2.c: Remove. | |
16070 | * config/h8300/ctzsi2.c: Likewise. | |
16071 | * config/h8300/paritysi2.c: Likewise. | |
16072 | * config/h8300/popcountsi2.c: Likewise. | |
16073 | * config/h8300/t-h8300 (LIB2FUNCS_EXTRA): Remove clzsi2, | |
16074 | ctzsi2, paritysi2, and popcountsi2. | |
16075 | ||
ecf92f82 | 16076 | 2003-02-10 Eric Botcazou <ebotcazou@libertysurf.fr> |
3963c2e0 | 16077 | Christian Ehrhardt <ehrhardt@mathematik.uni-ulm.de> |
ecf92f82 EB |
16078 | |
16079 | PR c/7741 | |
16080 | * c-decl.c (duplicate_decls): Discard the initializer of the | |
16081 | new decl when the types are conflicting. | |
16082 | ||
ac5e69da JZ |
16083 | 2003-02-10 Josef Zlomek <zlomekj@suse.cz> |
16084 | ||
16085 | * Makefile.in (sreal.o): Added. | |
16086 | (predict.o): Depends on sreal.h instead of real.h. | |
16087 | * sreal.c: New file. | |
16088 | * sreal.h: New file. | |
16089 | * predict.c: Use sreal.c instead of real.c. | |
16090 | ||
9b6b54e2 NC |
16091 | 2003-02-10 Nick Clifton <nickc@redhat.com> |
16092 | ||
16093 | * Contributed support for the Cirrus EP9312 "Maverick" | |
16094 | floating point co-processor. Written by Aldy Hernandez | |
3963c2e0 | 16095 | <aldyh@redhat.com>. |
9b6b54e2 NC |
16096 | (config/arm/arm.c): Add Cirrus support. |
16097 | (config/arm/arm.h): Likewise. | |
16098 | (config/arm/aout.h): Likewise. | |
16099 | (config/arm/arm.md): Likewise. | |
16100 | (config/arm/arm-protos.h): Likewise. | |
16101 | (config.gcc): Likewise. | |
16102 | (doc/invoke.texi): Describe new -mcpu value and new | |
16103 | -mcirrus-fix-invalid-insns switch, | |
16104 | (cirrus.md): New file. | |
16105 | ||
62c9aa5f | 16106 | 2003-02-10 Jan Hubicka <jh@suse.cz> |
949824fe JH |
16107 | |
16108 | * combine.c (combine_simplify_rtx): Simplify using | |
16109 | (float_truncate (float x)) is (float x) | |
16110 | (float_extend (float_extend x)) is (float_extend x). | |
16111 | ||
546ff777 AM |
16112 | 2003-02-10 Alan Modra <amodra@bigpond.net.au> |
16113 | ||
16114 | * calls.c (try_to_integrate): Tidy stack_usage_map access. | |
16115 | (emit_library_call_value_1): Likewise. Formatting. | |
16116 | (store_one_arg): Likewise. | |
16117 | ||
626098f9 | 16118 | 2003-02-09 Nick Clifton <nickc@redhat.com> |
3963c2e0 | 16119 | Aldy Hernandez <aldyh@redhat.com> |
626098f9 | 16120 | |
3963c2e0 ZW |
16121 | * config/rs6000/spe.md: spe_evlhhesplat, spe_evlhhossplat, |
16122 | spe_evlhhousplat, spe_evlwhsplat, spe_evlwwsplat, spe_evldd, | |
16123 | spe_evldh, spe_evldw, spe_evlwhe, spe_evlwhos, spe_evlwhou, | |
16124 | spe_evstdd, spe_evstdh, spe_evstdw, spe_evstdwx, spe_evstwhe, | |
16125 | spe_evstwho, spe_evstwwe, spe_evstwwo: Fix syntax to match newest | |
16126 | docs. Add range test for immediate value. | |
626098f9 AH |
16127 | |
16128 | 2003-02-09 Aldy Hernandez <aldyh@redhat.com> | |
16129 | ||
3963c2e0 ZW |
16130 | Rename spe_evxor to xorv2si3. |
16131 | (xorv4hi3): New. | |
16132 | (xorv1di3): New. | |
626098f9 | 16133 | |
8d23a2c8 | 16134 | 2003-02-10 Glen Nakamura <glen@imodulo.com> |
3963c2e0 | 16135 | |
8d23a2c8 GN |
16136 | * doc/extend.texi (C++98 Thread-Local Edits): Add missing @item |
16137 | tag. | |
16138 | ||
62c9aa5f | 16139 | 2003-02-10 Jan Hubicka <jh@suse.cz> |
fdc4b40b JH |
16140 | |
16141 | * i386.c (vector_move_operand): New predicate. | |
16142 | (ix86_expand_vector_move): Be happy about 0. | |
16143 | * i386.h (PREDICATE_CODES): Add sse-move_operand. | |
16144 | * i386.md (mov*_internal): Add 'C' alternative. | |
16145 | ||
62c9aa5f | 16146 | 2003-02-09 Jan Hubicka <jh@suse.cz> |
35c28a13 JH |
16147 | |
16148 | * i386.md (floathi*): Deal with SSE. | |
16149 | ||
62c9aa5f | 16150 | 2003-02-09 Jan Hubicka <jh@suse.cz> |
852c8ba1 JH |
16151 | |
16152 | * simplify-rtx.c (simplify_unary_operation, | |
16153 | simplify_binary_operation): Deal with vector modes | |
16154 | (simplify_ternary_operation): Deal with no-op VEC_MERGE. | |
16155 | ||
c876997f | 16156 | 2003-02-09 Richard Sandiford <rsandifo@redhat.com> |
2382b79f RS |
16157 | |
16158 | * toplev.c (rest_of_compilation): Recompute register usage after | |
16159 | split_all_insns. | |
16160 | ||
8275b011 RH |
16161 | 2003-02-09 Richard Henderson <rth@redhat.com> |
16162 | ||
16163 | * libgcc-std.ver (__clztf2): New. | |
16164 | (__ctztf2, __popcounttf2, __paritytf2): New. | |
16165 | * libgcc2.c (__clzSI2, __clzDI2, __ctzSI2, __ctzDI2, __popcountSI2, | |
16166 | __popcountDI2, __paritySI2, __parityDI2): Use UWmode and UDWmode; | |
16167 | adjust code to match the different type sizes. | |
16168 | * libgcc2.h (__clzSI2, __ctzSI2, __popcountSI2, __paritySI2, | |
16169 | __clzDI2, __ctzDI2, __popcountDI2, __parityDI2): New macros. | |
16170 | ||
16171 | * optabs.c (init_integral_libfuncs): Don't hard-code SImode and | |
16172 | TImode; select word_mode and twice that. | |
16173 | (init_floating_libfuncs): Don't hard-code SFmode and TFmode; | |
16174 | select the modes from float, double, and long double. | |
16175 | (init_optabs): Remove duplicate initializations. | |
16176 | ||
794aca5d WB |
16177 | 2003-02-09 Wolfgang Bangerth <bangerth@ticam.utexas.edu> |
16178 | ||
16179 | * doc/install.texi: Squeeze and streamline section on | |
16180 | testing and regression checking. | |
16181 | ||
62c9aa5f | 16182 | 2003-02-09 Jan Hubicka <jh@suse.cz> |
d9deed68 JH |
16183 | |
16184 | * i386.md (ahi?v*3): Set third operand type to TImode. | |
16185 | * i386.c (ix86_expand_binop_builtin): Extend operand when needed. | |
16186 | ||
16187 | * simplify-rtx.c (simplify_subreg): Fix conversion from vector into | |
16188 | integer mode. | |
16189 | ||
16190 | * rtl.def (VEC_MERGE, VEC_SELECT, VEC_CONCAT, VEC_DUPLICATE): | |
16191 | Change code so they are arithmetic expressions now. | |
16192 | * simplify-rtx.c (simplify_unary_operation, simplify_binary_operation, | |
16193 | simplify_ternary_operation): Deal with VEC_* expressions. | |
16194 | ||
16195 | * i386.md (vmaskcmp, pinsrw, movd patterns): Fix RTL representation. | |
16196 | ||
62c9aa5f | 16197 | 2003-02-08 Jan Hubicka <jh@suse.cz> |
83fd323c JH |
16198 | |
16199 | * cfgrtl.c (verify_flow_info): Use control_flow_insn_p. | |
16200 | * reload1.c (fixup_abnormal_edges): Split basic blocks when EH edges | |
16201 | possibly got duplicated. | |
16202 | ||
4ee7aa60 RH |
16203 | 2003-02-08 Richard Henderson <rth@redhat.com> |
16204 | ||
16205 | * config/alpha/alpha.c (override_options): Turn off explicit | |
16206 | relocs until post-peep2 code duplication resolved. | |
16207 | ||
c117dddc KH |
16208 | 2003-02-08 Kazu Hirata <kazu@cs.umass.edu> |
16209 | ||
16210 | * optabs.c (expand_unop): Widen clz properly when clz is done | |
16211 | via libcall. | |
16212 | ||
8aa063fb KH |
16213 | 2003-02-08 Kazu Hirata <kazu@cs.umass.edu> |
16214 | ||
16215 | * config/h8300/clzsi2.c: Replace "GNU CC" with "GCC". | |
16216 | * config/h8300/crti.asm: Likewise. | |
16217 | * config/h8300/crtn.asm: Likewise. | |
16218 | * config/h8300/ctzsi2.c: Likewise. | |
16219 | * config/h8300/fixunssfsi.c: Likewise. | |
16220 | * config/h8300/h8300-protos.h: Likewise. | |
16221 | * config/h8300/h8300.c: Likewise. | |
16222 | * config/h8300/h8300.h: Likewise. | |
16223 | * config/h8300/h8300.md: Likewise. | |
16224 | * config/h8300/paritysi2.c: Likewise. | |
16225 | * config/h8300/popcountsi2.c: Likewise. | |
16226 | * config/h8300/rtems.h: Likewise. | |
16227 | ||
01a132bb ZD |
16228 | 2003-02-08 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
16229 | ||
16230 | * doc/invoke.texi: Documentation for my previous commit. | |
16231 | * doc/passes.texi: Ditto. | |
16232 | ||
617b465c ZD |
16233 | 2003-02-08 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
16234 | ||
16235 | * cfgloop.h (fix_loop_placement, can_duplicate_loop_p, | |
16236 | duplicate_loop_to_header_edge, loopify, remove_path, split_loop_bb): | |
16237 | Declare. | |
16238 | (DLTHE_FLAG_UPDATE_FREQ): New. | |
16239 | * cfgloopmanip.c (duplicate_loop, duplicate_subloops, copy_loops_to, | |
16240 | loop_redirect_edge, loop_delete_branch_edge, copy_bbs, remove_bbs, | |
16241 | rpe_enum_p, find_branch, alp_enum_p, add_loop, fix_loop_placements, | |
16242 | fix_bb_placement, fix_bb_placements, place_new_loop, | |
16243 | scale_loop_frequencies, scale_bbs_frequencies, record_exit_edges): | |
16244 | New static functions. | |
16245 | (fix_loop_placement, can_duplicate_loop_p, | |
16246 | duplicate_loop_to_header_edge, loopify, remove_path, split_loop_bb): | |
16247 | New functions. | |
16248 | ||
16249 | * cfgloop.h (loop_optimizer_init, loop_optimizer_finalize, | |
16250 | unswitch_loops): Declare. | |
16251 | * loop-init.c: New file. | |
16252 | * loop-unswitch.c: New file. | |
16253 | * Makefile.in (loop-init.o, loop-unswitch.o): New. | |
16254 | * params.def (PARAM_MAX_UNSWITCH_INSNS, PARAM_MAX_UNSWITCH_LEVEL): New. | |
16255 | * toplev.c (DFI_loop2): New dump. | |
16256 | (flag_unswitch_loops): New. | |
16257 | (lang_independent_options): Add it. | |
16258 | (rest_of_compilation): Call new loop optimizer. | |
16259 | (parse_options_and_default_flags): Turn flag_unswitch_loops on with -O3. | |
16260 | ||
3bd03194 KH |
16261 | 2003-02-08 Kazu Hirata <kazu@cs.umass.edu> |
16262 | ||
16263 | * config/h8300/clzsi2.c: New. | |
16264 | * config/h8300/ctzsi2.c: Likewise. | |
16265 | * config/h8300/paritysi2.c: Likewise. | |
16266 | * config/h8300/popcountsi2.c: Likewise. | |
16267 | * config/h8300/t-h8300 (LIB2FUNCS_EXTRA): Add above files. | |
16268 | ||
d865b122 DE |
16269 | 2003-02-07 David Edelsohn <edelsohn@gnu.org> |
16270 | ||
16271 | * config/rs6000/rs6000.h (CLZ_DEFINED_VALUE_AT_ZERO): Define. | |
16272 | * config/rs6000/rs6000.md (clzsi2): Rename from cntlzw2. | |
94993909 | 16273 | (ctzsi2): New pattern. |
d865b122 DE |
16274 | (ffssi2): Use clz instead of unspec. |
16275 | (clzdi2): Rename from cntlzd2. | |
94993909 | 16276 | (ctzdi2): New pattern. |
d865b122 DE |
16277 | (ffsdi2): Use clz instead of unspec. |
16278 | ||
8f37dd98 LR |
16279 | 2003-02-07 Loren James Rittle <ljrittle@acm.org> |
16280 | ||
16281 | * config/alpha/freebsd.h (LINK_SPEC): Weaken error to notice. | |
16282 | * config/ia64/freebsd.h (LINK_SPEC): Likewise. | |
16283 | * config/sparc/freebsd.h (LINK_SPEC): Likewise. | |
16284 | * config/i386/freebsd.h (LINK_SPEC): Add clause to mirror other arches. | |
16285 | ||
83205b9b WB |
16286 | 2003-02-07 Wolfgang Bangerth <bangerth@ticam.utexas.edu> |
16287 | ||
16288 | * doc/trouble.texi: Document pitfalls of two-stage name lookup. | |
16289 | ||
710ee3ed RH |
16290 | 2003-02-07 Richard Henderson <rth@redhat.com> |
16291 | ||
16292 | PR 9226 | |
3963c2e0 ZW |
16293 | * gcse.c (local_cprop_find_used_regs): New. |
16294 | (local_cprop_pass): Use it. | |
710ee3ed | 16295 | |
3ef879d2 FF |
16296 | 2003-02-07 Fred Fish <fnf@intrinsity.com> |
16297 | ||
16298 | * mips-tfile.c (parse_def): Parenthesize assignments to fix | |
3963c2e0 | 16299 | precedence bugs. |
3ef879d2 | 16300 | |
a0f0e963 | 16301 | 2003-02-07 Segher Boessenkool <segher@koffie.nl> |
3ef879d2 | 16302 | |
3963c2e0 | 16303 | * genoutput.c (output_get_insn_name): Handle NOOP_MOVE_INSN_CODE. |
a0f0e963 | 16304 | |
46847aa6 RS |
16305 | 2003-02-07 Roger Sayle <roger@eyesopen.com> |
16306 | ||
16307 | * builtin-types.def (BT_FN_FLOAT_FLOAT_FLOAT): New built-in type. | |
16308 | (BT_FN_LONG_DOUBLE_LONG_DOUBLE_LONG_DOUBLE): Likewise. | |
16309 | (BT_FN_DOUBLE_DOUBLE_DOUBLE): Likewise. | |
16310 | * builtins.def: Define pow, powf, powl, atan2, atan2f and atan2l | |
16311 | builtin functions (and their __builtin_* variants). | |
16312 | * builtins.c (mathfn_built_in): Handle missing log{,f,l} cases. | |
16313 | (expand_builtin): Don't expand log{,f,l}, pow{,f,l} or atan2{,f,l} | |
16314 | when not optimizing. | |
16315 | ||
16316 | * doc/extend.texi: Document new pow and atan2 builtins, and | |
16317 | their float and long double variants. Realphabetize builtins. | |
16318 | ||
62c9aa5f | 16319 | 2003-02-07 Jan Hubicka <jh@suse.cz> |
c48d6750 JH |
16320 | |
16321 | * i386.md (sse2_nandv2di3): Fix. | |
16322 | ||
5e062767 DS |
16323 | 2003-03-07 Danny Smith <dannysmith@users.sourceforge.net> |
16324 | ||
16325 | * config/i386/i386.h (MS_AGGREGATE_RETURN): New define. | |
16326 | * config/i386/cygwin.h (MS_AGGREGATE_RETURN): Override default | |
16327 | definition. | |
16328 | * config/i386/i386.h (ix86_return_in_memory): Return aggregate | |
16329 | types of up to 8 bytes via registers if MS_AGGREGATE_RETURN. | |
16330 | ||
62c9aa5f | 16331 | 2003-02-07 Jan Hubicka <jh@suse.cz> |
3f755ed0 JH |
16332 | |
16333 | * i386.md (movdi_rex64_1): Fix mmx<->int move opcode. | |
16334 | ||
0816bcd2 DB |
16335 | 2003-02-07 Daniel Berlin <dberlin@dberlin.org> |
16336 | ||
16337 | * cfg.c (dump_flow_info): Add back accidently deleted line. | |
16338 | ||
7bf0a593 AP |
16339 | 2003-02-07 Andrey Petrov <petrov@netbsd.org> |
16340 | ||
16341 | * optabs.c (expand_float): Search wider integer modes first. | |
16342 | ||
01e4596e BW |
16343 | 2003-02-07 Bob Wilson <bob.wilson@acm.org> |
16344 | ||
16345 | * config/xtensa/xtensa.h (LIBGCC2_WORDS_BIG_ENDIAN): Set this | |
16346 | based on preprocessor flag. | |
16347 | ||
fbef91d8 RS |
16348 | 2003-02-07 Roger Sayle <roger@eyesopen.com> |
16349 | Richard Henderson <rth@redhat.com> | |
16350 | ||
16351 | * gcse.c (implicit_sets): New. | |
16352 | (compute_hash_table_work): Include them in hash table. | |
16353 | (find_implicit_sets, fis_get_condition): New. | |
16354 | (one_cprop_pass): Allocate and free implicit_sets; call | |
16355 | find_implicit_sets before building hash table. | |
16356 | ||
6713831e JT |
16357 | 2003-02-07 Jason Thorpe <thorpej@wasabisystems.com> |
16358 | ||
16359 | * config/t-netbsd (USER_H): Revert previous change. | |
16360 | ||
10d2dbe2 GG |
16361 | 2003-02-07 Gabor Greif <ggreif@lucent.com> |
16362 | ||
16363 | * doc/c-tree.texi (Namespaces): Fix typo. | |
16364 | ||
62c9aa5f | 16365 | 2003-02-07 Jan Hubicka <jh@suse.cz> |
d1d3c9a6 JH |
16366 | |
16367 | * regrename.c (do_replace, find_oldest_value_reg, | |
16368 | copyprop_hardreg_forward_1): Update register attributes. | |
16369 | ||
1b1f249d VM |
16370 | 2003-02-06 Vladimir Makarov <vmakarov@redhat.com> |
16371 | ||
16372 | * genautomata.c (VLA_PTR_CREATE, VLA_PTR_EXPAND, VLA_PTR_ADD, | |
16373 | VLA_HWINT_CREATE, VLA_HWINT_EXPAND, VLA_HWINT_ADD): Use temporay | |
16374 | variables starting with underscore. | |
16375 | (struct unit_usage): New structure. | |
16376 | (unit_usages, cycle_alt_unit_usages): New global variables. | |
16377 | (check_unit_distribution_in_reserv): Remove it. | |
16378 | (store_alt_unit_usage): New function. | |
16379 | (check_regexp_units_distribution): Rewrite it. | |
16380 | ||
90330d31 JDA |
16381 | 2003-02-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
16382 | ||
16383 | * config.gcc (hppa*-*-linux*): Set MASK_NO_SPACE_REGS in | |
16384 | target_cpu_default. | |
16385 | * pa.c (attr_length_call): Add 8 to call length (long indirect PA 1.X) | |
16386 | if not MASK_NO_SPACE_REGS. | |
16387 | (output_call): Adjust return pointer, don't load new space register | |
16388 | into %sr0, and use %sr4 for call if TARGET_NO_SPACE_REGS is true. | |
16389 | (pa_asm_output_mi_thunk): Don't load new space register into %sr0 if | |
16390 | TARGET_NO_SPACE_REGS is true. | |
16391 | * pa.md (return_external_pic): Add TARGET_NO_SPACE_REGS to insn | |
16392 | conditions. | |
16393 | (epilogue): Always use return_internal if TARGET_NO_SPACE_REGS is true. | |
16394 | (interspace_jump): Add new pattern for when TARGET_NO_SPACE_REGS is | |
16395 | true. Use bve when TARGET_64BIT is true. | |
16396 | ||
d1164330 RH |
16397 | 2003-02-06 Richard Henderson <rth@redhat.com> |
16398 | ||
16399 | * combine.c (nonzero_bits): Fix double break. | |
16400 | ||
5fbf0217 | 16401 | 2003-02-06 Eric Botcazou <ebotcazou@libertysurf.fr> |
3963c2e0 | 16402 | Richard Henderson <rth@redhat.com> |
5fbf0217 EB |
16403 | |
16404 | PR c/9530 | |
16405 | * config/i386/i386.c (ix86_function_ok_for_sibcall): Forbid sibcalls | |
16406 | from functions that return a float to functions that don't. | |
16407 | ||
62c9aa5f | 16408 | 2003-02-06 Jan Hubicka <jh@suse.cz> |
8f62128d JH |
16409 | |
16410 | * i386.c (x86_inter_unit_moves): New variable. | |
16411 | (ix86_secondary_memory_needed): Fix 64bit case, honor | |
16412 | TARGET_INTER_UNIT_MOVES | |
16413 | * i386.h (x86_inter_unit_moves): Declare. | |
16414 | (TARGET_INTER_UNIT_MOVES): New macro. | |
16415 | * i386.md (movsi_1): Cleanup constraints; disable | |
16416 | when not doing inter-unit moves. | |
16417 | (movsi_1_nointernunit): New. | |
16418 | (movdi_1_rex64): Fix constraints; deal with SSE->GPR moves. | |
16419 | (movdi_1_rex64_nointerunit): New. | |
16420 | (mivsf_1): disable when not doing inter-unit moves. | |
16421 | (movsf_1_nointerunit): New. | |
16422 | ||
16423 | * basic-block.h (inside_basic_block_p): Declare. | |
16424 | * cfgbuild.c (inside_basic_block_p): Make global. | |
ed446835 | 16425 | * haifa-sched.c (unlink_other_notes): Deal with NOT_INSN_BASIC_BLOCK. |
8f62128d JH |
16426 | * scheudle-ebb.c (schedule_ebb): Return last basic block of trace; |
16427 | update CFG. | |
16428 | (fix_basic_block_boundaries, add_missing_bbs): New. | |
16429 | (rank): Use profile. | |
16430 | (scheudle_ebbs): Rely on CFG; update coments. | |
16431 | ||
476d9098 GK |
16432 | 2003-02-05 Geoffrey Keating <geoffk@apple.com> |
16433 | ||
16434 | * Makefile.in (host_hook_obj): New. | |
16435 | (OBJS): Add $(host_hook_obj). | |
16436 | (host_default.o): New rule. | |
16437 | * config.gcc (host_hook_obj): New, default to host-default.o. | |
16438 | (powerpc-*-darwin*): Use host-darwin.o. | |
16439 | (out_host_hook_obj): New. | |
16440 | * configure: Regenerate. | |
16441 | * configure.in: Print information about out_host_hook_obj, substitute | |
16442 | into output files. | |
16443 | * host-default.c: New file. | |
16444 | * hosthooks.h: New file. | |
16445 | * toplev.c (general_init): Call host_hooks.extra_signals. | |
16446 | * config/rs6000/host-darwin.c: New file. | |
16447 | * config/rs6000/x-darwin: New file. | |
16448 | * doc/hostconfig.texi: Add documentation for new host hook. | |
16449 | Rearrange existing documentation. | |
16450 | ||
69bd9368 RS |
16451 | 2003-02-05 Roger Sayle <roger@eyesopen.com> |
16452 | ||
16453 | * dwarf2out.c (mem_loc_descriptor): Replace ASM_SIMPLIFY_DWARF_ADDR | |
16454 | with *targetm.delegitimize_address. | |
16455 | (rtl_for_decl_location): Likewise. | |
16456 | * dwarfout.c (output_mem_loc_descriptor): Likewise. Include target.h. | |
16457 | * Makefile.in (dwarf2out.c, dwarfout.c): Depend upon $(TARGET_H) | |
16458 | ||
16459 | * config/i386/i386.h (ASM_SIMPLIFY_DWARF_ADDR): Remove definition. | |
16460 | * config/i386/i386-protos.h (i386_simplify_dwarf_addr): Remove | |
16461 | prototype. | |
16462 | * config/i386/i386.c (ix86_delegitimize_address): Renamed from | |
16463 | i386_simplify_dwarf_addr. Made static. Prototyped. | |
16464 | (TARGET_DELEGITIMIZE_ADDRESS): Update definition from | |
16465 | i386_simplify_dwarf_addr to ix86_delegitimize_address. | |
16466 | (ix86_find_base_term): Likewise. | |
16467 | (maybe_get_pool_constant): Likewise. | |
16468 | ||
16469 | * config/s390/s390.h (ASM_SIMPLIFY_DWARF_ADDR): Remove definition. | |
16470 | * config/s390/s390-protos.h (s390_simplify_dwarf_addr): Remove | |
16471 | prototype. | |
16472 | * config/s390/s390.c (s390_delegitimize_address): Renamed from | |
16473 | s390_simplify_dwarf_addr. Made static. Prototyped. | |
16474 | (TARGET_DELEGITIMIZE_ADDRESS): Define as s390_delegitimize_address. | |
16475 | ||
7127fd58 RH |
16476 | 2003-02-05 Richard Henderson <rth@redhat.com> |
16477 | ||
8dde7a2c | 16478 | PR c/8602 |
3963c2e0 ZW |
16479 | * integrate.c (output_inline_function): Reset input_filename |
16480 | and lineno from the decl before rest_of_compilation. | |
7127fd58 | 16481 | |
7dba8395 RH |
16482 | 2003-02-05 Richard Henderson <rth@redhat.com> |
16483 | ||
16484 | * defaults.h (CLZ_DEFINED_VALUE_AT_ZERO): New. | |
16485 | (CTZ_DEFINED_VALUE_AT_ZERO): New. | |
16486 | * doc/rtl.texi, doc/tm.texi: Document them. | |
16487 | ||
16488 | * combine.c (nonzero_bits) [CLZ, CTZ]: Handle the definedness | |
16489 | of the value at zero properly. | |
16490 | * fold-const.c (tree_expr_nonnegative_p): Likewise. | |
16491 | * simplify-rtx.c (simplify_unary_operation): Likewise. | |
16492 | ||
16493 | * config/alpha/alpha.h (CLZ_DEFINED_VALUE_AT_ZERO): New. | |
16494 | (CTZ_DEFINED_VALUE_AT_ZERO): New. | |
16495 | ||
16496 | * config/arm/arm.c (TARGET_INIT_BUILTINS): Remove. | |
16497 | (TARGET_EXPAND_BUILTIN): Remove. | |
16498 | (def_builtin, arm_init_builtins, arm_expand_builtin): Remove. | |
16499 | * config/arm/arm.h (CLZ_DEFINED_VALUE_AT_ZERO): New. | |
16500 | (enum arm_builtins): Remove. | |
16501 | * config/arm/arm.md (UNSPEC_CLZ): Remove. | |
16502 | (clzsi2): Rename from clz; use clz instead of unspec. | |
16503 | (ctzsi2): New. | |
16504 | * config/arm/arm-protos.h: Update. | |
16505 | ||
62c9aa5f | 16506 | 2003-02-05 Jan Hubicka <jh@suse.cz> |
8d705469 JH |
16507 | |
16508 | * i386-protos.h (x86_emit_floatuns): Declare. | |
16509 | * i386.c (x86_emit_floatuns): New global function. | |
16510 | * i386.md (floatunssisf2, floatunsdisf2, | |
16511 | floatunsdidf2): New patterns. | |
16512 | ||
bc810602 ZD |
16513 | 2003-01-25 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
16514 | ||
16515 | * cfgloopmanip.c (force_single_succ_latches): Fix missindentation. | |
16516 | ||
07938cec HB |
16517 | 2003-02-05 Hans Boehm <Hans.Boehm@hp.com> |
16518 | ||
16519 | * config/ia64/unwind-ia64.c: include coretypes.h, tm.h to get | |
16520 | config/ia64/linux.h | |
16521 | ||
c876997f | 16522 | 2003-02-05 Roger Sayle <roger@eyesopen.com> |
ca9398d1 RS |
16523 | |
16524 | * cfgloop.h (flow_bb_inside_loop_p): Correct prototype again. | |
16525 | ||
4f6ae35d JJ |
16526 | 2003-02-05 Jakub Jelinek <jakub@redhat.com> |
16527 | ||
16528 | PR optimization/8555 | |
16529 | * config/i386/i386.md (sse_mov?fcc split): Handle op2 == op3 case | |
16530 | instead of aborting. | |
16531 | ||
8acfdd43 RH |
16532 | 2003-02-04 Richard Henderson <rth@redhat.com> |
16533 | ||
16534 | * config/i386/i386.md (UNSPEC_BSF): Remove. | |
16535 | (ffssi2): Split into cmove and no_cmove insns and splitters; | |
16536 | lose pentium float trick for now. | |
16537 | (ffssi_1): Add * to name; use CTZ instead of UNSPEC. | |
16538 | (ctzsi2, clzsi2, bsr): New. | |
16539 | ||
c407570a RH |
16540 | 2003-02-04 Richard Henderson <rth@redhat.com> |
16541 | ||
16542 | * config/ia64/ia64.c (rtx_needs_barrier): Handle POPCOUNT, | |
16543 | UNSPEC_GETF_EXP; remove UNSPEC_POPCNT. | |
16544 | * config/ia64/ia64.md (UNSPEC_POPCNT): Remove. | |
16545 | (ffsdi2): Use popcount instead of unspec. | |
16546 | (popcountdi2): Rename from *popcnt. | |
16547 | (ctzdi2, clzdi2, getf_exp_tf): New. | |
16548 | ||
4b3cf522 KH |
16549 | 2003-02-04 Kazu Hirata <kazu@cs.umass.edu> |
16550 | ||
16551 | * genconfig.c (main): Generate CC0_P. | |
16552 | * rtl.h (CC0_P): Remove. | |
16553 | ||
dfff898c RH |
16554 | 2003-02-04 Richard Henderson <rth@redhat.com> |
16555 | ||
16556 | * libgcc2.h, libgcc2.c (__ffsSI2): New. | |
16557 | (__ffsDI2): Rename from __ffsdi2. | |
16558 | * mklibgcc.in (lib2funcs): Add _ffssi2. | |
16559 | ||
0c9ed856 RH |
16560 | 2003-02-04 Richard Henderson <rth@redhat.com> |
16561 | ||
16562 | * libgcc2.c (__paritysi2, __paritydi2): Replace last two reduction | |
16563 | rounds with a "bit table" lookup. | |
16564 | ||
9537511b UW |
16565 | 2003-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
16566 | ||
16567 | * reload.c (find_reloads): Do not use the mode specified in the insn | |
3ef879d2 | 16568 | pattern as reload mode for address operands. Do not generate optional |
9537511b UW |
16569 | reloads for operands where a mandatory reload was already pushed. |
16570 | ||
1efd0b97 RH |
16571 | 2003-02-04 Richard Henderson <rth@redhat.com> |
16572 | ||
16573 | * longlong.h [alpha] (count_leading_zeros, count_trailing_zeros): Use | |
16574 | builtins instead of inline assembly. | |
16575 | ||
087fc75a | 16576 | 2003-02-04 Falk Hueffner <falk.hueffner@student.uni-tuebingen.de> |
3ef879d2 | 16577 | |
087fc75a FH |
16578 | PR c/9376 |
16579 | * libgcc2.c (__subvdi3): Fix typo. | |
16580 | ||
62c9aa5f | 16581 | 2003-02-04 Jan Hubicka <jh@suse.cz> |
f0f0d98e JH |
16582 | |
16583 | * i386.md (movti_rex64): Fix constraint. | |
16584 | ||
62c9aa5f | 16585 | 2003-02-04 Jan Hubicka <jh@suse.cz> |
09f26fb5 JH |
16586 | |
16587 | * i386.md (vector push splitters): Fix typo in resolving conflict. | |
16588 | ||
ff6e2d3e RB |
16589 | 2003-02-04 Rodney Brown <rbrown64@csc.com.au> |
16590 | ||
16591 | * config/i386/i386.c (x86_function_profiler): Fix typo in format. | |
16592 | ||
9e80ada7 PE |
16593 | 2003-02-04 Phil Edwards <pme@gcc.gnu.org> |
16594 | ||
16595 | * doc/install.texi (*-*-linux-gnu): Mention glibc requirements | |
16596 | for recent libstdc++. Remove formatting cruft. | |
16597 | ||
79c758fb JJ |
16598 | 2003-02-04 Jakub Jelinek <jakub@redhat.com> |
16599 | ||
16600 | * dwarf2out.c (dwarf2out_finish): Add AT_comp_dir | |
16601 | attribute even if input file name is absolute, but one of the | |
16602 | includes is relative. | |
16603 | ||
b3a8389d JM |
16604 | 2003-02-04 Joseph S. Myers <jsm@polyomino.org.uk> |
16605 | ||
16606 | * doc/gcc.texi, doc/gccint.texi, doc/gcov.texi, | |
16607 | doc/include/fdl.texi, doc/invoke.texi: Update to GFDL 1.2. | |
16608 | * doc/install.texi: Update copyright dates. Update to GFDL 1.2. | |
16609 | ||
dabb3f04 RH |
16610 | 2003-02-03 Richard Henderson <rth@redhat.com> |
16611 | ||
16612 | * libgcc2.c (__ffsdi2, __clzsi2, __clzdi2, __ctzsi2, __ctzdi2, | |
16613 | __popcountsi2, __popcountdi2, __paritysi2, __paritydi2): Change | |
16614 | return type to "int". Shuffle declarations and undef int trap. | |
16615 | * libgcc2.h: Remove their declarations. | |
16616 | * optabs.c (expand_unop): Force outmode to int for bitops. | |
16617 | ||
985d0d50 BW |
16618 | 2003-02-03 Bob Wilson <bob.wilson@acm.org> |
16619 | ||
16620 | * config/xtensa/xtensa.c (order_regs_for_local_alloc): Order the | |
16621 | coprocessor registers before floating-point registers. | |
16622 | * config/xtensa/xtensa.h (REG_ALLOC_ORDER): Adjust register numbers | |
16623 | to account for a previously removed register. | |
16624 | (SPEC_REG_FIRST, SPEC_REG_LAST, SPEC_REG_NUM, COUNT_REGISTER_REGNUM): | |
16625 | Delete unused macros. | |
16626 | ||
62c9aa5f | 16627 | 2003-02-03 Jan Hubicka <jh@suse.cz> |
7f0e57bd JH |
16628 | |
16629 | * i386.c (ix86_expand_store_builtin): Always force op1 to register. | |
16630 | (mov*_internal): Fix predicates; require one of operands to not be | |
16631 | memory. | |
16632 | (SSE?MMX move expanders): Fix predicates; force one of operands to | |
16633 | register. | |
16634 | (SSE/MMX push patterns): Reorganize; fix x86-64 code generation. | |
16635 | (movups/movupd/movdqu patterns): Force one of operands to not be | |
16636 | memory. | |
16637 | ||
c876997f | 16638 | 2003-02-03 Roger Sayle <roger@eyesopen.com> |
7daebb7a RS |
16639 | |
16640 | * hooks.c (hook_rtx_rtx_identity): Generic hook function that | |
16641 | takes a single rtx and returns it unmodified. | |
16642 | * hooks.h (hook_rtx_rtx_identity): Prototype here. | |
ff6e2d3e | 16643 | * target.h (struct gcc_target): Add "delegitimize_address" |
7daebb7a RS |
16644 | field to target structure. |
16645 | * target-def.h (TARGET_DELEGITIMIZE_ADDRESS): Provide default | |
16646 | for delegitimize_address target using hook_rtx_rtx_identity. | |
16647 | (TARGET_INITIALIZER): Initialize delegitimize_address field | |
16648 | using TARGET_DELEGITIMIZE_ADDRESS macro. | |
16649 | * simplify-rtx.c (avoid_constant_pool_reference): Handle float | |
16650 | extensions of constant pool references. Use delegitimize_address | |
16651 | to undo the obfuscation of "-fpic". | |
16652 | * Makefile.in (simplify-rtx.o): Add dependency on target.h. | |
16653 | ||
16654 | * config/i386/i386.c (TARGET_DELEGITIMIZE_ADDRESS): Define as | |
16655 | i386_simplify_dwarf_addr. | |
16656 | (ix86_find_base_term): Simplify using i386_simplify_dwarf_addr. | |
26182e15 | 16657 | (maybe_get_pool_constant): Likewise. |
7daebb7a | 16658 | |
62c9aa5f | 16659 | 2003-02-03 Jan Hubicka <jh@suse.cz> |
84520a20 JH |
16660 | |
16661 | * i386.c (ix86_expand_int_movcc): Fix setcc sign bit case. | |
16662 | ||
62c9aa5f | 16663 | 2003-02-03 Jan Hubicka <jh@suse.cz> |
035b2a34 JH |
16664 | |
16665 | * regclass.c (cannot_change_mode_set_regs): Correct argument order. | |
16666 | ||
1f143d5a KG |
16667 | 2003-02-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
16668 | ||
16669 | * mips/_tilib.c: Don't include tsystem.h or defaults.h. Don't | |
16670 | define LIBGCC2_WORDS_BIG_ENDIAN. Include coretypes.h and tm.h. | |
16671 | ||
4b550d9f AS |
16672 | 2003-02-02 Andreas Schwab <schwab@suse.de> |
16673 | ||
16674 | * varasm.c (asm_output_aligned_bss): Declare as possibly unused. | |
16675 | ||
0732a089 RE |
16676 | 2003-02-02 Richard Earnshaw <rearnsha@arm.com> |
16677 | ||
16678 | * arm.md (sibcall_epilogue): Set the "conds" to "clob". | |
16679 | (epilogue_insns): Likewise. | |
16680 | ||
f269f54f JDA |
16681 | 2003-02-02 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
16682 | ||
16683 | * doc/install.texi (hppa*-hp-hpux11*): Update installation notes. | |
16684 | ||
611ad29e JDA |
16685 | 2003-02-02 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
16686 | ||
16687 | * pa-protos.h (attr_length_millicode_call): Remove second argument. | |
16688 | (attr_length_indirect_call, attr_length_indirect_call, | |
16689 | attr_length_save_restore_dltp): New prototypes. | |
16690 | * pa.c (attr_length_millicode_call): Remove second argument. Check | |
16691 | INSN_ADDRESSES_SET_P in distance calculation. | |
16692 | (output_millicode_call): Check INSN_ADDRESSES_SET_P before using | |
16693 | INSN_ADDRESSES. | |
16694 | (attr_length_call): Check INSN_ADDRESSES_SET_P in distance calculation. | |
16695 | (output_call): Check INSN_ADDRESSES_SET_P before using INSN_ADDRESSES. | |
16696 | Call attr_length_call directly. | |
16697 | (attr_length_indirect_call, output_indirect_call, | |
16698 | attr_length_save_restore_dltp): New functions. | |
16699 | * pa.md (attr_length_millicode_call): Drop second argument from all | |
16700 | patterns. | |
16701 | (return_internal_pic): Delete. | |
16702 | (return_external_pic): Remove use of PIC register and pic operand and | |
16703 | flag checks. | |
16704 | (epilogue): Use return_internal for both normal and pic code. | |
16705 | (call, call_value): Emit new 32-bit pic patterns for symref and | |
16706 | indirect calls. Remove uses for arg pointer and pic register. | |
16707 | (call_symref_pic, call_symref_pic_post_reload, call_reg_pic, | |
16708 | call_reg_pic_post_reload, call_val_symref_pic, | |
16709 | call_val_symref_pic_post_reload, call_val_reg_pic, | |
16710 | call_val_reg_pic_post_reload): New pre and post reload insn patterns. | |
16711 | Implement define_split and define_peephole2 patterns for pre reload | |
16712 | patterns. | |
16713 | (call_symref_64bit, call_internal_reg_64bit, call_value_symref_64bit, | |
16714 | call_value_internal_reg_64bit): Shorten names. | |
16715 | (all call patterns): Explicitly indicate registers used and clobbered. | |
16716 | Use attr_length_indirect_call and attr_length_save_restore_dltp for | |
16717 | attribute length calculation. Move code generation for indirect calls | |
16718 | to output_indirect_call. | |
16719 | (sibcall, sibcall_value): Don't restore PIC register. | |
16720 | (exception_receiver, builtin_setjmp_receiver): Add blockage after PIC | |
16721 | register retore. | |
16722 | ||
8cacda7c GP |
16723 | 2003-02-02 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
16724 | ||
16725 | * doc/install.texi (Testing): Simplify and compress instructions | |
16726 | concerning Dejagnu. | |
16727 | ||
cbc158bb JDA |
16728 | 2003-02-01 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
16729 | ||
16730 | * collect2.c (pexecute_pid): Rename to pid. | |
16731 | (collect_wait, collect_execute, scan_prog_file, scan_libraries): Use | |
16732 | pid. | |
16733 | ||
dcef1843 GK |
16734 | 2003-02-01 Geoffrey Keating <geoffk@apple.com> |
16735 | ||
16736 | * doc/extend.texi (Function Attributes): Remove documentation | |
16737 | for PowerPC Windows NT function attributes.. | |
16738 | ||
5d7bed9d DJ |
16739 | 2003-02-01 Daniel Jacobowitz <drow@mvista.com> |
16740 | ||
16741 | * dwarf2out.c (gen_type_die): Check for typedefs before calling | |
16742 | for TYPE_MAIN_VARIANT. | |
16743 | ||
53585c36 RH |
16744 | 2003-02-01 Richard Henderson <rth@redhat.com> |
16745 | ||
16746 | * libgcc2.c: Include auto-host.h. | |
16747 | (ATTRIBUTE_HIDDEN): New. | |
16748 | (__clz_tab): Don't declare here for clz and ctz. | |
16749 | (__clzsi2, __clzdi2): Use count_leading_zeros. | |
16750 | (__ctzsi2, __ctzdi2): Use count_trailing_zeros. | |
16751 | (__popcount_tab): Mark ATTRIBUTE_HIDDEN. | |
16752 | (__paritysi2, __paritydi2): Use shifts instead of __popcount_tab. | |
16753 | * longlong.h (__clz_tab): Mark ATTRIBUTE_HIDDEN. | |
16754 | ||
bc8a6d63 RH |
16755 | 2003-02-01 Richard Henderson <rth@redhat.com> |
16756 | ||
16757 | * config/i386/i386.md (addsi_1_zext splitter): Add TARGET_64BIT | |
16758 | to the conditional. | |
16759 | (ashlsi3_1_zext splitter): Likewise. | |
16760 | ||
2928cd7a RH |
16761 | 2003-02-01 Richard Henderson <rth@redhat.com> |
16762 | ||
16763 | * optabs.c (expand_unop): Use word_mode for outmode of bit scaners. | |
16764 | * libgcc2.c (__ffsdi2, __clzsi2, __clzdi2, __ctzsi2, __ctzdi2, | |
16765 | __popcountsi2, __popcountdi2, __paritysi2 __paritydi2): Change | |
16766 | return type to Wtype. | |
16767 | ||
16768 | * libgcc-std.ver (GCC_3.4): Fix inheritance. | |
16769 | ||
16770 | * config/i386/i386.md (ffssi2): Use nonimmediate_operand for | |
16771 | expander input constraint. | |
16772 | ||
16773 | 2003-02-01 Falk Hueffner <falk.hueffner@student.uni-tuebingen.de> | |
16774 | ||
ff6e2d3e RB |
16775 | * optabs.h (optab_index): Add OTI_clz, OTI_ctz, OTI_popcount and |
16776 | OTI_parity. | |
16777 | (clz_optab, ctz_optab, popcount_optab, parity_optab): New. | |
16778 | * optabs.c (widen_clz, expand_parity): New. | |
16779 | (expand_unop): Handle clz and parity. Hardcode SImode as outmode | |
16780 | for libcalls to clz, ctz, popcount, and parity. | |
16781 | (init_optabs): Init clz_optab, ctz_optab, popcount_optab and | |
16782 | parity_optab, and set up libfunc handlers. | |
16783 | * libgcc2.c (__clzsi2, __clzdi2, __ctzsi2, __ctzdi2, | |
16784 | __popcountsi2, __popcountdi2, __paritysi2 __paritydi2, | |
16785 | __popcount_tab): New. | |
16786 | * libgcc2.h: Declare them. | |
16787 | * libgcc-std.ver (GCC_3.4): Add new functions from libgcc2.c. | |
16788 | * genopinit.c (optabs): Add clz_optab, ctz_optab, popcount_optab | |
16789 | and parity_optab. | |
16790 | * builtin-types.def (BT_FN_INT_LONG, BT_FN_INT_LONGLONG): New. | |
16791 | * builtins.def (BUILT_IN_CLZ, BUILT_IN_CTZ, BUILT_IN_POPCOUNT, | |
16792 | BUILT_IN_PARITY, BUILT_IN_FFSL, BUILT_IN_CLZL, BUILT_IN_CTZL, | |
16793 | BUILT_IN_POPCOUNTL, BUILT_IN_PARITYL, BUILT_IN_FFSLL, | |
16794 | BUILT_IN_CLZLL, BUILT_IN_CTZLL, BUILT_IN_POPCOUNTLL, | |
16795 | BUILT_IN_PARITYLL): New. | |
16796 | * builtins.c (expand_builtin_unop): Rename from expand_builtin_ffs | |
16797 | and add optab argument. | |
16798 | (expand_builtin): Expand BUILT_IN_{FFS,CLZ,POPCOUNT,PARITY}*. | |
16799 | * tree.def (CLZ_EXPR, CTZ_EXPR, POPCOUNT_EXPR, PARITY_EXPR): New. | |
16800 | * expr.c (expand_expr): Handle them. | |
16801 | * fold-const.c (tree_expr_nonnegative_p): Likewise. | |
16802 | * rtl.def (CLZ, CTZ, POPCOUNT, PARITY): New. | |
16803 | * reload1.c (eliminate_regs): Handle them. | |
16804 | (elimination_effects): Likewise. | |
16805 | * function.c (instantiate_virtual_regs_1): Likewise | |
16806 | * genattrtab.c (check_attr_value): Likewise. | |
16807 | * simplify-rtx.c (simplify_unary_operation): Likewise. | |
16808 | * c-common.c (c_common_truthvalue_conversion): Handle POPCOUNT_EXPR. | |
16809 | * combine.c (combine_simplify_rtx): Handle POPCOUNT and PARITY. | |
16810 | (nonzero_bits): Handle CLZ, CTZ, POPCOUNT and PARITY. | |
16811 | * config/alpha/alpha.md (clzdi2, ctzdi2, popcountdi2): New. | |
16812 | * config/arm/arm.c (arm_init_builtins): Rename __builtin_clz to | |
16813 | __builtin_arm_clz. | |
16814 | * Makefile.in (LIB2FUNCS_1, LIB2FUNCS_2): Move... | |
16815 | * mklibgcc.in (lib2funcs): ...here and merge. Add new members. | |
16816 | * doc/extend.texi (Other Builtins): Add new builtins. | |
16817 | * doc/md.texi (Standard Names): Add new patterns. | |
2928cd7a | 16818 | |
112f7223 UW |
16819 | 2003-02-01 Ulrich Weigand <uweigand@de.ibm.com> |
16820 | ||
16821 | * reload.c: Revert 2003-01-31 change. | |
16822 | ||
62c9aa5f | 16823 | 2003-02-01 Jan Hubicka <jh@suse.cz> |
434c87d4 JH |
16824 | |
16825 | * combine.c (combine_simplify_rtx): Use reversed_comparison_code_parts. | |
16826 | ||
271bd540 RS |
16827 | 2003-02-01 Richard Sandiford <rsandifo@redhat.com> |
16828 | ||
16829 | * flags.h (flag_volatile): Remove declaration. | |
16830 | (flag_volatile_global, flag_volatile_static): Likewise. | |
16831 | * c-typeck.c (build_indirect_ref): Don't check flag_volatile. | |
16832 | * toplev.c (flag_volatile): Remove definition. | |
16833 | (flag_volatile_global, flag_volatile_static): Likewise. | |
16834 | (f_options): Remove corresponding entries here. | |
16835 | * varasm.c (make_decl_rtl): Don't check flag_volatile_global | |
16836 | or flag_volatile_static. | |
16837 | * doc/invoke.texi: Remove documentation of -fvolatile, | |
16838 | -fvolatile-global and -fvolatile-static. | |
16839 | ||
17e6098e JDA |
16840 | 2003-01-31 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
16841 | ||
16842 | * pa.c (pa_output_function_prologue, pa_output_function_epilogue): Move | |
16843 | updating of total_code_bytes from prologue to epilogue. | |
16844 | ||
2f278625 UW |
16845 | 2003-01-31 Ulrich Weigand <uweigand@de.ibm.com> |
16846 | ||
16847 | * reload.c (find_reloads): Do not use the mode specified in the insn | |
16848 | pattern as reload mode for address operands. Do not generate optional | |
16849 | reloads for operands where a mandatory reload was already pushed. | |
16850 | Generate optional reloads only in the final pass though find_reloads. | |
16851 | (have_replacement_p): New function. | |
16852 | ||
05c425a9 GP |
16853 | 2003-01-31 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
16854 | ||
16855 | * doc/install.texi (Testing): Remove a reference to our obsolete | |
16856 | /testresults web pages and strip redundant information concerning | |
16857 | test results. | |
16858 | (Binaries): Refer to Microsoft Windows instead of listing all | |
16859 | possible variants. | |
16860 | ||
62c9aa5f | 16861 | 2003-02-01 Jan Hubicka <jh@suse.cz> |
b0c42aed JH |
16862 | |
16863 | * loop.c (emit_prefetch_instructions): Do conversion at right place in | |
16864 | RTL chain. | |
16865 | ||
16866 | * combine.c (simplify_set): Reverse order of ragumetns to | |
16867 | REG_CANNOT_CHANGE_MODE_P | |
16868 | * df.c (df_def_record_1): Likewise. | |
16869 | * recog.c (register_operand): Likewise. | |
16870 | * simplify-rtx.c (simplify_subreg): Likewise. | |
16871 | * hard-reg-set.h (REG_CANNOT_CHANGE_MODE_P): Update use of | |
16872 | CANNOT_CHANGE_MODE_CLASS. | |
16873 | * regclass.c (cannot_change_mode_set_regs, invalid_mode_change_p): | |
16874 | Likewise. | |
16875 | * reload.c (push_reload): Likewise. | |
16876 | * alpha.h (CANNOT_CHANGE_MODE_CLASS): Update definition. | |
16877 | * ia64.h (CANNOT_CHANGE_MODE_CLASS): Update definition. | |
16878 | * mips.h (CANNOT_CHANGE_MODE_CLASS): Update definition. | |
16879 | * mips-protos.h (mips_cannot_change_mode_class): Update prototype. | |
16880 | * mips.c (mips_cannot_change_mode_class): Update. | |
16881 | * pa64-regs.h (CANNOT_CHANGE_MODE_CLASS): Update definition. | |
16882 | * rs6000.h (CANNOT_CHANGE_MODE_CLASS): Update definition. | |
16883 | * s390.h (CANNOT_CHANGE_MODE_CLASS): Update definition. | |
16884 | * sh.h (CANNOT_CHANGE_MODE_CLASS): Update definition. | |
16885 | * sh-protos.h (sh_cannot_change_mode_class): Update prototype. | |
16886 | * sh.c (sh_cannot_change_mode_class): Update. | |
16887 | * i386.h (CANNOT_CHANGE_MODE_CLASS): New. | |
16888 | * tm.texi (CANNOT_CHANGE_MODE_CLASS): Update documentation. | |
16889 | ||
1f61a15d GK |
16890 | 2003-01-31 Geoffrey Keating <geoffk@apple.com> |
16891 | ||
16892 | * config/darwin.h (LINK_COMMAND_SPEC): Update for Nathan's recent | |
16893 | change to LINK_COMMAND_SPEC in gcc.c. | |
16894 | ||
7c712dcc LR |
16895 | 2003-01-31 Jan Hubicka <jh@suse.cz> |
16896 | ||
16897 | PR c/9506 | |
16898 | * i386.c (override_options): Use DEFAULT_PCC_STRUCT_RETURN. | |
16899 | ||
e137391e JDA |
16900 | 2003-01-31 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
16901 | ||
16902 | * pa32-regs.h (REGNO_REG_CLASS, REG_CLASS_FROM_LETTER): Delete | |
16903 | duplicated code. | |
16904 | ||
1824b90d NS |
16905 | 2003-01-31 Nathan Sidwell <nathan@codesourcery.com> |
16906 | ||
16907 | * tree.h (TYPE_BINFO_SIZE, TYPE_BINFO_SIZE_UNIT): Remove. | |
16908 | (BINFO_ELTS): New #define. | |
16909 | * stor-layout.c (finalize_record_size): Don't set them. | |
16910 | * cp/cp-tree.h (BINFO_SUBVTT_INDEX, BINFO_VPTR_INDEX, | |
16911 | BINFO_PRIMARY_BASE_OF): Use BINFO_ELTS. | |
16912 | (BINFO_LANG_ELTS): New #define. | |
16913 | * cp/tree.c (make_binfo): Use BINFO_LANG_ELTS. | |
16914 | * java/class.c (make_class): Use BINFO_ELTS. | |
16915 | (set_super_info): Likewse. | |
16916 | (add_interface_do): Likewise. | |
16917 | * objc/objc-act.c (start_class): Use BINFO_ELTS. | |
16918 | ||
8f9a402c DS |
16919 | 2003-01-31 Danny Smith <dannysmith@users.sourceforge.net> |
16920 | ||
16921 | * timevar.c (getrusage): Don't ever declare if not HAVE_GETRUSAGE. | |
16922 | (times): Don't ever declare if not HAVE_TIMES. | |
16923 | (clock): Don't ever declare if not HAVE_CLOCK. | |
16924 | ||
cdd1f01b RH |
16925 | 2003-01-30 Richard Henderson <rth@redhat.com> |
16926 | ||
16927 | * flow.c (update_life_info): Zap life info after cleanup_cfg. | |
16928 | (regno_uninitialized): Use correct live at function entry set. | |
16929 | (regno_clobbered_at_setjmp): Likewise. | |
16930 | ||
16931 | * expr.c (store_expr): Promote all MEM intermediates to regs. | |
16932 | ||
6bc82793 KH |
16933 | 2003-01-30 Kazu Hirata <kazu@cs.umass.edu> |
16934 | ||
16935 | * config/arm/arm.c: Fix comment typos. | |
16936 | * config/arm/arm.h: Likewise. | |
16937 | * config/arm/netbsd-elf.h: Likewise. | |
16938 | * config/arm/netbsd.h: Likewise. | |
16939 | ||
f099d360 GK |
16940 | 2003-01-30 Geoffrey Keating <geoffk@apple.com> |
16941 | ||
16942 | * gengtype.c (struct walk_type_data): Add needs_cast_p. | |
16943 | (walk_type): Set needs_cast_p in walk_type_data. | |
16944 | (write_types_process_field): Supply casts when required to suppress | |
16945 | warnings. | |
16946 | (write_root): Cast gt_pch_n_S to suppress warning. | |
16947 | * Makefile.in: Remove -Wno-error from gtype-desc.o and c-decl.o. | |
f099d360 GK |
16948 | * config/rs6000/rs6000.c (print_operand): Mask off high bits only |
16949 | when they might exist. | |
16950 | * config/rs6000/t-rs6000: Remove -Wno-error from varasm.o, | |
16951 | insn-conditions.o, and rs6000.o. | |
16952 | ||
52895e1a RH |
16953 | 2003-01-30 Richard Henderson <rth@redhat.com> |
16954 | ||
16955 | * ggc-page.c (G.context_depth_allocations): New. | |
16956 | (G.context_depth_collections): New. | |
16957 | (alloc_page): Set G.context_depth_allocations. | |
16958 | (ggc_collect): Set G.context_depth_collections. | |
16959 | (ggc_push_context): Limit to HOST_BITS_PER_LONG contexts. | |
16960 | (ggc_pop_context): Early exit for no allocations or collections. | |
16961 | ||
c35c7e52 RH |
16962 | 2003-01-30 Richard Henderson <rth@redhat.com> |
16963 | ||
16964 | * tree-inline.c (walk_tree): Streamline duplicate hash table lookup. | |
16965 | ||
e43dd89d RE |
16966 | 2003-01-30 Richard Earnshaw <rearnsha@arm.com> |
16967 | ||
16968 | * arm.c (arm_compute_initial_elimination_offset): If optimizing for | |
16969 | size, the link register is always saved if any other register is | |
16970 | saved. | |
16971 | ||
87a902e4 KH |
16972 | 2003-01-30 Kazu Hirata <kazu@cs.umass.edu> |
16973 | ||
16974 | * config/h8300/h8300-protos.h: Update the prototype for | |
16975 | compute_plussi_cc. | |
16976 | (cpp_reader): Declare before it is used. | |
16977 | * config/h8300/h8300.c (compute_plussi_cc): Change the return | |
16978 | type to int. | |
16979 | * config/h8300/h8300.md (monitor_prologue): Call abort() if we | |
16980 | see an unknown H8 variant. | |
16981 | ||
16982 | 2003-01-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de> | |
0186a143 | 16983 | |
ff6e2d3e | 16984 | PR target/9316 |
0186a143 RC |
16985 | * config/rs6000/rtems.h: Add CPP_OS_DEFAULT_SPEC. |
16986 | * config/rs6000/sysv4.h: Add CPP_OS_RTEMS_SPEC. | |
16987 | * config/rs6000/t-rtems: New file. multilib variants to match OS. | |
16988 | * config.gcc (powerpc-*-rtems*): Use rs6000/t-rtems instead of | |
16989 | rs6000/t-ppcgas so we get the desired multilibs. | |
16990 | ||
f55d7103 NC |
16991 | 2003-01-30 Nick Clifton <nickc@redhat.com> |
16992 | ||
16993 | * config/arm/arm.c (arm_output_epilogue): Update stack pointer | |
16994 | when popping saved IP register off the stack. | |
16995 | ||
b6d08ca1 KH |
16996 | 2003-01-30 Kazu Hirata <kazu@cs.umass.edu> |
16997 | ||
16998 | * config/rs6000/aix43.h: Fix comment typos. | |
16999 | * config/rs6000/aix51.h: Likewise. | |
17000 | * config/rs6000/aix52.h: Likewise. | |
17001 | * config/rs6000/altivec.h: Likewise. | |
17002 | * config/rs6000/rs6000.c: Likewise. | |
17003 | * config/rs6000/rs6000.h: Likewise. | |
17004 | * config/rs6000/rs6000.md: Likewise. | |
17005 | * config/rs6000/spe.md: Likewise. | |
17006 | ||
14d22dd6 MM |
17007 | 2003-01-29 Mark Mitchell <mark@codesourcery.com> |
17008 | ||
17009 | * c-common.c (builtin_define_float_constants): Define | |
17010 | __<TYPE>_HAS_INFINITY__ and __<TYPE>_HAS_QUIET_NAN__. | |
17011 | ||
825db093 KH |
17012 | 2003-01-30 Kazu Hirata <kazu@cs.umass.edu> |
17013 | ||
17014 | * config/sh/lib1funcs.asm: Fix comment typos. | |
17015 | * config/sh/linux.h: Likewise. | |
17016 | * config/sh/sh.c: Likewise. | |
17017 | * config/sh/sh.md: Likewise. | |
17018 | ||
f1d5271a LR |
17019 | 2003-01-30 Loren James Rittle <ljrittle@acm.org> |
17020 | ||
17021 | * objc/Make-lang.in (objc-parse.y): Find c-parse.in in $(srcdir). | |
17022 | ||
266a9ef1 AO |
17023 | 2003-01-30 Alexandre Oliva <aoliva@redhat.com> |
17024 | ||
17025 | * config/fp-bit.h (__make_dp): Declare if TMODES. | |
17026 | ||
0889116d KH |
17027 | 2003-01-29 Kazu Hirata <kazu@cs.umass.edu> |
17028 | ||
17029 | * config/h8300/h8300.h (PREDICATE_CODES): Add entries for | |
17030 | general_operand_src and general_operand_dst. | |
17031 | ||
c8c99a68 DE |
17032 | 2003-01-29 David Edelsohn <edelsohn@gnu.org> |
17033 | ||
17034 | * config/rs6000/rs6000.c (function_arg_pass_by_reference): | |
17035 | Return true for variable sized types. | |
17036 | (rs6000_va_arg): Handle variable sized types passed by reference | |
17037 | on non-SVR4 ABI. | |
17038 | ||
ccf4d512 RE |
17039 | 2003-01-29 Richard Earnshaw <rearnsha@arm.com> |
17040 | ||
17041 | * arm.c (arm_legtimize_address): New function. | |
17042 | * arm-protos.h (arm_legtimize_address): Add prototype. | |
17043 | * arm.h (ARM_LEGITIMIZE_ADDRESS): Use arm_legitimize_address. | |
17044 | (LEGITIMIZE_ADDRESS, THUMB_LEGITIMIZE_ADDRESS): Wrap with | |
17045 | do ... while (0) | |
17046 | ||
0889116d | 17047 | 2003-01-29 Joel Sherrill <joel@OARcorp.com> |
0680c8fb | 17048 | |
7429b411 | 17049 | PR bootstrap/9296 |
0680c8fb | 17050 | * gthr-rtems.h: Define __GTHREAD_MUTEX_INIT. Apparently no code |
7429b411 | 17051 | depended on it being defined until now. |
0680c8fb | 17052 | |
7429b411 | 17053 | 2003-01-29 Joel Sherrill <joel@OARcorp.com> |
c934274a | 17054 | |
7429b411 | 17055 | PR target/9295 |
c934274a JS |
17056 | * config/mips/rtems.h: Predefine __USE_INIT_FINI__ so generic |
17057 | RTEMS code knows which C++ initialization style the toolset | |
7429b411 | 17058 | configuration is using. |
c934274a | 17059 | |
0889116d | 17060 | 2003-01-29 Joel Sherrill <joel@OARcorp.com> |
2e327e6e | 17061 | |
7429b411 | 17062 | PR bootstrap/9293 |
ff6e2d3e | 17063 | * config/m68k/t-crtstuff: Replace spaces with tabs, add |
2e327e6e | 17064 | $(MULTILIB_CFLAGS) as compiler option and multilib crtbegin/end.o. |
2e327e6e | 17065 | |
0889116d | 17066 | 2003-01-29 Joel Sherrill <joel@OARcorp.com> |
64abe03e | 17067 | |
7429b411 | 17068 | PR bootstrap/9292 |
64abe03e JS |
17069 | * config.gcc (hppa1.1-rtems): Did not include t-rtems nor enable |
17070 | RTEMS threads. | |
17071 | * config/pa/rtems.h (LIB_SPEC): Use -N when linking. | |
64abe03e | 17072 | |
2f12fb2b NC |
17073 | 2003-01-29 Nick Clifton <nickc@redhat.com> |
17074 | ||
17075 | * Makefile.in (c-parse.o): Locate source file in $(parsedir) | |
17076 | not $(srcdir). | |
17077 | ||
cf0150b9 AH |
17078 | 2003-01-29 Andrew Haley <aph@redhat.com> |
17079 | ||
17080 | * tree-inline.c (walk_tree): Add CHAR_TYPE. | |
17081 | ||
62c9aa5f | 17082 | 2003-01-29 Jan Hubicka <jh@suse.cz> |
9b74f3ea JH |
17083 | |
17084 | * i386.md (subdi3_carry_rex64): Fix typo. | |
17085 | ||
e150159c SS |
17086 | 2003-01-28 Stan Shebs <shebs@apple.com> |
17087 | ||
17088 | * coretypes.h (cpp_reader): Forward declare struct. | |
17089 | * c-pragma.h (cpp_reader): Remove forward declaration. | |
17090 | * hashtable.h (cpp_reader): Likewise. | |
17091 | * scan.h (cpp_reader): Likewise. | |
17092 | * tree.h (cpp_reader): Likewise. | |
17093 | * config/darwin-protos.h (cpp_reader): Likewise. | |
17094 | * config/arm/arm-protos.h (cpp_reader): Likewise. | |
17095 | * config/rs6000/rs6000-protos.h: Remove GCC_CPPLIB_H ifdef, use | |
17096 | struct cpp_reader in prototypes. | |
17097 | ||
53b50ac1 CC |
17098 | 2003-01-28 Christian Cornelssen <ccorn@cs.tu-berlin.de> |
17099 | ||
17100 | * doc/install.texi: Add documentation for installation into | |
17101 | tooldirs and with DESTDIR. | |
17102 | ||
021aa6ed RH |
17103 | 2003-01-28 Richard Henderson <rth@redhat.com> |
17104 | ||
17105 | * config.gcc (ia64*-*-aix*): Remove. | |
17106 | * config/ia64/aix.h, config/ia64/t-aix: Remove file. | |
17107 | * config/ia64/unwind-aix.c: Remove file. | |
17108 | ||
c1c1d123 AS |
17109 | 2003-01-28 Andreas Schwab <schwab@suse.de> |
17110 | ||
ff6e2d3e RB |
17111 | * config/m68k/m68k.md (tablejump+2): Don't sign extend an address |
17112 | register. | |
17113 | * config/m68k/apollo68.h (ASM_RETURN_CASE_JUMP): Likewise. | |
17114 | * config/m68k/coff.h (ASM_RETURN_CASE_JUMP): Likewise. | |
17115 | * config/m68k/linux.h (ASM_RETURN_CASE_JUMP): Likewise. | |
17116 | * config/m68k/m68kelf.h (ASM_RETURN_CASE_JUMP): Likewise. | |
17117 | * config/m68k/mot3300.h (ASM_RETURN_CASE_JUMP): Likewise. | |
17118 | * config/m68k/netbsd-elf.h (ASM_RETURN_CASE_JUMP): Likewise. | |
17119 | * config/m68k/pbb.h (ASM_RETURN_CASE_JUMP): Likewise. | |
c1c1d123 | 17120 | |
6d09ef27 RS |
17121 | 2003-01-28 Richard Sandiford <rsandifo@redhat.com> |
17122 | ||
17123 | * combine.c (nonzero_bits): Fix check for negative divide operands. | |
17124 | ||
1e1bd14e RH |
17125 | 2003-01-28 Richard Henderson <rth@redhat.com> |
17126 | ||
17127 | * config/ia64/ia64.c (ia64_rwreloc_section_type_flags): New. | |
17128 | * config/ia64/hpux.h (TARGET_SECTION_TYPE_FLAGS): New. | |
17129 | ||
e37135f7 RH |
17130 | 2003-01-28 Richard Henderson <rth@redhat.com> |
17131 | ||
17132 | * cse.c (find_best_addr): Kill !ADDRESS_COST code. | |
17133 | ||
75642f32 RH |
17134 | * config/cris/cris.c (cris_address_cost): Make static. |
17135 | (TARGET_RTX_COSTS, TARGET_ADDRESS_COST): New. | |
17136 | * config/cris/cris.h (ADDRESS_COST): Remove. | |
17137 | * config/cris/cris-protos.h: Update. | |
17138 | ||
e37135f7 | 17139 | 2003-01-23 Mike Stump <mrs@apple.com> |
1f80c9ef MS |
17140 | |
17141 | * regclass.c (init_reg_autoinc): New function. | |
17142 | (regclass): Move initialization of forbidden_inc_dec_class from | |
26182e15 | 17143 | here... |
1f80c9ef | 17144 | (init_regs): to here. Avoids reinitialization for each function, |
26182e15 | 17145 | saving compilation time. |
1f80c9ef | 17146 | |
9fbd3e41 JM |
17147 | 2003-01-28 Jason Merrill <jason@redhat.com> |
17148 | ||
17149 | * cpplib.h (struct cpp_options): Add warn_deprecated field. | |
17150 | * cppinit.c (cpp_create_reader): Turn it on by default. | |
17151 | * c-opts.c (c_common_decode_option): Set it. | |
17152 | * cpplib.c (do_pragma_once): Only complain about #pragma once | |
17153 | if warn_deprecated is set. | |
17154 | ||
fe352c29 | 17155 | 2003-01-28 Dale Johannesen <dalej@apple.com> |
9fbd3e41 | 17156 | |
1e1bd14e RH |
17157 | * emit-rtl.c (const_double_htab_hash): Use mode in the hash. |
17158 | * loop.c (scan_loop): Move movables on -Os rich-register targets. | |
17159 | * config/rs6000/rs6000.md (sibcall*): Use match_operand for LR. | |
fe352c29 | 17160 | |
dcefdf67 RH |
17161 | 2003-01-28 Richard Henderson <rth@redhat.com> |
17162 | ||
17163 | * target.h (targetm.address_cost): New. | |
17164 | * target-def.h (TARGET_ADDRESS_COST): New. | |
17165 | (TARGET_RTX_COSTS): Uncomment. Oops. | |
17166 | * cse.c (address_cost): Use new target hook. | |
17167 | (default_address_cost): New. | |
17168 | * output.h (default_address_cost): Declare. | |
17169 | * hooks.c (hook_int_rtx_0): New. | |
17170 | * hooks.h (hook_int_rtx_0): Declare. | |
17171 | * loop.c (combine_givs_p): Remove if 0 code. | |
17172 | * system.h (ADDRESS_COST): Poison. | |
17173 | ||
17174 | * config/alpha/alpha.c, config/alpha/alpha.h, config/d30v/d30v.c, | |
17175 | config/d30v/d30v.h, config/ia64/ia64.c, config/ia64/ia64.h, | |
17176 | config/m32r/m32r.c, config/m32r/m32r.h, config/mcore/mcore.c, | |
17177 | config/mcore/mcore.h, config/mmix/mmix.c, config/mmix/mmix.h, | |
17178 | config/rs6000/rs6000.c, config/rs6000/rs6000.h, config/sparc/sparc.c, | |
17179 | config/sparc/sparc.h, config/v850/v850.c, config/v850/v850.h, | |
17180 | config/xtensa/xtensa.c, config/xtensa/xtensa.h | |
17181 | (TARGET_ADDRESS_COST): Define as hook_int_rtx_0. | |
17182 | (ADDRESS_COST): Remove. | |
17183 | ||
17184 | * config/arc/arc-protos.h, config/arc/arc.c, config/arc/arc.h, | |
17185 | config/avr/avr-protos.h, config/avr/avr.c, config/avr/avr.h, | |
17186 | config/c4x/c4x-protos.h, config/c4x/c4x.c, config/c4x/c4x.h, | |
17187 | config/dsp16xx/dsp16xx-protos.h, config/dsp16xx/dsp16xx.c, | |
17188 | config/dsp16xx/dsp16xx.h, config/i386/i386-protos.h, | |
17189 | config/i386/i386.c, config/i386/i386.h, config/i960/i960-protos.h, | |
17190 | config/i960/i960.c, config/i960/i960.h, config/ip2k/ip2k-protos.h, | |
17191 | config/ip2k/ip2k.c, config/ip2k/ip2k.h, config/mips/mips-protos.h, | |
ff6e2d3e | 17192 | config/mips/mips.c, config/mips/mips.h, |
dcefdf67 | 17193 | config/m68hc11/m68hc11-protos.h, config/m68hc11/m68hc11.c, |
ff6e2d3e | 17194 | config/m68hc11/m68hc11.h, config/ns32k/ns32k-protos.h, |
dcefdf67 RH |
17195 | config/ns32k/ns32k.c, config/ns32k/ns32k.h, config/pa/pa-protos.h, |
17196 | config/pa/pa.c, config/pa/pa.h, config/s390/s390-protos.h, | |
17197 | config/s390/s390.c, config/s390/s390.h, config/vax/vax-protos.h, | |
17198 | config/vax/vax.c, config/vax/vax.h | |
17199 | (foo_address_cost): Make static. | |
17200 | (TARGET_ADDRESS_COST): New. | |
17201 | (ADDRESS_COST): Remove. | |
17202 | ||
17203 | * config/arm/arm.h, config/arm/arm.c, config/m88k/m88k.h, | |
17204 | config/m88k/m88k.c, config/romp/romp.h, config/romp/romp.c, | |
17205 | config/sh/sh.c, config/sh/sh.h, config/stormy16/stormy16.c, | |
17206 | config/stormy16/stormy16.h | |
17207 | (ADDRESS_COST): Move code ... | |
17208 | (foo_address_cost): ... here. | |
17209 | (TARGET_ADDRESS_COST): New. | |
17210 | ||
17211 | * config/m32r/m32r.c (m32r_address_cost): Remove. | |
17212 | * config/m32r/m32r-protos.h: Update. | |
17213 | ||
17214 | * config/mmix/mmix.c (mmix_address_cost): Remove. | |
17215 | * config/mmix/mmix-protos.h: Update. | |
17216 | ||
17217 | * config/mn10300/mn10300.c (mn10300_address_cost_1): Rename from | |
17218 | mn10300_address_cost; move unsig allocation ... | |
17219 | (mn10300_address_cost): ... here. | |
17220 | (TARGET_ADDRESS_COST): New. | |
17221 | * config/mn10300/mn10300-protos.h: Update. | |
17222 | * config/mn10300/mn10300.h (ADDRESS_COST): Remove. | |
17223 | ||
75642f32 RH |
17224 | * doc/tm.texi: Update. |
17225 | ||
58fb7809 VM |
17226 | 2003-01-28 Vladimir Makarov <vmakarov@redhat.com> |
17227 | ||
17228 | * haifa-sched.c (schedule_insn): Return necessary cycle advance | |
17229 | after issuing the insn. | |
17230 | (rank_for_schedule): Make a insn with /S the highest priority | |
17231 | insn. | |
17232 | (move_insn): Ignore schedule groups. Clear SCHED_GROUP_P. | |
17233 | (choose_ready): Check SCHED_GROUP_P. | |
17234 | (schedule_block): Advance cycle after issuing insn if it is | |
17235 | necessary. Don't reorder insns if there is an insn with /S. | |
17236 | (set_priorities): Ignore schedule groups. | |
17237 | ||
17238 | * sched-deps.c (remove_dependence, group_leader): Remove the | |
17239 | functions. | |
17240 | (add_dependence): Ignore schedule groups. | |
17241 | (set_sched_group_p): Don't make copy of dependencies from previous | |
17242 | insn of the schedule group. Add anti-dependency to the previous | |
17243 | insn of the schedule group. | |
17244 | (compute_forward_dependences): Ignore schedule groups. | |
17245 | ||
17246 | * sched-ebb.c (init_ready_list): Ignore schedule groups. | |
17247 | ||
17248 | * sched-rgn.c (init_ready_list): Ditto. | |
17249 | (can_schedule_ready_p): Ditto. | |
ff6e2d3e | 17250 | |
371c988b VM |
17251 | 2003-01-28 Vladimir Makarov <vmakarov@redhat.com> |
17252 | ||
17253 | * config/i386/i386.md (*movsi_1): Use movdqa to move one xmm | |
17254 | register to another one. | |
17255 | ||
40cdfd5a RH |
17256 | 2003-01-28 Richard Henderson <rth@redhat.com> |
17257 | ||
17258 | * calls.c (default_must_pass_in_stack): Fix typo in !type case. | |
17259 | ||
a77b7e32 RS |
17260 | 2003-01-28 Roger Sayle <roger@eyesopen.com> |
17261 | ||
17262 | * cse.c (cse_insn): Avoid redundant REG_EQUAL notes. | |
17263 | ||
3620944c RS |
17264 | 2003-01-28 Richard Sandiford <rsandifo@redhat.com> |
17265 | ||
17266 | * config/sh/sh.h (CLASS_MAX_NREGS): If TARGET_SHMEDIA, and the given | |
17267 | class contains a floating-point register, return the size of the | |
17268 | mode in half words. | |
17269 | ||
62c9aa5f | 17270 | 2003-01-28 Jan Hubicka <jh@suse.cz> |
e6e81735 | 17271 | |
26182e15 SB |
17272 | * i386.c (ix86_carry_flag_operator): New predicate. |
17273 | (fcmov_operator): Fix whitespace. | |
17274 | (ix86_expand_carry_flag_compare): Deal with floating point. | |
17275 | (ix86_expand_int_movcc): Deal with fp; update insn expansion | |
17276 | (ix86_expand_int_addcc): Likewise. | |
17277 | (ix86_expand_strlensi_unroll_1): likewsie. | |
17278 | * i386.h (PREDICATE_CODES): Add ix86_carry_flag_operator. | |
17279 | * i386.md (add?i_carry_rex64): Use new predicate. | |
17280 | (sub?i3_carry_rex64): Likewise. | |
17281 | (x86_mov?icc_0_m1*): Likewise. | |
e6e81735 | 17282 | |
43196589 AS |
17283 | 2003-01-28 Andreas Schwab <schwab@suse.de> |
17284 | ||
32214c32 AS |
17285 | * cfgloopmanip.c (create_preheader): Initialize src to avoid |
17286 | warning. | |
17287 | ||
17288 | * expmed.c (emit_store_flag): Fix cast to avoid sign | |
17289 | comparison warning. | |
17290 | ||
43196589 AS |
17291 | * combine.c (force_to_mode): Add cast to fix warning when |
17292 | STORE_FLAG_VALUE is negative. | |
17293 | ||
3c50106f RH |
17294 | 2003-01-27 Richard Henderson <rth@redhat.com> |
17295 | ||
17296 | * Makefile.in (cse.o): Depend on TARGET_H. | |
17297 | * cse.c (rtx_cost): Use targetm.rtx_costs. | |
17298 | * system.h (CONST_COSTS RTX_COSTS DEFAULT_RTX_COSTS): Poison. | |
17299 | * doc/tm.texi: Update. | |
ff6e2d3e | 17300 | |
3c50106f RH |
17301 | * target.h (targetm.rtx_costs): New. |
17302 | * target-def.h (TARGET_RTX_COSTS): New. | |
17303 | * hooks.c (hook_bool_rtx_int_int_intp_false): New. | |
17304 | * hooks.h: Update. | |
17305 | ||
17306 | * config/alpha/alpha.c (alpha_rtx_cost_data): New. | |
17307 | (alpha_rtx_costs, TARGET_RTX_COSTS): New. | |
17308 | * config/alpha/alpha.h (PROCESSOR_MAX): New. | |
17309 | (CONST_COSTS, RTX_COSTS): Remove. | |
17310 | ||
17311 | * config/arc/arc.c, config/arc/arc.h, config/c4x/c4x.c, | |
17312 | config/c4x/c4x.h, config/cris/cris.c, config/cris/cris.h, | |
17313 | config/d30v/d30v.c, config/d30v/d30v.h, config/dsp16xx/dsp16xx.c, | |
17314 | config/dsp16xx/dsp16xx.h, config/frv/frv.c, config/frv/frv.h, | |
17315 | config/h8300/h8300.c, config/h8300/h8300.h, config/i370/i370.c, | |
17316 | config/i370/i370.h, config/i386/i386.c, config/i386/i386.h, | |
17317 | config/i960/i960.c, config/i960/i960.h, config/ia64/ia64.c, | |
17318 | config/ia64/ia64.h, config/m32r/m32r.c, config/m32r/m32r.h, | |
17319 | config/m68k/m68k.c, config/m68k/m68k.h, config/m88k/m88k.c, | |
17320 | config/m88k/m88k.h, config/mcore/mcore.c, config/mcore/mcore.h, | |
17321 | config/mips/mips.c, config/mips/mips.h, config/mn10200/mn10200.c, | |
17322 | config/mn10200/mn10200.h, config/mn10300/mn10300.c, | |
17323 | config/mn10300/mn10300.h, config/ns32k/ns32k.c, config/ns32k/ns32k.h, | |
17324 | config/pa/pa.c, config/pa/pa.h, config/pdp11/pdp11.c, | |
17325 | config/pdp11/pdp11.h, config/romp/romp.c, config/romp/romp.h, | |
17326 | config/rs6000/rs6000.c, config/rs6000/rs6000.h, config/s390/s390.c, | |
17327 | config/s390/s390.h, config/sh/sh.c, config/sh/sh.h, | |
17328 | config/stormy16/stormy16.c, config/stormy16/stormy16.h, | |
17329 | config/v850/v850.c, config/v850/v850.h, | |
17330 | config/xtensa/xtensa.c, config/xtensa/xtensa.h | |
17331 | (CONST_COSTS, RTX_COSTS): Move code ... | |
17332 | (foo_rtx_costs, TARGET_RTX_COSTS): ... here. | |
17333 | ||
17334 | * config/arm/arm.c (arm_rtx_costs_1): Rename from arm_rtx_costs. | |
17335 | (arm_rtx_costs, TARGET_RTX_COSTS): New. | |
17336 | * config/arm/arm-protos.h: Update. | |
17337 | * config/arm/arm.h (DEFAULT_RTX_COSTS): Remove. | |
17338 | ||
17339 | * config/avr/avr.h (CONST_COSTS): Move code ... | |
17340 | * config/avr/avr.c (avr_rtx_costs): ... here. | |
17341 | (default_rtx_costs): Make static. | |
17342 | * config/avr/avr-protos.h: Update. | |
17343 | ||
17344 | * config/h8300/h8300.c (const_costs): Make static. | |
17345 | (h8300_and_costs, h8300_shift_costs): Likewise. | |
17346 | * config/h8300/h8300-protos.h: Update. | |
17347 | ||
17348 | * config/ip2k/ip2k.h (DEFAULT_RTX_COSTS): Remove. | |
17349 | (CONST_COSTS): Move code ... | |
17350 | * config/ip2k/ip2k.c (ip2k_rtx_costs): ... here. Rename from | |
17351 | default_rtx_costs; update for signature change. | |
17352 | * config/ip2k/ip2k-protos.h: Update. | |
17353 | ||
17354 | * config/m68hc11/m68hc11.h (RTX_COSTS): Remove. | |
17355 | (CONST_COSTS): Move code ... | |
17356 | * config/m68hc11/m68hc11.c (m68hc11_rtx_costs): ... here. | |
17357 | (TARGET_RTX_COSTS): New. | |
17358 | (m68hc11_rtx_costs_1): Rename from m68hc11_rtx_costs; make static. | |
17359 | * config/m68hc11/m68hc11-protos.h: Update. | |
17360 | ||
17361 | * config/m68k/m68k.c (const_int_cost): Make static. | |
17362 | * config/m68k/m68k-protos.h: Update. | |
17363 | ||
17364 | * config/mcore/mcore.c (mcore_const_costs): Make static. | |
17365 | (mcore_and_cost, mcore_ior_cost): Likewise. | |
17366 | * config/mcore/mcore-protos.h: Update. | |
17367 | ||
17368 | * config/mmix/mmix.c (mmix_rtx_costs, TARGET_RTX_COSTS): New. | |
17369 | (mmix_rtx_cost_recalculated): Remove. | |
17370 | * config/mmix/mmix.h (DEFAULT_RTX_COSTS): Remove. | |
17371 | * config/mmix/mmix-protos.h: Update. | |
17372 | ||
17373 | * config/sh/sh.c (shiftcosts): Make static. | |
17374 | (addsubcosts, andcosts, multcosts): Likewise. | |
17375 | * config/sh/sh-protos.h: Update. | |
17376 | ||
17377 | * config/sparc/sparc.c (TARGET_RTX_COSTS): New. | |
17378 | (sparc_rtx_costs): Make static; update for change in signature. | |
17379 | * config/sparc/sparc.h (RTX_COSTS_CASES, RTX_COSTS): Remove. | |
17380 | * config/sparc/sparc-protos.h: Update. | |
17381 | ||
17382 | * config/v850/v850.c (const_costs): Make static. | |
17383 | * config/v850/v850-protos.h: Update. | |
17384 | ||
17385 | * config/vax/vax.h (RTX_COSTS): Remove. | |
17386 | (CONST_COSTS): Move code ... | |
17387 | * config/vax/vax.c (vax_rtx_costs_1): ... here; rename | |
17388 | from vax_rtx_cost. | |
17389 | (vax_rtx_costs, TARGET_RTX_COSTS): New. | |
17390 | ||
b9962e0a RH |
17391 | 2003-01-27 Richard Henderson <rth@redhat.com> |
17392 | ||
17393 | * config/vax/vax.h (ASM_OUTPUT_MI_THUNK): Remove. Really. | |
5ca98980 | 17394 | * config/vax/vax-protos.h: Update. Really. |
b9962e0a | 17395 | |
8a381273 AO |
17396 | 2003-01-28 Alexandre Oliva <aoliva@redhat.com> |
17397 | ||
17398 | * config/mips/mips.h (UNITS_PER_HWFPVALUE): Renamed from... | |
17399 | (UNITS_PER_FPVALUE): Defined as the width of a long double, or | |
17400 | zero if no hardware floating point. | |
17401 | (LONG_DUBLE_TYPE_SIZE): Set to 128 on N32 and N64. | |
17402 | (MAX_FIXED_MODE_SIZE): Define to LONG_DOUBLE_TYPE_SIZE. | |
17403 | (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define. | |
17404 | (BIGGEST_ALIGNMENT): Same as LONG_DOUBLE_TYPE_SIZE. | |
17405 | (FUNCTION_VALUE_REGNO_P): Set for FP_RETURN+2 on N32 and N64. | |
17406 | * config/mips/mips.c (mips_arg_info): Pass TFmode values in | |
17407 | even FP registers on N32 and N64. | |
17408 | (mips_setup_incoming_varargs): Use UNITS_PER_HWFPVALUE. | |
17409 | (mips_va_start): Adjust alignment of ARG_POINTER_REGNUM. | |
17410 | (mips_va_arg): Use UNITS_PER_HWFPVALUE. Impose additional | |
17411 | even-register-like alignment to 128-bit arguments. | |
17412 | (save_restore_insns): Use UNITS_PER_HWFPVALUE. | |
17413 | (mips_function_value): Likewise. Return TFmode in $f0 and $f2 | |
17414 | on N32 or N64. | |
17415 | * config/mips/_tilib.c (__negti2, __ashlti3, __lshrti3): New. | |
17416 | * config/mips/t-iris6 (LIB2FUNCS_EXTRA): Add _tilib.c. | |
17417 | (TPBIT): Set to tp-bit.c. | |
17418 | (tp-bit.c): Create out of fp-bit.c. | |
17419 | ||
820e01be GDR |
17420 | 2003-01-28 Gabriel Dos Reis <gdr@integrable-solutions.net> |
17421 | ||
17422 | * c-parse.in: Remove '%expect 32' directive in objc mode. | |
17423 | ||
23af32e6 NS |
17424 | 2003-01-27 Nathan Sidwell <nathan@codesourcery.com> |
17425 | ||
17426 | * Makefile.in (LIB2FUNCS_ST): Remove _gcov. | |
17427 | (LIBGCOV): New variable. | |
17428 | (libgcc.mk): Add LIBGCOV. | |
17429 | (LIBGCC_DEPS): Add libgcov.c. | |
17430 | (libgcov.a): New target. | |
17431 | (clean): Remove libgcov.a. | |
17432 | (install-libgcc): Do libgcov too. | |
17433 | (stage1-start, stage2-start, stage3-start, stage4-start): Deal | |
17434 | with libgcov.a. | |
17435 | * libgcc2.c (L_gcov): Move into ... | |
17436 | * libgcov.c: ... here. New file. | |
17437 | * mklibgcc.in: Add libgcov rules. | |
17438 | * gcc.c (LINK_COMMAND_SPEC): Add -lgcov when profiling. | |
17439 | ||
17440 | * doc/invoke.texi (profile-arcs, test-coverage): Update and | |
17441 | clarify. | |
ff6e2d3e | 17442 | |
23af32e6 NS |
17443 | * profile.c (index_counts_file): Remove duplicate check for open file. |
17444 | ||
9fe42917 | 17445 | 2003-01-27 Jerry Quinn <jlquinn@optonline.net> |
d4463dfc JQ |
17446 | |
17447 | * gcc/doc/invoke.texi (Optimization Options): Group together | |
17448 | optional and experimental flags. Move trapv and bounds-check | |
95fcd0ab | 17449 | out of this section. Group floating point flags together. |
d4463dfc JQ |
17450 | (Code Gen Options): Move trapv and bounds-check to here. |
17451 | ||
244d05fb JZ |
17452 | 2003-01-27 Josef Zlomek <zlomekj@suse.cz> |
17453 | ||
17454 | * gcse.c (constprop_register): Check NEXT_INSN (insn) != NULL. | |
17455 | ||
c552c146 RE |
17456 | 2003-01-27 Richard Earnshaw <rearnsha@arm.com> |
17457 | ||
17458 | PR optimization/9090 | |
17459 | * function.c (purge_addressof_1): After pushing an addressed register | |
17460 | onto the stack, simplify the result. | |
17461 | ||
90a21764 VR |
17462 | 2003-01-27 Volker Reichelt <reichelt@igpm.rwth-aachen.de> |
17463 | ||
17464 | * doc/extend.texi: Fix typo. | |
17465 | ||
9a376494 VR |
17466 | 2003-01-27 Volker Reichelt <reichelt@igpm.rwth-aachen.de> |
17467 | ||
17468 | * doc/cppopts.texi: Fix typo. | |
17469 | * doc/objc.texi: Likewise. | |
17470 | * doc/passes.texi: Likewise. | |
17471 | ||
f004e5f3 AO |
17472 | 2003-01-27 Alexandre Oliva <aoliva@redhat.com> |
17473 | ||
17474 | * real.c (ibm_extended_format): Add 53 to minimum exponent. | |
17475 | (encode_ibm_extended): Adjust. | |
17476 | ||
58c60e52 GDR |
17477 | 2003-01-26 Gabriel Dos Reis <gdr@soliton.integrable-solutions.net> |
17478 | ||
17479 | * timevar.def (TV_OVERLOAD, TV_TEMPLATE_INSTANTIATION): New | |
17480 | timevar_id enumerations. | |
17481 | ||
e869aa39 KH |
17482 | 2003-01-26 Kazu Hirata <kazu@cs.umass.edu> |
17483 | ||
17484 | * combine.c: Fix formatting. | |
17485 | ||
74fb4811 KH |
17486 | 2003-01-26 Kazu Hirata <kazu@cs.umass.edu> |
17487 | ||
17488 | * doc/gccint.texi: Update the copyright. | |
17489 | ||
3bcf1b13 KH |
17490 | 2003-01-26 Kazu Hirata <kazu@cs.umass.edu> |
17491 | ||
17492 | * doc/cpp.texi: Fix typos. | |
17493 | * doc/extend.texi: Likewise. | |
17494 | * doc/gty.texi: Likewise. | |
17495 | * doc/install.texi: Likewise. | |
17496 | * doc/passes.texi: Likewise. | |
17497 | * doc/rtl.texi: Likewise. | |
17498 | * doc/tm.texi: Likewise. | |
17499 | ||
9e4f94de KH |
17500 | 2003-01-26 Kazu Hirata <kazu@cs.umass.edu> |
17501 | ||
17502 | * config/ia64/fde-glibc.c: Fix comment typos. | |
17503 | * config/ia64/hpux.h: Likewise. | |
17504 | * config/ia64/ia64.c: Likewise. | |
17505 | * config/ia64/ia64.h: Likewise. | |
17506 | * config/ia64/unwind-ia64.c: Likewise. | |
17507 | ||
4aae8a9a KH |
17508 | 2003-01-26 Kazu Hirata <kazu@cs.umass.edu> |
17509 | ||
17510 | * config/i386/i386-modes.def: Fix comment typos. | |
17511 | * config/i386/i386.c: Likewise. | |
17512 | * config/i386/i386.md: Likewise. | |
17513 | ||
35d8c8e2 SB |
17514 | 2003-01-26 Steven Bosscher <s.bosscher@student.tudelft.nl> |
17515 | ||
17516 | * config/avr/avr.h, config/cris/aout.h, config/elfos.h, | |
17517 | config/i386/freebsd-aout.h, config/mips/iris6.h: Undefine | |
17518 | ASM_FINISH_DECLARE_OBJECT before defining it. | |
17519 | * toplev.c (rest_of_decl_compilation): Don't define | |
17520 | ASM_FINISH_DECLARE_OBJECT. Only use it if it is defined. | |
17521 | (rest_of_type_compilation): Don't ATTRIBUTE_UNUSED function | |
17522 | parameters for DWARF2 targets because they _are_ used. | |
17523 | ||
ea976606 AO |
17524 | 2003-01-26 Alexandre Oliva <aoliva@redhat.com> |
17525 | ||
b44cf3d9 AO |
17526 | * fp-bit.h: Define macros for TFmode floating-point constants |
17527 | in IBM-extended TFmode types. | |
17528 | (TMODES): Define if __LDBL_MANT_DIG__ has the newly-supported | |
17529 | widths. | |
17530 | * config/fp-bit.c (pack_d, unpack_d): Support IBM-extended | |
17531 | TFmode type. | |
17532 | ||
ea976606 AO |
17533 | * config/fp-bit.h: Define macros for TFmode floating-point |
17534 | constants in IEEE quad TFmode type. Declare functions according | |
17535 | to L_ macros. | |
17536 | (TMODES): Define if __LDBL_MANT_DIG__ is 113. | |
17537 | (TFtype, TItype, UTItype): Define if TMODES is defined. | |
17538 | (MAX_UDI_INT, MAX_DI_INT, BITS_PER_DI): Likewise. | |
17539 | (F_T_BITOFF, D_T_BITOFF): Define. | |
17540 | (IMPLICIT_1, IMPLICIT_2): Cast constants to types that are | |
17541 | guaranteed to be wide enough. | |
17542 | * config/fp-bit.c: Check for L_ macros for tf functions. | |
17543 | (__thenan_tf): New. | |
17544 | (nan): Adjust. | |
17545 | (pack_d, unpack_d): Support IEEE 854 quad type. | |
17546 | (_fpmul_parts): Support TFmode. Compute exponent adjustment | |
17547 | from FRAC_NBITS, FRAC_BITS and NGARDS. | |
17548 | (usi_to_float): Cast constants to be shifted to fractype | |
17549 | instead of assuming long long is wide enough. | |
17550 | (sf_to_tf, df_to_tf, __make_tp, tf_to_df, tf_to_sf): New. | |
17551 | ||
fd7fd61e AJ |
17552 | 2003-01-26 Andreas Jaeger <aj@suse.de> |
17553 | ||
17554 | * df.c: Remove prototype of unused function df_regno_rtl_debug. | |
17555 | ||
8ae91fc0 AO |
17556 | 2003-01-26 Alexandre Oliva <aoliva@redhat.com> |
17557 | ||
88e83acb AO |
17558 | * Makefile.in (FPBIT_FUNCS): Added _sf_to_tf. |
17559 | (DBBIT_FUNCS): Added _df_to_tf. | |
17560 | (TPBIT_FUNCS): New. | |
17561 | (libgcc.mk): Pass TPBIT and TPBIT_FUNCS down. | |
17562 | (LIBGCC_DEPS): Added TPBIT. | |
17563 | * mklibgcc.in: Support TPBIT and TPBIT_FUNCS. | |
17564 | ||
2cd622c3 AO |
17565 | * optabs.c (expand_binop) <add, sub>: Return xtarget if we haven't |
17566 | been able to move the result to target. | |
17567 | ||
8ae91fc0 AO |
17568 | * expr.c (emit_group_store): Initialize dst with CONST0_RTX |
17569 | for the appropriate mode. | |
17570 | ||
c3297561 AO |
17571 | * calls.c (emit_library_call_value_1): Handle return values |
17572 | in a PARALLEL. | |
17573 | ||
187515f5 AO |
17574 | * rtl.c (get_mode_alignment): Moved to... |
17575 | * stor-layout.c: ... here. | |
17576 | ||
6ebd2ef4 AO |
17577 | * print-rtl.c (print_rtx): Don't print MEM details in |
17578 | GENERATOR_FILEs. | |
17579 | ||
7890e8f3 MH |
17580 | 2003-01-26 Michael Hayes <mph@paradise.net.nz> |
17581 | ||
17582 | * df.h: Update comments, tidy formatting. | |
17583 | (DF_FORWARD, DF_REVERSE, DF_UNION, DF_INTERSECTION): Rename from FORWARD, | |
17584 | REVERSE, UNION, INTERSECTION. All uses updated. | |
17585 | (OLD_DF_INTERFACE): Remove. | |
17586 | (struct insn_info): Remove commented out insn field. | |
17587 | * df.c: Update comments, tidy formatting. | |
17588 | (df_def_table_realloc): Remove. | |
17589 | ||
17590 | ||
b820d2b8 AM |
17591 | 2003-01-26 Alan Modra <amodra@bigpond.net.au> |
17592 | ||
17593 | * calls.c (save_fixed_argument_area): Tidy. | |
17594 | (restore_fixed_argument_area): Tidy. Set alignment of stack_area. | |
17595 | (expand_call): Comment typo fixes. Don't init low_to_save. Start | |
17596 | call chain loop at 1 if !try_tail_call. Formatting. | |
17597 | (emit_library_call_value_1): Don't init low_to_save or high_to_save. | |
17598 | Use save_fixed_argument_area and restore_fixed_argument_area. | |
17599 | ||
42510de4 MH |
17600 | 2003-01-26 Michael Hayes <m.hayes@elec.canterbury.ac.nz> |
17601 | ||
17602 | * df.c (df_uses_record): Handle CC0. | |
17603 | ||
acf9fa5f UW |
17604 | 2003-01-25 Ulrich Weigand <uweigand@de.ibm.com> |
17605 | ||
1e1bd14e RH |
17606 | * reload.c (maybe_memory_address_p): New function. |
17607 | (find_reloads_address): Use it instead of memory_address_p. | |
acf9fa5f | 17608 | |
5a09edba KK |
17609 | 2003-01-25 Kaz Kojima <kkojima@gcc.gnu.org> |
17610 | ||
17611 | * final.c (shorten_branches): Align the address of code label | |
1e1bd14e | 17612 | when computing initial lengths and addresses. |
5a09edba | 17613 | |
f5818c0c KH |
17614 | 2003-01-25 Kazu Hirata <kazu@cs.umass.edu> |
17615 | ||
17616 | * config/m68hc11/m68hc11.md: Fix a comment typo. | |
17617 | ||
21ff35fb AJ |
17618 | 2003-01-25 Andreas Jaeger <aj@suse.de> |
17619 | ||
17620 | * config/i386/i386.c (x86_output_mi_thunk): Correct test for | |
17621 | TARGET_MACHO. | |
17622 | ||
7821bfc7 RS |
17623 | 2003-01-25 Roger Sayle <roger@eyesopen.com> |
17624 | ||
17625 | * gcse.c (bypass_last_basic_block): New global variable. | |
17626 | (bypass_block): Use redirect_edge_and_branch_force to redirect | |
17627 | fall-through edges. Use bypass_last_basic_block to determine | |
17628 | which blocks have valid PRE information. | |
17629 | (bypass_conditional_jumps): Initialize bypass_last_basic_block. | |
17630 | ||
62c9aa5f | 17631 | 2003-01-25 Jan Hubicka <jh@suse.cz> |
5f0bea72 JH |
17632 | |
17633 | * gcse.c (local_cprop_pass): Update reg_sets table when needed. | |
17634 | ||
62c9aa5f | 17635 | 2003-01-25 Jan Hubicka <jh@suse.cz> |
1649d92f JH |
17636 | Eric Botcazou <ebotcazou@libertysurf.fr> |
17637 | PR opt/8492 | |
17638 | * gcse.c (one_cprop_pass): Delete unreachable blocks. | |
17639 | ||
6ca86a1a RH |
17640 | 2003-01-25 Richard Henderson <rth@redhat.com> |
17641 | ||
17642 | * config/ia64/ia64.c (ia64_rwreloc_select_rtx_section): Rename | |
17643 | from ia64_aix_select_rtx_section. | |
17644 | (ia64_rwreloc_select_section): Simlarly; use default*_1 function | |
17645 | instead of saving and restoring flag_pic. | |
17646 | (ia64_rwreloc_unique_section): Similarly. | |
17647 | * config/ia64/aix.h (TARGET_ASM_SELECT_SECTION, | |
17648 | TARGET_ASM_UNIQUE_SECTION, TARGET_ASM_SELECT_RTX_SECTION): Update. | |
17649 | * config/ia64/hpux.h (TARGET_ASM_SELECT_SECTION, | |
17650 | TARGET_ASM_UNIQUE_SECTION, TARGET_ASM_SELECT_RTX_SECTION): New. | |
17651 | ||
aa2fb4dd KH |
17652 | 2003-01-25 Kazu Hirata <kazu@cs.umass.edu> |
17653 | ||
17654 | * config/h8300/h8300.c (h8300_shift_needs_scratch_p): Update a | |
17655 | comment. | |
17656 | ||
c876997f | 17657 | 2003-01-25 Richard Henderson <rth@redhat.com> |
1125849a RH |
17658 | |
17659 | * config/m68k/m68k-none.h (ASM_SPEC): Adjust inter-option spacing. | |
17660 | ||
c876997f | 17661 | 2003-01-25 Kelley Cook <kelleycook@comcast.net> |
3900a23b KC |
17662 | |
17663 | * ggc-simple.c (debug_ggc_tree): Add PTR cast. | |
17664 | ||
72e42e26 SB |
17665 | 2003-01-25 Segher Boessenkool <segher@koffie.nl> |
17666 | ||
17667 | * bitmap.h (BITMAP_WORD): New typedef: fundamental storage | |
17668 | type for bitmaps. Use unsigned long. | |
17669 | (nBITMAP_WORD_BITS): New macro. | |
17670 | (BITMAP_WORD_BITS): New macro. | |
17671 | (rest of file): Use it. | |
17672 | * bitmap.c: Use it. | |
17673 | ||
8324663f RH |
17674 | 2003-01-25 Richard Henderson <rth@redhat.com> |
17675 | ||
17676 | 2002-02-19 Robert Lipe <robertlipe@usa.net> | |
17677 | * config/i386/t-sco5gas: (CRTSTUFF_T_CFLAGS_S): Delete -mcoff. | |
17678 | ||
c876997f | 17679 | 2003-01-25 Roger Sayle <roger@eyesopen.com> |
2adc9b0f RS |
17680 | |
17681 | * builtins.c (purge_builtin_constant_p): Scan insn stream | |
17682 | sequentially rather than by basic block. | |
17683 | * function.c (purge_addressof): Simplify test with INSN_P. | |
17684 | ||
ad487c38 KH |
17685 | 2003-01-25 Kazu Hirata <kazu@cs.umass.edu> |
17686 | ||
8324663f | 17687 | * combine.c (simplify_comparison, case AND): Remove a redundant test. |
ad487c38 | 17688 | |
c876997f | 17689 | 2003-01-25 Roger Sayle <roger@eyesopen.com> |
07d9b20d RS |
17690 | |
17691 | * function.h (struct function): New field calls_constant_p. | |
17692 | (current_function_calls_constant_p): New macro for above. | |
17693 | * function.c (prepare_function_start): Initialize calls_eh_return | |
17694 | and calls_constant_p. | |
17695 | * builtins.c (expand_builtin_constant_p): Set calls_constant_p. | |
17696 | * toplev.c (rest_of_compilation): Only call purge_builtin_constant_p | |
17697 | when the current_function_calls_constant_p. | |
17698 | * integrate.c (expand_inline_function): Set calls_constant_p if | |
17699 | the function being inlined has calls_constant_p set. | |
17700 | ||
c876997f | 17701 | 2003-01-25 Roger Sayle <roger@eyesopen.com> |
41559112 RS |
17702 | |
17703 | * cse.c (fold_rtx): Instantiate CONSTANT_P_RTX to 0 when not | |
17704 | optimizing, even if flag_gcse is true. | |
17705 | * toplev.c (rest_of_compilation): purge_builtin_constant_p | |
17706 | only needs to be called when "optimize > 0 && flag_gcse". | |
17707 | ||
9bb231fd RS |
17708 | 2003-01-25 Roger Sayle <roger@eyesopen.com> |
17709 | ||
17710 | * stmt.c (emit_case_bit_tests): New routine to implement suitable | |
17711 | switch statements using the equivalent of "if ((1<<x) & cst) ... ". | |
17712 | (case_bit_test_cmp): New comparison function for "qsort" to order | |
17713 | case_bit_tests by decreasing number of destination nodes. | |
17714 | (lshift_cheap_p): New function to determine if "1 << x" is cheap. | |
17715 | (expand_end_case_type): Use emit_case_bit_tests to implement | |
17716 | suitable switch statments. | |
17717 | (CASE_USE_BIT_TESTS): New target macro to disable the above. | |
17718 | * Makefile.in (stmt.o): Add dependency on optab.h. | |
17719 | * doc/tm.texi (CASE_USE_BIT_TESTS): Document new target macro. | |
17720 | ||
a073323c AS |
17721 | 2003-01-23 Andreas Schwab <schwab@suse.de> |
17722 | ||
17723 | * config/ia64/crtend.asm [HAVE_INITFINI_ARRAY]: Make | |
17724 | __do_global_ctors_aux hidden global and don't put it in | |
17725 | .init_array. | |
17726 | * config/ia64/crtbegin.asm [HAVE_INITFINI_ARRAY]: Put it here | |
17727 | instead so that it comes first. | |
17728 | ||
62c9aa5f | 17729 | 2003-01-25 Jan Hubicka <jh@suse.cz> |
36ddc6b0 JH |
17730 | |
17731 | * df.c (read_modify_subreg_p): When osize == UNITS_PER_WORD, | |
17732 | subreg is read/modify. | |
17733 | ||
62c9aa5f | 17734 | 2003-01-25 Jan Hubicka <jh@suse.cz> |
26771da7 JH |
17735 | |
17736 | * i386.c (ix86_expand_movstr, ix86_expand_clrstr): Consistently | |
17737 | do libcall for large blocks. | |
17738 | * i386.md (comi patterns): Set type to ssecomi. | |
17739 | (sse2_unpck?pd): Fix mode of vec_select. | |
17740 | ||
17741 | * cse.c: Include except.h | |
17742 | (cse_set_around_loop): Do not create new basic blocks. | |
17743 | * Makefile.in (cse.o): Add dependnecy on except.h | |
17744 | ||
62c9aa5f | 17745 | 2003-01-25 Jan Hubicka <jh@suse.cz> |
27a6aa72 JH |
17746 | |
17747 | * builtins.c (fold_trunc_transparent_mathfn): New function. | |
17748 | (fold_builtin): Use it. | |
17749 | * convert.c (convert_to_real): Re-enable code to convert | |
17750 | math functions; add support for floor familly functions. | |
17751 | ||
cd68f4e4 ZD |
17752 | 2003-01-25 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
17753 | ||
17754 | * Makefile.in (cfgloop.o, cfgloopanal.o, cfgloopmanip.o): Add | |
17755 | dependencies on coretypes.h and $(TM_H). | |
17756 | ||
62c9aa5f | 17757 | 2003-01-25 Jan Hubicka <jh@suse.cz> |
67945f2e JH |
17758 | |
17759 | * builtins.c (fold_trunc_transparent_mathfn): Undo accidental commit. | |
17760 | ||
c876997f | 17761 | 2003-01-24 Stuart Hastings <stuart@apple.com> |
095fa594 | 17762 | |
08f0414b | 17763 | * config/i386/i386.c (x86_output_mi_thunk): Add Darwin/x86 support. |
095fa594 | 17764 | |
1e4c04e0 MH |
17765 | 2003-01-25 Michael Hayes <m.hayes@elec.canterbury.ac.nz> |
17766 | ||
17767 | * config/c4x/c4x.md (UNSPEC_BU): New constants. | |
17768 | (UNSPEC_RPTS, UNSPEC_LSH, UNSPEC_CMPHI, UNSPEC_RCPF): Likewise. | |
17769 | (UNSPEC_RND, UNSPEC_RPTB_FILL, UNSPEC_LOADHF_INT): Likewise. | |
17770 | (UNSPEC_STOREHF_INT, UNSPEC_RSQRF, UNSPEC_LOADQF_INT): Likewise. | |
17771 | (UNSPEC_STOREQF_INT, UNSPEC_LDIV, UNSPEC_PUSH_ST): Likewise. | |
17772 | (UNSPEC_POP_ST, UNSPEC_PUSH_DP, UNSPEC_POP_DP): Likewise. | |
17773 | (UNSPEC_POPQI, UNSPEC_POPQF, UNSPEC_ANDN_ST): Likewise. | |
17774 | (UNSPEC_RPTB_INIT, UNSPEC_TOIEEE, UNSPEC_FRIEEE): Likewise. | |
17775 | ||
62c9aa5f | 17776 | 2003-01-24 Jan Hubicka <jh@suse.cz> |
a560d4d4 | 17777 | |
08f0414b | 17778 | * emit-rtl.c (reg_attrs_htab): New static variable. |
a560d4d4 JH |
17779 | (reg_attrs_htab_hash, reg_attrs_htab_eq, get_reg_attrs): New static |
17780 | functions. | |
17781 | (reg_rtx): Do not maintain regno_decl. | |
17782 | (gen_rtx_REG_offset, set_reg_attrs_from_mem, set_delc_rtx, | |
17783 | set_mem_attrs_from_reg): New global function. | |
17784 | (init_emit): Do not initialize regno_decl. | |
17785 | (init_emit_once): initialize reg_attrs_htab. | |
17786 | * final.c (alter_subreg): Do not replace REG by SUBREG. | |
17787 | (gen_mem_expr_from_op): Improve output. | |
17788 | (output_asm_operands): Likewise. | |
17789 | * function.c (assign_params): Do not set REGNO_DECL. | |
17790 | * function.h (struct function): Kill regno_decl. | |
17791 | (REGNO_DECL): Kill. | |
17792 | * gengtype.c (adjust_field_rtx_def): Handle new field of reg. | |
17793 | * print_rtl.c (print_rtx): Output REG information. | |
17794 | * regclass.c (reg_scan_mark_refs): Update attrs. | |
17795 | * reload1.c (alter_reg): Likewise. | |
17796 | * simplify_rtx.c (simplify_subreg): Likewise. | |
17797 | * stmt.c (expand_decl): Likewise. | |
17798 | * rtl.def (REG): Add new field. | |
17799 | * rtl.h (struct reg_attrs): New. | |
17800 | (rtunion_def): At rtreg. | |
17801 | (X0MEMATTR): Add checking. | |
17802 | (X0REGATTR, REG_ATTRS, REG_EXPR, REG_OFFSET): New macro. | |
17803 | (set_reg_attrs_from_mem, set_mem_attrs_from_reg, gen_rtx_REG_offset): | |
17804 | Declare. | |
17805 | * tree.h (SET_DECL_RTL): Call set_decl_rtl. | |
17806 | ||
1d0ea52e BW |
17807 | 2003-01-24 Bob Wilson <bob.wilson@acm.org> |
17808 | ||
17809 | * config/xtensa/xtensa.c: Remove unused include of machmode.h. | |
17810 | (xtensa_emit_call, print_operand): Fix printf format strings | |
17811 | to avoid compile warnings. | |
17812 | (xtensa_function_prologue, xtensa_function_epilogue): Change type | |
17813 | of "size" argument to HOST_WIDE_INT to fix compile warnings. | |
17814 | * config/xtensa/xtensa-protos.h | |
17815 | (xtensa_function_prologue, xtensa_function_epilogue): Ditto. | |
17816 | ||
62c9aa5f | 17817 | 2003-01-24 Jan Hubicka <jh@suse.cz> |
272f51a3 JH |
17818 | |
17819 | * builtins.c (DEF_BUILTIN): Accept 10 arguments. | |
17820 | (implicit_built_in_decls): New global array. | |
17821 | (mathfn_built_in): New global function. | |
17822 | (fold_trunc_transparent_mathfn): New static function | |
17823 | (expand_builtin_strstr, expand_bultin_strchr, | |
17824 | expand_builtin_strpbrk, expand_builtin_strcpy, | |
17825 | expand_builtin_strncpy, expand_bultin_strcmp, | |
17826 | expand_bultin_strncat, expand_builtin_fputs): Use | |
17827 | implicint_built_in_decls. | |
17828 | (fold_builtin): Fold floor/trunc/round/ceil/nearbyint. | |
17829 | * builtins.def: Fix comments. | |
17830 | (DEF_GCC_BUILTIN, DEF_FALLBACK_BUILTIN, DEF_EXT_FALLBACK_BUILTIN, | |
17831 | DEF_LIB_BUILTIN, DEF_LIB_ALWAYS_BUILTIN, DEF_EXT_LIB_BUILTIN, | |
17832 | DEF_C99_BULTIN, DEF_FRONT_END_LIB_BUILTIN, | |
17833 | DEF_EXT_FRONT_END_LIB_BUILTIN): Pass implicit as needed. | |
17834 | (DEF_C99_C90RES_BULTIN): New. | |
17835 | (*f, *l builtins): Update. | |
17836 | * c-common.c (DEF_BUILTIN): Initialize implicit array. | |
17837 | (c_expand_builtin_printf, c_expand_builtin_fprintf): Update. | |
17838 | * convert.c (strip_float_extensions): New global function. | |
17839 | * tree.h (DEF_BUILTIN): Accept 10 arguments. | |
17840 | (implicit_built_in_decls, mathfn_built_in, strip_float_extension): | |
17841 | Declare. | |
17842 | * java/builtins.c (define_builtin): Handle implicit. | |
17843 | (DEF_BUILTIN): Update. | |
17844 | * tm.texi (TARGET_C99_FUNCTIONS): Document. | |
17845 | * defaults.h (TARGET_C99_FUNCTIONS): Default to 0. | |
17846 | * config/linux.h (TARGET_C99_FUNCTIONS): Default to 1 | |
17847 | when using glibc2. | |
17848 | ||
1f37a5b2 BW |
17849 | 2003-01-24 Bob Wilson <bob.wilson@acm.org> |
17850 | ||
17851 | * config.gcc (xtensa-*-elf*): Removed assignments to with_newlib, | |
17852 | extra_parts, and fixincludes. Add xtensa/t-elf tmake_file. | |
17853 | (xtensa-*-linux*): Add xtensa/t-linux tmake_file. | |
17854 | * config/xtensa/crti.asm: New file. | |
17855 | * config/xtensa/crtn.asm: New file. | |
17856 | * config/xtensa/t-elf: New file. | |
17857 | * config/xtensa/t-linux: New file. | |
17858 | * config/xtensa/t-xtensa: Add rules for crti.o and crtn.o. | |
17859 | Move various CFLAGS settings to new t-elf file. | |
17860 | ||
84f5e1b1 RH |
17861 | 2003-01-24 Richard Henderson <rth@redhat.com> |
17862 | ||
17863 | PR optimization/4382 | |
17864 | * tree-inline.c (find_builtin_longjmp_call_1): New. | |
17865 | (find_builtin_longjmp_call): New. | |
17866 | (inlinable_function_p): Use it. | |
17867 | ||
09b2e78d ZD |
17868 | 2003-01-24 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
17869 | ||
17870 | * config/i386/i386-protos.h (function_arg_pass_by_reference): Declare. | |
17871 | * config/i386/i386.h (FUNCTION_ARG_PASS_BY_REFERENCE): Use it. | |
17872 | * config/i386/i386.c (function_arg_pass_by_reference): New. | |
17873 | (ix86_va_arg): Support arguments passed by reference. | |
17874 | ||
3d436d2a ZD |
17875 | 2003-01-24 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
17876 | ||
17877 | * cfgloopanal.c: New file. | |
17878 | * cfgloopmanip.c: New file. | |
17879 | * Makefile.in (cfgloopanal.o, cfgloopmanip.o): New. | |
17880 | (toplev.o, loop.o, doloop.o, unroll.o, cfgloop.o, predict.o, | |
17881 | cfglayout.o): Add dependency on cfgloop.h. | |
17882 | (cfgloop.o): Add flags.h dependency. | |
17883 | * basic-block.h (BB_IRREDUCIBLE_LOOP, BB_SUPERBLOCK): New flags. | |
17884 | (VLS_EXPECT_PREHEADERS, VLS_EXPECT_SIMPLE_LATCHES): Removed. | |
17885 | (struct loop, struct loops, flow_loops_find, flow_loops_update, | |
17886 | flow_loops_free, flow_loops_dump, flow_loop_dump, | |
17887 | flow_loop_scan, flow_loop_tree_node_add, flow_loop_tree_node_remove, | |
17888 | LOOP_TREE,,LOOP_PRE_HEADER, LOOP_ENTRY_EDGES, LOOP_EXIT_EDGES, | |
17889 | LOOP_ALL, flow_loop_outside_edge_p, flow_loop_nested_p, | |
17890 | flow_bb_inside_loop_p, get_loop_body, loop_preheader_edge, | |
17891 | loop_latch_edge, add_bb_to_loop, remove_bb_from_loops, | |
17892 | find_common_loop, verify_loop_structure): Declarations moved to ... | |
17893 | * cfgloop.h: New file. | |
17894 | * bb-reorder.c (reorder_basic_blocks): Modified. | |
17895 | * cfglayout.c: Include cfgloop.h. | |
17896 | (cleanup_unconditional_jumps, cfg_layout_redirect_edge, | |
17897 | cfg_layout_duplicate_bb, cfg_layout_initialize): Update loop structure. | |
17898 | (break_superblocks): New static function. | |
17899 | (cfg_layout_finalize): Use it. | |
17900 | (cfg_layout_split_block): New function. | |
17901 | * cfglayout.h (struct reorder_block_def): Add copy and duplicated | |
17902 | fields. | |
17903 | (cfg_layout_initialize, cfg_layout_redirect_edge): Declaration | |
17904 | changed. | |
17905 | (cfg_layout_split_block): Declare. | |
17906 | * cfgloop.c: Include cfgloop.h and flags.h. | |
17907 | (flow_loop_dump, flow_loops_free, flow_loop_exit_edges_find, | |
17908 | get_loop_body): Avoid signed versus unsigned comparison warnings. | |
17909 | (make_forwarder_block, flow_loops_find, loop_preheader_edge, | |
17910 | loop_latch_edge): Modified. | |
17911 | (verify_loop_structure): Modified to use flags stored in loop structure; | |
17912 | check irreducible loops. | |
17913 | (cancel_loop, cancel_loop_tree): New functions. | |
17914 | (estimate_probability): Use loop analysis code for predictions. | |
17915 | (estimate_loops_at_level): Avoid signed versus unsigned comparison | |
17916 | warnings. | |
17917 | * doloop.c: Include cfgloop.h. | |
17918 | * loop.c: Include cfgloop.h. | |
17919 | * predict.c: Include cfgloop.h. | |
17920 | * toplev.c: Include cfgloop.h. | |
17921 | * unroll.c: Include cfgloop.h. | |
17922 | * tracer.c (tracer): Modified. | |
17923 | ||
a38b3eea KH |
17924 | 2003-01-24 Kazu Hirata <kazu@cs.umass.edu> |
17925 | ||
17926 | * config/h8300/h8300.c (get_shift_alg): Fix a typo. | |
17927 | ||
fd3cd001 UW |
17928 | 2003-01-24 Ulrich Weigand <uweigand@de.ibm.com> |
17929 | ||
17930 | * configure.in (HAVE_AS_TLS): Add s390-*-* and s390x-*-* cases. | |
17931 | * configure: Regenerate. | |
17932 | ||
17933 | * config/s390/s390-protos.h (tls_symbolic_operand): Add prototype. | |
17934 | (tls_symbolic_reference_mentioned_p): Add prototype. | |
17935 | (s390_tls_get_offset): Add prototype. | |
17936 | (emit_pic_move): Remove prototype, replace by ... | |
17937 | (emit_symbolic_move): .. this new prototype. | |
17938 | ||
17939 | * config/s390/s390.c (TARGET_HAVE_TLS): Conditionally define. | |
17940 | (tls_model_chars): New global variable. | |
17941 | (s390_encode_section_info): Encode TLS model. | |
17942 | Use targetm.binds_local_p to check for local symbols. | |
17943 | (s390_strip_name_encoding): New function. | |
17944 | (TARGET_STRIP_NAME_ENCODING): Define. | |
17945 | ||
17946 | (get_thread_pointer): New function. | |
21ff35fb | 17947 | (legitimize_tls_address): New function. |
fd3cd001 UW |
17948 | (legitimize_address): Call it. |
17949 | (emit_pic_move): Remove, replace by ... | |
17950 | (emit_symbolic_move): ... this new function. | |
17951 | ||
17952 | (larl_operand): Handle TLS operands. | |
17953 | (legitimate_constant_p): Likewise. | |
17954 | (s390_decompose_address): Likewise. | |
17955 | (s390_cannot_force_const_mem): New function. | |
17956 | (TARGET_CANNOT_FORCE_CONST_MEM): Define. | |
17957 | ||
17958 | (s390_output_symbolic_const): Handle TLS unspecs. | |
17959 | (print_operand): New code 'J'. | |
17960 | (machine_function): Add struct member 'some_ld_name'. | |
17961 | (get_some_local_dynamic_name, get_some_local_dynamic_name_1): New. | |
17962 | ||
17963 | (enum s390_builtin): New type. | |
17964 | (code_for_builtin_64, code_for_builtin_31): New global variables. | |
17965 | (s390_init_builtins, s390_expand_builtin): New functions. | |
17966 | (TARGET_INIT_BUILTINS, TARGET_EXPAND_BUILTIN): Define. | |
17967 | ||
17968 | * config/s390/s390.h (TLS_SYMBOLIC_CONST): New macro. | |
17969 | (ASM_OUTPUT_LABELREF): Define. | |
17970 | (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Handle TLS constants. | |
17971 | ||
17972 | * config/s390/s390.md: Define TLS UNSPEC constants. | |
17973 | ("movdi", "movsi"): Handle TLS operands. | |
17974 | ("get_tp_64", "get_tp_31", "set_tp_64", "set_tp_31"): New insns. | |
17975 | ("*tls_load_64", "*tls_load_31"): New insns. | |
17976 | ("call_value_tls", "call_value_tls_exp"): New expanders. | |
21ff35fb | 17977 | ("brasl_tls", "bras_tls", "basr_tls_64", "basr_tls_31", |
fd3cd001 UW |
17978 | "bas_tls_64", "bas_tls_31"): New insns. |
17979 | ||
01f4962d NS |
17980 | 2003-01-24 Nathan Sidwell <nathan@codesourcery.com> |
17981 | ||
17982 | * config/rs6000/rs6000.c (rs6000_parse_abi_options): Make sure | |
17983 | spe ABI is configured, if requested. | |
17984 | ||
70b91854 VR |
17985 | 2003-01-24 Volker Reichelt <reichelt@igpm.rwth-aachen.de> |
17986 | ||
17987 | * doc/passes.texi: Fix typo. | |
17988 | ||
b8089d8d AS |
17989 | 2003-01-24 Andreas Schwab <schwab@suse.de> |
17990 | ||
17991 | * stor-layout.c (excess_unit_span): Only define if used. | |
17992 | ||
38df970e JQ |
17993 | 2003-01-24 Jerry Quinn <jlquinn@optonline.net> |
17994 | ||
17995 | * gcc/doc/invoke.texi (Optimization Options): List -O levels | |
17996 | for each optimization flag. | |
17997 | ||
dff23a65 KH |
17998 | 2003-01-24 Kazu Hirata <kazu@cs.umass.edu> |
17999 | ||
18000 | * config/h8300/h8300.md (*andsi3_ashift_n_lower): New. | |
18001 | ||
05739753 VR |
18002 | 2003-01-24 Volker Reichelt <reichelt@igpm.rwth-aachen.de> |
18003 | ||
18004 | * doc/bugreport.texi: Use @command instead of @code for commands. | |
18005 | * doc/collect2.texi: Likewise. | |
18006 | * doc/headerdirs.texi: Likewise. | |
18007 | * doc/invoke.texi: Likewise. | |
18008 | * doc/standards.texi: Likewise. | |
18009 | * doc/tm.texi: Likewise. | |
18010 | * doc/trouble.texi: Likewise. | |
18011 | ||
06bea5aa NC |
18012 | 2003-01-24 Nick Clifton <nickc@redhat.com> |
18013 | ||
18014 | * config/arm/arm.c (use_return_insn): Do not use a single return | |
18015 | instruction for interrupt handelrs which have to create a stack | |
18016 | frame. | |
18017 | (arm_expand_prologue): Do not pre-bias the return address of | |
18018 | interrupt handlers which create a stack frame. | |
18019 | ||
18020 | 2003-01-24 Nick Clifton <nickc@redhat.com> | |
18021 | ||
18022 | * Add sh2e support: | |
18023 | ||
18024 | 2002-08-12 Alexandre Oliva <aoliva@redhat.com> | |
18025 | ||
18026 | * config/sh/sh.c (output_branch) [TARGET_SH2E]: Handle | |
18027 | med_cbranches. Fix logic in short_cbranches. | |
18028 | ||
18029 | 2002-04-03 Alexandre Oliva <aoliva@redhat.com> | |
18030 | ||
18031 | * config/sh/sh.md (delay for cbranch): Don't annul delay | |
18032 | slots on SH2e. | |
18033 | * config/sh/sh.c (sh_insn_length_adjustment): Add 2 for | |
18034 | cbranch with unfilled delay slot on SH2e. | |
18035 | (output_branch): Fill with a nop the delay slot of a | |
18036 | branch that required a delay slot but didn't get one. | |
18037 | ||
18038 | 2002-04-02 Alexandre Oliva <aoliva@redhat.com> | |
18039 | ||
18040 | * doc/invoke.texi (SH options): Document -m2e. | |
18041 | * config/sh/crt1.asm: Add __SH2E__ Next to __SH3E__. | |
18042 | * config/sh/lib1funcs.asm: Likewise. | |
18043 | * config/sh/sh.c: Replace all uses of TARGET_SH3E with SH2E. | |
18044 | * config/sh/sh.h (CPP_SPEC): Define __SH2E__ for -m2e, and | |
18045 | not __sh1__. | |
18046 | (CONDITIONAL_REGISTER_USAGE): Don't disable FP regs from | |
18047 | SH2E up. | |
18048 | (SH3E_BIT): Renamed to... | |
18049 | (SH_E_BIT): ... this. Replace all uses. | |
18050 | (TARGET_SH2E): Define from SH_E_BIT and TARGET_SH2. | |
18051 | Replace all uses of TARGET_SH3E with TARGET_SH2E. | |
18052 | (TARGET_SWITCHES): Added 2e. | |
18053 | (OVERRIDE_OPTIONS): Set sh_cpu for SH2E. | |
18054 | (processor_type): Added PROCESSOR_SH2E. | |
18055 | * config/sh/sh.md: Replace all uses of TARGET_SH3E with | |
18056 | TARGET_SH2E, except in sqrtsf2_i. | |
18057 | (attribute cpu): Added sh2e. | |
18058 | * config/sh/t-sh (MULTILIB_OPTIONS): Replace m3e with m2e. | |
18059 | (MULTILIB_MATCHES): Use m2e multilib for m3e. | |
18060 | * config.gcc: Add sh2e target support. | |
18061 | ||
65ca2d60 PE |
18062 | 2003-01-24 Phil Edwards <pme@gcc.gnu.org> |
18063 | ||
18064 | Rename -W to -Wextra. | |
18065 | * c-decl.c: Update comments. | |
18066 | * c-typeck.c: Likewise. | |
18067 | * flags.h: Likewise. | |
18068 | * function.c: Likewise. | |
18069 | * stmt.c: Likewise. | |
18070 | * toplev.c: Update comments. | |
18071 | (W_options): Add 'extra'. | |
18072 | (display_help): Remove '-W'. | |
18073 | (decode_W_option): Special warn_uninitialized treatment in the case | |
18074 | of -Wextra. | |
18075 | * doc/invoke.texi: Update with new entries. | |
18076 | ||
3de9c088 RH |
18077 | 2003-01-23 Richard Henderson <rth@redhat.com> |
18078 | ||
8324663f RH |
18079 | * ifcvt.c (noce_process_if_block): Re-add check vs X being changed |
18080 | in no-else-block case. Add commentary. | |
3de9c088 | 18081 | |
49691411 KG |
18082 | 2003-01-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
18083 | ||
b4862477 KG |
18084 | * configure.in: Revert last change. |
18085 | ||
18086 | 2003-01-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | |
18087 | ||
18088 | * configure.in: Don't include ansidecl.h in tconfig.h. | |
ed446835 | 18089 | * gcov-io.h (PARAMS, ATTRIBUTE_UNUSED): Define if IN_LIBGCC2. |
49691411 KG |
18090 | * unwind-dw2-fde.h (last_fde): Use __attribute__, not |
18091 | ATTRIBUTE_UNUSED. | |
18092 | ||
18093 | * configure: Regenerate. | |
18094 | ||
c4db7ecb FS |
18095 | 2003-01-23 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
18096 | ||
18097 | PR java/6748 | |
18098 | * config/rs6000/linux.h (MD_FALLBACK_FRAME_STATE_FOR): Don't destroy | |
18099 | regs->nip. Fix rt_sigreturn frame layout. Add support for newer | |
18100 | kernels. | |
18101 | ||
fc69c47c KG |
18102 | 2003-01-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
18103 | ||
18104 | * cpplex.c (cpp_interpret_charconst): Squelch warning with cast. | |
18105 | ||
adbe6dfd UW |
18106 | 2003-01-23 Ulrich Weigand <uweigand@de.ibm.com> |
18107 | ||
18108 | * genattrtab.c (write_attr_get): Mark 'insn' paramter | |
18109 | as ATTRIBUTE_UNUSED. | |
18110 | ||
76a318e9 RE |
18111 | 2003-01-23 Richard Earnshaw <rearnsha@arm.com> |
18112 | ||
18113 | * arm.c (thumb_base_register_rtx_p): New function. | |
18114 | (thumb_index_register_rtx_p): New function. | |
18115 | (thumb_legitimate_address_p): New function. | |
18116 | (thumb_legitimate_offset_p): New function. | |
18117 | * arm.h (REG_STRICT_P): Define according to setting of REG_OK_STRICT. | |
8891b787 | 18118 | (ARM_GO_IF_LEGITIMATE_ADDRESS): Use REG_STRICT_P to avoid duplicate |
76a318e9 RE |
18119 | definitions. |
18120 | (THUMB_GO_IF_LEGITIMATE_ADDRESS): Use thumb_legitimate_address_p. | |
18121 | (THUMB_LEGITIMATE_OFFSET): Delte. | |
18122 | (THUMB_LEGITIMIZE_RELOAD_ADDRESS): Use thumb_legitimate_offset. | |
18123 | * arm-protos.h (thumb_legitimate_address_p): Add prototype. | |
18124 | (thumb_legitimate_offset_p): Likewise. | |
18125 | ||
9a600d0c AS |
18126 | 2003-01-23 Andreas Schwab <schwab@suse.de> |
18127 | ||
18128 | * unwind.h (_Unwind_GetTextRelBase): Mark parameter as unused. | |
18129 | ||
2d110c0a KG |
18130 | 2003-01-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
18131 | ||
18132 | * fixinc/Makefile.in (FL_LIST): Revert last change. | |
18133 | ||
2d1d9215 VR |
18134 | 2003-01-23 Volker Reichelt <reichelt@igpm.rwth-aachen.de> |
18135 | ||
18136 | PR other/7341 | |
18137 | * invoke.texi (ftest-coverage): Fix broken cross-reference. | |
18138 | Change @code to @command for gcov command. | |
18139 | ||
18140 | * gcc.texi: Adjust title of gcov section. | |
18141 | Adjust copyright. | |
18142 | * gcov.texi: Likewise. | |
18143 | ||
34ee7f82 RS |
18144 | 2003-01-22 Roger Sayle <roger@eyesopen.com> |
18145 | ||
18146 | PR optimization/8423 | |
18147 | * cse.c (fold_rtx): Only eliminate a CONSTANT_P_RTX to 1 when | |
18148 | its argument is constant, or 0 if !flag_gcse. | |
18149 | * simplify-rtx.c (simplify_rtx): Convert CONSTANT_P_RTX to 1 | |
18150 | if it's argument is constant. | |
18151 | * gcse.c (want_to_gcse_p): Ignore CONSTANT_P_RTX nodes. | |
18152 | (hash_scan_set): Don't record CONSTANT_P_RTX expressions. | |
18153 | (do_local_cprop): Don't propagate CONSTANT_P_RTX constants. | |
18154 | * builtins.c (purge_builtin_constant_p): New function to force | |
18155 | instantiation of any remaining CONSTANT_P_RTX nodes. | |
18156 | * rtl.h (purge_builtin_constant_p): Prototype here. | |
18157 | * toplev.c (rest_of_compilation): Invoke purge_builtin_constant_p | |
18158 | pass after GCSE and before loop. | |
18159 | (flag_gcse): No longer static. | |
18160 | * flags.h (flag_gcse): Prototype here. | |
18161 | ||
bab0b43b UW |
18162 | 2003-01-22 Ulrich Weigand <uweigand@de.ibm.com> |
18163 | ||
18164 | * config/s390/s390.h (HARD_REGNO_MODE_OK): Fix warning regression | |
18165 | introduced by last change. | |
18166 | ||
7e657a61 AS |
18167 | 2003-01-22 Andreas Schwab <schwab@suse.de> |
18168 | ||
18169 | * ra-rewrite.c (rewrite_program2): Initialize bb to avoid warning. | |
18170 | ||
75a3503b KH |
18171 | 2003-01-22 Kazu Hirata <kazu@cs.umass.edu> |
18172 | ||
18173 | * config/h8300/h8300.c (h8300_shift_needs_scratch_p): Don't | |
18174 | request a scratch reg on H8S when the shift count is 8. | |
18175 | ||
4888ec5d UW |
18176 | 2003-01-22 Ulrich Weigand <uweigand@de.ibm.com> |
18177 | ||
18178 | * config/s390/s390-protos.h (preferred_la_operand_p): | |
18179 | Remove second parameter. | |
18180 | * config/s390/s390.c (preferred_la_operand_p): Likewise. | |
18181 | * config/s390/s390.h (FRAME_REGNO_P, FRAME_REG_P): New macros. | |
18182 | (HARD_REGNO_MODE_OK): Use FRAME_REGNO_P. | |
18183 | * config/s390/s390.md ("*la_cc_64", "*la_cc_31", splitters): Remove. | |
18184 | Add peepholes to transform ADD to LOAD ADDRESS. | |
18185 | ||
6b990f6b RE |
18186 | 2003-01-22 Richard Earnshaw <rearnsha@arm.com> |
18187 | ||
18188 | * arm.c (arm_address_register_rtx_p): New function. | |
18189 | (arm_legitimate_address_p): New function. | |
18190 | (arm_legitimate_index_p): New function. | |
18191 | (legitimize_pic_address): Use arm_legitimate_index_p. | |
18192 | * arm-protos.h (arm_legtimate_address_p): Add prototype. | |
18193 | * arm.h (ARM_GO_IF_LEGITIMATE_INDEX): Delete. | |
18194 | (ARM_GO_IF_LEGITIMATE_ADDRESS): Call arm_legitimate_address_p. | |
18195 | ||
f0bf1270 HP |
18196 | 2003-01-22 Hartmut Penner <hpenner@de.ibm.com> |
18197 | ||
18198 | * config/s390/s390.md (floatdfdi2): Insn has type 'itof'. | |
18199 | * config/s390/2064.md (define_bypass): Correct 'Load' and | |
18200 | 'Load-address' bypass values. | |
21ff35fb | 18201 | |
fcb6a0f5 AS |
18202 | 2003-01-22 Andreas Schwab <schwab@suse.de> |
18203 | ||
18204 | * config/ia64/t-ia64 (insn-attrtab.o-warn): Define as -Wno-error. | |
18205 | ||
c24b8026 ZW |
18206 | 2003-01-21 Zack Weinberg <zack@codesourcery.com> |
18207 | ||
18208 | * genautomata.c (output_internal_insn_latency_func, | |
18209 | output_print_reservation_func): Short circuit when there is no | |
18210 | automaton to generate code for. | |
18211 | ||
38afe605 KG |
18212 | 2003-01-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
18213 | ||
18214 | * Makefile.in (ssa-ccp.o): Depend on coretypes.h $(TM_H). | |
18215 | (df.o): Delete duplicate dependency on coretypes.h $(TM_H). | |
18216 | ||
d24652ee GK |
18217 | 2003-01-21 Geoffrey Keating <geoffk@apple.com> |
18218 | ||
18219 | * config/rs6000/rs6000.md: Remove warning. | |
18220 | (builtin_setjmp_receiver): Likewise. | |
18221 | * config/darwin.c (update_stubs): Slightly improve terrible hack | |
18222 | with identifiers. Add comment pointing out problems with it. | |
18223 | (update_non_lazy_ptrs): Likewise. | |
18224 | ||
1c99d804 RH |
18225 | 2003-01-21 Richard Henderson <rth@redhat.com> |
18226 | ||
18227 | * dwarf2out.c (lookup_filename): Fix printf format warning. | |
18228 | * system.h (fread_unlocked, fwrite_unlocked): Undef. | |
18229 | ||
18230 | * fixinc/Makefile.in (FL_LIST): Add $($@-warn) hook. | |
18231 | (fixincl.o-warn, gnu-regex.o-warn): New. | |
18232 | * fixinc/fixfixes.c (FIX_PROC_HEAD): Mark parameters unused. | |
18233 | * fixinc/fixtests.c (TEST_FOR_FIX_PROC_HEAD): Likewise. | |
18234 | * fixinc/fixincl.c (process): Fix printf format warning. | |
18235 | ||
f0b886ab UW |
18236 | 2003-01-21 Ulrich Weigand <uweigand@de.ibm.com> |
18237 | ||
18238 | * dwarf2out (output_file_names): Don't crash if called | |
18239 | with empty file_table. | |
18240 | ||
490c57bb ZW |
18241 | 2003-01-21 Zack Weinberg <zack@codesourcery.com> |
18242 | ||
18243 | * genautomata.c (output_internal_insn_latency_func): Add | |
18244 | missing break statement to generated code. | |
18245 | ||
100e3acb RS |
18246 | 2003-01-21 Roger Sayle <roger@eyesopen.com> |
18247 | ||
18248 | * stmt.c (same_case_target_p): New function to determine whether | |
18249 | two case labels branch to the same target. Split out from... | |
18250 | (group_case_nodes): ... here. Use same_case_target_p instead. | |
18251 | (strip_default_case_nodes): Remove explicit case nodes | |
18252 | that branch to the default destination. | |
18253 | (expand_end_case_type): Call strip_default_case_nodes after | |
18254 | group_case_nodes, to simplify the case-list before we count it. | |
18255 | Only generate table_label RTX when actually needed. Try to share | |
18256 | thiscase->exit_label and thiscase->data.case_stmt.default_label | |
18257 | when a switch has no explicit default case. Simplify test for | |
18258 | constant index. | |
18259 | ||
e8e8c1e5 KH |
18260 | 2003-01-21 Kazu Hirata <kazu@cs.umass.edu> |
18261 | ||
18262 | * config/h8300/h8300.md (*negsf2_h8300): Use \\t instead of | |
18263 | \t. | |
18264 | (*negsf2_h8300hs): Likewise. | |
18265 | (*addsi3_lshiftrt_16_zexthi): Likewise. | |
18266 | (*iorhi3_lshiftrt_8): Likewise. | |
18267 | ||
044b4de3 UW |
18268 | 2003-01-21 Ulrich Weigand <uweigand@de.ibm.com> |
18269 | ||
18270 | * dwarf2out.c (fde_table_in_use): Mark GTY. | |
18271 | (dwarf2out_cfi_label_num): New variable, marked GTY. | |
18272 | (dwarf2out_cfi_label): Use it instead of static label_num. | |
18273 | * emit-rtl.c (label_num): Mark GTY. | |
18274 | ||
cfedf91b KH |
18275 | 2003-01-21 Kazu Hirata <kazu@cs.umass.edu> |
18276 | ||
18277 | * config/h8300/h8300.c (output_plussi): Support H8/300. | |
18278 | (compute_plussi_length): Likewise. | |
18279 | (compute_plussi_cc): Likewise. | |
18280 | * config/h8300/h8300.md (addsi_h8300): Use output_plussi to | |
18281 | output assembly instructions. | |
18282 | ||
dd859b8a KG |
18283 | 2003-01-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
18284 | ||
1f5b3282 KG |
18285 | * calls.c (fix_unsafe_tree): Prototype. |
18286 | ||
dd859b8a KG |
18287 | * Makefile.in (GCC_WARN_CFLAGS): Add $(WERROR) $($@-warn) |
18288 | (gtype-desc.o-warn, c-decl.o-warn, varasm.o-warn, gcc.o-warn, | |
18289 | insn-conditions.o-warn, out_object_file, gengtype-yacc.o-warn, | |
18290 | c-parse.o-warn): Add -Wno-error. | |
18291 | (STAGE2_FLAGS_TO_PASS): Add WERROR="@WERROR@". | |
18292 | ||
18293 | * configure.in (--enable-werror): Add new flag. | |
18294 | * doc/install.texi (--enable-werror): Document. | |
18295 | * configure: Regenerate. | |
18296 | ||
18297 | * objc/Make-lang.in (objc/objc-parse.o-warn): Add -Wno-error. | |
18298 | ||
4f9365e2 AS |
18299 | 2003-01-21 Andreas Schwab <schwab@suse.de> |
18300 | ||
18301 | * genautomata.c (output_internal_insn_latency_func): Fix missing | |
18302 | close paren in output. | |
18303 | ||
a543eb5e ZW |
18304 | 2003-01-21 Zack Weinberg <zack@codesourcery.com> |
18305 | ||
18306 | * genautomata.c: Space savings in generated code: | |
18307 | (output_dfa_insn_code_func): Split out the table-enlargement | |
18308 | path to an out-of-line static function, dfa_insn_code_enlarge. | |
18309 | (output_internal_insn_latency_func): Use a lookup table for the | |
18310 | default latencies. | |
18311 | (output_print_reservation_func): Use a lookup table for the | |
18312 | strings. | |
18313 | ||
292e35a3 CE |
18314 | 2003-01-21 Christian Ehrhardt <ehrhardt@mathematik.uni-ulm.de> |
18315 | ||
18316 | PR opt/7507 | |
18317 | * calls.c (fix_unsafe_tree): Split out from ... | |
18318 | (expand_call): ... here. Use it on the function address too. | |
18319 | ||
d8d0f5af RH |
18320 | 2003-01-20 Richard Henderson <rth@redhat.com> |
18321 | ||
18322 | * expr.h (default_must_pass_in_stack): Move decl outside ifdef. | |
18323 | ||
5b50aa9d RH |
18324 | 2003-01-20 Richard Henderson <rth@redhat.com> |
18325 | ||
515e1c9f | 18326 | PR opt/7154 |
5b50aa9d RH |
18327 | * stmt.c (expand_asm_operands): Validize memory operands. |
18328 | ||
7a174a15 RH |
18329 | 2003-01-20 Richard Henderson <rth@redhat.com> |
18330 | ||
18331 | PR opt/8848 | |
18332 | * ifcvt.c (noce_process_if_block): Correct arguments to | |
18333 | modified_between_p for no-else-block case. | |
18334 | ||
9ac7ebba KH |
18335 | 2003-01-20 Kazu Hirata <kazu@cs.umass.edu> |
18336 | ||
18337 | * config/h8300/h8300.c (const_costs): Remove a warning. | |
18338 | (output_plussi): Likewise. | |
18339 | (compute_plussi_length): Likewise. | |
18340 | (compute_plussi_cc): Likewise. | |
18341 | ||
309c52b5 KH |
18342 | 2003-01-20 Kazu Hirata <kazu@cs.umass.edu> |
18343 | ||
18344 | * config/h8300/h8300.md (addsi_h8300): Remove the last | |
18345 | alternative. | |
18346 | ||
b30686ec KH |
18347 | 2003-01-20 Kazu Hirata <kazu@cs.umass.edu> |
18348 | ||
18349 | * config/h8300/h8300.c (get_shift_alg): Remove redundant code. | |
18350 | ||
87608693 KG |
18351 | 2003-01-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
18352 | ||
18353 | * system.h (__NO_STRING_INLINES): Define. | |
18354 | ||
475c8250 JDA |
18355 | 2003-01-20 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
18356 | ||
18357 | * ifcvt.c (noce_emit_store_flag): Don't emit store flag if mode of x | |
18358 | is not a scalar int mode. | |
18359 | ||
dbaff908 RS |
18360 | 2003-01-20 Roger Sayle <roger@eyesopen.com> |
18361 | ||
18362 | * cse.c (cse_insn): Avoid RTL sharing when updating the RETVAL | |
18363 | insn's notes following a substitution inside a libcall. | |
18364 | ||
da8a6064 ZW |
18365 | 2003-01-20 Zack Weinberg <zack@codesourcery.com> |
18366 | ||
18367 | * configure.in: Check for system-provided 'uchar' type. | |
a12b5bd9 | 18368 | * configure, config.in: Regenerate. |
da8a6064 ZW |
18369 | * cpphash.h: Only typedef 'uchar' if the system doesn't. |
18370 | ||
a4b1b92a RH |
18371 | 2003-01-20 Richard Henderson <rth@redhat.com> |
18372 | ||
18373 | * expr.h (MUST_PASS_IN_STACK): Move implementation... | |
18374 | * calls.c (default_must_pass_in_stack): ... here. | |
18375 | ||
d530b07f VM |
18376 | 2003-01-20 Vladimir Makarov <vmakarov@redhat.com> |
18377 | ||
da8a6064 ZW |
18378 | * genattrtab.h (INSN_ALTS_FUNC_NAME): Move it from genautomata.c. |
18379 | ||
d530b07f VM |
18380 | * genautomata.c (INSN_ALTS_FUNC_NAME): Move it into genattrtab.h. |
18381 | ||
18382 | * genattr.c (main): Output default definition of AUTOMATON_ALTS. | |
18383 | Wrap up definition of `insn_alts'. | |
18384 | ||
18385 | * genattrtab.c (main): Wrap up `insn_alts'. | |
18386 | ||
351df804 KG |
18387 | 2003-01-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
18388 | ||
18389 | * collect2.c (ldgetname): Check HAVE_DECL_LDGETNAME before | |
18390 | prototyping. | |
18391 | * configure.in: Check for <ldfcn.h> and ldgetname() prototype. | |
da8a6064 | 18392 | |
351df804 KG |
18393 | * config.in, configure: Regenerate. |
18394 | ||
e3289412 NC |
18395 | 2003-01-20 Nick Clifton <nickc@redhat.com> |
18396 | ||
18397 | * config/arm/arm.md (sibcall_epilogue): Add an | |
18398 | UNSPEC_PROLOGUE_USE to prevent the link register from being | |
18399 | considered dead. | |
18400 | ||
62c9aa5f | 18401 | 2003-01-20 Jan Hubicka <jh@suse.cz> |
5794139a JH |
18402 | |
18403 | * i386.md (SSE cmov splitter): Handle memory operand in operand 5. | |
18404 | ||
0a18ddf9 AS |
18405 | 2003-01-20 Andreas Schwab <schwab@suse.de> |
18406 | ||
18407 | * system.h: Don't declare strsignal if the decl test hasn't been | |
18408 | run yet. | |
18409 | ||
d99c740f KH |
18410 | 2003-01-20 Kazu Hirata <kazu@cs.umass.edu> |
18411 | ||
18412 | * config/h8300/h8300.c (notice_update_cc): Don't assume that | |
18413 | recog_data.operands[0] is always associated with cc0. | |
18414 | ||
825c5408 DE |
18415 | 2003-01-19 David Edelsohn <edelsohn@gnu.org> |
18416 | ||
18417 | * collect2.c (ldgetname): Expand declaration to prototype. | |
18418 | * read-rtl.c (atoll): Add prototype. | |
da3e0142 | 18419 | * system.h (strsignal): Also declare if no declaration found. |
825c5408 | 18420 | |
3bd6d4c4 AO |
18421 | 2003-01-19 Alexandre Oliva <aoliva@redhat.com> |
18422 | ||
18423 | * config.gcc (mips64*-*-linux*): Added. | |
18424 | * config/mips/linux64.h, config/mips/t-linux64: New file. | |
18425 | * config/mips/iris6.h (MIPS_TFMODE_FORMAT): Define. | |
18426 | * config/mips/mips.c (override_options): Use it. | |
18427 | * config/mips/mips.h (TARGET_SWITCHES): Added... | |
18428 | (SUBTARGET_TARGET_SWITCHES): New, empty by default. | |
18429 | * Makefile.in (SPECS): New. | |
18430 | (STAGESTUFF, specs, mostlyclean, install-common): Use it. | |
18431 | * gcc.c (process_command): Move self-spec processing past spec | |
18432 | file loading. | |
18433 | * doc/tm.texi (DRIVER_SELF_SPECS): Document the change. | |
18434 | * doc/fragments.texi (MULTILIB_EXTRA_OPTS): Document need for | |
18435 | CRTSTUFF_T_CFLAGS. | |
18436 | (SPECS): Document. | |
18437 | * doc/invoke.texi (-mabi-fake-default): Document. | |
18438 | ||
e9f13564 SC |
18439 | 2003-01-19 Stephane Carrez <stcarrez@nerim.fr> |
18440 | ||
18441 | * config/m68hc11/m68hc11.c (stack_push_word, stack_pop_word, | |
18442 | z_reg, z_reg_qi): Declare static and GTY(). | |
18443 | (da_reg): Remove. | |
18444 | (create_regs_rtx): Don't create da_reg. | |
18445 | ("gt-m68hc11.h"): Include for GTY roots. | |
18446 | * config/m68hc11/m68hc11.h (ix_reg, iy_reg, d_reg): Declare extern | |
18447 | and GTY() here. | |
18448 | (m68hc11_compare_op0, m68hc11_compare_op1): Likewise. | |
18449 | (m68hc11_soft_tmp_reg): Likewise. | |
18450 | * config/m68hc11/m68hc11-protos.h: Remove above declarations. | |
18451 | ||
32dd366d KH |
18452 | 2003-01-18 Kazu Hirata <kazu@cs.umass.edu> |
18453 | ||
18454 | * basic-block.h: Fix comment formatting. | |
18455 | * calls.c: Likewise. | |
18456 | * combine.c: Likewise. | |
18457 | * convert.c: Likewise. | |
18458 | * gcov.c: Likewise. | |
18459 | * haifa-sched.c: Likewise. | |
18460 | * libgcc2.c: Likewise. | |
18461 | * loop.c: Likewise. | |
18462 | * profile.c: Likewise. | |
18463 | * system.h: Likewise. | |
18464 | ||
bc3cb712 RS |
18465 | 2003-01-18 Roger Sayle <roger@eyesopen.com> |
18466 | ||
18467 | * config/pa/pa.md (muldi3): Avoid invalid sharing of SUBREG RTXs. | |
18468 | ||
25e42e9d KG |
18469 | 2003-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
18470 | ||
18471 | * ra-build.c (undef_to_size_word): Avoid `switch' warning. | |
18472 | ||
6f9c81f5 DJ |
18473 | 2003-01-17 Dale Johannesen <dalej@apple.com> |
18474 | ||
da8a6064 | 18475 | * config/rs6000/rs6000.md (*floatsidf2_internal): Add earlyclobbers. |
6f9c81f5 DJ |
18476 | (*floatunssidf2_internal): Ditto. |
18477 | ||
95bd1dd7 KH |
18478 | 2003-01-17 Kazu Hirata <kazu@cs.umass.edu> |
18479 | ||
18480 | * alias.c: Fix comment typos. | |
18481 | * basic-block.h: Likewise. | |
18482 | * c-common.c: Likewise. | |
18483 | * c-common.h: Likewise. | |
18484 | * c-decl.c: Likewise. | |
18485 | * c-opts.c: Likewise. | |
18486 | * c-pragma.c: Likewise. | |
18487 | * c-pretty-print.h: Likewise. | |
18488 | * cfg.c: Likewise. | |
18489 | * cfganal.c: Likewise. | |
18490 | * cfgbuild.c: Likewise. | |
18491 | * cfgcleanup.c: Likewise. | |
18492 | * cfglayout.c: Likewise. | |
18493 | * cfgrtl.c: Likewise. | |
18494 | * convert.c: Likewise. | |
18495 | * cpphash.h: Likewise. | |
18496 | * cpplex.c: Likewise. | |
18497 | * cpplib.h: Likewise. | |
18498 | * df.h: Likewise. | |
18499 | * diagnostic.c: Likewise. | |
18500 | * diagnostic.h: Likewise. | |
18501 | * dwarf2.h: Likewise. | |
18502 | ||
d5840e09 SS |
18503 | 2003-01-17 Stan Shebs <shebs@apple.com> |
18504 | ||
18505 | * config/darwin-protos.h: Forward-declare struct cpp_reader. | |
18506 | ||
e607534b DR |
18507 | 2003-01-17 Douglas B Rupp <rupp@gnat.com> |
18508 | ||
18509 | * config/alpha/alpha.c (alpha_need_linkage): Fix obvious | |
18510 | mistake in last checkin. | |
18511 | ||
fbe5a4a6 KH |
18512 | 2003-01-17 Kazu Hirata <kazu@cs.umass.edu> |
18513 | ||
18514 | * et-forest.c: Fix comment typos. | |
18515 | * et-forest.h: Likewise. | |
18516 | * except.c: Likewise. | |
18517 | * expr.c: Likewise. | |
18518 | * flags.h: Likewise. | |
18519 | * flow.c: Likewise. | |
18520 | * gcc.c: Likewise. | |
18521 | * gcse.c: Likewise. | |
18522 | * genattrtab.c: Likewise. | |
18523 | * genautomata.c: Likewise. | |
18524 | * gengtype.c: Likewise. | |
18525 | * genrecog.c: Likewise. | |
18526 | * global.c: Likewise. | |
18527 | * gthr-rtems.h: Likewise. | |
18528 | ||
095f9093 KG |
18529 | 2003-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
18530 | ||
18531 | * i386.c (x86_function_profiler): Fix format specifier. | |
18532 | ||
084087e1 RH |
18533 | 2003-01-17 Richard Henderson <rth@redhat.com> |
18534 | ||
18535 | * gengtype.c (walk_type): Allow paramN_is. | |
18536 | ||
4a13592e NC |
18537 | 2003-01-17 Nick Clifton <nickc@redhat.com> |
18538 | ||
18539 | * config/i960/t-960bare (i960-c.o): Add missing newline escape. | |
18540 | ||
01193617 RH |
18541 | 2003-01-16 Richard Henderson <rth@redhat.com> |
18542 | ||
18543 | * config/alpha/linux-elf.h (LIB_SPEC): Adjust inter-option spacing. | |
18544 | ||
f030826a RH |
18545 | 2003-01-16 Richard Henderson <rth@redhat.com> |
18546 | ||
18547 | * config/alpha/alpha.c (alpha_sr_alias_set): Mark GTY. | |
18548 | (alpha_next_sequence_number): Likewise. | |
18549 | (alpha_this_literal_sequence_number): Likewise. | |
18550 | (alpha_this_gpdisp_sequence_number): Likewise. | |
18551 | (struct alpha_funcs, alpha_funcs_num): Likewise. | |
18552 | (struct alpha_links): Fix branch merge error. | |
18553 | (alpha_need_linkage, alpha_use_linkage): Use GC for alpha_funcs. | |
18554 | ||
e1551d47 AO |
18555 | 2003-01-17 Alexandre Oliva <aoliva@redhat.com> |
18556 | ||
18557 | * config/mips/mips.h: Don't use #elif. Reported by Kaveh | |
18558 | R. Ghazi. | |
18559 | ||
3d042e77 KH |
18560 | 2003-01-16 Kazu Hirata <kazu@cs.umass.edu> |
18561 | ||
18562 | * ifcvt.c: Fix comment typos. | |
18563 | * lcm.c: Likewise. | |
18564 | * libgcc2.c: Likewise. | |
18565 | * local-alloc.c: Likewise. | |
18566 | * loop.c: Likewise. | |
18567 | * predict.c: Likewise. | |
18568 | * ra-build.c: Likewise. | |
18569 | * ra.c: Likewise. | |
18570 | * ra-colorize.c: Likewise. | |
18571 | * ra.h: Likewise. | |
18572 | * ra-rewrite.c: Likewise. | |
18573 | * regmove.c: Likewise. | |
18574 | * reload.h: Likewise. | |
18575 | * rtlanal.c: Likewise. | |
18576 | * toplev.c: Likewise. | |
18577 | * tree.h: Likewise. | |
18578 | * unwind-dw2-fde-glibc.c: Likewise. | |
18579 | * vmsdbgout.c: Likewise. | |
18580 | ||
c4274b22 RH |
18581 | 2003-01-16 Richard Henderson <rth@redhat.com> |
18582 | ||
18583 | * dwarf2out.c (struct file_table): Remove. | |
18584 | (FILE_TABLE_INCREMENT): Remove. | |
18585 | (file_table): Make a varray; mark for GC. Update all users. | |
18586 | (file_table_last_lookup_index): Extract from struct file_table. | |
18587 | (output_file_names): Fix unsigned compare warnings. | |
18588 | (add_name_attribute): Remove inline marker. | |
18589 | (add_comp_dir_attribute): Split out from gen_compile_unit_die. | |
18590 | (lookup_filename): Don't manage size of file_table. | |
18591 | (init_file_table): Allocate file_table with GC. | |
18592 | (dwarf2out_init): Don't record main_input_filename here. | |
18593 | (dwarf2out_finish): Do it here instead. | |
18594 | ||
19162d0e BK |
18595 | 2003-01-16 Bruce Korb <bkorb@gnu.org> |
18596 | ||
18597 | * gcc/fixinc/inclhack.def(limits_ifndef): QNX needs a bypass, too. | |
18598 | ||
f1e2239f KK |
18599 | 2003-01-16 Kaz Kojima <kkojima@gcc.gnu.org> |
18600 | ||
da8a6064 ZW |
18601 | * config/sh/sh.c (sh_initialize_trampoline): Emit rotrdi3_mextr |
18602 | instead of rotldi3_mextr. | |
f1e2239f | 18603 | |
cda1f765 VM |
18604 | 2003-01-16 Vladimir Makarov <vmakarov@redhat.com> |
18605 | ||
18606 | * haifa-sched.c (move_insn): Restore moving all schedule group. | |
18607 | (set_priorities): Restore taking SCHED_GROUP_P into account. | |
18608 | ||
18609 | * sched-deps.c (add_dependence): Restore processing the last group | |
18610 | insn. | |
18611 | (remove_dependence, group_leader): Restore the functions. | |
18612 | (set_sched_group_p): Restore adding dependencies from previous insn | |
18613 | in the group. | |
18614 | (compute_forward_dependences): Restore usage of group_leader. | |
18615 | ||
18616 | * sched-ebb.c (init_ready_list): Restore taking SCHED_GROUP_P into | |
18617 | account. | |
18618 | ||
18619 | * sched-rgn.c (init_ready_list): Restore taking SCHED_GROUP_P into | |
18620 | account. | |
18621 | (can_schedule_ready_p): Ditto. | |
18622 | (add_branch_dependences): Restore skipping over the group insns. | |
da8a6064 | 18623 | |
200097cc SC |
18624 | 2003-01-16 Stephane Carrez <stcarrez@nerim.fr> |
18625 | ||
18626 | * config/m68hc11/m68hc11.c (m68hc11_check_z_replacement): Fix handling | |
18627 | 68HC12 pre/post inc/dec side effects. | |
18628 | ||
f411c739 SC |
18629 | 2003-01-16 Stephane Carrez <stcarrez@nerim.fr> |
18630 | ||
18631 | * config/m68hc11/m68hc11.h (MASK_M6812): Define. | |
18632 | ||
62c9aa5f | 18633 | 2003-01-16 J"orn Rennecke <amylaar@onetel.net.uk> |
08c43ea7 R |
18634 | |
18635 | * sh.md (mshflo_w_x): Fix description of operation. | |
18636 | ||
07488f32 ZW |
18637 | 2003-01-16 Zack Weinberg <zack@codesourcery.com> |
18638 | ||
18639 | * config/rs6000/rs6000.h: Mention Altivec registers in | |
18640 | commentary. Fix typo. | |
18641 | ||
27dc0551 DE |
18642 | 2003-01-16 David Edelsohn <edelsohn@gnu.org> |
18643 | ||
18644 | * config/rs6000/rs6000.md (movti_string): Remove clobber. | |
18645 | * config/rs6000/rs6000.c (rs6000_emit_move, TImode): Explicitly | |
18646 | generate PARALLEL with clobber for TARGET_POWER. | |
18647 | ||
0334ef47 KG |
18648 | 2003-01-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
18649 | ||
18650 | * ra-colorize.c (colorize_one_web): Initialize variable. | |
18651 | * regmove.c (fixup_match_1): Likewise. | |
18652 | * reload1.c (reload_as_needed): Likewise. | |
18653 | * sdbout.c (SET_KNOWN_TYPE_TAG): Add cast. | |
18654 | ||
16f2b86a ZD |
18655 | 2003-01-16 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
18656 | ||
18657 | * cfgloop.c (flow_loops_find): Fix handling of abnormal edges. | |
18658 | ||
fc555370 KG |
18659 | 2003-01-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
18660 | ||
93d8c755 KG |
18661 | * dbxout.c (lastfile, cwd): Fix `unused' warning. |
18662 | * dwarf2out.c (fde_table_in_use, current_funcdef_fde, | |
18663 | dw_cfi_oprnd1_desc, dw_cfi_oprnd2_desc, next_die_offset, | |
18664 | is_main_source, file_table, decl_die_table_in_use, | |
18665 | abbrev_die_table_in_use, line_info_table_in_use, | |
18666 | separate_line_info_table_in_use, pubname_table_in_use, | |
18667 | arange_table_in_use, ranges_table_in_use, | |
18668 | current_function_has_inlines): Likewise. | |
18669 | * flow.c (life_analysis): Likewise. | |
18670 | * genemit.c (gen_insn): Likewise. | |
18671 | * protoize.c (cplus_suffix): Likewise. | |
18672 | ||
0c2ca901 KG |
18673 | * arm.c (ROUND_UP_WORD): Renamed from ROUND_UP. |
18674 | * arm.h (ROUND_UP_WORD): Likewise. | |
18675 | ||
fc555370 KG |
18676 | * arm.h (CONDITIONAL_REGISTER_USAGE): Avoid signed/unsigned |
18677 | warning. | |
18678 | * emit-rtl.c (gen_rtx_REG, set_mem_attributes_minus_bitpos, | |
18679 | init_emit_once): Likewise. | |
18680 | * flow.c (mark_regs_live_at_end, calculate_global_regs_live): | |
18681 | Likewise. | |
18682 | * function.c (assign_stack_temp_for_type): Likewise. | |
18683 | * loop.c (loop_invariant_p): Likewise. | |
18684 | * recog.c (push_operand): Likewise. | |
18685 | * regclass.c (init_reg_sets_1): Likewise. | |
18686 | * reload.c (update_auto_inc_notes): Likewise. | |
18687 | * reload1.c (reload_as_needed, emit_input_reload_insns): Likewise. | |
18688 | * stmt.c (expand_asm_operands): Likewise. | |
18689 | * stor-layout.c (start_record_layout): Likewise. | |
18690 | ||
64510a4f HB |
18691 | 2003-01-16 Herman A.J. ten Brugge <hermantenbrugge@home.nl> |
18692 | ||
07488f32 | 18693 | * config/c4x/c4x.md (epilogue): Correct last patch. |
64510a4f | 18694 | |
77480b0b RH |
18695 | 2003-01-15 Richard Henderson <rth@redhat.com> |
18696 | ||
18697 | * config/alpha/alpha.c (find_lo_sum_using_gp): Rename from find_lo_sum; | |
18698 | also check that GP is being used. | |
18699 | (alpha_find_lo_sum_using_gp): New. | |
18700 | (alpha_does_function_need_gp): Use get_attr_usegp. | |
18701 | * config/alpha/alpha-protos.h: Update. | |
18702 | * config/alpha/alpha.md (attr usegp): New. Annotate patterns | |
18703 | as needed. | |
18704 | ||
a0134312 RS |
18705 | 2003-01-15 Roger Sayle <roger@eyesopen.com> |
18706 | ||
18707 | * gcse.c (one_cprop_pass): Change function arguments to take both | |
18708 | cprop_jumps and bypass_jumps flags instead of just alter_jumps. | |
18709 | (gcse_main): Update calls to one_cprop_pass, disabling bypassing. | |
18710 | (bypass_jumps): New function to perform separate jump bypassing pass. | |
18711 | * rtl.h (bypass_jumps): Add function prototype. | |
18712 | * timevar.def (TV_BYPASS): New timing variable. | |
18713 | * toplev.c (enum dump_file_index): Add new entry DFI_bypass. | |
18714 | (dump_file): New entry for the bypass RTL dump file. | |
18715 | (rest_of_compilation): Insert new jump bypassing optimization | |
18716 | pass after loop. | |
18717 | * doc/passes.texi: Document new pass. | |
18718 | ||
4af6a063 JDA |
18719 | 2003-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca> |
18720 | ||
18721 | * som.h (SUPPORTS_WEAK, SUPPORTS_ONE_ONLY, MAKE_DECL_ONE_ONLY, | |
18722 | ASM_WEAKEN_LABEL, GTHREAD_USE_WEAK): Define. | |
18723 | * pa.h (TARGET_SOM_SDEF): Define. | |
18724 | * pa-hpux11.h (TARGET_SOM_SDEF): Define. | |
18725 | ||
51e13b71 SC |
18726 | 2003-01-16 Stephane Carrez <stcarrez@nerim.fr> |
18727 | ||
07488f32 | 18728 | * config/m68hc11/m68hc11.c (expand_prologue): Use push/pop to |
51e13b71 SC |
18729 | allocate 4-bytes of locals on 68HC11. |
18730 | (expand_epilogue): Likewise. | |
18731 | (m68hc11_memory_move_cost): Increase cost of HI/QI soft registers. | |
18732 | ||
f077f169 SC |
18733 | 2003-01-15 Stephane Carrez <stcarrez@nerim.fr> |
18734 | ||
18735 | * config/m68hc11/m68hc11.h (ASM_SPEC): Handle -m68hcs12; Pass -mshort | |
18736 | and -mshort-double to the assembler to specify the ABI. | |
18737 | (LINK_SPEC): Likewise. | |
18738 | (CPP_SPEC): Pass HCS12 specific define. | |
18739 | (MASK_M68S12): New define. | |
18740 | (TARGET_M68S12): Likewise. | |
18741 | (TARGET_SWITCHES): New options -m68hcs12 and -m68S12. | |
18742 | (TARGET_VERSION): Update. | |
18743 | * config/m68hc11/m68hc12.h (CPP_SPEC): Pass HCS12 specific define. | |
18744 | (LINK_SPEC): Update. | |
18745 | (ASM_SPEC): Update. | |
18746 | * config/m68hc11/m68hc11.c (m68hc11_asm_file_start): Update. | |
18747 | * doc/invoke.texi (M68hc1x Options): Document -m68hcs12. | |
18748 | ||
c0f684dc SC |
18749 | 2003-01-15 Stephane Carrez <stcarrez@nerim.fr> |
18750 | ||
18751 | * config/m68hc11/m68hc11.md ("return"): Use emit_jump_insn to emit | |
18752 | the return code. | |
18753 | ||
6982ae15 JZ |
18754 | 2003-01-15 Josef Zlomek <zlomekj@suse.cz> |
18755 | ||
18756 | * cfganal.c (set_edge_can_fallthru_flag): Clear the EDGE_CAN_FALLTHRU | |
18757 | flag before setting it. | |
18758 | ||
8cadeff1 RS |
18759 | 2003-01-15 Roger Sayle <roger@eyesopen.com> |
18760 | ||
18761 | * c-semantics.c (genrtl_while_stmt): Improve initial RTL generation | |
18762 | when loop condition is known true, i.e. "while (1) { ... }". | |
18763 | (genrtl_for_stmt): Similarly for "for" statements. | |
18764 | ||
03cd8aba RS |
18765 | 2003-01-15 Roger Sayle <roger@eyesopen.com> |
18766 | ||
18767 | * real.c (real_sqrt): Return a bool result indicating whether | |
18768 | a floating point exception or trap should be raised. | |
18769 | * real.h (real_sqrt): Update function prototype. | |
18770 | * builtins.c (fold_builtin): Only fold non-trapping square | |
18771 | roots unless we're ignoring errno and trapping math. | |
18772 | ||
4da78214 JDA |
18773 | 2003-01-15 John David Anglin <dave.anglin@nrc.gc.ca> |
18774 | ||
18775 | * expr.h (emit_conditional_add): Add PARAMS to declaration. | |
18776 | * gengtype-lex.l (malloc, realloc): Move defines after include of | |
18777 | system.h. Remove duplicate include of system.h. | |
18778 | ||
9ee0a442 RS |
18779 | 2003-01-15 Roger Sayle <roger@eyesopen.com> |
18780 | ||
18781 | PR middle-end/9009 | |
18782 | * optabs.c (expand_unop): When manipulating the FP sign bit | |
18783 | using integer operations, account for targets with different | |
18784 | integer and FP word orders. | |
18785 | (expand_abs): Likewise. | |
18786 | ||
e3981aab DE |
18787 | 2003-01-15 David Edelsohn <edelsohn@gnu.org> |
18788 | ||
18789 | * config/rs6000/rs6000.c (rs6000_gen_section_name): Do not include | |
18790 | file extension in section name. | |
18791 | ||
89c4b810 RE |
18792 | 2003-01-15 Richard Earnshaw <rearnsha@arm.com> |
18793 | ||
18794 | * flow.c (find_auto_inc): Also try to generate a PRE_MODIFY with | |
18795 | constant offset. | |
18796 | ||
3cd45774 RE |
18797 | 2003-01-15 Richard Earnshaw <rearnsha@arm.com> |
18798 | ||
18799 | * arm.h (HAVE_PRE_MODIFY_DISP, HAVE_PRE_MODIFY_REG): Define. | |
18800 | (HAVE_POST_MODIFY_DISP, HAVE_POST_MODIFY_REG): Define. | |
18801 | (ARM_GO_IF_LEGITIMATE_ADDRESS): Handle pre/post-modify addresses. | |
18802 | (ARM_PRINT_OPERAND_ADDRESS): Likewise. | |
18803 | ||
62c9aa5f | 18804 | 2003-01-15 Jan Hubicka <jh@suse.cz> |
b1a6f8db JH |
18805 | |
18806 | PR f/9258 | |
07488f32 | 18807 | * global.c (struct allocno): Add no_stack_reg. |
b1a6f8db JH |
18808 | (global_conflicts): Set no_stack_reg. |
18809 | (find_reg): Use it. | |
18810 | ||
18811 | * convert.c (convert_to_real): Fold - and abs only when profitable. | |
18812 | * fold-const.c (fold): Fold truncates in - and abs. | |
18813 | ||
d18c7e59 JZ |
18814 | 2003-01-15 Josef Zlomek <zlomekj@suse.cz> |
18815 | ||
18816 | Segher Boessenkool <segher@koffie.nl> | |
fbe3b30b SB |
18817 | |
18818 | * predict.c (real_inv_br_prob_base): New variable. | |
18819 | (propagate_freq): Use multiply by reciprocal instead of | |
18820 | division. Don't divide by 1.0 at all. | |
18821 | (estimate_bb_frequencies): Similar. | |
18822 | ||
027faee7 AO |
18823 | 2003-01-15 Alexandre Oliva <aoliva@redhat.com> |
18824 | ||
18825 | * configure.in (libgcc_visibility): Force disabled on IRIX 6 too. | |
18826 | * configure: Rebuilt. | |
18827 | ||
077dab3b | 18828 | 2003-01-15 Hartmut Penner <hpenner@de.ibm.com> |
3c0121e4 | 18829 | |
077dab3b HP |
18830 | * config/s390/s390.c (s390_safe_attr_type): New function. |
18831 | (s390_use_dfa_pipeline_interface): New function, return true for z900. | |
18832 | (s390_issue_rate): New function. | |
18833 | (s390_agen_dep_p): New function. | |
18834 | (addr_generation_dependency_p): Use 's390_safe_attr_type'. | |
18835 | (s390_adjust_cost): Return 'cost' if new DFA is used. | |
18836 | (s390_adjust_priority): Delete function. | |
18837 | * config/s390/s390-protos.h: (s390_agen_dep_p): New prototype. | |
18838 | * config/s390/s390.md (atype attribute): Attribute 'atype' default | |
18839 | determined by 'op_type'. | |
18840 | (type attribute): Added more type attributes. | |
18841 | * config/s390/2064.md: New DFA description for z900 pipeline. | |
07488f32 | 18842 | |
077dab3b | 18843 | 2003-01-15 Alexandre Oliva <aoliva@redhat.com> |
2b28d405 | 18844 | |
acfa9d9f AO |
18845 | * config/i386/i386.c (ix86_expand_vector_move): Validize constant |
18846 | forced to memory. Fixes PR bootstrap/9036. | |
18847 | ||
3c0121e4 AO |
18848 | * config/mips/mips.h (CRT_CALL_STATIC_FUNCTION): Define so as |
18849 | to set $gp before the call. | |
18850 | ||
553eb139 RH |
18851 | 2003-01-14 Richard Henderson <rth@redhat.com> |
18852 | ||
18853 | * config/alpha/alpha.c (alpha_expand_mov): Use correct mode | |
18854 | for force_const_mem. | |
18855 | ||
dd1b7476 KG |
18856 | 2003-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
18857 | ||
18858 | * genattr.c (main): Rearrange output to avoid prototype warning. | |
18859 | * genautomata.c (transform_3): Fix ambiguous-else warning. | |
18860 | * local-alloc.c (requires_inout): Add parentheses around | |
18861 | assignment used as truth-value. | |
18862 | * timevar.c: Move system includes above local includes. Include | |
18863 | toplev.h | |
18864 | * Makefile.in (timevar.o): Depend on toplev.h. | |
18865 | ||
6028880a DC |
18866 | 2003-01-14 Denis Chertykov <denisc@overta.ru> |
18867 | ||
18868 | * config/ip2k/ip2k.h (VALID_MACHINE_DECL_ATTRIBUTE): Remove. | |
18869 | (VALID_MACHINE_TYPE_ATTRIBUTE): Remove. | |
18870 | ||
18871 | * config/ip2k/ip2k.c (ip2k_attribute_table): New table of | |
07488f32 | 18872 | attributes. |
6028880a DC |
18873 | (TARGET_ATTRIBUTE_TABLE): New macro. |
18874 | (valid_machine_type_attribute): Remove. | |
18875 | (valid_machine_decl_attribute): Remove. | |
18876 | (ip2k_handle_progmem_attribute): New function. | |
18877 | (ip2k_handle_fndecl_attribute): New function. | |
18878 | ||
4a2953e4 | 18879 | 2003-01-10 Andrew Haley <aph@redhat.com> |
a686ea5b AH |
18880 | |
18881 | * config/i386/linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Rename | |
18882 | registers to be in correct order. Add rip. | |
18883 | ||
4d77fda2 KH |
18884 | 2003-01-14 Kazu Hirata <kazu@cs.umass.edu> |
18885 | ||
18886 | * config/h8300/h8300.md (*andsi3_lshiftrt_9_sb): New. | |
18887 | (*iorsi3_and_lshiftrt_9_sb): Likewise. | |
18888 | ||
62c9aa5f | 18889 | 2003-01-14 Jan Hubicka <jh@suse.cz> |
77f9af81 JH |
18890 | |
18891 | * convert.c (strip_float_extensions): Look for narrowest type handling | |
18892 | FP constants. | |
18893 | ||
18894 | * fold-const.c (fold): Fold (double)float1 CMP (double)float2 into | |
18895 | float1 CMP float2. | |
18896 | * convert.c (strip_float_extensions): Make global. | |
18897 | * tree.h (strip_float_extensions): Declare. | |
18898 | ||
fd371a93 GDR |
18899 | 2003-01-14 Gabriel Dos Reis <gdr@integrable-solutions.net> |
18900 | ||
18901 | * timevar.def: define TV_NAME_LOOKUP. | |
18902 | * timevar.c (timevar_pop): Be verbose when aborting. | |
18903 | ||
dcd1c2b8 AS |
18904 | 2003-01-13 Andreas Schwab <schwab@suse.de> |
18905 | ||
18906 | * Makefile.in ($(parsedir)/gengtype-lex.c): Don't change to | |
18907 | $(parsedir), just move the temporary file at the end. | |
18908 | ($(parsedir)/gengtype-yacc.c): Likewise. | |
18909 | ||
eb4b5f93 AO |
18910 | 2003-01-13 Alexandre Oliva <aoliva@redhat.com> |
18911 | ||
18912 | * aclocal.m4 (gcc_AC_PROG_GNAT): Don't try to prepend | |
18913 | ${ac_tool_prefix} to ADAC or CC. Protect them from word | |
18914 | splitting. | |
18915 | * configure: Rebuilt. | |
18916 | ||
f7835768 KG |
18917 | 2003-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
18918 | ||
18919 | * config/sparc/gmon-sol2.c (moncontrol, monstartup, _mcleanup, | |
18920 | internal_mcount): Don't use PARAMS. | |
18921 | (monstartup, _mcleanup, internal_mcount, moncontrol): Convert to | |
18922 | ISO C style. | |
18923 | (internal_mcount): Use __attribute__, not ATTRIBUTE_UNUSED. | |
18924 | ||
38a3dbbb AS |
18925 | 2003-01-13 Andreas Schwab <schwab@suse.de> |
18926 | ||
18927 | * config/rs6000/sysv4.h (ASM_OUTPUT_ALIGNED_LOCAL): Output type | |
18928 | directive. | |
18929 | ||
98dc53e3 KH |
18930 | 2003-01-13 Kazu Hirata <kazu@cs.umass.edu> |
18931 | ||
18932 | * config/h8300/h8300.md (*andsi3_lshift_n_sb): New. | |
18933 | (*iorsi3_and_lshiftrt_n_sb): Likewise. | |
18934 | ||
e8f2b18d MM |
18935 | 2003-01-12 Mark Mitchell <mark@codesourcery.com> |
18936 | ||
18937 | PR c++/9264 | |
18938 | * c-lex.c (c_lex): Set the token value to error_mark_node for | |
18939 | invalid numeric constants. | |
18940 | ||
70f8b89f KG |
18941 | 2003-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
18942 | ||
18943 | * c-pch.c (asm_file_startpos): Change to `long'. | |
18944 | (pch_init): Use ftell, not ftello. | |
18945 | (c_common_write_pch): Use ftell/fseek, not ftello/fseeko. | |
18946 | Use `long' instead of `off_t'. | |
18947 | (c_common_read_pch): Likewise. | |
18948 | * ggc-common.c (gt_pch_save): Use long/ftell instead of | |
18949 | off_t/ftello. | |
18950 | ||
8e37cba8 AM |
18951 | 2003-01-12 Alan Modra <amodra@bigpond.net.au> |
18952 | ||
18953 | * expr.c (expand_expr <RDIV_EXPR>): Correct recursive call args. | |
18954 | ||
04f08c8e RE |
18955 | 2003-01-11 Richard Earnshaw (rearnsha@arm.com) |
18956 | ||
18957 | * arm-protos.h (struct cpp_reader): Add declaration. | |
18958 | ||
62c9aa5f | 18959 | 2003-01-11 Jan Hubicka <jh@suse.cz> |
a5cf80f0 JH |
18960 | |
18961 | PR target/9068 | |
18962 | * i386.c (output_fp_compare): Fix typo. | |
18963 | ||
bbfb86aa DE |
18964 | 2003-01-10 David Edelsohn <edelsohn@gnu.org> |
18965 | ||
18966 | * config/rs6000/rs6000.c (common_mode_defined): Mark for PCH. | |
18967 | ||
223b87b6 GK |
18968 | 2003-01-10 Geoffrey Keating <geoffk@apple.com> |
18969 | ||
3859c32a GK |
18970 | * Makefile.in (parsedir): New variable. |
18971 | (docobjdir): New variable. | |
07488f32 | 18972 | (c-parse.o, c-parse.c, c-parse.y, gengtype-lex.o, gengtype-yacc.o, |
3859c32a GK |
18973 | gengtype-lex.c, gengtype-yacc.c): Use parsedir. |
18974 | (info, cpp.info, gcc.info, gccint.info, gccinstall.info, | |
18975 | cppinternals.info, generated-manpages, gcov.1, cpp.1, gcc.1, gfdl.7, | |
07488f32 | 18976 | gpl.7, fsf-funding.7, maintainer-clean, install-info, install-man): |
3859c32a GK |
18977 | Use docobjdir. |
18978 | * objc/Make-lang.in (objc/objc-parse.c, objc/objc-parse.y, | |
18979 | objc.maintainer-clean): Use parsedir. | |
18980 | ||
63af3bd1 GK |
18981 | * varasm.c (struct constant_descriptor_rtx): Remove unused |
18982 | `label' field. | |
18983 | ||
223b87b6 GK |
18984 | * toplev.c (documented_lang_options): Document -Winvalid-pch. |
18985 | ||
fbadafbc RH |
18986 | 2003-01-10 Richard Henderson <rth@redhat.com> |
18987 | ||
18988 | * config/alpha/alpha.h (NO_PROFILE_COUNTERS): Set. | |
18989 | (ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP): Kill. | |
18990 | ||
ab5ecb01 RH |
18991 | 2003-01-10 Richard Henderson <rth@redhat.com> |
18992 | ||
18993 | * combine.c (make_compound_operation): Use SCALAR_INT_MODE_P, | |
18994 | not INTEGRAL_MODE_P when widening extensions. | |
18995 | ||
7f24e7c5 RH |
18996 | 2003-01-10 Richard Henderson <rth@redhat.com> |
18997 | ||
18998 | * config/alpha/alpha.c (decl_has_samegp): True for !TREE_PUBLIC. | |
18999 | ||
6dd05d08 GK |
19000 | 2003-01-10 Geoffrey Keating <geoffk@apple.com> |
19001 | ||
19cc0dd4 GK |
19002 | * ggc-page.c (ggc_collect): Avoid overflow computing |
19003 | min_expand. | |
19004 | ||
6dd05d08 GK |
19005 | * Makefile.in (RANLIB_FOR_TARGET): Use RANLIB when native. |
19006 | (RANLIB_TEST_FOR_TARGET): Delete. Don't pass down to sub-makes. | |
19007 | Remove calls. | |
19008 | * mklibgcc.in: Remove uses of RANLIB_TEST_FOR_TARGET. | |
19009 | ||
62c9aa5f | 19010 | 2003-01-10 Jan Hubicka <jh@suse.cz> |
5f1355ef JH |
19011 | |
19012 | * ifcvt.c (noce_try_addcc): Do not call emit_conditional_add | |
19013 | with weird operands. | |
19014 | ||
0cdca92b | 19015 | 2003-01-10 Dale Johannesen <dalej@apple.com> |
6dd05d08 GK |
19016 | |
19017 | * calls.c (load_register_parameters): Add is_sibcall, sibcall_failure | |
19018 | parameters. Call check_sibcall_argument_overlap if indicated. | |
19019 | (check_sibcall_argument_overlap): Add mark_stored_args_map | |
19020 | parameter. Don't mark parameter area as clobbered if not set. | |
19021 | (expand_call): Adjust calls to above. | |
19022 | ||
19023 | 2003-01-10 Kelley Cook <kelleycook@comcast.net> | |
6cd656d0 KC |
19024 | |
19025 | * configure.in (linker read-only and read-write section mixing): | |
19026 | Squelch some assembler warnings. | |
19027 | * configure: Likewise. | |
19028 | ||
be2c2a4b HP |
19029 | 2003-01-10 Hartmut Penner <hpenner@de.ibm.com> |
19030 | ||
21ff35fb | 19031 | * doc/invoke.texi: Document -mtune, delete -mcpu |
be2c2a4b HP |
19032 | option for S/390 and zSeries. |
19033 | * config/s390/s390.c (s390_tune_string) New variable. | |
19034 | (s390_cpu_string) Delete variable. | |
19035 | (override_options): Use s390_tune_string instead of | |
19036 | s390_cpu_string. | |
19037 | * config/s390/s390.h: (TARGET_OPTIONS) '-mtune' instead of '-mcpu'. | |
19038 | ||
1f450138 KH |
19039 | 2003-01-10 Kazu Hirata <kazu@cs.umass.edu> |
19040 | ||
19041 | * config/h8300/h8300.md (*iorsi3_ashift_31): New. | |
19042 | ||
d330ce15 JZ |
19043 | 2003-01-10 Josef Zlomek <zlomekj@suse.cz> |
19044 | ||
19045 | * jump.c (next_nonnote_insn_in_loop): New function. | |
19046 | (copy_loop_headers): Use next_nonnote_insn_in_loop instead of | |
19047 | next_nonnote_insn. | |
19048 | (duplicate_loop_exit_test). Likewise. | |
19049 | ||
17211ab5 GK |
19050 | 2003-01-09 Geoffrey Keating <geoffk@apple.com> |
19051 | ||
19052 | Merge from pch-branch: | |
19053 | ||
19054 | 2003-01-06 Geoffrey Keating <geoffk@apple.com> | |
19055 | ||
19056 | * ggc-page.c (ggc_pch_read): Update the statistics after a PCH | |
19057 | load. | |
19058 | ||
19059 | 2002-12-24 Geoffrey Keating <geoffk@apple.com> | |
19060 | ||
19061 | * cpplib.c (count_registered_pragmas): New function. | |
19062 | (save_registered_pragmas): New function. | |
19063 | (_cpp_save_pragma_names): New function. | |
19064 | (restore_registered_pragmas): New function. | |
19065 | (_cpp_restore_pragma_names): New function. | |
19066 | * cpphash.h (_cpp_save_pragma_names): Prototype. | |
19067 | (_cpp_restore_pragma_names): Likewise. | |
19068 | * cpppch.c (struct save_macro_item): Split from save_macro_data. | |
19069 | (struct save_macro_data): New field 'saved_pragmas'. | |
19070 | (save_macros): Update for changes to struct save_macro_data. | |
19071 | (cpp_prepare_state): Call _cpp_save_pragma_names, update | |
19072 | for changes to struct save_macro_data. | |
19073 | (cpp_read_state): Call _cpp_restore_pragma_names, update | |
19074 | for changes to struct save_macro_data. | |
19075 | ||
19076 | * cpppch.c (cpp_read_state): Restore the hashtable references | |
19077 | in the cpp_reader. | |
07488f32 | 19078 | |
17211ab5 GK |
19079 | * tree.h (built_in_decls): Mark for PCH. |
19080 | ||
19081 | * dbxout.c (lastfile): Don't mark for PCH. | |
19082 | ||
19083 | * ggc.h: Document PCH calls into memory managers. | |
19084 | ||
19085 | 2002-12-18 Geoffrey Keating <geoffk@apple.com> | |
19086 | ||
19087 | * doc/invoke.texi (Precompiled Headers): Document the | |
19088 | directory form of PCH. | |
19089 | * cppfiles.c (validate_pch): New function. | |
19090 | (open_file_pch): Search suitably-named directories for PCH files. | |
19091 | ||
19092 | 2002-12-14 Geoffrey Keating <geoffk@apple.com> | |
19093 | ||
19094 | * doc/gty.texi (GTY Options): Document chain_next, chain_prev, | |
19095 | reorder options. | |
19096 | (Type Information): Mention that the information is also | |
19097 | used to implement PCH. | |
19098 | * doc/passes.texi (Passes): Improve documentation of | |
19099 | language-specific files. | |
19100 | ||
19101 | 2002-12-11 Geoffrey Keating <geoffk@apple.com> | |
19102 | ||
19103 | * gengtype.c (struct write_types_data): Add reorder_note_routine field. | |
19104 | (struct walk_type_data): Add reorder_fn field. | |
19105 | (walk_type): Process 'reorder' option. | |
19106 | (write_types_process_field): Reorder parameters to gt_pch_note_object, | |
19107 | call reorder_note_routine. | |
19108 | (write_func_for_structure): Reorder parameters to gt_pch_note_object. | |
19109 | (ggc_wtd): Update for change to struct write_types_data. | |
19110 | (pch_wtd): Likewise. | |
19111 | * ggc.h (gt_pch_note_object): Reorder parameters. | |
19112 | (gt_handle_reorder): New definition. | |
19113 | (gt_pch_note_reorder): New prototype. | |
19114 | * ggc-common.c (struct ptr_data): Add reorder_fn. | |
19115 | (gt_pch_note_object): Reorder parameters. | |
19116 | (gt_pch_note_reorder): New. | |
19117 | (gt_pch_save): Call reorder_fn. | |
19118 | * stringpool.c (gt_pch_n_S): Update for change to gt_pch_note_object. | |
19119 | ||
19120 | * dbxout.c (cwd): Don't mark for PCH. | |
19121 | ||
19122 | 2002-12-09 Geoffrey Keating <geoffk@apple.com> | |
19123 | ||
19124 | * gengtype.c (finish_root_table): Fix some warnings. | |
19125 | (write_root): Handle TYPE_STRING. | |
19126 | * ggc.h (gt_ggc_m_S): Add prototype. | |
19127 | * stringpool.c (gt_ggc_m_S): New function. | |
19128 | ||
19129 | 2002-11-30 Geoffrey Keating <geoffk@apple.com> | |
19130 | ||
19131 | * dwarf2out.c (dw2_string_counter): New. | |
19132 | (AT_string_form): Use it. | |
19133 | (same_dw_val_p): Update for removal of hashtable.h hash tables. | |
19134 | ||
19135 | 2002-11-22 Geoffrey Keating <geoffk@apple.com> | |
19136 | ||
19137 | * dbxout.c: Include gt-dbxout.h. | |
19138 | (lastfile): Mark for PCH/GGC. | |
19139 | (cwd): Likewise. | |
19140 | (struct typeinfo): Likewise. | |
19141 | (typevec): Likewise. | |
19142 | (typevec_len): Likewise. | |
19143 | (next_type_number): Likewise. | |
19144 | (struct dbx_file): Likewise. | |
19145 | (current_file): Likewise. | |
19146 | (next_file_number): Likewise. | |
19147 | (dbxout_init): Allocate typevec, struct dbx_file with GGC. | |
19148 | (dbxout_start_source_file): Allocate struct dbx_file with GGC. | |
19149 | (dbxout_end_source_file): Don't free struct dbx_file. | |
19150 | (dbxout_type): Use GGC to allocate typevec. | |
19151 | * Makefile.in (dbxout.o): Depend on gt-dbxout.h, $(GGC_H). | |
19152 | (GTFILES): Add dbxout.c. | |
19153 | (gt-dbxout.h): New rule. | |
07488f32 | 19154 | |
17211ab5 GK |
19155 | * Makefile.in (c-pch.o): Add debug.h as dependency. |
19156 | * c-pch.c: Include debug.h. | |
19157 | (pch_init): Call start_source_file to keep nesting right. | |
19158 | (c_common_read_pch): Add orig_name parameter. Call | |
19159 | start_source_file debug hook. Call end_source_file debug hook. | |
19160 | * c-common.h (c_common_read_pch): Update prototype. | |
19161 | * cpplib.h (struct cpp_callbacks): Add fourth field to read_pch | |
19162 | callback. | |
19163 | * cppfiles.c (struct include_file): Add new field `header_name'. | |
19164 | (find_or_create_entry): Default it to `name'. | |
19165 | (open_file_pch): Set it to the original header file searched for. | |
19166 | (stack_include_file): Don't stack an empty buffer, just handle | |
19167 | PCH files immediately. Pass header_name field to read_pch callback. | |
19168 | ||
19169 | 2002-11-19 Geoffrey Keating <geoffk@apple.com> | |
19170 | ||
19171 | * function.c (funcdef_no): Mark to be saved in a PCH. | |
19172 | ||
19173 | 2002-11-15 Geoffrey Keating <geoffk@apple.com> | |
19174 | ||
19175 | * ggc-page.c (ggc_pch_read): Remove unused 'bmap_size'. | |
19176 | ||
19177 | * cpppch.c (cpp_read_state): Correct size reallocated for 'defn'. | |
19178 | ||
19179 | 2002-11-14 Geoffrey Keating <geoffk@apple.com> | |
19180 | ||
19181 | * optabs.h (code_to_optab): Add GTY marker. | |
19182 | ||
19183 | 2002-11-13 Geoffrey Keating <geoffk@apple.com> | |
19184 | ||
19185 | * Makefile.in (GTFILES): Add cpplib.h. | |
19186 | * c-common.h (struct c_common_identifier): Don't skip 'node' field. | |
19187 | * c-decl.c (build_compound_literal): Don't use var_labelno. | |
19188 | * cpplib.h (struct cpp_hashnode): Use gengtype to mark. | |
19189 | * dwarf2asm.c (dw2_force_const_mem): Don't use const_labelno. | |
19190 | * varasm.c (const_labelno): Use gengtype to mark. | |
19191 | (var_labelno): Likewise. | |
19192 | (in_section): Likewise. | |
19193 | (in_named_name): Likewise. | |
19194 | (struct in_named_entry): Likewise. | |
19195 | (in_named_htab): Likewise. | |
19196 | (set_named_section_flags): Use GGC to allocate struct in_named_entry. | |
19197 | (init_varasm_once): Use GGC to allocate in_named_htab. | |
19198 | * config/darwin.c (current_pic_label_num): Mark for PCH. | |
19199 | ||
19200 | 2002-11-11 Geoffrey Keating <geoffk@apple.com> | |
19201 | ||
19202 | * ggc-simple.c (init_ggc_pch): New stub procedure. | |
19203 | (ggc_pch_count_object): Likewise. | |
19204 | (ggc_pch_total_size): Likewise. | |
19205 | (ggc_pch_this_base): Likewise. | |
19206 | (ggc_pch_alloc_object): Likewise. | |
19207 | (ggc_pch_prepare_write): Likewise. | |
19208 | (ggc_pch_write_object): Likewise | |
19209 | (ggc_pch_finish): Likewise. | |
19210 | (ggc_pch_read): Likewise. | |
19211 | ||
19212 | 2002-11-08 Geoffrey Keating <geoffk@apple.com> | |
19213 | ||
19214 | * c-pch.c (c_common_write_pch): Write the macro definitions after | |
19215 | the GCed data. | |
19216 | (c_common_read_pch): Call cpp_prepare_state. Restore the macro | |
19217 | definitions after the GCed data. | |
19218 | * cpplib.c (save_macros): New. | |
19219 | (reset_ht): New. | |
19220 | (cpp_write_pch_deps): Split out of cpp_write_pch. | |
19221 | (cpp_write_pch_state): Split out of cpp_write_pch. | |
19222 | (cpp_write_pch): Delete. | |
19223 | (struct save_macro_data): Delete. | |
19224 | (cpp_prepare_state): New. | |
19225 | (cpp_read_state): Erase and restore initial macro definitions. | |
19226 | * cpplib.h (struct save_macro_data): Forward-declare. | |
19227 | (cpp_write_pch_deps): Prototype. | |
19228 | (cpp_write_pch_state): Prototype. | |
19229 | (cpp_write_pch): Delete prototype. | |
19230 | (cpp_prepare_state): Prototype. | |
19231 | (cpp_read_state): Add fourth argument. | |
19232 | ||
19233 | 2002-11-04 Geoffrey Keating <geoffk@apple.com> | |
19234 | ||
19235 | * gengtype.c (adjust_field_rtx_def): Don't use skip on valid fields. | |
19236 | (write_array): Remove warning. | |
19237 | ||
19238 | * gengtype.c (contains_scalar_p): New. | |
19239 | (finish_root_table): Add the table to all languages, even if it's | |
19240 | empty. | |
19241 | (write_roots): Output gt_pch_scalar_rtab. | |
19242 | * ggc-common.c (gt_pch_save): Write out scalars. | |
19243 | (gt_pch_restore): Read scalars back. | |
19244 | ||
19245 | * ggc-page.c (OBJECTS_IN_PAGE): New macro. | |
19246 | (struct page_entry): Delete pch_page field. | |
19247 | (ggc_recalculate_in_use_p): Use OBJECTS_IN_PAGE. | |
19248 | (clear_marks): Likewise. | |
19249 | (sweep_pages): Likewise. | |
19250 | (poison_pages): Likewise. | |
19251 | (ggc_print_statistics): Likewise. | |
19252 | (ggc_pch_read): Don't free objects read from a PCH. | |
19253 | Properly set up in_use_p and page_tails. | |
19254 | ||
19255 | 2002-10-25 Geoffrey Keating <geoffk@apple.com> | |
19256 | ||
19257 | * gengtype.c (struct write_types_data): New. | |
19258 | (struct walk_type_data): Make `cookie' const; add extra | |
19259 | prev_val item; add `orig_s' field. | |
19260 | (walk_type): Update prev_val[3]. | |
19261 | (write_types_process_field): New. | |
19262 | (write_func_for_structure): Take write_types_data structure. | |
19263 | (write_types): New. | |
19264 | (ggc_wtd): New. | |
19265 | (pch_wtd): New. | |
19266 | (write_types_local_process_field): New. | |
19267 | (gc_mark_process_field): Delete. | |
19268 | (write_local_func_for_structure): New. | |
19269 | (gc_mark_func_name): Delete. | |
19270 | (write_gc_types): Delete. | |
19271 | (write_local): New. | |
19272 | (finish_root_table): Don't include 'ggc_' in PFX. | |
19273 | (write_root): Rename from write_root. Fill pchw field of structures. | |
19274 | (write_array): New. | |
19275 | (write_roots): Rename from write_gc_roots. Split out to write_array. | |
19276 | Update to changes to other routines. Write gt_pch_cache_rtab table. | |
19277 | (main): Write PCH walking routines. | |
19278 | * ggc-common.c: Include toplev.h, sys/mman.h. | |
19279 | (ggc_mark_roots): For cache hashtables, also mark the hash table | |
19280 | and the array of entries. | |
19281 | (saving_htab): New. | |
19282 | (struct ptr_data): New. | |
19283 | (POINTER_HASH): New. | |
19284 | (gt_pch_note_object): New. | |
19285 | (saving_htab_hash): New. | |
19286 | (saving_htab_eq): New. | |
19287 | (struct traversal_state): New. | |
19288 | (call_count): New. | |
19289 | (call_alloc): New. | |
19290 | (compare_ptr_data): New. | |
19291 | (relocate_ptrs): New. | |
19292 | (write_pch_globals): New. | |
19293 | (struct mmap_info): New. | |
19294 | (gt_pch_save): New. | |
19295 | (gt_pch_restore): New. | |
19296 | * ggc-page.c (ROUND_UP_VALUE): New. | |
19297 | (ROUND_UP): New. | |
19298 | (struct page_entry): Add field `pch_page'. | |
19299 | (init_ggc): Use ROUND_UP. | |
19300 | (struct ggc_pch_data): Declare. | |
19301 | (init_ggc_pch): New. | |
19302 | (ggc_pch_count_object): New. | |
19303 | (ggc_pch_total_size): New. | |
19304 | (ggc_pch_this_base): New. | |
19305 | (ggc_pch_alloc_object): New. | |
19306 | (ggc_pch_prepare_write): New. | |
19307 | (ggc_pch_write_object): New. | |
19308 | (ggc_pch_finish): New. | |
19309 | (ggc_pch_read): New. | |
19310 | * ggc.h (gt_pointer_operator): New. | |
19311 | (gt_note_pointers): New. | |
19312 | (gt_pch_note_object): New prototype. | |
19313 | (gt_pointer_walker): New. | |
19314 | (struct ggc_root_tab): Use gt_pointer_walker, add `pchw' field. | |
19315 | (LAST_GGC_ROOT_TAB): Update. | |
19316 | (gt_pch_cache_rtab): Declare. | |
19317 | (gt_pch_scalar_rtab): Declare. | |
19318 | (struct ggc_cache_tab): Use gt_pointer_walker, add `pchw' field. | |
19319 | (LAST_GGC_CACHE_TAB): Update. | |
19320 | (gt_pch_save_stringpool): Declare. | |
19321 | (gt_pch_restore_stringpool): Declare. | |
19322 | (gt_pch_p_S): Declare. | |
19323 | (gt_pch_n_S): Declare. | |
19324 | (struct ggc_pch_data): Forward-declare. | |
19325 | (init_ggc_pch): Declare. | |
19326 | (ggc_pch_count_object): Declare. | |
19327 | (ggc_pch_total_size): Declare. | |
19328 | (ggc_pch_this_base): Declare. | |
19329 | (ggc_pch_alloc_object): Declare. | |
19330 | (ggc_pch_prepare_write): Declare. | |
19331 | (ggc_pch_write_object): Declare. | |
19332 | (ggc_pch_finish): Declare. | |
19333 | (ggc_pch_read): Declare. | |
19334 | (gt_pch_save): Declare. | |
19335 | (gt_pch_restore): Declare. | |
19336 | * fold-const.c (size_int_type_wide): Allocate size_htab using GGC. | |
19337 | * emit-rtl.c (init_emit_once): Allocate const_int_htab, | |
19338 | const_double_htab, mem_attrs_htab using GGC. | |
19339 | * c-pch.c: Include ggc.h. | |
19340 | (pch_init): Allow reading PCH file back. | |
19341 | (c_common_write_pch): Call gt_pch_save. | |
19342 | (c_common_read_pch): Call gt_pch_restore. | |
19343 | * c-parse.in (init_reswords): Delete now-untrue comment. | |
19344 | Allocate ridpointers using GGC. | |
19345 | * c-objc-common.c (c_objc_common_finish_file): Write PCH before | |
19346 | calling expand_deferred_fns. | |
19347 | * c-common.h (ridpointers): Mark for GTY machinery. | |
19348 | * Makefile.in (stringpool.o): Update dependencies. | |
19349 | (c-pch.o): Update dependencies. | |
19350 | (ggc-common.o): Update dependencies. | |
19351 | * stringpool.c: Include gt-stringpool.h. | |
19352 | (gt_pch_p_S): New. | |
19353 | (gt_pch_n_S): New. | |
19354 | (struct string_pool_data): New. | |
19355 | (spd): New. | |
19356 | (gt_pch_save_stringpool): New. | |
19357 | (gt_pch_restore_stringpool): New. | |
19358 | * tree.c (init_ttree): Make type_hash_table allocated using GC. | |
07488f32 | 19359 | |
17211ab5 GK |
19360 | 2002-10-04 Geoffrey Keating <geoffk@apple.com> |
19361 | ||
19362 | * gengtype.c (adjust_field_rtx_def): Don't pass size_t to printf. | |
19363 | (output_mangled_typename): Don't pass size_t to printf. | |
19364 | ||
19365 | * tree.h (union tree_type_symtab): Add tag to `address' field. | |
19366 | (union tree_decl_u2): Add tag to 'i' field. | |
19367 | * varasm.c (union rtx_const_un): Add tags to all fields. | |
19368 | * gengtype.c (struct walk_type_data): New. | |
19369 | (output_escaped_param): Take struct walk_type_data parameter. | |
19370 | (write_gc_structure_fields): Delete. | |
19371 | (walk_type): New. | |
19372 | (write_gc_marker_routine_for_structure): Delete. | |
19373 | (write_func_for_structure): New. | |
19374 | (gc_mark_process_field): New. | |
19375 | (gc_mark_func_name): New. | |
19376 | (gc_counter): Delete. | |
19377 | (write_gc_types): Use write_func_for_structure. | |
19378 | (write_gc_roots): Use walk_type. | |
19379 | ||
19380 | 2002-10-02 Geoffrey Keating <geoffk@apple.com> | |
19381 | ||
19382 | * ggc-common.c (ggc_mark_roots): Delete 'x'. | |
19383 | (ggc_splay_dont_free): Fix warning about unused 'x'. | |
19384 | (ggc_print_common_statistics): Remove warnings. | |
19385 | ||
19386 | 2002-10-01 Mike Stump <mrs@apple.com> | |
19387 | ||
07488f32 ZW |
19388 | * ggc-common.c (ggc_splay_alloc): Actually return the allocated area. |
19389 | * gengtype.c (write_gc_structure_fields): Handle param[digit]_is. | |
17211ab5 GK |
19390 | |
19391 | 2002-09-01 Geoffrey Keating <geoffk@redhat.com> | |
19392 | Catherine Moore <clm@redhat.com> | |
19393 | ||
19394 | * Makefile (c-pch.o): Update dependencies. | |
19395 | (LIBCPP_OBJS): Add cpppch.o. | |
19396 | (cpppch.o): New. | |
19397 | * c-common.c (c_common_init): Don't call pch_init here. | |
19398 | * c-common.h (c_common_read_pch): Update prototype. | |
19399 | * c-lex.c (c_common_parse_file): Call pch_init here. | |
19400 | * c-opts.c (COMMAND_LINE_OPTIONS): Add -Winvalid-pch, -fpch-deps. | |
19401 | (c_common_decode_option): Handle them. | |
19402 | * c-pch.c: Include c-pragma.h. | |
19403 | (save_asm_offset): Delete. | |
19404 | (pch_init): Move contents of save_asm_offset into here, call | |
19405 | cpp_save_state. | |
19406 | (c_common_write_pch): Call cpp_write_pch. | |
19407 | (c_common_valid_pch): Warn only when -Winvalid-pch. Call | |
19408 | cpp_valid_state. | |
19409 | (c_common_read_pch): Add NAME parameter. Call cpp_read_state. | |
07488f32 | 19410 | * cppfiles.c (stack_include_file): Update for change to |
17211ab5 GK |
19411 | parameters of cb.read_pch. |
19412 | * cpphash.h (struct cpp_reader): Add `savedstate' field. | |
19413 | * cpplib.h (struct cpp_options): Add `warn_invalid_pch' and | |
19414 | `restore_pch_deps' fields. | |
19415 | (struct cpp_callbacks): Add NAME parameter to `read_pch'. | |
19416 | (cpp_save_state): Prototype. | |
19417 | (cpp_write_pch): Prototype. | |
19418 | (cpp_valid_state): Prototype. | |
19419 | (cpp_read_state): Prototype. | |
19420 | * cpppch.c: New file. | |
19421 | * flags.h (version_flag): Remove prototype. | |
19422 | * mkdeps.c (deps_save): New. | |
19423 | (deps_restore): New. | |
19424 | * mkdeps.h (deps_save): Prototype. | |
19425 | (deps_restore): Prototype. | |
19426 | * toplev.c (late_init_hook): Delete. | |
19427 | (version_flag): Make static again. | |
19428 | (compile_file): Don't call late_init_hook. | |
19429 | * toplev.h (late_init_hook): Delete. | |
19430 | * doc/cppopts.texi: Document -fpch-deps. | |
19431 | * doc/invoke.texi (Warning Options): Document -Winvalid-pch. | |
19432 | ||
19433 | 2002-08-27 Geoffrey Keating <geoffk@redhat.com> | |
19434 | ||
19435 | * c-pch.c (c_common_write_pch): Rename from c_write_pch, change | |
19436 | callers. | |
19437 | (c_common_valid_pch): Rename from c_valid_pch, change callers. | |
19438 | (c_common_read_pch): Rename from c_read_pch, change callers. | |
19439 | ||
19440 | * c-opts.c (COMMAND_LINE_OPTIONS): Allow -output-pch= to have | |
19441 | a space between it and its argument. | |
19442 | ||
19443 | 2002-08-24 Geoffrey Keating <geoffk@redhat.com> | |
19444 | ||
19445 | * c-pch.c: New file. | |
19446 | * toplev.h (late_init_hook): Declare. | |
19447 | * toplev.c (late_init_hook): Define. | |
19448 | (version_flag): Make globally visible. | |
19449 | (compile_file): Call late_init_hook. | |
19450 | (init_asm_output): Make output file seekable. | |
19451 | * gcc.c (default_compilers): Update c-header rule. | |
19452 | * flags.h (version_flag): Declare. | |
19453 | * cpplib.h (struct cpp_callbacks): Add 'valid_pch' and 'read_pch' | |
19454 | fields. | |
19455 | * cppfiles.c (struct include_file): Add 'pch' field. | |
19456 | (INCLUDE_PCH_P): New. | |
19457 | (open_file_pch): New. | |
19458 | (stack_include_file): Handle PCH files specially. | |
19459 | (find_include_file): Call open_file_pch instead of open_file. | |
19460 | (_cpp_read_file): Explain why open_file is used instead of | |
19461 | open_file_pch. | |
19462 | * c-opts.c (c_common_decode_option): Correct OPT__output_pch case. | |
19463 | * c-objc-common.c (c_objc_common_finish_file): Call c_write_pch. | |
19464 | * c-lex.c (init_c_lex): Set valid_pch and read_pch fields | |
19465 | in cpplib callbacks. | |
19466 | * c-common.c (pch_file): Correct comment. | |
19467 | (allow_pch): Define. | |
19468 | (c_common_init): Call pch_init. | |
19469 | * c-common.h (allow_pch): Declare. | |
19470 | (pch_init): Declare. | |
19471 | (c_valid_pch): Declare. | |
19472 | (c_read_pch): Declare. | |
19473 | (c_write_pch): Declare. | |
19474 | * Makefile.in (c-pch.o): New. | |
19475 | (C_AND_OBJC_OBJS): Add c-pch.o. | |
19476 | * doc/invoke.texi (Precompiled Headers): Add index entries, | |
19477 | complete truncated paragraph. | |
19478 | ||
19479 | 2002-08-17 Geoffrey Keating <geoffk@redhat.com> | |
19480 | ||
19481 | * c-common.c: (pch_file): Define. | |
19482 | * c-common.h (pch_file): Declare. | |
19483 | * c-opts.c (COMMAND_LINE_OPTIONS): Add --output-pch=. | |
19484 | (missing_arg): Require --output-pch= to have an argument. | |
19485 | (c_common_decode_option): Handle --output-pch=. | |
19486 | * gcc.c: Document new %V. | |
19487 | (default_compilers): Handle compiling C header files. | |
19488 | (do_spec_1): Implement %V. | |
19489 | (main): Handle "gcc foo.h" without trying to run linker. | |
19490 | * doc/invoke.texi (Invoking GCC): Add new menu item for PCH. | |
19491 | (Overall Options): Document what the driver does with header files, | |
19492 | document new -x option possibilities. | |
19493 | (Invoking G++): More documentation for PCH. | |
19494 | (Precompiled Headers): New. | |
19495 | ||
19496 | 2002-08-09 Geoffrey Keating <geoffk@redhat.com> | |
19497 | ||
19498 | * ggc.h: Don't include varray.h. Rearrange functions to be more | |
19499 | organized. | |
19500 | (ggc_add_root): Delete. | |
19501 | (ggc_mark_rtx): Delete. | |
19502 | (ggc_mark_tree): Delete. | |
19503 | (struct ggc_statistics): Remove contents. | |
19504 | * ggc-common.c: Remove unneeded includes. | |
19505 | (struct ggc_root): Delete. | |
19506 | (roots): Delete. | |
19507 | (ggc_add_root): Delete. | |
19508 | (ggc_mark_roots): Don't mark `roots'. Call ggc_mark_stringpool. | |
19509 | (ggc_print_common_statistics): Remove most of the contents. | |
19510 | * Makefile.in (GGC_H): No longer uses varray.h. | |
19511 | (ggc-common.o): Update dependencies. | |
19512 | (c-parse.o): Add varray.h to dependencies. | |
19513 | (c-common.o): Add varray.h. | |
19514 | * stringpool.c (mark_ident): Use mangled name for tree marker routine. | |
19515 | (mark_ident_hash): Rename to ggc_mark_stringpool. | |
19516 | (init_stringpool): Don't use ggc_add_root. | |
19517 | * c-parse.in: Include varray.h. | |
19518 | * c-common.c: Include varray.h. | |
19519 | * objc/Make-lang.in (objc-act.o): Add varray.h. | |
19520 | * objc/objc-act.c: Include varray.h. | |
19521 | ||
19522 | 2002-07-25 Geoffrey Keating <geoffk@redhat.com> | |
19523 | ||
19524 | * dwarf2out.c (dw_cfi_oprnd2_desc): Fix ISO-only function definition. | |
19525 | (dw_cfi_oprnd1_desc): Likewise. | |
19526 | ||
19527 | 2002-07-17 Geoffrey Keating <geoffk@redhat.com> | |
19528 | ||
19529 | * config/alpha/alpha.c (struct alpha_links): Use gengtype to mark; | |
19530 | move out of ifdef. | |
19531 | (alpha_links): Use gengtype to mark; move out of ifdef. | |
19532 | (mark_alpha_links_node): Delete. | |
19533 | (mark_alpha_links): Delete. | |
19534 | (alpha_need_linkage): Use GGC to allocate splay tree, struct | |
19535 | alpha_links, strings. Don't use ggc_add_root. | |
19536 | * ggc-common.c (ggc_splay_alloc): New. | |
19537 | (ggc_splay_dont_free): New. | |
19538 | * ggc.h (ggc_mark_rtx): Update for changed name mangling. | |
19539 | (ggc_mark_tree): Likewise. | |
19540 | (splay_tree_new_ggc): New. | |
19541 | (ggc_splay_alloc): Declare. | |
19542 | (ggc_splay_dont_free): Declare. | |
19543 | * dwarf2asm.c: Include gt-dwarf2asm.h. | |
19544 | (mark_indirect_pool_entry): Delete. | |
19545 | (mark_indirect_pool): Delete. | |
19546 | (indirect_pool): Use gengtype to mark. | |
19547 | (dw2_force_const_mem): Don't use ggc_add_root. | |
19548 | * Makefile.in (dwarf2asm.o): Depend on gt-dwarf2asm.h. | |
19549 | (GTFILES): Add SPLAY_TREE_H, dwarf2asm.c. | |
19550 | (gt-dwarf2asm.h): Depend on s-gtype. | |
19551 | ||
19552 | 2002-07-08 Geoffrey Keating <geoffk@redhat.com> | |
19553 | ||
19554 | * tree.h (union tree_type_symtab): Mark `die' field. | |
19555 | * Makefile.in (dwarf2out.o): Update dependencies. | |
19556 | * dwarf2out.c: Use GGC to allocate all structures. Convert to htab_t | |
19557 | hash tables. | |
19558 | (dw_cfi_oprnd1_desc): New function. | |
19559 | (dw_cfi_oprnd2_desc): New function. | |
19560 | (indirect_string_alloc): Delete. | |
19561 | (debug_str_do_hash): New function. | |
19562 | (debug_str_eq): New function. | |
19563 | (mark_limbo_die_list): Delete. | |
19564 | (dwarf2out_init): Don't call ggc_add_root. | |
19565 | ||
30028c85 VM |
19566 | 2003-01-09 Vladimir Makarov <vmakarov@redhat.com> |
19567 | ||
19568 | The following changes are merged from itanium-sched-branch: | |
19569 | ||
19570 | 2003-01-08 David Edelsohn <edelsohn@gnu.org> | |
19571 | ||
19572 | * doc/md.texi: Clarify assignment of units to automata description. | |
19573 | ||
19574 | 2003-01-08 Vladimir Makarov <vmakarov@redhat.com> | |
19575 | ||
19576 | * genautomata.c (unit_decl): Remove members | |
19577 | `the_same_automaton_unit' and | |
19578 | `the_same_automaton_message_reported_p'. | |
19579 | (process_unit_to_form_the_same_automaton_unit_lists, | |
19580 | form_the_same_automaton_unit_lists_from_regexp, | |
19581 | form_the_same_automaton_unit_lists, the_same_automaton_lists): | |
19582 | Remove them. | |
19583 | (annotation_message_reported_p): New global variable. | |
19584 | (check_unit_distribution_in_reserv, | |
19585 | check_regexp_units_distribution): New functions. | |
19586 | (check_unit_distributions_to_automata): Rewrite it. | |
19587 | ||
19588 | 2003-01-04 Vladimir Makarov <vmakarov@redhat.com> | |
19589 | ||
19590 | * genautomata.c (form_the_same_automaton_unit_lists_from_regexp): | |
19591 | Use continue instead of break if cycle is too big. | |
19592 | ||
19593 | 2002-12-20 Vladimir Makarov <vmakarov@redhat.com> | |
19594 | ||
19595 | * genautomata.c (check_unit_distributions_to_automata): Output at | |
19596 | most one message for a unit. | |
19597 | (process_unit_to_form_the_same_automaton_unit_lists): Check | |
19598 | automaton of units instead of units themself. | |
19599 | ||
19600 | * doc/md.texi: Describe the constraint about assigning unit to | |
19601 | automata. | |
19602 | ||
19603 | 2002-12-20 Jan Hubicka <jH@suse.cz> | |
19604 | Vladimir Makarov <vmakarov@redhat.com> | |
19605 | ||
19606 | * genautomata.c (unit_decl): Add new members `min_occ_cycle_num' | |
19607 | and `in_set_p'. | |
19608 | (gen_cpu_unit): Initialize the new members. | |
19609 | (process_regexp_cycles): Calculate minimal finish cycle too. Set | |
19610 | up `min_occ_cycle_num'. | |
19611 | (evaluate_max_reserv_cycles): Change the function call. | |
19612 | (CLEAR_BIT): New macro. | |
19613 | (states_union, state_shift): Use the mask. | |
19614 | (initiate_excl_sets, form_reserv_sets_list): Set up `in_set_p'. | |
19615 | (form_reservs_matter): New function. | |
19616 | (make_automaton): Call the function and use the mask. | |
19617 | (estimate_one_automaton_bound): Take `min_occ_cycle_num' into | |
19618 | account. | |
07488f32 | 19619 | |
30028c85 VM |
19620 | 2002-12-17 Vladimir Makarov <vmakarov@redhat.com> |
19621 | ||
19622 | * config/ia64/itanium2.md (lfetch): Change the insn reservation. | |
19623 | ||
19624 | 2002-12-17 Vladimir Makarov <vmakarov@redhat.com> | |
19625 | ||
19626 | * config/ia64/ia64.c (bundling): Try to insert 2 nops for M insn | |
19627 | for Itanium. | |
19628 | ||
19629 | 2002-12-17 Vladimir Makarov <vmakarov@redhat.com> | |
19630 | ||
19631 | * config/ia64/ia64.c (ia64_override_options): Make itanium2 as | |
19632 | default cpu. | |
19633 | ||
19634 | 2002-12-17 Vladimir Makarov <vmakarov@redhat.com> | |
19635 | 2002-10-31 Dale Johannesen <dalej@apple.com> | |
19636 | ||
19637 | * haifa-sched.c (find_set_reg_weight): New function. | |
19638 | (find_insn_reg_weight): Use the new function. | |
19639 | (schedule_block): Do sorting ready queue always | |
19640 | after insn issue. | |
19641 | ||
19642 | 2002-11-27 Vladimir Makarov <vmakarov@redhat.com> | |
19643 | ||
19644 | * config/ia64/ia64.c (bundling): Use MFI template instead of MLX. | |
19645 | ||
19646 | 2002-11-19 Vladimir Makarov <vmakarov@redhat.com> | |
19647 | ||
19648 | * haifa-sched.c (choice_entry): New structure. | |
19649 | (choice_stack, cycle_issued_insns): New variables. | |
19650 | (max_issue): Rewrite it. | |
19651 | (choose_ready): Set up ready_try for unknown insns too. | |
19652 | (schedule_block): Allocate and free choice_stack. Set up | |
19653 | and modify cycle_issued_insns. | |
19654 | ||
19655 | * config/ia64/ia64.c (issue_nops_and_insn): Combine insn issue | |
19656 | with and without filling the bundle. | |
19657 | (bundling): Combine calls of issue_nops_and_insn. | |
07488f32 | 19658 | |
30028c85 VM |
19659 | 2002-10-17 Vladimir Makarov <vmakarov@redhat.com> |
19660 | ||
19661 | * config/ia64/itanium1.md: New file. | |
19662 | ||
19663 | * config/ia64/itanium2.md: New file. | |
19664 | ||
19665 | * config/ia64/ia64.md: Move DFA descriptions into the new files. | |
19666 | Remove the old pipeline description. | |
07488f32 | 19667 | |
30028c85 VM |
19668 | * config/ia64/ia64.c (ia64_override_options): Add aliases of |
19669 | itanium processor names. | |
07488f32 | 19670 | |
30028c85 VM |
19671 | 2002-10-16 Vladimir Makarov <vmakarov@redhat.com> |
19672 | ||
19673 | * config/ia64/ia64.c (bundling): Print states for Itanium2 too. | |
19674 | (ia64_reorg): Set up queried unit codes for Itanium2 too. | |
19675 | ||
19676 | * config/ia64/ia64.md: Add descriptions for Itanium2. | |
19677 | ||
19678 | 2002-10-08 Vladimir Makarov <vmakarov@redhat.com> | |
19679 | ||
19680 | * config/ia64/ia64.h (processor_type): New enumeration. | |
19681 | (ia64_tune, ia64_tune_string): New external declarations. | |
19682 | (TARGET_OPTIONS): Add option `tune='. | |
19683 | ||
19684 | * config/ia64/ia64.c (ia64_tune, ia64_tune_string): New global | |
19685 | variables. | |
19686 | (ia64_override_options): Set up `ia64_tune'. | |
19687 | (ia64_sched_reorder2): Set up `clocks' only for Itanium. | |
19688 | (ia64_dfa_new_cycle): Set up `add_cycles' only for Itanium. | |
19689 | (bundling): Add nops for MM-insns only for Itanium. | |
19690 | (ia64_reorg): Allocate and free `clocks' and `add_cycles' only for | |
19691 | Itanium. | |
19692 | ||
19693 | * config/ia64/ia64.md (cpu): New attribute. | |
19694 | (DFA description): Enable it only for Itanium. | |
07488f32 | 19695 | |
30028c85 VM |
19696 | 2002-10-08 Vladimir Makarov <vmakarov@redhat.com> |
19697 | Richard Henderson <rth@redhat.com> | |
19698 | ||
19699 | * config/ia64/ia64.h (MASK_TUNE_STOP_BITS): Rename it to | |
19700 | MASK_EARLY_STOP_BITS. | |
19701 | (TARGET_TUNE_STOP_BITS): Rename it to TARGET_EARLY_STOP_BITS. | |
19702 | (TARGET_SWITCHES): Rename option `tune-stop-bits' to | |
19703 | `early-stop-bits'. | |
07488f32 | 19704 | |
30028c85 VM |
19705 | * config/ia64/ia64.c (ia64_dfa_new_cycle, |
19706 | final_emit_insn_group_barriers): Use TARGET_EARLY_STOP_BITS | |
19707 | instead of TARGET_TUNE_STOP_BITS. | |
07488f32 | 19708 | |
30028c85 VM |
19709 | * doc/invoke.texi: Rename option `-mtune-stop-bits' to |
19710 | `-mearly-stop-bits'. | |
19711 | ||
19712 | * config/ia64/ia64.c (automata_option "v"): Comment it. | |
07488f32 | 19713 | |
30028c85 VM |
19714 | 2002-10-07 Vladimir Makarov <vmakarov@redhat.com> |
19715 | ||
07488f32 | 19716 | * config/ia64/ia64.h (MASK_TUNE_STOP_BITS, TARGET_TUNE_STOP_BITS): |
30028c85 VM |
19717 | New macros. |
19718 | (TARGET_SWITCHES): Add entries for the new option. | |
07488f32 | 19719 | |
30028c85 VM |
19720 | * config/ia64/ia64.c (dfa_stop_insn, last_scheduled_insn, rtx |
19721 | dfa_pre_cycle_insn, ia64_nop): Don't make them as roots for GC. | |
19722 | (stops_p, stop_before_p, clocks_length, clocks, add_cycles): New | |
19723 | global variables. | |
19724 | (ia64_sched_reorder2): Set up `clocks'. | |
19725 | (ia64_variable_issue): Set up `stops_p' and reset `stop_before_p'. | |
19726 | (ia64_dfa_new_cycle): Set up add_cycle. Permit sorting ready | |
19727 | queue when TARGET_TUNE_STOP_BITS. | |
19728 | (bundling): Insert additional nops for MM-insns. | |
19729 | (final_emit_insn_group_barriers): Add insertion of stop bits | |
19730 | according `stops_p'. | |
19731 | (ia64_reorg): Initiate the new varibales. | |
19732 | ||
19733 | * doc/invoke.texi: Add description of option `-mtune-stop-bits'. | |
07488f32 | 19734 | |
30028c85 VM |
19735 | 2002-10-02 Vladimir Makarov <vmakarov@redhat.com> |
19736 | ||
19737 | * haifa-sched.c (schedule_block): Modify INSN_TICK of depended | |
19738 | insns at the end of block insn scheduling. | |
19739 | ||
19740 | 2002-09-30 Vladimir Makarov <vmakarov@redhat.com> | |
19741 | ||
19742 | * sched-deps.c (remove_dependence, group_leader): Remove it. | |
19743 | (add_dependence): Add dependence to group leader to. | |
19744 | (set_sched_group_p): Add dependence to the first insn of the | |
19745 | schedule group too. | |
19746 | (sched_analyze_insn): Make dependence to jump as anti-dependence. | |
19747 | Change true dependence by anti-dependence when | |
19748 | `reg_pending_barrier'. | |
19749 | ||
19750 | * sched-rgn.c (init_ready_list, can_schedule_ready_p, | |
19751 | add_branch_dependences): Ignore schedule groups. | |
19752 | ||
19753 | * sched-ebb.c (init_ready_list): Ditto. | |
19754 | ||
19755 | * (move_insn, set_priorities): Ditto. | |
19756 | ||
19757 | * config/ia64/ia64.c (ia64_sched_init): Check that schedule group | |
19758 | flag is clear after reload. | |
19759 | (adjust_cost): Change cost only for output dependencies. | |
07488f32 | 19760 | |
30028c85 | 19761 | * config/ia64/ia64.md: Add more insns into bypass for MM-insns. |
07488f32 | 19762 | |
30028c85 VM |
19763 | 2002-09-26 Vladimir Makarov <vmakarov@redhat.com> |
19764 | ||
19765 | * Makefile.in (sched-ebb.o): Add `$(TARGET_H)' to the entry. | |
19766 | ||
19767 | * target.h (gcc_target): Add member | |
19768 | `dependencies_evaluation_hook'. | |
19769 | ||
19770 | * target-def.h (TARGET_SCHED_DEPENDENCIES_EVALUATION_HOOK): New | |
19771 | macro. | |
19772 | (TARGET_SCHED): Add initiatialization of the new member. | |
19773 | ||
19774 | * sched-ebb.c: Include `target.h'. | |
19775 | (schedule_ebb): Call `dependencies_evaluation_hook'. | |
19776 | ||
19777 | * sched-rgn.c (schedule_region): Call | |
19778 | `dependencies_evaluation_hook'. | |
19779 | ||
19780 | * config/ia64/ia64.c (TARGET_SCHED_DEPENDENCIES_EVALUATION_HOOK): | |
19781 | New macro. | |
19782 | (ia64_dependencies_evaluation_hook): New function. | |
19783 | ||
19784 | * doc/tm.texi (TARGET_SCHED_DEPENDENCIES_EVALUATION_HOOK): | |
19785 | Describe the new hook. | |
07488f32 | 19786 | |
30028c85 VM |
19787 | 2002-09-25 Vladimir Makarov <vmakarov@redhat.com> |
19788 | ||
19789 | * target.h (gcc_target): Add members | |
19790 | `first_cycle_multipass_dfa_lookahead_guard' and `dfa_new_cycle'. | |
19791 | ||
19792 | * target-def.h (TARGET_SCHED_DFA_NEW_CYCLE, | |
19793 | TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD_GUARD): New | |
19794 | macros. | |
19795 | (TARGET_SCHED): Add initiatialization of the new members. | |
19796 | ||
19797 | * haifa-sched.c (schedule_insn): Update last_clock_var for the 1st | |
19798 | insn scheduling too. | |
19799 | (choose_ready): Use `first_cycle_multipass_dfa_lookahead_guard' to | |
19800 | initialize `ready_try'. | |
19801 | (schedule_block): Use `dfa_new_cycle'. Sort `ready' only unless | |
19802 | `dfa_new_cycle' says not to do it. | |
07488f32 | 19803 | |
30028c85 VM |
19804 | * config/ia64/ia64.md: Add DFA Itanium 1 description for insn |
19805 | bundling. | |
19806 | ||
19807 | * config/ia64/ia64.h (CPU_UNITS_QUERY): New macro. | |
19808 | ||
19809 | * config/ia64/ia64.c: Include `hashtab.h'. | |
19810 | (ia64_first_cycle_multipass_dfa_lookahead_guard, | |
19811 | ia64_dfa_new_cycle, final_emit_insn_group_barriers, | |
19812 | ia64_dfa_sched_reorder, get_free_bundle_state, free_bundle_state, | |
19813 | initiate_bundle_states, finish_bundle_states, bundle_state_hash, | |
19814 | bundle_state_eq_p, insert_bundle_state, | |
19815 | initiate_bundle_state_table, finish_bundle_state_table, | |
19816 | try_issue_nops, try_issue_insn, issue_nops_and_insn, get_max_pos, | |
19817 | get_template, get_next_important_insn, bundling): New functions. | |
19818 | (ia64_internal_sched_reorder): Remove it. | |
19819 | (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD_GUARD, | |
19820 | TARGET_SCHED_DFA_NEW_CYCLE): New macros. | |
19821 | (ia64_safe_itanium_requires_unit0): Remove it. | |
19822 | (group_barrier_needed_p): Place group barrier right before a real | |
19823 | insn. | |
19824 | (bundle, ia64_packet, NR_PACKETS, type_names, packets, packets): | |
19825 | Remove them. | |
19826 | (bundle_name): New variable. | |
19827 | (_0mii_, _0mmi_, _0mfi_, _0mmf_, _0bbb_, _0mbb_, _0mib_, _0mmb_, | |
19828 | _0mfb_, _0mlx_, _1mii_, _1mmi_, _1mfi_, _1mmf_, _1bbb_, _1mbb_, | |
19829 | _1mib_, _1mmb_, _1mfb_, _1mlx_, pos_1, pos_2, pos_3, pos_4, pos_5, | |
19830 | pos_6, dfa_stop_insn, last_scheduled_insn, dfa_state_size, | |
19831 | temp_dfa_state, prev_cycle_state): New global variables. | |
19832 | (insn_matches_slot, maybe_rotate, finish_last_head, | |
19833 | rotate_one_bundle, rotate_one_bundles, nop_cycles_until, | |
19834 | cycle_end_fill_slots, packet_matches_p, get_split, find_best_insn, | |
19835 | find_best_packet, itanium_reorder, dump_current_packet, | |
19836 | schedule_stop, gen_nop_type, ia64_emit_nops): Remove them. | |
19837 | (sched_data, sched_ready, sched_types): Remove them. | |
19838 | (ia64_sched_init): Initiate only `last_scheduled_insn' and call | |
19839 | `init_insn_group_barriers'. | |
19840 | (ia64_sched_reorder, ia64_sched_reorder2): Call | |
19841 | ia64_dfa_sched_reorder. | |
19842 | (ia64_variable_issue): Rewrite it. | |
19843 | (bundle_state): New structure. | |
19844 | (index_to_bundle_states, bundle_states_num, | |
19845 | allocated_bundle_states_chain, free_bundle_state_chain): New | |
19846 | global variables. | |
19847 | (ia64_sched_finish): Add stop bits and call `bundling' after the | |
19848 | 2nd insn scheduling. | |
19849 | (ia64_use_dfa_pipeline_interface): Return zero always. | |
19850 | (ia64_first_cycle_multipass_dfa_lookahead): Return 6 for the 2nd | |
19851 | insn scheduling. | |
19852 | (ia64_init_dfa_pre_cycle_insn): Initialize `dfa_state_size', | |
19853 | `temp_dfa_state', `prev_cycle_state', and `dfa_stop_insn'. | |
19854 | (ia64_reorg): Add bundling insns. | |
19855 | ||
19856 | * doc/tm.texi | |
19857 | (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD_GUARD, | |
19858 | TARGET_SCHED_DFA_NEW_CYCLE): Describe the new hooks. | |
07488f32 | 19859 | |
30028c85 VM |
19860 | 2002-09-23 Vladimir Makarov <vmakarov@redhat.com> |
19861 | ||
19862 | * config/ia64/ia64.md: Add Itanium1 DFA description. | |
19863 | (itanium_class): Add `nop' and `pre_cycle'. Add | |
19864 | define_function_unit for `nop'. | |
19865 | (nop): Change attribute `itanium_class'. | |
19866 | (pre_cycle): New define_insn. | |
19867 | ||
19868 | * config/ia64/ia64-protos.h (bundling_p): New external variable. | |
19869 | (ia64_st_address_bypass_p, ia64_ld_address_bypass_p, | |
19870 | ia64_produce_address_p): New function prototypes. | |
19871 | ||
19872 | * config/ia64/ia64.c (bundling_p): New global variable. | |
19873 | (ia64_use_dfa_pipeline_interface, | |
19874 | ia64_first_cycle_multipass_dfa_lookahead, | |
19875 | ia64_init_dfa_pre_cycle_insn, ia64_dfa_pre_cycle_insn): New | |
19876 | functions. | |
19877 | (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE, | |
19878 | TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD, | |
19879 | TARGET_SCHED_INIT_DFA_PRE_CYCLE_INSN, | |
19880 | TARGET_SCHED_DFA_PRE_CYCLE_INSN): New macros. | |
19881 | (ia64_sched_init, ia64_sched_reorder, ia64_sched_reorder2, | |
19882 | ia64_variable_issue, ia64_sched_finish): Do nothing before reload. | |
19883 | (dfa_pre_cycle_insn): New variable. | |
07488f32 | 19884 | |
30028c85 VM |
19885 | 2002-09-20 Vladimir Makarov <vmakarov@redhat.com> |
19886 | ||
19887 | * rtl.def (FINAL_PRESENCE_SET, FINAL_ABSENCE_SET): New | |
19888 | constructions. | |
19889 | ||
19890 | * genattrtab.h (gen_final_presence_set, gen_final_absence_set): | |
19891 | New function prototypes. | |
19892 | ||
19893 | * genattrtab.c (main): Process the new constructions. | |
19894 | ||
19895 | * genautomata.c (gen_presence_absence_set, | |
19896 | process_presence_absence_names, process_presence_absence_patterns, | |
19897 | add_presence_absence, check_absence_pattern_sets): Add parameter | |
19898 | `final_p'. | |
19899 | (unit_decl): Add new members `final_presence_list' and | |
19900 | `final_absence_list'. | |
19901 | (unit_pattern_rel_decl): Add new member `final_p'. | |
19902 | (gen_final_presence_set, gen_final_absence_set): New functions. | |
19903 | (process_decls): Use member `final_p'. | |
19904 | (temp_reserv): New global variable. | |
19905 | (reserv_sets_are_intersected): Add processing `final_presence_set' | |
19906 | and `final_absence_set'. | |
19907 | (initiate_states): Allocate `temp_reserv'. | |
19908 | (unit_final_presence_set_table, unit_final_absence_set_table): New | |
19909 | gloabal variables. | |
19910 | (initiate_presence_absence_pattern_sets): Initiate them. | |
19911 | (NDFA_to_DFA): Fix typo. | |
19912 | (output_description): Output `final_presence_set' and | |
19913 | `final_absence_set'. | |
19914 | ||
19915 | * doc/md.texi (final_presence_set, final_absence_set): Describe | |
19916 | them. | |
07488f32 | 19917 | |
30028c85 VM |
19918 | 2002-09-20 Vladimir Makarov <vmakarov@redhat.com> |
19919 | ||
19920 | * genautomata.c (transform_3): Process a missing case (nothing on | |
19921 | unit place). | |
19922 | ||
19923 | 2002-09-20 Vladimir Makarov <vmakarov@redhat.com> | |
19924 | ||
19925 | * rtl.def (DEFINE_QUERY_CPU_UNIT, AUTOMATA_OPTION): Change | |
19926 | comments about queried units and the minimization. | |
07488f32 | 19927 | |
30028c85 | 19928 | * doc/md.texi: Ditto. |
07488f32 | 19929 | |
30028c85 VM |
19930 | * genautomata.c (create_composed_state): Return nonzero if the new |
19931 | state has been created. | |
19932 | (first_cycle_unit_presence): New function. | |
19933 | (state_is_differed): Add new parameter. Use the new function. | |
19934 | Take queried units into account. | |
19935 | (partition_equiv_class): Pass additional parameter to | |
19936 | `state_is_differed'. | |
19937 | (merge_states): Process composed states too. | |
19938 | (build_automaton, create_automata, output_min_issue_delay_table, | |
19939 | output_tables, output_statistics): Output more information. | |
19940 | (output_reserved_units_table): Use function | |
19941 | `first_cycle_unit_presence'. | |
19942 | (output_tables): Output table of queried units even if the | |
19943 | minimization is switched on. | |
19944 | (write_automata): Output code for querying units even if the | |
19945 | minimization is switched on. | |
07488f32 | 19946 | |
30028c85 VM |
19947 | 2002-09-19 Vladimir Makarov <vmakarov@redhat.com> |
19948 | ||
19949 | * rtl.def (PRESENCE_SET, ABSENCE_SET): Add comments about extended | |
19950 | syntax of the constructions. | |
07488f32 | 19951 | |
30028c85 VM |
19952 | * doc/md.texi (PRESENCE_SET, ABSENCE_SET): Add description of |
19953 | extended syntax of the constructions. | |
07488f32 | 19954 | |
30028c85 VM |
19955 | * genautomata.c (unit_rel_decl): Rename it to |
19956 | `unit_pattern_rel_decl'. | |
19957 | (pattern_set_el, pattern_reserv): New structures. | |
19958 | (pattern_set_el_t, pattern_reserv_t): New types. | |
19959 | (gen_presence_absence_set): New function. | |
19960 | (process_presence_absence): Remove it. | |
19961 | (process_presence_absence_names, | |
19962 | process_presence_absence_patterns): New functions. | |
19963 | (get_presence_absence_set): Remove it. | |
19964 | (initiate_presence_absence_sets): Rename it on | |
19965 | `initiate_presence_absence_pattern_sets'. Use new function | |
19966 | `form_reserv_sets_list'. | |
19967 | (form_reserv_sets_list, check_presence_pattern_sets, | |
19968 | check_absence_pattern_sets, output_pattern_set_el_list): New | |
19969 | functions. | |
19970 | (unit_decl): Change types of members `presence_list' and | |
19971 | `absence_list'. | |
19972 | (unit_rel_decl): Rename member `names_num' to `all_names_num'. | |
19973 | (decl): Change types of members `excl', `presence', and `absence'. | |
19974 | (get_str_vect): Rename `par_flag' to `paren_p'. Add null element | |
19975 | at the end of the vector. | |
19976 | (gen_cpu_unit, gen_query_cpu_unit, gen_bypass, gen_excl_set, | |
19977 | gen_automaton, gen_regexp_repeat, gen_regexp_allof, | |
19978 | gen_regexp_oneof, gen_regexp_sequence): Use boolean values. | |
19979 | (gen_presence_set, gen_absence_set): Use new function | |
19980 | `gen_presence_absence_set'. | |
19981 | (add_presence_absence): Process `pattern_list' instead of | |
19982 | `source_list'. | |
19983 | (process_decls): USe new functions | |
19984 | `process_presence_absence_names' and | |
19985 | `process_presence_absence_patterns'. | |
19986 | (reserv_sets_are_intersected): Use new function | |
19987 | `check_presence_pattern_sets'. | |
19988 | (presence_set, absence_set): Remove them. | |
19989 | (unit_presence_set_table, unit_absence_set_table): New global | |
19990 | variables. | |
19991 | (output_description): Use new function | |
19992 | `output_pattern_set_el_list'. | |
19993 | (generate): Use `initiate_presence_absence_pattern_sets'. | |
07488f32 | 19994 | |
30028c85 VM |
19995 | 2002-09-18 Vladimir Makarov <vmakarov@redhat.com> |
19996 | ||
19997 | * genattr.c (main): Add output of prototype of new interface | |
19998 | function `dfa_clean_insn_cache'. | |
19999 | ||
20000 | * genautomata.c (output_dfa_clean_insn_cache_func): New function. | |
20001 | (DFA_CLEAN_INSN_CACHE_FUNC_NAME): New macro. | |
20002 | (output_dfa_start_func): Use function `dfa_clean_insn_cache' in | |
20003 | the generated code. | |
20004 | (write_automata): Call the new function. | |
07488f32 | 20005 | |
62c9aa5f | 20006 | 2003-01-09 Jan Hubicka <jh@suse.cz> |
cb297538 | 20007 | |
17211ab5 GK |
20008 | * i386.md (unit, prefix_0f, memory attributes): Hanlde sseicvt |
20009 | correctly. | |
cb297538 | 20010 | |
3a6e2189 PC |
20011 | 2003-01-09 Paolo Carlini <pcarlini@unitus.it> |
20012 | ||
20013 | * doc/tm.texi (EXTRA_ADDRESS_CONSTRAINT): Fix typo. | |
20014 | ||
62c9aa5f | 20015 | 2003-01-09 J"orn Rennecke <joern.rennecke@superh.com> |
97488870 R |
20016 | |
20017 | * defaults.h (EXTRA_MEMORY_CONSTRAINT): Add STR argument. | |
20018 | (EXTRA_ADDRESS_CONSTRAINT): Likewise. | |
20019 | (CONSTRAINT_LEN): Provide default definition. | |
20020 | (CONST_OK_FOR_CONSTRAINT_P): Likewise. | |
20021 | (CONST_DOUBLE_OK_FOR_CONSTRAINT_P): Likewise. | |
20022 | (EXTRA_CONSTRAINT_STR): Likewise. | |
20023 | (REG_CLASS_FROM_CONSTRAINT): Define. | |
20024 | * genoutput.c (check_constraint_len, constraint_len): New functions. | |
20025 | (validate_insn_alternatives): Check CONSTRAINT_LEN for each | |
20026 | constraint / modifier. | |
20027 | (gen_insn): Call check_constraint_len. | |
20028 | * local-alloc.c (block_alloc): Update to use new macros / pass | |
20029 | second argument to EXTRA_{MEMORY,ADDRESS}_CONSTRAINT. | |
20030 | * ra-build.c (handle_asm_insn): Likewise. | |
20031 | * recog.c (asm_operand_ok, preprocess_constraints): Likewise. | |
20032 | (constrain_operands, peep2_find_free_register): Likewise. | |
20033 | * regclass.c (record_operand_costs, record_reg_classes): Likewise. | |
20034 | * regmove.c (find_matches): Likewise. | |
20035 | * reload.c (push_secondary_reload, find_reloads): Likewise. | |
20036 | (alternative_allows_memconst): Likewise. | |
20037 | * reload1.c (maybe_fix_stack_asms): Likewise. | |
20038 | (reload_cse_simplify_operands): Likewise. | |
20039 | * stmt.c (parse_output_constraint, parse_input_constraint): Likewise. | |
20040 | * doc/tm.texi (CONSTRAINT_LEN, REG_CLASS_FROM_CONSTRAINT): Document. | |
20041 | (CONST_OK_FOR_CONSTRAINT_P): Likewise. | |
20042 | (CONST_DOUBLE_OK_FOR_CONSTRAINT_P, EXTRA_CONSTRAINT_STR): Likewise. | |
20043 | (EXTRA_MEMORY_CONSTRAINT, EXTRA_ADDRESS_CONSTRAINT): Add STR argument. | |
20044 | * config/s390/s390.h (EXTRA_MEMORY_CONSTRAINT): Likewise. | |
e2c734c1 R |
20045 | |
20046 | * sh.h (OVERRIDE_OPTIONS): Allow first scheduling pass for SH5. | |
20047 | ||
fc182093 KH |
20048 | 2003-01-09 Kazu Hirata <kazu@cs.umass.edu> |
20049 | ||
20050 | * config/h8300/h8300.md (*extzv_1_r_h8300): Correct the insn | |
20051 | length. | |
20052 | (*extzv_1_r_h8300hs): Likewise. | |
20053 | (*extzv_1_r_inv_h8300): Likewise. | |
20054 | (*extzv_1_r_inv_h8300hs): Likewise. | |
20055 | ||
3b1c9927 KH |
20056 | 2003-01-09 Kazu Hirata <kazu@cs.umass.edu> |
20057 | ||
20058 | * config/h8300/h8300.h (PREDICATE_CODES): New. | |
20059 | ||
867504e6 KH |
20060 | 2003-01-09 Kazu Hirata <kazu@cs.umass.edu> |
20061 | ||
20062 | * config/h8300/h8300.md (*addsi3_upper): New. | |
20063 | (*iorsi3_shift): Likewise. | |
20064 | (two splitters): Likewise. | |
20065 | (*addsi3_shift): Likewise. | |
20066 | (two splitters): Likewise. | |
20067 | ||
4a69cf79 JZ |
20068 | 2003-01-09 Josef Zlomek <zlomj9am@artax.karlin.mff.cuni.cz> |
20069 | ||
20070 | * Makefile.in (optabs.o): Add dependency on basic-block.h. | |
20071 | * basic-block.h (control_flow_insn_p): Fuction was exported. | |
20072 | * cfgbuild.c (control_flow_insn_p): Fuction was made non-static. | |
20073 | * optabs.c (emit_libcall_block): Emit REG_LIBCALL and REG_RETVAL | |
20074 | notes only when the region is contained in a single basic block. | |
20075 | ||
4c46ea23 EB |
20076 | 2003-01-09 Eric Botcazou <ebotcazou@libertysurf.fr> |
20077 | ||
20078 | PR inline-asm/8832 | |
20079 | * tree.h (expand_asm): New prototype. | |
20080 | * stmt.c (expand_asm): Set the MEM_VOLATILE_P flag if instructed | |
20081 | to do so. | |
20082 | * c-semantics (genrtl_asm_stmt): Pass the RID_VOLATILE qualifier | |
20083 | down to expand_asm. | |
20084 | * c-typeck.c (simple_asm_stmt): Set the RID_VOLATILE qualifier. | |
20085 | * rtlanal.c (volatile_insn_p) [ASM_INPUT]: Test the MEM_VOLATILE_P flag. | |
20086 | (volatile_refs_p) [ASM_INPUT]: Likewise. | |
20087 | (side_effects_p) [ASM_INPUT]: Likewise. | |
20088 | ||
62c9aa5f | 20089 | 2003-01-09 Jan Hubicka <jh@suse.cz> |
f56e86bd JH |
20090 | |
20091 | * i386.md (*mul*): FIx constraints; remove confused comment; fix | |
20092 | athlon_decode attributes | |
20093 | (imul/k8 optimization peep2s): New. | |
20094 | ||
20095 | * athlon.md (athlon_ssecmp*): Handle ssecomi as well. | |
20096 | * i386.md (type attribute): Add ssecomi. | |
20097 | (unit, memory, prefix attributes): Handle ssecomi. | |
20098 | (cvt?2? patterns): Fix athlon_decode attribute | |
20099 | (comi patterns): Set attribute to ssecomi. | |
20100 | ||
20101 | PR target/8343 | |
20102 | * m68k.md (umulsidi, mulsidi expanders): Use register operand. | |
20103 | ||
98c29f71 RS |
20104 | 2003-01-09 Richard Sandiford <rsandifo@redhat.com> |
20105 | ||
20106 | * config/mips/mips.h (PREDICATE_CODES): Add ADDRESSOF for predicates | |
20107 | that match register_operands. | |
20108 | * config/mips/mips.c (reg_or_0_operand, true_reg_or_0_operand): Make | |
20109 | register_operand the default case. | |
20110 | ||
bbb818c6 EB |
20111 | 2003-01-09 Eric Botcazou <ebotcazou@libertysurf.fr> |
20112 | ||
20113 | PR c/8032 | |
20114 | * c-typeck.c (process_init_element) [RECORD_TYPE]: For | |
20115 | an empty element, do not advance the pointer to unfilled | |
20116 | fields if there are pending initializers. | |
20117 | ||
90961eff AJ |
20118 | 2003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de> |
20119 | ||
20120 | * Makefile.in (ORDINARY_FLAGS_TO_PASS): Also pass DESTDIR. | |
20121 | (install-gcc-tooldir, install-cpp, installdirs, | |
20122 | install-common, install-driver, install-info, install-man, | |
20123 | install-headers, install-include-dir, install-headers-tar, | |
20124 | install-headers-cpio, install-headers-cp, install-mkheaders, | |
20125 | install-collect2, uninstall): Prepend $(DESTDIR) to | |
20126 | destination paths in all (un)installation commands. | |
20127 | (install-driver): Rewrite $(LN) commands to support DESTDIR | |
20128 | with "ln" as well as with "ln -s". | |
20129 | (installdirs): Simply use mkinstalldirs. | |
20130 | (install-libgcc, install-multilib): Also pass DESTDIR. | |
20131 | * mklibgcc.in: Prepend $(DESTDIR) to $(libsubdir) in the | |
20132 | installation destination variable ldir. | |
20133 | * config/alpha/t-osf4, config/arm/t-netbsd, | |
20134 | config/ia64/t-hpux, config/mips/t-iris5-6, | |
20135 | config/pa/t-hpux-shlib, config/rs6000/t-aix43, | |
20136 | config/rs6000/t-aix52, config/t-slibgcc-elf-ver, | |
20137 | config/t-slibgcc-sld: Prepend $$(DESTDIR) to $$(slibdir) | |
20138 | in the definition of SHLIB_INSTALL. | |
20139 | * config/arc/t-arc (install-multilib-arc): Prepend $(DESTDIR) to | |
20140 | $(libsubdir) in the installation commands. | |
20141 | ||
8b26829f KK |
20142 | 2003-01-08 Kaz Kojima <kkojima@gcc.gnu.org> |
20143 | ||
20144 | * config/sh/sh.h (CASE_VECTOR_MODE): Use SImode for a | |
20145 | non-optimizing compile. | |
20146 | (ASM_OUTPUT_ADDR_VEC_ELT): Use .long for a non-optimizing | |
20147 | compile. | |
20148 | ||
fe77449a DR |
20149 | 2003-01-08 Douglas B Rupp <rupp@gnat.com> |
20150 | ||
20151 | * config/i386/i386.c (ix86_attribute_table): Add new attributes | |
20152 | ms_struct and gcc_struct. | |
20153 | (ix86_handle_struct_attribute): New function. | |
20154 | (ix86_ms_bitfield_layout_p): Update to take new attributes | |
20155 | into account. | |
20156 | * doc/extend.texi: Document new attributes. | |
20157 | * testsuite/gcc.dg/bf-ms-attrib.c: New test. | |
20158 | ||
98417968 DS |
20159 | 2003-01-08 Danny Smith <dannysmith@users.sourceforge.net> |
20160 | ||
07488f32 ZW |
20161 | PR optimization/8750 |
20162 | * config/i386/i386.c (ix86_expand_prologue): Don't allow | |
20163 | scheduling pass to move insns across __alloca call. | |
98417968 | 20164 | |
e46e3130 DJ |
20165 | 2003-01-08 Dale Johannesen <dalej@apple.com> |
20166 | ||
07488f32 ZW |
20167 | * config/rs6000/rs6000.md: Replace *store_multiple_string |
20168 | with *stmsi[3-8]. | |
e46e3130 | 20169 | |
c40e5172 JS |
20170 | 2003-01-08 Jeff Sturm <jsturm@one-point.com> |
20171 | ||
20172 | PR target/9210 | |
20173 | * config/rs6000/rs6000.c (rs6000_elf_encode_section_info): | |
20174 | Set SYMBOL_REF_FLAG on local data sym_ref. | |
20175 | ||
de62b72c | 20176 | 2003-01-08 Dale Johannesen <dalej@apple.com> |
07488f32 ZW |
20177 | |
20178 | * function.c (assign_parms): Don't set pretend_args_size if | |
de62b72c | 20179 | REG_PARM_STACK_SPACE. |
07488f32 | 20180 | config/rs6000/rs6000.c (setup_incoming_varargs): Don't set |
de62b72c DJ |
20181 | pretend_args_size. |
20182 | ||
25839c41 NN |
20183 | 2003-01-08 Nathanael Nerode <neroden@gcc.gnu.org> |
20184 | ||
20185 | * gcc.hlp: Delete. | |
20186 | ||
62c9aa5f | 20187 | 2003-01-09 Jan Hubicka <jh@suse.cz> |
4bdc8610 JH |
20188 | |
20189 | * i386.c (ix86_expand_int_addcc): Fix thinko. | |
20190 | ||
5b71a4e7 DE |
20191 | 2003-01-08 David Edelsohn <edelsohn@gnu.org> |
20192 | ||
20193 | * config/rs6000/rs6000.h (FUNCTION_MODE): Always use SImode. | |
20194 | * config/rs6000/rs6000.c (TARGET_ASM_CAN_OUTPUT_MI_THUNK): Redefine | |
20195 | as hook_bool_tree_hwi_hwi_tree_true. | |
20196 | (rs6000_emit_allocate_stack): Use TARGET_32BIT. | |
20197 | (rs6000_emit_epilogue): Same. | |
20198 | (rs6000_output_mi_thunk): Re-implement as RTL. | |
20199 | * config/rs6000/xcoff.h (ASM_DECLARE_FUNCTION_NAME): Call | |
20200 | xcoffout_declare_function if any debugging enabled. | |
20201 | ||
2d2a50c3 CD |
20202 | 2003-01-08 Chris Demetriou <cgd@broadcom.com> |
20203 | ||
20204 | * config.gcc (mipsisa32r2-*-elf*, mipsisa32r2el-*-elf*): New | |
20205 | targets, to support MIPS32 Release 2 (MIPS32R2) configurations. | |
20206 | * config/mips/mips.h (enum processor_type): Rename | |
20207 | PROCESSOR_R4KC to PROCESSOR_4KC, PROCESSOR_R5KC to | |
20208 | PROCESSOR_5KC, and PROCESSOR_R20KC to PROCESSOR_20KC. | |
20209 | Add PROCESSOR_M4K. | |
20210 | (TARGET_MIPS4KC, TARGET_MIPS5KC): Update for the renaming. | |
20211 | (ISA_MIPS32R2): New define. | |
20212 | (GENERATE_MULT3_SI, ISA_HAS_CONDMOVE, ISA_HAS_8CC) | |
20213 | (ISA_HAS_MADD_MSUB, ISA_HAS_CLZ_CLO) | |
20214 | (ISA_HAS_PREFETCH): Add support for MIPS32R2. | |
20215 | (MIPS_ISA_DEFAULT): Likewise. Also, fix indentation. | |
20216 | (TARGET_CPU_CPP_BUILTINS): Add support for MIPS32R2. Add new | |
20217 | predefine __mips_isa_rev for MIPS32, MIPS32R2, and MIPS64. | |
20218 | (ISA_HAS_ROTR_SI): Add support for MIPS32R2, and avoid if | |
20219 | compiling MIPS16 code. | |
20220 | (ISA_HAS_ROTR_DI): Do not use if compiling MIPS16 code, and fix | |
20221 | comment. | |
20222 | (ISA_HAS_SEB_SEH): New define. | |
20223 | (ASM_SPEC, LINK_SPEC): Pass -mips32r2 to assembler and linker. | |
20224 | * config/mips/mips.c (mips_cpu_info_table): Adjust for enum | |
20225 | processor_type value renaming. Add support for MIPS32R2. | |
20226 | Clean up comments, and move "sb1" entry with other MIPS64 CPU | |
20227 | entries. | |
20228 | (override_options): Reimplement -mipsN option handling so that | |
20229 | it will work correctly for -mips32r2. Avoid branch-likely | |
20230 | instructions on MIPS32R2. | |
20231 | * config/mips/mips.md (mulsi3_mult3): Add support for MIPS32R2. | |
20232 | (extendhisi2): Use extendhisi2_hw if ISA_HAS_SEB_SEH. | |
20233 | (extendqisi2): Use extendqisi2_hw if ISA_HAS_SEB_SEH. | |
20234 | (extendhisi2_hw, extendqisi2_hw): New. | |
20235 | * config/mips/netbsd.h (TARGET_CPU_CPP_BUILTINS): Add support | |
20236 | for MIPS32R2. Add new predefine __mips_isa_rev for MIPS32, | |
20237 | MIPS32R2, and MIPS64. | |
20238 | (LINK_SPEC): Pass -mips32r2 to linker. | |
20239 | * config/mips/t-isa3264: Built -mips32r2 multilibs. | |
20240 | * doc/invoke.texi (MIPS Options): Add -mips32r2, add support | |
20241 | for mips32r2 in the -march description. Alphabetically sort | |
20242 | CPU names in the -march description. Add long-missed -mips32 | |
20243 | and -mips64 to MIPS option summary. | |
20244 | ||
20245 | * config.gcc: Update copyright years to include 2003. | |
20246 | * config/mips/mips.c: Likewise. | |
20247 | * config/mips/mips.h: Likewise. | |
20248 | * config/mips/mips.md: Likewise. | |
20249 | * config/mips/netbsd.h: Likewise. | |
20250 | * doc/invoke.texi: Likewise. | |
20251 | ||
918c4fe4 AS |
20252 | 2003-01-08 Andreas Schwab <schwab@suse.de> |
20253 | ||
20254 | * aclocal.m4 (gcc_AC_INITFINI_ARRAY): Fix spelling of cache | |
20255 | variable. | |
20256 | * configure: Regenerated. | |
20257 | ||
c5e7ce43 KH |
20258 | 2003-01-08 Kazu Hirata <kazu@cs.umass.edu> |
20259 | ||
20260 | * config/h8300/h8300.c (output_logical_op): Replace byte/word | |
20261 | extraction of det with b0, b1, w0, w2, etc. | |
20262 | (compute_logical_op_length): Likewise. | |
20263 | (compute_logical_op_cc): Likewise. | |
20264 | ||
eb8a8ec4 KH |
20265 | 2003-01-08 Kazu Hirata <kazu@cs.umass.edu> |
20266 | ||
20267 | * config/h8300/h8300.h (CONSTANT_ADDRESS_P): Allow CONST and | |
20268 | HIGH on all variants. | |
20269 | ||
62c9aa5f | 20270 | 2003-01-08 Josef Zlomek <zlomj9am@artax.karlin.mff.cuni.cz> |
07488f32 | 20271 | |
56f15830 JZ |
20272 | * Makefile.in (PARTITION_H): New. |
20273 | (BASIC_BLOCK_H): Added hard-reg-set.h and $(PARTITION_H). | |
20274 | * basic-block.h: Include hard-reg-set.h. | |
20275 | ||
ab57893b RE |
20276 | 2003-01-08 Richard Earnshaw <rearnsha@arm.com> |
20277 | ||
20278 | * arm.h (ENABLE_XF_PATTERNS): Delete. | |
20279 | * arm.md (addxf3, subxf3, mulxf3, divxf3, modxf3, negxf2, absxf2) | |
20280 | (sqrtxf2, floatsixf2, fix_truncxfsi2, truncxfsf2, truncxfdf2) | |
20281 | (extendsfxf2, extenddfxf2, movxf, cmpxf, cmpxf_insn) | |
20282 | (cmpxf_trap): Delete. | |
20283 | (movxf_hard_insn): Remove test of ENABLE_XF_PATTERNS. | |
20284 | ||
62c9aa5f | 20285 | 2003-01-08 Jan Hubicka <jh@suse.cz> |
7b52eede JH |
20286 | |
20287 | * i386.md (adddi3_carry_rex64, subdi3_carry_rex64): Name pattern. | |
20288 | (addhi3_carry, addqi3_carry, subhi3_carry, subqi3_carry): New patterns. | |
20289 | (add??cc): New expanders. | |
20290 | * i386.c (expand_int_addcc): New function. | |
20291 | * i386-protos.h (expand_int_addcc): Declare. | |
20292 | ||
20293 | * alias.c (memory_modified_1): New static function. | |
20294 | (memory_modified): New static varaible. | |
20295 | (memory_modified_in_insn_p): New global function. | |
20296 | * rtl.h (memory_modified_in_insn_p): Declare. | |
20297 | * rtlanal.c (modified_between_p, modified_in_p): Be smart about memory | |
20298 | references. | |
20299 | ||
20300 | * expr.h (emit_conditional_add): Declare. | |
20301 | ||
74049755 JJ |
20302 | 2003-01-07 Janis Johnson <janis187@us.ibm.com> |
20303 | ||
20304 | PR other/8947 | |
20305 | * doc/invoke.texi (-malign-double): Explain that the option breaks | |
20306 | binary compatibility. | |
20307 | ||
e7edc5a0 AS |
20308 | 2003-01-08 Andreas Schwab <schwab@suse.de> |
20309 | ||
20310 | * config.gcc (m68k-*-linux*): Don't set extra_parts and gnu_ld, | |
20311 | should come from the generic *-*-linux* entry. | |
20312 | ||
62c9aa5f | 20313 | 2003-01-07 Jan Hubicka <jh@suse.cz> |
9635cfad JH |
20314 | |
20315 | * cselib.c (cselib_current_insn_in_libcall): New static variable. | |
20316 | (new_elt_loc_list, cselib_process_insn, cselib_init): Keep track on whether | |
20317 | we are inside libcall. | |
20318 | * cselib.h (elt_loc_list): Add in_libcall. | |
20319 | * gcse.c (do_local_cprop): Do not copy propagate using insns | |
20320 | in libcalls. | |
20321 | ||
3ee04299 DE |
20322 | 2003-01-07 David Edelsohn <edelsohn@gnu.org> |
20323 | ||
20324 | * doc/tm.texi (TARGET_SCHED_VARIABLE_ISSUE): CLOBBER and USE do | |
20325 | not normally affect to issue rate. | |
20326 | ||
62c9aa5f | 20327 | 2003-01-07 Jan Hubicka <jh@suse.cz> |
068f5dea JH |
20328 | |
20329 | * genopinit.c (optabs): Add addc_optab. | |
20330 | * ifcvt.c (noce_try_store_flag): Rename to ... | |
20331 | (noce_try_addcc): ... this one; handle generic conditional increment. | |
20332 | (noce_process_if_block): Update noce_try_addcc call. | |
20333 | * optabs.c (emit_conditional_add): New. | |
20334 | (init_obtabs): Initialize addc_optab. | |
20335 | * optabs.h (optab_index): Add OTI_addcc. | |
20336 | (addcc_optab): New macro. | |
20337 | * md.texi: Document addMcc | |
20338 | ||
20339 | PR target/8322 | |
20340 | * i386.c (ix86_init_mmx_sse_builtins): Constify arguments of loads. | |
20341 | * xmmintrin.h (_mm_load*_si128. _mm_store*_si128): Add casts. | |
20342 | * xmmintrin.h (_mm_load*_si128. _mm_store*_si128): Add casts. | |
20343 | ||
20344 | * reload1.c (delete_output_reload): Avoid repeated attempts | |
20345 | to delete insn. | |
20346 | ||
eb70d86d AS |
20347 | 2003-01-07 Andreas Schwab <schwab@suse.de> |
20348 | ||
e7edc5a0 AS |
20349 | * configure.in: Restore CFLAGS before gcc_AC_INITFINI_ARRAY. |
20350 | Move --enable-initfini-array check ... | |
20351 | * aclocal.m4 (gcc_AC_INITFINI_ARRAY): ... here. Define | |
20352 | HAVE_INITFINI_ARRAY also when --enable-initfini-array is given. | |
20353 | Don't AC_SUBST gcc_cv_initfinit_array. Use AC_TRY_RUN. | |
20354 | * configure: Rebuild. | |
eb70d86d | 20355 | |
1afdf91c RH |
20356 | 2003-01-07 Richard Henderson <rth@redhat.com> |
20357 | ||
e7edc5a0 AS |
20358 | * alias.c (find_base_value): Only use new_reg_base_value shortcut |
20359 | if the register is set once. | |
1afdf91c | 20360 | |
36210500 | 20361 | 2003-01-07 Sylvain Pion <Sylvain.Pion@mpi-sb.mpg.de> |
07488f32 | 20362 | |
36210500 SP |
20363 | * config/i386/i386.c (ix86_init_mmx_sse_builtins): |
20364 | __builtin_ia32_ldmxcsr and __builtin_ia32_stmxcsr are SSE, not MXX. | |
20365 | * config/i386/i386.md (ldmxcsr, stmxcsr): SSE, not MMX. | |
20366 | ||
cb25b0ce BK |
20367 | 2003-01-07 Benjamin Kosnik <bkoz@redhat.com> |
20368 | Sunil Davasam <sunil.k.davasam@intel.com> | |
20369 | ||
07488f32 | 20370 | PR libstdc++/9076 |
cb25b0ce BK |
20371 | * unwind-dw2.c (execute_cfa_program): DW_CFA_undefined, |
20372 | DW_CFA_same_value, read next and ignore. | |
20373 | ||
94c040bd RH |
20374 | 2003-01-07 Richard Henderson <rth@redhat.com> |
20375 | ||
20376 | * cfganal.c (flow_call_edges_add): Don't crash on noreturn call. | |
20377 | ||
f6cb56fa DB |
20378 | 2003-01-07 Daniel Berlin <dberlin@dberlin.org> |
20379 | ||
20380 | * cfg.c: Include alloc-pool.h | |
20381 | (edge_pool): New pool. | |
20382 | (bb_pool): New pool. | |
20383 | (first_deleted_edge): Remove. | |
20384 | (first_deleted_block): Remove. | |
20385 | (init_flow): Alloc/free the pools. | |
20386 | (free_edge): Use pools. | |
20387 | (alloc_block): Ditto. | |
20388 | (expunge_block): Ditto. | |
20389 | (cached_make_edge): Ditto. | |
20390 | ||
20391 | * Makefile.in (cfg.o): Add alloc-pool.h dependency. | |
20392 | ||
20393 | 2003-01-07 Daniel Berlin <dberlin@dberlin.org> | |
20394 | ||
20395 | * et-forest.c: Include alloc-pool.h. | |
20396 | (struct et_forest): Add node_pool and occur_pool. | |
20397 | (et_forest_create): Create the new pools. | |
20398 | (et_forest_delete): Delete them. | |
20399 | (et_forest_add_node): Allocate and free using pools. | |
20400 | (et_forest_add_edge): Ditto. | |
20401 | (et_forest_remove_node): Ditto. | |
20402 | (et_forest_remove_edge): Ditto. | |
20403 | ||
20404 | * Makefile.in (et-forest.o): Add alloc-pool.h dependency. | |
20405 | ||
f9ac2f95 KH |
20406 | 2003-01-07 Kazu Hirata <kazu@cs.umass.edu> |
20407 | ||
20408 | * config/h8300/h8300.c (output_logical_op): Simplify and | |
20409 | optimize the handling of SImode. | |
20410 | * config/h8300/h8300.c (compute_logical_op_length): Update | |
20411 | accordingly. | |
20412 | * config/h8300/h8300.c (compute_logical_op_cc): Likewise. | |
20413 | ||
83282119 RS |
20414 | 2003-01-07 Richard Sandiford <rsandifo@redhat.com> |
20415 | ||
20416 | * config/mips/mips.c (mips_va_arg): In the EABI code, apply the | |
20417 | big-endian correction to indirect arguments too. | |
20418 | ||
59a4c851 AH |
20419 | 2003-01-06 Aldy Hernandez <aldyh@redhat.com> |
20420 | ||
20421 | Segher Boessenkool <segher@koffie.nl> | |
20422 | ||
36210500 SP |
20423 | * config/rs6000/rs6000.c (rs6000_reg_names): Add missing registers. |
20424 | (alt_reg_names): Ditto, fix formatting. | |
20425 | * config/rs6000/rs6000.h (DEBUG_REGISTER_NAMES): Fix formatting. | |
59a4c851 | 20426 | |
7798db98 KH |
20427 | 2003-01-06 Kazu Hirata <kazu@cs.umass.edu> |
20428 | ||
20429 | * config/h8300/h8300.c (final_prescan_insn): Constify uid. | |
20430 | (output_logical_op): Constify intval and det. | |
20431 | (compute_logical_length): Likewise. | |
20432 | (compute_logical_cc): Likewise. | |
20433 | (output_a_shift): Constify mask. | |
20434 | (h8300_encode_label): Constify len. | |
20435 | ||
4705d102 KH |
20436 | 2003-01-06 Kazu Hirata <kazu@cs.umass.edu> |
20437 | ||
20438 | * config/h8300/h8300.c (h8300_expand_prologue): Remove fsize. | |
20439 | (h8300_expand_epilogue): Likewise. | |
20440 | ||
98c9a8e8 AH |
20441 | 2003-01-06 Aldy Hernandez <aldyh@redhat.com> |
20442 | ||
20443 | Segher Boessenkool <segher@koffie.nl> | |
20444 | ||
36210500 SP |
20445 | * config/rs6000/altivec.md: Remove spaces from assembler |
20446 | instruction argument lists. | |
07488f32 | 20447 | |
86143814 MH |
20448 | 2003-01-07 Michael Hayes <m.hayes@elec.canterbury.ac.nz> |
20449 | ||
20450 | * config/c4x/c4x.c (c4x_naked_function_p): Rename from | |
20451 | c4x_assembler_function_p. | |
20452 | (c4x_null_epilogue_p): Complement return value, all uses updated. | |
20453 | (c4x_insert_attributes): Add naked. | |
20454 | * config/c4x/c4x.md (c4x_null_epilogue_p): Changes uses. | |
20455 | * doc/extend.texi: Update C4x function attributes. | |
20456 | ||
52fd80fb RH |
20457 | 2003-01-06 Richard Henderson <rth@redhat.com> |
20458 | ||
20459 | * config/alpha/alpha.c (alpha_encode_section_info): Adjust symbol_str | |
20460 | properly when changing "local-ness". | |
20461 | * config/alpha/alpha.md (movdi_er_high_g): Allow all symbols. | |
20462 | ||
a16b43c5 DJ |
20463 | 2003-01-06 Dale Johannesen <dalej@apple.com> |
20464 | ||
20465 | * config/darwin-protos.h: Add prototypes for new section functions. | |
20466 | ||
ef8dfae6 CD |
20467 | 2003-01-06 Chris Demetriou <cgd@broadcom.com> |
20468 | ||
20469 | * config.gcc (mipsisa32-*-elf*, mipsisa32el-*-elf*): Default ABI | |
20470 | to EABI. | |
20471 | ||
44f9a8e4 ZW |
20472 | 2003-01-06 Zack Weinberg <zack@codesourcery.com> |
20473 | ||
20474 | * hwint.h: If the current compiler has no 64-bit type at all, | |
20475 | make HOST_WIDEST_INT 32 bits. | |
20476 | ||
2610198a EC |
20477 | 2003-01-06 Eric Christopher <echristo@redhat.com> |
20478 | ||
20479 | * config/mips/mips.md (movdf_internal2): Fix constraints. | |
20480 | ||
efbd757f KH |
20481 | 2003-01-06 Kazu Hirata <kazu@cs.umass.edu> |
20482 | ||
20483 | * config/h8300/h8300.md (*twoshifts_l16_r1): New. | |
20484 | ||
727b9b8c RS |
20485 | 2003-01-06 Richard Sandiford <rsandifo@redhat.com> |
20486 | ||
20487 | * config/mips/mips.md (leadi): Use dla rather than la. | |
20488 | ||
4705d102 | 20489 | 2003-01-06 Svein E. Seldal <Svein.Seldal@solidas.com> |
cebdac46 SS |
20490 | |
20491 | * config/c4x/c4x.h: Updated specs for new gas format. Fixed bug | |
20492 | in C33_FLAG. Added proper C33 support in ASM_FILE_START macro. | |
20493 | ||
4705d102 | 20494 | 2003-01-06 Herman A.J. ten Brugge <hermantenbrugge@home.nl> |
fe1e789f | 20495 | |
44f9a8e4 | 20496 | * config/c4x/c4x.h: Remove hwint.h include and HOST_WIDE_INT_PRINT_HEX |
fe1e789f HB |
20497 | redefinition. |
20498 | ||
dff0ea43 KH |
20499 | 2003-01-05 Kazu Hirata <kazu@cs.umass.edu> |
20500 | ||
20501 | * config/h8300/h8300.md (*extzv_8_23): New. | |
20502 | ||
94e6fd3e JDA |
20503 | 2003-01-05 John David Anglin <dave@hiauly1.hia.nrc.ca> |
20504 | ||
20505 | * pa64-hpux.h (JCR_SECTION_NAME): Define. | |
20506 | (PA_INIT_FRAME_DUMMY_ASM_OP): Check EH_FRAME_SECTION_NAME instead of | |
20507 | USE_EH_FRAME_REGISTRY when defining. | |
20508 | ||
cd9b5ca8 KH |
20509 | 2003-01-05 Kazu Hirata <kazu@cs.umass.edu> |
20510 | ||
20511 | * config/h8300/h8300.c (output_a_shift): Do not output a | |
20512 | variable shift. | |
20513 | * config/h8300/h8300.md (two splitters): New. | |
20514 | ||
1ba8a9c4 RS |
20515 | 2003-01-05 Richard Sandiford <rsandifo@redhat.com> |
20516 | ||
20517 | * config/mips/mips.md: Disable the movstrsi define_split. | |
20518 | ||
c7c50494 KG |
20519 | 2003-01-05 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
20520 | ||
20521 | * alloc-pool.c: Don't include "libiberty.h". | |
20522 | * config/sparc/gmon-sol2.c: Include <fcntl.h>. | |
20523 | * convert.c (convert_to_real): Hide unused variable. | |
20524 | ||
83fa8d7a KG |
20525 | 2003-01-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
20526 | ||
20527 | * Makefile.in (gtyp-gen.h): Const-ify. | |
20528 | * gcov-dump.c (tag_table): Likewise. | |
20529 | ||
871dab3e BK |
20530 | 2003-01-04 Bruce Korb <bkorb@gnu.org> |
20531 | ||
20532 | * fixinc/fixfixes.c(wrap_fix): the wrapper guard must be a function | |
20533 | of *both* the file name and the fix name. | |
20534 | ||
90961eff | 20535 | 2003-01-04 John David Anglin <dave.anglin@nrc.ca> |
35d434ed JDA |
20536 | |
20537 | * config.gcc (hppa*64*-*-hpux11*): Define extra_parts. Don't use | |
20538 | collect2. | |
20539 | * pa-hpux11.h (LDD_SUFFIX, PARSE_LDD_OUTPUT): Undefine. | |
20540 | (HAS_INIT_SECTION, LD_INIT_SWITCH, LD_FINI_SWITCH): Define. | |
20541 | * pa64-hpux.h (HP_INIT_ARRAY_SECTION_ASM_OP, | |
20542 | GNU_INIT_ARRAY_SECTION_ASM_OP, HP_FINI_ARRAY_SECTION_ASM_OP, | |
20543 | GNU_FINI_ARRAY_SECTION_ASM_OP): Define. | |
20544 | (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): Define when not using | |
20545 | elfos.h. | |
20546 | (EH_FRAME_IN_DATA_SECTION): Delete define. | |
20547 | (HAS_INIT_SECTION, LD_INIT_SWITCH, LD_FINI_SWITCH): Undefine. | |
20548 | (STARTFILE_SPEC): Use crtbegin.o. | |
20549 | (ENDFILE_SPEC): Use crtend.o. | |
20550 | (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP, CRT_CALL_STATIC_FUNCTION, | |
20551 | SUPPORTS_INIT_PRIORITY, PA_CXA_FINALIZE_STUB, PA_INIT_FINI_HACK, | |
20552 | PA_INIT_FRAME_DUMMY_ASM_OP, PA_JV_REGISTERCLASSES_STUB, | |
20553 | DTOR_LIST_BEGIN): Define. | |
20554 | * pa.c (TARGET_ASM_CONSTRUCTOR): Define. | |
20555 | (pa_asm_out_constructor, pa_asm_out_destructor): New functions. | |
20556 | * som.h (SUPPORTS_INIT_PRIORITY): Delete define. | |
20557 | ||
b0588013 BK |
20558 | 2002-12-31 Larin Hennessy <larin@science.oregonstate.edu> |
20559 | ||
20560 | * fixinc/fixinc.svr4: Remove references to i860, Sony NewsOS, and spur. | |
20561 | * fixinc/inclhack.def: Remove tests for Apple A/UX, ARM/RISCiX, DG/UX, | |
20562 | m88k-*-sysv3*, Sony NewsOS. Remove references to i860. | |
20563 | Cleanup handling of replacement text. | |
20564 | * fixinc/mkfixinc.sh: Remove reference to i?86-*-osf1* | |
20565 | ||
20566 | 2003-01-04 Bruce Korb <bkorb@gnu.org> | |
20567 | ||
20568 | * fixinc/tests/base/math.h: removed obsolete results | |
20569 | * fixinc/tests/base/stdlib.h: ditto | |
20570 | * fixinc/tests/base/sys/param.h: ditto | |
20571 | * fixinc/tests/base/sys/stat.h: ditto | |
20572 | * fixinc/tests/base/time.h: ditto | |
20573 | * fixinc/tests/base/X11/Intrinsic.h: removed obsolete file | |
20574 | * fixinc/tests/base/sys/byteorder.h: ditto | |
20575 | * fixinc/inclhack.def: Remove superfluous backslashes | |
20576 | ||
68ee6df6 KH |
20577 | 2003-01-04 Kazu Hirata <kazu@cs.umass.edu> |
20578 | ||
20579 | * config/h8300/h8300-protos.h: Add prototypes for | |
20580 | the new functions defined below. | |
20581 | * config/h8300/h8300.c (TARGET_ASM_FUNCTION_PROLOGUE): Do not | |
20582 | define. | |
20583 | (dosize): Emit RTL instead of assembly code. | |
20584 | (push): Likewise. | |
20585 | (pop): Likewise. | |
20586 | (h8300_output_function_prologue): Remove. | |
20587 | (h8300_expand_prologue): New. | |
20588 | (h8300_expand_epilogue): New. | |
20589 | (h8300_output_function_epilogue): Do only the reset of | |
20590 | pragma_saveall. | |
20591 | * config/h8300/h8300.md (push_h8300): New. | |
20592 | (push_h8300hs): Likewise. | |
20593 | (pop_h8300): Likewise. | |
20594 | (pop_h8300hs): Likewise. | |
20595 | (*stm_h8300s_2): Change the name to stm_h8300s_2. | |
20596 | (*stm_h8300s_3): Change the name to stm_h8300s_3. | |
20597 | (*stm_h8300s_4): Change the name to stm_h8300s_4. | |
20598 | (*ldm_h8300s_2): New. | |
20599 | (*ldm_h8300s_3): Likewise. | |
20600 | (*ldm_h8300s_4): Likewise. | |
20601 | (return): Likewise. | |
20602 | (*return_1): Likewise. | |
20603 | (prologue): Likewise. | |
20604 | (epilogue): Likewise. | |
20605 | (monitor_prologue): Likewise. | |
20606 | ||
d3c300d2 DJ |
20607 | 2003-01-03 Dale Johannesen <dalej@apple.com> |
20608 | ||
20609 | * config/darwin.h: (EXTRA_SECTIONS): Add machopic_symbol_stub1, | |
20610 | machopic_picsymbol_stub1. | |
20611 | (EXTRA_SECTION_FUNCTIONS): Ditto. | |
20612 | * rs6000/rs6000.c: Update copyright. | |
20613 | (machopic_output_stub): Use them. Remove an insn from stub code. | |
20614 | ||
6cce57b0 JM |
20615 | 2003-01-02 Jason Merrill <jason@redhat.com> |
20616 | ||
4e8dca1c JM |
20617 | * fold-const.c (fold) [COND_EXPR]: Avoid NOP_EXPRs better. |
20618 | ||
20619 | * integrate.c (copy_decl_for_inlining): Don't clear the rtl for | |
20620 | static/external decls. | |
2610198a | 20621 | |
6cce57b0 JM |
20622 | * c-common.c (finish_fname_decls): Put the DECL_STMTs inside the |
20623 | outermost scope. | |
20624 | * c-decl.c (c_make_fname_decl): Push the decls there, too. | |
20625 | ||
e392d367 KH |
20626 | 2003-01-03 Kazu Hirata <kazu@cs.umass.edu> |
20627 | ||
20628 | * config/h8300/h8300-protos.h: Add a prototype for | |
20629 | h8300_current_function_interrupt_function_p. | |
20630 | * config/h8300/h8300.c (interrupt_handler): Remove. | |
20631 | (os_task): Likewise. | |
20632 | (monitor): Likewise. | |
20633 | (pragma_interrupt): New. | |
20634 | (WORD_REG_USED): Use | |
20635 | h8300_current_function_interrupt_function_p. | |
20636 | (dosize): Likewise. | |
20637 | (h8300_output_function_prologue): Likewise. | |
20638 | Do not set interrupt_handler, os_task, monitor. | |
20639 | (h8300_output_function_prologue): Use | |
20640 | h8300_current_function_interrupt_function_p. | |
20641 | Do not set interrupt_handler, os_task, monitor. | |
20642 | (h8300_current_function_interrupt_function_p): New. | |
20643 | (h8300_pr_interrupt): Set pragma_interrupt. | |
20644 | (h8300_insert_attributes): Reset pragma_interrupt. | |
20645 | ||
b15da5b7 GP |
20646 | 2003-01-03 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
20647 | ||
20648 | * doc/install.texi (Configuration): Fix markup for reference to | |
20649 | gcc/config.gcc. | |
20650 | ||
bf16e745 KH |
20651 | 2003-01-02 Kazu Hirata <kazu@cs.umass.edu> |
20652 | ||
20653 | * config/h8300/h8300.md (*iorhi3_zext): Relax the condition. | |
20654 | (*iorhi3_two_qi): Likewise. | |
20655 | (*iorsi3_zexthi): Likewise. | |
20656 | (*xorhi3_zextqi): Likewise. | |
20657 | (*xorsi3_zexthi): Likewise. | |
20658 | (*xorsi3_zextqi): Likewise. | |
20659 | ||
8ccf5d5f KH |
20660 | 2003-01-02 Kazu Hirata <kazu@cs.umass.edu> |
20661 | ||
20662 | * config/h8300/h8300.c (stack_pointer_operand): New. | |
20663 | (const_int_gt_2_operand): Likewise. | |
20664 | (const_int_ge_8_operand): Likewise. | |
20665 | * config/h8300/h8300.md (a splitter): Likewise. | |
20666 | (a peephole2): Likewise. | |
20667 | * config/h8300/h8300-protos.h: Add prototypes for the new | |
20668 | functions above. | |
20669 | ||
43c6a96a SB |
20670 | 2003-01-02 Steven Bosscher <s.bosscher@student.tudelft.nl> |
20671 | ||
20672 | * objc/Make-lang.in, objc/config-lang.in, objc/lang-specs.h, | |
20673 | objc/objc-act.h: Fix copyright years. | |
20674 | ||
96c4e780 SB |
20675 | 2003-01-02 Steven Bosscher <s.bosscher@student.tudelft.nl> |
20676 | ||
20677 | * doc/passes.texi: Fix documentation for -fssa-ccp | |
20678 | ||
8ed0a104 NB |
20679 | 2003-01-02 Neil Booth <neil@daikokuya.co.uk> |
20680 | ||
20681 | * gccbug.in: Update for new categories. | |
20682 | ||
1b9f0361 KH |
20683 | 2003-01-01 Kazu Hirata <kazu@cs.umass.edu> |
20684 | ||
20685 | * config/h8300/h8300.md: Reorder some patterns. | |
20686 | ||
dc5f17ec KH |
20687 | 2003-01-01 Kazu Hirata <kazu@cs.umass.edu> |
20688 | ||
20689 | * config/h8300/h8300.c (output_logical_op): Fix a warning. | |
20690 | ||
cd2801fb NB |
20691 | 2003-01-01 Neil Booth <neil@daikokuya.co.uk> |
20692 | ||
20693 | * config/darwin-protos.h, config/c4x/c4x-protos.h, | |
20694 | config/cris/cris-protos.h, config/i370/i370-protos.h, | |
20695 | config/i960/i960-protos.h, config/ia64/ia64-protos.h, | |
20696 | config/v850/v850-protos.h: Use struct, and don't conditionally | |
20697 | compile on GCC_C_PRAGMA_H. | |
20698 | ||
378b1b8e KH |
20699 | 2003-01-01 Kazu Hirata <kazu@cs.umass.edu> |
20700 | ||
20701 | * config/arm/arm-protos.h: Remove #ifdef GCC_C_PRAGMA_H. | |
20702 | * config/h8300/h8300-protos.h: Likewise. | |
20703 | * config/sh/sh-protos.h: Likewise. | |
20704 | ||
7106a5bc KH |
20705 | 2003-01-01 Kazu Hirata <kazu@cs.umass.edu> |
20706 | ||
20707 | * config/arm/arm-protos.h: Use struct cpp_reader instead of | |
20708 | cpp_reader. | |
20709 | * config/h8300/h8300-protos.h: Likewise. | |
20710 | * config/sh/sh-protos.h: Likewise. | |
20711 | ||
231b51a1 NB |
20712 | 2003-01-01 Neil Booth <neil@daikokuya.co.uk> |
20713 | ||
20714 | * config/arm/arm.c (arm_pr_long_calls, arm_pr_no_long_calls, | |
20715 | arm_pr_long_calls_off): Use struct. | |
20716 | * config/h8300/h8300.c (h8300_pr-interrupt, h8300_pr_saveall) | |
20717 | : Similarly. | |
20718 | Don't include cpplib.h. | |
20719 | * config/sh/sh.c (sh_pr_interrupt, sh_pr_trapa, | |
20720 | sh_pr_nosave_low_regs): Similarly. | |
20721 | ||
0f18b2b0 KH |
20722 | 2003-01-01 Kazu Hirata <kazu@cs.umass.edu> |
20723 | ||
20724 | * config/h8300/h8300.c: Include cpplib.h. | |
20725 | ||
b9593599 SB |
20726 | 2003-01-01 Steven Bosscher <s.bosscher@student.tudelft.nl> |
20727 | ||
20728 | * objc/Make-lang.in, objc/config-lang.in, objc/lang-options.h, | |
20729 | objc/lang-specs.h, objc/objc-act.c, objc/objc-act.h, | |
20730 | objc/objc-lang.c, objc/objc-tree.def: Replace "GNU CC" with | |
20731 | "GCC" in the copyright header. | |
20732 | ||
c58b209a NB |
20733 | 2003-01-01 Neil Booth <neil@daikokuya.co.uk> |
20734 | ||
20735 | * c-pragma.c (c_register_pragma): New. | |
20736 | (init_pragma): Use it. | |
20737 | * c-pragma.h (cpp_register_pragma): Don't declare. | |
20738 | (c_register_pragma): New. | |
20739 | * cpplib.h: Remove #ifdef GCC_C_PRAGMA_H. | |
20740 | * config/darwin.h (REGISTER_TARGET_PRAGMAS): Update. | |
20741 | * config/arm/arm.h (REGISTER_TARGET_PRAGMAS): Update. | |
20742 | * config/c4x/c4x.h (REGISTER_TARGET_PRAGMAS): Update. | |
20743 | * config/h8300/h8300.h (REGISTER_TARGET_PRAGMAS): Update. | |
20744 | * config/i370/i370.h (REGISTER_TARGET_PRAGMAS): Update. | |
20745 | * config/i960/i960.h (REGISTER_TARGET_PRAGMAS): Update. | |
20746 | * config/ia64/hpux.h (REGISTER_TARGET_PRAGMAS): Update. | |
20747 | * config/rs6000/rs6000.h (REGISTER_TARGET_PRAGMAS): Update. | |
20748 | * config/sh/sh.h (REGISTER_TARGET_PRAGMAS): Update. | |
20749 | * config/v850/v850.h (REGISTER_TARGET_PRAGMAS): Update. | |
20750 | * doc/tm.texi (REGISTER_TARGET_PRAGMAS): Update | |
20751 | ||
7210d5ae | 20752 | See ChangeLog.8 for earlier changes. |